Hugh Ying / Publications
Forum
The qusetion for OrderSend(),OnInit() and OnChartEvent()
Here is the code I used and it's working in OnInit(),but not working in OnChartEvent()... return code is 10013...I get the 4756 error... Why? Please help. MqlTradeRequest request; request.action = TRADE_ACTION_DEAL ; request.symbol = Symbol ();