Hello everyone
I created my own MT4 system, with a few indicators, for manual trading.
The system requires me to switch, regularly, between Heiken Ashi candles and Japanese candles.
This can be done by 2 consequent clicks, as follows:
Either:
1. Click on the icon "Line charts" (or Alt+3) ---> the Japanese candles disappear. The line graph is set to invisible (Color = None).
2. Click on Heiken Ashi Button/on-off indicator ---> Heiken Ashi candles appear.
Or (to reverse the change):
1. Click on Heiken Ashi Button/on-off indicator ---> Heiken Ashi candles disappear.
2. Click on the icon "Candlesticks" (or Alt+2) ---> the Japanese candles reappear.
Since, I'm at the charts for many hours, and do the above all the time, I need a one-click shortcut solution.
Can anyone help me create a Heiken Ashi button that toggles between the above-mentioned two sets of behavior?
PS. I have the following indicator with source code, if needed: Heiken Ashi AutoWidth Button.
Thank you.

I created my own MT4 system, with a few indicators, for manual trading.
The system requires me to switch, regularly, between Heiken Ashi candles and Japanese candles.
This can be done by 2 consequent clicks, as follows:
Either:
1. Click on the icon "Line charts" (or Alt+3) ---> the Japanese candles disappear. The line graph is set to invisible (Color = None).
2. Click on Heiken Ashi Button/on-off indicator ---> Heiken Ashi candles appear.
Or (to reverse the change):
1. Click on Heiken Ashi Button/on-off indicator ---> Heiken Ashi candles disappear.
2. Click on the icon "Candlesticks" (or Alt+2) ---> the Japanese candles reappear.
Since, I'm at the charts for many hours, and do the above all the time, I need a one-click shortcut solution.
Can anyone help me create a Heiken Ashi button that toggles between the above-mentioned two sets of behavior?
PS. I have the following indicator with source code, if needed: Heiken Ashi AutoWidth Button.
Thank you.

