Holt EMA

Holt EMA

The Holt EMA indicator return the Holt method of smoothing an exponential average.

You’ll find in this post 2 different indicators: the first one is the Holt EMA displayed in only one color and compatible with prorealtime 10.2. The second one is the same moving average but displayd with different colors accordingly to its slope in degrees, I explain it below the first indicator code.

Coded by request on French forums.

 

The code uses the Holt EMA as a function, measures its slope in degrees and returns the moving average of different colors according to its degree of inclination. The ITF file of the indicator and an example of how it looks o chart is attached.

The formula of measuring the slope in degrees is rather nice I must admit. I can use it to make it rather a dynamic variation of the color in RGB type “rainbow”, because here we use only 5 different colors according to inclination of the slope and conditions tested on “angle1 ” and “angle2 “which are 2 parameterizable variables however. In short, a good exercise and a new addition to the library of codes for the happiness of all. I leave everyone to look at what it returns, I have not well understood if the Holt EMA has some interest on my side.
Attention this indicator with variation of color is compatible only version 10.3.

 

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

  1. robertanthonyuk • 12/29/2016 #

    Hi,What do the each colour represent?
    Rob

avatar
Register or

Likes

avatar avatar avatar avatar avatar
Related users ' posts
Lotech123 This Indicator is very useful if the Risk number is altered to suit the time frame, volume o...
Bern error displaying, code must end with RETURN. Any idea hot to fix it?
j102491 how are you applying it to asc trend
Yantra "i believe this indicator could help any trend followers in trading decision. " I'm wonderin...

Top