Skip to content
All library documents

CAC 40 Intraday Breakouts with Adaptive Profit Trailing

Article ProRealCode

Summary

This document describes separate long and short intraday breakout rules intended for the CAC 40, with possible adaptation to the FTSE 100 and Euro Stoxx. The long setup places a buy stop above the previous seven hourly highs at 08:00; the short setup places a sell stop below the previous seven hourly lows at 09:00. Both add a five pip offset, a 70 pip fixed stop, and a flat-at-time rule for the end of the day.

A trailing method begins after a trade gains ten pips. It tracks a growing fraction of the best favorable move, with the retained percentage increasing in steps, and submits stop, limit, or market exits depending on distance from the calculated exit price. The author provides code but no performance results; the mentioned long-term backtesting is a request, not evidence. The rules also use different trailing timeframes for long and short trades. Results may depend on instrument, pip conventions, data handling, and execution assumptions, so the document does not establish profitability or robustness.

Key ideas

  • The long entry is a stop order above the prior seven hourly highs, offset by five pips.
  • The short entry is a stop order below the prior seven hourly lows, also offset by five pips.
  • Both directions use a fixed 70 pip loss stop and close positions at the specified end-of-day time.
  • A stepped trailing rule starts after ten pips of favorable movement and raises the protected profit level as gains grow.
  • The document supplies strategy code but no backtest evidence establishing performance.

Tags

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