NexusFi: Find Your Edge


Home Menu

 





VS2010 Conditional Breakpoints not working?


Discussion in NinjaTrader

Updated
    1. trending_up 1,454 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 0 posts
    2. attach_file 1 attachments




 
Search this Thread

VS2010 Conditional Breakpoints not working?

  #1 (permalink)
 drolles 
London, UK
 
Experience: Beginner
Platform: TradeLink, OpenQuant, considering anything that works...
Trading: if it trades...
Posts: 94 since Oct 2010
Thanks Given: 24
Thanks Received: 39

I’m wondering if someone with some solid VS 2010 experience could please help?

I’m trying to use VS 2010 conditional breakpoints. However, the breakpoint is breaking every step and the conditional doesn’t appear to be kicking in.

I’ve got a strategy here I’m trying to close out all positions prior to the close of NY trading (~ 21:00 Friday London time).

I want to inspect some variables when it is Friday and 21:00 therefore, I set the conditional breakpoint in VS as follows:

(quote.DateTime.DayOfWeek == DayOfWeek.Friday) && (quote.DateTime.Hour == endtime)

This breakpoints fires every time. Any suggestions?

I’ve checked this site here and I think I’m following the instructions correctly: Welcome to Windows Live ... g0021.aspx

The code I'm trying to inspect is here:




Thanks and regards,

drolles

Started this thread Reply With Quote




Last Updated on July 11, 2012


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts