OPEN-SOURCE SCRIPT
已更新

EMA Crossover

8 071
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.
版本注释
Updated default Start Hour, End Hour
版本注释
updated Long / Short condition
版本注释
Replaced crossover, crossunder with comparison
版本注释
Added colors for testing
版本注释
Updated Test Period Stop
版本注释
Updated date time range
版本注释
Updated exit conditions, background
版本注释
Skip a few bars after placing order

免责声明

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.