OPEN-SOURCE SCRIPT

Consecutive Higher/Lower Closings

已更新
The Consecutive Higher/Lower Closings indicator is a powerful tool designed to assist traders in identifying potential buy and sell signals based on consecutive higher or lower closing prices. This indicator provides users with the flexibility to specify the number of consecutive higher or lower closings required to trigger a signal, allowing for a customizable trading strategy.

Key Features:

  • Customizable Parameters: Users can define the number of consecutive higher and lower closings needed to generate buy and sell signals, providing a tailored approach to trading.
  • Clear Buy and Sell Signals: The indicator plots clear buy and sell signals directly on the chart, making it easy for traders to identify potential entry and exit points.

Usage:

  • Consecutive Higher Closings (Buy Signal): When the current closing price is higher than the previous closing price for the specified number of consecutive periods (as defined by the user), a buy signal will be generated.
  • Consecutive Lower Closings (Sell Signal): When the current closing price is lower than the previous closing price for the specified number of consecutive periods (as defined by the user), a sell signal will be generated.


How to Use:

  1. Apply the Consecutive Higher/Lower Closings indicator to your chart.
  2. Adjust the input parameters, consecutiveHigherClosings and consecutiveLowerClosings, to match your preferred trading strategy. These parameters determine the number of consecutive higher and lower closings needed to trigger signals.
  3. Interpret the buy and sell signals generated by the indicator. When a buy signal is displayed (green triangle up), it suggests a potential entry point. Conversely, a sell signal (red triangle down) indicates a potential exit point.


Important Note:

  • This indicator is designed to assist traders in making informed decisions, but it should be used in conjunction with other technical analysis tools and risk management strategies for a comprehensive trading approach.
  • Kindly be aware that this strategy is most effective with Monster stocks with smooth price action, particularly when analyzing in weekly and/or daily timeframe.


Disclaimer:

Trading involves risk, and past performance does not guarantee future results. Always conduct thorough research and consider your risk tolerance before making trading decisions.
版本注释
Updates:

  • Consecutive Higher/Lower Values: Users can now specify the number of consecutive higher or lower values to trigger buy or sell signals.
  • Value Type Selection: Choose the price type for analysis - Open, High, Low, or Close - using user-friendly checkboxes.

  1. Include Open in Analysis
  2. Include High in Analysis
  3. Include Low in Analysis
  4. Include Close in Analysis

This update offers greater customization, empowering traders to tailor the indicator to their preferred price metrics. Explore various combinations of consecutive values to fine-tune your trading signals.
Candlestick analysisChart patternsreversaltrendanalyisisTrend Analysis

开源脚本

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

想在图表上使用此脚本?


更多:

免责声明