MarxBabu

GAP_UP_PLOTTING

MarxBabu Atualizado   
NSE:NIFTY   Índice Nifty 50
Identify the GAP up and GAP DOWN opening and plot the line.
Strategy when GAPUP identified Buy and target for few 100pips.

1.Color automated Lime candle shows one ahead candle of gapup
2.Black candle shows gapdown.
3.Line drawn for GapUp,GapDown
Comentário:
The code is available here

//@version=2
//Author MarxBabu
study(title="GAPUP_PLOTTING", overlay = true)
isUp() => close > open
isDown() => close <= open
//GAP UP DECISION
isGapUp()=> low>low and low>open and low >high and low >close and isUp()
isGapDown()=>high<low and high<open and high< close and high<high and isDown()
x = if isGapUp()
currentLowValue =low

y = if isGapDown()
currentLowValue =close

plot(x, style=line, linewidth=3, color=lime)
plot(y, style=line, linewidth=3, color=red)


barcolor(isGapUp()? #00FF00 :na,-1)
barcolor(isGapDown() ? #030303 :na,-1)

🌳LBLS,PM Indicator: bit.ly/2DJVXDn 💚

🦄telegram: 🟢 t.me/longbuylongsellindicator 🟢

✔️contact: www.t.me/wealthworldmajic

🎯web: www.wealthgeo.com

🟠twitter : twitter.com/marxcbabu 💲
Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.