Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Using externally calculated indicator data for DataSeries class

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

    Using externally calculated indicator data for DataSeries class

    I calculate a daily indicator in Excel that uses data that I cannot get into NinjaTrader because it is unique. Suppose this data was the "Number of Stocks at New Highs" data, so it is a single value for each day. I would like to be able to plot this data as an indicator below a standard price chart of any stock symbol. So, for example's sake, lets say it is the S&P.

    So, I am plotting the S&P in NT from my data source, and beneath it I wish to plot my unique indicator which is in excel, but I export to a file that is csv for importing purposes.

    Is there a way to do this task in NT without importing the data as a "OHLC" stock type of data? I have programming experience, but not much with NT, and want to start off down the optimal path to accomplish this task.

    Any suggestions for best method?

    #2
    Hello,
    Thanks for posting today.

    Here is a sample NinjaScript that shows how to read and write to text files. Adapt this code sample to be able set your OHLC values for your custom indicator.

    http://www.ninjatrader.com/support/f...ead.php?t=3477

    Please let us know if we may be of further assistance for anything NinjaTrader.
    Alex G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    558 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    324 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    545 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    547 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X