blouf:
Hi,
I read the doc on how to add object (clickable button), but I'm confused. Can someone give me a simple example : 1 button -> clicked -> execute function test().
Thanks
maybe the example ButtonClickExpert.mq5 could help you:
https://www.mql5.com/en/docs/eventfunctions/eventchartcustom
ciao
![Documentation on MQL5: Working with Events / EventChartCustom Documentation on MQL5: Working with Events / EventChartCustom](/i/community/logo_mql5_small.png)
Documentation on MQL5: Working with Events / EventChartCustom
- www.mql5.com
Working with Events / EventChartCustom - Reference on algorithmic/automated trading language for MetaTrader 5
![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
Hi,
I read the doc on how to add object (clickable button), but I'm confused. Can someone give me a simple example : 1 button -> clicked -> execute function test().
Thanks