Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
No conflict, when Ninja says 'of no value' they just mean if CalculateOnBarClose is true then it is redundant. As a general performance tip, simple conditional tests are ultra fast operations, to be used in advance of anything else.
If running on COBC false you can reduce the number of executions of OnBarUpdate by at least 70% by rejecting those price ticks that have the same price as the preceding tick and are not FirstTickOfBar.
if close[0]=previous close and NOT FirstTickOfBar return....
"If we don't loosen up some money, this sucker is going down." -GW Bush, 2008
“Lack of proof that something is true does not prove that it is not true - when you want to believe.” -Humpty Dumpty, 2014
“The greatest shortcoming of the human race is our inability to understand the exponential function.” Prof. Albert Bartlett