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 geddyisodin, Today, 05:20 AM
            1 response
            11 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by Max238, Today, 01:28 AM
            3 responses
            30 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by timko, Today, 06:45 AM
            2 responses
            12 views
            0 likes
            Last Post NinjaTrader_ChristopherJ  
            Started by habeebft, Today, 07:27 AM
            0 responses
            4 views
            0 likes
            Last Post habeebft  
            Started by Tim-c, Today, 03:54 AM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_BrandonH  
            Working...
            X