maigcaloctopus

CC - Consolidated Interval Display (CID)

Ever wish you didn't have to rapidly flip between 6 different intervals to get the full picture?
Yeah, me too. Do you also wish that you kind of understood how the shift / unshift function works for arrays?
Yeah, I did too. Both of those birds are taken care of with one stone!

The Consolidated Interval Display uses the new Array structure and security to display data for 5m, 15m, 45m, 1h, 4h and 1d intervals SIMUTANEOUSLY! Regardless of which interval you're looking at you can get the full picture of numerical data without flipping around to get it.

This is my first script trying to use arrays. It basically shows the following for the given ticker:

  • ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 5 minute level.
  • ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 15 minute level.
  • ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 45 minute level.
  • ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 1 hour level.
  • ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 4 hour level.
  • ATR14, RSI7, RSI14, SMA50, SMA200 and VWAP at the 1 day level.

To make it more or less busy, I've allowed you to toggle off any of the levels you wish. I've also chosen to leave this as open source, as it's nothing too experimental, and I hope that it can gain some traction as an Array example that the public can use! If you don't like the different values that are shown, use this source code example as a spring-board to put values that you do care about onto the labels.

If this code has helped you at all please drop me a like or some constructive criticism if you do not think it's worth a like.

Good luck and happy trading friends.

If this gets traction, I will post something similar for a combination of SPY, VIX, GOLD, QQQ, IWM and TLT.

All of these scripts are sponsored by NChart, as he has graciously given me money for trading view premium to help me develop scripts! Check my bio for more information and a link to their twitter. Mods if this is not okay DM me, thanks! Apologies.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?