Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator to multiple Input alignment

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

    Indicator to multiple Input alignment

    Hello.
    I done indicator where I use 2 Instrument.
    My Indicator draw lines only for main Input and skip lines aligned for second Instrument.
    Eg main instrument bars: 20:33, 20:34, 20:36
    second instrument bars: 20:33,20:35,20:36
    Indicator contain only 20:33,20:34 and 20:36, and 20:35 is skipped...
    It's possible for multiple alignment?

    #2
    skuvv, can you please clarify what you mean by "it's possible for multiple alignment"?

    If I understand your question correctly, it is possible to check if a bar exists for two different instruments with the following code:
    Code:
    OnBarUpdate()
    {
       if (BarsInProgress == 1 && Times[0][0] == Times[1][0])
       {
           // the bar exists for both instruments
       }
    }
    AustinNinjaTrader Customer Service

    Comment


      #3
      No, I mean that both instruments has different bar but Indicator draw only for main instrument.
      See my picture:
      On cursor cross hair there is no indicator bar.
      Upper graph is main
      Attached Files

      Comment


        #4
        skuvv, can you please explain a bit more? If you are running the indicator on the main instrument, it will only plot on main instrument updates. Would you be willing to post the code so we can take a look?
        AustinNinjaTrader Customer Service

        Comment


          #5
          I sent code in PM.
          Is any news for my question?

          Comment


            #6
            Skuvv,

            Austin only works weekends. Can you please send the code and issue to support at ninjatrader dot com with attn: Brett so that I may follow up with you.

            Thanks You.
            BrettNinjaTrader Product Management

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            576 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            334 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            101 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            553 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            551 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X