OPEN-SOURCE SCRIPT

Cosmic Flow

Updated
This is a unique take on moving average multiplier indicators. Here, a pair of moving averages is used in combination with a multiplier set of to calculate

  • separate support and resistance levels
  • a new basis point of reference


The resulting data can be further used to calculate derived support and resistance levels using the Multiplier Type settings option. The moving averages and multiplier sets are customizable to make it easy to test different values on the fly and discover new patterns, and the Spread settings option is handy for working across timeframes.
Release Notes
upgraded Pine Script to version 5
Release Notes
  • added "MA" input setting
  • added data table position settings
  • added data table headers
  • improved plot visibility
Release Notes
updated chart and code comments
basisMoving AveragesmultiplierVolatility

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