Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 319
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
limit - the number of bars on the chart, so that when you scroll through the history, the indicator will be displayed until the end of the history.
Thank you very much! :)
Hello, could you tell me how to write the parameter - apply to - Median Price in the indicator, in this case Moveng
I will describe the problem, the indicator has an array[][] it records data to calculate the MA - the data was recorded at HL/2 prices, not the default
Hello, I'm trying to write a CDecisionForest class object into a bin file (it's from the Alglib library), but I can't figure out how. I tried using FileWriteStruct, but the compiler gives an error on my class argument:
'df' - structures containing objects are not allowed
limit - number of bars on the chart, so that when you scroll through the history, the indicator will be displayed until the end of the history.
Dear Sir, please explain.
I have not succeeded using the information on your link.
When I declare limit value by myself - "Array out of range" window pops up.
Debugger points to strings with arrays in the for loop.
Maybe there's a simpler way to make it all?
I don't need the drawing.
Only values on current and previous bars.
Dear Sir, could you please explain?
Using the information on your link, I have not achieved success.
When declaring limit value by myself - "Array out of range" window pops up.
Debugger points to strings with arrays in the for loop.
Maybe it can be done in a simpler way?
I do not need drawing.
Only values on the current and previous bars.
How do you calculate the limit?
Actually, the limit is calculated in the reverse calculation of the indicator - from the beginning of the history to its end (to the current data):
The concept"necessary_number of_bars_for_the_fidelity_calculation" means the minimum number of bars, on which the indicator will be correctly calculated. For a 2X2 fractal there are six bars - two on the left, one in the centre, two on the right and one far right which should be completely formed for the fractal not to be re-calculated.Hello, could you please tell me how to increase the size of a one-dimensional array in an indicator
Provided it has a buffer index to call
And the size of the array exceeds the number of bars
Stuck, it seems to me, in such a simple place. What about global int chekcount=0; int count=0; in case I want to run several counter() functions in parallel?
Stuck, it seems to me, in such a simple place. What to do with global int chekcount=0; int count=0; if I want to run several counter() functions in parallel?
Just use a class, or make copies of functions with different names.
Only use a class, or make copies of functions with different names.
So it's not that simple... Thank you!
Can someone rewrite this function using a class, if it's not difficult ?