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 > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 12-24-2009, 04:48 AM   #1
surfin
Junior Member
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
Default Reload script and historical data

What construction shoud I use in my script for after reload this script (right click/reload script) it get historical bid/ask volume data, which was sawed?

Thanks for your reply,
Regards
surfin is offline  
Reply With Quote
Old 12-24-2009, 07:17 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

surfin,

It will not be possible to store the historical bid/ask and display it after you reload. To do so would require a lot of custom programming unfortunately outside the scope of what we can support. You can try searching the forums for help on this though as I believe there was some things people were working collaboratively on.
NinjaTrader_Josh is offline  
Reply With Quote
Old 12-24-2009, 11:04 AM   #3
surfin
Junior Member
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
Default

ok, but may be I can use in my script option "Replay market connecton", cant I?
surfin is offline  
Reply With Quote
Old 12-24-2009, 01:41 PM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

You can use Market Replay to play back the bid/ask, but that is not the same as reloading script in real-time. It is literally going back after the fact and playing the market data one more time. This is a whole separate connection which cannot be used in live trading.
NinjaTrader_Josh is offline  
Reply With Quote
Old 12-25-2009, 01:54 AM   #5
surfin
Junior Member
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
Default

sorry Josh, I mean option "Run market replay recorder"
what about it?
surfin is offline  
Reply With Quote
Old 12-25-2009, 08:46 AM   #6
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

surfin,

That just creates a Market Replay file that you can play back at a later point in time. It will not help you when you do a reload NinjaScript in realtime.
NinjaTrader_Josh is offline  
Reply With Quote
Old 12-25-2009, 02:15 PM   #7
surfin
Junior Member
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Josh View Post
surfin,

That just creates a Market Replay file that you can play back at a later point in time. It will not help you when you do a reload NinjaScript in realtime.

Thanks any way
surfin 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
no reload historical data lindsayf Miscellaneous Support 4 11-16-2009 03:21 AM
Reload historical data Klaus Hengher Strategy Development 1 06-05-2009 05:19 AM
Reload Historical Data r2kTrader Strategy Analyzer 4 05-28-2009 01:50 PM
Reload historical data Winnie General Programming 2 03-19-2009 08:04 PM
have to reload historical data twice chartlearner Charting 12 05-08-2008 08:46 AM


All times are GMT -6. The time now is 07:57 AM.