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
ابتلاع شرائي
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.
PERFECT ENGULFING Candlestick Patterns by AnmolWill add some more patterns and conditions in it in future, for now its for detecting PERFECT Engulfings only.
Use these Engulfing to take a trade when it get detected on support/resistance
Buy&Sell Bullish Engulfing - The Quant Science🇺🇸
GENERAL OVERVIEW
Buy&Sell Bullish Engulfing - The Quant Science It is a Buy&Sell strategy based on the 'Bullish Engulfing' candlestick pattern. The main goal of the strategy is to achieve a consistent and sustainable return over time, with a manageable level of risk.
Bullish Engulfing
The template was developed at the top of the Indicator provided by TradingView called 'Engulfing - Bullish'.
ENTRY AND EXIT CRITERIA
Entry: A single long order is opened when the candlestick pattern is formed, and the percentage size of the order (%) is fixed by the trader through the user interface.
Exit: The long trade is closed on a percentage equity take profit-stop loss.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
🇮🇹
PANORAMICA GENERALE
Buy&Sell Bullish Engulfing - The Quant Science è una strategia Buy&Sell basata sul candlestick pattern 'Bullish Engulfing'. L'obiettivo principale della strategia è ottenere un ritorno costante e sostenibile nel tempo, con un livello gestibile di rischio.
Bullish Engulfing
Il template è stato sviluppato al top dell' Indicatore fornito da Trading View chiamato 'Engulfing - Bullish'.
CRITERI DI ENTRATA E USCITA
Entrata: viene aperto un singolo ordine long quando si forma il candlestick pattern, la size percentuale dell'ordine (%) viene selezionato tramite l'interfaccia utente dal trader.
Uscita: la chiusura della posizione avviene unicamente tramite un take profit-stop loss percentuale calcolato sul capitale.
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!!
DECPDECP is simple and easy to use!
It detects bullish and bearish engulfing candlestick patterns.
After detecting the patterns I've said, it mentions that the pattern is going to continue its direction to up or down.
But remember candlestick patterns don't determine targets and it's possible that predicted directions fail.
So use it carefully and enjoy it!
MJ Important Candlestick Patterns + Smart TrendThis script detects 6 important candlestick patterns defined by the author and puts chart labels on your chart for your attention. It also includes a smart trend checking algorithm to detect trends.
The six candlestick patterns covered are:
Bullish Engulfing
Bearish Engulfing
Piercing Line
Dark Cloud Cover
Bullish Harami
Bearish Harami
*** Smart feature of this indicator is that it can detect uptrends or downtrends before alerting you regarding the bullish or bearish reversal candlestick pattern. This is achieved by comparing the typical price (high+low+close divided by 3) of today's candle versus three days ago.
Zidni BullEngulf BearEngulfBullish Engulfing candle that considers the length of the candle and the position of the candle in a downtrend.
Bearish Engulfing candle that considers the length of the candle and the position of the candle in an uptrend.
Candlestick Patterns by Dipak V2I am really excited to publish my work, I know its at the beginning but there is a lot to come in the future. I am writing a script to identify the candlestick patterns. In this version, I have added Hammer and Hanging Man Pattern in the first version, I know its less but its a beginning, I will keep adding the new information in my script in upcoming versions.
This script is for only learning purpose and not for treading realtime. In this script, it only identifies the pattern and does not check for its confirmation or does not provide any stop-loss, Also it does not check the prior trend before the pattern. These things really matter in the live trade. But in future, I am planning to add these things.
If you like my work, please like or comment your ideas I will try to include those in upcoming versions.
Hanging Man:
Hanging man is a bearish reversal candlestick pattern that signals about the uptrend or advancing phase are over and bulls have lost their control. Color of the candle is not important.
Identity:
1) Comes after a significant up rally or uptrend or advancing phase.
2) Small real body at the top.
3) Long lower shadow at least twice the real body.
4) Very small or no upper shadow.
Confirmation:
Immediate next candle’s close should be below the hanging man’s real body.
StopLoss:
There is a potential resistance level above the top of the hanging man. Stoploss should be above the resistance area or at the high of the hanging man.
Hammer:
Hammer is a bullish reversal candlestick pattern that signals about the downtrend or declining phase are over and bears have lost their control. Color of the candle is not important.
Identity:
1) Comes after significant down rally or downtrend or declining phase.
2) Small real body at the top.
3) Long lower shadow at least twice the real body.
4) Very small or no upper shadow.
Confirmation:
Immediate next candle’s close should be above the hammer’s low.
StopLoss:
There is a potential support level below the low of the hammer. Stoploss should be below the support area or at the low of the hammer.
Note: The candle is the same for Hanging Man and Hammer , Difference is where they appear in the uptrend or in the downtrend that makes the real difference.
Engulfing Look-back AlertThis script is an extension of the classical engulf pattern with added rules and user defined features.
Engulfing Candle Definition:
- Bullish Engulfing: Trade BELOW the prior candle's LOW and CLOSE ABOVE the prior candle's HIGH. Previous candle can be an up (bullish) or a down (bearish) candle
- Bearish Engulfing: Trade ABOVE the prior candle’s HIGH and CLOSE BELOW the prior candle’s LOW. Previous candle can be an up (bullish) or a down (bearish) candle
Features:
- Set the look-back period for engulfing candle high and low -> default = 1; e.g. Did the bullish eng candle trade below the lows of the last 3 candles and trade above the highs of the last 4 candles? Set the input values accordingly
- Choose time frame(s) engulfing candle is to be displayed on -> default = M/W/D/4H/1H/15M
- Ability to enable Alerts (includes time frame alert was triggered on): IMPORTANT - when setting alerts ensure to choose "ONCE PER BAR"; otherwise alerts will NOT trigger as intended
prntscr.com
Engulfing Pattern Hello Traders,
Sharing one of my favorite candlestick pattern with everyone. Feel free to use it.
Regards,
Intraday Guruji
Bullish Engulfing Backtest This is a bullish reversal pattern formed by two candlesticks. Following a downtrend,
the first candlestick is a down candlestick which is followed by an up candlestick
which has a long real body that engulfs or contains the real body of the prior bar.
The Engulfing pattern is the reverse of the Harami pattern.
WARNING:
- For purpose educate only
- This script to change bars colors.
Bullish and Bearish Engulfing StrategyI've been trying to put a stop loss in the High or Low of the last second bar after I open a position but in this example the only way to close it, is with the opposite action. Does anyone know how to put a stop loss and order with just stop loss and close when there is a bullish or bearish engulfing bar?
Bullish and Bearish EngulfingIndicator that changes the bar's color to green if there is a Bullish Engulfing or Red if there a Bearish Engulfing Patterns.
Bullish and Bearish EngulfingIndicator that changes the bar's color to green if there is a Bullish Engulfing or Red if there a Bearish Engulfing Patterns.
Bullish Engulfing automatic finding scriptHi
Let me introduce my Bullish Engulfing automatic finding script.
This is a bullish reversal pattern formed by two candlesticks. Following a downtrend,
the first candlestick is a down candlestick which is followed by an up candlestick
which has a long real body that engulfs or contains the real body of the prior bar.
The Engulfing pattern is the reverse of the Harami pattern.