GannSwing – indicator MetaTrader 5

Gann Swing is similar to ZigZag. It allows detecting market patterns and is calculated using the Gann trend detection method.

The indicator has no input parameters.

  1. Two consecutive Higher High of the last two candles indicate Upswing.
  2. Two consecutive lowering Lows of the last two candles indicate a downswing.
  3. If the next bar has a higher high and lower low (or same low) when compared to the previous bar, then the indicator line goes up connecting the high of the next bar.
  4. If the next bar has a lower or equal High and a lower Low as compared to the preceding bar, then the indicator line goes lower, joining the Low of the next bar.
  5. If the next bar is an inside bar (lower high and higher low), the bar is skipped before the next one appears.
  6. If the next bar is an external bar (a higher High and a lower Low), then the indicator line will connect to the High of the external bar, provided that the bar following the external bar is lower, OR the indicator line will connect to the Low of the external bar, provided that the bar following the external bar is higher.
  7. If the price has fixed above the previous peak, this means the likely start of an uptrend.
  8. If the price has fixed below the previous bottom, it means that a downtrend is likely to start.
Alternative:   Lot sizing risk based and also converting the currency of the account - script MetaTrader 4



https://www.mql5.com/ru/code/22793

📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks