AngelAlgo

Momentum Reversal [AngelAlgo]

The Momentum Reversal Indicator is a technical analysis tool used to identify potential reversals and trends in financial markets. It does this by comparing the momentum of a market to its trend. The momentum is calculated by measuring the change in price over a specified time interval set by the "Period" input. The trend is then determined as the simple moving average of the momentum, with the length of the moving average determined by the "Trend length" input. When the momentum deviates significantly from the trend, it is considered a potential reversal signal. The user can choose to receive signals based on either "Contrarian" or "Trend" signals type, and also has the option to smooth the signals using the Hull Moving Average. The indicator is plotted as a histogram with trading signals indicated by triangle shapes (up for buys, down for sells). The histogram is also accompanied by a smoothed line representation of the indicator and dynamic threshold levels.

The color of the histogram bars is green if the momentum is positive, red if it's negative. The histogram can be smoothed using the Hull Moving Average (HMA) if the "Smoothed signals" input is set to true.
The indicator also plots the threshold levels, which are dynamically calculated as the simple moving average (SMA) of the absolute value of the histogram. The threshold levels are plotted as circles on the chart.

The signals are plotted as arrows on the chart, either triangle-up for buy signals, or triangle-down for sell signals. If "Contrarian" signals are selected, a triangle-up will appear when the histogram crosses below the lower threshold, and a triangle-down will appear when it crosses above the upper threshold. If "Trend" signals are selected, a triangle-up will appear when the histogram crosses above the upper threshold, and a triangle-down will appear when it crosses below the lower threshold. Trend signals work for trending markets, Contrarian signals are good for ranging markets.

SETTINGS

Period: This input allows you to set the period for the momentum calculation. The default value is 14.

Trend length: This input allows you to set the length of the trend-following moving average. The default value is 50.

Signals type : This input allows you to choose the type of signals you want to receive. You can choose between "Contrarian" and "Trend" signals. The default value is "Contrarian".

Smoothed signals: This input allows you to choose between the raw or smoothed signals. If set to true, the signals will be based on the smoothed histogram line, otherwise, they will be based on the raw histogram. The default value is true.

Access our exclusive tools at: angelalgo.com

Join our community via discord.gg/FGUTfkmYbW

All content from AngelAlgo is for informational and educational purposes only. Please note that past performance does not guarantee future results.
Skrip open-source

Dalam semangat TradingView, penulis dari skrip ini telah mempublikasikannya ke sumber-terbuka, maka trader dapat mengerti dan memverifikasinya. Semangat untuk penulis! Anda dapat menggunakannya secara gratis, namun penggunaan kembali kode ini dalam publikasi diatur oleh Tata Tertib. Anda dapat memfavoritkannya untuk digunakan pada chart

Pernyataan Penyangkalan

Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.

Inggin menggunakan skrip ini pada chart?