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)