Watch how to download trading robots for free
Find us on Facebook!
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
Views:
5369
Rating:
(16)
Published:
2015.07.01 15:58
Updated:
2023.03.29 13:45
\MQL5\Include\
rainbow_hma.mq5 (10.33 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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

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.