inno14

EMR Strategy [H1 Backtesting]

inno14 已更新   
EMR Strategy base on EMA, MACD and RSI to supply signal on time frame H1.
Details of Rule as below:
===
1.EMA
+ Time frame: H1
+ Periods: 25, 100 (~ EMA 25 H4), 600 (~ EMA 25 D1)
===
2.MACD
+ Time frame: H1
+ Periods: 12,26,9
===
3.RSI
+ Time frame: H1
+ Periods: 14
===
4.Trading Rule
4.1.Long Position
+ MACD>0 and RSI>50 and close price moving above EMA 25
+ Close price crossed EMA 100 or crossed EMA 600 at the first time
4.2.Short Position
+ MACD<0 and RSI<50 and close price moving below EMA 25
+ Close price crossed EMA 100 or crossed EMA 600 at the first time
===
5.Money Management
+ This strategy concentrate into winrate.
+ So use trailing stop to protect your profits.
+ And use stoploss to avoid big loss on trades.
版本注释:
Update funtion backtest at line 175 and 176
版本注释:
Update Table of Infomation and Exit Position Rule
4.3.Exit Position
+ Exit Long Position when High Price moving below all 3 EMA
+ Exit Long Position when RSI over 70
+ Exit Short Position when Low Price moving above all 3 EMA
+ Exit Short Position when RSI under 30
版本注释:
Update Input RSI Overbought and Oversold Level, and Rule of Exit Position.
4.3.Exit Position
+ Exit Long Position when High Price moving below all 3 EMA
+ Exit Long Position when RSI overbought and EMA25>EMA100 or EMA25>EMA600
+ Exit Short Position when Low Price moving above all 3 EMA
+ Exit Short Position when RSI oversold and EMA25<EMA100 or EMA25<EMA600
开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?