Questions from Beginners MQL5 MT5 MetaTrader 5 - page 250
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
This way.
What library? What variables?
https://www.mql5.com/ru/code/310 file acandlepatterns.mqh , there I would like to insert a variable thatcan be changed when optimising an EA. For example 3.0 to be changed in EA parameters.
For example, make 3.0 modifiable in the EA parameters.
what's stopping you? make an input variable, put it in place of 3.0 and change as you like
input variable changes in the library, how will I see it in theEAparameters?
These are two different files.
input variable the variablechanges in the library, how would I see it in theExpert Advisorparameters?
These are two different files.
are you afraid to try it, or have you forgotten how a variable is written instead of 3.0?
If you are afraid of violating the library, then inherit the class.
you don't know how to pass an instance variable to the class - so create your own variable inside the class and initialize it when creating that instance variable.
are you afraid to try it, or have you forgotten how a variable is spelled instead of 3.0?
If you are afraid of breaking the library, then inherit the class.
If you don't know how to pass an instance variable to a class, then create your own variable inside the class and initialize it when creating that instance variable.
Thank you! Clearly this isnot for beginners.
Thank you! It's clear that this not for beginners.
and you've generated an expert?
You understand something about code/classes, don't you?
That's the thing: classes are something I can't understand. I've read the articles, but I still don't get it.