OPEN-SOURCE SCRIPT

Wave Trend

Updated
The Wave Trend indicator is based on the Mason’s Line Indicator.
https://fr.tradingview.com/script/mNcGcDvI-Mason-s-Line-Indicator/

This indicator is a sentiment analysis tool designed to help traders understand and analyze market trends. It works by calculating the average investor satisfaction of a group of investors. The results are displayed as colored squares at the bottom of the chart. For more information, read the description of the Mason's Line Indicator.
This indicator is not developed for use on short timeframes. It is an indicator that is best suited for longer timeframes, ideal for swing trading or long-term trading.

There are two main display parameters:
  • Display the coloured squares according to the distance to the sma (default value).
  • Display the squares according to the position of satisfaction in relation to the scale of the indicator.


there are two secondary settings for each of these options:
  • Display the squares by normalizing the values of the dataset between 0 and 1.
  • Display the squares without normalizing the value of the dataset between 0 and 1 (default value).



Please note that the Wave Trend Indicator is not a guarantee of future market performance and should be used in conjunction with proper risk management. Always ensure that you have a thorough understanding of the indicator’s methodology and its limitations before making any investment decisions. Additionally, past performance is not indicative of future results.








Release Notes
Updated code formatting.
Release Notes
Updated code formatting.
emotionsentimentswingTrend AnalysisWave Analysis

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?

Disclaimer