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
If indicator_buffers is not set, the default value is one buffer of type INDICATOR_CALCULATIONS.
And if indicator_buffers 0 is set ???
Similarly. Hard-coded minimum is 1.
Can the CALCULATIONS buffer be downloaded from the client with CopyBuffer? :)
The Expert Advisor creates a subchart and runs itself on it. And now two versions of the same Expert Advisor are running, then it's a matter of technique, how to distribute tasks between these twin brothers.
zy. The subchart can have an area of 0 pixels and be in negative coordinates.
Can the CALCULATIONS buffer be downloaded from the client with CopyBuffer ? :)
You can:
CopyBuffer
Gets data of a specified buffer in the specified quantity into buffer array.
In this case, specify zero buffer number.
Can you elaborate on this. How exactly the Expert Advisor is launched on subchart? And does it exactly run in another thread? Is it possible to split into four by the same technique (on the same general chart?)
The expert saves a template of his/her chart before creating the subchart. Then creates a subchart and applies the saved template to it. This launches the same Expert Advisor on the subchart. You can create a subchart and apply the template to it, so we have three experts.
It is important to determine the Expert Advisor, i.e., the Expert Advisor to whom the new ones can be started. The timer shall help. It does not work on subchart, so the one who accepted the event by timer is the main one.
You can:
In this case, specify a buffer number of zero.
The expert saves a template of his/her chart before creating the subchart. Then creates a subchart and applies the saved template to it. This launches the same Expert Advisor on the subchart. We can create a subchart and apply a template to it, and that will result in three experts.
Okay, the general scheme is clear at this point. We need to test the methodology. If questions arise later, I will consult with you.
It is important to determine which Expert Advisor is the main one, i.e., which one may start a new one. A timer will help with this. It does not work on subchart, so the one who accepted the timed event is the main one.
The expert saves a template of his/her chart before creating the subchart. Then creates a subchart and applies the saved template to it. This launches the same Expert Advisor on the subchart. You can create a subchart and apply the template to it, so we have three experts.
It is important to determine the Expert Advisor, i.e., the Expert Advisor to whom the new ones can be started. The timer shall help. It does not work on subchart, so the one who accepted the event by timer is the main one.
What do you mean by "subchart"?
An object chart or
a full-fledged chart opened from an EA
What is the priority of Tick,Timer,Trade,Event events?
In principle, if you know the priorities, you can change the scheme so that you can organize interruptions.
For example Tick and Timer will send user events and Event will handle it all.