I could not repeat the problem of repeated entries and exits on the same bar, it may be caused by corrupted historical data.
Agree with this corrupted historical data might cause alot of problem.
Pic 1. show that the EA never BE+1 for me even after our 50 pips target hit. Trade 2 & 3 still lose more then BE+1.
You should use every tick for your backtests, look at the statement of my backtest using every tick.
Yeap i am using every tick.
Pic 2. Show that the Buy entry is not open even it hit out Entry.
Which date did it happen? I would like to run a backtest myself.
I try run it again and this problem fix. So i think it is not your error. It might b backtest problem on data corrupted.
Pic 3. I believe this is the error we discuss earlier.
c. Pic 2, the blue line is the entry. Can explain the starting SL. When it move on, SL move to BE+1 > 30 pips. The question is at E3 and E3.1. The SL move to E3, which is the high E3 bar and E3.1, which is the high of E3.1 bar.
By right, the SL move from BE+1 > 30 > SL at the high of E3.2. Because it form a new high at RSI.
Why SL move to the high of E3.3?
It should move to E3.4 as PA close above the 4MA.
SL dont move when RSI move higher. It move when it form a highest high or lowest low. So in our example SL > Pivot high > BE+1 > 30 > E3 > E3.4. For further detail pls refer to SL case3.
Stop loss moved to the high of E3.3 because we have a new local RSI high. Would you like to code the EA so that it moves SL only if we have an all time RSI high since the entry time?
Yeah recode the EA but not all time RSI high. It is the time it form the triangle in the RSI. Shown in picture below. for buy rsi1 > rsi2 < rsi3. for sell rsi1 < rsi2 > rsi3.
Lastly, Xux can you edit the EA to depend on RSI cross to enter signal and not on MACD. Shown in pic 4 below. Beside that i am not sure about the SL shown in the pic 4, a bit off.
OK, in the next version MACD will just confirm the signal, only an RSI cross of 50 can trigger an entry signal.
yeah that is what i mean.
Thank you in advance.