GGAL Accumulation Strategy with Moving Averages and ADX
Summary
This daily-chart accumulation strategy for GGAL uses moving-average crossovers to add long exposure and close accumulated positions. The script defaults to EMA, with an option for SMA, and uses a 15-period average crossing above a 30-period average for entries. Each entry allocates 10% of equity, with up to ten entries described in the comments. A downward crossover involving the longer averages is intended to trigger a full exit; the code also checks ADX strength for that exit. The strategy specifies an initial capital amount, commission, and a date window, but the supplied material contains no report of returns or risk-adjusted performance.
There are material differences between the comments and the implementation. The comments say purchases require ADX above 25 and sales use the 30- and 60-period averages; the code does not apply ADX to buys, uses a configurable threshold defaulting to 20, and checks the 15-period average crossing below the 60-period average for sales. The date-end liquidation also depends on reaching a bar after the configured end. These details should be resolved before interpreting or evaluating the system.
Key ideas
- The script accumulates long GGAL exposure when a fast moving average crosses above a medium moving average.
- Entries use a fixed percentage of equity, while a downward crossover condition closes all accumulated positions.
- ADX is checked for the exit condition in the code, although the comments describe it as a buy filter.
- The comments and implementation differ on the sell crossover and ADX threshold, so the stated rules need reconciliation.
- The document supplies setup parameters but no performance results.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.