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)