Currently my code is:
if ( .... )
{Draw.Line(this, "Line"+CurrentBar....}
How can I limit it to draw only the last 10 lines?
I tried the code below but it only drew one line
private int history = 10;
if ( .... )
{Draw.Line(this, "Line"+history....}

Comment