TradingView
Indyan
28 de Mai de 2020 02:36

{INDYAN} Boring and Explosive Candle -Demand & Supply 

Descrição

READ:-Blue candle as boring/base candle and Black candle as explosive candle
FInd two explosive candle (Black) where two base/boring (Blue) candles are in between.
It will be marked as demand and supply zone.
Those who leant demand and supply will find this indicator usefull for findin and marking zones.

#When yuy find a Explosive candle , it become a potential demand and supply zone. It depens on second candle thou.


Thanks
Love INDYAN

Notas de Lançamento

Added 50 SMA as one of friend follower requested for that,Hope it will help other trader friends too...:)

Notas de Lançamento

Updated to version 5

Notas de Lançamento

Added supply and demand zone
Added Alert
Comentários
hemantdhamija
Can you share the scripts of your indicators - dual supertrend, boring candles etc
Indyan
@hemantdhamija, Why u need that? if u r coder u can easily make it.
mohalitrader1967
@Indyan, :-), OK Never mind! I've anyway stopped using indicators.
Indyan
@mohalitrader1967, Great 👍🏻
arupmahapatra
/ This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org/MPL/2.0/
// © arupmahapatra

//@version=4
study("Boring Candle & Explosive Move", overlay=true)

//-------------------------------------------------------------
// Boring Candles
//-------------------------------------------------------------

// Input variable for candlestick body size (%)
inputBodySize_per = input(defval=50, type=input.float, title="Max Body Size <=%",minval=1, maxval=99)

// Input variable for candlestick Color
bar_color = input(color.yellow, title="Boring Candle", type = input.color)

// Candle Stick low high range Comparison (1%)
LowHighRange_per = (abs(high - low) / 100)

// Candle Stick Open Close Range Comparison (%)
OpenCloseRange_per = abs(open - close) / LowHighRange_per

//Bar Color Set
barcolor(OpenCloseRange_per<=inputBodySize_per ? bar_color : na, title="Boring Candle")

//-------------------------------------------------------------
// Explosive Candles Simple
//-------------------------------------------------------------
mp = input(2.0, title="Multiplier for Explosive Move",type=input.float)
ratio = input(50, title="Range-Body Ratio for Explosive Move")
cand = input(100, title="Average Number of Candles for Explosive Move")

range = atr(cand)
candr = abs(high-low)
bodyr = abs(open-close)

barcolor((bodyr/candr)>=ratio/100 and candr>=(range*mp) ? color.blue:na, title="Explosive Move")
jasminsanghvi
@arupmahapatra, how get this
arupmahapatra
@jasminsanghvi,
1.Copy the code
2. Paste in the pine editor below
3. Save it
4. And click Add to chart.
vishvas1987
@arupmahapatra, thanks bro
arupmahapatra
@vishvas1987, I’m happy to help
vishvas1987
@arupmahapatra, bro can u combine with demand and suppply marking script
Mais