Greed OscillatorThis Pine Script v6 component calculates and plots a "Greed Oscillator" based on the presence of bullish candlestick patterns (Marubozu, Bullish Engulfing, Hammer, and Three White Soldiers) over a user-defined lookback period.
How It Works:
User Inputs: length - The lookback period for calculating the oscillator, marubozuThreshold - The threshold for identifying Marubozu patterns, engulfingThreshold - The threshold for identifying Bullish Engulfing patterns, hammerThreshold - The threshold for identifying Hammer patterns, threeWhiteSoldiersThreshold - The threshold for identifying Three White Soldiers patterns.
Pattern Detection: The script defines functions to detect Marubozu, Bullish Engulfing, Hammer, and Three White Soldiers patterns. Patterns are identified based on the size of the body, wicks, and specific threshold criteria.
Score Calculation: The script calculates scores for each bullish pattern over the lookback period. These scores are normalized by dividing by the total number of candles in the period.
Greed Oscillator: The oscillator is calculated as the average of the normalized scores for the four bullish patterns.
Plotting: The Greed Oscillator is plotted on the chart, with reference lines for "Low Greed" and "High Greed" levels.
This indicator provides a visual representation of market greed, making it a useful tool for traders to assess bullish sentiment and identify potential reversal points or areas of heightened bullish activity. It works best in conjunction with other technical analysis tools to confirm signals.
נר אינגלפינג Engulfing Candle
Fear OscillatorThis Pine Script v6 component calculates and plots a "Fear Oscillator" based on the presence of bearish candlestick patterns (Shooting Star, Hanging Man, and Bearish Engulfing) over a user-defined lookback period.
How It Works:
User Inputs: length - The lookback period for calculating the oscillator, shootingStarThreshold - The threshold for identifying Shooting Star patterns, hangingManThreshold - The threshold for identifying Hanging Man patterns, engulfingThreshold - The threshold for identifying Bearish Engulfing patterns.
Pattern Detection: The script defines functions to detect Shooting Star, Hanging Man, and Bearish Engulfing patterns based on wick and body size ratios. Each pattern is checked for the given thresholds.
Score Calculation: The script calculates scores for each bearish pattern over the lookback period. These scores are normalized by dividing by the total number of candles in the period.
Fear Oscillator: The oscillator is calculated as the average of the normalized scores for the three patterns.
Plotting: The Fear Oscillator is plotted on the chart, with reference lines for "Low Fear" and "High Fear" levels.
This indicator is designed to provide a visual representation of market fear, making it a valuable tool for traders to assess bearish sentiment and identify potential reversal points or areas of heightened market risk. It is best used in conjunction with other technical analysis tools to confirm signals.
CHAKRA RISS ENGULFING CANDLESTICK STRATEGYChakra RISS Engulfing Candlestick Strategy
Type: Technical Indicator & Strategy
Platform: TradingView
Script Version: Pine Script v6
Overview:
The Chakra RISS Engulfing Candlestick Strategy combines a momentum-based approach using the Relative Strength Index (RSI) with Engulfing Candlestick Patterns to generate buy and sell signals. The strategy filters trades based on price movement relative to a 50-period Simple Moving Average (SMA), making it a trend-following strategy.
The indicator uses color-coded bars to visually represent market conditions, helping traders easily identify bullish and bearish trends. The strategy is designed to be dynamic, adapting to changing market conditions and filtering out noise using key technical indicators.
How It Works:
RSI-Based Color Conditions:
Green Bars: When the RSI crosses above a specified UpLevel (default: 50), indicating a bullish momentum and signaling potential buy conditions.
Red Bars: When the RSI crosses below a specified DownLevel (default: 50), indicating a bearish momentum and signaling potential sell conditions.
Buy Signal:
Triggered when the following conditions are met:
RSI crosses from below the UpLevel (default: 50) to above it, signaling increasing bullish momentum.
The close price is above the 50-period Simple Moving Average (SMA), confirming an uptrend.
The Buy Signal is plotted below the bar with a green arrow and a "BUY" label.
Sell Signal:
Triggered when the following conditions are met:
RSI crosses from above the DownLevel (default: 50) to below it, signaling increasing bearish momentum.
The close price is below the 50-period Simple Moving Average (SMA), confirming a downtrend.
The Sell Signal is plotted above the bar with a red arrow and a "SELL" label.
Stop Loss and Take Profit:
For long trades (buy signals), the stop loss is placed below the previous bar's low, and the take profit is set at 3% above the entry price.
For short trades (sell signals), the stop loss is placed above the previous bar's high, and the take profit is set at 3% below the entry price.
Dynamic Bar Coloring:
The bar colors change dynamically based on RSI levels:
Green Bars: Indicating a potential uptrend (bullish).
Red Bars: Indicating a potential downtrend (bearish).
These visual cues help traders quickly identify market trends and potential reversals.
Trend Filtering:
The 50-period Simple Moving Average (SMA) is used to filter trades based on the overall market trend:
Buy signals are only considered when the price is above the moving average, indicating an uptrend.
Sell signals are only considered when the price is below the moving average, indicating a downtrend.
Alerting System:
Alerts can be set for both buy and sell signals. These alerts notify traders in real-time when potential trades are generated, allowing them to act promptly.
Alerts can be configured to send notifications through email, SMS, or a webhook for integration with other services like IFTTT or Zapier.
Key Features:
RSI and Moving Average-Based Signals: Combines RSI with a moving average for more accurate trade signals.
Stop Loss and Take Profit: Dynamic risk management with custom stop loss and take profit levels based on previous high and low prices.
Buy and Sell Alerts: Provides real-time alerts when a buy or sell signal is triggered.
Trend Confirmation: Uses the 50-period Simple Moving Average to filter signals and confirm the direction of the trend.
Visual Bar Color Changes: Makes it easy to identify bullish or bearish trends with color-coded bars.
Usage:
This strategy is suitable for traders who prefer a trend-following approach and want to combine momentum indicators (RSI) with price action (Engulfing Candlestick patterns). It is particularly useful in volatile markets where quick identification of trend changes can lead to profitable trades.
Best Used For: Day trading, swing trading, and trend-following strategies.
Timeframes: Works well on various timeframes, from 1-minute charts for scalping to daily charts for swing trading.
Markets: Can be applied to any market with sufficient liquidity (stocks, forex, crypto, etc.).
Settings:
UpLevel: The RSI level above which the market is considered bullish (default: 50).
DownLevel: The RSI level below which the market is considered bearish (default: 50).
SMA Length: The period of the Simple Moving Average used to filter trades (default: 50).
Risk Management: Customizable stop loss and take profit settings based on price action (default: 3% above/below the entry price).
PreannFXExplanation of the PreannFX indicator:
Candle Body Size:
The body of the current candle is larger than the previous candle.
Bullish Engulfing:
The current candle closes higher than the previous candle's high.
The body size is larger than the previous candle.
Bearish Engulfing:
The current candle closes lower than the previous candle's low.
The body size is larger than the previous candle.
Entry and Exit:
Bullish: Enter at the previous candle's open or high, stop loss at the previous low, and take profit is 1:1 with the stop loss.
Bearish: Enter at the previous candle's open or low, stop loss at the previous high, and take profit is 1:1 with the stop loss.
Visualization:
Green upward arrows for bullish engulfing patterns.
Red downward arrows for bearish engulfing patterns.
Magic Candles PRO [MW]The Magic Candles indicator provides users with low risk/high reward entries on small candles with big volume. It uses calculations that uniquely define high volume/low price movement (volume hammer) candles and engulfing pattern candles. In theory, measuring a volume hammer candle seems relatively simple, but it is in the definition of high and low with respect to volume and price movement, and with respect to each other that requires a novel method of defining the relationship. The definition that is ultimately used gives users the ability to identify candles that typically precede large price movements, because the volume necessary to drive the price exists by definition even though it is not reflected in the size of the current candle.
Similarly, engulfing candle patterns are useful because they show an acceleration of price movement from the previous candle. The difficulty in calculating engulfing candles, as with volume hammer candles, is in the interpretation of candle size, or “engulfing”. In many cases, engulfing simply means that a candle has reversed direction from the previous candle, and the body of the previous candle sits between the open and close of the new candle. Sometimes wicks are used, sometimes they aren’t. Our differentiation is that we allow the user to change “engulfing” to their preference, so that it can include candle bodies, full candles, dojis, and candle patterns where the body of the previous candle is not necessarily in between the open and close of the new candle. It also uses a double stochastic calculation on ATRs that filter out engulfing candles that may not be as meaningful.
Settings
Volume Hammer Candles
ATR Period: The ATR period that is used to compare the candle size against. (Default: 5)
Candle Portion to Use: The candle size can be defined as just the body, or the entire candle. (Default: Candle Body)
Volume Absorption Threshold: The threshold for the volume ratio relative to the candle size ratio. (Default: 4.5)
Volume ATR Period: The ATR period that is used to compare the volume against. (Default: 3)
3 Consecutive Volume increases and 3 Bullish Candles: (Default: ON)
3 Consecutive Volume Increases and 3 Bearish Candles: (Default: ON)
2 Consecutive Volume increases Prior to Current Candle: (Default: ON)
Engulfing Pattern Candles
Show Engulfing Candles: (Default: ON)
Include Candle Wicks in Calculation: (Default: ON)
Show Bullish Candles: (Default: ON)
Show Bearish Candles: (Default: ON)
Use Dojis for Reversed Candles: Typically engulfing candles are compared against candles that are in the opposite direction of the new candle. However, dojis, or candles with small candle bodies and relatively large wicks, can be optionally used to measure against. (Default: OFF)
ATR Period 1: We use 2 levels of stochastic calculation to compare against in order to determine if an engulfing candle is valid. This is the shorter period ATR. (Default: 14)
ATR Period 2: The 2nd of 2 ATR periods used in a 2-level stochastic calculation that’s used to evaluate valid engulfing candles. (Default: 21)
Stochastic Period: The Stochastic Period used for both levels of ATR calculations. (Default: 14)
Smoothing: The period used to “smooth” the stochastic curves. (Default: 3)
Calculations
This indicator uses a comparison between relative volume (raw volume compared to its average true range) and relative price action as determined by candle size (specifically, candle size compared to the average true range of the candle size). The ratio between the relative volume and relative price action are compared as a ratio. Once that ratio hits a defined threshold a signal is generated in the form of a bright yellow bar, which we refer to as a “volume hammer”, because of the heavy volume acting on an unmoving object (price).
The indicator also identifies engulfing candle patterns by
Determining the candle body size or full candle size.
Checking to see if there was a reversal of direction, or checking to see if the first candle was a doji (small body with relatively large wicks).
Calculating the stochastic ATR patterns across two periods in order to normalize the ATR behavior for comparison.
Calculating the delta between those stochastic ATRs
Calculating the stochastic patterns of the delta between the stochastic ATRs to add further sensitivity to the comparison between candles.
How to Use
Volume Hammer
When a bright yellow bar appears in the lower window it means that the ratio of relative volume to relative price movement is very high, which indicates that a volatile move will occur within the next candle or so. In this scenario using a small risk that is not much larger than the candle itself can be paired with a large reward/risk ratio when setting a take profit target.
For example, if the body of a candle has a range of less than $0.02 and the full candle is less than $0.10 in range, then a $0.10 stop can be used with the expectation that the large volume will generate a volatile move in one direction or the other. The expected move is generally 3x the size of the full candle, but typically more.
Sometimes, however, that 3x move will reverse and turn into even a larger move in the opposite direction if a key support or resistance level is hit. So, it is very useful to use this indicator with a tool that can identify key support/demand zones and resistance/supply zones such as the Magic Order Blocks or QQQ and SPY Price Levels for equities based on the NASDAQ and S&P 500. It can also be combined with indicators that provide upper and lower bounds like Magic Linear Regression Channel , ATR Bands (Keltner Channel) Wick and SRSI Signals , and/or Bollinger Band Wick and SRSI Signals .
Additionally, the bright yellow candles have color-coded indicators that reflect the behavior of preceding volume behavior.
- Orange Dot - 3 consecutive candles of increasing volume
- Green Dot - 3 consecutive candles of increasing volume with a bullish candle pattern
- Red Dot - 3 consecutive candles of increasing volume with a bearish candle pattern
- Blue Dot - 2 consecutive candles of increasing volume followed by a candle with volume that is greater than the starting candle.
These only reflect the volume and candle pattern. They can provide insight, but should not be used as buy or sell signals, especially when encountered at key price levels.
Engulfing Candle Pattern
Frequently, the bright yellow bar in the lower window will be followed by an engulfing candle in the main chart. Engulfing candle patterns can themselves be useful on their own in a market that is not highly volatile. They tend to be indicative of price reversals, or trend continuations following consolidation. Following an engulfing candle, risk can be set at the “far end” of the candle with the expectation that if it does accurately define the direction, then the price will be less likely to go back to the candle’s starting price.
Other Usage Notes and Limitations
Occasionally a large gray bar will appear that is above the relative volume to relative candle size threshold. This indicates that although there is little price movement when compared to the volume, the actual volume is trailing off. This could lead to a quick move in a bullish or bearish direction, but it potentially would not be as sustained as in the case where volume has been consistently rising.
There are also faded yellow bars that appear when volume is increasing when the relative price movement is small. However, when the ratio of the relative volume is not large enough when compared to the price movement (i.e. it does not meet the threshold requirement) its color remains a dim yellow color.
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.
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.
Engulfing Pattern & Impulse [UAlgo]The Engulfing Pattern & Impulse is a tool designed for technical traders who utilize price action and volume analysis to assess market trends and potential reversals. This indicator identifies two powerful trading signals: Engulfing Patterns and Volume Impulses, which are essential components for evaluating potential bullish or bearish market momentum.
Engulfing Patterns are classic candlestick formations often associated with reversals or trend continuations, depending on the overall trend context. This indicator highlights both bullish and bearish engulfing patterns based on configurable criteria such as trend detection settings, comparison with average body size, and a customizable body multiplier for validation. The Volume Impulse feature signals moments of significant volume compared to historical levels, which often precede substantial price movements. Together, these features provide traders with a versatile tool for better timing entry and exit points.
The indicator also offers an adaptive trend detection system, allowing traders to choose from multiple methods (e.g., SMA50 or SMA50/SMA200 combinations) to assess the trend context, making it ideal for various market conditions.
🔶Key Features
Engulfing Pattern Detection: Identifies bullish and bearish engulfing patterns with customizable parameters, including body length and average size comparison.
Configurable trend basis: Choose between SMA50 or SMA50 with SMA200 to define trend direction.
Body size multiplier: Adjust the size threshold for valid engulfing patterns, providing flexibility based on market conditions.
Volume Impulse Signal: Highlights volume spikes that meet or exceed a specified multiplier, which can indicate increased buying or selling interest.
Customizable volume period and multiplier: Allows you to tailor the volume impulse detection based on the instrument’s average volume behavior.
Trend Detection Options: Select different trend detection methods to suit various trading styles and instruments.
SMA50-based detection: Classifies the trend based on the position of price relative to the 50-period SMA.
SMA50 and SMA200 combination: Incorporates a dual-moving average approach, classifying trends based on the relationship between price, SMA50, and SMA200.
Enhanced Visualization: Distinguishes bullish and bearish signals with customizable colors, providing clear and immediate visual cues for easy interpretation.
Custom label colors: Allows you to set distinct colors for bullish, bearish, and neutral signals for quick identification.
Pattern filtering: Enable or disable specific patterns (Bullish, Bearish, or Both) based on your trading preferences.
🔶 Interpreting Indicator
Bullish Engulfing Pattern: Indicates a potential bullish reversal in a downtrend. This signal occurs when a white candlestick with a body size exceeding a specified multiplier completely engulfs the previous black candlestick. The pattern will display a “BE” label below the candle if it meets the criteria, signaling potential upward momentum.
Bearish Engulfing Pattern: Indicates a potential bearish reversal in an uptrend. A black candlestick with a body size exceeding the specified multiplier fully engulfs the previous white candlestick, signaling possible downward movement. The “BE” label appears above the candle to denote this pattern.
Volume Impulse Up: Displays a “VI” label below the candle when the volume surpasses the defined multiplier, and the price closes higher than it opened, indicating strong upward buying interest.
Volume Impulse Down: Displays a “VI” label above the candle when the volume meets or exceeds the specified threshold, and the price closes lower than it opened, signaling strong selling pressure.
Indicator uses the SMA50 and SMA200 to determine trend direction due to their popularity in technical analysis as indicators of medium- and long-term trends. The SMA50 reflects the average price over the past 50 periods, providing insight into intermediate trends, while the SMA200 is often used to identify the broader trend direction. These SMAs help traders quickly assess whether the market is in an uptrend, downtrend, or consolidation phase, enhancing decision-making for both short-term and long-term strategies.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
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
Daily Engulfing Pattern DetectorThis indicator identifies bullish and bearish engulfing patterns on daily timeframes.
A bullish engulfing pattern occurs when a green candle completely engulfs the previous red candle,
taking out its low and closing above both its open and close prices. This suggests a potential trend reversal from bearish to bullish.
A bearish engulfing pattern occurs when a red candle completely engulfs the previous green candle,
taking out its high and closing below both its open and close prices. This suggests a potential trend reversal from bullish to bearish.
Features:
- Works on daily timeframe by default (customizable)
- Displays visual markers: green triangles for bullish patterns, red triangles for bearish patterns
- Includes built-in alerts for both pattern types
Set up alerts by right-clicking the indicator and selecting "Create Alert"
Engulfing Reversal Market PhaseStay at the right side of the market.
This indicator detects bullish and bearish phase in the market based on recent reversal.
It is designed to help filter your trades.
Open only long trades if indicator shows green and open only short trades when indicator shows red.
This indicator will detect bullish and bearish engulfing reversal pattern on the chart.
Bullish engulfing occurs when current candle closes below the bars that created the high.
Bearish engulfing occurs when current candle closes below the bars that created the high.
The reversal pattern occurs not only on a trend change, but can be also be present as a trend continuation pattern or a breakout pattern.
The indicator is able to detect 3 candle patterns and multi candle patterns if detects inside bars in the pattern.
Engulfing Candles Alert - Multi Symbol (Miu)This indicator plots triangle shapes on each engulfing candles (bullish or bearish) on current chart.
The main use for this indication is to set alerts on multiple symbols at once.
Please follow steps below to set your alarms:
1) Add indicator to the chart
2) Go to settings
3) Check symbols you want to receive alerts (choose up to 8 different symbols)
4) Check if you want only bullish or bearish alerts or both
5) Once all is set go back to the chart and click on 3 dots to set alert in this indicator, rename your alert and confirm
6) You can remove indicator after alert is set and it'll keep working as expected
What does this indicator do?
This indicator will generate alerts anytime a candle closes and reaches bullish or bearish engulfing condition for any of symbol set.
Alert messages example: "Bullish alert on {Symbol}"
This script requests open and close information for each symbol through request.security() built-in function.
Detailed indicator description:
If current bar open is less than or equal to the previous bar close AND current bar open is less than previous bar open AND current bar close is greater than previous bar open THEN True
bullishEngulfing = (openBarCurrent <= closeBarPrevious) and (openBarCurrent < openBarPrevious) and (closeBarCurrent > openBarPrevious)
The opposite condition will be bearishEngulfing
Feel free to give feedbacks on comments section below. Enhancement suggestions are welcome =).
Enjoy!
[DarkTrader] 3 Candle EG ZoneThe 3 Candle EG Zone indicator identifies engulfing patterns and plots dynamic boxes around these zones. The engulfing patterns are key reversal signals where one candle's body completely engulfs the body of the previous candle, indicating a shift in market sentiment. This indicator identifies both bullish and bearish engulfing patterns and draws visual boxes around them, which extend to the right on the chart to show how the zones evolve over time.
EG Calculation by @moamenmostafa Script.
Indicator In Use :
Customization Parameters :
Max EG Box Showing: Defines the maximum number of engulfing (EG) boxes that can be displayed on the chart simultaneously. This helps to limit chart clutter by ensuring that only a specified number of zones are visible.
Pivot EG Box Offset: Sets how far to extend the engulfing box to the right from the current candle. This makes the box continue into future price action, highlighting the significance of the engulfing zone.
Zone Color: Customizes the color and transparency of the engulfing zone box, allowing users to set their preferred color to differentiate bullish and bearish zones.
Bullish Engulfing (Bullish EG):
The code checks if the last three candles have been bearish (open higher than close), and then the current candle is bullish (close higher than open) with a strong upward move. Additionally, the bullish candle must engulf the previous bearish candle, indicating a potential upward reversal. If this condition is true, a box is drawn around the low and high of the last candle.
Bearish Engulfing (Bearish EG):
Similarly, the code checks for three consecutive bullish candles (open lower than close), followed by a bearish candle (open higher than close) that engulfs the previous bullish candle. This signifies a possible downward reversal, and a box is drawn around the last candle's range.
The script continuously checks for bullish or bearish engulfing patterns and dynamically draws boxes around those zones. The boxes remain visible as long as the price stays within the engulfing zone's range. If the price exceeds the zone, the box is deleted, ensuring that only valid and current zones are shown on the chart.
[TR] Engulf Patterns by SM
Engulf Pattern by SM
Overview:
The " Engulf Pattern by SM" script is designed to identify bullish and bearish engulfing candlestick patterns on TradingView charts. Engulfing patterns are significant in technical analysis as they often indicate potential reversals in market trends.
Features:
- Bullish Engulfing Pattern Detection: The script identifies bullish engulfing patterns, which occur when a larger bullish candle completely engulfs the body of the previous smaller bearish candle.
- Bearish Engulfing Pattern Detection: Similarly, it detects bearish engulfing patterns, where a larger bearish candle engulfs the body of the preceding smaller bullish candle.
- Body Size Filtering: The script includes a feature to filter patterns based on the size of the candle bodies, allowing for more precise marking of significant patterns.
- Visual Markers: The script plots visual markers on the chart to highlight the detected engulfing patterns, making it easy for traders to spot them.
How It Works:
1. Bullish Engulfing Pattern:
- The script checks for a smaller bearish candle followed by a larger bullish candle.
- The body of the bullish candle must completely cover the body of the bearish candle.
- The size of the bullish candle's body must meet a specified threshold to be considered significant.
2. Bearish Engulfing Pattern:
- The script looks for a smaller bullish candle followed by a larger bearish candle.
- The body of the bearish candle must completely engulf the body of the bullish candle.
- The size of the bearish candle's body must meet a specified threshold to be considered significant.
Usage:
- Add the Script: Apply the " Engulf Pattern by SM" script to your TradingView chart.
- Configure Settings: Customize the script settings to suit your trading strategy, including visual marker styles and body size thresholds.
- Monitor Visual Markers: Keep an eye on the visual markers to identify potential trading opportunities based on engulfing patterns.
Disclaimer:
This script is not intended to be used as a direct entry signal. It should be used as a confluence in your overall trading plan. Always conduct your own analysis and consider multiple factors before making any trading decisions.
Feel free to customize this writeup further to match your specific needs! If you have any other requests or need additional details, just let me know.
Engulfing Candles with Sweep by AydmaxxEngulfing Candles with Sweep Indicator
The "Engulfing Candles with Sweep" indicator identifies bullish and bearish engulfing candles that exhibit liquidity sweeps. It marks these significant candlestick patterns and draws a 50% Fibonacci retracement line from the high to low of the engulfing candle. The indicator helps traders spot potential reversal points where large market players might be accumulating or distributing positions.
Key Features:
Bullish Engulfing Candle with Sweep:
Identifies when a bullish candle (closing higher than it opened) engulfs the previous bearish candle (closing lower than it opened).
Ensures that the bullish candle’s low is lower than the previous candle’s low, indicating a sweep of liquidity.
Marks the identified bullish candle with a symbol below the candlestick.
Draws a 50% Fibonacci retracement line from the high to the low of the bullish engulfing candle.
Bearish Engulfing Candle with Sweep:
Identifies when a bearish candle (closing lower than it opened) engulfs the previous bullish candle (closing higher than it opened).
Ensures that the bearish candle’s high is higher than the previous candle’s high, indicating a sweep of liquidity.
Marks the identified bearish candle with a symbol above the candlestick.
Draws a 50% Fibonacci retracement line from the high to the low of the bearish engulfing candle.
Customizable Settings:
Fibonacci Line Color: Allows customization of the Fibonacci retracement line color for both bullish and bearish engulfing candles.
Fibonacci Line Style: Provides options to choose the line style (solid, dotted, dashed).
Fibonacci Line Width: Enables adjustment of the line width for better visibility.
Toggle Fibonacci Lines: Option to enable or disable the display of Fibonacci retracement lines.
How to Use:
Apply the indicator to your chart.
Look for symbols below or above the candlesticks, indicating bullish or bearish engulfing candles with liquidity sweeps.
Utilize the 50% Fibonacci retracement lines to identify potential support or resistance levels.
Benefits:
Helps in identifying key reversal patterns in the market.
Provides visual aids with Fibonacci retracement levels for potential entry and exit points.
Enhances trading decisions by confirming engulfing patterns with liquidity sweeps.
Candlestick Structure [LuxAlgo]The Candlestick Structure indicator detects major market trends and displays various candlestick patterns aligning with the detected trend, filtering out potentially unwanted patterns as a result. Multiple trend detection methods are included and can be selected by the users.
A dashboard showing the alignment percentage of each individual pattern is also provided.
🔶 USAGE
By distinguishing major and minor trend detection, we can still detect patterns based on minor trends, yet filter out the patterns that do not align with the major trend.
By detecting candlestick patterns that align with a major trend, we can effectively detect the ending points of retracements, potentially providing various entry points of interest within a trend.
Users are able to track the alignment of each candlestick pattern in the dashboard to reveal which patterns typically align with the trend and which may not.
Note: Alignment % only checks if the pattern's direction is the same as the current trend direction. These are only raw readings and not any type of confidence score.
🔶 DETAILS
In this indicator, we are identifying and tracking 16 different Candlestick Patterns.
🔹 Bullish Patterns
Hammer: Identified by a small upper wick (or no upper wick) with a small body, and an elongated lower wick whose length is 2X greater than the candle body’s width.
Inverted Hammer: Identified by a small lower wick (or no lower wick) with a small body, and an elongated upper wick whose length is 2X greater than the candle body’s width.
Bullish Engulfing: A 2 bar pattern identified by a large bullish candle body fully encapsulating (opening lower and closing higher) the previous small (bearish) candle body.
Rising 3: A 5 bar pattern identified by an initial full-bodied bullish candle, followed by 3 bearish candles that trade within the high and low of the initial candle, followed by another full-bodied bullish candle closing above the high of the initial candle.
3 White Soldiers: Identified by 3 full-bodied bullish candles, each opening within the body and closing below the high, of the previous candle.
Morning Star: A 3 bar pattern identified by a full-bodied bearish candle, followed by a small-bodied bearish candle, followed by a full-bodied bullish candle that closes above the halfway point of the first candle.
Bullish Harami: A 2 bar pattern, identified by an initial bearish candle, followed by a small bullish candle whose range is entirely contained within the body of the initial candle.
Tweezer Bottom: A 2 bar pattern identified by an initial bearish candle, followed by a bullish candle, both having equal lows.
🔹 Bearish Patterns
Hanging Man: Identified by a small upper wick (or no upper wick) with a small body, and an elongated lower wick whose length is 2X greater than the candle body’s width.
Shooting Star: Identified by a small lower wick (or no lower wick) with a small body, and an elongated upper wick whose length is 2X greater than the candle body’s width.
Bearish Engulfing: A 2 bar pattern identified by a large bearish candle body fully encapsulating (opening higher and closing lower) the previous small (bullish) candle body.
Falling 3: A 5 bar pattern identified by an initial full-bodied bearish candle, followed by 3 bullish candles that trade within the high and low of the initial candle, followed by another full-bodied bearish candle closing below the low of the initial candle.
3 Black Crows: Identified by 3 full-bodied bearish candles, each open within the body and closing below the low, of the previous candle.
Evening Star: A 3 bar pattern identified by a full-bodied bullish candle, followed by a small-bodied bullish candle, followed by a full-bodied bearish candle that closes below the halfway point of the first candle.
Bearish Harami: A 2 bar pattern, identified by an initial bullish candle, followed by a small bearish candle whose range is entirely contained within the body of the initial candle.
Tweezer Top: A 2 bar pattern identified by an initial bullish candle, followed by a bearish candle, both having equal highs.
🔹 Trend Types
Major trend is displayed at all times, the display will change depending on the trend method selected.
The minor trend can also be visualized; to avoid confusion, the minor trend can optionally be displayed through the candle colors.
Supertrend: Displays Upper and Lower SuperTrend, When we break above the upper, it is considered an Uptrend. When we break below the lower, it is considered a Downtrend.
EMAs: Displays Fast and Slow EMAs, When Fast>Slow, it is considered an Uptrend. When Fast<Slow, it is considered a Downtrend.
ChoCh: Displays ChoCh Lines and Labels, When a Bullish ChoCh occurs, it is now considered as an Uptrend. When a Bearish ChoCh occurs, it is now considered a Downtrend.
Donchian Channel: Displays the Highest and Lowest Values, When we break above the Highest, it is considered an Uptrend. When we break below the Lowest, it is considered a Downtrend.
Below is an example of the Change of Character (ChoCh) method of trend detection.
Note: In this description, each screenshot has a different trend method in use, scroll through if you are looking for a specific one.
🔶 SETTINGS
Candlestick Patterns: Choose which candlestick patterns to include in calculations.
Minor Trend Length: Determines the Donchian Channel length to use for minor trend identification.
Major Trend Method: Determines which trend method to use for identifying Major Trend.
Major Trend Parameters: Various inputs for controlling Major trends, depending on the specific method you have selected.
Color Candles: Colors the chart candles based on minor trend.
Dashboard: Control display size and location of Alignment Dashboard.
Engulfing Pattern Alerts By PropFirm AlgoWe have now decided to make this indicator to support the trading community! If you find yourself struggling to identify bullish engulfing and bearish engulfing candles, this one is for you.
Release Notes:
Initial release with robust detection of bullish and bearish engulfing patterns.
Added trend and volume filters for enhanced pattern accuracy.
Custom alerts for real-time notifications of potential trading opportunities.
Appendix 1 - Example Case of Use For Educational Study.
Appendix 2 - Technical description which focuses on explaining the functionality of the script, how the code works, and how it can be used by traders, providing further immediate insight value.
Appendix 1:
This indicator will provide you with Two types Bullish and Bearish Engulfing Alerts.
The Regular Bullish and Bearish Engulfing Candle's Shown As
Bullish Engulfing ︽
Bearish Engulfing ︾
And the Filtered Bullish and Bearish Engulfing Candle Shown As
Filtered Bullish Engulfing ⇡
Filtered Bearish Engulfing ⇣
You can also change the Alert Symbol to any text, symbol or emoji of choice in the Setting Style Panel . This allows you to customize the alert symbol style to your liking, Example....
Using the power of artificial intelligence, we coded this indicator based on technical descriptions to perfect this simple problem.
Use this tool together with different strategies as a confirmation to your trading bias.
Use Supply and Demand Zones together with the Engulfing Pattern Alerts
First, Verify if the bullish engulfing candle is at the end of a dying trend.
Secondly, Check if it’s at a major 1-hour, 4-hour, or daily support and resistance zone.
Then wait for the retest, then enter a position.
DON’T USE THE ENGULFING ALERT AS A POINT OF ENTRY, OR WHILE MARKETS ARE CONSOLIDATING nor in the middle of an active trend.
Now for the second most used method:
Use The Fibonacci together with the Engulfing Pattern Alerts
First, Identify an impulse candle that creates a new trend in the market.
Then Draw out your Fibonacci tool from the start of the candle to the end of the impulse leg where rejection is shown.
Wait for the price to retrace to the 61.8 retracement and use the engulfing candle as a second confirmation.
And lastly, wait for the price to retest the fib level showing signs of rejection, then enter.
Appendix 2:
Technical Description:
The "Engulfing Pattern Alerts By PropFirm Algo" script is a sophisticated tool designed to identify and alert traders of potential bullish and bearish engulfing patterns in the market, enhanced by trend and volume filters for improved accuracy. This script helps traders spot potential trend reversals by analyzing candlestick patterns in conjunction with volume data and moving averages.
Key Features:
Bullish Engulfing Pattern Detection: Identifies when a smaller bearish candle is followed by a larger bullish candle, indicating potential upward price movement.
Bearish Engulfing Pattern Detection: Identifies when a smaller bullish candle is followed by a larger bearish candle, indicating potential downward price movement.
Volume Filter: Enhances pattern reliability by ensuring the identified pattern is accompanied by a significant volume increase.
Trend Filter: Utilizes Simple Moving Averages (SMA) to filter patterns based on the prevailing market trend, reducing false signals on the "Filtered Engulfing Alerts" Setting.
Custom Alerts: Configurable alerts for both bullish and bearish engulfing patterns, allowing traders to stay informed in real-time.
How It Works:
Bullish Engulfing Pattern:
Detected when the body of the current candle completely engulfs the body of the previous candle.
Confirmed if the current candle closes higher than it opens, and the previous candle closes lower than it opens.
Volume on the current candle must be greater than the previous candle.
Bearish Engulfing Pattern:
Detected when the body of the current candle completely engulfs the body of the previous candle.
Confirmed if the current candle closes lower than it opens, and the previous candle closes higher than it opens.
Volume on the current candle must be greater than the previous candle.
Trend Filter:
Uses moving averages to determine the market trend.
Bullish patterns are only considered in downtrends.
Bearish patterns are only considered in uptrends.
Alerts:
Alerts can be set up for both bullish and bearish patterns, ensuring you are notified when significant market movements are detected.
How to Use:
Add the script to your chart.
Configure the alert settings according to your trading preferences.
Monitor your chart for plotted symbols indicating potential bullish (︽) and bearish (︾) engulfing patterns.
Utilize the alert conditions to get notified when these patterns occur.
EngulfScanEngulf Scan
Introduction:
The Engulf Scan indicator helps users identify bullish and bearish engulfing candlestick patterns on their charts. These patterns are often used as signals for trend reversals and are important indicators for traders. Engulf Scan signals are generated when an engulfing pattern is swallowed by another candlestick of the opposite color.The signal of a candle engulfment formation is generated when the 1st candle is engulfed by the 2nd candle and the 2nd candle is engulfed by the 3rd candle.
Features:
Bullish Engulfing Pattern: Indicates the start of an upward trend and typically signals that the market is likely to move higher.
Bearish Engulfing Pattern: Indicates the start of a downward trend and typically signals that the market is likely to move lower.
Color Coding: Users can customize the background colors for bullish and bearish engulfing patterns.
Usage Guide:
Adding the Indicator: Add the "Engulf Scan" indicator to your TradingView chart.
Color Settings: Choose your preferred colors for bullish and bearish engulfing patterns from the indicator settings.
Pattern Detection: View the engulfing patterns on the chart with the specified colors and symbols. These patterns help identify potential trend reversal points.
Parameters and Settings:
Bullish Engulfing Color: Background color for the bullish engulfing pattern.( Green)
Bearish Engulfing Color: Background color for the bearish engulfing pattern. (Red)
Examples:
Bullish Engulfing Example: On the chart below, you can see bullish engulfing patterns highlighted with a green background. (Green)
Bearish Engulfing Example: On the chart below, you can see bearish engulfing patterns highlighted with a red background. (Red)
Frequently Asked Questions (FAQ):
How are engulfing patterns detected?
Engulfing patterns are formed when a candlestick completely engulfs the previous candlestick. For a bullish engulfing pattern, a bullish candlestick follows a bearish one. For a bearish engulfing pattern, a bearish candlestick follows a bullish one.
Which timeframes work best with this indicator?
Engulfing patterns are generally more reliable on daily and higher timeframes, but you can test the indicator on different timeframes to see if it fits your trading strategy.
Can I detect a reversal or trend?
As can be seen in the image, it sometimes appears as a return signal and sometimes as a harbinger of an ongoing trend.But it may be a mistake to use the indicator only for these purposes. However, this indicator may not be sufficient when used alone. It can be combined with different indicators from the Tradingview library.
Updates and Changelog:
v1.0: Initial release. Added detection and color coding for bullish and bearish engulfing patterns.
-Please feel free to write your valuable comments and opinions. I attach importance to your valuable opinions so that I can improve myself.
CandleStick [TradingFinder] - All Reversal & Trend Patterns🔵 Introduction
"Candlesticks" patterns are used to predict price movements. We have included 5 of the best candlestick patterns that are common and very useful in "technical analysis" in this script to identify them automatically. The most important advantage of this indicator for users is saving time and high precision in identifying patterns.
These patterns are "Pin Bar," "Dark Cloud," "Piercing Line," "3 Inside Bar," and "Engulfing." By using these patterns, you can predict price movements more accurately and therefore make better decisions in your trades.
🔵 How to Use
Pin Bar : This pattern consists of a Candle where "Open Price," "Close Price," "High Price," and "Low Price" form the "Candle Body," and it also has "Long Shadow" and "Short Shadow." In the visual appearance of the Pin Bar pattern, we have a candle body and a pin bar shadow, where the candle body is smaller relative to the shadow.
Just as the candle body plays an important role in analysis, the pin bar shadow can also be influential. The larger the pin bar shadow, the stronger the expectation of a trend reversal.
When a "bearish pin bar" occurs at resistance or the chart ceiling, it can be predicted that the price trend will be downward. Similarly, at support points and the chart floor, a "bullish pin bar" can indicate an upward price movement.
Additionally, patterns like "Hammer," "Shooting Star," "Hanging Man," and "Inverted Hammer" are types of pin bars. Pin bars are formed in two ways: bullish pin bars have a long lower shadow, and bearish pin bars have a long upper shadow. Important: Displaying "Bullish Pin Bar" is labeled "BuPB," and "Bearish Pin Bar" is labeled "BePB."
Dark Cloud : The Dark Cloud pattern is one type of two-candle patterns that occurs at the end of an uptrend. The 2-candle pattern indicates the shape of this pattern, which actually consists of 2 candles, one bullish and one bearish. This pattern indicates a trend reversal and is quite powerful.
The Dark Cloud pattern is seen when, after a bullish candle at the end of an uptrend, a bearish candle opens at a higher level (weakly, equal, or higher) than the closing point of the bullish candle and finally closes at a point approximately in the middle of the previous candle. In this indicator, the Dark Cloud pattern is identified as "Wick" and "Strong" .
The difference between these two lies in the strictness of their conditions. Important: Strong Dark Cloud is labeled "SDC," and Weak Dark Cloud is labeled "WDC."
Piercing Line : The Piercing candlestick pattern consists of 2 candles, the first being bearish and consistent with the previous trend, and the second being bullish. The conditions of the pattern are such that the first candle is bearish and a price gap is created between the two candles upon the opening of the next candle because its opening price is below (weakly equal to or less than) the closing price of the previous candle.
Additionally, its closing price must be at least 50% above the red candle.
This means that the second candle must penetrate at least 50% into the first candle. Important: Strong Piercing Line is labeled "SPL," and Weak Piercing Line is labeled "WPL."
3 Inside Bar (3 Bar Reversal) : The 3 Inside Bar pattern is a reversal pattern. This pattern consists of 3 consecutive candles and can be either bullish or bearish. In the bullish pattern (Inside Up) formed at the end of a downtrend, the last candle must be bullish, and the third candle from the end must be bearish.
Additionally, the close price must be more than 50% of the third candle from the end. In the bearish pattern (Inside Down) formed at the end of an uptrend, the last candle must be bearish, and the third candle from the end must be bullish. Additionally, the close price must be less than 50% of the third candle from the end. Important: Bullish 3 Inside Bar is labeled "Bu3IB," and Bearish 3 Inside Bar is labeled "Be3IB."
Engulfing : The Engulfing candlestick pattern is a reversal pattern and consists of at least two candles, where one of them completely engulfs the body of the previous or following candle due to high volatility.
For this reason, the term "engulfing" is used for this pattern. This pattern occurs when the price body of a candle encompasses one or more candles before it. Engulfing candles can be bullish or bearish. Bullish Engulfing forms as a reversal candle at the end of a downtrend.
Bullish Engulfing indicates strong buying power and signals the beginning of an uptrend. This pattern is a bullish candle with a long upward body that completely covers the downward body before it. Bearish Engulfing, as a reversal pattern, is a long bearish candle that engulfs the upward candle before it.
Bearish Engulfing forms at the end of an uptrend and indicates the pressure of new sellers and their strong power. Additionally, forming this pattern at resistance levels and the absence of a lower shadow increases its credibility. Important: Bullish Engulfing is labeled "BuE," and Bearish Engulfing is labeled "BeE."
🔵 Settings
This section, you can use the buttons "Show Pin Bar," "Show Dark Cloud," "Show Piercing Line," "Show 3 Inside Bar," and "Show Engulfing" to enable or disable the display of each of these candlestick patterns.
Engulfing [TradingFinder] Bullish & Bearish CandleStick Pattern🔵 Introduction
The candlestick engulfing pattern is important pattern in technical analysis that can be observed in candlestick charts. This pattern occurs when a complete candle engulfs or "engulfs" the body of a previous candle, meaning that the body of the new candle completely covers the body of the previous candle.
The candlestick engulfing pattern has two types: the bullish engulfing pattern and the bearish engulfing pattern.
• Bullish Engulfing Pattern: This pattern occurs when a market candle opens with a larger and higher body than the previous market candle and completely covers the body of the previous candle. This pattern may indicate the presence of strong buying pressure and a potential change in price direction upwards.
• Bearish Engulfing Pattern: This pattern occurs when a market candle opens with a larger and lower body than the previous market candle and completely covers the body of the previous candle. This pattern may indicate the presence of strong selling pressure and a potential change in price direction downwards.
The candlestick engulfing pattern is usually used as a valid signal for a change in price direction in the market and can enhance a combination of crossover investments and technical analysis. However, it should always be evaluated alongside other indicators and market factors, and counter decisions should be made accordingly.
🔵 Recognition Method
Correct, the candlestick engulfing pattern is one of the important patterns in technical analysis that is typically used as a strong signal for a valid change in price direction in the market. This pattern occurs when a candle (usually in the market) opens with a larger and higher (for bullish engulfing pattern) or lower (for bearish engulfing pattern) body than a previous market candle and completely covers the body of the previous candle.
Example of Bullish Engulfing Pattern:
• First Candle: A bearish (downward) candle with a small red body.
• Second Candle: A bullish (upward) candle with a larger body that completely covers the body of the previous candle.
This pattern may indicate a change in price direction from downward to upward.
Example of Bearish Engulfing Pattern:
• First Candle: A bullish (upward) candle with a small green body.
• Second Candle: A bearish (downward) candle with a larger body that completely covers the body of the previous candle.
This pattern may indicate a change in price direction from upward to downward.
The most important point is that the candlestick engulfing pattern should be carefully considered and always evaluated alongside other market indicators and overall conditions. For example, the engulfing pattern near important support or resistance levels, during significant market command changes, or accompanied by other technical signals can have greater signaling power.
🟣 "Bullish Engulfing" Candle
• The first candle is bullish and the second candle is bearish.
• At the end of a downtrend.
• The closing of the first candle is above the opening of the second candle.
• The high of the first candle is higher than the high of the second candle.
Optimal Condition:
• The closing of the first candle is higher than the high of the second candle.
• More than 80% of the first candle is bullish.
🟣 "Bearish Engulfing" Candle
• The first candle is bearish and the second candle is bullish.
• At the end of an uptrend.
• The closing of the first candle is below the opening of the second candle.
• The low of the first candle is lower than the low of the second candle.
Optimal Condition:
• The closing of the first candle is below the opening of the second candle.
• More than 80% of the first candle is bearish.
🔵 Settings
The "Engulf Filter" option allows the "Optimal Condition" to be executed and will show fewer candlesticks.
🔵 Status
Off: Default mode, showing more identifications.
• Green color indicates optimal "Bullish Engulfing" candles.
• Red color indicates optimal "Bearish Engulfing" candles.
On: By changing the default to "On," the number of identifications decreases and the optimal condition is applied.
• Blue color indicates "Bullish Engulfing" candles.
• Black color indicates "Bearish Engulfing" candles.
🟣 Important Note
"Engulfing" candles are very useful signals in the direction of the overall trend, but we do not expect a suitable movement from "Engulfing" candles against the trend.
Fetch EngulfingBuysThis script makes use of bullish engulfing candles, trend analysis, and time.
The trend is devided between an up- and downtrend. This is based on a simple cross over strategy, using the 9 and 50 moving averages.
The buys are calculated based on how many times a bullish engulfing candle was displayed on the chart during a downtrend. Bullish engulfing candles in an uptrend will never result in a buy signal.
The sells are simply based on time. This means that the script counts how many days you have been in a trade. The default is 100 candles. You can tweak this in the settings of the indicator.
Finally, this script does not provide you with any stop-losses. I am planning on releasing a v2 once I figured out what a good balance is. Also, you might notice that there are more buys than sells. This is because only the first trade in the series is tracked. V2 could improve on this flaw of the indicator.
Hope you enjoy this first iteration of the indicator.
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.
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.
Trend-based Price Action StrategyThis is a strategy script that combines trend-based price action analysis with the Relative Strength Index (RSI) and Exponential Moving Averages (EMA) as trend filters. Here's a summary of the key components and logic:
Price Action Candlestick Patterns:
Bullish patterns: Engulfing candle and Morning Star.
Bearish patterns: Engulfing candle and Evening Star.
RSI Integration:
RSI is used to identify overbought and oversold conditions.
EMA Trend Filter:
Three EMAs with different periods: Fast , Medium and Slow.
Long trend condition occur when the fast EMA is above the medium and the medium is above the slow EMA.
Short trend condition occur when the slow EMA is above the medium and the medium is above the fast EMA.
Long entry conditions: RSI is oversold, RSI is decreasing, bullish candlestick pattern, and EMA trend filter conditions are met.
Short entry conditions: RSI is overbought, RSI is decreasing, bearish candlestick pattern, and EMA trend filter conditions are met.
Exit conditions:
Take profit or stop loss is reached.
Plotting:
Signals are plotted on the chart when entry conditions are met.
EMAs are plotted when the EMA trend filter is enabled.
This script aims to capture potential trend reversal points based on a combination of candlestick patterns, RSI, and EMA trend analysis.
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.