MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Update to MetaTrader 4 build 735 and Test the VPS for Free
To post a new code, please log in or register

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.11.01 14:37
Color ZigZag

Color ZigZag - indicator for MetaTrader 5

| English Russian Chinese Spanish Portuguese

Views:
2007
Rating:
votes: 9
colorzz.mq5 (6.02 KB)view

Description:

ColorZZ is the modification of the FastZZ indicator. ColorZZ draws segments of different colors depending on the ratio of the current segment range to the previous segment range. The following ratio values are selected: Red(<=0.382), Gold(<=0.618), Lime(<=1), Aqua(<=1.618) and Blue(>1.618).

Warning. The color of a vertical segment is not displayed correctly by this indicator. This is due to technical constraints of the DRAW_COLOR_ZIGZAG plot style.

Image:


Translated from Russian by MetaQuotes Software Corp.
Original code: http://www.mql5.com/ru/code/1040