No Upper Wick Bullish Candle Breakout Strategy
The main idea of this strategy is to look for a bullish candlestick without an upper lead as a buy signal, and close the position when the price falls below the low of the previous candlestick. This strategy takes…

Overview
The main idea of this strategy is to look for a bullish candlestick without an upper lead as a buy signal, and close the position when the price falls below the low of the previous candlestick. This strategy takes advantage of the small lead on the bullish candlestick, which indicates that the power of many parties is strong and the probability of the stock price continuing to rise is high. At the same time, the low point of the previous candlestick is used as a stop loss position, which can effectively control risks.
Strategy Principle
- Determine whether the current candlestick is bullish (closing price higher than opening price))
- Calculate the ratio of the current candlestick's wick length to the candlestick's body length
- If the upper shadow ratio is less than 5%, it is considered a valid bullish candlestick without an upper shadow, issuing a buy signal
- Record the lowest price of the previous candle after buying as the stop-loss level
- Close the position when the price falls below the stop-loss level
Strategy Advantages
- Choose bullish candlestick entry without upper shadow; stronger trend and higher success rate.
- Use the low of the previous candle as the stop-loss, risk is controllable
- Simple logic, easy to implement and optimize
- Suitable for use in trending markets
Strategy Risks
- There may be cases where a buy signal is immediately followed by a pullback triggering the stop loss
- For high-volatility instruments, the stop loss may be set too close to the purchase price, causing premature stop loss.
- Lacks profit targets, making it difficult to grasp the best closing timing
Strategy optimization direction
- can be combined with other indicators such as MA and MACD to confirm trend strength and improve the effectiveness of entry signals
- For high volatility varieties, you can set the stop loss position further away, such as the lowest point of the first N candlesticks, to reduce the stop loss frequency.
- Introduce profit targets, such as N times ATR or a percentage profit, to lock in profits in time
- Consider adding position management, such as adjusting position size according to signal strength, etc.
Summary
This strategy enters positions by selecting bullish candlesticks without upper shadows, using the low of the previous candlestick as a stop-loss, and can effectively capture profits in trending markets. However, the strategy also has certain limitations, such as inflexible stop-loss placement and a lack of profit targets. It can be improved by introducing other indicators to filter signals, optimizing stop-loss placement, and setting profit targets, making the strategy more robust and effective.
Overview
The main idea of this strategy is to find bullish candles without upper wicks as buy signals and close positions when the price breaks below the low of the previous candle. The strategy utilizes the characteristic of bullish candles with very small upper wicks, indicating strong bullish momentum and a higher probability of continued price increases. At the same time, using the low of the previous candle as a stop-loss level can effectively control risk.
Strategy Principles
- Determine if the current candle is a bullish candle (close price higher than open price)
- Calculate the ratio of the current candle's upper wick length to its body length
- If the upper wick ratio is less than 5%, consider it a valid bullish candle without an upper wick and generate a buy signal
- Record the lowest price of the previous candle after buying as the stop-loss level
- When the price breaks below the stop-loss level, close the position and exit
Strategy Advantages
- Selecting bullish candles without upper wicks for entry, the trend strength is greater and the success rate is higher
- Using the low of the previous candle as the stop-loss level, risks are controllable
- Simple logic, easy to implement and optimize
- Suitable for use in trending markets
Strategy Risks
- There may be cases where a buy signal is followed by an immediate pullback triggering the stop-loss
- For highly volatile instruments, the stop-loss level may be set too close to the buy price, leading to premature stop-outs
- Lack of profit targets, making it difficult to grasp the optimal exit timing
Strategy Optimization Directions
- Combine with other indicators such as MA, MACD, etc., to confirm trend strength and improve the effectiveness of entry signals
- For highly volatile instruments, set the stop-loss level at a further position, such as the lowest point of the previous N candles, to reduce the stop-loss frequency
- Introduce profit targets, such as N times ATR or percentage gains, to lock in profits in a timely manner
- Consider adding position management, such as adjusting position size based on signal strength
Summary
This strategy captures profits effectively in trending markets by selecting bullish candles without upper wicks for entry and using the low of the previous candle for stop-loss. However, the strategy also has certain limitations, such as inflexible stop-loss placement and lack of profit targets. Improvements can be made by introducing other indicators to filter signals, optimizing stop-loss positions, and setting profit targets to make the strategy more robust and effective.
Source Pine Script
/*backtest
start: 2024-04-13 00:00:00
end: 2024-05-13 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © nagpha
//@version=5
strategy("My strategy", overlay=true, margin_long=100, margin_short=100)
candleBodySize = math.abs(open - close)
// Calculate candle wick size
candleWickSize = high - close
// Calculate percentage of wick to candle body
wickPercentage = (candleWickSize / candleBodySize) * 100
// Check if candle is bullish and wick is less than 1% of the body
isBullish = close > open
isWickLessThan5Percent = wickPercentage < 5
longCondition = isBullish and isWickLessThan5Percent
if (longCondition)
// log.info("long position taken")
strategy.entry("Long Entry", strategy.long)
float prevLow = 0.0
prevLow := request.security(syminfo.tickerid, timeframe.period, low[1], lookahead=barmerge.lookahead_on)
float closingPrice = close
//plot(closingPrice, "Close Price", color.purple, 3)
//plot(prevLow, "Previous Low", color.red, 3)
//log.info("Outside: {0,number,#}",closingPrice)
//log.info("Outside: {0,number,#}",prevLow)
if closingPrice < prevLow and strategy.position_size > 0
//log.info("inside close: {0,number} : {0,number}",closingPrice,prevLow)
// log.info("position exited")
strategy.close("Long Entry")
longCondition := false
prevLow := 0
isBullish := false
//plot(series=strategy.position_size > 0 ? prevLow : na, color = color.new(#40ccfb,0), style=plot.style_cross,linewidth = 5)Published by ChaoZhang on the FMZ strategy square · last modified 2024-05-14. Collected in the Quant Trading Vault. Unvalidated research: re-test with your own data and costs before trusting it.
Build this with AgenKit
A spec is not a trading system. Paste this into your coding agent and AgenKit runs a specialist team — architecture, test-first build, risk gates, review — with paper trading on by default.
/agenkit build a production-grade trading bot with a backtest engine, risk controls and paper trading by default from strategies/No-Upper-Wick-Bullish-Candle-Breakout-Strategy.md- npx agenkit install engineering-kit in your project
- Paste the command into your agent and approve each phase
- Get tests, backtest, risk controls and a paper-trading switch
Understand it first
Before you run this, read the lesson behind the idea and how to backtest it honestly. Specs like this one are the survivors of an unknown number of trials; deflate their results accordingly.
Related specs
- Bull Flag Breakout StrategyPine Script · Breakout · 1h
- Dual Breakout Volatility Channel StrategyPine Script · Breakout · 1h
- Intraday Bullish Breakout StrategyPine Script · Breakout
- Kana Candle Breakout Strategy Based on Moving Average and Support ResistancePine Script · Breakout · 1h
- MA Trendline Breakthrough StrategyPine Script · Breakout · 1d
- Momentum Breakout Moving Average StrategyPine Script · Breakout · 1d