The Delta MA Displays a moving average of the difference between the two given inputs over a given range of bars (Delta Range). The formula for this is as follows: Moving Average(input1 – input2[d], n) where input[d] is the input value of a bar d bars ago. The user may change the inputs, method (WMA), period and delta range length. This indicator’s definition is further expressed in the condensed code given in the calculation below.
How To Trade Using Delta MA
No trading signals are calculated for this indicator.
How To Access in MotiveWave
Go to the top menu, choose Study>Custom>Delta MA
or go to the top menu, choose Add Study, start typing in this study name until you see it appear in the list, click on the study name, click OK.
Important Disclaimer: The information provided on this page is strictly for informational purposes and is not to be construed as advice or solicitation to buy or sell any security. Please see our Risk Disclosure and Performance Disclaimer Statement.
//input1 = price, user defined, default is close
//input2 = price, user defined, default is open
//method = moving average (ma), user defined, default is SMA
//period = user defined, default is 10
//deltaRange = user defined, default is 5
//index = current bar number
price1 = getPrice(index, input1); price2 = getPrice(index-deltaRange, input2); DELTA = price1 - price2; ma = ma(method, index, period, DELTA); setColor(ma); PlotHist: DELTA;