Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Chart not updating with Kinetic End of Day(Free) connection
Collapse
X
-
Hello HighTrade,
Thank you for response.
There is no supported means to force disconnect and reconnect through NinjaScript. The functionality you are looking for is not supported.
Please let me know if you have any questions.
-
I tried to do the following inside OnBarUpdate , but get error at bar 0: Object reference not set to instance of object . I have an indicator called FFD, connection is defined there
public class FFD : Indicator
{
public Connection connection
.........
protected override void OnBarUpdate()
{.
DateTime systemDate = DateTime.Now;
DateTime compareDateConnect = DateTime.Today.AddHours(16D);
DateTime compareDateDConnect = DateTime.Today.AddHours(17D);
if (compareDateDConnect <= systemDate & CurrentBar ==0 ) {
connection.Disconnect();
}
if (compareDateConnect == systemDate) Connect();
...code...
Leave a comment:
-
Hi , got the example ReloadAllHistoricalData(); working , and the chart loads the recent daily data , however , this is done upon change in connection , I need to find if there is a way to have this done based on timer. or cause a connect / disconnect based on timer everytday. so that I will have the chart always showing end of day , without hitting any reload. please advise. thank you
Leave a comment:
-
Hello HighTrade,
Thank you for your reply.
The feature you are looking for is not possible. There is not an auto-update feature currently available on either NinjaTrader 7 or NinjaTrader 8. You may be able to program NinjaScript to auto-reload historical data.
Let us know if we may be of any further assistance.
Leave a comment:
-
i am leaving the chart open 24/7 , and I would like the chart to be updated at end of day without having to reload or re-connect . is this possible ?
Leave a comment:
-
Hello HighTrade,
Thank you for your note.
If the instrument or stock you are trying to view on the Kinetick EOD connection is supported, you will be able to see EOD historical data for today at the end of the session. What was the instrument in question?
Please let us know if we may assist further.
Leave a comment:
-
Chart not updating with Kinetic End of Day(Free) connection
Hi , i have configured connection with Kinetick end of day ( free ) conneciton , set the connect at startup , however, did not see any update of the chart at end of day ( i assume for equities , should be 1 pm pacific time. chart properties, shows data series :
type Day , load data based on Days , End date ( todays date) , trading hours default 24/7
please advise.
thanks,Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by yertle, Yesterday, 08:38 AM
|
7 responses
28 views
0 likes
|
Last Post
by yertle
Today, 12:15 AM
|
||
Started by bmartz, 03-12-2024, 06:12 AM
|
2 responses
21 views
0 likes
|
Last Post
by bmartz
Today, 12:11 AM
|
||
Started by funk10101, Today, 12:02 AM
|
0 responses
5 views
0 likes
|
Last Post
by funk10101
Today, 12:02 AM
|
||
Started by gravdigaz6, Yesterday, 11:40 PM
|
1 response
9 views
0 likes
|
Last Post Yesterday, 11:49 PM | ||
Started by MarianApalaghiei, Yesterday, 10:49 PM
|
3 responses
11 views
0 likes
|
Last Post Yesterday, 11:33 PM |
Leave a comment: