Key or button for indicator

 
I would ask if we could create in MT5 a button (ObjectButton) on the graph that can, by pressing, to appear and disappear as an indicator, for example, the ZigZag.
Or a combination of two keys on the keyboard.Example : press Ctrl+"..." ZigZag yes, and press Ctrl+"..." ZigZag no ....... as Ctrl+L for Volume.
You can have an example of how to do?
Thanks.
 

Yes, it's possible. See article 20 Trade Signals in MQL5 for example.


Reason: