Join our fan page
- Views:
- 9367
- Rating:
- 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
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/15973
![Simple ZigZag](https://c.mql5.com/i/code/indicator.png)
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](https://c.mql5.com/i/code/indicator.png)
The indicator displays the breakthrough line.
![dTrend_HTF](https://c.mql5.com/i/code/indicator.png)
The dTrend indicator with the timeframe selection option available in input parameters.
![Exp_i-CAi](https://c.mql5.com/i/code/expert.png)
The Exp_i-CAi Expert Advisor is based on change of direction of the i-CAi indicator.