Previous HTF & Session Highs/Lows

313
This indicator plots the key liquidity levels that intraday traders watch, all from one script, without cluttering the chart with history.

WHAT IT DRAWS
- Previous 4H high and low
- Previous day high and low (PDH / PDL)
- Previous week high and low (PWH / PWL)
- Asia, London and New York session highs and lows

Only the most recent completed level of each type is drawn. Each line starts on the exact candle whose wick made the high or low and extends to the right, so you can see where the liquidity was formed.

HOW IT WORKS
- The higher-timeframe levels are tracked on the chart's own candles, so the line is anchored to the real wick. The value is cross-checked against the actual 4H / D / W candle; on very low timeframes where the chart does not hold the whole previous period, the true higher-timeframe value is used and the line starts at the oldest loaded candle.
- Sessions are defined in each market's own local time (Tokyo, London, New York), so summer and winter time changes are handled automatically whatever timezone your chart uses. Session times and timezones can be edited.
- While a session is running, its developing high and low can be shown (optional). Once it ends, the completed session high and low are kept.
- Levels are hidden on charts above their own timeframe: no 4H levels on the daily chart, no daily levels on the weekly chart. Session levels show on charts below 4H. This can be switched off.

OPTIONS
- Master switches for all higher-timeframe levels and all sessions, plus individual High / Low switches for every level.
- Colour, width (1-5) and style (solid, dotted, dashed) per level. Default: black, dotted, width 1.
- Optional removal of a level once it is mitigated, by wick or by close (off by default).
- Labels that sit close together are merged into one label (for example "4H L / LDN L"), with an adjustable merge distance. Optional price in the label.

HOW TO USE
Use the levels as reference points for liquidity: areas where stops are likely to rest above old highs and below old lows. The indicator only marks levels; it does not generate signals and is not financial advice.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.