Triple EMA RSI Optimised Strategy
Forums › ProRealTime English forum › ProOrder support › Triple EMA RSI Optimised Strategy
- This topic has 6 replies, 4 voices, and was last updated 3 years ago by boonet.
-
-
05/06/2020 at 10:47 PM #130343
Optimised Triple EMA cross strategy which checks for bullish or bearish trend for buying or shorting.
I am also using the RSI criteria to sell or buy contracts when oversold or overbought.
Replace x,y,z values with EMA values which work best for your instrument.
This is a winner on FTSE 100 stocks with over 70% winnings with only £500 account balance
This is a simple but effective program written by me as a newbie. Feel free to use it and feedback with any improvements.
05/06/2020 at 11:00 PM #130345Code is not available, probably you protected it during the export from the platform.
Please write it here throguh the “Insert PRT Code” option, and tell us on which timeframe should it work on.1 user thanked author for this post.
05/06/2020 at 11:41 PM #130347FTSE100-15M123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596// Triple EMA RSI Optimised//Naveen Reddy Ala//Optimised Triple MA Crossing//Trend Following//FTSE 100(UKX) 15M Recommended Values of x,y,z -//Gainers - (7,49,55)//Winners (7,50,55)//Gainer & Winner - (9,39,55)//Favourites - 7,48,55// Spread 2amount=1//x=9//y=39//z=55//BUY LONGindicator1 = exponentialAverage[x](close)indicator2 = exponentialAverage[y](close)trendEMA =exponentialAverage[z](close)bullish = indicator1 crosses over trendEMAbearish = indicator1 crosses under trendEMAmyRSI = RSI[14](close)SmoothRSI = Average[10](myRSI)myRSI = RSI[14](close)SmoothRSI = Average[10](myRSI)overbought = SmoothRSI >= 90oversold = SmoothRSI <= 15//c1 = (indicator1 crosses over indicator2)IF c1 THENIF bullish thenBUY amount shares AT MARKET nextbaropenENDIFENDIFIf LONGONMARKET and overbought thenSELL AT MARKET nextbaropenENDIF//SELL LONGindicator3 = exponentialAverage[x](close)indicator4 = exponentialAverage[y](close)trendEMA =exponentialAverage[z](close)bullish = indicator1 crosses over trendEMAbearish = indicator1 crosses under trendEMAc2 = (indicator3 CROSSES UNDER indicator4)IF c2 THENIF bearish thenSELL AT MARKET nextbaropenENDIFENDIF//SELL SHORTindicator5 = exponentialAverage[x](close)indicator6 = exponentialAverage[y](close)trendEMA =exponentialAverage[z](close)bullish = indicator1 crosses over trendEMAbearish = indicator1 crosses under trendEMAc3 = (indicator5 CROSSES UNDER indicator6)IF c3 THENIF bearish thenSELLSHORT amount shares AT MARKET nextbaropenENDIFENDIF//Exit SHORTindicator7 = exponentialAverage[x](close)indicator8 = exponentialAverage[y](close)trendEMA =exponentialAverage[z](close)bullish = indicator1 crosses over trendEMAbearish = indicator1 crosses under trendEMAc4 = (indicator7 CROSSES OVER indicator8)IF c4 THENIF bullish thenEXITSHORT AT MARKET nextbaropenENDIFENDIFIF SHORTONMARKET and oversold thenEXITSHORT AT MARKETENDIF//SET STOP %LOSS 20//SET TARGET pPROFIT 2001 user thanked author for this post.
05/07/2020 at 12:12 AM #130354Thank you boonet for your contribution. It’ s a good start
A couple of suggestions:
- performance looks extremely high due to an insufficient initial Capital, €500 is not enough for a drawdown of €800 (+ margin requirements), 5K€ would be a better choice (and balance performance will be ten times less)
- backtest period is so small, try using 100K units
Moreover, did you select the tick-by-tick mode?
1 user thanked author for this post.
05/07/2020 at 8:36 AM #13038305/07/2020 at 12:30 PM #13042905/07/2020 at 10:55 PM #130529 -
AuthorPosts
Find exclusive trading pro-tools on