Supply and Demand w/ Higher Timeframe and Hidden Zones

This indicator draws Supply and Demand zones using the common methodology of a basing candle followed by a drop/rally candle. The indicator user inputs allow you to configure the parameters for zone identification in two ways. First, by increasing the intensity of the drop/rally candle. Second, by increasing the number of candles that should be grouped to form a base and it's following drop/rally. This allows you to chart zones from higher timeframes and zones that may not be identifiable on the higher timeframes (aka Hidden Zones).
For example, when viewing a chart on the 5min timeframe the "Number of Candles" user input can be set according to the higher timeframe that you want to use to draw zones.
Setting "Number of Candles" to 3 draws zones from the 15min timeframe. (5min * 3 candles = 15min)
Setting "Number of Candles" to 6 draws zones from the 30min timeframe. (5min * 6 candles = 30min)
This functionality also allows for the identification of hidden zones because the first candle in a set on the lower timeframe does not have to align with the candles on the higher timeframe.
█ CONCEPTS
Intensity
For demand zones, the distance between the close of a rally candle and the high of the basing candle is what this indicator refers to as "Intensity".
For supply zones, it is the distance between the close of the drop candle and the low of the basing candle.
Higher Timeframe Zones
This indicator finds higher timeframe zones through the use of the "Number of Candles" user input.
The higher timeframe used will be the product of the chart's current timeframe and the value set for "Number of Candles".
Hidden Zones
A hidden zone is a zone from a higher timeframe that can not be seen when charting with that timeframe.
It can only be found on lower timeframes by grouping candles together to emulate higher timeframe candles.
█ USER INPUTS
Lookback
The Number of Bars back used to find zones.
Zone Configuration
• Drop/Rally Intensity - Increase this to require the drop/rally candle to make a greater move from the basing candle to qualify as a zone.
• Number of Candles - Increase this to draw zones from higher timeframes. The timeframe used will be the product of the chart's current timeframe and the value selected.
Zone Drawing Options
• Include Broken Zones - When unchecked zones that have been broken through will not be drawn.
• Demand Fill/Border - Allows customization of the color and transparency of demand zones.
• Supply Fill/Border - Allows customization of the color and transparency of supply zones.
█ TIPS
1 — Use the indicator multiple times on the chart with the "Number of Candles" input set to different values to have zones from multiple higher timeframes on the chart.
2 — Drop/Rally Intensity set to 0 is not recommended. It will lead to very weak zones being drawn.
Adds new User Inputs for "Zone Overlap Settings". This reduces the amount of overlapping zones by letting you choose to keep just the Largest, Smallest, or Both zones. Also allows you to toggle on/off all the middle zones between largest and smallest.
Changes the default values.
Changes an internal variable for lookback to allow Basic (Free) TradingView accounts to use the indicator without getting a lookback error.
Skrip jemputan sahaja
Hanya pengguna yang diberikan kebenaran oleh penulis mempunyai akses kepada skrip ini dan ini selalunya memerlukan pembayaran. Anda boleh menambahkan skrip kepada kegemaran anda tetapi anda hanya boleh menggunakannya selepas meminta kebenaran dan mendapatkannya daripada penulis — ketarhui lebih lanjut di sini. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi ScriptedTrading secara terus.
TradingView tidak menyarankan pembayaran untuk atau menggunakan skrip kecuali anda benar-benar mempercayai penulisnya dan memahami bagaimana ia berfungsi. Anda juga boleh mendapatkan alternatif sumber terbuka lain yang percuma dalam skrip komuniti kami.
Arahan penulis
Amaran: sila baca panduan kami untuk skrip jemputan sahaja sebelum memohon akses.
Penafian
Skrip jemputan sahaja
Hanya pengguna yang diberikan kebenaran oleh penulis mempunyai akses kepada skrip ini dan ini selalunya memerlukan pembayaran. Anda boleh menambahkan skrip kepada kegemaran anda tetapi anda hanya boleh menggunakannya selepas meminta kebenaran dan mendapatkannya daripada penulis — ketarhui lebih lanjut di sini. Untuk lebih butiran, ikuti arahan penulis di bawah atau hubungi ScriptedTrading secara terus.
TradingView tidak menyarankan pembayaran untuk atau menggunakan skrip kecuali anda benar-benar mempercayai penulisnya dan memahami bagaimana ia berfungsi. Anda juga boleh mendapatkan alternatif sumber terbuka lain yang percuma dalam skrip komuniti kami.
Arahan penulis
Amaran: sila baca panduan kami untuk skrip jemputan sahaja sebelum memohon akses.