OPEN-SOURCE SCRIPT
Diupdate

RAGUL Multi-TF Structure & Levels

1 808
Price Levels + Swing Structure + Candle Patterns
Overview
The indicator is a comprehensive all-in-one price structure tool built for intraday and positional traders who need clean, non-overlapping reference levels across multiple timeframes on a single chart. Every module is independently togglable so you use only what you need.

What This Indicator Does
It combines six functional modules into one clean overlay — previous period price levels, live session highs and lows across four timeframes, multi-timeframe swing structure detection, and candlestick pattern labelling at swing points — all managed through a Unified Smart Label Engine that eliminates label overlap by automatically printing colliding labels side by side horizontally.

MODULES
M1 — Previous Period Price Levels
Plots horizontal lines for the previous Day, Week and Month High, Low, Open, Close and Midpoint (EQ). All levels auto-update and extend to the right. Each level has individual show/hide toggle, colour, line width and style (solid/dashed/dotted).

M1B — Today's Day High / Low
Tracks the running session high and low from the start of the current trading day. Resets automatically each new day. Line extends both directions across the chart.

M1C — Today's 1H High / Low
Tracks the highest high and lowest low made on the 1-Hour timeframe within today's session. Useful for identifying intraday structure boundaries.

M1D — Today's 15M High / Low
Same as M1C but sourced from the 15-Minute timeframe. Useful for scalping reference and session breakout identification.

M1E — Today's 75M High / Low
Tracks today's session high and low on the 75-Minute timeframe, a popular intermediate reference for Indian index traders (Nifty, Banknifty, Sensex).

M2 — Chart Timeframe Swing Structure
Detects pivot swing highs and lows directly on the current chart timeframe using configurable left/right bar strength. Current swing level extends dynamically to the right. Past levels are preserved as faded lines with a configurable maximum count.

M3 — Swing Structure with Candle Patterns
Labels swing highs and lows as HH / HL / LH / LL with extending lines. Additionally identifies the candlestick pattern that formed at each swing point — Hammer, Inverted Hammer, Bullish Engulfing, Hanging Man, Shooting Star, Bearish Engulfing — each individually togglable.

M4 — 1H Swing Structure
Pivot-based swing detection running on the 1-Hour timeframe, displayed on any chart timeframe. Current level extends right dynamically. Past levels archived as dashed lines.

M5 — 15M Swing Structure
Same as M4 but on the 15-Minute timeframe. Ideal for scalpers and intraday traders tracking lower timeframe structure.

M6 — 75M Swing Structure
Pivot-based swing detection on the 75-Minute timeframe. Particularly relevant for Indian derivatives markets where 75M is a widely used structural reference.

UNIFIED SMART LABEL ENGINE
All price labels across all modules are managed centrally. The engine collects every active level, sorts them by price, detects collisions within a configurable tolerance band, and automatically prints overlapping labels side by side horizontally at the same price rather than stacking them on top of each other. Label anchor position (Right Edge or Left Edge), horizontal gap between stacked labels, and collision tolerance are all user-configurable.

PRESET TEMPLATE SELECTOR
Three saved colour presets (My Preset 1, 2, 3) plus the Default. Switch between them with a single dropdown. To customise a preset, edit the hex colour values directly in the source code under each preset block.

STATUS TABLE
A compact corner table shows the ON/OFF state of all 11 modules at a glance. Table position is configurable (top-right, top-left, bottom-right, bottom-left).

Settings Summary
Independent enable/disable for every module
Individual colour, line width and line style per level
Label anchor: Right Edge or Left Edge
Collision tolerance and stacking gap fully adjustable
Three saveable colour presets
Works on all timeframes and all instruments

Instrument
NSE / BSE Indices (Nifty, Banknifty, Sensex, Finnifty), Futures, Stocks. Works on any instrument and any timeframe on TradingView.

Disclaimer

This indicator is for educational and analytical purposes only. It does not constitute financial advice or trading signals. Past price structure does not guarantee future price behaviour. Always use proper risk management.
Catatan Rilis
Changes made on the swing structure .
Catatan Rilis
Label Early Detection On

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.