protected override void OnBarUpdate()
{
// Use this method for calculating your indicator values.
double mLog1 = Close [0] / Close [1]; // works fine
double mLog2 = Math.Log(mLog1); // works fine
double mSqrt = Math.Sqrt(365)*100; // works fine
double test = StdDev(mLog2,100) [0] * mSqrt;
// mLog2 type and series are the problems I cannot fix
Plot0.Set(test);
}
I appreciate your help.
Andrew
Comment