How to manage pending orders in fxDreema with different deletion times for each group?
-
Hello, I am designing an Expert Advisor with fxDreema, and I have defined two groups of pending orders. I need the pending orders of each group to be managed according to the conditions below:
Requirement Description:
Group 1: The pending orders of this group should be deleted after 1 candle (on whatever timeframe is selected) if they are not triggered.Group 2: The pending orders of this group should be deleted after 2 candles if they are not triggered.
Problem:
If I create two orders from Group 2 at different times, both of them are deleted at the same time. However, I want the deletion time to be calculated based on the number of candles after the creation of each individual order, not all of them at once. -
@AlirezaTrade You can program that on the same 'buy/sell pending order block:

-
Thank you, dear @l-andorrà, my problem has been mostly solved.
-
@AlirezaTrade You're welcome.