MT4 (bld 765+) - Buttons on chart example

Back to topics list To post a new topic, please log in or register
avatar
58
Chistabo 2015.05.15 09: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

Attached files:
  chifunctions.mqh  (53.86 KB)
  movchivea.mq4  (12.22 KB)
avatar
13
fdeguzman 2016.07.28 18: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.  
avatar
13006
Back to topics list  

To add comments, please log in or register