Minh Truong Pham:
Hello,
I have create button by OBJ_BUTTON. I want to prevent user click on button in some case.
Is there any way for enable/disable button click on MQL4?
Thank in advance!
You could hide it with
ObjectSetInteger(ChartID(),name,OBJPROP_TIMEFRAMES,OBJ_NO_PERIODS);
Or you could place a curtain above it (a blank bitmap for instance)
- Hide it
- cover it
- delete it
- Ignore clicks on 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,
I have create button by OBJ_BUTTON. I want to prevent user click on button in some case.
Is there any way for enable/disable button click on MQL4?
Thank in advance!