diegotfcastro

Mini Indice com Larry

Education
BMFBOVESPA:WDOZ2020   Mini U.S. Dollar Futures
Chart com os setups criados pelo Larry:

study("Setup 9.1.2.3.4", shorttitle="9.1.2.3.4", overlay=true)

//EMA 9
ema9 = ema(close,9)
ema9Color = ema9 > ema9 and close > ema9 ? lime : ema9 < ema9 and close < ema9 ? red : yellow
plot( ema9, color=ema9Color, style=line, title="EMA9", linewidth=5)

// ALL SETUPS PRESENTED //

//SETUP 9.1
ema91s1 = ema9<ema9 and ema9<ema9 and ema9<ema9 and ema9<ema9 and ema9>ema9
ema91s2 = close<ema9

ema91b1 = ema9>ema9 and ema9>ema9 and ema9>ema9 and ema9>ema9 and ema9<ema9
ema91b2 = close>ema9

cond91b = ema91b1 and ema91b2
cond91s = ema91s1 and ema91s2

plotshape(cond91b, title="Buy 9.1", color=green, style=shape.labelup,size=size.tiny, location=location.belowbar,text="9.1", textcolor=black)
plotshape(cond91s, title="Sell 9.1", color=red, style=shape.labeldown,size=size.tiny, location=location.abovebar, text="9.1", textcolor=black)

barcolor(cond91b ? lime : na)
barcolor(cond91s ? red : na)


//SETUP 9.2
ema92b1 = ema9<ema9 and ema9<ema9 and ema9<ema9 and ema9<ema9 and ema9<=ema9
ema92b2 = ema9>=ema9 and close>close and close<low

ema92s1 = ema9>ema9 and ema9>ema9 and ema9>ema9 and ema9>ema9 and ema9>=ema9
ema92s2 = ema9<=ema9 and close<close and close>high

cond92b = ema92b1 and ema92b2
cond92s = ema92s1 and ema92s2

plotshape(cond92b, title="Buy 9.2", color=green, style=shape.labelup,size=size.tiny, location=location.belowbar,text="9.2", textcolor=black)
plotshape(cond92s, title="Sell 9.2", color=red, style=shape.labeldown,size=size.tiny, location=location.abovebar, text="9.2", textcolor=black)

barcolor(cond92b?lime:na)
barcolor(cond92s?red:na)

//SETUP 9.3
ema93b1 = ema9<ema9 and ema9<ema9 and ema9<ema9 and ema9<ema9 and ema9<ema9 and ema9<ema9 and ema9<=ema9
ema93b2 = close<close and close<close and close>close and close>low

ema93s1 = ema9>ema9 and ema9>ema9 and ema9>ema9 and ema9>ema9 and ema9>ema9 and ema9>ema9 and ema9>=ema9
ema93s2 = close>close and close>close and close<close and close<high

cond93b = ema93b1 and ema93b2
cond93s = ema93s1 and ema93s2

plotshape(cond93b, title="Buy 9.3", color=green, style=shape.labelup,size=size.tiny, location=location.belowbar,text="9.3", textcolor=black)
plotshape(cond93s, title="Sell 9.3", color=red, style=shape.labeldown,size=size.tiny, location=location.abovebar, text="9.3", textcolor=black)

barcolor(cond93b?lime:na)
barcolor(cond93s?red:na)

//SETUP 9.4
ema94b1 = ema9<ema9 and ema9<ema9 and ema9<ema9 and ema9>ema9 and ema9<ema9
ema94b2 = low>=low

ema94s1 = ema9>ema9 and ema9>ema9 and ema9>ema9 and ema9<ema9 and ema9>ema9
ema94s2 = close<ema9

cond94b = ema94b1 and ema94b2
cond94s = ema94s1 and ema94s2

plotshape(cond94b, title="Buy 9.4", color=green, style=shape.labelup,size=size.tiny, location=location.belowbar,text="9.4", textcolor=black)
plotshape(cond94s, title="Sell 9.4", color=red, style=shape.labeldown,size=size.tiny, location=location.abovebar, text="9.4", textcolor=black)

barcolor(cond94b?lime:na)
barcolor(cond94s?red:na)

g = (close>ema9 and ema9>ema9)
//bgcolor(g? #380070 :na, transp=80)

r = (close<ema9 and ema9<ema9)
//bgcolor(r?#7e00fd:na, transp=80)
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.