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
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?
// 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)