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 ??
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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??