OPEN-SOURCE SCRIPT

Trend Counter [BigBeluga]

The Trend Counter indicator is designed to help traders identify trend conditions and potential reversals by counting the number of bars within a specified period that are above or below an average price level. By smoothing and averaging these counts, the indicator provides a clear visual representation of market trends and highlights key trend changes.


Key Features:

Trend Counting:
Counts bars above and below average price levels over a specified period.
Smooths and rounds the count for better visualization.


⦿ Color Indication:
Uses gradient colors to indicate the strength of the trend.
Colors the background based on trend strength for easier interpretation.
快照

⦿ Trend Signals:
Provides visual cues for trend changes based on the counter crossing predefined levels.
快照

⦿ Potential Tops:
Identifies potential market tops using a specified length and highlights these levels.
快照

⦿ Additional Features:
Displays Trend Counter value with arrows to indicate the direction of the trend movement.
Displays average trend count and level for reference.
快照

⦿ User Inputs Description
  • Length: Defines the period over which the trend counting is performed.
  • Trend Counter Smooth: Specifies the smoothing period for the trend counter.
  • Level: Sets the threshold level for trend signals.
  • Main Color: Determines the primary color for trend indication.



The Trend Counter indicator is a powerful tool for traders seeking to identify and visualize market trends.
By counting and smoothing price bars above and below average levels, it provides clear and intuitive signals for trend strength and potential reversals.
With customizable parameters and visual cues, the Trend Counter enhances trend analysis and decision-making for traders of all levels.
forecastingtopsignaltrendanalyisisTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


🔵Gain access to our powerful tools : bigbeluga.com

🔵Join our free discord for updates : bigbeluga.com/discord


All scripts & content provided by BigBeluga are for informational & educational purposes only.
更多:

免责声明