OPEN-SOURCE SCRIPT

Cosmic Multi-timeframe Channels

Updated
This script creates 3 channels out of common moving average plots, 1 in the user-specified timeframe (densely-colored) and 2 in higher multiples of the user-specified timeframe (progressively weaker-colored).

In this instance, the user-specified timeframe is 1D and shows the 1D channel. As the higher timeframe multiples are by default set to 3 and 9, they show the channels for 3D and 9D timeframes.
Release Notes
Updated chart timeframe to reflect description.
Release Notes
  • smoothed plots of higher timeframes
Release Notes
  • added support for every timeframe
  • added color to `mult1` fill for better readability
Release Notes
  • upgraded to version 5
  • updated view
  • updated `get_security` function to prevent repainting
Moving Averagesmulti-timeframeTrend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


📣 Ask on Reddit: shorturl.at/BILRZ
👀 Watch on TikTok: shorturl.at/gzAPW

🚩 Disclaimer: the information created and published here is not prohibited, doesn't constitute investment advice, and isn't created solely for qualified investors
Also on:

Disclaimer