Guide
How does the Gann HiLo Activator Strategy strategy work ?
Gann HiLo Activator Strategy: This is a trend-following strategy, using the Gann HiLo Activator. It transitions between long and short positions based on the relationship between the closing price and the Simple Moving Averages (SMA):
- Long Position: The strategy goes long when the closing price surpasses the high SMA, closing any previously held short position.
- Short Position: A position change to short occurs when the closing price drops below the low SMA, closing the previously held long position.
The strategy allows you to adjust parameters such as:
- Length: Which influences the calculation period of the SMA.
- Displace: Default set to 1, acting as an offset for comparison.
- Initialization Option: Specify whether the strategy should start from the beginning or a chosen date.
To optimize, modify the length parameter while reviewing backtest results to select the optimal settings for the market being traded.