• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error on calling 'OnCalculateMinMax' method

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

    Error on calling 'OnCalculateMinMax' method

    Problem with chart. When I'm loading my Indicator on chart everything loading good, indicators line is plotted. After when i'm move horisontal scroll to the beginnig of the plotted indicators line i recieve error and plotted line is hiding.
    In log i have error:
    Error on calling 'OnCalculateMinMax' method on bar 17087: The calculation results in unrenderable values. 17087 == CurrentBar this bar is not included in my counted range.

    #2
    Greetings,

    Thank you for your post. Are you using an indicator you created, downloaded or is this indicator built in? I look forward to your reply.
    Kenneth D.NinjaTrader Customer Service

    Comment


      #3
      This is my own indicator. I have indicator for tests.
      I send email for you with included indicator on [email protected]
      Last edited by nordseven; 02-24-2017, 05:04 PM.

      Comment


        #4
        Hello,

        It would be helpful if you could post the solution to this issue here.

        Can the above OnCalculateMinMax error be thrown if I have not used OnCalculateMinMax in any of the indicators on my charts, but MIN and MAX have been used?

        Thanks.

        Comment


          #5
          Hello nordseven,

          I am finding there is a logic error with this script.

          Printing the values of the plot produces N/A values.

          I am showing that invalid values are being set to the plot, causing the error.
          Last edited by NinjaTrader_ChelseaB; 05-18-2017, 07:28 AM.
          Chelsea B.NinjaTrader Customer Service

          Comment


            #6
            Originally posted by NinjaTrader_ChelseaB View Post
            Hello,

            I am finding there is a logic error with this script.

            Printing the values of the plot produces N/A values.

            I am showing that invalid values are being set to the plot, causing the error.
            Hello ChelseaB,

            Do you know of any circumstances under which this may occur, with plots disappearing from a chart intermittently, when I have a certain number of days loaded, but if I change the number of days loaded the plots reappear. The indicator is not dependent on the number of days loaded.

            Thank you.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by ntbone, 07-13-2019, 11:37 PM
            9 responses
            27 views
            0 likes
            Last Post Spaggetti Ninjja  
            Started by nicknamed, Today, 05:10 PM
            1 response
            15 views
            0 likes
            Last Post NinjaTrader_EricB  
            Started by pstrusi, Today, 04:57 PM
            0 responses
            7 views
            0 likes
            Last Post pstrusi
            by pstrusi
             
            Started by williamzz, Today, 04:18 PM
            0 responses
            6 views
            0 likes
            Last Post williamzz  
            Started by ct, Today, 01:57 PM
            2 responses
            14 views
            0 likes
            Last Post ct
            by ct
             
            Working...
            X