OPEN-SOURCE SCRIPT

Level Marking - Day Levels, Fib, Swing high Low)

166
Plots key day levels: previous day PH/PL/PC and live current CH/CL, each as extend-right lines with optional dashed style and right-side zig-zag price labels.

Adds “Golden Fib” 0.5 & 0.618 from the prior day’s High–Low (you can flip Low→High or High→Low to match TV’s Fib tool).

Marks fast swings (3-bar) with blue boxes that trail the latest price—great for quick scalps.

Marks slow swings (7-bar) with red horizontal lines extended to the right; price labels sit at the line ends.

Everything updates in real time each bar and respects TradingView’s future-object limits.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.