Forum

How to cancel a freelance order not finished?

My dev didn't login in few weeks, so I assume that he vanished. How to cancel this properly so I can get another dev involved? I believe that if I cancel, I'll lose a percentage of the cost. So I've requested an arbitration, but nothing happened so far . To make it worse, I cannot open another job

Is there a fault in the EA's code or a broker issue?

Hi, For simplicity, I have inserted only the basic code of an EA below. I believe it is enough and easier to understand my question. void OnTick () { CountBuyOrders(); //gets the BuyOrders CountSellOrders(); //gets the SellOrders if (BuyOrders+SellOrders== 0 ) //check if there are any orders

Close all position function

void CloseEverything() { for (cnt= OrdersTotal ()- 1 ;cnt>= 0 ;cnt--) { xxx= OrderSelect (count, SELECT_BY_POS , MODE_TRADES ); if ( OrderSymbol ()== Symbol () && ( OrderMagicNumber ()==Magic || OrderComment ()== Comment )) { if ( OrderType ()== OP_BUY )