Forum

Bug in MT4

I am creating an EA with LIMIT ORDERS.When I program to Delete unexecuted limit order it is creating a looped BUY LIMIT/ SELL IMT .How to Fix it

What is the problem with this code ?

class COrderType { private : double m_Ax; double m_Ar; public : COrderType( double AR, double AX):m_Ax(AX),m_Ar(AR) { AX= iRSI ( Symbol (), PERIOD_CURRENT ,......); AR= iRSI ( Symbol (), PERIOD_CURRENT ,...); };