inno14

EMR Strategy [H1 Backtesting]

inno14 Uppdaterad   
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.
Versionsinformation:
Update funtion backtest at line 175 and 176
Versionsinformation:
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
Versionsinformation:
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
Skript med en öppen källkod

I sann TradingView-anda har författaren publicerat detta skript med öppen källkod så att andra handlare kan förstå och verifiera det. Hatten av för författaren! Du kan använda det gratis men återanvändning av den här koden i en publikation regleras av våra ordningsregler. Du kan ange den som favorit för att använda den i ett diagram.

Frånsägelse av ansvar

Informationen och publikationerna är inte avsedda att vara, och utgör inte heller finansiella, investerings-, handels- eller andra typer av råd eller rekommendationer som tillhandahålls eller stöds av TradingView. Läs mer i Användarvillkoren.

Vill du använda det här skriptet i ett diagram?