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 Hwop38, 05-04-2026, 07:02 PM
          0 responses
          164 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          318 views
          0 likes
          Last Post CaptainJack  
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          246 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          350 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          179 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Working...
          X