Qkey / Publications
Forum
EA hedge - open new position for a lot of symbols - multicurrency.
Hi, I write hedge EA using multicurrency. I need to SendOrder new positions in both directions if some position for some currency was closed. For one currency I used: int Orders; if (Orders > OrdersTotal ()) { SendOrder(pair,OP_BUY,LotSize); SendOrder(pair,OP_SELL,LotSize); } Orders= OrdersTotal