Engulfing and Doji Scanner with SLThe Bullish Engulfing pattern occurs when the close is higher than the open, and scripts will look for this pattern by checking the difference in the close and open prices sufficiently in pips. Likewise, the Bearish Engulfing pattern occurs when the close is lower than the open, and scripts will look for this pattern by checking for sufficient difference in the open and close in pips.
The Doji pattern occurs when the absolute difference between the open and close prices is very small compared to the price range for that period. The script will look for these patterns by comparing the difference between the open and close prices by a certain percentage of the price range.
After the patterns are detected, the script will calculate the Stop Loss (SL) and Take Profit (TP) levels based on the parameters set. The SL level will be determined based on the lowest price range with certain adjustments, while the TP level is calculated using a 1:1 ratio to the SL distance.
This script will display arrows and Stop Loss and Take Profit labels on the chart to assist traders in identifying relevant patterns and levels. However, it is important to remember that these scripts only assist in the analysis of patterns and levels, and a more complete trading strategy and decision-making remains the responsibility of the trader.
รูปแบบแท่งเทียน แบบกลืนกิน
Liquidity Engulfing & Displacement [MsF]Japanese below / 日本語説明は英文の後にあります。
-------------------------
*This indicator is based on upslidedown's "Liquidity Engulfing Candles ". It's a very cool indicator. thank you.
It has 2 functions: show the Liquidity Engulfing on HTF and candle color change when displacement occurs.
=== Function description ===
1. Liquidity Engulfing on HTF
This indicator gives Liquidity Engulfing signals not only for the current candle, but also for H4 and H1 on HTF.
You can use that a bullish engulfing on H1 is a BOS on m5 and on H4 is a BOS on m15. It uses the theory of stop hunt from ICT.
Also, It's possible to fire alert.
2. Displacement
Change the color display of the candlesticks when a bullish candleStick or bearish candleStick is attached. Furthermore, by enabling the "Require FVG" option, you can easily discover the FVG (Fair Value Gap). It is a very useful function for ICT trading.
When H1 candle takes liquidity from one side and moves with an explosive move to the other side of the previous candle (displacement), it creates break of market structure on M5. Entry on discount FVG or OTE with stop loss at or below the stop hunt wick.
=== Parameter description ===
- Liquidity engulfing candles(LEC) SETTING
- Show H1 LEC … Whether to show LEC for H1
- Show H4 LEC … Whether to show LEC for H4
- Show Current LEC … Whether to show LEC for current timeframe
- Apply Stop Hunt Wick Filter … Require candle wick into prior candle retracement zone
- Apply Close Filter … Require LL/HH on candle in order to print a valid engulfing signal
- DISPLACEMENT SETTING
- Require FVG … Draw only when FVG occurs
- Displacement Type … Displacement from open to close? or from high to low?
- Displacement Length … Period over which to calculate the standard deviation
- Displacement Strength … The larger the number, the stronger the displacement detected
-------------------------
2つの機能があります: 上位足のLiquidity engulfing(流動性獲得)を表示することと、大きな変位が発生したときにローソク足の色を変更することです。
=== 機能説明 ===
1. 上位足のLiquidity engulfing
このインジケーターは、現在のローソク足だけでなく、上位足の H4 および H1 に対してもLiquidity engulfingシグナルを提供します。
H1はm5、H4はm15での使用を推奨します。これはICTのストップハント理論を活用しています。また、アラートを発することも可能です。
2. 変位(DISPLACEMENT)
大きな陽線、陰線を付けた場合に、そのローソク足をカラー表示を変更します。
さらに"Require FVG"オプションを有効にすることで、FVG(Fair Value Gap)を容易に発見することができます。ICTトレードにを行うにあたり大変有用な機能となっています。
=== パラメータの説明 ===
- Liquidity engulfing candles(LEC) SETTING
- Show H1 LEC … H1のLECを表示するかどうか
- Show H4 LEC … H4のLECを表示するかどうか
- Show Current LEC … 現在の期間の LEC を表示するかどうか
- Apply Stop Hunt Wick Filter … ハラミ足、もしくは包み足になっている場合のみに検知させる
- Apply Close Filter … 1つ前のローソクよりも終値で超えていた場合のみに検知させる
- DISPLACEMENT SETTING
- Require FVG … FVG発生時のみ描画する
- Displacement Type … openからcloseまでの変位か?highからlowまでの変位か?
- Displacement Length … 標準偏差を計算する期間
- Displacement Strength … 変位の強さ(数字が大きいほど強い変位を検出)
Bull & Bear Engulfing - 3 Strike and 180 CandlesHello, SenatorVonShaft here.
This indicator shows 3 differend candlestick formations:
1- Bullish & Bearish Engulfing Candle
2- Bullish & Bearish 3 Strike Candle
3- Bullish & Bearish 180 Degree Candle
It has 3 variables
1- Bar Fullness - Differs from %50 - %100 showing 1 candle's fullness
2- Avg. Backwds Candls - Gets the average weight of the backward candles
3- Avg. Bar Height Multiplier - This variable is multiplied by above value to determine engulfing candles.
Plots:
- Green & Red Arrows Only : Shows Bullish & Bearish engulfing candles
- Green & Red 180 : Shows a bullish or bearish engulfing candle taken over by a bigger opposite candle
- Green & Red 3S : Shows bullish & bearish 3 strike candle formation
Please feel free to comment your thoughts below.
See you.
FRAMA and Candlestick Patterns [CSM]FRAMA (Fractal Adaptive Moving Average) is a technical analysis indicator that adapts its smoothing period according to the market's volatility, allowing it to provide accurate signals in all market conditions. This indicator script plots the FRAMA on a chart and generates buy and sell signals based on the FRAMA and candlestick patterns. It also includes an option to filter signals based on bullish and bearish engulfing patterns.
To detect candlestick patterns, the script imports the "BankNifty_CSM" library from the creator's public library on TradingView. The FRAMA calculation is done using a loop that iterates over the last "length" number of bars, with the smoothing factor adjusted based on the "fracDim" parameter.
The buy and sell signals are generated based on the position of the current price relative to the FRAMA line. If the "engulfing" parameter is set to true, the signals are further filtered based on bullish and bearish engulfing patterns.
Overall, this script combines various technical indicators and candlestick pattern recognition to provide a complete trading strategy. However, as with any trading strategy, it should be thoroughly backtested and evaluated before using it in a live trading environment.
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.
FOREX MASTER PATTERN Companion ToolWhat This Indicator Does
The Forex Master Pattern uses candlesticks, which provide more information than line, OHLC or area charts. For this reason, candlestick patterns are a useful tool for gauging price movements on all time frames. While there are many candlestick patterns, there is one which is particularly useful...
The Engulfing Pattern
An engulfing pattern provides an excellent trading opportunity because it can be easily spotted and the price action indicates a strong and immediate change in direction. In a downtrend, an up candle real body will completely engulf the prior down candle real body (bullish engulfing). In an uptrend a down candle real body will completely engulf the prior up candle real body (bearish engulfing).
Used in conjunction with the FOREX Master Pattern value line, the Engulfing Pattern can assist the trader with reversal timing or trend confirmation during the expansion and trend phases.
As shown in the screenshot below. Engulfing Candles usually precede a sharp move in price in the direction of the engulfing candle.
As shown in the screenshot below, when the Show Lines option is ON while using the indicator, both red and green lines are drawn on the chart automatically when engulfing candles form. These lines are projected forward 100 bars and tend to be reliable support and resistance areas. These areas are typically hidden from view.
In addition to the Show Lines option, the indicator (by default) creates boxes around trading zones that are created when an engulfing candle is formed. (There is an option to hide these from view if desired).
As seen in the screenshot below, these areas / zones are wider than a line and encompass a resistance / support zone rather than a specific price. Liquidity is usually high in these areas and a lot of selling / buying occurs here. These zones are drawn in advance out into the future giving the trader an idea of where price will revert to eventually.
A combination of LINES and AREAS can be used giving the user a better idea of where within the zone price will go.
As seen on the screenshot below, this combination provides a pretty accurate indication of the reversal point well in advance.
As seen in the screenshot below, when a ZONE / AREA has been fully breached (crossed) by price, the area is deactivated an no longer continues forward on the chart. Until price breaches an area, it remains valid and continues on the chart until and only if it is breached by price.
The Indicator is fully customizable.
The use can change the color of the engulfing candles, the color of the zones, transparency etc. You can turn OFF or ON any of the features such as lines, zones, bar coloring, and plotted arrows.
I really hope you get value from this indicator and... HAPPY TRADING!!
AI-EngulfingCandleThis script is the combination of RSI and Engulfing Pattern
How it works
1. when RSI > 70 and form the bullish engulfing pattern . it gives sell signal
2. when RSI < 30 and form the bearish engulfing pattern . it gives buy signal
settings:
basic setting for RSI has been enabled in the script to set the levels accordingly to your trades
Liquidity Engulfing Candles [upslidedown]Liquidity engulfing candles (LEC) are a variant of a common candlestick pattern: engulfing candles but with a couple extra conditions applied. These conditions expect highs/lows to be taken out in order to show a continuation or reversal signal.
Filter 1: Stop Hunt Wick Filter
This filter requires the candle to wick into the prior candles high or low ( bullish = wick below prior candle lows). This is the stop hunt.
Filter 2: Close Filter
This filter requires the candle to close above or below above the prior candle ( bullish = close above prior candle high). This is the confirmation.
This idea was introduced to me by @attrk632. Thanks, mate!
EMA + Bullish Engulfing Candle Pattern StrategyHello Guys! Nice to meet you all!
This is my first open source script!
### Long Condition
1. Bullish Engulfing Candle
2. No doge Candle
3. Present volume should be bigger than the previous volume (20%)
4. Trend filter (with 2 EMAs)
### Close Condition
1. When trend Changes
2. When Bearish Engulfing Candle appears
###
No stop loss and take profit.
Candlestick Channels [LuxAlgo]Candlestick Channels return channels whose extremities converge towards the price when a corresponding candlestick pattern is detected. This allows for us to obtain more reactive extremities in the presence of a cluster of candlestick patterns.
The detected candlestick patterns are also highlighted with labels on your chart automatically.
Settings
Trend Length: Period of the stochastic oscillator used to determine trend sentiment; this sentiment is used to detect certain candlestick patterns.
Convergence: Convergence percentage of the channel extremities used during the occurrence of a candlestick pattern. A lower value will return extremities converging more slowly toward the price.
Smooth: Determines the degree of smoothness of the channel extremities.
Patterns
This category determines which patterns are detected by the indicator. Patterns toggled off will not be detected and won't affect the channels.
Usage
Candlesticks patterns are commonly used by traders to detect potential reversals or continuation periods in the price. It can be of interest to use them as core elements in the calculation of more classical indicators, this can allow us to filter out potential false signals returned by candlestick patterns by shifting the source of interpretation towards the channel extremities instead.
In this indicator extremities converge towards the price when a corresponding pattern is detected. As such bullish patterns will make the upper extremity converge towards the price, facilitating a cross with price. Using a lower convergence percentage will require a greater number of patterns to make the extremity converge closer towards the price.
Users can use the channel like most indicators returning extremities, with an uptrend being detected when price cross over the upper extremity and a downtrend being detected when price cross under the lower extremity.
An approach solely making use of crosses between the price and the average line can be used but the user should expect further whipsaws signals.
Users can eventually use the candlestick patterns as entries and use the extremities for confirmation. For example, users can follow a candlestick pattern return an indication in accordance with the detected trend by the channels.
This approach would lead to the following of bullish patterns when they occur in an uptrend, that is when the price is above the average line (in orange). The same logic applies to bearish patterns.
The chart above highlights the candlesticks patterns in accordance with a detected trend.
Notes
- Bullish/Bearish engulfing patterns are turned off by default due their more frequent appearance.
- Candlestick patterns relying on gaps were not included, since they would be more uncommon in cryptocurrencies, thus leading to a disparity between the indicator performance on the cryptocurrency and stock market.
Bullish & Bearish EngulfingA simple script to filter out bullish and bearish engulfing candles. Size of candles can be filtered.
Engulfing Candle Marker (Full Candle)A simple indicator that marks FULL CANDLE engulfing candles...
current high > previous high
current low < previous low
bullish: close > open (triangle below)
bearish: close < open (triangle above)
A lot of the engulfing indicators available are body only. I created a FULL CANDLE indicator because that's what I prefer using.
Can be useful for spotting both reversal and continuation price action. Always have a complete trading plan and backtest it for yourself, engulfing candles in themselves to not guarantee a profit.
You are more powerful than you know...keep expanding!
3 Line Strike [TTF]This indicator is a spin-off of the popular TMA Overlay indicator made by request of the original author that narrows down the scope to simply identifying a couple of key candlestick patterns - Engulfing candles and 3 Line Strikes.
In addition to being a far more tailored and purpose-specific indicator, we have also update the indicator code to the latest version of Pinescript and added some enhanced alerts.
Dante Bullish/Bearish EngulfingBearish and Bullish engulfings as taught by Tom Dante Piccin. Different from other bullish/bearish engulfing indicators because other indicators only want the body of the current candle to engulf the previous body.
This indicator needs the low and high of the current candle to engulf the previous one and also in the example of a bullish engulfing close above the previous candle high or in a bearish engulfing example close below the low of the previous candle.
Volume Impulse & Candlestick Patterns - FontiramisuIndicator showing volume impulse & engulfing candlestick pattern.
You can set up multiple parameter for both events.
Volume Impulse :
Volume Period : Lenght of the average volume calculated.
Volume Multiplier : Factor to compare actual volume with average volume.
Engulfing Pattern :
VS avg body : Let you chose to compare body candle to average body of the last few candles (define with parameter : lenghtSizeAvgBody ), otherwise it will be compared to the last body candle.
Engulfing Multiplier : Factor to compare and validate the pattern.
Titans Engulfing Retracement ZonesThe Titan Engulfing Retracement Zones indicator detects Engulfing Candlesticks on a higher user defined timeframe, and uses that event to plot retracement and extension levels on the chart for ease of users' chart reading and trade execution. The four retracement levels, two of which delimit the target entry zone, and another two delimiting the target exit zone, are also user defined.
The user of this indicator is advised that the default levels provided are unoptimized. The user of this indicator is advised to use this indicator at his or her own risk.
To further filter out the results of Engulfing Candlestick detection, a long wick condition has been included into the detection mechanics.
Smarter Pullback + Candlestick Pattern (Steven Hart)Built with love "Smarter Pullback + Candlestick Pattern"
This indiator will help you to find a Pullback + Candlestick Pattern, inspirated by Steven Hart
You can combine with your own strategy, or use this purely
DISCLAIMER :
Measure the risk first before use it in real market
Backtest The Strategy was very important, so you know the probability
Fundamentally Logical :
Pullback (Some Previous candle is Red for Bull Pullback vice versa)
the Entry candle must be a Candlestick Pattern
Features :
1. Engulfing
2. Hammer & Shooting Star
3. Doji
How to use it :
1. Adjust the Pullback Period
2. Check and Uncheck the Pattern you want to see
3. Adjust the style to your favourite
Regards,
Hanabil
Next-Gen Engulfing Retracement█ OVERVIEW
If you follow my work closely, you know my obsession with OrderBlocks and Retracements. We will reuse the same logic,
but using candle engulfments and candle engulfment reversals. It is the latter that we will interpret as OrderBlocks, and candle engulfments as
buy or sell signals.Instead of using the price and the average of the candles, here we prefer to use 4 exponential moving averages over 4 different
periods with a true range for detecting volatility and determining if a candle should be considered engulfed or not.
(note : if you know the principle of candle engulfment you should know that a bullish engulfment does not necessarily mean a buy signal).
█ HOW TO INTERPRET?
1 • We use last detected 'Bearish/Bullish Reversal Engulfing Candle' as an Retracement Level.
(Keep in mind Historical Retracements with extended lines is still useful and can still have an impact on the actual trend).
2 • We use 'Bearish/Bullish Candle' as confirmation of entry point.
3 • You can play with the 'Maximum Volatility' value or the 'True Range' Multiplier value to filter detected engulfing as you want.
4 • HTF and Auto HTF option available.
5 • Everything is customizable in settings (show inputs, colors, lines size etc...)
6 • Alerts is available for Engulfing Candle and Crossing Lines.
█ NOTES
- This script is not beginner's Level and is intended for Traders with advanced knowledge of Candlestick Patterns and the work of Michael j. Huddleston on the OrderBlocks.
Good Trade everyone and remember, risk management remains the most important!
CandleEvaluationLibrary "CandleEvaluation"
Contains functions to evaluate bullish and bearish, engulfing, and outsized candles. They are different from the built-in indicators from TradingView in that these functions don't evaluate classical patterns composed of multiple candles, and they reflect my own understanding of what is "bullish" and bearish", "engulfing", and "outsized".
isBullishBearishCandle()
Determines if the current candle is bullish or bearish according to the length of the wicks and the open and close.
int _barsBack How many bars back is the candle you want to evaluate. By default this is 0, i.e., the current bar.
returns Two values, true or false, for whether it's a bullish or bearish candle respectively.
isTripleBull()
Tells you whether a candle is a "Triple Bull" - that is, one which is bullish in three ways:
It closes higher than it opens
It closes higher than the body of the previous candle
The High is above the High of the previous candle.
int _barsBack How many bars back is the candle you want to evaluate. By default this is 0, i.e., the current bar.
returns True or false.
isTripleBear()
Tells you whether a candle is a "Triple Bear" - that is, one which is bearish in three ways:
It closes lower than it opens
It closes lower than the body of the previous candle
The Low is below the Low of the previous candle.
int _barsBack How many bars back is the candle you want to evaluate. By default this is 0, i.e., the current bar.
returns True or false.
isBigBody()
Tells you if the current candle has a larger than average body size.
int _length - The length of the sma to calculate the average
float _percent - The percentage of the average that the candle body has to be to count as "big". E.g. 100 means it has to be just larger than the average, 200 means it has to be twice as large.
returns True or false
isBullishEngulfing()
Tells you if the current candle is a bullish engulfing candle.
int _barsBack How many bars back is the candle you want to evaluate. By default this is 0, i.e., the current bar.
int _atrFraction The denominator for the ATR fraction, which is the small amount by which the open can be different from the previous close.
returns True or false
isBearishEngulfing()
Tells you if the current candle is a bearish engulfing candle.
int _barsBack How many bars back is the candle you want to evaluate. By default this is 0, i.e., the current bar.
int _atrFraction The denominator for the ATR fraction, which is the small amount by which the open can be different from the previous close.
returns True or false
3 Candle EngulfingThree Line Strike Candlestick Pattern (3 candle Engulfing pattern) to help you detect sniper entry point mostly for (forex)
You can use this as an indicator to detect an entry point for your trade.
Please cross-check the Macro and Micro trend and don't go against the trend. Also use other indicators to confirm your entry.
You can set the engulfing minimum pips value (Default is set to 10 pips)
How it works:
Yellow candle with an up green triangle means a long entry
White candle with a down green triangle means a short entry
MTF Candlestick Patterns Screening [tanayroy]This script displays all candle patterns found in multi-time frames for a given lookback period. Candle pattern screening logic is taken from TradingView’s built-in script. The script works with 5m, 15m, 30m, 1HR, 2HR, 4HR, D, W, M timeframe. Works best with 5m chart.
Options available for trend detection, lookback period, and selecting candle pattern.
Please like, comment, and follow.
Engulfing Candle Rejection IndicatorThis indicator allows you to filter noisy chart, with engulfing candles which have been rejected from current trend lines. Trend lines by default are 21 MA (fast) and 10 MA (slow one). If fast moving average is greater than slower one, automatically indicator would represent that like uptrend, and if opposite then like a downtrend.
Consider to work only on higher time frames like 1H and higher, so you really can find only best entries.
Have fun, best wishes!
RSI Signals by HBRELATIVE STRENGTH INDEX (RSI)
This is a tool that is widely used
Especially for Overbought and Oversold systems, but I have made some changes in this indicator,
How to use it...!
I have set it as the default setting
- RSI Length: 7
- Overbought: 70
- Oversold: 30
What is unique about this tool?
we can see 3 conditions:
1) RSI Overbought / Oversold with Bullish Engulfing / Bearish Engulfing
2) RSI Overbought / Oversold with Hammer and Shooting Star
3) RSI Overbought / Oversold with 2 Bullish Bars / 2 Bearish Bars
4) RSI Overbought / Oversold with All Patterns at the same time
When the RSI reaches its Oversold line, the code will wait for Bullish Engulfing pattren , when oversold and Bullish engulfing matched, This indicator will generate a buy signal when the condition is met,
and same as for Bear market, When the RSI reaches its Overbought line, the code will wait for Bearish Engulfing pattren , This indicator will generate a sell/exit signal when the condition is met,
2nd condition is that a Hammer candle will be waited for when RSI touches the Overbought line, for Bullish Move
and Shooting Star candle will be waited for when RSI touches the Overbought line, for Bullish Move, for Bearish Move
3rd Condition is also the same as Condition 1 and Condition 2,
When the RSI reaches its Oversold line, the code will wait for 2 Bullish Bars , when oversold and 2 Bullish Bars matched then this indicator will generate a buy signal, and same as for Bear market,
When the RSI reaches its Overbought line, the code will wait for 2 Bearish Bars , when overbought and 2 Bearish Bars matched then this indicator will generate a Sell signal,
4th Condition is that we can use All Conditions at the same time,
- Bullish Engulfing / Bearish Engulfing
- Hammer and Shooting Star
- 2 Bullish Bars / 2 Bearish Bars