Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Trend"));
and in "OnBarUpdate" I have
Trend.Set(Trend_flo);
which works fine
If I add the following 2 lines to my initialize area and compile it is ok;
Add(new Plot(Color.FromKnownColor(KnownColor.Green), PlotStyle.Line, "TStopL"));
Add(new Plot(Color.FromKnownColor(KnownColor.Red), PlotStyle.Line, "Short_TStop"));
and then add the following line in my "OnBarUpdate"
TStopL.Set(Trend_flo);
I get the following compilation error - The name 'TStopL' does not exist in the current context
It does! What am I doing wrong here?

Comment