• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 shishir_nse, Today, 11:02 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by crazyhorse2393, Today, 07:31 PM
    0 responses
    9 views
    0 likes
    Last Post crazyhorse2393  
    Started by Jschmelz, Today, 01:13 PM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by Newtrader101, Today, 12:37 PM
    2 responses
    13 views
    0 likes
    Last Post Newtrader101  
    Started by Robert87, Yesterday, 11:07 AM
    1 response
    24 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X