- Coding help
- Errors, bugs, questions
- How can I show the input window by program?
Hi comrades. How can I tell EA that the value of an input has changed in the parameter window for the EA. The input can be of type integer or double or string (or extern or input) etc. I want my EA to know that the value of an input parameter has changed the moment I clicks OK button. Thank you in advance.
When you change inputs and click OK, the EA is re-initialized and the EA automatically uses the new parameters.
Thank you, I know of that. But I want to do something else when an input is CHANGED. I need something like a change event for parameter window, similar to the CHARTEVENT_OBJECT_CHANGE for graphical object property changed via the properties dialog.
What I want to do is assign the new value to a Global Variable so that when I view another chart where that EA is attached, I wont have to re-enter the new value of the input parameter again. I want the change of parameter to take effect on all the charts where the EA has been attached. Thank you in advance
You get the info that parameters have changed in OnDeinit and you can react in the following OnInit.
You get the info that parameters have changed in OnDeinit and you can react in the following OnInit.
Thank you. But change of parameter input is not the only event that triggers OnDeinit or OnInit, other events do trigger them too. I want something that only the Change inparameter input triggers.
What I want to do is assign the new value to a Global Variable so that when I view another chart where that EA is attached, I wont have to re-enter the new value of the input parameter again. I want the change of parameter to take effect on all the charts where the EA has been attached. Thank you in advance
Thank you. But change of parameter input is not the only event thattriggers OnDeinit or OnInit, other events do trigger them too. I wantsomething that only the Change inparameter input triggers.
What I want to do is assign the new value to a Global Variable sothat when I view another chart where that EA is attached, I wont have tore-enter the new value of the input parameter again. I want the changeof parameter to take effect on all the charts where the EA has beenattached. Thank you in advance
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use