I am creating a strategy that needs to access drawing objects I have manual drawn on a chart. We can assume those drawing objects are rectangles for this example. I would like to only to only print the name of the rectangle that starts before the current bar and ends after the current bar. I can't seem to figure out how to do this. So far I can loop through all of the objects something like below but I would like to ignore all the rectangles that came before.
if (DrawObjects.Count > 0) {
Any help to get me going in the right direction would be appreciated.
Thanks!

Comment