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
And I'd also be very grateful for any material on how to make an inductor faster, how to increase MT's speed.
And if anyone knows if there is any information about execution speed of different MT statements (e.g. how many clock cycles different statements are executed).
calls of custom indicators via iCustom() are as fast as (and even faster than) functions embedded directly in the code. You can check all these three statements yourself.
It seems to me that For is much slower.
A loop based on If is even slower.
Maybe somebody with a large programming experience could at least approximate the breakdown of operators by speed.
After all, even a harmless comment requires some time to be processed.
I am adding a working LR.
It is a very interesting indicator. Something to think about.
But what about the tail, I do not understand your code, if you do not mind, please elaborate.
P.S. Not to bother with parameters, put indicators on hourly chart and set the period in yours to one more.
I do not understand.
And how much of a difference there is in the operation of the For and While statements.
I don't understand your code, if you don't mind telling me more.
calls to custom indicators via iCustom() are just as fast (and even faster) than functions directly embedded in the code. You can check all these three statements yourself.
P.S. Clever forum engine added _1 to the indicator name, additive to be removed when writing.