How do you programmatically distinguish between a PROFESSIONAL fetus and a DILIETAN fetus? - page 14
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
Your code can be sped up a bit if you like. If you optimise it, it will make a big difference.
It's just a weekend challenge.
It's not my code:) The comments are mine:)
Man, that's intriguing.
But it doesn't say anything about professionalism. A little bit about efficient algorithms. Nothing more.
I don't think of myself asa professional, though.
Are we talking about the whole code of the indicator, or just the passage I gave?
OK, I'll report back on Sunday, or maybe sooner.
Logical operations are the hardest (only arrays operations are harder). I have to get rid of unnecessary ones.
And what is the limit?
Logical operations are the heaviest (only arrays are heavier). We have to get rid of unnecessary ones.
And what does limit equal?
Most often, Limit eliminates the need to recalculate all of the indicator values on the current bar. And this means that during testing, especially at opening prices, the indicator will be completely recalculated. So we can simply limit ourselves to the necessary number of bars for the calculation.