Forum

Why Does my Buy order place Multiple times on same candle

Hi, Please help. I've got my EA to place an Buy Order when the Ask Price hits a set price. But now it places multiple trades not just the one. I need it to place only the one trade per candle. I have tried static datetime prevTime= 0 ;

Please Point me in the right direction

Hi I'm stuck. I want my EA to place a order at a certain price level ( when price is close to multiple price points ) Example double ClosePrice = iClose (_Symbol,PERIOD_CURRENT,1); ClosePrice is curretly at 642882.51 When ClosePrice comes within 400 points of 648200.00 place order, but it needs to