GGAL Accumulation Strategy with Moving-Average Crossovers and ADX
Summary
This daily strategy for Grupo Financiero Galicia’s ADR uses moving-average crossovers to build and exit a long position. A faster average crossing above a medium average triggers an entry during a configurable backtest window. The script allows either exponential or simple averages and sets each entry to a fixed fraction of equity. It closes the accumulated position when the fast average crosses below the slower exit average, provided ADX indicates a sufficiently strong trend, or when the test window ends.
The script includes configurable date limits, commission assumptions, plotted averages, signal markers, and a dashboard. The description and code disagree on some details: the prose refers to a different crossover pair and ADX threshold than the implemented conditions, and the declared maximum number of entries is not enforced by an explicit entry cap. No performance statistics are supplied, so the setup is a rule specification rather than evidence of profitability. Results will depend on the chosen average type, parameters, data, and execution assumptions.
Key ideas
- A fast moving average crossing above a medium average triggers long entries within the selected date window.
- The script supports exponential or simple averages and sizes each entry as a percentage of equity.
- A downward crossover of the fast average and slower exit average closes the accumulated position when ADX is above its threshold.
- The strategy also closes any open position after the selected backtest period ends.
- The descriptive text conflicts with the implemented crossover and filter conditions, and no backtest results are provided.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.