Forum

Error 4202

Hello, I wonder if anyone can assist, I keep getting an error message 4202, object does not exist, when I try to draw a trendline. The trendline is drawn but for some reason I cant understand it gives me an error. ObjectCreate ( "Trough_Div-" +BullDivCount, OBJ_TREND , 0

Ordersend related problem of unwanted duplicate order?

Hi there, I am battling with a part of my EA related to Ordersend... Sometimes my EA opens a second order milliseconds after the first one. The part of my EA that deals with the opening of a long order is below... if(ticketlong==-1) // If I'm not already long... {//