Standard Deviation indicator has changed?
Standard Deviation indicator has changed?
18 Jul 2013, 23:30
Hi,
after the recent update the standard deviation indicator seems to have changed. I used to run it with 4 parameters but now it only accepts 3? Both the in-platform reference material and the website /api/indicators/standarddeviation still show the below, but the compiler fails:
Examples
private StandardDeviation _standardDeviation;
protected override void Initialize()
{
_standardDeviation = Indicators.StandardDeviation(MarketSeries.Close, 14, 2, MovingAverageType.Simple);
}
public override void Calculate(int index)
{
double result = _standardDeviation.Result[index];
}
please advise if the functionality / result has now also changed as a result ? If it has please let me know how can I get the same results with the new indicator as I used to get with (xxxx,4,2,xxxx)?
Thanks
cAlgo_Fanatic
19 Jul 2013, 09:56
We apologize for this inconvenience. You can use this code instead in order to get the same results as before:
@cAlgo_Fanatic