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 Rapine Heihei, 04-23-2024, 07:51 PM
            2 responses
            30 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by Shansen, 08-30-2019, 10:18 PM
            24 responses
            943 views
            0 likes
            Last Post spwizard  
            Started by Max238, Today, 01:28 AM
            0 responses
            9 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by rocketman7, Today, 01:00 AM
            0 responses
            4 views
            0 likes
            Last Post rocketman7  
            Started by wzgy0920, 04-20-2024, 06:09 PM
            2 responses
            28 views
            0 likes
            Last Post wzgy0920  
            Working...
            X