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

Using new instrument without specifying in Instrument Manager

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

    Using new instrument without specifying in Instrument Manager

    I can use the following logic to add another data series to my indicator:

    protected override void Initialize() {
    Add("ES 06-12", PeriodType.Minute, 15);
    }

    Can this logic be used if ES is not defined in Instrument Manager? I assume I might need to use somewhat of a full name with exchange and instrument type. If yes, what is a format of a futures contract?

    Thanks,
    redduke

    #2
    Hi redduke,

    Before using the Add() command the instrument must already be setup and defined in the instrument manager. ES should already be setup in all NT installations. If you aren't seeing it, just make a connection to Kinetick end of day free and it should be there.

    You have the format right for futures contracts with Add() - needs to be "Symbol + SPACE + MONTH-YEAR"
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      Hi Ryan,

      I just used ES as en example.

      My goal was to get options data inside indicator. I know that Ninja does not currently supports options, but I thought that this might be a work around. Is it feasible in any way to chart option data?

      Thanks,
      redduke

      Comment


        #4
        I'm not aware of this as a work around to get options data. The instrument in the Add() method must exist in the instrument manager prior to using it.
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          I just wanted to try if it would work. Is there any other work around?

          Comment


            #6
            No, unfortunately options are not supported in NinjaTrader. There's no work around we provide for them, but I'll submit your feedback to our product development team for consideration.
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              Options can be charted in ninja. PM me and i will explain how. I may show it here. but if ninja says you cannot then who am i to say otherwise.



              It would be nice to be able to programically add a instrument that is not in the list. IMO it should be like every other plaform. If you type a instrument in your data feed has it should try to pull it without it being pulled.

              Anyway pm me

              Tim

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by junkone, Today, 11:37 AM
              2 responses
              14 views
              0 likes
              Last Post junkone
              by junkone
               
              Started by frankthearm, Yesterday, 09:08 AM
              12 responses
              43 views
              0 likes
              Last Post NinjaTrader_Clayton  
              Started by quantismo, 04-17-2024, 05:13 PM
              5 responses
              35 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by proptrade13, Today, 11:06 AM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_Clayton  
              Started by love2code2trade, 04-17-2024, 01:45 PM
              4 responses
              35 views
              0 likes
              Last Post love2code2trade  
              Working...
              X