Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

EasyLanguage to NinjaScript

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

  • NinjaTrader_PatrickH
    replied
    Hello RobinT,

    Thank you for clarifying.

    There is a process for this, have you followed the instructions at the link below?
    This would be the only means to "import" real-time data.

    Leave a comment:


  • RobinT
    replied
    Sorry I meant real time data. Historical, no problem.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Originally posted by RobinT View Post
    In the how bars are built section it talks about timestamped data. I feed NT fromTradestation and near the end of a bar there can be discrepancies. The way round it would be to send a timestamp. I cant see a way off getting timestamped data in to TS except through the market replay connection. I that how to do it?
    I do not follow. You should be able to import timestamped data in NinjaTrader from TradeStation. Please review our documentation on this at the following link: http://ninjatrader.com/support/helpG.../importing.htm

    Leave a comment:


  • RobinT
    replied
    In the how bars are built section it talks about timestamped data. I feed NT fromTradestation and near the end of a bar there can be discrepancies. The way round it would be to send a timestamp. I cant see a way off getting timestamped data in to TS except through the market replay connection. I that how to do it?

    Leave a comment:


  • RobinT
    replied
    no one interested then. I thought this was quite important.

    Leave a comment:


  • RobinT
    replied
    The NTExternal interface for tradestation does not work for indices and I have found the problem and done a quick fix.

    The external interface does symbol mapping and that is the problem.

    For futures, the mapping almost works and @ES in TS gets mapped ok to ES 06 - 16 and ES 03 - 16 ok. However, ES ## - ## does not receive data.

    Stocks, mapping does not work but most stocks have the same name so it has not been noticed. MSFT is the same with most systems but if you put in a name in mapping of say MSFTA it would not be mapped.

    This is the problem with indices, mapping does not work. so $SPX.X. does not get mapped to ^SP500. However, if you make a new TSstrategy for SPX and change the symbol name before calling NTDirect.dll to ^SP500 it all works and the data comes through.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Originally posted by RobinT View Post
    Thanks for NT8 chartcontrol guide. How would one display a particular position on the chart?
    Can you expand on this a bit more? Is it a specific position?

    Leave a comment:


  • RobinT
    replied
    Thanks for NT8 chartcontrol guide. How would one display a particular position on the chart?

    Leave a comment:


  • sledge
    replied
    Originally posted by RobinT View Post
    I dont seem to be able to display ES 03-16 before 12/11/15 even thogh I have 1 minute historical data going back to 12-30-14. I have SPX data for the same period and it displays ok. What am I doing wrong?
    Probably nothing. ES 03-16 became the current contract on 12/11/2015 or thereabouts. There's really no recording of data before that. You should be on ES 12-15.

    Anyways - Try to use ES ##-##.. Search on it here. continuous contract stuff. (sorry, I don't use it).

    *edit* ack - this was 3 days ago... my bad
    Last edited by sledge; 03-10-2016, 08:52 PM.

    Leave a comment:


  • RobinT
    replied
    No as I had to trim the file to get it down to 1mb.The problem is that NT compensates for summer time.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Originally posted by RobinT View Post
    And is there a reference guide to ChartControl ?
    Not for NinjaTrader 7 as it was unsupported. In NinjaTrader 8 it is available at the following link: http://ninjatrader.com/support/helpG...artcontrol.htm

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Originally posted by RobinT View Post
    For my security got Windows ID from registry.

    string key = @"Software\Microsoft\Windows NT\CurrentVersion" ;
    string pid = Registry.LocalMachine.OpenSubKey( key ).GetValue("ProductId").ToString();
    I am not sure what you are looking for here.

    Leave a comment:


  • NinjaTrader_PatrickH
    replied
    Originally posted by RobinT View Post
    I had to trim the file to upload it and I was referring to the NT license.
    The data in the file only goes back to 20150302, is this the same on your end?

    For the Licensing Item can you clarify on what you are experiencing?

    Leave a comment:


  • RobinT
    replied
    And is there a reference guide to ChartControl ?

    Leave a comment:


  • RobinT
    replied
    For my security got Windows ID from registry.

    string key = @"Software\Microsoft\Windows NT\CurrentVersion" ;
    string pid = Registry.LocalMachine.OpenSubKey( key ).GetValue("ProductId").ToString();

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by kinfxhk, 07-14-2026, 09:39 AM
0 responses
128 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
86 views
0 likes
Last Post kinfxhk
by kinfxhk
 
Started by kinfxhk, 07-13-2026, 07:21 AM
0 responses
105 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