Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiinstrument in indicator. How?

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

    Multiinstrument in indicator. How?

    Hi.

    How I can receive in my indicator prices bid/ask from other instrument?
    For example. The indicator is attached to ES, and it is necessary for me to receive bid/ask YM.

    #2
    Hello iGOR,

    Please see the link below for information regarding the use of multi instruments with NinjaScript.

    Comment


      #3
      Thanks for a prompt reply.

      But this section describes a code for strategy, and I have a task to receive the prices bid/ask in the indicator.
      If I add a code to indicator as in strategy
      Code:
      protected override void Initialize()
              {
                  Add("YM 03-09", PeriodType.Tick, 10);
                  ....
              }
      I receive a mistake CS1501
      Last edited by iGOR_; 02-04-2009, 07:38 AM.

      Comment


        #4
        Right. Sorry for the confusion. Multi-instrument indicators will be avaialble in NT7. You currently cannot access the information of a different instrument from an indicator.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          try this thread for ideas on how.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Geovanny Suaza, 02-11-2026, 06:32 PM
          0 responses
          581 views
          0 likes
          Last Post Geovanny Suaza  
          Started by Geovanny Suaza, 02-11-2026, 05:51 PM
          0 responses
          338 views
          1 like
          Last Post Geovanny Suaza  
          Started by Mindset, 02-09-2026, 11:44 AM
          0 responses
          103 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by Geovanny Suaza, 02-02-2026, 12:30 PM
          0 responses
          554 views
          1 like
          Last Post Geovanny Suaza  
          Started by RFrosty, 01-28-2026, 06:49 PM
          0 responses
          552 views
          1 like
          Last Post RFrosty
          by RFrosty
           
          Working...
          X