Download MetaTrader 5

Watch how to download trading robots for free

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

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

2016.10.10 15:09

AutoFibAutoTrend - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 11

Real author:


The indicator plots price channel and Fibonacci levels based on the latest ZigZag peaks.

Indicator input parameters:

//|  Indicator input parameters                    |
//---- Input parameters of the ZigZag
input ENUM_TIMEFRAMES Timeframe=PERIOD_H6;             // ZigZag indicator timeframe for calculation
input int ExtDepth=12;
input int ExtDeviation=5;
input int ExtBackstep=3;
//---- indicator display settings
input string Sirname="AutoFibAutoTrend";  // Name for the indicator labels
input bool ShowFib=true;
input color FibColor=clrRed;
input uint   FibSize=1;
input bool ShowFibFan=true;
input color FibFanColor=clrMediumSeaGreen;
input uint FibFanSize=1;
input bool ShowTrend=true;
input color TrendColor=clrBlue;
input uint TrendSize=5;

The indicator requires compiled ZigZag_NK_Color.mq5 indicator file. Place it in <terminal_data_folder>\MQL5\Indicators.

Fig.1. The AutoFibAutoTrend indicator

Fig.1. The AutoFibAutoTrend indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

Simple ZigZag Simple ZigZag

Simplified version of the popular ZigZag indicator. The algorithm runs significantly faster, does not use intermediate calculation buffers, does not contain nested cycles and, therefore, does not redraw itself.

i-CAi i-CAi

The indicator displays the breakthrough line.

dTrend_HTF dTrend_HTF

The dTrend indicator with the timeframe selection option available in input parameters.

Exp_i-CAi Exp_i-CAi

The Exp_i-CAi Expert Advisor is based on change of direction of the i-CAi indicator.