Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
EasyLanguage to NinjaScript
Collapse
X
-
When you are making a bar with Last () a five minute bar does not print until the first tick of the next bar arrives. Is there anyway you can close a bar or send a dummy value to open the nexxt bar?
-
Hello RobinT,
Thank you for your patience.
You should not need to write to another file and the behavior you are seeing is not expected.
Would you be willing to send the Config.xml that you edited to platformsupport[at]ninjatrader[dot]com with 'ATTN: Patrick H - 1462237' in the subject line?
Leave a comment:
-
I can see that NT creates a new config.xml to save all its setup options.
is it possible that it is seeing
<ConnectOnStartup>true</ConnectOnStartup>
in
<ConnectOptions xsi:type="ExternalOptions">
<Backup />
<ConnectOnStartup>false</ConnectOnStartup>
as a new interface, as it is creating a new entry in config.xml.
should I be altering something else?
all editing done with notepad.
Leave a comment:
-
all I changed with Notepad was:
<ConnectOnStartup>false</ConnectOnStartup>
to
<ConnectOnStartup>true</ConnectOnStartup>
in
<ConnectOptions xsi:type="ExternalOptions">
<Backup />
<ConnectOnStartup>false</ConnectOnStartup>
Leave a comment:
-
Can you supply the changes you made?Originally posted by RobinT View Postno i changed it with notepad,.
Leave a comment:
-
It would be the following in the Config. I recommend testing out changes to the config and seeing hwo they change the document.Originally posted by RobinT View PostDo you know how to make it save data input via external. I tick the "save data as historical" box, but can I set it in config.xml?
Code:<StoreRealTimeData> <boolean>false</boolean> </StoreRealTimeData>
Leave a comment:
-
Do you know how to make it save data input via external. I tick the "save data as historical" box, but can I set it in config.xml?
Leave a comment:
-
Hello RobinT,
Thank you for your response.
Are you changing the Config.xml through your code? As this is unsupported there would not be any expected behavior.
Leave a comment:
-
I dont seem to be able to send a screenshot as the dropdow menu disappears when i try to capture it. It is in the connect and disconnect menus. I can tell you that the system duplicates\;
<ConnectOptions xsi:type="ExternalOptions">
<Backup />
<ConnectOnStartup>true</ConnectOnStartup>
<DataConnection>true</DataConnection>
<Mode>Live</Mode>
<Name>External Data Feed</Name>
<PasswordEncrypted>5Ol2f/gJnQA=</PasswordEncrypted>
<Provider>External</Provider>
<SimOcoPartialFills>false</SimOcoPartialFills>
<User />
</ConnectOptions>
so that there are 2 of the above. This only happens when I turn
<ConnectOnStartup>true</ConnectOnStartup>
from false to true. Also I see
<DataConnection>true</DataConnection>
has been turned from false to true in the duplicate.
Leave a comment:
-
Hello RobinT,
Thank you for your note.
For the AT Interface in the Config, look for the following:
There is no documentation on the Config.xml.Code:<AutoTrade> <Enabled> <boolean>false</boolean> </Enabled> </AutoTrade>
I would not expect two connections in NinjaTrader for the External Data Feed. Can you provide details on where you are seeing this?
Leave a comment:
-
I am using my program to load NT and it uses:
Process.Start(NTpid);
while (Connected(0) != 0 ) { Thread.Sleep(200); }
to start NT and wait for it to be ready. Connected only works if the AT interface is enabled. Is there any way of disabling the AT interface or controlling the bootup state in Config.xml. I note the AT interface remains enabled during reboot if enabled so that is ok.
I know Config.xml is unsupported, but is there any documentation anywhere?
I change the <ConnectOnStartup>false</ConnectOnStartup>
to true and that works ok, except, it generates another external data feed entry. This is not a major problem but it would be nice if it didn't. Any ideas?
Leave a comment:
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
129 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
105 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
87 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
106 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
86 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Leave a comment: