vyacheslav.shindin

30 second turbo option strategy

Strategy 30 second turbo options.
Remove from Favorite Scripts Add to Favorite Scripts
study("Rufey abracadabra yo!", overlay=true)

slow = 5
fast = 3

vh1 = ema(highest(avg(low, close), fast), 2)
vl1 = ema(lowest(avg(high, close), slow), 2)

//plot(vh1)
//plot(vl1)

// TEMA
e_ema1 = ema(close, 3)
e_ema2 = ema(e_ema1, 3)
e_ema3 = ema(e_ema2, 3)
tema = 3 * (e_ema1 - e_ema2) + e_ema3

// DEMA
e_e1 = ema(close, 5)
e_e2 = ema(e_e1, 5)
dema = 2 * e_e1 - e_e2

//plot(tema, color=orange)
//plot(dema, color=green)

h = sma(high-low, 3000)/3

// --
signal = tema > dema ? max(vh1, vl1) : min(vh1, vl1)
//plot(signal, color=red)
//plot(signal+h, color=red)
//plot(signal-h, color=red)

// --
is_call = tema > dema and signal > low and (signal-signal[1] > signal[1]-signal[2])
is_put = tema < dema and signal < high and (signal[1]-signal > signal[2]-signal[1])

plotshape(is_call ? 1 : na, title="CALL", color=green, text="CALL", style=shape.arrowup)
plotshape(is_put ? -1 : na, title="PUT", color=red, text="PUT", style=shape.arrowdown)
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