Railroad track candlestick pattern: two opposing bodies

Railroad tracks is a price-action label for two adjacent candles with substantial, similar-sized bodies in opposite directions. FXSSI describes a down candle followed by an up candle as the bullish version, and the reverse order as bearish. It is studied as a reversal candidate after a preceding move, rather than a same-color continuation rule. The name alone does not specify a complete detector or forecast.

Key Takeaways

  • Require opposite body directions in the definition used here. Two same-color candles are a different setup.
  • Similar body size needs a tolerance; body size alone does not ensure that both candles cover the same price region.
  • Compare prior trend, body alignment and shadows explicitly before testing later outcomes.
  • A completed pair supplies no fixed win rate or universal best timeframe.

Define similar bodies and their alignment

FXSSI describes opposing, similarly strong candles, often with short shadows; VibeFox also lists opposite, near-equal bars in its detector documentation. Neither description supplies a universal numerical threshold. The following rules are an illustrative specification that can be reviewed and tested.

  • Require opposite signs for close minus open, with neither real body zero.
  • Let B1 and B2 be absolute body lengths. For this example, require min(B1, B2) / max(B1, B2) to be at least 0.8.
  • Require each body to exceed the mean body of the 20 completed bars before the pair, using that same frozen mean for both.
  • Require body overlap to cover at least 80% of the shorter body, and each upper/lower shadow to be at most 20% of its own body. These are extra stated choices, not supplier defaults.
  • Classify the trend from bars before the pair. A bullish candidate has a down body then up body after a decline; the bearish candidate reverses both conditions.

A hypothetical bullish pair that does not fully engulf

Assume a prior decline and a frozen average body of 2. Candle A opens at 104, reaches 104.4, falls to 99.6 and closes at 100. Candle B opens at 100.2, reaches 104.3, falls to 99.9 and closes at 104. Their bodies are 4 and 3.8. The size ratio is 0.95; the shared body interval from 100.2 to 104 covers all of the shorter body. Every shadow is no more than 20% of its body. These invented prices pass the stated rules.

Hypothetical OHLC pair in arbitrary price units
CandleOpenHighLowClose
A104104.499.6100
B100.2104.399.9104
  • B does not contain the entire A body because it begins above 100. Similar-sized opposite bodies are therefore not automatically an engulfing pattern.
  • If B instead opens at 99.9 and closes at 104.1, full body coverage can overlap an engulfing definition. Decide how to count overlapping labels.
  • Two equal-sized bodies at widely separated prices would pass a size-only test but fail the overlap requirement.
  • A tweezer compares corresponding highs or lows. Near-equal real bodies alone do not meet that different test.

Separate a reversal candidate from confirmation

For the hypothetical bullish pair, the full high is 104.4 and low is 99.6. One additional experiment requires the next bar to close above 104.4 without trading below 99.6. Otherwise expire the candidate. A temporary high above 104.4 is not enough for this close-based rule. After confirmation, a later break below 99.6 can still invalidate the setup.

  • Wait for both pattern candles to close before comparing their final bodies. A later confirmation belongs on the later bar.
  • A default bar-close strategy market order normally fills on the next available tick, often the next bar open. The confirmation close is not a guaranteed fill.
  • Define stops, exits, size, fees and slippage separately. A target of twice a planned stop distance is not an observed return.
  • Test both directions and retain expired and failed candidates. When a historical bar crosses both boundaries, disclose the assumption used for unknown intrabar ordering.

Evaluate context and optional filters without a ranking claim

A volume or RSI filter changes which pairs enter the sample. It does not prove a stronger reversal or identify institutional trading. Keep the same dates, entry and exit rules when comparing a filter, then evaluate on data excluded from parameter selection.

  • Record the market, feed, session and timeframe because they determine the OHLC bars.
  • A two-bar reversal of a local pullback can also align with a longer trend; name the horizon rather than changing the pattern colors.
  • Report candidate count, executed trades, net results and drawdown. No measured reliability or preferred timeframe is established by this guide.

This page is for informational purposes only and does not constitute investment advice. Trading stocks, forex, and crypto carries substantial risk of loss. Past performance does not guarantee future results. Always consult a qualified financial advisor before making trading decisions.

Frequently Asked Questions