hide_on_intraday
will hide any indicator from showing on the intraday charts. Any timeframe less than the Daily is considered to be intraday.Usage
declare hide_on_intraday;
Example
#
# TD Ameritrade IP Company, Inc. (c) 2008-2020
#
declare hide_on_intraday;
declare lower;
input length = 14;
input averageType = AverageType.WILDERS;
plot ADX = DMI(length, averageType).ADX;
ADX.setDefaultColor(GetColor(5));
The above script is from the ADX indicator. With
hide_on_intraday
added into the code, the ADX line is hidden on intraday aggregation periods.Additional scripts related to hide_on_intraday
- https://usethinkscript.com/threads/conditionally-hide-an-entire-study.3131/
- https://usethinkscript.com/threads/stock-market-days-up-vs-days-down-indicator-for-thinkorswim.571/
- https://usethinkscript.com/threads/calculate-loser-or-gainer-from-open-to-close.1391/
- https://usethinkscript.com/threads/show-or-hide-clouds.1300/
- https://usethinkscript.com/threads/script-assist-define-static-plot-values-to-specified-date.1550/