Forum

interpret the following problem which is related to weighted moving average

Hi can anyone help me interpret the following problem the idea that I am trying to apply is finding heights between close prices and Weighted moving average. int max_height; // to be used next double up_height[ 50 ]; // to be used next double down_height[ 50 ]; // to be used next double close [ 50

I placed to pending orders , the Problem in Deleting a pending order when the other is activated

I have been trying many ways this is the last one Can you please show me why is wont work ? for ( int i= 0 ; i< OrdersTotal ();i++) { OrderSelect (i,SELECT_BY_POS,MODE_TRADES); { if (OrderMagicNumber() == 001 ) { if (OrderType() == OP_SELL || OrderType() == OP_BUY) {delete_pendings();} } } } //