Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EasyLanguage to NinjaScript

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • RobinT
    replied
    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?

    Leave a comment:


  • RobinT
    replied
    I will send before and after.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    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:


  • RobinT
    replied
    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:


  • RobinT
    replied
    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:


  • RobinT
    replied
    Thanks again.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Originally posted by RobinT View Post
    no i changed it with notepad,.
    Can you supply the changes you made?

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Originally posted by RobinT View Post
    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?
    It would be the following in the Config. I recommend testing out changes to the config and seeing hwo they change the document.
    Code:
        <StoreRealTimeData>
          <boolean>false</boolean>
        </StoreRealTimeData>

    Leave a comment:


  • RobinT
    replied
    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:


  • RobinT
    replied
    no i changed it with notepad,.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    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:


  • RobinT
    replied
    IF I delete the duplicate the system creates it again.

    Leave a comment:


  • RobinT
    replied
    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:


  • NinjaTrader_PatrickH
    replied
    Hello RobinT,

    Thank you for your note.

    For the AT Interface in the Config, look for the following:
    Code:
        <AutoTrade>
          <Enabled>
            <boolean>false</boolean>
          </Enabled>
        </AutoTrade>
    There is no documentation on the Config.xml.

    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:


  • RobinT
    replied
    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 kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 10:18 AM
0 responses
105 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 09:50 AM
0 responses
87 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 07:21 AM
0 responses
106 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-11-2026, 02:11 AM
0 responses
86 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Working...
X