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

votes: 16
2015.07.01 15:58
2016.11.22 07:32
rainbow_hma.mq5 (10.33 KB)view

Sixty Hull Moving Averages (HMA) with gradually changing period on a single chart.

Indicator input parameters:

//| Indicator input parameters                   |
input uint StartLength=2; // First depth of averaging
input uint StartStep=2;   // Starting step of averaging change
input uint EndStep=6;     // Final step of averaging change                                         
input Applied_price_ IPC=PRICE_QUARTER_;// Price constant
input int Shift=0;        // Horizontal indicator shift in bars
input int PriceShift=0;   // Vertical indicator shift in points

The indicator uses the classes of the SmoothAlgorithms.mqh library. Working with these classes was described in details in the article "Averaging Price Series for Intermediate Calculations Without Using Additional Buffers".

Fig.1. The Rainbow_HMA indicator

Fig.1. The Rainbow_HMA indicator

Translated from Russian by MetaQuotes Software Corp.
Original code:

ChandelierStops_v1_HTF_Signal ChandelierStops_v1_HTF_Signal

The ChandelierStops_v1_HTF_Signal indicator shows a trend direction or a signal based on the ChandelierStops_v1 indicator.

ChandelExit_HTF_Signal ChandelExit_HTF_Signal

The ChandelExit_HTF_Signal indicator shows a trend direction or a signal based on the ChandelExitSign indicator.

Rainbow_HMA_HTF Rainbow_HMA_HTF

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

MultiChandelierStops_v1Trend_x10 MultiChandelierStops_v1Trend_x10

The MultiChandelierStops_v1Trend_x10 indicator shows information on current trends using the ChandelierStops_v1 indicator position from ten different timeframes.