bug on buy/sell pending order
-
Hi,
I think I've found a bug on buy/sell pending order blocks with martingale/paroli betting system. If I set an expiration time for the order and the order expire, the next order doubles the size like if the previous one has gone to SL. I made a simple project: https://fxdreema.com/shared/SUDTApUkc
It shouldn't double its size if the previous order has expired but simply keep the same size.Thanks,
Alessandro -
And what is the lot size and profit of the previously closed trade? Martingale should only get information from trades, not pending orders. Expired pending order is basically nothing.
-
If you try the simple example I posted you can see that it doubles the pending order size in the wrong way. For example:
Pending order 1 at 0.01 -> Trade 1 at 0.01 to SL
Pending order 2 at 0.02 -> Expired
Pending order 3 at 0.04 -> Expired
Pending order 4 at 0.08This is not correct for me. If the second pending order expire the third should be at 0.02 not 0.04.
Alessandro
-
I think I fixed that
-
Yes...now it works!
Many thanks,
Alessandro