Flags and Pennants [Trendoscope®]🎲 An extension to Chart Patterns based on Trend Line Pairs - Flags and Pennants
After exploring Algorithmic Identification and Classification of Chart Patterns and developing Auto Chart Patterns Indicator , we now delve into extensions of these patterns, focusing on Flag and Pennant Chart Patterns. These patterns evolve from basic trend line pair-based structures, often influenced by preceding market impulses.
🎲 Identification rules for the Extension Patterns
🎯 Identify the existence of Base Chart Patterns
Before identifying the flag and pennant patterns, we first need to identify the existence of following base trend line pair based converging or parallel patterns.
Ascending Channel
Descending Channel
Rising Wedge (Contracting)
Falling Wedge (Contracting)
Converging Triangle
Descending Triangle (Contracting)
Ascending Triangle (Contracting)
🎯 Identifying Extension Patterns.
The key to pinpointing these patterns lies in spotting a strong impulsive wave – akin to a flagpole – preceding a base pattern. This setup suggests potential for an extension pattern:
A Bullish Flag emerges from a positive impulse followed by a descending channel or a falling wedge
A Bearish Flag appears after a negative impulse leading to an ascending channel or a rising wedge.
A Bullish Pennant is indicated by a positive thrust preceding a converging triangle or ascending triangle.
A Bearish Pennant follows a negative impulse and a converging or descending triangle.
🎲 Pattern Classifications and Characteristics
🎯 Bullish Flag Pattern
Characteristics of Bullish Flag Pattern are as follows
Starts with a positive impulse wave
Immediately followed by either a short descending channel or a falling wedge
Here is an example of Bullish Flag Pattern
🎯 Bearish Flag Pattern
Characteristics of Bearish Flag Pattern are as follows
Starts with a negative impulse wave
Immediately followed by either a short ascending channel or a rising wedge
Here is an example of Bearish Flag Pattern
🎯 Bullish Pennant Pattern
Characteristics of Bullish Pennant Pattern are as follows
Starts with a positive impulse wave
Immediately followed by either a converging triangle or ascending triangle pattern.
Here is an example of Bullish Pennant Pattern
🎯 Bearish Pennant Pattern
Characteristics of Bearish Pennant Pattern are as follows
Starts with a negative impulse wave
Immediately followed by either a converging triangle or a descending converging triangle pattern.
Here is an example of Bearish Pennant Pattern
🎲 Trading Extension Patterns
In a strong market trend, it's common to see temporary periods of consolidation, forming patterns that either converge or range, often counter to the ongoing trend direction. Such pauses may lay the groundwork for the continuation of the trend post-breakout. The assumption that the trend will resume shapes the underlying bias of Flag and Pennant patterns
It's important, however, not to base decisions solely on past trends. Conducting personal back testing is crucial to ascertain the most effective entry and exit strategies for these patterns. Remember, the behavior of these patterns can vary significantly with the volatility of the asset and the specific timeframe being analyzed.
Approach the interpretation of these patterns with prudence, considering that market dynamics are subject to a wide array of influencing factors that might deviate from expected outcomes. For investors and traders, it's essential to engage in thorough back testing, establishing entry points, stop-loss orders, and target goals that align with your individual trading style and risk appetite. This step is key to assessing the viability of these patterns in line with your personal trading strategies and goals.
It's fairly common to witness a breakout followed by a swift price reversal after these patterns have formed. Additionally, there's room for innovation in trading by going against the bias if the breakout occurs in the opposite direction, specially when the trend before the formation of the pattern is in against the pattern bias.
🎲 Cheat Sheet
🎲 Indicator Settings
Custom Source : Enables users to set custom OHLC - this means, the indicator can also be applied on oscillators and other indicators having OHLC values.
Zigzag Settings : Allows users to enable different zigzag base and set length and depth for each zigzag.
Scanning Settings : Pattern scanning settings set some parameters that define the pattern recognition process.
Display Settings : Determine the display of indicators including colors, lines, labels etc.
Backtest Settings : Allows users to set a predetermined back test bars so that the indicator will not time out while trying to run for all available bars.
Các mẫu biểu đồ
Gains CorrelationsScript Description: This script is to tie the major futures indexes together at a macro level with the normal relationships (i.e. 10YR Yield, DXY, VIX inversely related to Equities) and determine how strong the correlation is between them using a 20 period average. For example, a move up in the 10YR yield while having a strong inverse covariance with equities should signal a downward move for equities. In addition, if ES and NQ are going down, and the Dow and RTY have a strong covariance, the probability of them going down as well is strong. Overall, it's a macro indicator on broad market movements.
Originality & Usefulness: The script functions by tying 7 major indexes together using correlation strength relative to the currently selected ticker. The user can change the tickers and also invert if needed. This is different from the single correlation script by adding in several as they track in tandem. The chart used is to illustrate periods where correlations are tight with equities and the lines are clustered towards the top range of strong covariance. It also highlights when Equities are far out of line with others like gold (GC). A loose covariance would mean the relationship is weak and this indicator would show a divergence in price action between them. The overall intent is to show that most indexes rise and fall together but sometimes they move faster together.
Ichimoku BalaIndicator Overview
The Ichimoku Bala indicator is a modification of the traditional Ichimoku Kinko Hyo indicator that aims to improve its effectiveness in identifying trend reversals and potential trading opportunities. It incorporates additional lines, such as the Senkou Span B--0 line, to provide more nuanced insights into price movements.
Input Parameters
The indicator has several input parameters that allow you to customize its appearance and behavior:
enableReplay: Whether to enable replay mode, which allows you to analyze historical data.
i_date: The date to start replaying historical data.
chiko2: The period for the Chikou Span 78 line.
TenkanShift: The offset for the Tenkan-Sen line.
KinjunShift: The offset for the Kinjun-Sen line.
KumoShift: The offset for the Kumo (Senkou Span A and Senkou Span B) lines.
ChikouSpanShift: The offset for the Chikou Span line.
TenkanPeriods: The period for the Tenkan-Sen line.
KinjunPeriods: The period for the Kinjun-Sen line.
SenkouSpanBPeriods: The period for the Senkou Span B line.
senkouSpanBPeriod: The period for the Senkou Span B--0 line.
AddbasePeriods1: The period for the Direction Line.
DirectionLineShift: The offset for the Direction Line.
AddbasePeriods2: The period for the Quality Line.
QualityLineShift: The offset for the Quality Line.
offset_colour_candle: The offset for coloring the previous candle before the flat start.
Indicator Calculations
The indicator calculates the following lines:
TenkanSen: A moving average of the highest and lowest prices over 9 periods.
KinjunSen: A moving average of the Tenkan-Sen line over 26 periods.
Senkou Span A: The average of the Tenkan-Sen and Kinjun-Sen lines shifted 26 periods forward.
Senkou Span B: The average of the highest and lowest prices over 52 periods shifted 26 periods forward.
Senkou Span B--0: The average of the highest and lowest prices over 52 periods.
It also determines the flatness of the Tenkan-Sen, Kinjun-Sen, and Senkou Span B lines and identifies the start of a flat period.
Indicator Visualizations
The indicator plots the following lines:
TenkanSen: A blue line.
KinjunSen: A red line.
Chikou Span: A green line shifted one period forward.
Senkou Span A: A green line.
Senkou Span B: A red line.
Senkou Span B--0: A gray line.
Direction Line: A blue line.
Quality Line: A red line.
It also colors the previous candle before the flat start according to the type of flat detected:
candleColor: Purple for a flat involving the Tenkan-Sen and Kinjun-Sen lines.
candleColor2: Yellow for a flat involving the Senkou Span B line.
candleColor3: Gray for a flat involving all three lines.
Modifications by Seyedbala
The provided code includes additional modifications by Seyedbala, including:
Adding a parameter offset_colour_candle to control the offset for coloring the previous candle before the flat start.
Modifying the color of the fill between the Tenkan-Sen and Kinjun-Sen lines to #23dde0 for flatStart and color.purple for all other cases.
Modifying the color of the fill between the Senkou Span B line and Kinjun-Sen lines to yellow for flatStart2 and color.yellow for all other cases.
Modifying the color of the fill between the Tenkan-Sen and Senkou Span B lines to gray for flatStart3 and color.gray for all other cases.
These modifications aim to enhance the visual representation of the flat areas and make it easier to identify the different types of flat patterns.
Overall, the Ichimoku Bala indicator is a valuable tool for analyzing price movements and identifying potential trading opportunities. Its modifications by Seyedbala further enhance its capabilities and provide more nuanced insights into market trends.
Trendlines [TradesAI]What is it?
This indicator allows the user to pick any Candle (preferably a Pivot, for better results) to draw the most relevant Trendlines from it as Origin, while keeping track of candle closes across these Trendlines to adjust or invalidate accordingly.
It allows for up to 2 Origins to be picked on chart. Remember to pick a Bullish candle to draw Downtrends, and a Bearish candle to draw Uptrends. The algorithm will draw the most suitable Active Trendlines from those Origin points.
How does it do it?
The indicator takes the Origin point as the first point of the Trendline, then starts looking for the immediate next same-type candle (Bullish to Bullish or Bearish to Bearish), to draw the Trendline between the Origin candle and this newer candle.
An Uptrend is a ray connecting two Bearish candles, as long as the second candle has a Low higher than the Low of the Origin (first) candle. A Downtrend is a ray connecting two Bullish candles, as long as the second candle has a High lower than the High of the Origin (first) candle.
Upon drawing, the indicator then starts monitoring and adjusting this Trendline, by keeping the Origin always the same, but changing the second point. The goal is to keep reducing the slope of the Trendline till it is at 0 degrees (horizontal line). That then makes the Trendline "Final".
So, the algorithm has 3 States for the Trendlines:
Initial: not tested, meaning price hasn't yet broken through it and closed a candle beyond it, to cause a re-adjustment of this Trendline.
Broken: candle Hard Closed (its Open and Close) across it but still the direction of the Trend is maintained with a new Trendline from the same Origin – could be replaced (or kept on chart as "Backside", which is what we call a Broken Trendline to be tested from the opposite side) with a new Trendline from the same Origin, to the newest candle that caused the break to happen, as then it becomes the new second point of that trendline.
Final: candle Hard Closed across it and can't draw a new Trendline from the same Origin maintaining the direction of the Trend (so an uptrend becomes a downtrend or a downtrend becomes an uptrend at this point, which is not allowed). This marks the end of Trendline adjustment for that Origin.
To summarize the algorithm, imagine starting from a candle and drawing the trendline, then keep re-adjusting it to make its slope less and less, till it becomes a horizontal line. That's the final state.
Unlike traditional trendline tools, this indicator takes into account numerous rules for each candlestick to determine valid support and resistance levels, which act as Liquidity Zones.
What does it do differently?
Unlike conventional trendline tools, this indicator allows the user to pick the Pivot point as Origin, then automatically recognizes and extends lines from them as Liquidity Zones where a reaction is expected. Moreover, the indicator monitors those trendlines in real-time to switch them from Buying to Selling zones, and vice-versa, as price structure changes.
Features
Log vs. Linear scale switch to show different trendlines accordingly. When updating the Trendlines, or deciding whether Touches/Hard Closes are met, it makes a difference.
Ability to show all forms of Trendlines, Final Trendlines or just Backside Trendlines.
Why is it used?
For experienced traders, it offers the advantage of time-efficiency, while new traders can bypass the steep learning curve of drawing trendlines manually, which could practically be drawn between any two candlesticks on the chart (unlimited variations).
Golden Cross and Death Cross with ProbabilityThe Advanced Golden and Death Crossover Indicator offers traders a powerful tool for identifying potential buy and sell signals through the classic technical analysis method of moving average crossovers. This script enhances decision-making by dynamically changing the chart background color in response to Golden (bullish) and Death (bearish) crossovers, providing a visual representation of the market's momentum.
Features:
Golden and Death Crossover Detection: Utilizes a 50-period SMA and a 200-period SMA to identify potential buy (golden cross) and sell (death cross) points.
Continuous Background Coloring: Changes the chart's background color to green for golden crosses and red for death crosses, offering an intuitive grasp of market trends.
Customizable Lookback Period: Allows users to adjust the lookback period for calculating the success rate of each crossover, making the indicator adaptable to various trading strategies.
Success Rate Calculation: Provides an additional layer of analysis by calculating the historical success rate of crossovers within the specified lookback period.
Instructions:
Adding the Indicator: Search for "Advanced Golden and Death Crossover Indicator" in the TradingView Indicators & Strategies library and add it to your chart.
Customization: Access the indicator settings to adjust the lookback period according to your trading preferences.
Interpretation: Use the continuous background color as a guide to market conditions, with green indicating bullish momentum and red indicating bearish momentum. The success rate of past crossovers can help assess the reliability of the signals.
How the Script Works:
The Advanced Golden and Death Crossover Indicator operates by continuously monitoring two key moving averages (MAs) on your chart: a short-term (50-period) SMA and a long-term (200-period) SMA. Here's a step-by-step breakdown of its functionality:
Crossover Detection:
Golden Cross: When the short-term MA crosses above the long-term MA, indicating potential bullish momentum, the script identifies this as a Golden Cross signal.
Death Cross: Conversely, when the short-term MA crosses below the long-term MA, suggesting potential bearish momentum, the script flags this as a Death Cross signal.
Background Coloring:
Upon detecting a Golden Cross, the script changes the chart background to green, visually representing a bullish market condition.
Upon detecting a Death Cross, the chart background turns red, indicating bearish market conditions.
This color change remains in effect until the next crossover event, providing a continuous visual cue of the market's trend direction.
Success Rate Calculation:
The script calculates the historical success rate of these crossovers within a user-defined lookback period. This metric helps assess the reliability of the signals based on past performance.
Customization:
Users have the flexibility to adjust the lookback period for the success rate calculation, allowing for customization according to individual trading strategies and risk preferences.
Application in Trading Analysis:
Traders can use this indicator as part of their technical analysis toolkit to make informed decisions about entry and exit points. The visual cues from the continuous background coloring, combined with the success rate of past signals, provide a comprehensive overview of market trends and crossover reliability. It’s important for traders to combine this indicator with other analysis tools and consider broader market conditions to optimize their trading strategy.
Disclaimer:
This script is provided for educational and informational purposes only and should not be construed as investment advice. Trading involves risk, and you should conduct your own research or consult a financial advisor before making investment decisions. The author or distributor of this script bears no responsibility for any trading losses incurred by users.
Master Fren Jedi HelperDescription:
The "Master Fren Jedi Helper" is a TradingView indicator designed to enhance trading analysis by plotting distinct lines at crucial times of the trading day.
This indicator is an invaluable tool for traders who focus on intraday price movements and patterns around specific times. Its primary features include:
Customizable Time Markers: The script allows users to mark specific times of the day with lines of different colors and styles. These times are adjustable based on the user's timezone and preferences.
Configurable Line Properties: Users can customize the color and style of each line. The script offers options for a green line at 7 AM, a red line at 11 AM, a grey line at midnight, and a yelow line to denote the daily open.
Time Zone Adjustment: To work with New York time zone, you have ability to adjust for different time zones. Users can input their time zone offset, advised to use UTC -5 allowing the script to plot the lines accurately according to their local time.
Day Labels: The indicator also labels each day of the week at midnight, providing a clear and easy way to track the days on the chart.
Functionality Overview:
Green Line at 7 AM: This line helps identify the early morning market sentiment. Users can customize the color and style of this line.
Red Line at 11 AM: Plotted to highlight mid-morning price levels, this line is also customizable in color and style.
Grey Line at Midnight: Marks the start of a new trading day. The line style and color can be personalized.
Yellow Line for Daily Open: Indicates the opening price of the day. The line's color and style are adjustable.
Time Zone Configuration: Users can set their local time zone to ensure the lines correspond accurately with their specific market hours.
Day of the Week Labels: Each midnight is labeled with the day of the week, aiding in the weekly analysis of price patterns.
This indicator is perfect for traders who need to quickly identify key times and price levels each day. It's easily configurable to suit various trading strategies and assists in enhancing the visual representation of intraday market dynamics.
PKJ StrategyWelcome to the Daily Price Action Mastery Strategy, a powerful approach to navigating the financial markets using the purest form of market analysis – price action. This trading view strategy is meticulously crafted for those seeking a method that harnesses the daily price movements to make informed and strategic trading decisions.
Key Features:
Daily Candlestick Analysis: Dive into the daily candlestick patterns to identify key support and resistance levels, trend reversals, and potential breakout points. The strategy leverages the valuable information encapsulated in each day's price action to discern market sentiment.
Trend Identification: Utilize trend analysis tools and indicators to pinpoint the prevailing market direction. By understanding the dynamics of daily trends, traders can align their positions with the broader market movement for higher probability trades.
Dynamic Support and Resistance: Implement dynamic support and resistance levels derived from daily price action. These levels act as crucial markers for entry and exit points, helping traders set effective stop-loss and take-profit orders.
Chart Patterns Recognition: Uncover chart patterns such as head and shoulders, flags, and triangles on the daily timeframe. The strategy incorporates pattern recognition techniques to identify potential trend continuation or reversal scenarios, offering traders a comprehensive view of market dynamics.
Volatility Analysis: Gauge market volatility by studying daily price ranges and fluctuations. Volatility indicators are integrated to help traders adjust their risk management strategies in response to varying market conditions.
Confirmation through Indicators: Supplement price action analysis with carefully selected indicators for additional confirmation signals. These indicators are chosen to align with the philosophy of the Daily Price Action Mastery Strategy, enhancing the precision of trade entries and exits.
Risk Management Guidelines: Discover effective risk management practices tailored to the daily timeframe. Learn how to optimize position sizes, set appropriate stop-loss levels, and manage capital to ensure long-term success and sustainability in your trading journey.
Whether you are a seasoned trader or a newcomer to the markets, the Daily Price Action Mastery Strategy provides a comprehensive framework to navigate the complexities of daily price movements. Elevate your trading experience by incorporating this strategy into your analysis, and empower yourself to make well-informed decisions in the dynamic world of finance.
Fake BreakoutThis indicator detect fake breakout on previous day high/low and option previous swing high and low
Rule Detect Fake Breakout On Previous Day High/Low Or Swing high low Fake Breakout -
1) Detect previous day high/low or swing high/low
2)
A) If price revisit on previous day high/swing high look for upside breakout after input
number of candle (1-5) price came back to previous high and breakout happen downside
it show sell because its fake breakout of previous day high or swing high
B) If price revisit on previous day low/swing low look for downside breakout after input
number of candle (1-5) price came back to previous low and breakout upside of previous
day low it show Buy because its fake breakout of previous day low or swing low
Disclaimer -Traders can use this script as a starting point for further customization or as a reference for developing their own trading strategies. It's important to note that past performance is not indicative of future results, and thorough testing and validation are recommended before deploying any trading strategy.
Advanced Engulfing CandlesThere are a plenty of Engulfing candle detecting indicators but every single of them detect engulfing candles engulfed by only single candle but sometime it take more then one candle to engulf the previous opposite candle, which is also considered as engulfing candle.
So this script show both type of candles.
Type of Engulfing Candles
Normal Engulfing Candles
Candle engulfed by more then one continuous candle
I hope you will like it.
If you find any bugs or have any suggestions for any possible addition feel free to comment or DM me.
Swing IdentifierThe "Swing Identifier" is a custom Pine Script indicator designed for use in the TradingView platform. It serves to visually identify and mark swing highs and swing lows on a trading chart, which are key concepts in technical analysis. This script is comprehensive and customizable, making it a useful tool for traders looking to pinpoint potential trend reversals and support or resistance areas.
**Key Features of the 'Swing Identifier' Indicator:**
1. **Swing Range Input:**
- This input determines the number of bars to the left and right of the current bar that the script will examine to identify a swing high or low. A larger value will look for swings over a broader range, potentially identifying more significant swings but at the expense of sensitivity.
2. **Swing Strength Input:**
- The swing strength is set as a percentage and is used to filter out insignificant price movements. A swing high or low is only considered valid if the percentage change from the last swing is greater than this input value. This feature helps in avoiding false signals in sideways or less volatile markets.
3. **Use Wicks Option:**
- Users can choose whether to consider the wicks of the candles or just the closing prices in identifying swings. This feature adds flexibility, allowing the script to be tailored to different trading styles and strategies.
4. **Line Color Customization:**
- The color of the lines marking the swings can be customized, enhancing the visual appeal and readability of the chart.
**Operational Mechanics:**
1. **Identification of Swing Highs and Lows:**
- The script uses the `ta.pivothigh` and `ta.pivotlow` functions to identify swing highs and lows. Whether it uses the high/low of the candles or their closing prices is determined by the user's choice in the "Use Wicks" option.
2. **Drawing and Updating Lines:**
- When a new swing high or low is identified, and it meets the percentage change criteria from the previous swing, a line is drawn from the last swing low to the current high (or vice versa). If a new swing high (or low) is identified that is higher (or lower) than the previous one, the old line is deleted, and a new line is drawn.
3. **Swing Update Logic:**
- The script maintains a toggle mechanism to look alternatively for highs and lows. This ensures that it sequentially identifies a high and then a low (or vice versa), which aligns with how actual market swings behave.
**Usage in Trading:**
1. **Identifying Trend Reversals:**
- By marking swing highs and lows, the script helps traders identify potential trend reversals. A break of a swing low in an uptrend or a swing high in a downtrend could signal a change in the prevailing trend.
2. **Support and Resistance:**
- Swing highs and lows often act as levels of support and resistance. Traders can use these levels for setting entry or exit points, stop losses, and take profit orders.
3. **Customization for Strategy:**
- The customizable nature of the script allows traders to adjust the parameters according to their trading strategy, time frame, and asset volatility.
In summary, the "Swing Identifier" is a versatile and customizable tool that aids in visually identifying crucial price swing points, thereby assisting traders in making informed decisions based on technical analysis principles.
Yuval TOP G MillionaireThe First Hour Market Range Indicator is a powerful tool designed to provide traders with valuable insights into the early price dynamics of financial markets. This indicator focuses on the crucial first hour of trading, capturing the range between the lowest and highest prices during this initial period. This information is particularly useful for day traders and short-term investors seeking to capitalize on early market trends and make informed trading decisions.
Key Features:
Precision Timing: The indicator precisely calculates and displays the lowest and highest prices reached within the first hour of trading, allowing traders to gauge the initial market sentiment and momentum.
Volatility Measurement: By showcasing the range of prices during the first hour, the indicator serves as a reliable measure of volatility. Traders can use this information to assess the level of market activity and adjust their strategies accordingly.
Intraday Trend Identification: The First Hour Market Range Indicator aids in identifying potential intraday trends by highlighting the extremes of price movements early in the trading session. This enables traders to align their positions with the prevailing market direction.
Risk Management: Traders can employ the indicator to set effective stop-loss and take-profit levels based on the observed range during the first hour. This helps in establishing clear risk-reward ratios and managing trades more efficiently.
Decision Support Tool: Whether used in isolation or in conjunction with other technical analysis tools, the First Hour Market Range Indicator serves as a valuable decision support tool. It provides traders with a quick snapshot of the market's early behavior, aiding in the formulation of timely and well-informed trading strategies.
Customizable Parameters: The indicator often comes with customizable parameters, allowing traders to adapt it to different financial instruments and timeframes. This flexibility enhances its applicability across various trading scenarios.
In conclusion, the First Hour Market Range Indicator is an essential tool for traders looking to gain a competitive edge in the fast-paced world of financial markets. By focusing on the critical first hour of trading, this indicator provides a concise summary of price movements, aiding traders in making informed decisions and staying ahead of market trends.
Fair Value Gap Absorption Indicator [LuxAlgo]The Fair Value Gap Absorption Indicator aims to detect fair value gap imbalances and tracks the mitigation status of the detected fair value gap by highlighting the mitigation level till a new fair value gap is detected.
The Fair Value Gap (FVG) is a widely utilized tool among price action traders to detect market inefficiencies or imbalances. These imbalances arise when buying or selling pressure is significant, resulting in a large upward or downward move, leaving behind an imbalance in the market.
🔶 USAGE
A fair value gap appears in a triple-candle pattern when there is a large candle whose previous candle’s high and subsequent candle’s low do not fully overlap the large candle. The space between these wicks is known as the fair value gap.
Price can come back to these imbalance areas and mitigate them, however, this is sometimes a process involving multiple bars, the displayed imbalances by the indicator allow tracking the current mitigation level of a displayed imbalance.
Fair value gaps can become a magnet for the price before continuing in the same direction. Traders commonly wait for the price to revert toward the fair value gap to clear out the imbalance before continuing to move toward the prevailing trend.
🔶 SETTINGS
🔹Fair Value Gaps
Fair Value Gap Width Filter: defines the filtering multiplier, please refer to the tooltip of the input option for further details.
Bullish, Imbalance and Mitigation: color customization option.
Bearish, Imbalance and Mitigation: color customization option.
Display Percentage of Mitigation: Display the percentage of the mitigation areas.
Historical Fair Value Gaps: toggles the visibility of the historical fair value gaps.
🔶 LIMITATIONS
Please note that filtering cannot be applied for the first 144 (atr fixed-length) candles since the atr value won't be present that is used for filtering.
🔶 RELATED SCRIPTS
Fair-Value-Gap
HTF-Fair-Value-Gap
Liquidity-Voids-FVG
Moving Average [chkd]日本語の説明は英語の説明の後にあります。
========= English =========
Various analyses of moving averages have been introduced, but the key points to observe are often quite similar. To efficiently observe the following points, I have created this indicator:
The positional relationship between each moving average and candlestick
The slope (directionality) of the moving averages
Moving averages from different time frames
The positional relationship of moving averages is classified into stages:
Stage 1: Short-term MA > Medium-term MA > Long-term MA (Perfect Order)
Stage 2: Medium-term MA > Short-term MA > Long-term MA
Stage 3: Medium-term MA > Long-term MA > Short-term MA
Stage 4: Long-term MA > Medium-term MA > Short-term MA (Reverse Perfect Order)
Stage 5: Long-term MA > Short-term MA > Medium-term MA
Stage 6: Short-term MA > Long-term MA > Medium-term MA
The features of this indicator include:
Displaying multi-timeframe stages in a table
Showing the transition history of stages with dashed lines at the bottom
Selectable table size (compatible with PC and smartphones)
========= Japanese =========
移動平均線の分析は色々紹介されていますが、見るポイントはどれもよく似ています。
以下のポイントを効率よく見れるように、このインジを作成しました。
各移動平均線とローソク足の位置関係
移動平均線の傾き(方向性)
異なるタイムフレームの移動平均線
移動平均線の位置関係は、ステージとして分類しています。
stage1 : 短期MA > 中期MA > 長期MA (パーフェクトオーダー)
stage2 : 中期MA > 短期MA > 長期MA
stage3 : 中期MA > 長期MA > 短期MA
stage4 : 長期MA > 中期MA > 短期MA (逆パーフェクトオーダー)
stage5 : 長期MA > 短期MA > 中期MA
stage6 : 短期MA > 長期MA > 中期MA
移動平均線の分析で、非常にわかりやすいものに小次郎講師の大循環分析があります。
書籍や無料のyoutubeもあるので、併せてみてもらえるとこのインジの使い方のイメージが湧きやすくなると思います。
このインジでは以下の特徴があります。
マルチタイムのステージをテーブルで表示
ステージの変換履歴を下部の点線で表示
テーブルサイズは選択可(pc,スマホ対応)
Macro Matrix [Pro+] (DRxICT)Description:
Visualize the intricacies of the financial markets with Macro Matrix, a tool meticulously crafted with insights drawn from the teachings of Inner Circle Trader (ICT), and enhanced by ICT_Concepts.
A Macro is a short list of orders that the Interbank Price Delivery Algorithm (IPDA) will run to determine which liquidity to seek or which inefficiencies to rebalance. ICT traders are taught to focus on these Time windows to frame the clearest narrative and observe defining market behaviour. Traders can use the Macro Matrix to stay alerted about key market timings and price swings that arise during these times.
The Macro Matrix Pro+ brings the power of Macros to new heights thanks to ICT_Concepts’s studies of the market, by taking the price range defined by a Macro Time Window (i.e. 9:50-10:10 AM New York Time), and projecting it above and below the original range creating extensions, similar to DR models. Analysts can use these extensions to measure future price swings as targets, retracement levels, or key reversals.
In addition, analysts have the flexibility to choose different extensions over time. Extend projections until the next Macro, for the next 3 Macros, or even for a whole day. By considering and cross-referencing previous Macros, analysts can gain insights into their potential impact on the market and identify key market pivots.
When news events occur in specific macros on specific days of the week, these time based ranges can offer unique insights. This is particularly true when we consider the different impacts that various days of the week can have on market trends. By analyzing news events that fall within macro time ranges, analysts can gain a deeper understanding of the ranges that influence future market movements.
Key Features:
Day of the Week Filtering: refine your macro selection by implementing a day-of-the-week filter. This feature allows you to precisely tailor your chosen macros, enabling you to identify specific time-based opportunities within the week.
CME_MINI:ES1! Friday Macros only:
Macro Range: choose whether to base your macro range projections on the candle bodies or the wicks, offering you versatile control over your analysis and automate drawings.
CME_MINI:NQ1! Body vs. Wick difference:
Macro Extension: toggle between different extension methods to identify prior macro levels for future opportunities. Select to extend macro lines at intervals of 3, 6, 9 macros, or 1, 2, 3 days.
CME_MINI:NQ1! Different Extension periods:
Automatic Macro Coloring: choose to automatically color the macros based on the relationship of the open and the close or choose a single color to identify the macros and projections. Bullish macros will be colored blue and bearish macros will be colored red by default.
FOREXCOM:EURUSD Note how coloring helps determine narrative throughout the day:
Macro Open, Close, and Range Projections: identify key price levels of algorithmic timings to locate price inefficiencies, liquidity pools of interest, and equilibrium price points of fair value. Easily select these levels, as well as range projections up to 2.5 standard deviations.
CME_MINI:NQ1! Levels legend:
Alert Systems: customize alerts with flexible intervals preceding macro initiation in the market. Craft personalized alerts to stay informed and prepared for future market movements.
Usage Guidance:
Add Macro Matrix to your Tradingview chart.
Tailor your experience by toggling specific Time-based macros and style your perspective to be aligned with your analytical preference.
Observe where and when the market begins its macros, and how projections are utilized to influence macro or micro trends.
Leverage this invaluable information with other models and insights to create a stronger narrative for your analysis.
These tools are available ONLY on the TradingView platform.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of the Toodegrees Premium Suite subscription. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
Auto Chart Patterns [Trendoscope®]🎲 Introducing our most comprehensive automatic chart pattern recognition indicator.
Last week, we published an idea on how to algorithmically identify and classify chart patterns.
This indicator is nothing but the initial implementation of the idea. Whatever we explained in that publication that users can do manually to identify and classify the pattern, this indicator will do it for them.
🎲 Process of identifying the patterns.
The bulk of the logic is implemented as part of the library - chartpatterns . The indicator is a shell that captures the user inputs and makes use of the library to deliver the outcome.
🎯 Here is the list of steps executed to identify the patterns on the chart.
Derive multi level recursive zigzag for multiple base zigzag length and depth combinations.
For each zigzag and level, check the last 5 pivots or 6 pivots (based on the input setting) for possibility of valid trend line pairs.
If there is a valid trend line pair, then there is pattern.
🎯 Rules for identifying the valid trend line pairs
There should be at least two trend lines that does not intersect between the starting and ending pivots.
The upper trend line should touch all the pivot highs of the last 5 or 6 pivots considered for scanning the patterns
The lower trend line should touch all the pivot lows of the last 5 or 6 pivots considered for scanning the patterns.
None of the candles from starting pivot to ending pivot should fall outside the trend lines (above upper trend line and below lower trend line)
The existence of a valid trend line pair signifies the existence of pattern. What type of pattern it is, to identify that we need to go through the classification rules.
🎲 Process of classification of the patterns.
We need to gather the following information before we classify the pattern.
Direction of upper trend line - rising, falling or flat
Direction of lower trend line - rising, falling or flat
Characteristics of trend line pair - converging, expanding, parallel
🎯 Broader Classifications
Broader classification would include the following types.
🚩 Classification Based on Geometrical Shapes
This includes
Wedges - both trend lines are moving in the same direction. But, the trend lines are either converging or diverging and not parallel to each other.
Triangles - trend lines are moving in different directions. Naturally, they are either converging or diverging.
Channels - Both trend lines are moving in the same direction, and they are parallel to each other within the limits of error.
🚩 Classification Based on Pattern Direction
This includes
Ascending/Rising Patterns - No trend line is moving in the downward direction and at least one trend line is moving upwards
Descending/Falling Patterns - No trend line is moving in the upward direction, and at least one trend line is moving downwards.
Flat - Both Trend Lines are Flat
Bi-Directional - Both trend lines are moving in opposite direction and none of them is flat.
🚩 Classification Based on Formation Dynamics
This includes
Converging Patterns - Trend Lines are converging towards each other
Diverging Patterns - Trend Lines are diverging from each other
Parallel Patterns - Trend Lines are parallel to each others
🎯 Individual Pattern Types
Now we have broader classifications. Let's go through in detail to find out fine-grained classification of each individual patterns.
🚩 Ascending/Uptrend Channel
This pattern belongs to the broader classifications - Ascending Patterns, Parallel Patterns and Channels. The rules for the Ascending/Uptrend Channel pattern are as below
Both trend lines are rising
Trend lines are parallel to each other
🚩 Descending/Downtrend Channel
This pattern belongs to the broader classifications - Descending Patterns, Parallel Patterns and Channels. The rules for the Descending/Downtrend Channel pattern are as below
Both trend lines are falling
Trend lines are parallel to each other
🚩 Ranging Channel
This pattern belongs to the broader classifications - Flat Patterns, Parallel Patterns and Channels. The rules for the Ranging Channel pattern are as below
Both trend lines are flat
Trend lines are parallel to each other
🚩 Rising Wedge - Expanding
This pattern belongs to the broader classifications - Rising Patterns, Diverging Patterns and Wedges. The rules for the Expanding Rising Wedge pattern are as below
Both trend lines are rising
Trend Lines are diverging.
🚩 Rising Wedge - Contracting
This pattern belongs to the broader classifications - Rising Patterns, Converging Patterns and Wedges. The rules for the Contracting Rising Wedge pattern are as below
Both trend lines are rising
Trend Lines are converging.
🚩 Falling Wedge - Expanding
This pattern belongs to the broader classifications - Falling Patterns, Diverging Patterns and Wedges. The rules for the Expanding Falling Wedge pattern are as below
Both trend lines are falling
Trend Lines are diverging.
🚩 Falling Wedge - Contracting
This pattern belongs to the broader classifications - Falling Patterns, Converging Patterns and Wedges. The rules for the Converging Falling Wedge are as below
Both trend lines are falling
Trend Lines are converging.
🚩 Rising/Ascending Triangle - Expanding
This pattern belongs to the broader classifications - Rising Patterns, Diverging Patterns and Triangles. The rules for the Expanding Ascending Triangle pattern are as below
The upper trend line is rising
The lower trend line is flat
Naturally, the trend lines are diverging from each other
🚩 Rising/Ascending Triangle - Contracting
This pattern belongs to the broader classifications - Rising Patterns, Converging Patterns and Triangles. The rules for the Contracting Ascending Triangle pattern are as below
The upper trend line is flat
The lower trend line is rising
Naturally, the trend lines are converging.
🚩 Falling/Descending Triangle - Expanding
This pattern belongs to the broader classifications - Falling Patterns, Diverging Patterns and Triangles. The rules for the Expanding Descending Triangle pattern are as below
The upper trend line is flat
The lower trend line is falling
Naturally, the trend lines are diverging from each other
🚩 Falling/Descending Triangle - Contracting
This pattern belongs to the broader classifications - Falling Patterns, Converging Patterns and Triangles. The rules for the Contracting Descending Triangle pattern are as below
The upper trend line is falling
The lower trend line is flat
Naturally, the trend lines are converging.
🚩 Converging Triangle
This pattern belongs to the broader classifications - Bi-Directional Patterns, Converging Patterns and Triangles. The rules for the Converging Triangle pattern are as below
The upper trend line is falling
The lower trend line is rising
Naturally, the trend lines are converging.
🚩 Diverging Triangle
This pattern belongs to the broader classifications - Bi-Directional Patterns, Diverging Patterns and Triangles. The rules for the Diverging Triangle pattern are as below
The upper trend line is rising
The lower trend line is falling
Naturally, the trend lines are diverging from each other.
🎲 Indicator Settings - Auto Chart Patterns
🎯 Zigzag Settings
Zigzag settings allow users to select the number of zigzag combinations to be used for pattern scanning, and also allows users to set zigzag length and depth combinations.
🎯 Scanning Settings
Number of Pivots - This can be either 5 or 6. Represents the number of pivots used for identification of patterns.
Error Threshold - Error threshold used for initial trend line validation.
Flat Threshold - Flat angle threshold is used to identify the slope and direction of trend lines.
Last Pivot Direction - Filters patterns based on the last pivot direction. The values can be up, down, both, or custom. When custom is selected, then the individual pattern specific last pivot direction setting is used instead of the generic one.
Verify Bar Ratio - Provides option to ignore extreme patterns where the ratios of zigzag lines are not proportionate to each other.
Avoid Overlap - When selected, the patterns that overlap with existing patterns will be ignored while scanning. Meaning, if the new pattern starting point falls between the start and end of an existing pattern, it will be ignored.
🎯 Group Classification Filters
Allows users to enable disable patterns based on group classifications.
🚩 Geometric Shapes Based Classifications
Wedges - Rising Wedge Expanding, Falling Wedge Expanding, Rising Wedge Contracting, Falling Wedge Contracting.
Channels - Ascending Channel, Descending Channel, Ranging Channel
Triangles - Converging Triangle, Diverging Triangle, Ascending Triangle Expanding, Descending Triangle Expanding, Ascending Triangle Contrcting and Descending Triangle Contracting
🚩 Direction Based Classifications
Rising - Rising Wedge Contracting, Rising Wedge Expanding, Ascending Triangle Contracting, Ascending Triangle Expanding and Ascending Channel
Falling - Falling Wedge Contracting, Falling Wedge Expanding, Descending Triangle Contracting, Descending Triangle Expanding and Descending Channel
Flat/Bi-directional - Ranging Channel, Converging Triangle, Diverging Triangle
🚩 Formation Dynamics Based Classifications
Expanding - Rising Wedge Expanding, Falling Wedge Expanding, Ascending Triangle Expanding, Descending Triangle Expanding, Diverging Triangle
Contracting - Rising Wedge Contracting, Falling Wedge Contracting, Ascending Triangle Contracting, Descending Triangle Contracting, Converging Triangle
Parallel - Ascending Channel, Descending Channgel and Ranging Channel
🎯 Individual Pattern Filters
These settings allow users to enable/disable individual patterns and also set last pivot direction filter individually for each pattern. Individual Last Pivot direction filters are only considered if the main "Last Pivot Direction" filter is set to "custom"
🎯 Display Settings
These are the settings that determine the indicator display. The details are provided in the tooltips and are self explanatory.
🎯 Alerts
A basic alert message is enabled upon detection of new pattern on the chart.
Golden Swap (Zeiierman)█ Overview
The Golden Swap indicator, as designed by Zeiierman, focuses on identifying reversal points around the key levels indicated by the indicator. This pattern works by analyzing the relationship between current and past price movements, considering factors like price symmetry, baseline boundaries, and precision pin bar formations. It can offer insights into potential market reversals, allowing for more precise entries and exits.
█ How It Works
Golden Swap Long
In a market with bullish momentum, we expect the price to dip a bit before it continues to rise again. This dip is like a small retreat in an overall march upwards. So, the pattern aims to assess whether the current period's dip is relatively shallow, indicating that the overall bullish momentum remains robust despite temporary price fluctuations.
Golden Swap Short
In a market with bearish momentum (indicating selling pressure or bearish sentiment), we may still see the price rise a bit before continuing its drop. This temporary rise is like a slight bounce in an overall downward movement. In simpler terms, even when the price bounces up a bit, it's not strong enough to overcome the recent pressure of selling. The sellers are still dominating, and the price will likely continue to drop.
█ The signal is reinforced by symmetry, BaselineBound criteria, and a bearish Precision PinBar.
⚪ Symmetry in Price Movements: The pattern uses the Symmetry Precision filter to analyze the symmetry of recent price movements. This helps in determining the likelihood of a reversal. A high degree of symmetry suggests a more reliable reversal signal.
⚪ BaselineBound Criteria: This component involves the BaselineBound Threshold, which acts as a filter to validate the strength of the potential reversal. Bullish and bearish conditions are assessed based on how the current close price compares to a calculated range around the high and low of the previous period.
⚪ Precision PinBar Analysis: The pattern also incorporates the Precision PinBar filter, which evaluates the characteristics of the recent price bars. A Precision PinBar is a candlestick with a small body and a long tail, indicating a potential reversal.
⚪ Display of Key Levels: The indicator can show Open, High, and Low levels for selected timeframes, helping traders identify key price points.
█ How to Use
The Golden Swap pattern is a valuable confirmation tool, particularly around key levels or session highs and lows. It highlights instances where a previous high or low has been respected, followed by a price reversal—flipping back up in an upward trend (Golden Swap Long) or flipping back down in a downward trend (Golden Swap Short). When this pattern emerges near a key level, it strongly suggests that the price will continue moving in the direction indicated by the current trend.
Consider it akin to a minor liquidity hunt above the previous high or below the previous low. The presence of the Golden Swap pattern, especially when aligned with other indicators and filters, enhances its reliability as a signal for the continuation of the prevailing market trend.
█ Settings
Timeframe Selection: Choose from various timeframes for signal calculation.
Filter Adjustments: Fine-tune the Symmetry Precision, BaselineBound Threshold, and Precision PinBar settings to filter signals according to specific criteria.
Display Options for Key Levels: Enable or disable the display of key price levels and select timeframes for these levels.
█ Related script using the same pattern filtering techniques
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
First CandleDay first candle breakout Indicator
In this indicator script, we search for the high and low of the first candle of the day. After the breakout of either the high or low, we initiate a trade. This indicator is based on the breakout of the opening range of the first candle.
Buy Breakout -
1. Identify the high and low of the first candle of the day.
2. If there is an upside breakout, or a downside breakout, stop extend the high and low accordingly.
Sell Breakout -
1. Identify the high and low of the first candle of the day.
2. If there is a downside breakout or an upside breakout, stop extend the high and low accordingly.
Qu_Trend+
composition
- Consists of a thick trend line and a thin yellow line.
- The largest (green/red) lines indicate rising and falling markets.
- This line represents the 13-candle moving average of Tilson T3.
- The reason for 13 candles is because it best matches the recent market price based on Bitcoin.
- This value cannot be changed, so if you need it, please modify the public code and use it.
- The yellow line is the MA20 line, the ‘Bollinger Band center line’
(UI will show whether this line has been breakout)
- The same algorithm as 20 of the basic moving average (close standard) is applied.
- The algorithm for breakthrough is calculated based on real-time prices, not based on closing prices.
An additional short-term SMA is created, and whether it crosses the SMA is classified as a breakout/resistance.
How to use it
- If the trend line becomes gentle, it may indicate a change in trend when + MA20 is broken.
- While the slope of the trend line is steep, it indicates that the trend is difficult to change.
(If the trend changes at this time, it is likely to move sideways)
- If the trend changes continuously, it is a sideways market.
At this time, watch out for the movement of the end point where the sideways trend ends.
RSI and MACD Crossover SignalsBest for Short-Term/Intraday Trading on SPY, TSLA, NVDA
Strategy Concept:
This strategy is designed for short-term trading across various assets and timeframes (Recommend: 1min, 5min, 15min, 1hr, 4hr, 1day). It leverages the Relative Strength Index (RSI) and Moving Average Convergence Divergence (MACD) to identify potential buy and sell signals. The strategy aims to capture moments where the asset's price is likely to experience a reversal or a significant momentum shift.
By combining the RSI and MACD indicators, the strategy seeks to increase the accuracy of identifying potential trend reversals or continuations, taking into account both the momentum and the trend direction of the asset.
RSI (Relative Strength Index) Parameters:
The RSI period is set to 14
Overbought and oversold levels are set at 70 and 30, respectively
The RSI is used to identify potential reversal points when the asset is overbought or oversold
MACD (Moving Average Convergence Divergence) Parameters:
The MACD settings are configured with a fast length of 8, a slow length of 34, and a signal smoothing of 8
The MACD line crossing over or under the signal line is used to confirm the potential buy or sell signals indicated by the RSI
Signal Generation Logic:
Buy Signal:
Triggered when the RSI crosses above the oversold level (30).
Confirmed if the MACD line crosses above the signal line within a delay period of up to 4 candles after the RSI signal.
Sell Signal:
Triggered when the RSI crosses below the overbought level (70).
Confirmed if the MACD line crosses below the signal line within a delay period of up to 4 candles after the RSI signal.
Additional Features:
The script includes a notification system that alerts the trader when either a buy or sell signal is detected. The alert signal is combined with both the buy and sell signal in 1 so people without premium can be alerted when any signal appears.
Buy signals are visually represented on the chart below the price bars with a green "BUY" label.
Sell signals are indicated above the price bars with a red "SELL" label.
Usage and Application:
This strategy is versatile and recommended to be played with scalps and day trades. I prefer SPY 0DTE on the 1 and 5 minute timeframe and looking for bigger trend reversals on the 1hr, 4hr, and 1 day timeframe.
PinBar and Bloom Pattern Concept (Zeiierman)█ Overview
The Precision PinBar and Bloom Pattern Concept by Zeiierman introduces two new patterns, which we call the Bloom Pattern and the Precision PinBar Pattern. These patterns are used in conjunction with market open, high, and low values from different periods and timeframes. Together, they form the basis of the "PinBar and Bloom Pattern Concept." The main idea is to identify key bullish and bearish candlestick patterns around key levels plotted on the chart.
The key levels are the Open, High, and Low from the current and previous periods of the selected timeframe. Users can choose how many previous periods to be drawn on the chart.
█ How It Works
The indicator operates by analyzing market data over selected timeframes. It uses inputs such as previous period open-high-low lines, timeframe selections, and pattern detection settings like Symmetry Precision and Range Threshold. These parameters allow the indicator to identify specific market conditions, including symmetrical movements in price and significant price range deviations, which form the basis of the Bloom and Precision PinBar patterns.
Symmetry Signal:
Purpose: To detect symmetry in price movements based on a precision threshold.
How It Works: This function calculates the symmetry of high and low prices within the specified precision. It returns two boolean values indicating whether the high and low prices are within the symmetry precision.
BaselineBound Pattern:
Purpose: To identify bullish or bearish patterns based on a range factor.
How It Works: The function calculates whether the current close price is within a certain range of the high-low difference of the previous period. It returns bullish and bearish signals based on these calculations.
█ ● Bloom Pattern
The Bloom Pattern is a unique candlestick pattern designed to identify significant trend reversals or continuations. It's not a single candlestick formation but a combination of a few elements that signal a potential strong move in the market.
⚪ Previous and Current Candle Analysis: The Bloom Pattern looks at the relationship between the current candle and the previous one. It checks whether the current candle's body (the range between its opening and closing prices) fully encompasses the body of the previous candle. This condition is known as "embodying."
⚪ Baseline Bound: The Baseline Bound concept involves comparing the closing price to a range established by the high and low of the previous candle, adjusted by a factor (the rangeFactor). This helps in identifying if the current price is showing a bullish or bearish tendency relative to the previous period's price movement.
⚪ Symmetry Signal: Additionally, it uses the Symmetry Signal, which measures the symmetry between the high and low prices of two consecutive candles.
⚪ Bullish and Bearish Signals: The combination of these conditions (embodying, baseline bound, and symmetry) results in either a bullish or bearish signal. A bullish signal suggests a potential upward trend, while a bearish signal indicates a possible downward trend.
█ ● Precision PinBar Pattern
The Precision PinBar Pattern is a refined version of the traditional Pin Bar, a well-known candlestick pattern used in trading. This pattern focuses on identifying market reversals with a high degree of accuracy.
⚪ Identification of Pin Bars: The function first identifies a pin bar, characterized by a small body and a long wick. The long wick indicates a rejection of certain price levels, and the small body shows little change between the opening and closing prices.
⚪ Tail and Body Length Analysis: The script calculates the length of the bar's tail (wick) and compares it to the length of the body. A qualifying pin bar typically has a tail at least three times longer than its body, suggesting a strong rejection of prices.
⚪ Positioning and Thresholds:
Open-Close Position: The function checks whether the opening and closing prices are within a certain threshold of the high or low of the bar, which helps in distinguishing between bullish and bearish pin bars.
⚪ Baseline Bound and Symmetry: Like the Bloom Pattern, it incorporates Baseline Bound and Symmetry Signal concepts to validate the significance of the pin bar.
⚪ Bullish and Bearish Signals: Depending on these factors, a bullish or bearish pin bar is identified. A bullish PinBar suggests potential upward price movement, while a bearish PinBar indicates possible downward price movement.
█ How to Use
Using the Bloom and Precision PinBar patterns in conjunction with key market levels, such as previous highs and lows, can be a powerful strategy for traders. These market levels often act as significant points of support and resistance, and combining them with the patterns can offer strong trade signals. Here's how traders can effectively utilize these patterns:
Identifying Key Market Levels
Previous Highs and Lows: These are the highest and lowest points reached in previous trading periods and are often considered strong levels of resistance (in the case of previous highs) and support (in the case of previous lows).
Using the Bloom Pattern
Near Previous Highs (Resistance): If a Bloom Pattern emerges near a previous high, it could indicate a potential bearish reversal. Traders might interpret this as a signal to consider short positions, especially if the pattern shows bearish characteristics.
Near Previous Lows (Support): Conversely, a bullish Bloom Pattern near a previous low could suggest a trend reversal to the upside. This could be a signal for traders to consider long positions.
Using the Precision PinBar Pattern
Precision PinBar at Resistance: A bearish Precision PinBar appearing near a previous high can be a strong signal for a potential downward move. This setup is often used by traders to enter short positions, anticipating a price rejection at this resistance level.
Precision PinBar at Support: Similarly, a bullish Precision PinBar at or near a previous low suggests that the market is rejecting lower prices, indicating potential upward momentum. This is typically used by traders as a cue to go long.
█ Settings
Previous Open-High-Low Lines: Determine the number of historical periods to analyze. Settings include toggling the visibility of lines and labels and specifying the number of periods.
Timeframe & Current Period: Select the timeframe for current market analysis. Options include different timeframes (e.g., 1H, 1D) and customization of line styles and colors.
Pattern Settings: Adjust the Symmetry Precision and Range Threshold to fine-tune the indicator's sensitivity to specific market movements.
Bloom & Precision PinBar Pattern: Enable or disable the detection of specific patterns and customize the visual representation of these patterns on the chart.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Crypto Candlestick Patterns - CN VersionIntroduction:
The candlestick chart has been used for centuries since the Japanese applications. Based on the candlestick charting, people developed candle pattern analysis. Now we have tons of books or articles illustrating the usage of reversal patterns and continuation patterns, and computers provide a faster and preciser way to recognize these pattern.
Originally we have a common *All Candlestick Patterns* indicator to use. This indicator works well for most of the markets or commodities including stocks and futures. However, for cryptocurrency market, quite a few patterns are not suitable anymore. For example, crypto markets are continuously running 7x24hrs and the big coins with good volume tend to have almost continuous price in commonly used time periods. Hence, original patterns with "window" or "jump" concepts are usually not applied to crypto.
For these issues, I modified the original *All Candlestick Patterns* indicator and introduced the Chinese version for people speaking such language.
Like most of the other indicators, I personally do not recommend anyone to simply follow the patterns it shows to enter the market. You may take these recognized patterns as a reference, and further actions on trading should be done with several other tools, such as MACD, RSI, Stochastic and etc.
Usage:
The application of this indicator is basically the same as the original *All Candlestick Patterns* and you will get an automatically generated pattern recognition by your computer system.
There are a few parameters to adjust for the indicator:
Trending Detection Settings: Here you can choose SMA-Fast, SMA-Fast/Slow or None detecting options to recognize the current market trend. This is a minor improvement from the original indicator and you can choose your preferred trending detecting settings by changing the length of SMA.
Candlestick Settings: You may adjust the rules to recognize the properties of candlesticks. I add a "perturbation" parameter here, which actually is an error tolerance for pattern recognition. Some seemingly pattern may not fulfill the strict rules of classic candlestick patterns, but we may recognize them by watch the charting on our own. Hence this error tolerance may show more potential patterns from the charting.
Plot Settings: It is the usually colour choice and providing options for bullish/bearish.
Pattern Settings: Here you can select the patterns that you would like to see from the charting. You can pick the preferred reversal patterns or choose to show all the patterns. It's all up to you!
Features:
Language Translation: Since this is a Chinese language version. I have replaced all the English explanation of patterns to Chinese ones. Move your mouse to the label, you will find a brief intro of the pattern and a notice about bullish or bearish signals it indicates.
Alerts: As the same as the original one, we will have the alert options from this indicator. All the alerts and their messages are Chinese. You can activate alerts based on this indicator from the alert management section, as the same as many other indicators you have used before.
Future Improvements:
For now I am satisfied with the work I have done, and I may apply it to several charts. It's welcome for any users to take a look at the codes and put modifications or improvements towards it. Currently most of the comments in the code are in Chinese language, since basically it's for Chinese speaking users, while the code itself and the parameter names should be pretty easy to understand in English. (I have been using English for writing in the past 8 years, hence this introduction is in English as well.)
Forex Master Pattern Screener 2Overview
The Forex Master Pattern Screener 2 is based on the Master Pattern, which includes contraction, expansion, and trend phases. This indicator is designed to identify and visualize market volatility, market phases, multi-timeframe contractions, liquidity points, and pivot calculations. It provides a clear image of the market's expansion and contraction phases. It's based on an alternative form of technical analysis that reveals the psychological patterns of financial markets through three phases.
Unlike the other master pattern indicators that just use highs and lows and aren't as accurate for finding contractions, this one uses actual measures of volatility to find extremely low levels of volatility and has customizable parameters depending on what you want to do.
What is the Forex Master Pattern?
The Forex Master Pattern is a framework that revolves around understanding market cycles, comprising the three main phases: contraction, expansion, and trend.
Contraction Phase: During this phase, the market has low volatility and is consolidating within a narrow range. Institutional volume tends to be low, and it's suggested to avoid trade entries during this period.
Expansion Phase: Volatility starts to increase, and there start to be bigger moves in price. Institutional traders start accumulating positions in this phase, and they might manipulate prices to draw in retail traders, creating liquidity for their own buying or selling goals.
Trend Phase: This final phase completes the market cycle. Institutional traders begin taking profits, leading to a reversal. This triggers panic among retail traders, resulting in liquidations and stops. This generates liquidity for institutional traders to profit, leaving retail traders with overvalued positions.
Value Line:
The "value line" acts as the fair value zone or the neutral belief zone where buyers and sellers agree on fair value. It can be likened to the center of gravity and is created during contraction zones.
Applications:
Identifying these phases and understanding the value lines can help traders determine the market's general direction and make better trading decisions.
This isn't a strategy but a concept explaining market behavior, allowing traders to develop various strategies based on these principles
The contractions, which are based on volatility calculations, can help you find out when big moves will occur, known as expansions.
How traders can use this indicator
1. Identifying Market Phases:
Contraction Phase: Look for periods where the market has low volatility and is contracting, indicated by a narrow range and highlighted by the contraction box. During this phase, traders prepare for a breakout but usually avoid making new trades until a clearer trend emerges.
Expansion Phase: When the indicator signals an expansion, it suggests that the market is moving out of consolidation and may be beginning a new trend. Traders might look for entry points here, anticipating a continuation of the trend.
Trend Phase: As the market enters this phase, traders look for signs of sustained movement in one direction and consider positions that benefit from this trend.
2. Multi-Timeframe Analysis:
By looking at multiple timeframes, traders can get a broader view of the market. For instance, a contraction phase in a shorter timeframe within an expansion phase in a longer timeframe might suggest a pullback in an overall uptrend. This indicator comes with a MTF contraction screener that is customizable.
2. Fair Value Lines:
The fair value acts like a "center of gravity.". Traders could use this as a reference point for understanding market sentiment and potential reversal points. This indicator shows these values in the middle of the contraction boxes.
3. Volatility Analysis:
This indicator's volatility settings can help traders understand the market's current volatility state. High volatility indicates a more active market with larger, faster moves, while low volatility might suggest caution and tighter stop-losses or take-profits. If volatility is contracting, then an expansion is imminent. This indicator shows the volatility with percentile ranks in 0-100 values and also alerts you when volatility is contracting, aka the contraction phase.
Volatility Calculations:
This indicator uses a geometric standard deviation to measure volatility based on historical price data. This metric quantifies the variability of price changes over a specified lookback period and then computes a percentile rank within a defined sample period. This percentile calculation helps evaluate the current volatility compared to historical levels.
Based on the percentile rank, the indicator sets thresholds to determine whether the current volatility is within a range considered "contraction" or not. For example, if there are really low levels of volatility on the percentile rank, then there is currently a contraction phase. The indicator also compares the volatility value against a moving average, where values above the current moving average value signal the expansion phase.
Multi-Timeframe Analysis (MTF):
This indicator comes with a multi-timeframe table that shows contractions for 5 different timeframes, and the table is customizable.
Bands:
This indicator comes with bands that are constructed based on the statistical calculations of the standard deviation applied to the log-transformed closing prices. It is commonly assumed that the distribution of prices fits some type of right-skewed distribution. To remove most of the skewness, you can use a log transformation , which makes the distribution more symmetrical and easier to analyze, thus the use of these bands . These bands are in the 2 standard deviation range. You can use these bands to trade at extreme levels. The band parameter is based on the contraction volatility lookback, which is in the Volatility Model Settings tab.
Ways the bands could be used with the contractions:
1. Identifying Breakout trades:
Contraction Zones: These zones indicate periods of low volatility where the market is consolidating. There are usually narrow price ranges, which are considered a build-up phase before a significant price move in any direction.
Bands: When the contraction zone occurs, you might notice the bands tightening around the price on smaller lookback periods, reflecting the decreased volatility. A continuous widening of the bands could then signal the beginning of an expansion phase, indicating a potential breakout opportunity.
2. Enhancing Trade Timing:
Before the Breakout: During the contraction phase, the bands might move closer together, reflecting the lower volatility. You can monitor this phase closely and prepare for a potential expansion. The bands can provide additional confirmation; for instance, a price move toward one of the bands might show an extreme occurrence and might show what the direction of the breakout could be.
After the breakout: Once the price breaks out of the contraction zone and goes to the expansion phase, and if it coincides with the bands widening significantly, it could reinforce the strength and potential sustainability of the new trend, providing a clearer entry.
3. Price-touching bands during a contraction:
If the price repeatedly touches one of the bands during a contraction phase, it might suggest a buildup of pressure in that direction. For example, if the price is consistently touching the upper band even though the bands are narrow, it might suggest bullish pressure that could occur once the expansion phase begin.
4. Price at the band extreme levels during Expansion:
If the price is at the extreme levels of the bands once the expansion phase occurs, it might indicate unsustainable levels and a low probability of the price continuing beyond those levels. Potentially signaling that a reversal will occur. Some trades could use these extremes to place entries during the expansion phases.
Liquidity Levels:
This script comes with liquidity points, whose functionality goes towards identifying pivotal levels in price action, focusing on swing highs and swing lows in the market. These points represent areas where significant buying (for swing lows) or selling (for swing highs) activity has occurred, implying potential levels or resistance in the price movement.
These liquidity points, often identified as highs and lows, are points where market participants have shown interest in the past. These levels can act as psychological indications where traders might place orders, leading to increased trading activity when these levels are approached or breached. When used with the Forex Master Pattern phases, liquidity levels can enhance trades placed with this indicator. For instance, if the market is expanding and approaches a significant liquidity level, there might be a higher chance of a breakout or reversal, showing a possible entry or exit point.
Liquidity Levels in the Contraction Phase:
Accumulation and Distribution: During the contraction phase, liquidity levels can indicate where huge positions are likely accumulating or distributing quietly. If price is near a known liquidity level and in a contraction phase, it might suggest that a large market player is building a position in anticipation of the next move.
Breakout Points: Liquidity levels can also give clues about where price could go after the breakout from the contraction phase. A break above a liquidity level might indicate a strong move to come as the market overcomes significant selling pressure.
Liquidity Levels in Expansion Phase:
Direct Confirmation: As the expansion phase begins, breaking through liquidity levels can confirm the new trend's direction. If the price moves past these levels with huge volume, it might indicate that the market has enough momentum to continue the trend.
Target Areas: Liquidity levels can act as target areas during the expansion phase. Traders using this indicator could look to take profits if the price approaches these levels, possibly expecting a reaction from the market.
Multi-Timeframe Recursive Zigzag [Trendoscope®]🎲 Welcome to the Advanced World of Zigzag Analysis
Embark on a journey through the most comprehensive and feature-rich Zigzag implementation you’ll ever encounter. Our Multi-Timeframe Recursive Zigzag Indicator is not just another tool; it's a groundbreaking advancement in technical analysis.
🎯 Key Features
Multi Time-Frame Support - One of the rare open-source Zigzag indicators with robust multi-timeframe capabilities, this feature sets our tool apart, enabling a broader and more dynamic market analysis.
Innovative Recursive Zigzag Algorithm - At its core is our unique Recursive Zigzag Algorithm, a pioneering development that powers multiple Zigzag levels, offering an intricate view of market movements. This proprietary algorithm is the backbone of our advanced pattern recognition indicators.
Sub-Waves and Micro-Waves Analysis - Dive deeper into market trends with our Sub-Waves and Micro-Waves feature. Sub-Waves reveal the interconnectedness of various Zigzag levels, while Micro-Waves offer insight into the fundamental waves at the base level.
Enhanced Indicator Tracking - Integrate and track your custom indicators or oscillators with the zigzag, capturing their values at each Zigzag level, complete with retracement ratios. This offers a comprehensive view of market dynamics.
Curved Zigzag Visualization - Experience a new way of visualizing market movements with our Curved Zigzag Display, employing Pine Script’s polyline feature for a more intuitive and visually appealing representation.
Built-in Customizable Alerts - Stay ahead with built-in alerts that can be customized via user input settings.
🎯 Practical Applications
Our Zigzag Indicator is designed with an understanding of its inherent nature - the last unconfirmed pivot that consistently repaints. This characteristic, while by design, directs its usage more towards pattern recognition rather than direct identification of market tops and bottoms. Here's how you can leverage the Zigzag Indicator:
Harmonic Patterns - Ideal for those familiar with harmonic patterns, this tool simplifies the manual spotting of complex XABCD, ABC, and ABCD patterns on charts.
Chart Patterns - Effortlessly identify patterns like Double/Triple Taps, Head and Shoulders, Inverse Head and Shoulders, and Cup and Handle patterns with enhanced clarity. Navigate through challenging patterns such as Triangles, Wedges, Flags, and Price Channels, where the Zigzag Indicator adds a layer of precision to your breakout strategy.
Elliott Wave Components - The indicator's detailed pivot highlighting aids in identifying key Elliott Wave components, enhancing your wave analysis and decision-making process.
🎲 Deep Dive into Indicator Features
Join us as we explore the intricate features of our indicator in more detail.
🎯 Multi-Timeframe Capability
Our indicator comes equipped with an input option for selecting the desired resolution. This unique feature allows users to view higher timeframe Zigzag patterns directly on their lower timeframe charts.
🎯 Recursive Multi Level Zigzag
Our advanced recursive approach creates multi-level Zigzags from lower-level data. For instance, the level 0 Zigzag forms the base, calculated from specified length and depth parameters, while level 1 Zigzag is derived using level 0 as its foundation, and so forth.
The indicator not only displays multiple Zigzag levels but also offers settings to emphasize specific levels for more detailed analysis.
🎯 Sub-Components and Micro-Components of Zigzag Wave
Sub-components within a Zigzag wave consist of the previous level's Zigzag pivots. Meanwhile, the micro-components are composed of the base level (Level 0) Zigzag pivots encapsulated within the wave.
🎯 Curved Zigzag
Experience a new perspective with our curved Zigzag display. This innovative feature utilizes the polyline curved option to automatically generate sinusoidal waves based on multiple points.
🎯 Indicator Tracking
Default indicators such as RSI, MFI, and OBV are included, alongside the ability to track one external indicator at each Zigzag pivot.
🎯 Customizable Alerts
Our indicator employs the `alert()` function for alert creation. While this means the absence of a customization text box in the alert settings, we've included a custom text area for users to create their own alert templates.
Template placeholders include:
{alertType} - type of alert. Either Confirmed Pivot Update or Last Pivot Update. Depends on the alert type selected in the inputs.
When Last Pivot Update type is selected, the alerts are triggered whenever there is a new Zigzag Pivot. This may also be a repaint of last unconfirmed pivot.
When Confirmed Pivot Update type is selected, the alerts are triggered only when a pivot becomes a confirmed pivot.
{level} - Zigzag level on which the alert is triggered.
{pivot} - Details of the last pivot or confirmed pivot including price, ratio, indicator values and ratios, subcomponent and micro-component pivots.
🎲 User Settings Overview
🎯 Zigzag and Generic Settings
This involves some generic zigzag calculation settings such as length, depth, and timeframe. And few display options such as theme, Highlight Level and Curved Zigzag. By default, zigzag calculation is done based on the latest real time bar. An option is provided to disable this and use only confirmed bars for the calculation.
Indicator Settings
Allows users to track one or more oscillators or volume indicators. Option to add any indicator via external input is provided.
🎯 Alert Settings
Has input fields required to select and customize alerts.