Add(new Line(Color.DarkGray, threshold, "Upper"));
Add(new Line(Color.DarkGray, -threshold, "Lower"));
Since threshold is a user input, if the threshold is changed, the Line should move. It doesn't - I believe user input changes are supposed to be known going into Initialize(), so this might be a bug. (64-bit v7..4)
I tried placing the Add() in the OnStartUp() method, but that does not work.
The Lines have names... How do I update them ?
I do NOT want to make a plot of a constant line and update it on every tick. That would be a silly waste of overhead. It also would not extend the line all the way to the right edge but would stop on the last bar.
There must be a reasonable way to do this? Thanks
Comment