BEST Engulfing + Breakout StrategyHello traders
This is a simple algorithm for a Tradingview strategy tracking a convergence of 2 unrelated indicators.
Convergence is the solution to my trading problems.
It's a puzzle with infinite possibilities and only a few working combinations.
Here's one that I like
- Engulfing pattern
- Price vs Moving average for detecting a breakout
Definition
Take out the notebooks :) and some coffee (good for focus). I'm bullish in coffee
The engulfing pattern is a two-candle reversal pattern.
The second candle completely ‘engulfs’ the real body of the first one, without regard to the length of the tail shadows.
The bullish Engulfing pattern appears in a downtrend and is a combination of one red candle followed by a larger green candle
The bearish Engulfing pattern appears in a downtrend and is a combination of one green candle followed by a larger red candle
Example: imgur.com
We're bored sir... what's the point of all this?
In summary, an engulfing is a pattern to track reversals. (the whole TradingView audience stands up now giving a standing ovation)
Adding the Price vs Moving average filters allows to track reversals with momentums (half of the audience collapsed because this is too awesome)
Ok sir... you picked up my interest
I included some cool backtest filters:
- date range filtering
- flexible take profit in USD value (plotted in blue)
- flexible stop loss in USD value (plotted in red)
All the best
Dave
Engulfingpattern
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.
SD_Bull_Bear_Engulfing_Rsi_SdThis strategy combines the idea of a bullish or bearish candle engulfing coupled with standard deviation (a 100% increase or a 50% decrease). The exit condition is placed if the percentage increase is achieved or 35<rsi<65.
The strategy requires refinement so please test the script and let know what can be incorporated to improve the efficiency.