You can use the servertime function check and set/clear a flag you use later..
//Global Variable
bool OkToTrade=false;
int SecondsToWait=3600; // 3600 seconds = 1 hour
init Start
if (CurTime() > LastTime0 + SecondsToWait)
{
LastTime0=CurTime();
OkToTrade=true;
{
else
{
OkToTrade=false;
}
Then later in the open order section
If (OkToTrade).... process function
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
Running EA on the EachTick format. Need script to "PAUSE BETWEEN TRADES".
Tried to setup a 1 HR delay before the EA would start trading again, NO SUCCESS .
EA has a tendency to keep opening positions (False Positive's) after the initial open position has been closed, because the key criteria are still being met.
Looking to eliminate these False Positive's.
Thank You, Much Appreciated