Forum

Indicator: Calculating Standard Deviations Between Moving Averages

I am trying to create an indicator that calculates the average distance between MA's, display those calculations in STDeviation form, and the creates a buy/sell signal if the deviation threshold variable is exceeded. However I am stuck on the errors... OnCalculate function declared with wrong type