When does it make sense to keep part of the robot code in an indicator? - page 31

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
What nonsense! You write your EMA calculation in Expert Advisor and compare the performance with mine.
The initial task was to compare the performance of the same code in the EA and in the indicator.
What is the point of comparing different code by performance? What does it prove?
The initial task was to compare the performance of the same code in the Expert Advisor and in the indicator.
What's the point of comparing different code by performance? What does it prove?
This proves that the use of indicators can significantly increase the speed and reliability of the robot, as well as simplify the process of their creation, greatly simplifying it.
This proves that the use of indicators can significantly increase the speed and reliability of the robot.
Obviously, this can only be proved by using the same piece of code. If you use different code, it will not be correct.
I will give you an example, if it is hard to understand, if you do 10 summations in your indicator, and an Expert Advisor does 100 at the same time, it doesn't mean that the performance of the indicator is faster than of the Expert Advisor.
Obviously, this can only be proved by using the same piece of code. If you use different code, the staking will not be correct.
I will give you an example, if it is hard to understand, if you do 10 summations in your indicator, and an Expert Advisor does 100 at the same time, it doesn't mean that the performance of the indicator is faster than of the Expert Advisor.
Why should I perform 10 summations, if my indicator can perform only one?
Why should I do 10 summations when I can do just one in an indicator?
This was an example to explain to you what performance is. The number of operations per unit of time.
Me? You want me to explain? Whoa! [Laughs] Thank you, I didn't know, now I'll know.
Me? Do I have to explain? Whoa! (Laughs) Thanks, I didn't know, now I'll know.
Well, if you do, then why do you want to compare code with different numbers of operations?
I didn't know that before, but now you've enlightened me.
The initial task was to compare the performance of the same code in Expert Advisor and Indicator.
The initial task was to explain that the same code doing the same thing in Expert Advisor and Indicator is possible only in very rare cases.
But you are really tight and stuck to your assembler operations.
Re-read the thread carefully, nobody ever said anything about comparing the same code. They were talking about comparing code that does the same thing.
The initial task was to explain that the same code doing the same thing in Expert Advisor and Indicator is possible only in very rare cases.