Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 164
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, I need to get the value from the function - _High and _Low is just an example...
You get the High and Low of the calculated bar in the function
This is what you will get from the function.
No, I need to get the values from a function - _High and _Low is just an example...
I wrote you how to get these values from the function
I wrote you how to get these values from the function.
All right - you wrote about High and Low, but now let's pretend it's not High and Low, but some intermediate result of the function calculation.
Give me an example - let's decide... Are you using the last function exactly?
Give me an example... Do you use the last function you posted?
I'll think of another example.
Yes, I do, of course.Create a structure, pass it to the function by reference, fill it in there. When the function finishes, all the data you need will be in the fields of the structure.
I'll think of another example.
Yes, I will, of course.What other variables do you want to get out of it, apart from High and Low?
which variables do you want to get from it, apart from the ones you already got High and Low?
OK, let's say these :
int TFT=0;
int shiftMAT=0;
int typeMAT=0;
int priceMAT=0;