Download MetaTrader 5

MT4 (bld 765+) - Buttons on chart example

To add comments, please log in or register
Do you want to become a well-known developer? Execute the orders of traders in the Freelance service!
Chistabo
158
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
14518
whroeder1 2016.07.28 16:33  
To add comments, please log in or register