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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    48 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    30 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    99 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    177 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    170 views
    0 likes
    Last Post CarlTrading  
    Working...
    X