Hi, I’m Simone and I have a request. I use a trading strategy based on EMA and RSI , it have a good rate of winning trade but a low entry signals for each fx pars, so I need to open a lot of chart. I would share my strategy and ask you if is possible to aumate for mt4 with an EA .
This strategy have 2 systems, in trend and against trend.
The basic indicators are EMA 200, EMA100, EMA 14 (all close) and a RSI 14 periods
System 1 (against trend)
- When prices are up to EMA 200 and rsi cross from above to low the 70’s RSI line – OPEN SHORT
- When prices are down to EMA 200 and RSI cross from low to above the 30’s RSI line – OPEN LONG
Default Take Profit/ Stop Loss :
- If there is a 0.01 position TP 10 pips and SL 10 pips
- It the position is 0.02 or multiple, TP (half position) 0.01 at 10 pips and SL 10 pips. When I close half position change SL to Break even with trail stop 9 pips ( ever half position close at 10 pips and half go far until trail stop close, but ever at the first TP I put SL a break even)
- If the position have a lot disparity ( 0.03 -0.05-0.07-0.13….. etc) I close the position like if was a pair lot , half position 10 pips , Stop Loss 10 pips at the first TP I change the SL at Break even with trail stop 9 pips. Half position go far until trail stop close.
System 2 ( in trend)
- When EMA 14 and EMA 100 are below to EMA 200 AND EMA 14 cross from below to top EMA 100 AND RSI is between 50-70 – OPEN LONG
- When EMA 14 and EMA 100 are up to EMA 200 AND EMA 14 cross from top to low EMA 100 AND RSI is between 50-30 – OPEN SHORT
Default TP & SL :
In this situation I use to study the chart, in general I do:
- If there is a 0.01 position TP 20 pips and SL 10 pips
- It the position is 0.02 or multiple, 1 ° TP (half position) 0.01 at 15 pips SL at EMA 100 BUT when i reach the 1° TP I change the SL at break even and put trail stop at 14 pips.
- If the position have a lot disparity ( 0.03 -0.05-0.07-0.13….. etc) I close the position like if was a pair lot , 1 ° TP (half position) at 15 pips SL at EMA 100 BUT when i reach the 1° TP I change the SL at break even and put trail stop at 14 pips Half position go far until trail stop close
IN SYSTEM 2 NO TRADE IF in the last 10 candels the average distance between EMA 14 and EMA 100 is less 20 pips
I ask if is possible insert ,when put the ea on the chart, change the RSI or FAST EMA period to test others parameters, select max n° of trades or stop new trades when margin is down to a certene percentage, and chose the trading size and first TP/SL in pips? Is possible separate the setting option for the two systems?
Sorry for my english, I hope that it is possible to code.
Best regard!