Raleigh NC/USA
Experience: Beginner
Platform: NinjaTrader
Trading: stocks
Posts: 33 since Oct 2014
Thanks Given: 212
Thanks Received: 16
|
Using NT7 and Visual Studio Community 2013.
I'm having trouble with conditional breakpoints. Hit count breakpoints work fine, so I think I must be entering the condition incorrectly. For example, if I'm trying to break execution when CurrentBar is 100, I've tried the following:
CurrentBar == 100 (gets executed through without stopping)
"CurrentBar" == 100 (error msg)
CurrentBar = 100 (error msg)
"CurrentBar == 100" (error msg)
Can you see where I'm going wrong?
Edit: So it's not a syntax problem. It simply won't work using CurrentBar. An easy solution is to declare a local variable and set it equal to CurrentBar; then create a conditional breakpoint using that variable.
|