vyacheslav.shindin

30 second turbo option strategy

Strategy 30 second turbo options.

Açık kaynak kodlu komut dosyası

Gerçek TradingView ruhuyla, bu betiğin yazarı, yatırımcının anlayabilmesi ve doğrulayabilmesi için onu açık kaynak olarak yayınladı. Yazarın eline sağlık! Bunu ücretsiz olarak kullanabilirsiniz, ancak bu kodun bir yayında yeniden kullanımı Kullanım Koşulları ile yönetilir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?
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)