Let me explain the strategy.
RSI >=50,
ea will buy with fix take profit and stoploss as this will be input by the user. Now unless this trade is open no other trade will be opened. case 1: This trade hits take profit then another trade will be opened depending on the RSI value
Case 2; This trade hits stoploss then another trade will be opened depending on the RSI value
So let us take the example of Gold, Gold is now 2046, RSI above 50 so a buy trade with lot size 0.01 (as input by user) will be opened take profit will be 2050, stoploss will be 2042, 4 pip tp and same sl, also note i want this ea specifically for gold
Now if our trade hit tp then another buy trade will be opened at 2050 as RSI is in positive territory, take profit 2054, stop loss 2046 .
If our trade hit sl then another trade will be opened depending on the RSI Value with double lot size i.e. 0.02
If our 2nd trade again hit stoploss then 3rd trade will be opened depending on RSI value with double lot size i.e. 0.04
The ea will continue martingale unless a trade wins, then it will place trade with normal lot size i.e. 0.01
EA will input how many times it will martingale. If it achieves profit it will stop working at a certain level
I used this strategey manully on Gold and found good results. I hope it will work on EA also