MT4 (bld 765+) - Buttons on chart example

 

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:
 
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.  
Reason: