OPEN-SOURCE SCRIPT

Advanced S&D Engine | ZikZak-Trader30

281
About This Script
This is a fully custom-built Supply & Demand Zone detection engine for TradingView written by ZikZak-Trader30 (Kotdwar, UK). The script identifies potential key supply and demand zones based on market structure and pattern logic widely used by professional traders.

Detected Patterns:

RBR (Rally-Base-Rally, demand)

DBD (Drop-Base-Drop, supply)

RBD (Rally-Base-Drop, supply)

DBR (Drop-Base-Rally, demand)

Features Highlight
Detailed configurable zone filtering (freshness, gap detection, time spent, width, Fibonacci confluence, etc.)

Fair and adjustable scoring system for zone strength

Automatic management/removal of old or retested/violated zones

Optional Fibonacci level confluence and dynamic labeling

Transparency Statement
How It Works:
This script uses well-known price action concepts and compares candles’ movement, consolidation, and breakout patterns to mark S&D zones.
There are no repaints or future leaks: all logic is based entirely on historical and current bars.

Parameters and variables are fully described in the script inputs. The zone scoring and removal logic is also visible in the code for transparency.

IMPORTANT: Usage & Fair-Use Policy
This script is provided for educational and informational purposes only.

It should not be considered as financial advice or a trading signal.

Trading/investing involves risk—always do your own research or consult a financial advisor before making trading decisions.

Past performance or backtest results are not necessarily indicative of future results.

License & Fair Use
The code is original, written by ZikZak-Trader30.

All logic and comments are visible for users to study, adapt, or improve for personal, non-commercial use within TradingView.

You may NOT resell, repackage, or repost this script as your own.

If you fork or publicly remix/adapt the script, please credit "ZikZak-Trader30" and do not remove this disclosure section.

If you use ideas or snippets, kindly reference this script and author.

Absolutely NO plagiarized or resold code is permitted. This script is not for re-sale.

Acknowledgements
This indicator was inspired by years of price action study and usage of public S&D scripts. While the pattern logic is classic in nature, the version and scoring are original.

No proprietary datasets or paid logic from other sources are included.

Minor ideas on zone freshness and Fibonacci blending are common in the TradingView S&D community and have been custom-implemented here.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน