Skip to content
All library documents

A Modified VIDYA Zone for Breakout Signals and Trend Direction

Article MQL5 code base

Summary

The document describes a VIDYA indicator zone calculated from high, low, and median prices. It says that applying the regular VIDYA calculation separately to these prices can produce inconsistent results when their momentum differs, so this version modifies the calculation to keep the zone internally consistent. It gives no formula or performance evidence for the modification.

The proposed use is to avoid trading while price remains inside the zone and consider a trade when price breaks outside it. The indicator also colors its middle line to reflect agreement between the two outer lines: it adopts their color when they match and stays neutral when they differ. This can offer a rough overall trend reading alongside the breakout signal. The document provides a qualitative description only; it does not specify entry confirmation, exits, position sizing, or testing results, so traders would need to evaluate those choices themselves.

Key ideas

  • The zone uses high, low, and median prices in a modified VIDYA calculation.
  • The modification is intended to prevent inconsistent zone behavior across prices with different momentum.
  • Price inside the zone is treated as a no-trade or warning state.
  • A move outside the zone may be considered a breakout entry signal.
  • The middle line reflects whether the outer lines agree on direction.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.