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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    70 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    152 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    100 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    288 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X