Unfortunately, it looks like your screenshot did not upload correctly. However, this should be fairly easy to accomplish, using the DrawLine() method, as long as you can define your starting and ending x and y values. Using the last version of the indicator in this forum thread, you should be able to edit the condition that draws dots as follows:
if (High[0] > High[1] && High[0] > lastDotPrice) { DrawDot("hh"+upCount, false, 0, High[0] + 1 * TickSize, Color.Green); DrawLine("line" + CurrentBar, 0, High[0] + 1 * TickSize, lastDotBar, lastDotPrice + 1 * TickSize, Color.Green); lastDotPrice = High[0]; lastDotBar = CurrentBar; }
For more information on DrawDot(), please see the link below:
http://www.ninjatrader.com/support/h...l?drawline.htm
Comment