Multi Mode Gann Angles Indicator
- Indicators
- Yevhenii Levchenko
- Version: 1.0
- Activations: 20
Multi-Mode Gann Angles Indicator (MT5)
The indicator draws a fan of trend lines after clicking on a selected candle. The visual structure is similar to classic Gann angles.
The scale of the angles can be calculated either using a fixed value or based on the average price movement over a specified number of bars.
The indicator works independently on each timeframe.
Trend lines are visible only on the timeframe where they are created.
Calculation Modes (MethodInput)
-
fixedScaleMode — uses a constant value defined in FixedScale.
-
alternativeOpenCloseMode — calculates the average movement from Open to Close.
-
alternativeHighLowMode — calculates the average movement from High to Low.
Direction Control
The indicator allows switching between:
-
Rising mode
-
Falling mode
Angles are drawn only when the selected candle forms a local swing relative to neighboring bars.
Multi-Timeframe Operation
Each instance of the indicator:
-
Uses a unique object prefix (IndicatorId + timeframe)
-
Deletes only its own trend lines
-
Displays objects only on the current timeframe
Input Parameters
MethodInput
FixedScale
SecondaryAngles
RayRight
DrawBackground
AnglesQuantity
BarsToProcess
Color and line style settings are fully configurable.
