TARIFOREX

TATARI USD

50 0 6
NO
Remove from Favorite Scripts Add to Favorite Scripts
study(title="TATARI", overlay=true)
short = (ema(close, 9))
long = (ema(close, 26))
SL= (ema(close,40) + 0.0009)
plot((ema(close,40) - 0.0009), color = green, linewidth = 2, title="SL long")
plot(SL, color = red, linewidth =2 , title= "SL short")
plot(cross(short, long) ? short : na, color = blue, style = cross, linewidth = 5, title="inversione")
len = 14
lensig =14
up = change(high)
down = -change(low)
trur = rma(tr, len)
plus = fixnan(100 * rma(up > down and up > 0 ? up : 0, len) / trur)
minus = fixnan(100 * rma(down > up and down > 0 ? down : 0, len) / trur)
sum = plus + minus 
adx = 100 * rma(abs(plus - minus) / (sum == 0 ? 1 : sum), lensig)
compra= adx>20 and plus>25 and minus<adx and plus>adx
vendi= adx>20 and minus> 25 and plus<adx and minus>adx
plot(compra>0 ? (ema(close,40) - 0.0009) : na, color = green,style = cross, linewidth = 4, title = "compra")
plot( vendi>0 ? SL :na, color=red,style = cross, linewidth = 4, title="vendi")
plot( adx<20? (ema(close,40) - 0.0009) : na, color=black, style=areabr, transp=80, title="BB & stoch")
plot(adx>40 ? ema(close,40) : na, color = silver, style= circles, linewidth=4, title="TP" )
https://www.facebook.com/TARI-FOREX-1117249628296617/
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out