OPEN-SOURCE SCRIPT
Updated

EMA Crossover

7 155
EMA Crossover

Input Parameters:

Stop loss (ticks) - define stop loss in unit of ticks (*1 tick = 12.5)
Exit signal - 1: When EMA and price crosses
2: When EMA changes direction
Start year, month, day & Stop year, month, day - define backtest period


You can set Order size, Commission in Settings, Properties tab.
Release Notes
Updated default Start Hour, End Hour
Release Notes
updated Long / Short condition
Release Notes
Replaced crossover, crossunder with comparison
Release Notes
Added colors for testing
Release Notes
Updated Test Period Stop
Release Notes
Updated date time range
Release Notes
Updated exit conditions, background
Release Notes
Skip a few bars after placing order

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.