OPEN-SOURCE SCRIPT

Cosmic Vector

Updated
This indicator will copy a moving average's plot and show whether its angle vector is negative or positive. In other words, it will show when the moving average starts to "accelerate" / "decelerate".

To use:

  • Add any moving average indicator to the chart
  • Click that indicator's More > Add Indicator on (MA)
  • Select the Cosmic Angle Gravity indicator
Release Notes
  • updated settings
Release Notes
  • added alerts for vector color change
Release Notes
  • upgraded to version 5
  • refactored code
  • BREAKING: removed double smoothing feature (smooth using input indicators instead)
angleMoving Averagesslopevector

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