Yassine / Publications
Forum
Please I need help , OrderClosPice() and OrderType() return false values in adversarial cases
Hi everyone, it will be great if someone could help me to solve this problem, I have this partition in my code : int T1, T2, T3; int Ticket = 0 ; double OC = 0 ; double E1,E2,E3 StopLossSell, StopLossBuy, TakeProfitBuy , TakeProfitSell; // All these variables are defined previously // in the code
I need answer please !
I have a pending order , and I want to check if it's opened or not, for the reason to delete an other one. I tryed to use the fact that OrderType() change value when Order is open from OP_BUYLIMIT ( for example ) to OP_BUY but this is not working, it chang value only if the oreder is closed by