OPEN-SOURCE SCRIPT

Composite Momentum

█ Introduction
The Composite Momentum Indicator is a tool we came across that we found to be useful at detecting implied tops and bottoms within quick market cycles. Its approach to analyzing momentum through a combination of moving averages and summation techniques makes it a useful addition to the range of available indicators on TradingView.

█ How It Works
This indicator operates by calculating the difference between two moving averages—one fast and one slow, which can be customized by the user. The difference between these two averages is then expressed as a percentage of the fast moving average, forming the core momentum value which is then smoothed with an Exponential Moving Average is applied. The smoothed momentum is then compared across periods to identify directional changes in direction

Furthermore, the script calculates the absolute differences between consecutive momentum values. These differences are used to determine periods of momentum acceleration or deceleration, aiming to establish potential reversals.

In addition to tracking momentum changes, the indicator sums positive and negative momentum changes separately over a user-defined period. This summation is intended to provide a clearer picture of the prevailing market bias—whether it’s leaning towards strength or weakness.

Finally, the summed-up values are normalized to a percentage scale. This normalization helps in identifying potential tops and bottoms by comparing the relative strength of the momentum within a given cycle.

█ Usage
This indicator is primarily useful for traders who focus on detecting quick cycle tops and bottoms. It provides a view of momentum shifts that can signal these extremes, though it’s important to use it in conjunction with other tools and market analysis techniques. Given its ability to highlight potential reversals, it may be of interest to those who seek to understand short-term market dynamics.

█ Disclaimer
This script was discovered without any information about its author or original intent but was nonetheless ported from its original format that is available publicly. It’s provided here for educational purposes and should not be considered a guaranteed method for market analysis. Users are encouraged to test and understand the indicator thoroughly before applying it in real trading scenarios.
compositeMomentum Indicator (MOM)Moving AveragesOscillators

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?


Sharp Vision Traders
Also on:

Disclaimer