Hello Ninja Trader Community,
I am currently drawing lines from one low value to another bar's low value. However, I've noticed that some lines are intersecting with the bars. I would like to prevent this from happening. Is there a way for me to determine whether a line is crossing any bars on the chart through code?
For example, I would like to prevent dotted lines from extending beyond the bars in the screenshots below.
Please assist me with this issue.
Thank you
Ramanji
Comment