Harmonic Patterns Library [TradingFinder]🔵 Introduction
Harmonic patterns blend geometric shapes with Fibonacci numbers, making these numbers fundamental to understanding the patterns.
One person who has done a lot of research on harmonic patterns is Scott Carney.Scott Carney's research on harmonic patterns in technical analysis focuses on precise price structures based on Fibonacci ratios to identify market reversals.
Key patterns include the Gartley, Bat, Butterfly, and Crab, each with specific alignment criteria. These patterns help traders anticipate potential market turning points and make informed trading decisions, enhancing the predictability of technical analysis.
🟣 Understanding 5-Point Harmonic Patterns
In the current library version, you can easily draw and customize most XABCD patterns. These patterns often form M or W shapes, or a combination of both. By calculating the Fibonacci ratios between key points, you can estimate potential price movements.
All five-point patterns share a similar structure, differing only in line lengths and Fibonacci ratios. Learning one pattern simplifies understanding others.
🟣 Exploring the Gartley Pattern
The Gartley pattern appears in both bullish (M shape) and bearish (W shape) forms. In the bullish Gartley, point X is below point D, and point A surpasses point C. Point D marks the start of a strong upward trend, making it an optimal point to place a buy order.
The bearish Gartley mirrors the bullish pattern with inverted Fibonacci ratios. In this scenario, point D indicates the start of a significant price drop. Traders can place sell orders at this point and buy at lower prices for profit in two-way markets.
🟣 Analyzing the Butterfly Pattern
The Butterfly pattern also manifests in bullish (M shape) and bearish (W shape) forms. It resembles the Gartley pattern but with point D lower than point X in the bullish version.
The Butterfly pattern involves deeper price corrections than the Gartley, leading to more significant price fluctuations. Point D in the bullish Butterfly indicates the beginning of a sharp price rise, making it an entry point for buy orders.
The bearish Butterfly has inverted Fibonacci ratios, with point D marking the start of a sharp price decline, ideal for sell orders followed by buying at lower prices in two-way markets.
🟣 Insights into the Bat Pattern
The Bat pattern, appearing in bullish (M shape) and bearish (W shape) forms, is one of the most precise harmonic patterns. It closely resembles the Butterfly and Gartley patterns, differing mainly in Fibonacci levels.
The bearish Bat pattern shares the Fibonacci ratios with the bullish Bat, with an inverted structure. Point D in the bearish Bat marks the start of a significant price drop, suitable for sell orders followed by buying at lower prices for profit.
🟣 The Crab Pattern Explained
The Crab pattern, found in both bullish (M shape) and bearish (W shape) forms, is highly favored by analysts. Discovered in 2000, the Crab pattern features a larger final wave correction compared to other harmonic patterns.
The bearish Crab shares Fibonacci ratios with the bullish version but in an inverted form. Point D in the bearish Crab signifies the start of a sharp price decline, making it an ideal point for sell orders followed by buying at lower prices for profitable trades.
🟣 Understanding the Shark Pattern
The Shark pattern appears in bullish (M shape) and bearish (W shape) forms. It differs from previous patterns as point C in the bullish Shark surpasses point A, with unique level measurements.
The bearish Shark pattern mirrors the Fibonacci ratios of the bullish Shark but is inverted. Point D in the bearish Shark indicates the start of a sharp price drop, ideal for placing sell orders and buying at lower prices to capitalize on the pattern.
🟣 The Cypher Pattern Overview
The Cypher pattern is another that appears in both bullish (M shape) and bearish (W shape) forms. It resembles the Shark pattern, with point C in the bullish Cypher extending beyond point A, and point D forming within the XA line.
The bearish Cypher shares the Fibonacci ratios with the bullish Cypher but in an inverted structure. Point D in the bearish Cypher marks the start of a significant price drop, perfect for sell orders followed by buying at lower prices.
🟣 Introducing the Nen-Star Pattern
The Nen-Star pattern appears in both bullish (M shape) and bearish (W shape) forms. In the bullish Nen-Star, point C extends beyond point A, and point D, the final point, forms outside the XA line, making CD the longest wave.
The bearish Nen-Star has inverted Fibonacci ratios, with point D indicating the start of a significant price drop. Traders can place sell orders at point D and buy at lower prices to profit from this pattern in two-way markets.
The 5-point harmonic patterns, commonly referred to as XABCD patterns, are specific geometric price structures identified in financial markets. These patterns are used by traders to predict potential price movements based on historical price data and Fibonacci retracement levels.
Here are the main 5-point harmonic patterns :
Gartley Pattern
Anti-Gartley Pattern
Bat Pattern
Anti-Bat Pattern
Alternate Bat Pattern
Butterfly Pattern
Anti-Butterfly Pattern
Crab Pattern
Anti-Crab Pattern
Deep Crab Pattern
Shark Pattern
Anti- Shark Pattern
Anti Alternate Shark Pattern
Cypher Pattern
Anti-Cypher Pattern
🔵 How to Use
To add "Order Block Refiner Library", you must first add the following code to your script.
import TFlab/Harmonic_Chart_Pattern_Library_TradingFinder/1 as HP
🟣 Parameters
XABCD(Name, Type, Show, Color, LineWidth, LabelSize, ShVF, FLPC, FLPCPeriod, Pivot, ABXAmin, ABXAmax, BCABmin, BCABmax, CDBCmin, CDBCmax, CDXAmin, CDXAmax) =>
Parameters:
Name (string)
Type (string)
Show (bool)
Color (color)
LineWidth (int)
LabelSize (string)
ShVF (bool)
FLPC (bool)
FLPCPeriod (int)
Pivot (int)
ABXAmin (float)
ABXAmax (float)
BCABmin (float)
BCABmax (float)
CDBCmin (float)
CDBCmax (float)
CDXAmin (float)
CDXAmax (float)
🟣 Genaral Parameters
Name : The name of the pattern.
Type: Enter "Bullish" to draw a Bullish pattern and "Bearish" to draw an Bearish pattern.
Show : Enter "true" to display the template and "false" to not display the template.
Color : Enter the desired color to draw the pattern in this parameter.
LineWidth : You can enter the number 1 or numbers higher than one to adjust the thickness of the drawing lines. This number must be an integer and increases with increasing thickness.
LabelSize : You can adjust the size of the labels by using the "size.auto", "size.tiny", "size.smal", "size.normal", "size.large" or "size.huge" entries.
🟣 Logical Parameters
ShVF : If this parameter is on "true" mode, only patterns will be displayed that they have exact format and no noise can be seen in them. If "false" is, the patterns displayed that maybe are noisy and do not exactly correspond to the original pattern.
FLPC : if Turned on, you can see this ability of patterns when their last pivot is formed. If this feature is off, it will see the patterns as soon as they are formed. The advantage of this option being clear is less formation of fielded patterns, and it is accompanied by the lateest pattern seeing and a sharp reduction in reward to risk.
FLPCPeriod : Using this parameter you can determine that the last pivot is based on Pivot period.
Pivot : You need to determine the period of the zigzag indicator. This factor is the most important parameter in pattern recognition.
ABXAmin : Minimum retracement of "AB" line compared to "XA" line.
ABXAmax : Maximum retracement of "AB" line compared to "XA" line.
BCABmin : Minimum retracement of "BC" line compared to "AB" line.
BCABmax : Maximum retracement of "BC" line compared to "AB" line.
CDBCmin : Minimum retracement of "CD" line compared to "BC" line.
CDBCmax : Maximum retracement of "CD" line compared to "BC" line.
CDXAmin : Minimum retracement of "CD" line compared to "XA" line.
CDXAmax : Maximum retracement of "CD" line compared to "XA" line.
🟣 Function Outputs
This library has two outputs. The first output is related to the alert of the formation of a new pattern. And the second output is related to the formation of the candlestick pattern and you can draw it using the "plotshape" tool.
Candle Confirmation Logic :
Example :
import TFlab/Harmonic_Chart_Pattern_Library_TradingFinder/1 as HP
PP = input.int(3, 'ZigZag Pivot Period')
ShowBull = input.bool(true, 'Show Bullish Pattern')
ShowBear = input.bool(true, 'Show Bearish Pattern')
ColorBull = input.color(#0609bb, 'Color Bullish Pattern')
ColorBear = input.color(#0609bb, 'Color Bearish Pattern')
LineWidth = input.int(1 , 'Width Line')
LabelSize = input.string(size.small , 'Label size' , options = )
ShVF = input.bool(false , 'Show Valid Format')
FLPC = input.bool(false , 'Show Formation Last Pivot Confirm')
FLPCPeriod =input.int(2, 'Period of Formation Last Pivot')
//Call function
= HP.XABCD('Bullish Bat', 'Bullish', ShowBull, ColorBull , LineWidth, LabelSize ,ShVF, FLPC, FLPCPeriod, PP, 0.382, 0.50, 0.382, 0.886, 1.618, 2.618, 0.85, 0.9)
= HP.XABCD('Bearish Bat', 'Bearish', ShowBear, ColorBear , LineWidth, LabelSize ,ShVF, FLPC, FLPCPeriod, PP, 0.382, 0.50, 0.382, 0.886, 1.618, 2.618, 0.85, 0.9)
//Alert
if BearAlert
alert('Bearish Harmonic')
if BullAlert
alert('Bulish Harmonic')
//CandleStick Confirm
plotshape(BearCandleConfirm, style = shape.arrowdown, color = color.red)
plotshape(BullCandleConfirm, style = shape.arrowup, color = color.green, location = location.belowbar )
Harmonictraders
Harmonic Patterns ScannerHello Traders!
The Harmonic Patterns Scanner takes the time-consuming search for harmonic patterns completely off your hands. This indicator utilizes a unique swing-based pattern recognition to pinpoint 14 different bullish and bearish harmonic patterns in real-time with unparalleled precision.
The Harmonic Patterns Scanner is designed to operate in a fully automated manner, detecting harmonic patterns in real-time across the symbol and timeframe that you select. It grants you the ability to simultaneously scan for patterns across as many as 20 distinct symbols.
Pattern List (each pattern has a bullish and a bearish version)
Gartley
Bat
Butterfly
Crab
Cypher
Shark
5-0
Feature List
Automatic real-time pattern detection
7 different built-in breakout conditions
Breakout alerts
Customizable pattern size and accuracy
Customizable look and feel
The value of this indicator is to support traders to easily identify harmonic patterns. The trader saves a lot of time scanning the markets for harmonic patterns, since finding the pattern and alerting for a breakout is done automatically for the trader.
For a visualization of the detected patterns, you can add the TRN Harmonic Patterns Suite indicator to your chart.
How does TRN Harmonics Scanner work?
On the right side of the chart, you can find a table displaying the symbols monitored by our scanner for pattern and breakout detection. The table is divided into bullish and bearish patterns and provides information on the status of each symbol.
UP – Upside Breakout
DN – Downside Breakout
UP CONF – Upside Breakout confirmed
DN CONF – Downside Breakout confirmed
FAILED – Pattern failed to get confirmed
If a pattern is in the making or already got confirmed, the scanner displays the name of the harmonic pattern in the table.
The scanner operates specifically on the timeframe you have selected in TradingView, ensuring that the detected patterns and breakouts align precisely with your trading perspective. If the scanner displays a pattern or a breakout, you just can switch to this instrument and start trading it if you like what you see.
Follow these instructions to discover how you can utilize the scanner for seamless and simplified chart pattern detection like never before:
Add Symbols
Go to indicator settings and scroll down to the "Symbols" section. The enabled symbols can be recognized by the check marks. Click on one of them and use the search function to add the symbol of your choice to the scanner. You can search for up to 20 different symbols at the same time.
Use Alerts (Optional but Recommended)
You can also use the built-in alerts to easily get notified when a pattern occurs. In the indicator settings in the "Alerts" section you can choose whether you want to get notified when a pattern is
1. in the making (Pattern active),
2. confirms an up breakout (B/O Up Confirmed)
3. confirms a down breakout (B/O Down Confirmed)
4. (Unconfirmed) in case a pattern breakout occurs, even if the pattern is not yet confirmed
This allows you to stay informed about potential breakout opportunities.
Customization and settings
The indicator can scan for smaller and larger patterns. Adjust the harmonics size in the indicator settings to align them with your preferences. A larger size results in larger patterns. Depending on the asset class, the market or the market phase, different sizes can be used for pattern detection.
To detect more patterns, increase the tolerance level, even though it may result in lower accuracy. However, be mindful that a higher tolerance level may result in more patterns hitting their stop-loss.
Breakout Conditions
Identifying breakout conditions is paramount for successfully profiting on chart patterns. Trading tools equipped with diverse breakout conditions offer traders a comprehensive approach to deciphering market trends and making informed decisions.
This section delves into the set of breakout conditions built within the Harmonic Pattern Scanner, exploring their functionalities, applications, and the benefits they provide in the realm of chart pattern recognition.
TRN Bars Signal + Trend
The Harmonic Pattern Scanner includes also the TRN Bars algorithm. It is designed to spot bullish and bearish trends and reversals. The trend analysis is based on a new algorithm that weights several different inputs:
1. classical and advanced bar patterns and their statistical frequency
2. probability distributions of price expansions after certain bar patterns
3. bar information such as wick length in %, overlapping of the previous bar in % and many more
4. historical trend and consolidation analysis
If you use this breakout condition, the breakout is determined by the next signal (reversal, continuation, breakout) or trend change of the TRN bars after one of the harmonic patterns has been completed. These Breakout conditions give you the accurate trend recognition of the TRN Bars to find the perfect entry.
TRN Bars Signal
If a harmonic pattern gets completed and you use this breakout condition, the breakout will be determined by the next confirmed signal (reversal, continuation, breakout) of the TRN Bars. These Breakout Condition delivers signals with reenforced reliability, but they occur not as often as other breakout conditions.
RSI Crossing
With this breakout condition, a breakout for a long position gets determined, when the RSI line crosses above the RSI moving average (MA) after one of the harmonic patterns has been completed. A bearish breakout after a completed harmonic pattern gets determined, when the RSI line crosses below the RSI MA.
You can choose your preferred RSI and MA length in the indicator settings under the “Trade Management” section.
MACD Crossing
If a harmonic pattern gets completed and you use this breakout condition, the breakout gets determined, when the MACD line crosses above the signal line (bullish MACD crossover) for a bullish breakout. Conversely, when the MACD line crosses below the signal line (bearish MACD crossover), a bearish breakout gets determined after a harmonic pattern was completed.
You can choose your preferred MACD length in the indicator settings under the “Trade Management” section.
Swing Flip
Use this breakout condition, if you want a breakout to get determined when the next swing after point D gets detected by the build in swing detection algorithm of TRN Harmonics.
Close Below/Above Last 2 Lows/Highs
With this breakout condition, a breakout for a short position gets determined, if a close below the lows of the last 2 bars gets detected. For a long position, the breakout gets determined if a close above the highs of the last 2 bars gets detected.
Close Below/Above Last 3 Lows/Highs
In this scenario, a short position breakout is confirmed if the price closes below the lows of the previous 3 bars. Conversely, a long position breakout is confirmed if the price closes above the highs of the last 3 bars.
How To Setup Breakout Conditions
Go to indicator settings and choose one of our built-in breakout conditions under the section "Trade Management" of the menu item "Inputs", like for example TRN Bars Signal + Trend. A selection of 7 distinct breakout conditions is at your disposal.
Computation Details
The real-time detection of the harmonic patterns utilizes a unique swing-based pattern recognition. The difference to other swing-based computations is that the pivot points are identified without a look-ahead value. The result is a faster and better real-time detection. The tolerance level unites several internal parameters into one and results in a user-friendly setting.
Risk Disclaimer
The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.
Harmonic Patterns SuiteHello Traders!
This indicator takes the time-consuming search for harmonic patterns completely off your hands. TRN Harmonics utilizes a unique swing-based pattern recognition to pinpoint 14 different harmonic patterns in real-time with unparalleled precision.
Pattern List (each pattern has a bullish and a bearish version)
Gartley
Bat
Butterfly
Crab
Cypher
Shark
5-0
Feature List
Real-time harmonic pattern detection
7 different built-in breakout conditions
Visualization of entry, stop-loss and take-profit levels
Pattern performance statistics
Calculation of risk-rewards ratio
Risk Management
Breakout alerts
Customizable pattern size and accuracy
Customizable look and feel
The value of this indicator is to support traders to easily identify harmonic patterns in an automated way. The special swing-based pattern recognition and the numerous built-in premium features make this indicator unique. The trader saves a lot of time scanning the markets for harmonic patterns, since everything is done automatically for the trader: Finding the pattern, looking and alerting for a breakout, computing the entry, stop loss and take profit levels as well as handling the risk management and computing the optimal order quantity.
How to Trade with the Harmonic Patterns Suite
Identify the Pattern
Add the Harmonic Patterns Suite to your chart and look for patterns on the asset and timeframe of your choice. The patterns are detected in real-time. If a pattern develops further in the next bars, then the indicator updates the pattern accordingly until a breakout is confirmed or the pattern becomes invalid.
You can also use the built-in alerts to easily get notified when a pattern occurs. In the indicator settings in the "Alerts" section you can choose whether you want to get notified when a pattern is
1. in the making (Pattern active),
2. confirms an up breakout (B/O Up Confirmed)
3. confirms a down breakout (B/O Down Confirmed)
4. (Unconfirmed) in case a pattern breakout occurs, even if the pattern is not yet confirmed
This allows you to stay informed about potential breakout opportunities that are still awaiting confirmation.
Check Pattern Statistics
The pattern statistics make it easy for you to see how successful a pattern is on the asset and timeframe you are watching. You should always check the statistics before entering a trade. The chart displays the statistics in the upper right corner. These statistics are categorized into two sections: "long" for patterns with an upward breakout and "short" for patterns with a downward breakout.
In the initial columns, labeled as "short" and "long", the identified breakouts are further divided based on the different harmonic patterns. The following columns represent the count of the events:
1. Occ. (Occurrence) categorized according to the values of R from the first column
2. TP1, TP2 (Take Profit) - targets 1 und 2
3. SL (Stop Loss)
4. T/O (Time Out) - neither stop loss or targets where hit in a certain amount of time
Breakout – Entry, Stop Loss and Targets
The indicator automatically displays the entry price line (EP) in grey at the point where the breakout got detected. Once a breakout has been confirmed, place a buy order near the EP level for a long position, or a sell order for a short position. Set your stop-loss at the price level of the red stop-loss line (SL) and set your take-profits at the price level of the green take-profit-lines (TP1, TP2).
Risk Management
The Harmonic Patterns Suite comes with a built-in risk management feature. Just go to the settings and scroll down to the section "Risk Management". Here you can enter your Account Size and the percentage you want to Risk when you enter a position after a pattern breakout.
In the "Trade Management" section, you have the option to define the minimum accepted risk-reward ratio for confirmed harmonic patterns. This means that breakouts of patterns failing to meet the minimum risk-reward ratio will not be considered as confirmed signals. If a breakout gets confirmed, the indicator automatically calculates the position size (Quantity). You can read the quantity from the gray entry point line (EP), which is located to the right of the risk-reward ratio (R). Note that your risk-reward ratio (R) is calculated based on TP1.
Customization and settings
The indicator can scan for smaller and larger patterns at the same time. Adjust the harmonics size in the indicator settings to align them with your preferences. A larger size results in larger consolidations. Depending on the asset class, the market or the market phase, different sizes can be used for pattern detection.
To detect more patterns, increase the tolerance level, even though it may result in lower accuracy. However, be mindful that a higher tolerance level may result in more patterns hitting their stop-loss. Look for a tolerance level that leads to favorable statistics and focus on trading patterns with a proven performance history.
Finally, you have the flexibility to customize various visual elements, such as the color of the pattern and whether to display values like price, target, or risk-reward ratio on your chart. You can also choose where these values appear.
Breakout Conditions
Identifying breakout conditions is paramount for successfully recognizing and capitalizing on chart patterns. Trading tools equipped with diverse breakout conditions offer traders a comprehensive approach to deciphering market trends and making informed decisions.
This section delves into the set of breakout conditions built within TRN Harmonics, exploring their functionalities, applications, and the benefits they provide in the realm of chart pattern recognition.
TRN Bars Signal + Trend
The Harmonics Pattern Suite includes also the TRN Bars algorithm. It is designed to spot bullish and bearish trends and reversals. The trend analysis is based on a new algorithm that weights several different inputs:
1. classical and advanced bar patterns and their statistical frequency
2. probability distributions of price expansions after certain bar patterns
3. bar information such as wick length in %, overlapping of the previous bar in % and many more
4. historical trend and consolidation analysis
If you use this breakout condition, the breakout is determined by the next signal (reversal, continuation, breakout) or trend change of the TRN bars after one of the harmonic patterns has been completed. These Breakout conditions give you the accurate trend recognition of the TRN Bars to find the perfect entry.
TRN Bars Signal
If a harmonic pattern gets completed and you use this breakout condition, the breakout will be determined by the next confirmed signal (reversal, continuation, breakout) of the TRN Bars. These Breakout Condition delivers signals with reenforced reliability, but they occur not as often as other breakout conditions.
RSI Crossing
With this breakout condition, a breakout for a long position gets determined, when the RSI line crosses above the RSI moving average (MA) after one of the harmonic patterns has been completed. A bearish breakout after a completed harmonic pattern gets determined, when the RSI line crosses below the RSI MA.
You can choose your preferred RSI and MA length in the indicator settings under the “Trade Management” section.
MACD Crossing
If a harmonic pattern gets completed and you use this breakout condition, the breakout gets determined, when the MACD line crosses above the signal line (bullish MACD crossover) for a bullish breakout. Conversely, when the MACD line crosses below the signal line (bearish MACD crossover), a bearish breakout gets determined after a harmonic pattern was completed.
You can choose your preferred MACD length in the indicator settings under the “Trade Management” section.
Swing Flip
Use this breakout condition, if you want a breakout to get determined when the next swing after point D gets detected by the build in swing detection algorithm of TRN Harmonics.
Close Below/Above Last 2 Lows/Highs
With this breakout condition, a breakout for a short position gets determined, if a close below the lows of the last 2 bars gets detected. For a long position, the breakout gets determined if a close above the highs of the last 2 bars gets detected.
Close Below/Above Last 3 Lows/Highs
In this scenario, a short position breakout is confirmed if the price closes below the lows of the previous 3 bars. Conversely, a long position breakout is confirmed if the price closes above the highs of the last 3 bars.
How To Setup Breakout Conditions
Go to indicator settings and choose one of our built-in breakout conditions under the section "Trade Management" of the menu item "Inputs", like for example TRN Bars Signal + Trend. A selection of 7 distinct breakout conditions is at your disposal.
If you use the default settings of the Harmonic Patterns Suite, TRN Bars Signal + Trend will be the breakout condition for the detected harmonic patterns.
Computation Details
The real-time detection of the harmonic patterns utilizes a unique swing-based pattern recognition. The difference to other swing-based computations is that the pivot points are identified without a look-ahead value. The result is a faster and better real-time detection. Furthermore, the detection of the ratios between the single swings is based on a dynamic volatility measurement similar to the ATR. The tolerance level unites several internal parameters into one and results in a user-friendly setting.
Risk Disclaimer
The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.
Smart Money Setup 04 [TradingFinder] Three Drive (Harmonic) + OB🔵 Introduction
The "Three Drive" pattern is a well-known formation in technical analysis, recognized for its ability to signal potential trend reversals in price action. Within the realm of trading, particularly in the context of "Reversal Patterns," the Three Drive pattern holds significance as a reliable indicator of shifts in market sentiment.
🟣 Bullish 3 Drive
This pattern typically manifests at a price bottom, where a sequence of lower lows suggests a prevailing negative trend. However, within the structure of the Three Drive pattern, a notable occurrence unfolds.
The second low breaches the range of the first low, followed by the third low surpassing the range of the second low. These penetrations signify a diminishing selling pressure and an emerging buying interest.
Traders often await the confirmation of the third low surpassing the second low as an entry point, with price targets set at the highs formed within the Three Drive pattern.
🟣 Bearish 3 Drive
Conversely, the Bearish Three Drive pattern emerges at a price top, characterized by a sequence of higher highs indicating an upward trend. Yet, amidst this apparent bullish momentum, a shift occurs.
The second high breaks beyond the range of the first high, succeeded by the third high exceeding the range of the second high. These breaches signify a waning buying strength and a resurgence in selling pressure.
Entry into a trade is often executed after the confirmation of the third high surpassing the second high, with targets set at the lows formed within the Three Drive pattern.
Importance :
Understanding the Three Drive pattern's significance extends beyond mere technical analysis. It bears resemblance to other established patterns, such as the Harmonic Pattern and Ending Diagonal within the Elliott Wave Theory.
Recognizing these parallels aids traders in comprehending broader market dynamics and potential price movements.
🔵 Formation of 3 Drive in Order Block Zone
The convergence of the Three Drive pattern with the concept of the Order Block Zone introduces a nuanced layer to traders' analytical approach.
In "Price Action" methodology, Order Blocks represent areas on the price chart where significant market players, such as institutional traders, have executed notable orders.
These zones often act as barriers, with price encountering resistance or support upon reaching them.
When the Three Drive pattern forms within an Order Block Zone, it signifies a confluence of market dynamics.
The completion of the pattern within this zone suggests a potential reversal in the prevailing trend, augmented by the presence of significant institutional orders.
Traders incorporate these Order Blocks into their analysis to identify probable levels where price may change direction, enhancing the reliability of their trading decisions.
🔵 How to Use :
To effectively utilize the Three Drive pattern within the Order Block Zone, traders seek alignment between the completion of the pattern and the presence of significant Order Blocks.
This convergence enhances the reliability of the pattern's signals, increasing the likelihood of successful trade outcomes.
Bullish Three Drive in Demand Zone :
Bearish Three Drive in Supply Zone :
Settings :
You can set your desired "Pivot Period" via settings for the indicator to identify setups based on it.
Three Drive [TradingFinder] 3 Drive Harmonic Pattern Indicator🔵 Introduction
The "Three Drive" pattern is one of the light "RTM" setups suitable for identifying price trend reversals. For this reason, this pattern is considered one of the "Reversal Patterns."
🟣 Bullish 3 Drive
At a price bottom, a formation occurs where the negative trend appears to continue, and lower lows are made.
However, the second low penetrates the range of the first low, and the third low penetrates the range of the second low, indicating a decrease in selling pressure and an increase in buying pressure.
Entry point is issued after the penetration of the third low to the second low, and targets are the highs formed in the "3 Drive."
🟣 Bearish 3 Drive
At a price top, a formation occurs where the positive trend appears to continue, and higher highs are made.
However, the second high penetrates the range of the first high, and the third high penetrates the range of the second high, indicating a decrease in buyers' strength and an increase in sellers' strength.
Entry point is issued after the penetration of the third high to the second high, and targets are the lows formed in the "3 Drive."
Importance :
This pattern bears a striking resemblance to the some of "Harmonic Pattern" and "Ending Diagonal" in the "Elliott Pattern".
🔵 How to Use
There is no need for further confirmation to use this pattern, and you can use it as soon as the pattern forms. However, to reduce errors, it is better to use this pattern when it forms within a "Supply and Demand" or "Support and Resistance" structure.
Bullish 3 Drive in Demand Zone :
Bearish 3 Drive in Supply Zone :
🔵 Settings
You can set your desired "Pivot Period" via settings for the indicator to identify setups based on it.
DEMO - FxCanli Harmonic SniperEN - TradingView FxCanli HARMONIC SNIPER indicator can draw 9 different patterns on your charts and also give alerts when any pattern triggered, hit Stop and TP levels.
DEMO VERSION of Harmonic Sniper works on only GBPNZD and XRPUSDT charts
TR - TradingView FxCanlı HARMONIC SNIPER İndikatörü , grafiklerinizde 9 ayrı formasyonu çizer ve Formasyon aktif olduğunda ve Hedef / Stop seviyelerine ulaştığında alarm verir.
Harmonic Sniper DEMO VERSİYONU sadece GBPNZD ve XRPUSDT grafiklerinde çalışır
PATTERNS / FORMASYONLAR
* Gartley
* Bat
* Butterfly
* Crab
* Cypher
* AB=CD
* Libra
* PRJ
* 2618
FEATURES & EXAMPLES / ÖZELLİKLER & ÖRNEKLER
**************************************************************
Multi Language / Çok Dil
EN - You can get alerts in English or Turkish language
TR - Alarmları İngilizce veya Türkçe olarak alabilirsiniz.
Wave Type / Dalga Tipi
EN - You can choose the wave types, Small or Medium or Small+Medium
TR- Dalga tipini seçebilirsiniz. Small veya Medium veya Small+Medium
Pattern Number / Formasyon Sayısı
EN - As a default it shows one Bullish and one Bearish pattern , you can set it 2 or more and also you may just want it to show just Bullish or Bearish Patterns
TR - Varsayılan olarak bir Boğa ve bir Ayı formasyonu gösterir, 2 veya daha fazla olarak da ayarlayabilirsiniz ve ayrıca sadece Boğa veya Ayı Formasyonu göstermesini isteyebilirsiniz.
Pattern and Trade Levels Settings / Formasyon ve İşlem Seviyeleri Ayarları
EN - You can set size, color, line type of any trade levels. Also you can choose to show the name and price of the patterns and trade levels.
TR - Herhangi bir işlem seviyesinin boyutunu, rengini, çizgi türünü belirleyebilirsiniz. Ayrıca Formasyonların ve işlem seviyelerinin adını ve fiyatını göstermeyi seçebilirsiniz.
Backtest / Geriye Dönük Test
EN - You can make backtest of any pattern
TR - Herhangi bir formasyonun geriye dönük testini yapabilirsiniz
Gartley Pattern/Formasyonu
Bat Pattern/Formasyonu
Butterfly Pattern/Formasyonu
Cypher Pattern/Formasyonu
Crab Pattern/Formasyonu
AB=CD Pattern/Formasyonu
PRJ Pattern/Formasyonu
2618 Pattern/Formasyonu
Libra Pattern/Formasyonu
FxCanli Harmonic SniperEN - TradingView FxCanli HARMONIC SNIPER indicator can draw 9 different patterns on your charts and also give alerts when any pattern triggered, hit Stop and TP levels.
TR - TradingView FxCanlı HARMONIC SNIPER İndikatörü , grafiklerinizde 9 ayrı formasyonu çizer ve Formasyon aktif olduğunda ve Hedef / Stop seviyelerine ulaştığında alarm verir.
PATTERNS / FORMASYONLAR
* Gartley
* Bat
* Butterfly
* Crab
* Cypher
* AB=CD
* Libra
* PRJ
* 2618
FEATURES & EXAMPLES / ÖZELLİKLER & ÖRNEKLER
**************************************************************
Multi Language / Çok Dil
EN - You can get alerts in English or Turkish language
TR - Alarmları İngilizce veya Türkçe olarak alabilirsiniz.
Wave Type / Dalga Tipi
EN - You can choose the wave types, Small or Medium or Small+Medium
TR- Dalga tipini seçebilirsiniz. Small veya Medium veya Small+Medium
Pattern Number / Formasyon Sayısı
EN - As a default it shows one Bullish and one Bearish pattern, you can set it 2 or more and also you may just want it to show just Bullish or Bearish Patterns
TR - Varsayılan olarak bir Boğa ve bir Ayı formasyonu gösterir, 2 veya daha fazla olarak da ayarlayabilirsiniz ve ayrıca sadece Boğa veya Ayı Formasyonu göstermesini isteyebilirsiniz.
Pattern and Trade Levels Settings / Formasyon ve İşlem Seviyeleri Ayarları
EN - You can set size, color, line type of any trade levels. Also you can choose to show the name and price of the patterns and trade levels.
TR - Herhangi bir işlem seviyesinin boyutunu, rengini, çizgi türünü belirleyebilirsiniz. Ayrıca Formasyonların ve işlem seviyelerinin adını ve fiyatını göstermeyi seçebilirsiniz.
Backtest / Geriye Dönük Test
EN - You can make backtest of any pattern
TR - Herhangi bir formasyonun geriye dönük testini yapabilirsiniz
Auto Harmonic Patterns Indicator [Premium]
This indicator automatically detects and draws harmonic patterns.
For each Fibonacci ratio in Scott Carney's basic harmonic pattern, you can easily find it by Googling.
Here, we have added a certain allowable range to point b of the xabcd type patterns as shown below.
- Deep Crab : 0.886 + 5% (no minus range)
- Alternate Bat : 0.382 - 3% (no plus range)
- Gartley, Butterfly : +- 3%
- rest patterns : +- 5%
You can set up to 8 ranges per period. Depending on your strategy, you can set the period from short-term to medium-term and long-term as desired.
When an expected harmonic pattern is detected, a model is drawn up to point c, and the predicted position of the potential reversal zone (PRZ) with the possibility of point d in the future is marked.
Investors can see price movements to prz in advance and prepare to react.
If a completed pattern is detected up to point d, it draws a pattern and additionally draws the Fibonacci retracement ratio at point d.
Investors can look at the Fibonacci ratio to determine stop-loss and profit-loss points.
Other fixes
Reinforcement of PRZ(d) zone marking
Real-time position adjustment of the PRZ(d) zone according to the current trend
Fibonacci retracement displayed when zone PRZ(d) is achieved
Change settings panel UI
Error rate scoping
Keep past patterns setting
Added Fibonacci line length setting function
Set the error rate separately for each point : 1~10%
Total 18 Patterns
- Gartley
- Deep Gartley
- Crab
- Deep Crab
- Bat
- Alternate Bat
- Butterfly
- Shark
- Cypher
- Three Drives
- 5 - 0
- Nen Star
- Dragon
- White Swan
- Black Swan
- ABCD classic
- AB=CD
- ABCD extension
Auto Harmonic Patterns Indicator
Reinforcement of PRZ(d) zone marking
Current trend line
Real-time position adjustment of the PRZ(d) zone according to the current trend
Fibonacci retracement displayed when zone PRZ(d) is achieved
Code refactorings
Correction of previous highs and previous lows of the trend line finding PRZ
Separation of completed harmonic model and expected harmonic model logic
Add XAD ratio label
Error rate default of 1% applied
Harmonic Pattern Detection [LuxAlgo]Harmonic patterns make up a major part of the many patterns traders use to make investment decisions. The following tool aims to automatically categorize which XABCD harmonic pattern is highlighted by the user and to alert when the price reaches the PRZ or D point.
The tool can categorize Bat, Gartley, Butterfly, and Crab patterns.
Settings
XA Precision: The Gartley and Butterfly patterns require precise ratios for the XA segment, this setting allows giving some headroom for the detection of these patterns. For example, the Gartley pattern requires a ratio for the XA segment of 0.618, using an XA precision of 0.01 will allow the segment to be considered correct if above 0.608 and under 0.628.
Bullish: Color of a bullish pattern
Bearish: Color of a bearish pattern
The X, A, B, C, D settings determine the location of the harmonic pattern vertices. The user does not need to change them from the settings, instead only requiring adjusting their location on the chart like with a regular drawing tool. Setting these vertices is required when adding the indicator to your chart.
Usage
Upon setting the harmonic pattern vertices, the segments, as well as each ratio and PRZ, will be displayed. A dashboard in the top right displays which harmonic pattern has been detected.
Detected bearish crab pattern on BTCUSD15.
Bullish butterfly pattern on MATICUSD15. It is important not to use an XA precision value that would return overlapping ranges between the Gartley/Harmonic and other patterns. Using the default value is recommended.
The upper limit of the PRZ is determined as vertex D plus 38.2% of segment DX, while the lower limit is the vertex D minus 38.2% of segment DX. Various methods exist for the determination of the PRZ, this one is general but the user can use one proper to the detected harmonic pattern.
Finally hovering on the label highlighting the segment ratios return the proper ratio used by each harmonic pattern for that precise segment.
Harmonic Patterns ProHello All,
We need to make things better & better to solve the puzzle and I try to do my best on this way for the community. now I am here with my Harmonic Patterns Pro script.
Harmonic Pattern recognition is the basic and primary ability any trader develops in technical analysis. Harmonic pattern recognition takes extensive practice and repetitive exposure. in general chart patterns are categorized into “continuous” and “reversal” patterns. Harmonic patterns construct geometric pattern structures using Fibonacci sequences. These harmonic structures identified as specified harmonic patterns provide unique opportunities for traders, such as potential price movements and key turning or trend reversal points. This script is developed to find following patterns by using the options you set. I have to say that this is not a strategy and you should not use this script blindly, instead, I strongly recommend you to create your own strategy using this script with other tools/indicators, such moving averages, Support/Resistance levels, volume indicators, sentiment indicators etc.
- Following Harmonic Patterns are available in this version:
-->Gartley
-->Butterfly
-->Bat
-->Crab
-->Shark
-->Cypher
-->Alternate Bat
-->Deep Crab
-->5-0
-->3-Drive
-->AB=CD
-->Descending Triangle
-->Ascending Triangle
-->Symmetrical Triangle
-->Double Top
-->Double Bottom
How the script works and finds harmonic patterns:
- It uses zigzag like other harmonic pattern script but there is a difference. this scripts searches up to 200 bars, finds/creates up to 200 XABCD using zigzag waves and searches predefined harmonic patterns
- It can find multiple harmonic patterns on a candles with different sizes and lengths
- Each pattern is shown using its own color (you can set 8 different colors)
- it shows Entry, Target1, Target2 and Stop-loss levels for each found Patterns
- It shows pattern validation zones for each found pattern
- it has all-in-one alerts. you set the alerts you want in the indicator options and you create only 1 alert for each symbol.
- it has prediction future and it can show many predicted patterns at the same time, each predicted patterns validations zones are shown separately
- While on real-time bar it searches and shows patterns for the visible area
it has followng alerts: . these in all-in-one alerts. it means that you choose the alerts in the options and enables any of them and then create only one for each symbol. and you get eany alert you choose. (" Any alert() function call "). in this version "Any alert() function call" alert is only alert you can use, if I get some requests I can try to other alerts as well.
New Pattern Found
Pattern Updated
Entered Position
Reached Target
Stop-loss
Validation zone is calculated using XABC points any pattern by using Y-Axis error rate. so if you increase Y-Axis error rate then the script can find much more Harmonic patterns.
X-Axis Error Rate is used for a few pattern such AB=CD for the distance of AB wave and CD wave.
The script can show Recommended Entry, Target 1, Target 2 and stop-loss levels for each active patterns. of course you can use these levels or you can set your own levels. you can see the screenshot below.
The script can show statistics panel. when statistic panel is enabled then no pattern is shown on the chart, the script shows ONLY statistics panel. This was done because of complexity of the script.
If you enables Prediction then pattern checks all possible XABC formations in the last 200 bars and finds/shows predicted patterns if there is any.
if you "replaying" then the script searches patterns only for last bar (if any update on zigzag on last bar), not for historical ones. you should take care while you use "Replay" feature of Tradingview
Now lets see the options:
Minimum ZigZag Period: this is minimum Zigzag Period to create new Zigzag wave. default value is 10 and minimum value is 4
Y-Axis Error Rate %: this is the error rate to create validation zones for each pattern, there is almost no perfect pattern, so we try to create a zone using error rate
X-Axis Error Rate % : this is used for a few pattern (such AB=CD) to check wave lengths on time basis
Minimum Pattern Length: This is Minimum Length for the Patterns to be searched. in Number of Bars
Maximum Pattern Length : This is Maximum Lengths for the Patterns to be searched. in Number of Bars
Max Number of XABCD to search: Maximum Number of ABCD to search pattern on each move, there are many possible XABCDs on the chart, this limitation is the number for how many of them will be searched
Find Patterns for: is the option about taking position. there are three options: "Long and Short", "Only Long", "Only Short"
Max Patterns on Each Bar: Maximum Number of Patterns that can be found on each bar, by default it's 3
Keep Pattern Until: you have two option "Target1" and "Target2". when a pattern found and if it reach any of these targets it is accepted as it's reached target and removed. this is also used inthe statictics panel!
Show Recommended Entries & Targets: if enabled then the script can show "Recommended" Entry, target1, target2 and stop-loss leves. you can use these levels or you can use your own calculation for each pattern
Entry = % of Target 2 : Entry Level for each pattern is calculated using the distance between D positon of the pattern and target 2. by default it's 16%, you can set it as you wish
Entry&Target Line Style: you can set line style for entry/target/stop-loss levels
Show Pattern Validation Zones: as explained above, for each pattern validation zone is created using error rate (Y-axis error rate). you can see it for each pattern
Source for Invalidation: this source is used for validation zones. there is two options: Close or High/Low. this source is used while invalidated the pattern. by default it used "close" price as source
Line Style: this is line style for validation zones, solid, dashed or dotted
Pattern Prediction/Possible Patterns: if you enable this option then the script calculates/searches possbile patterns and shows their levels in a label if there is one or more
Show Label & Zone: this is about how you want to see predictions, there are two choices: "Show Only Label", "Show Label & Zone"
Show Statistics Panel : if you enable this option then the script starts searching all harmonic patterns from the first bar for the last bar and keeps statistics for all of them and the shows in a table. you can see screenshot below
Panel Position: you can set panel location of statistics panel using this option
Show Rates Between Waves: if you enable this option then rate between the waves are shown. by default it's enabled
Keep Last Pattern on the Chart : if you enable this option then even if pattern is invalidated/reach target/stop-loss it stays on the chart until new pattern is found. by default it's enabled
Line Style : line style for the last pattern on the chart
Patterns to Search: you have options to enable/disable the patterns listed above to find&show, you can enable/disable any pattern in the list. by default all patterns are enabled except AB=CD pattern
in the ALERTS menu you have many options to enable/disable the alerts you want. Alerts contain Symbol name, Pattern name, Direction as Long/Short, Recommended Entry, Targets, SL levels.
- New Pattern Found
- Pattern Updated
- Entered Position
- Reached Target
- Stop-loss
Show Zig Zag: if you want to see Zig Zag then you should enable this option, and you can set the colors for the Zig zag. by default it's disabled.
and some other options for coloring and line styles of the patterns..
This is how XABCD points found using zigzag waves, I tried to explain it in the video below:
Validation zones and Entry, Target1, Target2 and Stop-loss levels:
Each pattern has its own color, you can see which levels, letters, lines etc belongs to which pattern:
Pattern prediction: you can enable it and change its background color:
How Statistics panel looks like. if there is active pattern then it's shown in different color in the table
This screenshot shows how the script finds and shows multiple patterns on a candle:
And some examples for triangles and Double top/bottom patterns:
Symmetrical triangle:
Ascending triangle:
Double bottom
and many others..
While using different time frames the script can find same patterns, in the following screenshots you can see how same patterns found on 5 and 10 min chart. of course this depends on the Zigzag Period
in this video, the idea and the indicator options is explained:
I can say that this is very complex script and it takes very long time to develop. I used my all programming ability and Pine ability to develop it. I hope you like it and make a lot of profit.
DISCLAIMER: No sharing, copying, reselling, modifying, or any other forms of use are authorized for the documents, script / strategy, and the information published with them. This informational planning script / strategy is strictly for individual use and educational purposes only. This is not financial or investment advice. Investments are always made at your own risk and are based on your personal judgement. I am not responsible for any losses you may incur. Please invest wisely.
Enjoy!
Ultimate Pattern ScannerThis is a automatic scanner for well know patterns like Head and Shoulder to get started. I'm planning to add more patterns in the near future. It works as follows:
1. Is going to plot the pattern on the chart, lines in blue
2. Is going to show you the long entry or short entry bar, red or green triangles
3. It is possible to get an alert when there is a potential long or short entry depending on the pattern
For example: is going to give a possible entry when the price has broken the trend line of the two shoulders if we take the Head and Shoulder pattern as an example.
Please let me know in the comments if you would like to have more patterns.
======================================================
I have planned the release of a pro version with all the well know patterns for invite only users. Patterns like:
- All the harmonic patterns
- Triangles
- Elliot Waves impulses
- Double Top and Bottom
- Triple top and bottom
- Rising and Falling Wedge
- The cup and the handle, etc
- ABCD pattern
Let me know in the comments if you would be interested in something like this please. I'll appreciate your feedback.
thanks!
BORSACA HARMONIC PATTERNS AND WOLFE WAVESAUTO DRAW HARMONIC HARMONIC FORMATIONS
BAT
GARTLEY
BUTTERFLY
WOLFE ETC.
BORSACA TARGET FORECASTING MODULE
NEXT GENERATION TECHNICAL ANALYSIS
SIMPLE DIVERGENCESimple Divergence Indicator built specifically for the Quick-Fire Strategy, but can be used to compliment any strategy and/or timeframe. Please learn what divergence is and how to chart on your own before using. Thank you.