The 1-3-1 red green candlestick reversal strategy is a strategy that generates buy and sell signals based on candlestick patterns. It looks for buying opportunities when 1 red candlestick is reversed by 3 subsequent green candlesticks.
The core logic of this strategy is:
With this strategy, we can buy when the red candle is reversed, because the subsequent trend is likely to be upwards. Stop loss and take profit are set to control risk and lock in profits.
The 1-3-1 red green reversal strategy has the following advantages:
Some risks to note for this strategy:
Solutions:
Some ways this strategy can be optimized:
Market index filtering - filter signals based on short/medium term market trend, go long in uptrend and stop trading in downtrend
Volume confirmation - only go long if green candle volumes increase
Optimize stop loss/take profit ratios - test different ratios to find optimal parameters
Position sizing optimization - scale in across multiple entries to reduce single trade risk
Add more filters - e.g. MA, volatility etc to ensure high probability entry
Machine learning on big data - collect lots of historical data and train optimal parameter thresholds via ML
The 1-3-1 red green reversal strategy is overall a simple and practical short term trading strategy. It has clear entry and exit rules and good backtest results. With some optimization measures, it can become a reliable quant trading strategy. Risk management is also important to manage capital properly.
/*backtest start: 2023-09-26 00:00:00 end: 2023-10-26 00:00:00 period: 1h basePeriod: 15m exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}] */ //@version=5 //by Genma01 strategy("Stratégie tradosaure 1 Bougie Rouge suivi de 3 Bougies Vertes", overlay=true, default_qty_type = strategy.percent_of_equity, default_qty_value = 100) // Définir les paramètres var float stopLossPrice = na var float takeProfitPrice = na var float stopLossPriceD = na var float takeProfitPriceD = na // Vérifier les conditions redCandle = close[3] < open[3] and low[3] < low[2] and low[3] < low[1] and low[3] < low[0] greenCandles = close > open and close[1] > open[1] and close[2] > open[2] higherClose = close > close[1] and close[1] > close[2] // Calcul du stop-loss if (redCandle and greenCandles and higherClose) and strategy.position_size == 0 stopLossPrice := low[3] // Calcul du take-profit if (not na(stopLossPrice)) and strategy.position_size == 0 takeProfitPrice := close + (close - stopLossPrice) // Entrée en position long if (redCandle and greenCandles and higherClose) and strategy.position_size == 0 strategy.entry("Long", strategy.long) // Sortie de la position if (not na(stopLossPrice)) and strategy.position_size > 0 strategy.exit("Take Profit/Stop Loss", stop=stopLossPrice, limit=takeProfitPrice) if strategy.position_size == 0 stopLossPriceD := na takeProfitPriceD := na else stopLossPriceD := stopLossPrice takeProfitPriceD := takeProfitPrice // Tracer le stop-loss et le take-profit sur le graphique plotshape(series=redCandle and greenCandles and higherClose and strategy.position_size == 0, title="Conditions Remplies", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small) plotshape(series=redCandle and greenCandles and higherClose and strategy.position_size == 0, title="Conditions Remplies", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small) // Afficher les prix du stop-loss et du take-profit plot(stopLossPriceD, color=color.red, title="Stop Loss Price", linewidth=2, style = plot.style_linebr) plot(takeProfitPriceD, color=color.green, title="Take Profit Price", linewidth=2, style = plot.style_linebr)