Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Create synthetic symbol/data series based on a calc using 2 symbols available in NT7

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

    Create synthetic symbol/data series based on a calc using 2 symbols available in NT7

    I want to create a synthetic data series based on a calculation using two using two symbols available in NT7 Kinetic EOD data.

    For a example, sp500 divided by nasdaq100.

    Ideally i would like the data to contain open, high, low and close. But at a minimum close data.

    Then i would like to load a chart in NT7 that shows that synthetic data series so that I can view it and add indicators in the normal manner as with any other "symbol".

    Would appreciate any/all pointers and solutions.

    I am sure this is possible but it is beyond my knowledge level ATM.

    #2
    Hello skiguy,

    What you described is not possible to make an actual data series for the chart. You could make an indicator which adds multiple series and then plots a result but that could not be used for chart bars. Your chart would still need a primary instrument so the calculated value would be plotted at the frequency of the primary bars.

    You can add data using the Add function: https://ninjatrader.com/support/help...ghlightsub=add


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thanks.

      I can export the data to a CSV file.

      Is there a way to import that into NT7?

      Comment


        #4
        Hello skiguy,

        You can import data to an instrument that you create, it just wouldn't get live data because its not a real instrument. You can find details on the import process and format which the data needs to be in here:

        https://ninjatrader.com/support/help.../importing.htm

        You could use the instrument manager to create an instrument with a unique name, after doing that you would create a file named InstrumentName.Last.txt and put the data in there. Then import that file.

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by EltaRob, Today, 01:40 AM
        0 responses
        1 view
        0 likes
        Last Post EltaRob
        by EltaRob
         
        Started by Ousher, Yesterday, 11:12 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by You4Life, Yesterday, 08:20 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by focus333, Yesterday, 05:56 PM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_Manfred  
        Started by itsthefriz, Yesterday, 04:19 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_ShawnB  
        Working...
        X