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 11-25-2010, 10:29 AM   #16
Trade From My Recliner
Junior Member
 
Join Date: Nov 2010
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
Default

you mentioned running with live data. What about Market Replay? I am having trouble getting this strategy to load in Market Replay but I can get others to load.
Trade From My Recliner is offline  
Reply With Quote
Old 11-25-2010, 10:36 AM   #17
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Yes, in Market Replay you should be able to test it, too - since here you could work with updates on each tick (CalculateOnBarClose = false) - what issues are you having with your strategy?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-25-2010, 10:42 AM   #18
Trade From My Recliner
Junior Member
 
Join Date: Nov 2010
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
Default

when I click enable>true and then apply, it goes right back to false. I checked the data series and set session template to 24/7. I notice there that the end date is greyed out, but the date there is one day earlier than the day I am trying to replay. And yes I have downloaded the replay data for that day as well as the day I am trying to replay.
Trade From My Recliner is offline  
Reply With Quote
Old 11-25-2010, 10:51 AM   #19
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

What error message (if any) do you see if go to the log tab of the Control Center (this would be always the first stop to check if things are not as you would expect)?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-25-2010, 10:54 AM   #20
Trade From My Recliner
Junior Member
 
Join Date: Nov 2010
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
Default

nothing happens in the log at all
Trade From My Recliner is offline  
Reply With Quote
Old 11-25-2010, 10:59 AM   #21
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Can you please export your strategy through File > Utilities > Export and then attach it here so I can take a quick look?

Thanks
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-25-2010, 11:10 AM   #22
Trade From My Recliner
Junior Member
 
Join Date: Nov 2010
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
Default

Strategy attached (I think)
Attached Files
File Type: zip HiLoBreak.zip (4.5 KB, 8 views)
Trade From My Recliner is offline  
Reply With Quote
Old 11-25-2010, 11:35 AM   #23
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

Works for me here in replay, tried for example 1 min chart on ES - did you try removing and then readding the strategy on the chart to replay?
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 11-25-2010, 11:41 AM   #24
Trade From My Recliner
Junior Member
 
Join Date: Nov 2010
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
Default

I deleted it and rewrote it...now it works. Thank you very much for your help...AND ON THANKSGIVING! Take some time off now...you earned it
Trade From My Recliner 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
T&S HOD/LOD prints smeagol Miscellaneous Support 1 09-28-2010 09:49 AM
B6 : Incorrect HOD on same chart settings superarrow Version 7 Beta General Questions & Bug Reports 4 01-08-2010 07:08 AM
Pivot line shifts at day break, not session break?? billy822 Charting 4 03-23-2009 10:19 AM
Execute on price HOD tahoebry Strategy Development 9 10-16-2008 04:18 PM
How to display ticks to HOD & LOD zq655 Indicator Development 1 01-22-2008 07:45 AM


All times are GMT -6. The time now is 01:36 PM.