EA stop modification every miliscond
ALI AMRIOUI: can some one tell me how can to stop modification evry miliscond. for exemple if i open trade .. EA should stop to modify trade every miliscond. what function i should use it??
Check the current time! Only modify after a certain amount of time has elapsed.
Fernando Carreiro #:
Check the current time! Only modify after a certain amount of time has elapsed.
Check the current time! Only modify after a certain amount of time has elapsed.
thanks friend ..i will try it
Fernando Carreiro #:
Check the current time! Only modify after a certain amount of time has elapsed.
Check the current time! Only modify after a certain amount of time has elapsed.
int start() { if (TimeCurrent()> LastOrderInfo("Time",OP_BUYSTOP)&&TimeCurrent() < LastOrderInfo("Time",OP_BUYSTOP)+9 )// 9 means 9 Seconds Sleep(1000);//1000 means 1 Seconds return true; }
why Didnot this code is correct ??
can some one tell me how can to stop modification evry miliscond
for exemple if i open trade .. EA should stop to modify trade every miliscond
what function i should use it??