NinjaTrader Support Forum  

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 04-01-2009, 01:18 PM   #16
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

cesas,

As stated, as you try and load a new chart it is very possible that you pull a different data set from your data provider. Many data providers have different servers storing slightly different data. As you reload it may send you to a different server and ultimately different data.

PriceTypeSupported allows you to choose which price series you want the indicator to calculate on. It is of no value if your indicator was not programmed to use it.
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-01-2009, 01:24 PM   #17
cesas
Member
 
Join Date: Feb 2009
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
Default

then, there is no way to handle this??
cesas is offline  
Reply With Quote
Old 04-01-2009, 02:31 PM   #18
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

cesas,

Not sure I understand you. As stated, keep the data the same, keep the settings the same, it will (for the most part) produce same results.
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-01-2009, 02:46 PM   #19
cesas
Member
 
Join Date: Feb 2009
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
Default

see the pics, same parameters, same day, all the same, but different bar closes and different indicator signals.
Attached Images
File Type: jpg monday 9, shut down ninja and reload chart.jpg (61.7 KB, 37 views)
File Type: jpg monday 9 worked all day long.jpg (63.8 KB, 29 views)
cesas is offline  
Reply With Quote
Old 04-01-2009, 02:56 PM   #20
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

Indicator signals look the same when your data is the same. If you keep the data the same, you will have the same results. Just disconnect from your data provider and then your data will remain static. You will just pull whatever is stored in your NinjaTrader database.
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-02-2009, 07:31 PM   #21
cesas
Member
 
Join Date: Feb 2009
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Josh View Post
Indicator signals look the same when your data is the same. If you keep the data the same, you will have the same results. Just disconnect from your data provider and then your data will remain static. You will just pull whatever is stored in your NinjaTrader database.
How can I keep the same data if ninjatrader always reload the data when I restart it?????

If ninjatrader can only reload the data that it is not displayed, that is fine, but ninjatrader always reload all the data. I dont understand....I am confused
cesas is offline  
Reply With Quote
Old 04-03-2009, 06:22 AM   #22
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

cesas, under Tools > Options > Data - did you enable to store real time bar data? Otherwise NinjaTrader will load the needed data on connection. To review when it will load, please see this link - http://www.ninjatrader-support.com/H...ricalData.html
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 04-03-2009, 07:17 AM   #23
cesas
Member
 
Join Date: Feb 2009
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Bertrand View Post
cesas, under Tools > Options > Data - did you enable to store real time bar data? Otherwise NinjaTrader will load the needed data on connection. To review when it will load, please see this link - http://www.ninjatrader-support.com/H...ricalData.html
the option is enabled, but NT still reload the full chart data
cesas is offline  
Reply With Quote
Old 04-03-2009, 07:22 AM   #24
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

If you mean it reloads always the current day, then this is expected, please review this link I posted earlier.
NinjaTrader_Bertrand is offline  
Reply With Quote
Old 04-03-2009, 07:29 AM   #25
cesas
Member
 
Join Date: Feb 2009
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
Default

not only the current day, multiple days, about 300 days ago, like the format data series configuration
cesas is offline  
Reply With Quote
Old 04-03-2009, 08:15 AM   #26
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

cesas,

Data will always be loaded whenever one of the conditions in the link Bertrand posted occurs. Depending on your data provider it may or may not only load a portion of it. I believe some data providers only offer you data in chunks and you would be required to download the whole chunk.
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-03-2009, 08:23 AM   #27
cesas
Member
 
Join Date: Feb 2009
Posts: 71
Thanks: 0
Thanked 0 times in 0 posts
Default

Quote:
Originally Posted by NinjaTrader_Josh View Post
cesas,

Data will always be loaded whenever one of the conditions in the link Bertrand posted occurs. Depending on your data provider it may or may not only load a portion of it. I believe some data providers only offer you data in chunks and you would be required to download the whole chunk.
Josh, I use IB
cesas is offline  
Reply With Quote
Old 04-03-2009, 08:57 AM   #28
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

cesas,

I'm not sure, but I don't think IB even holds 300 days of historical data. It is just refreshing up your chart to get it caught up based on the rules stated earlier.
NinjaTrader_Josh 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
Synergy Signals.. Help Needed vrathee NinjaScript File Sharing Discussion 1 01-15-2009 03:09 AM
Chart Signals ryebank ATM Strategies (Discretionary Trading) 4 12-02-2008 09:08 AM
EFS signals miketpcc2 General Programming 1 07-17-2008 09:58 AM
email signals from QuoteTracker Dimis ATM Strategies (Discretionary Trading) 1 06-27-2008 01:01 PM
Ensign Signals AO76 Automated Trading 1 07-21-2007 12:07 PM


All times are GMT -6. The time now is 05:24 PM.