In OnTick(), if i want sell gold in $ 3230 , due to delays in broker,the next tick not find 3230 Position,repeated sell,i used Sleep() ,but not much effect. Is there any other way
my source: if (condition1) { operator1; } else if (condition2) { operator2; } else if (condition3) { operator3; } //but metaeditor " catl+," format this: if (condition1) { operator1; } else if
i print the Ask(),Bid() in the ticks,but sell stop is invalid. for examp: Ask:2920.69 -- Bid:2920.63 ,i send the sell stop in 2920.54, is invalid price , Would you mind tell me the reason