I have about 650 horizontal lines on my chart and I'm trying to export their price to a text file but the loop is not registering that there are ANY horizontal lines in DrawObjects.
As you can see in the screenshot on line 96, the pinned the variable 'draw' IS a HorizontalLine but the boolean is still FALSE. This screenshot was taken as I stepped through the loop and lines 98-100 were never touched.
Am I going crazy?
I tried with and without the full domain so there's no change if I remove NinjaTrader.NinjaScript
Also, is line 100 correct for getting the Price of the horizontal line?
Please help and thanks!
Comment