What's new

What happens if there is a new tick and the OnCalculate() function has not finished its calculations?

DANZY

New Member
I beleive if your case happened then pc (or server) will hang.
But, generally we have not yet seen operations which not performed fast by computer these days unless you have a very old pc in most case nowadays hardware is powerful enough to return the ontick before the new one.
But ... EAs are now sophisticated, often with multi currencies ... So there's exception.
Add to this that sometimes ticks arrives by packets of many hundred like during news ... And it gives good arguments to the pros ontick-nonblocking
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

Users Who Are Viewing This Thread (Total: 1, Members: 0, Guests: 1)

Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock    No Thanks