Automating the Inside Bar Breakout with Pending Orders
Summary
The article defines an inside bar as a candle whose high and low remain within the preceding mother bar's range. It treats the pattern as a possible continuation or reversal setup and recommends assessing its context, with higher timeframes, nearby support or resistance, and the absence of a flat market offered as filters. The proposed entry places buy-stop and sell-stop orders just beyond the mother bar, with protective stops beyond the pattern and profit targets near the next support or resistance area.
It then describes an Expert Advisor that detects the pattern after candle closure, uses configurable order and size parameters, checks mother-bar size, and avoids repeatedly placing orders for the same pattern. The author reports compiling and testing the EA on historical CADJPY daily data for 2014, then optimizing parameters, but the supplied text gives no numerical performance results or out-of-sample validation. Thus it presents an implementable rule set and an example workflow, not evidence that the strategy is profitable or robust across markets.
Key ideas
- An inside bar has a high below and a low above those of its preceding mother bar.
- The pattern is directionally ambiguous, so context such as trend, support or resistance, and market conditions matters.
- Pending orders just beyond the mother bar aim to trigger only after a price break in either direction.
- Stops and targets are placed relative to the pattern and nearby chart levels.
- The EA example includes safeguards against repeated entries and small mother bars, but the article provides no numerical evidence of robust profitability.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.