编辑精选
OPEN-SOURCE SCRIPT

ABC on Recursive Zigzag [Trendoscope]

已更新
There are several implementations of ABC pattern in tradingview and pine script. However, we have made this indicator to provide users additional quantifiable information along with flexibility to experiment and develop their own strategy based on the patterns.

🎲 Highlights of this indicator over other ABC implementations are:

  • Implementation is based on recursive multi level zigzag allows bigger as well as smaller patterns to be identified
  • Allows users to set their trading rules with respect to entry, target and stop ratios, experiment and build their own strategy based on the ABC pattern.
  • Back test summary including win ratio and risk reward will help users understand the profitability based on different settings being used.


🎲 Concept of ABC Pattern
The ABC pattern, also known as the "Corrective Wave" or "Zigzag Pattern," is a fundamental concept in Elliott Wave Theory, which is widely used in technical analysis to identify and predict price movements in financial markets.

The ABC pattern is a three-wave corrective pattern that typically occurs within the context of a larger impulse or trending wave. It consists of two smaller waves in the opposite direction (A and C) separated by a corrective wave (B). These waves are labeled alphabetically and represent price movements.

Wave A (Impulse Wave): Wave A is the first leg of the ABC pattern and is characterized by a strong price move in the opposite direction of the prevailing trend. It is often driven by a fundamental or sentiment-driven event that temporarily disrupts the trend.

Wave B (Corrective Wave): Wave B is the corrective wave that follows Wave A. It represents a partial retracement of Wave A's price movement. Wave B can take various forms, such as a simple correction or a complex correction (e.g., a triangle or a flat correction). It typically doesn't retrace the entire length of Wave A.

Wave C (Impulse Wave): Wave C is the final leg of the ABC pattern and is characterized by a strong price move in the same direction as the prevailing trend. It often surpasses the starting point of Wave A and confirms the resumption of the larger trend.

🎲 Indicator Components

Upon loading the indicator on the chart, we can observe the following components on the chart.

  • Pattern Drawings is the graphical representation of present patterns. Please note that it is not necessary for patterns to be there on the chart all the time. Patterns will appear on the chart when price makes the patterns.
  • Trade Box is the box representing trade signals of the pattern. These trade levels are generated based on the user settings.
  • Summary Table is the back test summary containing details of historical pattern performance including Win Ratio and Risk Reward.


快照

🎲 Indicator Settings

Details of each user settings are provided in the tooltips. Below is the snapshot of it.
快照

🎲 Alerts

Basic level of alerts are built in the script using alert function to highlight the following conditions:

  • New ABC Pattern
  • Updates to existing Pattern


Both conditions will alert simple text messages. There is not much customization provided as part of this indicator. We will consider providing more options in future versions based on the interest and demand shown by users.
版本注释
Alerts were missed out in updates. Added them back :)
版本注释
Added more customization options to test
版本注释
Added a condition to suppress pattern if the entry is already breached.
版本注释
Update 2 V6
ABCabcpatternChart patternsHarmonic PatternshewhomustnotbenamedtrendoscopeWave Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明