'Which is the best and easy way to switch the display.all to display.none and vice-versa in a plot function?

I want to make sure my indicator just shows up in determined time frames. I am wondering how to do that.

This is the second time I ask here. Please give me some help. Thanks.

This is my first post, plot_display error ─ choosing which time frame to plot



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source