Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator does not plot using High[1]

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

    Indicator does not plot using High[1]

    Using a custom indicator using High[1] will not plot on chart.....if i use High[0] it plots just fine with all the math calculation accurate

    #2
    kudos,

    You are likely running into the issue discussed here: http://www.ninjatrader-support2.com/...ead.php?t=3170
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh been pulling my hair out for an hour....That was the problem now works fine

      Comment


        #4
        I have the same problem, is this link available anywhere?

        http://www.ninjatrader-support2.com/...ead.php?t=3170

        Comment


          #5
          Likely the info in the link says to make sure you have a prior bar before trying to access it.
          if(CurrentBar < 1) return;
          or
          if(CurrentBar > 0)
          {
          //process code here
          }
          eDanny
          NinjaTrader Ecosystem Vendor - Integrity Traders

          Comment


            #6
            Hello markyb0y,

            Thanks for your post.

            The link is over 7 years old and is not available. Can you post your indicator or the section of the indicator that is not working? Alternatively, feel free to write into PlatformSupport[at]NinjaTrader[dot]com, attach your CS file to the e-mail and in the subject put Atten:Paul and a link to this thread.

            Edit - Member eDanny posted while I was writing my reply, his is a good suggestion if you have not already added that to your code.

            Comment


              #7
              That's sorted the problem.

              Thanks eDanny Much appreciated!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              561 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              325 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
              547 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              547 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X