Here is an example situatuion: I can draw a line based on certain conditions using the default Draw.Line() to either show the last drawn line or all historical lies drawn by simply adding "+CurrentBar" to string tag as show below
Draw.Line(NinjaScriptBase owner, string tag, ....) to show only the last line drawn
Draw.Line(NinjaScriptBase owner, string tag + CurrentBar, ....) to show all historical lines drawn
Here is the question: I want to use SharpDX rendering of the lines for resource efficiency. However, I want to have an option to render only the last line rendered or all the historical lines rendered. Is that possible in SharpDX? If so, how such an option is coded in SharpDX to allow switching between rendering all historical lins or only the last redered line? An example would be appreciated.
Many thanks.

Comment