I'm aware that extern value can be changed unlike input value of an EA. is there any way to update change value in EA's input panel?
- Updating extern variable
- IndicatorParameters Bug
- How i can get moving average of an Indicator.
Suraj Neupane:
I'm aware that extern value can be changed unlike input value of an EA. is there any way to update change value in EA's input panel?
No.
I'm aware that extern value can be changed unlike input value of an EA. is there any way to update change value in EA's input panel?
Suraj Neupane:
I'm aware that extern value can be changed unlike input value of an EA. is there any way to update change value in EA's input panel?
I'm aware that extern value can be changed unlike input value of an EA. is there any way to update change value in EA's input panel?
You can not change the value of an external parameter for reasons of compilation.
It's possible use a internal variable with the value of external parameter, and to modify the internal variable.
input int MACDrap = 12; //MACD fast period input int MACDrapFact = 2; //MACD fast modification factor ...///... int MACDrapInt= MACDrap; ...///... void OnTick() { MACDrapInt= MACDrap*MACDrapFact; ...///... }
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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