prosum_solutions

HTF 4 MA Trend Analysis by Prosum Solutions

Introduction

This indicator will render up to four (4) moving averages on the chart in any higher timeframe and provide a "MA Bullish/Bearish Strength Signal" as a plot output that can be used to link with other indicators on the chart that use the `input.source()` function.

How is it original and useful?

The indicator allows you to use up to four (4) different moving average types of various types, each at different lengths. The moving average types that are supported are:

  • SMA - Simple Moving Average
  • EMA - Exponential Moving Average
  • RMA - RSI Moving Average
  • WMA - Weighted Moving Average
  • VWMA - Volume-Weighted Moving Average
  • SWMA - Symmetrically-Weighted Moving Average

This indicator makes use of the security() function and applies the best-practices as provided by the PineCoders' script called "`security()` revisited PineCoders" so that the indicator will not repaint when you refresh the chart or re-open it at a later date.

What does it do and how does it do it?

Using the four moving averages, each with increasing lengths, allows you to confirm bullish and bearish trends using a weighted rating system to compute a trend strength signal value. Specifically, the indicator provides a plot data series called "MA Bullish/Bullish Strength Signal" the is simply the summation of the bullish/bearish trend weight values between the four moving averages. The bullish/bearish trend weight values are determined by the position of the moving average lines relative to each other. For example, when Moving Average 1 is above Moving Average 2, this is considered a bullish trend and the weight value will be 1. The weight values can be changed to in the settings to define your own specific weights/values to rate the trend strength. The following list defines the meaning of the "MA Bullish/Bullish Strength Signal" value.

  • -6 = Strong bearish
  • -2 = Moderate bearish
  • 2 = Moderate bullish
  • 6 = Strong bullish

An additional option allows you to add a band around a specific moving average using a deviation percentage to further evaluate the candles being above or below the upper/lower bands. When the candle's close value is above or below the bands, you can add another weighted value to the signal result. As a result, an additional plot series called "MA Bull/Bear+Band Signal" is provided to include the moving average band weight.

Lastly, the chart example above demonstrates how you can use the indicator as an overlay to the price chart or as a separate panel above or below the price chart. The indicator can change what to plot based on an input setting called "Display Mode". When set to `Overlay`, the indicator will draw only the MA and MA Band plots. When set to `Pane`, the indicator will draw only the signal plots over a zero line to visualize the signal changes with the chart events.


Enjoy! 😊👍

Contact Us on our Website: www.prosum-solutions.store/contact-us/
Documentation for Indicators: prosum-solutions.store/documentation/
Discord Server: discord.com/invite/Zuf9MyKmfW
보호된 스크립트입니다
이 스크립트는 클로즈 소스로 게시되며 자유롭게 사용할 수 있습니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다. 소스 코드는 보거나 수정할 수 없습니다.
면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?