Download MetaTrader 5
To add comments, please log in or register
Are you a good trader? Become a signals provider and make even more money!
Chistabo
140
Chistabo 2015.05.15 07:59 

Hello!

Attached is raw EA, which should, to some of us, serve as an example of coding and using (simple) buttons on MT4 chart.

EA goes under Experts folder.

<ChiFunctions.mqh> goes under Include folder. Then compile and test.

Buttons toggle between preset states/values, and change color and text (and tooltip! - hover over). Trading logic is not incorporated, nor is order management. Just buttons.

Best regards,


Simon

S love nia

Files:
movchivea.mq4 13 kb
fdeguzman
35
fdeguzman 2016.07.28 16:19  
Chistabo:

Hello!

Attached is raw EA, which should, to some of us, serve as an example of coding and using (simple) buttons on MT4 chart.

EA goes under Experts folder.

<ChiFunctions.mqh> goes under Include folder. Then compile and test.

Buttons toggle between preset states/values, and change color and text (and tooltip! - hover over). Trading logic is not incorporated, nor is order management. Just buttons.

Best regards,


Simon

S love nia

Very good example.  Thank you.  
whroeder1
13599
whroeder1 2016.07.28 16:33  
/
To add comments, please log in or register