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
No answer?
Do you need the dimensions right?
ar1[][][];
ar2[][][];
ar3[][][][];
Is that it? Probably not.
Maybe the number of elements in the array?
ar1[3];
ar2[4];
ar3[5];
Like this?
Do you need the dimensions right?
ar1[][][];
ar2[][][];
ar3[][][][];
Is that it? Probably not.
Maybe the number of elements in the array?
ar1[3];
ar2[4];
ar3[5];
Like this?
With the second option, it's simple. A structure, an array in the structure. Then we declare an array of structures and shuffle everything as it should be.
struct MyStruct{
int x[];
}
But the first variant... The number of measurements is very limited. If you need such an unlimited number of measurements, you may use a usual array with one dimension and calculate the index of the element. But I don't really believe there's any task in the wild that might require such a solution.
With the second option, it's simple. A structure, an array in the structure. Then we declare an array of structures and shuffle everything as it should be.
struct MyStruct{
int x[];
}
But the first variant... The number of measurements is very limited. If you need such an unlimited number of measurements, you may use a usual array with one dimension and calculate the index of the element. But I don't really believe there's any task in the wild that might require such a solution.
it took me to create a neural network.
This question: I am converting an indicator to an EA, it compiles without a single error, but requires a buffer size during startup - how do I fix it? Somebody write an example of how to translate indicator into EA.
Another question: in the tester, the Expert Advisor slows the chart because of the very large calculations - in real life, will this slowing of the chart?
Question 3: In the Strategy Tester, the Expert Advisor loses because of the lack of future quotes - is this situation possible in the Championship?
Question 4: Without optimization, the Expert Advisor shows a normal profit with a small drawdown on any timeframe and currency pairs of any timeframe of any brokerage company - will this advisor be profitable in real trading?
Question 5, how to make one and the same EA launched several times not to set orders at the same time, i.e. running the EA a hundred times, there should not be a single overlap in setting orders?
Question 6: How to make parallel calculations in the EA (considering that mql is similar to c++) without connecting external libraries?
Question 7: Can you write the code to close an order before the set time, i.e. an open order should close before the time specified in the EA?
This question: I am converting an indicator to an EA, it compiles without a single error, but requires a buffer size during startup - how do I fix it? Somebody write an example of how to translate indicator into EA.
Another question: in the tester, the Expert Advisor slows the chart because of the very large calculations - in real life, would there be such a slowdown of the chart?
Question 3: In the Strategy Tester, the Expert Advisor loses because of the lack of future quotes - is this situation possible in the Championship?
Question 4: Without optimization, the Expert Advisor shows a normal profit with a small drawdown on any timeframe and currency pairs of any timeframe of any brokerage company - will this advisor be profitable in real trading?
Question 5, how to make one and the same EA launched several times not to set orders at the same time, i.e. launching the EA a hundred times, there will not be coincidence in setting orders?
Question 6: How to make parallel calculations in the EA (considering that mql is similar to c++) without connecting external libraries?
Question 7: Can you write the code to close an order before the set time, i.e. an open order should close before the time specified in the EA?
1. Please, post the part of the code where you think there is an error.
2. Make a Demo account, and give the EA there and look at it for a few days.
3. It cannot happen. Maybe the thing is that when the testing period finishes, the tester closes all the positions (you are in deficit), the real EA will wait for quotes and close them according to your closing condition.
4. There is no guarantee.