I added a button to my chart via an indicator.
What I want the button to do is:
if bars are visible - make bars invisible (set barcolors and outline to transparent if there is no other way)
if bars are invisible - make bars visible (go back to initial parameters as defined in chart properties)
what whould be the easiest way to do so.
as always thanks in advance and really appreciate help.
regards
Comment