Salman Indicator: Multi-Purpose Price ActionSalman Indicator: Multi-Purpose Price Action Tool for Pin Bars, Breakouts, and VWAP Anchoring
This indicator provides a comprehensive suite of price action insights, designed for active traders looking to identify key market structures and potential reversals. The script incorporates a Quarterly VWAP for trend bias, marks pin bars for possible reversal points, highlights outside bars for volatility signals, and indicates simple breakouts and pivot-level breaks. Customizable settings allow for flexibility in various trading styles, with default settings optimized for daily charts.
Outside Bars : Represented by an ⤬ symbol on the chart, these indicate bars where the current high is greater than the previous bar’s high, and the low is lower than the previous bar’s low, signaling high volatility and potential market reversals.
Pin Bars : Denoted by a small dot at the top or bottom of a candle’s wick, these are crucial signals of potential reversal areas. Pin bars are identified based on the percentage length of their shadows, with adjustable strictness in settings.
Quarterly VWAP : The light blue line on the chart represents the VWAP (Volume-Weighted Average Price), which is anchored to the Quarterly period by default. The VWAP acts as a directional bias filter, helping you to determine underlying market trends. This period, source, and offset are fully adjustable in the script’s settings.
Simple Breaks : Hollow candles on the chart indicate "simple breaks," defined when the current bar closes above the previous high or below the previous low. This is an effective way to highlight directional momentum in the market.
Bonus Pivot Breaks : The tilde symbol ~ appears when the price closes above or below prior pivot high/low levels, helping traders spot significant breakout or breakdown points relative to recent pivots.
Alerts
Simple Breaks : Alerts you when a breakout occurs beyond the previous bar’s high or low. Pin Bars : Notifies you of potential reversal points as indicated by bullish or bearish pin bars. Outside Bars : Triggers an alert whenever an outside bar is detected, indicating possible volatility changes.
How to Use
VWAP for Trend Bias : Use the Quarterly VWAP line to gauge overall market trend, with settings that allow adjustment to daily, weekly, monthly, or even larger time frames.
Pin Bars for Reversal Potential : Look for the dot markers on candle wicks, where the strictness of the pin bar detection can be adjusted via settings to match your trading preference.
Simple and Pivot Breaks for Momentum : Watch for hollow candles and the tilde symbol ~ as indicators of potential breakout momentum and pivot break levels, respectively.
This script can serve traders on multiple timeframes, from daily to weekly and beyond. The flexible configuration allows for adjustments in VWAP anchoring and pin bar criteria, providing a tailored fit for individual trading strategies.
Pin Bar
Price Action StrategyThe **Price Action Strategy** is a tool designed to capture potential market reversals by utilizing classic reversal candlestick patterns such as Hammer, Shooting Star, Doji, and Pin Bar near dinamic support and resistance levels.
***Note to moderators
- The moving average was removed from the strategy because it was not suitable for the strategy and not participating in the entry or exit criteria.
- The moving average length has been replaced/renamed by the support/resistance lenght.
- The bullish engulfing and bearish engulfing patterns were also removed because in practice they were not working as entry criteria, since the candle price invariably closes far from the support/resistance level even considering the sensitivity range. There was no change in the backtest results after removing these patterns.
### Key Elements of the Strategy
1. Support and Resistance Levels
- Support and resistance are pivotal price levels where the asset has previously struggled to move lower (support) or higher (resistance). These levels act as psychological barriers where buying interest (at support) or selling interest (at resistance) often increases, potentially causing price reversals.
- In this strategy, support is calculated as the lowest low and resistance as the highest high over a 16-period length. When the price nears these levels, it indicates possible zones for a reversal, and the strategy looks for specific candlestick patterns to confirm an entry.
2. Candlestick Patterns
- This strategy uses classic reversal patterns, including:
- **Hammer**: Indicates a buy signal, suggesting rejection of lower prices.
- **Shooting Star**: Suggests a sell signal, showing rejection of higher prices.
- **Doji**: Reflects indecision and potential reversal.
- **Pin Bar**: Represents price rejection with a long shadow, often signaling a reversal.
By combining these reversal patterns with the proximity to dinamic support or resistance levels, the strategy aims to capture potential reversal movements.
3. Sensitivity Level
- The sensitivity parameter adjusts the acceptable range (Default 0.018 = 1.8%) around support and resistance levels within which reversal patterns can trigger trades (i.e. the closing price of the candle must occur within the specified range defined by the sensitivity parameter). A higher sensitivity value expands this range, potentially leading to less accurate signals, as it may allow for more false positives.
4. Entry Criteria
- **Buy (Long)**: A Hammer, Doji, or Pin Bar pattern near support.
- **Sell (Short)**: A Shooting Star, Doji, or Pin Bar near resistance.
5. Exit criteria
- Take profit = 9.5%
- Stop loss = 16%
6. No Repainting
- The Price Action Strategy is not subject to repainting.
7. Position Sizing by Equity and risk management
- This strategy has a default configuration to operate with 35% of the equity. The stop loss is set to 16% from the entry price. This way, the strategy is putting at risk about 16% of 35% of equity, that is, around 5.6% of equity for each trade. The percentage of equity and stop loss can be adjusted by the user according to their risk management.
8. Backtest results
- This strategy was subjected to deep backtest and operations in replay mode on **1000000MOGUSDT.P**, with the inclusion of transaction fees at 0.12% and slipagge of 5 ticks, and the past results have shown consistent profitability. Past results are no guarantee of future results. The strategy's backtest results may even be due to overfitting with past data.
9. Chart Visualization
- Support and resistance levels are displayed as green (support) and red (resistance) lines.
- Only the candlestick pattern that generated the entry signal to triger the trade is identified and labeled on the chart. During the operation, the occurrence of new Doji, Pin Bar, Hammer and Shooting Star patterns will not be demonstrated on the chart, since the exit criteria are based on percentage take profit and stop loss.
Doji:
Pin Bar and Doji
Shooting Star and Doji
Hammer
10. Default settings
Chart timeframe: 20 min
Moving average lenght: 16
Sensitivity: 0.018
Stop loss (%): 16
Take Profit (%): 9.5
BYBIT:1000000MOGUSDT.P
P.I.B. System (Pin Bar | Inside Bar) // AlgoFyreThe "P.I.B. System (Pin Bar | Inside Bar)" identifies bullish and bearish pin bars and inside bars on a price chart. It highlights potential market reversals by plotting labels and colorizing bars, providing traders with visual cues for better decision-making.
Description
The "P.I.B. System (Pin Bar | Inside Bar)" script is designed to help traders identify potential reversal points in the market by detecting bullish and bearish pin bars and inside bars. A pin bar is a candlestick pattern that indicates a potential reversal, characterized by a small body and a long wick. Inside bars are candlestick patterns where the current bar's high and low are within the previous bar's range, indicating potential consolidation before a breakout.
This script allows customization of various parameters to fine-tune the identification of pin bars and inside bars. When a pin bar or an inside bar is detected, the script plots a label on the chart and colorizes the bars to highlight these patterns. This tool is useful for traders looking to identify potential reversal points and make informed trading decisions.
Explanation of All Options
Pin-Wick Size Ratio Minimum Value : The minimum ratio of the wick size to the total candle size for a pin bar to be considered valid. Default is 0.66.
Candle Body Size Ratio Maximum Value : The maximum ratio of the body size to the total candle size for a pin bar to be considered valid. Default is 0.4.
Handle-Wick Wick Size Ratio Maximum Value : The maximum ratio of the opposite wick size to the total candle size for a pin bar to be considered valid. Default is 0.4.
Filter Out Small Candles : Option to filter out small candles based on the previous candle's size. Default is true.
Small Candle Size Ratio : The ratio used to determine if a candle is considered small compared to the previous candle. Default is 2.0.
Identify Inside Bars : Option to identify inside bars following a pin bar. Default is true.
Show Only P.I.B. : Option to show only the bars where a pin bar is followed by an inside bar. Default is true.
Hide Horizontal Rays : Option to hide horizontal rays drawn from the last identified pin bars. Default is false.
How to Use
To use this script, add it to your chart. Customize the input parameters to match your trading strategy. The script will automatically identify and highlight bullish and bearish pin bars and inside bars on the chart. Use the visual cues provided by the labels and colorized bars to make informed trading decisions.
Morning & Evening Star Pro (Candle Pattern)Hello Traders!
The Morning & Evening Star Pro indicator often catches the absolute top or bottom of a move and is a reliable reversal indicator. It also provides excellent entries in a strong trending market. For example, in an uptrend you can use a morning star as a pullback entry signal.
The indicator is an advanced tool for identifying powerful reversal patterns in the market. It combines traditional candlestick analysis with modern technical indicators to provide traders with high-probability entry and exit signals.
Key features:
Accurate pattern detection:
Utilizes sophisticated algorithms to identify genuine Morning Star and Evening Star patterns, filtering out false signals.
Trend filter:
Incorporates a customizable Simple Moving Average (SMA) to align signals with the overall market trend, enhancing trade quality.
Volatility awareness:
Integrates Average True Range (ATR) calculations to ensure detected patterns are significant relative to recent price action.
Visual clarity:
Highlights Morning Star and Evening Star patterns with customizable colors and shapes, making them easy to spot on the chart.
Flexible customization:
Offers a wide range of user inputs to tailor the indicator to various trading styles and preferences.
Filtered signal display:
Option to show filtered-out signals, providing insight into the indicator's decision-making process.
Morning Star
Is a bearish reversal (or continuation) pattern consisting of three candles:
A large bearish candle
A small-bodied candle like a Doji or Pin bar
A bullish candle
Evening Star
Is a bullish reversal (or continuation) pattern consisting of three candles:
A large bullish candle
A small-bodied candle like a Doji or Pin bar
A bearish candle
Key differences in this implementation
The middle candle can be either a Doji or a Pin bar, expanding the traditional definition.
The second candle can be a Pin bar, and the third candle can be an outside bar reversal, allowing for more flexibility in pattern recognition.
What makes this indicator unique
Comprehensive pattern analysis:
Goes beyond simple price action by considering multiple factors such as candle body ratios, wick lengths, and relative positions to previous candles.
Adaptive to market conditions:
Uses dynamic thresholds based on recent volatility (ATR) to adjust pattern detection criteria.
Educational value:
The option to display filtered signals helps traders understand why some patterns are rejected, aiding in skill development.
How to Trade with this Indicator:
This indicator often catches the absolute top or bottom of a move and is a reliable reversal indicator. It also provides excellent entries in a trending market. For example, in a strong uptrend you can use morning star signals to enter in a pullback.
Bullish Opportunities:
Look for Morning Star patterns (aqua-colored candles and labels) as potential buy signals.
Bearish Opportunities:
Watch for Evening Star patterns (orange-colored candles and labels) as potential sell signals.
Entry: At next bar open (after the aqua-colored candle for bullish or orange-colored candle for bearish completes)
Stop loss: 2 ticks below/above the pattern's low/high.
Stop loss alternative: If the colored candle is a very strong candle (e.g. for morning star a candle with almost no down wick and a close near the top) the stop goes 2 ticks below/above the colored candle.
Take profit: 3R or use a trailing stop.
Trend Alignment:
For conservative trading, only take trades in the direction of the overall trend as indicated by the SMA.
Note: if you want to see candle coloring of the morning and evening star, you must put the indicator to the top of the object tree.
Beno Pinbar v1Overview
This Pine Script indicator is designed to be the best tool available for detecting pinbars in the market. It focuses on specific conditions to identify pinbars accurately and suggests a strategy using Fibonacci levels for trading. There is no other indicator on TradingView capable of what this indicator does, making it unique and highly valuable for traders.
Key Features
Pinbar Detection Criteria:
The indicator only detects pinbars if the body of the candle is between the 1.0 Fibonacci level and the 0.618 Fibonacci level.
This strict criterion ensures that only the most reliable pinbars are identified, enhancing the accuracy of the indicator.
Trading Strategy:
Bullish Pinbar: Draw a Fibonacci retracement from the high price to the low price of the pinbar.
Take Profit (TP) Levels: Set at 1.618, 2.618, and 3.618 Fibonacci levels.
Stop Loss (SL): Set at the 0 Fibonacci level.
Bearish Pinbar: Draw a Fibonacci retracement from the low price to the high price of the pinbar.
Take Profit (TP) Levels: Set at 1.618, 2.618, and 3.618 Fibonacci levels.
Stop Loss (SL): Set at the 0 Fibonacci level.
Support and Resistance Consideration:
The indicator takes into account the support and resistance lines around the candle, adding an extra layer of reliability to the detected pinbars.
Time Frame Efficiency:
The indicator performs better on higher time frames, providing more reliable results and reducing the noise often found in lower time frames.
Uniqueness:
This indicator's ability to detect pinbars based on the strict Fibonacci criteria and its integration with support and resistance levels makes it unmatched by any other indicator available on TradingView.
How It Works
The indicator scans the chart for candles that meet the specific pinbar criteria (body between 1.0 and 0.618 Fibonacci levels).
Once a pinbar is detected, it highlights the candle and provides the Fibonacci levels for the suggested trading strategy.
The user can then place trades based on these levels, with clearly defined take profit and stop loss points.
Usage Tips
Use this indicator on higher time frames for the best results.
Combine the pinbar signals with other technical analysis tools and market context to enhance trading decisions.
Monitor support and resistance levels closely to validate the pinbar signals.
Arabic Version
مؤشر Pine Script لاكتشاف Pinbar
نظرة عامة
تم تصميم هذا المؤشر باستخدام Pine Script ليكون أفضل أداة متاحة لاكتشاف الشموع العاكسة (Pinbars) في السوق. يركز المؤشر على شروط محددة لاكتشاف الشموع العاكسة بدقة ويقترح استراتيجية باستخدام مستويات فيبوناتشي للتداول. لا يوجد أي مؤشر آخر على TradingView قادر على تحقيق ما يفعله هذا المؤشر، مما يجعله فريدًا وذو قيمة عالية للمتداولين.
الميزات الرئيسية
معايير اكتشاف الشموع العاكسة:
يكتشف المؤشر الشموع العاكسة فقط إذا كان جسم الشمعة بين مستوى فيبوناتشي 1.0 ومستوى فيبوناتشي 0.618.
يضمن هذا المعيار الصارم اكتشاف الشموع العاكسة الأكثر موثوقية فقط، مما يعزز دقة المؤشر.
استراتيجية التداول:
الشمعة العاكسة الصعودية: ارسم فيبوناتشي من أعلى سعر إلى أدنى سعر للشمعة العاكسة.
مستويات جني الأرباح (TP): يتم تحديدها عند مستويات فيبوناتشي 1.618، 2.618، و 3.618.
وقف الخسارة (SL): يتم تحديدها عند مستوى فيبوناتشي 0.
الشمعة العاكسة الهبوطية: ارسم فيبوناتشي من أدنى سعر إلى أعلى سعر للشمعة العاكسة.
مستويات جني الأرباح (TP): يتم تحديدها عند مستويات فيبوناتشي 1.618، 2.618، و 3.618.
وقف الخسارة (SL): يتم تحديدها عند مستوى فيبوناتشي 0.
Svopex Pin Bar DetectorThe Pin Bar Detector is a technical analysis tool designed to identify pin bar candlestick patterns on trading charts. A pin bar is characterized by a small candle body and a long shadow, indicating a significant rejection of prices that can signal potential reversals in the market.
Candlesticks Patterns [TradingFinder] Pin Bar Hammer Shooting🔵 Introduction
Truly, the title "TradingView" doesn't do justice to this excellent website, and that's why I've written about its crucial aspect. In this indicator, the identification of all candlesticks known as "Pin bars" is explored.
These candlesticks include the following:
- Hammer : A Pin bar formed at the end of a bearish trend, with its body being either bearish or bullish.
- Shooting Star : Formed at the end of a bullish trend, with its body being either bearish or bullish.
- Hanging Man : Formed during an upward trend, characterized by a candle with a lower shadow.
- Inverted Hammer : Formed during a downward trend, characterized by a candle with an upper shadow.
🟣 Important : For ease of use, we refer to these four candlestick patterns as Pin Bars and categorize them into the main friends "Bullish" and "Bearish."
🟣 Important : In all sources, Hanging Man and Inverted Hammer are referred to as "Reversal candles." However, in reality, whenever they appear after breaking a significant area (Break Out), we expect these candles to signal a continuation of the trend and confirmation in the direction of the trend.
🟣 Important : One of the best signs of market manipulation and entry by market giants is the "Ice Berg." So, it provides one of the best trading opportunities.
🔵 Reason for Creation
Many traders, especially volume traders, use Pin bars as confirmation and enter the market after their occurrence. In this indicator, all four patterns are identified and displayed in a colored candle format, using "triangle" and "circle."
When they are evident on the chart, directly or by drawing a horizontal line, they give us good alerts for reversal or continuation areas.
🔵 Information Table
1. Red circle: Pin bars formed in a downtrend.
2. Blue circle: Bullish Pin bars formed in an uptrend.
3. Black triangle: Bearish Pin bar candle in an uptrend.
4. Blue triangle: Bullish Pin bar candle in a downtrend.
🔵 Settings
Trend Detection Period: A special feature that considers smaller or larger fluctuations. If individual price waves need to be considered, use lower numbers; if the overall trend direction is desired, use larger numbers (e.g., 5-7 or higher). This precisely sets the Zigzag or Pivot format, not displayed but considered in the indicator calculation.
Trend Effect : By changing the Trend Effect status to "Off," all Pin bars, whether bullish or bearish, are displayed regardless of the current market trend. If the status remains "On," only Pin bars in the direction of the main market trend are shown.
🟣 Important : Black triangles "Number 3" and blue triangles "Number 4" displayed in the information table section, as explained in the "Information Table" section.
Show Bullish Pin Bar : When set to "Yes," displays bullish Pin bars; when set to "No," does not display them.
Show Bearish Pin Bar : When set to "Yes," allows the display of bearish Pin bars; when set to "No," does not display them.
Bullish Pin Bar Setting : Using the "Ratio Lower Shadow to Body" and "Ratio Lower Shadow to Higher Shadow" settings, you can customize your bullish Pin bar candles. Larger numbers impose stricter conditions for identifying bullish Pin bars.
Bearish Pin Bar Setting : Using the "Ratio Higher Shadow to Body" and "Ratio Higher Shadow to Lower Shadow" settings, you can customize your bearish Pin bar candles. Larger numbers impose stricter conditions for identifying bearish Pin bars.
Show Info Table : Allows the display or non-display of the information table (located at the bottom of the page and on the right side).
🔵 How to Use
At the end of a downtrend, look for "Hammer" candles, easily identified one by one.
To identify the "Shooting Star" candle pattern at the end of an uptrend; expect a price reversal in the downtrend.
For trades in the downward direction, wait for the formation of an "Inverted Hammer" Pin bar.
And finally, in an uptrend, where a "Hanging Man" candle can form.
🔵 Features
For better visualization, triangles and circles are used above the candles, but they can be easily removed. All Pin bars are displayed in color with the following meanings:
- Black-bodied candle: Inverted Hammer
- Turquoise blue candle: Hammer
- Pink candle: Hanging Man
- Red candle: Shooting Star
🟣 Important : The capability to detect the powerful two-candle pattern "Tweezer Top" at the end of an uptrend emerges by forming two "Shooting Star" candles side by side.
Similarly, the two-candle pattern "Tweezer Bottom" is created at the end of a downtrend with the formation of two "Hammer" candles side by side. To identify the "Tweezer" pattern, make sure the settings in the "Trend Effect" section are set to "Off."
🟣 Auxiliary Indicators
During the start of trading sessions such as Asia, London, and New York, where the highest liquidity exists, alongside this indicator, you can use the Trading Sessions indicator.
Sessions
The combination of Order Blocks "-OB" and "+OB" with candles is one of the best trading methods. The indicator that identifies order blocks, along with this indicator, can yield remarkable results in the success of Pin bar candles.
Order Blocks Finder
The trading toolset "TFlab" presents this indicator. To benefit from all indicators, we invite you to visit our page " TFlab Scripts ".
Pin Bar, Inside Bars and Engulfing Candle SticksIntroducing the Candlestick Pattern Plotter, a comprehensive TradingView indicator designed to elevate your technical analysis by automatically identifying and plotting three essential candlestick patterns – Pin Bars, Engulfing Candles, and Inside Bars. This powerful tool equips traders with a holistic view of market dynamics, enabling them to make informed decisions based on key price action signals.
Pin Bar Identification:
The indicator adeptly recognizes Pin Bars, a pivotal candlestick pattern characterized by a small body and a long wick in the opposite direction of the prevailing trend.
Pin Bars are instrumental in signaling potential trend reversals or continuations, providing crucial insights for strategic decision-making.
Engulfing Candle Detection:
Identify Engulfing Candles effortlessly with this indicator, showcasing instances where the body of one candle fully engulfs the body of the previous candle.
Engulfing Candles serve as powerful reversal indicators, offering valuable insights into shifts in market sentiment and potential trend reversals.
Inside Bar Recognition:
The indicator goes beyond traditional patterns by identifying Inside Bars, where the range of a candle is entirely within the previous candle's high and low.
Inside Bars often signify consolidation or a period of indecision in the market, providing traders with crucial information about potential breakouts or reversals.
Seamlessly integrate the Candlestick Pattern Plotter into your TradingView chart, enjoying a user-friendly interface for swift interpretation of candlestick patterns.
Toggle the display of Pin Bars, Engulfing Candles, and Inside Bars on and off with ease, allowing you to focus on the specific patterns most relevant to your analysis.
Real-Time Alerts:
Stay ahead of the market with real-time alerts that notify you when a Pin Bar, Engulfing Candle, or Inside Bar is identified on the chart.
Timely notifications keep you informed, ensuring you never miss a potential trading opportunity based on these crucial candlestick patterns.
Enhance your trading strategy with the precision of Pin Bars, Engulfing Candles, and Inside Bars, seamlessly integrated into your analysis through the Candlestick Pattern Plotter. Gain a comprehensive understanding of market movements and make well-informed decisions in real-time.
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!
Hammer and inverted Hammer
The "Hammer and Inverted Hammer" indicator is straightforward and effective. It automatically spots key candlestick patterns for you, making it easier to see potential market turns. You can also adjust a few settings to fit your trading style. Simple, yet quite handy for traders!
Alerts for Hammer Pattern: When the script identifies a Hammer pattern, it can trigger an alert. This is particularly useful if you're looking for potential bullish reversal signals and don't want to miss them.
Alerts for Inverted Hammer Pattern: Similarly, when an Inverted Hammer pattern is detected, the script can also trigger an alert. This is helpful for spotting potential bearish reversal signals.
SETTINGS EXPLAINED
Minimum Lower Tail Length (%): This setting allows you to define what percentage of the total candle size should be considered a significant lower tail. This is important for identifying the Hammer pattern.
Number of Consecutive Candles (for Lower Tails): This input lets you choose how many consecutive candles with significant lower tails must be present to identify a pattern.
Percentage of Candle Below Previous Low: This setting determines what percentage of the candle's range must extend below the lowest low of a specified number of previous candles. It's used to assess the significance of a Hammer pattern.
Number of Previous Candles for Lowest Low: This decides how many previous candles the script should look at to calculate the lowest low, which is then used in the Hammer pattern analysis.
Minimum Upper Tail Length (%): Similar to the lower tail setting, this defines the significant length of an upper tail, used for identifying the Inverted Hammer pattern.
Number of Consecutive Candles (for Upper Tails): This input is for setting how many consecutive candles with significant upper tails are required to confirm an Inverted Hammer pattern.
Percentage of Candle Above Previous High: This setting is used to determine how much of the candle's range must be above the highest high of a set number of previous candles, aiding in the identification of the Inverted Hammer pattern.
Number of Previous Candles for Highest High: It specifies the number of past candles to consider for calculating the highest high, which is important for the analysis of Inverted Hammer patterns.
These settings allow you to customize how the script identifies Hammer and Inverted Hammer patterns, making it adaptable to different trading strategies and market conditions.
Trend Pinbar PT49 by CuancuanIdea Behind:
Buying the short-term trend that shows a pin-bar candlestick pattern. Meant to be traded on a daily chart / higher timeframe.
To determine the short-term trend we use short EMA such as 8-16-30 and check the slope of each one, and definitely, the shorter one must be above the longer one for an uptrend. Vice versa for a downtrend.
To determine a pin-bar candlestick, I calculate that the body size (open to close) is at maximum a-third of the candle size (high to low). Besides that, I ensure that the close of the candle is above the shortest MA for bullish and below it for bearish.
As extra filters to reduce trade numbers:
1. Longer MA Filter = You can turn it off if you think the higher timeframe filter is unnecessary.
2. Slope Filter = To ensure the slope of the shorter MA is steeper rather than the mid-MA.
3. Size Filter = To check whether the overall candle size (high to low) is bigger than the ATR number. When the size filter is turned on, it removes small insignificant candles.
PS: Don't trade anything live unless you find it comfortable after backtesting it by yourself .
Pin Candle DetectionPin candles are a variation of hammer candles that are useful in technical analysis . In particular, when combined with volume profile studies, they can be a powerful set up for long entries or other decision making.
For example, when looking at volume profiles, a long entry would be a fair value area (i.e. 40%) below the close of a pin candle. When combined with a support level , the set up is stronger.
While most scripts look for hammer candles, pin candles are somewhat different in that the length of the wick is significant.
This script and its parameters was built for ES futures 15 min chart in mind.
This script is unique in that it allows for the below parameters to be adjusted to suit other instruments and timeframes:
1. Fib level: Candle must close within a certain retracement level). My preference is 0.55. Some traders like 0.5, while others prefer 0.33
2. Wick length: Pin candles differ from pure hammers in that the length of the wick must be significant. My preference is 7 points on ES (as in $ and not ticks)
Add this script to your alerts to no longer miss these set ups.
Engulfing Pinbar [serkany88]This is an experimental candlestick pattern that combines pinbars and engulfing patterns as my own implementation. These signals can be used as a possible reversal points based on timeframe used or set wick size. Of course these signals should never be used on their own but rather can be used as another confluence of possible entry signal.
Functional and Manual alerts provided with simple and clean code.
TLDR: Use as a possible reversal point for your entries in combination with your trend and volatility filters. Green means possible bullish move, Red means possible bearish move.
The Candle Hunter Candlestick Pattern - by Karoshi TradingThe Candle Hunter Indicator - by Karoshi Trading
The Candle Hunter Indicator is based on specific Candlesticks and Patterns.
Activating this indicator will mark all specific Bullish & Bearish Candles on the Chart.
Depending on your settings, not all candles will be displayed on the chart.
The goal of this indicator is, to highlight all the important trending candles and ignore all ranging candles.
This can be helpful for rejecting/bouncing zones or S&R Levels. Or even if you like to trade reversals, you do not want to trade it on low volume ranging candles.
This indicator should only be used as a supplementary tool while trading, not as a stand alone.
Which Candles & Pattern will be marked on the chart?
1# Pinbar / Hammer (multiple Variations)
2# Marubozu Candles (multiple Variations)
3# Engulfing Candles (Multiple Variations)
How does this indicator works?
First of all, the indicator has to calculate 3 different parameters, before marking one of the given candle. To do so, we will need the average volume, average candle size and the specific candles.
1st Parameter: Defining the needed Candles
First of all, the indicator will calculate, based on the opening & closing price and also the wick (range of each candle). If one of the calculation is a match, for the mentioned candles above, we come to step 2.
2nd Parameter: Average Candle Size
The next one is the size of each candle, compared to the average candle on the chart.
You can customize the settings, but in this example, we want the specific candle be at least 1.5 times the size of the average last 14 candles.
3rd Parameter: Average Volume
The indicator will now calculate the average volume of the last selected candles period (default settings = 14) and compare it to the current candle. In this example, the current candle should be at least 1.5 times the average volume.
The indicator provides two possibilities to calculate the average volume:
1# Volume MA = Volume Moving Average
2# Volume SA = Volume Simple Average
Result: Colorizing the given Candle
After all parameters were met, the indicator will colorize and mark with a label + name all the candles on the chart.
Special Settings:
1st The Engulfing Candles, have 3 different options:
1# Classic = Only the body of the previous candle has to be engulfed by the current candle
2# Reinforced = The full candle + wick of the previous candle has to be engulfed
3# Multiple Candles = Minimum 3 previous candles has to be engulfed to be marked on the chart
The numbers of candles are changeable and you can have all 3 options simultaneously active.
That means, that the code will check all 3 options to see if there is a match.
2nd Marubozu Candle
You can set the ratio between body compared to wick in the settings. Depends if you want full marubozu candles or also the variations of it.
3rd Hammer Wick
You can decide how much bigger the wick should be, compared to the body of the candle. The default settings are set on 1.5 times.
You can also set the position of the body. As example if the settings are set on 30%, the body of the hammer should be on the upper half of a bullish hammer or the lower 30% of the candle if bearish.
PinBar Detector [Mr_Zed]Pinbar Detector is a technical analysis tool designed to detect Pinbar patterns in financial markets. Pinbars are reversal patterns that indicate a potential change in trend.
This indicator is based on an existing Pinbar detector in MQ4/5 format, originally developed by "earnforex".
The PineScript version is written to work in TradingView, and can be applied to any chart to identify Pinbar formations. The indicator uses specific criteria to identify Pinbars, such as the length of the wick and the relationship between the wick and the body of the candlestick. By displaying the Pinbars on the chart, traders can make informed decisions about entering or exiting trades based on their analysis of the market's potential trend reversal.
enjoy !
Pinbar trailing stop strategyThe strategy finds the nearest pinbar pattern and opens a position (long or short). You choose your take profit and stop loss multiplier.
Take Profit - X times the pinbar size from it's highest point.
Stop loss - X times the pinbar size from it's lowest point.
You can find more detailed screenshots and the source-code on my github page: samgozman/pinbar-strategy-tradingview
Bollinger Band with Moving Average & Pin BarsThis indicator was specifically built to be used for trading the Scalpius Trading System promoted by @scottphillipstrading. Additionally I've added Daily and Weekly Highs, Lows and Central Pivot lines
The central indicators used in the Scalpius trading system which are included here are: The Bollinger Band, chart plotting of Pin Bars (Hammers & Shooting Stars) and an Exponential Moving Average.
In the settings the user has the option select EMA, SMA or WMA along with desired length, the default settings are 8EMA as per the Scalpius system rules. Also the Bollinger Band settings can be amended by the user and the Pin Bar chart plots and daily + weekly high and low plots can be removed by the user.
Pinbar IndicatorHello everyone, this is a simple script for determining a qualified Pinbar
(1) Indicator introduction
This indicator can combine multiple K-lines and determine whether the combined K-line is a qualified Pinbar
Supports the calculation of Pinbar strength and filters out undesirable Pinbars by a minimum threshold
(2) Parameter introduction
- Pinbar Pattern
Draw Pinbar Pattern Alert?: Display the Pinbar label or not
Pinbar Statistic Period: The statistic bars for calculating average values
Max Merged Bars: Maximum number of merged bars, default is 2
Min Pinbar Strength: Minimum Pinbar strength, default is 1.5
Happy trading and enjoy your life!
————————————————————————————————————————
各位朋友大家好,这是一个用于判断 Pinbar 的简单脚本
(1) 指标说明
该指标可以合并多跟 K线,然后判断合并后的 K 线是否是一个合格的 Pinbar
支持 Pinbar 强度的计算,并通过一个最低阈值过滤掉不理想的 Pinbar
(2) 参数说明
- Pinbar Pattern
Draw Pinbar Pattern Alert?: 是否需要显示 Pinbar 标签
Pinbar Statistic Period: 用于统计 Pinbar 的平均量的 bar 数量
Max Merged Bars: 最大合并 bar 的数量,默认为 2
Min Pinbar Strength: 最小的 Pinbar 强度,默认为 1.5
祝大家交易愉快
merge_pinbarLibrary "merge_pinbar"
merge_pinbar: merge bars and check whether the bar is a pinbar
merge_pinbar(simple, simple) merge_pinbar: merge bars and check whether the bar is a pinbar
Parameters:
simple : int period: the statistic bar period
simple : int max_bars: the max bars to be merged
Returns: array:
[astropark] SFP - Swing Failure PatternDear Followers,
today I'm glad to present you my Swing Failure Pattern Analyzer indicator.
As you know, the Swing Failure Pattern (SFP) is a very powerful candlestick pattern, because it highlights trend reversal points : if trend changes you want to know it, right?
This indicators highlights for you both Tops and Bottoms , that may be just local or historical.
To build this tool I mixed my experience on the field and some of the logic you can see in the following indicators of mine:
Pinbar that matters
Volume that matters
Volume Analyzer
This indicator works on every timeframe and market , it's quite responsive to market movements so it's especially good on volatile markets.
It is designed for fast day-trading / scalping , but as you trade on high timeframes is great for swing trades.
The indicator identifies candles that fall into the Swing Failure Patter category, but also candles other 4 categories of reversal candlestick pattern:
pinbar / hammer
hanged man
reversal by volume analysis
reversal by candle wicks analysis
Of course you can
customize colors
turn on or off what you prefer to see and what you don't
set alerts everything you see plotted
The indicator does NOT repaint of course.
This is a premium indicator , so send me a private message in order to get access to this script.
Trend lines + Pivot Levels + Candlestick PatternsThis is a pure PRICE ACTION indicator that will show you possible trend lines, pivot lines and candlestick patterns at once.
it has been designed to determine upper and lower trend lines in the chart and you can set candlestick patterns on them with alerts!
it means that you add the indicator to the chart and set the alert and done!
whenever a pinbar or engulf or breakout(in both directions) happens, you will be notified by alerts.
you also have pivot lines on the chart by this indicator. you can set the candlesticks on pivots instead of trend lines, so if you are a fan of support and resistance you can have this one, it depends on you.
all of the pivots and trend lines and also the candle sticks are customizable, so you can exactly select the pinbar, engulfing or breakout candle that matches with your mindset. for example you can set a pinbar that long shadow is 4 times or 3 times greater than the body, it's on you.
you can also customize trendlines or pivot lines, if you are scalper you can set it to small trend lines and if you are day trader or long term trader you can set it to the number that fits with your strategy.
trends and pivots will be updated automatically and there is no need to set it every time.
Be PROFITABLE!
$kMagician /*
hammerCandle & starCandleIn this scrip we have combine Pinbar Candlesticks calculated using Fibonacci, the bullish hammer candlestick and bearish star candlestick with EMAs and ATR.
I have used 12 Hour time frame which works well EUR/USD, this script works well on higher time frames such as Daily, 12 hours etc.
I have used 1.5 times the ATR as the stop loss and 1 times the ATR as the take profit as these risk to reward ratio gives us the best results for the 12 hour time frame for EUR/USD. Past result are not a prove of performance of the future.
I have added 1 for slippage and 1 for commission.
This script contains AutoView syntax and is fully automated if you connect TradingView to AutoView and a broker, prefebly Oanda.
This script uses two exponential moving averages for trend detection and Average True Range , ATR for stop loss and take profit targets. All of these setting are adjustable.
We only trade with the trend if the 50 period exponential moving averages is above the 200 period exponential moving averages, if a hammer candle is formed for entry.
Likewise with sell trade if a star candle is formed for entry and if the 50 period exponential moving averages is below the 200 period exponential moving averages.
This script does not trail your stop loss as I have noticed it does not give me good results. Stop loss is a fix stop loss based on Average True Range and so is the profit target.
This script has risk management, it risk a certain percent of the inputted capital amount in the setting. See settings for more details.
Note: Due to auto risk management this script only works on Forex.
Green line is 50 period exponential moving averages and red line is the the 200 period exponential moving average . Blue line is stop loss for long trade and black line stop loss for short trade.
Please trade at your own risk, all the setting in the script are adjustable for you to test before trading.
Many Thanks,
Honet Trader
Pinbar-Rejection-IndicatorThis indicator allows you to filter noisy pin bar chart, with pin bars which have been rejected from dynamic support/resistance level also named as 21 Moving Average.
I would consider to work only on higher time frames like 1H and higher, so you really can find only best entries.
Have fun, write your feedback in the comments section:)
P.S This is the first version of the indicator, so be free to contribute, and soon I'm going to improve this indicator.