Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

AutoFibAutoTrend - indicator for MetaTrader 5

Views:
9056
Rating:
(19)
Published:
2016.10.10 15:09
Updated:
2016.11.22 07:32
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

zzuegg

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 Ltd.
Original code: https://www.mql5.com/ru/code/15973

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.