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 RubenCazorla, Today, 09:07 AM
              1 response
              5 views
              0 likes
              Last Post RubenCazorla  
              Started by Irukandji, Today, 09:34 AM
              0 responses
              3 views
              0 likes
              Last Post Irukandji  
              Started by TraderBCL, Today, 04:38 AM
              3 responses
              25 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by WeyldFalcon, 08-07-2020, 06:13 AM
              11 responses
              1,423 views
              0 likes
              Last Post jculp
              by jculp
               
              Started by BarzTrading, Today, 07:25 AM
              2 responses
              29 views
              1 like
              Last Post BarzTrading  
              Working...
              X