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 kulwinder73, Today, 10:31 AM
            1 response
            8 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by RookieTrader, Today, 09:37 AM
            3 responses
            15 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by terofs, Yesterday, 04:18 PM
            1 response
            24 views
            0 likes
            Last Post terofs
            by terofs
             
            Started by CommonWhale, Today, 09:55 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Erick  
            Started by Gerik, Today, 09:40 AM
            2 responses
            8 views
            0 likes
            Last Post Gerik
            by Gerik
             
            Working...
            X