![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Stopandreverse
HI Dave,
I have noticed one thing that if you put STOPANDREVERSE=FALSE...backtest shows excellent results....and all positive trades...........how come.....they are not following the rules of EMA crossing.....
Can you please explain stop and reverse indetail...
Thanks
Babar
HI Dave,
I have noticed one thing that if you put STOPANDREVERSE=FALSE...backtest shows excellent results....and all positive trades...........how come.....they are not following the rules of EMA crossing.....
Can you please explain stop and reverse indetail...
Thanks
BabarHi Babar, if StopAndReverse set to FALSE, the EA won't close any open trade (unless stopped our or hit TP) if there is an opposite signal. If you are using trailing stop, the EA will maintain the current open trade without adding new position. After that trade been close, the EA will open a new trade on next signal, regardless if it's the same direction from the last trade.
I could add a feature to trade multiple trader if you like, so if there is an open trade and there is a new opposite signal, the EA will add new position (with different direction) without closing the current open trade. Some how it will perform a hegde trade (one buy and one sell) and the EA will maintain any trailing stop on both position. If none of these trades is close yet, but there is another new opposite signal, the EA will add another position according to the signal.
Let me know if you need this new feature. Hope this help![](https://c.mql5.com/forextsd/smiles/smile.png)
Hi Dave
Thanks for your reply...I think the current system is fine....we dont need Hedge system.....i will try this again....thanks for your help
Babar
HI DAve,,
StopAndReverse (default true)
If set to TRUE, will exit any trade and reverse position when signal change.
PureSAR (default false)
If set to TRUE, will use no Stop Loss - Take Profit - and Trailing Stop. This is always in play setting.
if I make PURESAR=TRUE then it will make STOPANDREVERSE=Disable....right ???
Thanks
Babar
HI DAve,,
StopAndReverse (default true)
If set to TRUE, will exit any trade and reverse position when signal change.
PureSAR (default false)
If set to TRUE, will use no Stop Loss - Take Profit - and Trailing Stop. This is always in play setting.
if I make PURESAR=TRUE then it will make STOPANDREVERSE=Disable....right ???
Thanks
BabarNope. If you set PureSAR = TRUE it means StopAndReverse = TRUE with StopLoss = 0, TakeProfit = 0, and TrailingStop = 0. Hope this help![](https://c.mql5.com/forextsd/smiles/smile.png)
Thank you Dave for this great work .
I have a suggestion I don't know if it could have some benefits
1- If we could use a third MA ( Like EMA 100 ) so if the price is above EMA100, then EA goes longs only, and vise versa .
Or it could be more complicated , so if the price is above EMA100 then EA goes longs with Trend_TProfit and Trend_SLoss , and go shorts with Non_Trend_TProfit and Non_Trend_SLoss which are lesser than Trended one .
2- I think it will be great if you could add the feature you have mentioned ( adding a new position with different direction without closing the current open trade )
Thank you again .
Ammar
Hi Dave,
Can you please put Parabolic SAR into this EA...that will be great....
Thanks
Babar
Thank you Dave for this great work .
I have a suggestion I don't know if it could have some benefits
1- If we could use a third MA ( Like EMA 100 ) so if the price is above EMA100, then EA goes longs only, and vise versa .
Or it could be more complicated , so if the price is above EMA100 then EA goes longs with Trend_TProfit and Trend_SLoss , and go shorts with Non_Trend_TProfit and Non_Trend_SLoss which are lesser than Trended one .
2- I think it will be great if you could add the feature you have mentioned ( adding a new position with different direction without closing the current open trade )
Thank you again .
AmmarHi Ammar, thank you for the suggetion. Already working on this one, will post it later today. Hope this help![](https://c.mql5.com/forextsd/smiles/smile.png)