Cosmic Vector

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)

📣 Ask on Reddit:
👀 Watch on TikTok:

🚩 Disclaimer: the information created and published here is not prohibited, doesn't constitute investment advice, and isn't created solely for qualified investors
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.


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?