How do you see the price values when debugging in Visual Studio?
Author: Panache
Creation Date: 1/29/2019 2:58 PM
profile picture

Panache

#1
I'm trying to debug a strategy in Visual Studio. I am watching obj.Bars, but I can't find the value for the Close. When I drill down to Close>Date>[0] for example, I see everything except the price. I also tried watching obj.Close, but (of course) I see the same thing as obj.Bars.

How do I see the closing prices?

profile picture

Eugene

#2
In "Non-Public Members" of obj.Close, expand _values.
profile picture

Panache

#3
Thank you Eugene.
profile picture

Eugene

#4
Any time.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).