DislikedAs I added the trailing stop to the BS 5 minute momo bot earlier, I noticed a big bug in the mptm trailing stop function, that impacts on the hidden trailing stop functionality.
There is a fix for this in post 1.
Those of you coding your own enhancements to the robot, go to void TrailingStopLoss()
You are looking for two lines of code, one within the buy conditional, the other within the sell conditional. Because of a double-bug, these are both bool TradeClosed = CheckForHiddenStopLossHit(OP_BUY, PipsAwayFromVisualJS, OrderStopLoss() );
One...Ignored
I made all the changes and matched the code on this one up with yours so they should be the same as your latest revision with a few extras...
thanks,
David
Attached File(s)
Multi purpose trade manager Mod by cacus.mq4
95 KB
|
384 downloads