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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    130 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    74 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    117 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    111 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    89 views
    0 likes
    Last Post CarlTrading  
    Working...
    X