I want to automatically create a new structure by changing the chart or time frame. What is the function of defining a new name?
for example:
string my_set=(string)ChartId()+.... ;
struct name
{
....
};
name my_set ={......};
- Please use the "</>" icon on the message toolbar to add code to your posts. Don't just paste normal text.
- It is still difficult to understand what it is you are asking, but I will try to see if I can answer what I think you are asking.
- In MQL, variable names are set at compile time, not at runtime. You cannot change their names after it has been compiled.
- Also, structures are defined at compile time. You can't create new structure declarations on the fly at runtime.
- If that is not it, then please explain in more detail what your question is.
- Please use the "</>" icon on the message toolbar to add code to your posts. Don't just paste normal text.
- It is still difficult to understand what it is you are asking, but I will try to see if I can answer what I think you are asking.
- In MQL, variable names are set at compile time, not at runtime. You cannot change their names after it has been compiled.
- Also, structures are defined at compile time. You can't create new structure declarations on the fly at runtime.
- If that is not it, then please explain in more detail what your question is.
- Please use the "</>" icon on the message toolbar to add code to your posts. Don't just paste normal text.
- It is still difficult to understand what it is you are asking, but I will try to see if I can answer what I think you are asking.
- In MQL, variable names are set at compile time, not at runtime. You cannot change their names after it has been compiled.
- Also, structures are defined at compile time. You can't create new structure declarations on the fly at runtime.
- If that is not it, then please explain in more detail what your question is.
I want the information of each chart to be stored in a structure or class format so when that chart opens that information is called, but I do not know how to define a name for it in Expert
You have a way
It is still difficult to understand what it is you want.
All the chart information is already available to your Indicator, EA or Script when you attach it to the chart, so your request does not make much sense.
Please show your attempt at coding it and explain it in much more detail.
It is still difficult to understand what it is you want.
All the chart information is already available to your Indicator, EA or Script when you attach it to the chart, so your request does not make much sense.
Please show your attempt at coding it and explain it in much more detail.
Hello, have a nice time
I have a question
How to write a trading panel that also works on the strategy tester

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use