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

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.
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              That's sorted the problem.

              Thanks eDanny Much appreciated!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by bortz, 11-06-2023, 08:04 AM
              47 responses
              1,607 views
              0 likes
              Last Post aligator  
              Started by jaybedreamin, Today, 05:56 PM
              0 responses
              9 views
              0 likes
              Last Post jaybedreamin  
              Started by DJ888, 04-16-2024, 06:09 PM
              6 responses
              19 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by Jon17, Today, 04:33 PM
              0 responses
              6 views
              0 likes
              Last Post Jon17
              by Jon17
               
              Started by Javierw.ok, Today, 04:12 PM
              0 responses
              15 views
              0 likes
              Last Post Javierw.ok  
              Working...
              X