Inside-Bar Breakouts Filtered by a 50-Period EMA
Summary
This document presents a four-hour inside-bar breakout strategy filtered by a 50-period exponential moving average. It identifies an inside bar when its high and low remain within the prior bar’s range, then looks for a later price move above or below a reference high or low. The long and short conditions also require price to be on the corresponding side of the EMA. An input sets how far back the script searches for an inside-bar pattern.
The source includes optional ADX settings, but the supplied excerpt ends before showing whether or how that filter affects orders. It also shows no performance report, market, backtest period, or measured results, so effectiveness cannot be assessed from this material. The excerpt’s comments and condition labels are not fully consistent about the breakout direction, and the lookback-based high/low reference makes the precise signal timing worth checking in a complete implementation. The strategy offers a rule-based example of combining price compression and trend direction, but the text provides no risk management or exit details in the visible portion.
Key ideas
- An inside bar is defined by a high below and a low above the preceding bar’s range.
- The strategy searches a configurable number of prior bars for an inside-bar pattern.
- A 50-period EMA determines whether a breakout condition is aligned with the price trend.
- The excerpt lists optional ADX settings but does not show their use in trade execution.
- No market, performance results, or risk management details appear in the available material.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.