INVITE-ONLY SCRIPT

SD Demand & Supply Indicator

110
SD Demand & Supply Indicator automatically identifies and displays demand and supply zones across multiple timeframes.

The indicator detects:
Demand Zones: Drop–Boring–Rally (DBR) and Rally–Boring–Rally (RBR) formations
Supply Zones: Rally–Boring–Drop (RBR) and Drop–Boring–Drop (DBD) formations

When a Demand Zone is detected, it plots a blue Label below the relevant boring candle. When a Supply Zone is detected, it plots a red Label above the relevant boring candle — making it easy to visualize potential reversal areas.
With built-in alert functionality, you can also set alerts on your preferred symbols and timeframes to get instant notifications whenever new Demand or Supply Zones are formed.

How the Script Works?
1. The script scans the price action of three to five consecutive candles to identify potential Demand and Supply patterns based on the open, High, Low and close prices.
2. The script evaluates every candle’s price movement based on set conditions to confirm a valid demand or supply pattern.
3. For demand cases, the script recognizes specific formations such as Drop– Boring –Rally (DBR) and Rally– Boring –Rally (RBR), which indicate potential buying zones.
4. For supply cases, it identifies Rally– Boring –Drop (RBD) and Drop– Boring –Drop (DBD) structures, indicate potential selling zones.
5. When a valid Demand Zone is detected, the script plots a Blue label below the relevant Boring candle.
6. When a valid Supply Zone is found, it plots a Red label above the relevant Boring candle.
7. The script includes an alert feature that notifies users in real-time whenever a valid demand or supply pattern is formed, allowing timely action

How Users can get benefited using this Script?

1. The labels and text plotted by the script help traders visually identify potential entry and exit points.
2. When a valid Demand Zone is detected and the price revisits it, it may indicate a potential bullish reversal.
3. When a valid Supply Zone is detected and the price revisits it, it may indicate a potential bearish reversal.
4. Users can integrate this script with other indicators, fundamental data, or sentiment analysis to confirm signals and make more informed decisions.
5. Traders should use proper risk management strategies, including stop-loss orders to limit losses and targets when the trade moves in their favor.

Settings Explained

1. Boring & Legin Ratio
This is the ratio between the Legin candle and the Boring candle.
A default value of 2 means the Legin candle size (High–Low) is twice the size (High–Low) of the Boring candle.
2. Leg-In & Leg-Out Ratio
This is the ratio of Legin candle and Legout candle.
A default value 2 means the Legout candle size (High-Low) is twice the size (High-Low) of the Legin candle.

3. Leg-In & Three-Leg-Out Ratio
This is the ratio of Legin candle and to the combined size of three Legout candles. A default value 2 means the overall size of the three Legout candles is twice that of the Legin candle.

4. Leg-In Body to Wick Ratio
It is the ratio between the body size of a candle and its total wick length.
A default value of 0.6 means that 60% of the total candle length should be the body.

Zone Selection Filters
1. All Possible Zones
Displays all types of zones, including with or without Clear Area and with or without True Range (TR) vs Average True Range (ATR) criteria
2. All Zones with TR Vs ATR
Shows all zones but with True Range (TR) vs Average True Range (ATR) criteria.
3. Clear Area Zone Only
It will show the Zone with Clear Area and either with or without TR Vs ATR compliance
Clear Area Zone – is considered when the body of the Legout candle does not overlap the Boring candle. In other words, the right side of the Boring candle area remains completely free
4. Clear Area Zone with TR vs ATR Compliance
It will show the Zone with Clear Area and with TR Vs ATR compliance
Note: No. 1 and 2 is suitable for Forex, and crypto market segment
No. 3 and 4 is suitable for commodity and stock market segment

What is TR Vs ATR Criteria?
TR (True Range) vs ATR (Average True Range) criteria is used to validate the strength of a Demand or Supply Zone and it is very important criteria.
For Legin Candle (first candle of the pattern from left) — TR value should be greater than the ATR value.
For Boring Candle (second candle of the pattern from left) — TR value should be smaller than the ATR value.
For Legout Candle (third ,fourth & fifth candle of the pattern from left) — TR value should again be greater than the ATR value,


Important:
Due to the high calculation effort, the history is limited to maximum 10 Zones in total. All zones prior to that will not be displayed so that chart remain clear. Once our indicator has started displaying a Zone, then zone will be visible until it exceeds maximum 10 Zone history. This indicator does not repaint. All signals remain fixed once a candle closes.

What Makes this Indicator Unique?
The Smart Dude Indicator stands out because it doesn’t just mark Demand and Supply Zones — it qualifies them using advanced candle behavior and volatility analysis by using TR Vs ATR analysis .
Unlike typical zone indicators that rely only on price structure, Smart Dude combines candle-to-candle ratio logic with TR vs ATR criteria

Why traders use this indicator?
This strategy is already being used by many experienced traders, including some of my close trading associates. They’ve seen results and even encouraged me to publish it so that more traders can benefit from it. The indicator combines key elements like candle ratio and TR vs ATR criteria, giving users a structured and reliable way to identify zones.

How this Indicator Is Original?
The Smart Dude Indicator is a fully original work — designed and coded from scratch with a unique logic structure.
It is not copied or derived from any existing open-source script.
Key points that make it unique and original:
Exclusive Candle Ratio Logic
TR vs ATR Integration
Clear Area Detection
Fully Hand-Written Logic

Every condition — from candle identification to ratio calculation and plotting — has been manually coded line by line without importing or modifying any existing public logic.

Disclaimer:
This indicator is only for educational purposes and that highlights potential market opportunities. It should not be treated as financial or investment advice.
Trading in financial markets involves risk. The indicator is designed to assist you in making more informed decisions but outcomes depend on your due intelligence and zone validation skills

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.