Swingchart – indicator for MetaTrader 5

  • Platform: Metatrader5
  • Currency pairs: Any pairs, indices and metals
  • Trading Time: Around the clock
  • Recommended broker: icmarkets, XM
  • W.D. Gann was a famous trader who developed several technical analysis tools and techniques. One of these tools was the swing-chart, which can be used to identify the trend as well as to trade with it. A swing chart is constructed by first coloring the bars in comparison to their preceding bar as follows:

    • Green a.k.a. “Up-day” if the bar has a higher high and higher low.
    • Red a.k.a. “Down-day” if the bar has a lower low and lower high.
    • Blue a.k.a. “Outside-day” if the bar has a higher high and lower low.
    • Grey a.k.a. “Inside-day” or “Harami” if the bar has a lower high and higher low.

    After coloring the bars as such, a ZigZag can be drawn with peaks where the colors change from green to red and troughs where the color changes from red to green.

    This implementation takes care of the corner cases in the description (e.g. defining an Upday as a day where the high is higher and the low is higher or equal) and makes sure that the ZigZag obtained has price maximums and minimums on the peaks and troughs. It does not redraw previous swings, but several new peaks and troughs can come in a “burst” in the case of several inside-days and up/down-days without a new high/low.

    Trading System:

    The trading system associated with this (and ZigZag in general) indicator is as follows:

    • When a peak has formed, set buy stop above the last peak if it was higher than the next-to-last peak. Stop loss is set below the trough. In the image, one would have a buy stop on the high of the rightmost green bar, a stop loss on the low of the next red bar – and in this case be in profits already.
    • When a trough has formed, sell stop below last trough if it was lower than the next-to-last trough. Stop loss is set above the peak.
    Get E-Book Worth $100 for Free!!!

    Comparison to Other ZigZags:

    When it comes to a ZigZag for use in technical analysis, EAs and indicators, there are some desirable properties which include:

    1. The ZigZag should not redraw the previous peaks and troughs as new bars come in.
    2. The ZigZag should find significant peaks and troughs and ignore irrelevant ones.
    3. A ZigZag segment should define the maximum and minimum price on that segment.

    The standard ZigZag draws nicely formed swings but is known to be able to redraw itself. Therefore it is not as useful for trading as it is for analyzing past price series. The FastZZ (and ZigZags like it) work by defining retracement size and considers price only. If set too high, many significant peaks and troughs can be skipped, and if set too low there can be irrelevant peaks and troughs. The Swingchart ZigZag can be seen as a mid-point between these two, not redrawing itself but also capable of considering a dynamic price range. Its main advantage is that it finds all relevant peaks and troughs and can be used in other applications which require a fine-grained peak/trough ordering.

    • How to install MT5 indicator?
    • 1. On the desktop, double-click to open the MT45 trading platform software you installed.
    • 2. Click on “File” in the upper left corner – “Open Data Folder”, double-click the MQL5 folder, and double-click the Indicators folder
    • 3. Copy the metrics you need to install to the Indicators folder
    • 4. Open MT5, find “Navigator” in the display menu, then click “Technical Indicators” of “Navigator” and right click to refresh, you will see the indicator just copied.
    • 5. In the “Technical Indicators” of “Navigator”, find the indicator file just installed, double click or click manually to the chart window
    • 0/5 (0 Reviews)