Category Trend  Published on 05/10/2012

ADX VMA

Description

The ADXVMA is a Moving Average Indicator based on Volatility where the Volatility is measured by the value of the ADX.  The ADXVMA provides levels of support during uptrends and resistance during downtrends.

 

adxvma


u

MM
mmQuant

Joined on 19.09.2012

  • Distribution: Free
  • Language: C#
  • Trading platform: cTrader Automate
  • File name: AdxVma.algo
  • Rating: 5
  • Installs: 5763
  • Modified: 13/10/2021 09:54
Comments
Log in to add a comment.
HI
higorcairo · 1 year ago

How can i get the source code?

GA
galafrin · 5 years ago

There might be an error in line 85  ; 

_iSeries[index] = ((1 - _k)*_iSeries[1] + _k*diff/sum);

it should be

_iSeries[index] = ((1 - _k)*_iSeries[index-1] + _k*diff/sum); 

Based on the formula of exponential moving average