Update value in EA input panel after some condition

Suraj Neupane
222
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?  
Alain Verleyen
41514
Alain Verleyen  
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.
Jose Miguel Soriano
5183
Jose Miguel Soriano  
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?  
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;
   ...///...

}