Skip to content
All library documents

CRMI Strategy: EMA Trend, Higher-Timeframe Bias, and ATR Risk Rules

Article Strategy library · Author: iamthatboyjb

Summary

This Pine strategy combines a three-EMA trend state with a higher-timeframe price and EMA bias. It scores long and short setups using trend alignment, price location relative to a 34-period EMA, an impulse breakout, and higher-timeframe direction. FAST, LONG, and HYBRID modes adjust the score threshold and ATR stop distance; LONG mode also requires higher-timeframe agreement. FAST and HYBRID modes filter out low-efficiency, choppy conditions. Entries also require minimum reward-to-risk and sufficient distance from the EMA reference.

The script calculates ATR-based stops and targets, and tracks whether the most recent closed trade lost so it can permit a directionally aligned re-entry. The supplied text ends partway through the execution section, so the complete order placement, exit handling, and any hold-time behavior cannot be assessed. It provides strategy logic and parameter defaults, but no backtest period, performance results, asset specification, or evidence that the rules are profitable. The re-entry override also appears to bypass the preceding entry filters, a behavior that should be evaluated carefully.

Key ideas

  • The strategy scores setups using EMA trend alignment, price relative to an EMA, breakout impulse, and higher-timeframe bias.
  • FAST, LONG, and HYBRID modes use different score thresholds and ATR stop distances.
  • FAST and HYBRID modes avoid entries during low-efficiency price action.
  • A losing trade can enable a re-entry in the same direction when higher-timeframe bias agrees.
  • The excerpt omits execution details and supplies no performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.