A 55-Period Moving Average EA with Bar-Difference Signals
Summary
This document describes an Expert Advisor built around a moving average with a fixed period of 55. Users can adjust its timeframe, horizontal shift, smoothing method, and applied price. The EA checks for signals only when a new bar forms and during a configured hour window. It compares moving-average values at two selected historical bars and opens a position when their difference meets a configured threshold. Signals can be reversed, and an option can close opposite positions when a new signal arrives.
Position size can be fixed or calculated from a risk setting. The document recommends optimizing parameters separately for each symbol and timeframe, and notes that one-minute OHLC modeling may be suitable because the EA acts only at bar openings. It provides no performance results or detailed risk controls, and the description does not specify the entry rules for each signal direction. Optimization guidance is limited to approximate parameter ranges for M15 to H1 charts.
Key ideas
- The EA uses a fixed 55-period moving average while allowing several other indicator settings to be changed.
- It checks conditions on new bars within a configured trading-hour interval.
- A signal depends on the difference between moving-average readings from two selected bars and a specified threshold.
- Position size can be fixed or based on a risk parameter, and opposite positions may be closed on reversal.
- The document recommends symbol- and timeframe-specific optimization but reports no strategy performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.