OPEN-SOURCE SCRIPT

dO / wO / mO + MA 50/200 + PrevDay H/L

540
Description

This indicator plots key reference levels used by professional traders:

Daily Open (dO)

Weekly Open (wO)

Monthly Open (mO)

Previous Day High (pdH) and Previous Day Low (pdL)

Moving Averages: 50 & 200 SMA

Each level is drawn as a clean dotted white line with a fixed label directly on the price chart.
All levels can be individually toggled on or off via checkboxes in the settings panel.

The pdH/pdL lines start exactly from the candles that created them, providing clear structure for breakout, retracement, and liquidity analysis.
The 50/200 SMA are included for long-term trend context.

This tool is designed for traders who rely on multi-timeframe structure and precision levels for both intraday and swing strategies.

Features

Toggle visibility for dO, wO, mO, pdH, and pdL

Accurate placement of previous day levels

Lightweight and responsive

Clean minimal visual design

Supports any symbol and timeframe

Usage Notes

Perfect for confluence-based trading:

Combine pdH/pdL with session opens to identify key liquidity zones

Use SMA 50/200 for directional bias

Works on crypto, forex, indices, and equities

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.