NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 08-17-2012, 04:10 AM   #1
AnotherTrader
Senior Member
 
Join Date: Aug 2009
Posts: 266
Thanks: 41
Thanked 8 times in 8 posts
Send a message via ICQ to AnotherTrader
Default Troubleshooting ideas …

Am just looking for helpful ideas for avenues to investigate/resolve the following issue:
I have a custom strategy.
If I load the strategy to a chart and enable it, the entries/exits shown on the chart are not those I expect to see.
However, if I then click my mouse on the chart, hit <f5>, and proceed to reload the NinjaScript, the strategy then reloads and now - yes! - the entries/exits are what I would expect.
So when I load the strategy initially it is not working correctly, but re-loading sorts out the problem.
Any ideas what might be causing this, and/or suggestions about how to troubleshoot the problem?
Thanks.
AnotherTrader is offline  
Reply With Quote
Old 08-17-2012, 04:22 AM   #2
NinjaTrader_Joydeep
NinjaTrader Customer Service
 
NinjaTrader_Joydeep's Avatar
 
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
Default

Hello AnotherTrader,
I would first suggest to make sure your PC closed is synced.

Please use the steps below to change your Time Zone and sync the PC clock, note to set the server to time.nist.gov.

You can sync your PC clock by double clicking on the clock in the lower right corner of your desktop. Press 'Change time zone...' Set the Time zone and press 'OK'.

Once you have done that, click on Internet Time tab set the server to time.nist.gov and then click Update. Your PC clock should now be updated.

If you still face the scenario then please send a toy NinjaScript code* replicating the behavior to support[AT]ninjatrader[DOT]com

Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

I look forward to assisting you further.

*The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
NinjaTrader_Joydeep is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
troubleshooting strategy coolmoss Automated Trading 1 07-02-2012 07:52 AM
MB Trading - Troubleshooting Indtrader Connecting 57 06-03-2012 09:28 AM
A few ideas for charting cunparis Suggestions And Feedback 2 02-05-2009 08:02 AM
Any ideas on how to proceed? coolmoss General Programming 3 02-22-2008 09:05 AM
A few more ideas JC_Fernandes Suggestions And Feedback 1 10-23-2007 09:49 AM


All times are GMT -6. The time now is 12:39 PM.