Outside Bar Indicator Explanation
The Outside Bar (also known as an "Engulfing Bar" or "Outside Day") is a two-candlestick price action pattern that indicates potential volatility expansion and reversal by showing that one candle completely engulfs the previous candle's range. The pattern consists of two candles: the first candle has a smaller range, and the second candle (the "outside bar") has a larger range with both its high and low extending beyond the first candle's high and low. Outside Bars indicate increased volatility and potential momentum shift, often preceding significant price movements or trend reversals. The pattern is highly regarded in price action trading for its ability to signal volatility expansion and potential trend changes.
How Outside Bar Works: An Outside Bar is identified by comparing two consecutive candles. The first candle has a smaller range with a clear high and low. The second candle (outside bar) has both its high and low extending beyond the first candle's range (outside bar high > previous candle high, and outside bar low < previous candle low). The pattern indicates volatility expansion and increased market activity. Outside Bars are most effective when they occur after consolidations, at support or resistance levels, or with increasing volume. A bullish Outside Bar (closes near the high) suggests potential upward momentum, while a bearish Outside Bar (closes near the low) suggests potential downward momentum.
When to Use Outside Bar:
- Volatility Expansion Identification: Outside Bars are highly effective at identifying volatility expansion and potential momentum shifts. When an Outside Bar forms, it indicates increased market activity and potential for significant price movements.
- Reversal and Continuation Signals: Outside Bars can signal both reversals and continuations depending on context. A bullish Outside Bar at support suggests potential upward reversal, while a bearish Outside Bar at resistance suggests potential downward reversal. An Outside Bar in the direction of the trend suggests continuation.
- Entry Signals: Outside Bars can generate entry signals when combined with price action confirmation. A buy entry may be signaled when a bullish Outside Bar forms at support, while a sell entry may be signaled when a bearish Outside Bar forms at resistance. Stop-loss is typically placed on the opposite side of the Outside Bar.
Advantages:
- Provides clear visual signals of volatility expansion and potential momentum shifts, making it easy to identify increased market activity. The pattern is simple and easy to spot on charts.
- Works effectively across multiple timeframes and asset classes, including stocks, forex, commodities, and cryptocurrencies. The pattern is universal and reflects volatility dynamics.
- Helps identify potential trend changes and volatility expansion through range expansion, providing valuable information for entry timing and risk management.
Limitations:
- Outside Bars can produce false signals when they occur without clear directional bias or context. The pattern requires confirmation from subsequent price action for reliability.
- The indicator may require interpretation of the close position within the Outside Bar (bullish or bearish), which can be subjective. Not all Outside Bars are equally reliable, and context is crucial.
- Outside Bars alone do not guarantee reversals or continuations, only volatility expansion. Traders should combine them with trend analysis and support/resistance levels for more reliable signals.
In summary, Outside Bar is a valuable price action pattern that identifies volatility expansion and potential momentum shifts, making it ideal for identifying increased market activity and generating entry signals. For comprehensive understanding, refer to price action trading literature, including works by Al Brooks on price action trading, Investopedia's Outside Bar guide, and academic research on candlestick patterns in technical analysis published in journals such as the Journal of Financial Markets and the Review of Financial Studies.
Practical Example: Using the Outside Bar Indicator in a Trading Strategy
The Outside Bar is a price action pattern used to identify volatility expansion and potential momentum shifts through range expansion. In a trading strategy, the Outside Bar indicator helps traders identify increased market activity and generate entry signals based on volatility expansion.
Scenario: You're creating a volatility breakout strategy for Gold (XAU/USD) on a 4-hour chart. You want to buy when a bullish Outside Bar forms at a support level (indicating volatility expansion and potential upward reversal), and sell when a bearish Outside Bar forms at a resistance level (indicating volatility expansion and potential downward reversal).
Strategy Logic:
- Identify Outside Bar patterns: two consecutive candles where the second candle completely engulfs the first candle's range (outside bar high > previous high, outside bar low < previous low).
- Buy signal: When a bullish Outside Bar (closes near the high) forms at a support level, indicating volatility expansion and potential upward reversal.
- Sell signal: When a bearish Outside Bar (closes near the low) forms at a resistance level, indicating volatility expansion and potential downward reversal.
Backtrader Example:
import backtrader as bt
class OutsideBarVolatilityStrategy(bt.Strategy):
params = dict(
outside_bar_body_ratio=0.6 # Outside bar body should indicate direction
)
def __init__(self):
self.support_level = None # Set based on your analysis
self.resistance_level = None # Set based on your analysis
def is_outside_bar(self, prev_bar, current_bar):
"""Check if current bar is an Outside Bar"""
# Current bar completely engulfs previous bar's range
return (current_bar.high > prev_bar.high and
current_bar.low < prev_bar.low)
def is_bullish_outside_bar(self, prev_bar, current_bar):
"""Check if Outside Bar is bullish (closes in upper portion)"""
if not self.is_outside_bar(prev_bar, current_bar):
return False
bar_range = current_bar.high - current_bar.low
close_position = (current_bar.close - current_bar.low) / bar_range
return close_position >= self.p.outside_bar_body_ratio
def is_bearish_outside_bar(self, prev_bar, current_bar):
"""Check if Outside Bar is bearish (closes in lower portion)"""
if not self.is_outside_bar(prev_bar, current_bar):
return False
bar_range = current_bar.high - current_bar.low
close_position = (current_bar.close - current_bar.low) / bar_range
return close_position <= (1 - self.p.outside_bar_body_ratio)
def next(self):
if len(self.data) < 2:
return
prev_bar = self.data[-1]
current_bar = self.data[0]
if not self.position:
# Buy on bullish Outside Bar at support
if (self.is_bullish_outside_bar(prev_bar, current_bar) and
self.data.low[0] <= self.support_level * 1.001):
self.buy()
# Sell on bearish Outside Bar at resistance
elif (self.is_bearish_outside_bar(prev_bar, current_bar) and
self.data.high[0] >= self.resistance_level * 0.999):
self.sell()
else:
# Exit on reversal or target
if self._exit_signal():
self.close()
def _exit_signal(self):
# Add exit logic
return False
# Usage
cerebro = bt.Cerebro()
cerebro.addstrategy(OutsideBarVolatilityStrategy)
Expected Outcome: By using the Outside Bar indicator, your strategy identifies volatility expansion and potential momentum shifts, helping you enter trades when market activity increases with directional bias and exit when reversal patterns complete. This approach leads to better volatility expansion recognition, improved momentum shift identification, and enhanced entry timing by trading volatility expansion patterns.
💡 Bonus Tip
Consider using Outside Bars in combination with volume analysis for confirmation. When an Outside Bar forms with high volume, it suggests stronger volatility expansion and higher probability of significant price movement. When an Outside Bar forms with low volume, it may be less reliable. This technique, documented in price action trading literature, can significantly improve the accuracy of Outside Bar-based trading strategies.
Using the Outside Bar indicator ensures your strategy trades volatility expansion patterns effectively, improving entry and exit timing based on objective price action analysis.