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
I believe it won't be. If you can't sleep 15s and retry (because it is an indicator) you can check if curtime is still zero
Hi, it still seems to be repeating alerts from the day before.
I took a screenshot of yesterday's alerts - and compared it with today's alerts:
Should I maybe not ResetLastError() before doing the check?
Thanks,
Richard
You could try
You could try
Thank you! I will give this a try...
Would it not produce the same result though? I would imagin that TimeCurrent() and iTime(Symbol(),PERIOD_D1,0) would be the same value always as the client is still updating? Not sure though... will have to test it :)
Thanks again.
Richard
Well, I would think that TimeCurrent() will be one of the first data items to be available once the terminal connects to the server and as you check IsConnected(), I would hope that this would work.
Different day, same results :)
Really not understanding why this is happening. The issue is clearly that the indicator is running before the new tick data is received, but no idea how to stop this ;/