There is your sample in your previous question
{ RefreshRates(); OrderSend(Symbol(),OP_BUY,Lots2,Ask,Slippage,Ask-StopLoss2*Point,OrderTakeProfit(),"",0,0,Blue); Sleep(6000); // Wait 6 seconds }
If it is endless loop, then it is "game for all money"
Once more. There is no problem with delay between trade operations. No official permissions about this. But your broker can lock you if this broker considers you to make trade operations too frequently. The broker can determine the annoying frequency for each particular case independently.
In my opinion, you should keep at 30-second delay, though I cannot support this my opinion in any way exactly. It is like intuition. In some extreme cases, for example, if you want to close all positions urgently, you can use OrderClose function without any delays at your responsibility.
See also "MQL4: Execution errors"
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
Got your message before and I dont see the problem with using sleep function between trading operations as a delay. This is the expert im using below, and it works fine on a demo account. Im now worried about what you said about "game for all money" what doies this phrase mean?
Is there a problem with the code im using below in the way im using the sleep() function?
Thanks Slawa. I really am grateful for your kind help.
Kind regards
Rod