Skip to content
All library documents

OC Momentum: Zero-Line Crossovers for Trend Entries

Article MQL5 code base

Summary

OC Momentum is an oscillator derived from open and close prices, with a single adjustable lookback parameter that defaults to 3. The document proposes using its curve and histogram to identify possible entries while a market is trending. A trendline is drawn using two earlier points; an entry is considered when the oscillator crosses zero and the histogram prints its first bar in the corresponding color. The following marked points are presented as possible entry locations.

The note gives a brief rule of thumb rather than a tested strategy: it includes no market, timeframe, performance evidence, exit rules, or risk controls. The parameter value is a default, not an established optimum. Its guidance is explicitly framed for trending markets, and it cautions that trends eventually end, so signals should not be treated as guarantees of continuation.

Key ideas

  • The oscillator uses open and close prices and has one adjustable parameter.
  • A zero-line crossing paired with a first histogram bar of the corresponding color is proposed as an entry cue.
  • The method is intended for trending markets and uses two points to establish a trendline.
  • The note gives no performance testing, exit method, or risk controls.
  • Trends can end, so the entry cue does not guarantee continuation.

Tags

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