Техническое задание
Project Expectations for MT4 Indicator:
-
The indicator will be named "ADR_ATR_Range_Filter."
-
It will include input parameters:
-
ADR Period (e.g., 14 days)
-
ATR Period (e.g., 14 periods)
-
Trigger Range Start Time (user-defined, e.g., “03:00”)
-
Trigger Range End Time (user-defined, e.g., “10:00”)
-
Trigger Range Threshold as % of ADR (Min and Max, e.g., 20%–70%)
-
Trigger Range Threshold as % of ATR (Min and Max, e.g., 20%–70%)
-
-
The indicator will calculate the ADR (average daily range) and ATR (average true range) based on the specified periods.
-
Each day, it will measure the “Trigger Range” based on the high–low between the user-defined start and end times.
-
The Trigger Range will be compared to ADR and ATR:
-
If the Trigger Range is within the defined Min/Max percentages of both ADR and ATR, it will signal a valid range (Green singal for both indicator signal).
-
If outside the thresholds, it will signal an invalid range (red signal for the indicator with the invalid signal, which can be one or both indicator).
-
-
Chart Output: Provide a visual cue (e.g., label, arrow, or color) indicating whether the trigger range is acceptable based on the filters.
-
Time Format: Ensure the input time (start/end) matches the broker’s server time and uses “HH:MM” in 24-hour format.
-
Chart Timeframe: The indicator should be compatible with all timeframes, but the trigger range will be based on the daily time window.
-
Historical trigger ranges and signals should be displayed on chart for backtesting purposes.
-
Alert Options: (pop-up, sound, or push) should be added when a valid is detected.