This script shows the average range of movement of a currency pair for an hour.
This information will help you:
- accurately identify periods of high and low volatility;
- significantly improve the TP and SL levels of your trading system.
What is the difference from ATR
- The ATR values are calculated from the previous bars, which leads to a delay.
- AHR values are calculated based on the hourly history.
The results file is saved in the MQL5Files folder under the name [tool name]_AHR. csv