Rejoignez notre page de fans
- Vues:
- 10043
- Note:
- Publié:
- 2016.10.10 15:09
- Mise à jour:
- 2016.11.22 07:32
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur 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
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/15973

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.

The indicator displays the breakthrough line.

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

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