timj

Medium EMA Cross for Binary Options

This is a rework of one of Chris Moody's EMA scripts, but made useful for binary options trading. The color of the indicator is the direction of the trade you should take immediately after the bar closes. This is ideal for 5 minute charts. Overlays are based on EMA crossovers. This is dead simple - green overlay = CALL, red overlay = PUT.

Deposits welcome
ETH: 0x6F27eB87148522eb5cB0D2b19f2E27CeB4D0964d

BTC: 1xF8jqpnorL8FdxJuxLJvyrN6Zda3fUJs
Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?
// Created By User ChrisMoody
// Modified By User TimJaeger
// This Indicator plots crossovers of the Medium EMA
// Ideal for use on 5 minute chart - color indicates action you should take for the next interval (e.g. green overlay = CALL with 5 minute expiry time)
// If next candlestick is not in the direction of the overlay (e.g. the next 5 minute candle isn't green) 
// you can either martingale the next trade or stop and wait for the next red or green overlay

study(title = "Medium EMA Cross for Binary Options", shorttitle="Medium EMA Cross for Binary Options", overlay=true)

src = close, len = input(8, minval=1, title="Fast EMA")
src2 = close, len2 = input(21, minval=1, title="Medium EMA")
src3 = close, len3 = input(34, minval=1, title="Slow EMA")

isUp() => close > open
isDown() => close < open

emaFast = ema(src, len)
emaMedium = ema(src2, len2)
emaSlow = ema(src3, len3)

bgcolor(close[0] > emaMedium and emaFast < emaMedium and isUp() and (emaFast < emaMedium and emaMedium < emaSlow) ? red : na, transp = 70)
bgcolor(close[0] < emaMedium and emaFast > emaMedium and isDown() and (emaFast >= emaMedium and emaMedium >= emaSlow) ? green : na, transp = 70)