Maybe too old now, but here is the solution for everyone else, having this issue:
The SpinEdit Box is "disabled", because nothing listening for it events. You must check for events in the OnChartEvent() funktion.
void OnChartEvent(const int id, const long &lparam, const double &dparam, const string &sparam) { m_spin_edit.OnEvent(id,lparam,dparam,sparam); //<-- this is the important part! }
now you should be able to click it
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
Hello everyone.
I am trying to create a SpinEdit in my EA code. Although it is shown on the chart but seems like it is disabled and the value cannot be changed.
Thanks for your help.