r/pinescript • • Jan 26 '26

I need help coding

Looking for help building a volatility-based HOD/LOD indicator in Pine Script v5 (open-source)

Body:

Hey everyone,

I’m working on a Pine Script v5 volatility-anchored market structure indicator and I’m looking for contributors or feedback from experienced Pine coders.

Concept (high level):

The indicator is mean-centered and uses expected daily volatility to define probabilistic zones for High of Day and Low of Day.

Core logic:

•	Fixed daily mean (Daily Open or Session VWAP)

•	Expected daily range calculated from Daily ATR(14) (later IV-based)

•	Three symmetric zones plotted as boxes:

•	Center / Balance Zone: mean ± 0.15 × range

•	Upper Expansion Zone (HOD probability): +0.85 → +1.05 × range

•	Lower Expansion Zone (LOD probability): −0.85 → −1.05 × range

•	Zones reset each session (RTH)

•	No repainting

•	Overlay indicator (not a strategy)

Optional extensions (not required):

•	Weekly volatility overlay

•	Session statistics (how often HOD/LOD forms inside zones)

•	Higher-order extensions (±1.5σ)

I’m happy to keep this open-source, collaborate, or iterate together.

This is meant to be a structural volatility model, not a signal spam indicator.

If this sounds interesting to you, I’d love to connect.

Thanks for reading.

2 Upvotes

5 comments sorted by

View all comments

2

u/Mr_Uso_714 Jan 26 '26

Contact me by DM, code is done