sorry, I have a new question.
I want to build an indicator that has two moving averages; one move 10 bars ago on the current bar and the other not.
Type:
protected overridevoid Initialize()
{
Add(new Plot(Color.Red, "SMA"));
Displacement = 0;
Add(new Plot(Color.Green, "SMA"));
Displacement = 10;
}
This syntax does not work. How do I do?
Thank you for your answer.
germano
Comment