Aliaksandr Hryshyn: You can do it in C#. Can you rewrite the indicators into it? Do you have sources?
To be honest, I don't intend to. I use standard indicators. But I use several of them with different parameters. And I don't really want to dance with tambourine.
As suggested above, moving the indicators to a dll seems to me to be the best option. The source codes of standard indicators are in the folder Indicators -> Examples. You transfer the code of the necessary indicators to the dll, making necessary functions for this. In the same place, parallelize the call or calculation of these functions, by means of multithreading or asynchronous.
According to the help, each indicator is executed in its own thread. I wanted to try dividing tasks into indicators and then to call them via iCustom in the Expert Advisor, i.e. the calculation would be parallel, and only polling (getting buffer values) would be sequential.
Igor Zakharov: According to the help, each indicator is executed in its own thread. I wanted to try splitting tasks into indicators and then to call them via iCustom in the Expert Advisor, i.e. the calculation would be parallel and only polling (getting buffer values) would be serial. I never tested it, the relevance disappeared.
In the tester everything is in 1 thread, but in real life it works.
Charts are a representation of some of the calculations.
So far it's all in the water, the direction is clear, but what exactly ...
And chat rooms or whatever is not an option?
So far it's all in the water, the direction is clear, but what exactly ...
You can do it in C#. Can you rewrite the indicators into it? Do you have sources?
What kind of chat rooms?
The source codes of standard indicators are in the folder Indicators -> Examples.
You transfer the code of the necessary indicators to the dll, making necessary functions for this.
In the same place, parallelize the call or calculation of these functions, by means of multithreading or asynchronous.
According to the help, each indicator is executed in its own thread. I wanted to try splitting tasks into indicators and then to call them via iCustom in the Expert Advisor, i.e. the calculation would be parallel and only polling (getting buffer values) would be serial. I never tested it, the relevance disappeared.