middle high-low moving average - MHLMA

Category: Indicators By: Nicolas Created: July 29, 2016, 5:28 PM
July 29, 2016, 5:28 PM
Indicators
0 Comments

The middle high low moving average (MHLMA) is the new moving average described by V.APIRINE in the last TASC magazine (August 2016).

This indicator take the center value of the last 3 highest high and lowest low and then smooth it with a simple moving average (10 periods default).

The author describe a method to combine this indicator with another traditional moving average to trigger signals of trend following.

 

// --- external parameters
//HLrangeperiods = 3
//MAlength = 10

hh = highest[HLrangeperiods](high)
ll = lowest[HLrangeperiods](low)
r = (hh+ll)/2

MHLMA  = average[MAlength](r)

RETURN MHLMA as "Middle High Low Range Moving Average"

 

Download
Filename: PRC_MHL-MA.itf
Downloads: 129
Nicolas Master
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

Logo Logo
Loading...