GRFLeadingEdger_Pivot_HTF – indicator MetaTrader 5

Two colored filled rectangles with the display of channel levels. The rectangles are drawn between the values โ€‹โ€‹of two channels on one bar of any timeframe of the GRFLeadingEdge indicator.

Indicator input parameters:

//+--------------------------------------------+
//|  Indicator input parametersย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย |
//+--------------------------------------------+
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4;ย ย ย ย ย ย ย ย ย ย ย ย ย ย // Chart period
input string Symbols_Sirname="GRFLeadingEdger_Pivot_";ย ย // Name for the indicator labels
input uint Samples=60;
input intย ย LookAhead=0;
input double StdLevel1=2.0;
input doubleย ย StdLevel2=4.0;
input color Up_Color=clrSpringGreen;ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย // The color of the upper band of the indicator
input color Dn_Color=clrYellow;ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย  // The color of the lower band of the indicator
input uint SignalBar=0;ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย  // Bar index to get the indicator values
input uint SignalLen=40;ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย // The length of the indicator bands
//---- Colors of price labels
input colorย ย Middle_color=clrBlue;
input colorย ย Upper_color1=clrMediumSeaGreen;
input colorย ย Lower_color1=clrRed;
input colorย ย Upper_color2=clrDodgerBlue;
input colorย ย Lower_color2=clrMagenta;

The indicator requires GRFLeadingEdge.mq5 indicator file. Save it to <terminal_data_folder>\MQL5\Indicators.

  Zero lag Hull Average - indicator MetaTrader 5

Fig1. GRFLeadingEdger_Pivot_HTF

Fig1. GRFLeadingEdger_Pivot_HTF


๐Ÿ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks