Hi Tanaka!saidi, I fixed the code for 10pips ea. As you requested, if profit reached xxx dollers (busket profit), then all open orders were closed and reset lot size.
Can you test it?
PS‥I want to make it auto calculation for xxpips of Martin attack. Do you have any idea?
GU M5
View attachment 66982
Could you add a parameter like martingale profit dollars? If it has value different than 0 then all martingale orders block will be closed if the profit of the whole block reaches that value (if the order that originated the martingale could be included in the block then much better
Thank you so much for all your contributions!
