Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

why do i get The calculation results in unrenderable values.

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

    why do i get The calculation results in unrenderable values.

    why do I get this error and where and how to fix it?
    Indicator 'PullbackBounce': Error on calling 'CalculateMinMax' method on bar 419: The calculation results in unrenderable values.
    I plot using 5 minute chart on aud.usd
    Attached Files

    #2
    Hello,

    Thank you for the post.

    I took a look at the script and can see you are using double.NaN in various places. I tried tracing where the was being used in the logic, but without debugging I could not say where this is being used in plotting. Replacing the double.NaN with 0 seems to prevent the error so it seems to be related to this logic. This does change the overall logic, so for this you would likely need to trace which specific part of the logic causes the exception to show and check what values are used at that point.

    The error would suggest an invalid value is being passed to a plot or one of the drawing objects being used. If you reduce the code to find the exception line, we could look at that syntax and situation further.



    I look forward to being of further assistance.
    Last edited by NinjaTrader_Jesse; 01-12-2018, 08:18 AM.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    54 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    34 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    94 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    56 views
    0 likes
    Last Post PaulMohn  
    Working...
    X