I am watching the code Mov_Avg_1_Line study. I see the instance of the class AverageFC
Code: Select all
private AverageFC m_averagefc1;
Code: Select all
public class AverageFC : FunctionSimple<double>
{
public AverageFC(CStudyControl ctx);
public AverageFC(CStudyControl ctx, int data_stream);
public int length { get; set; }
public ISeries<double> price { get; set; }
protected override double CalcBar();
protected override void Create();
protected override void StartCalc();
}
Thanks!