Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to Handle Overflow Errors?

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

    How to Handle Overflow Errors?

    I attempted to move the Rsquared/Hat indicator from eSignal usergroup files to NT. It runs most of the time but sometimes doesn't. I get random OverFlow errors in LOG file that sometimes mess up price bars or the indicator itself. I tried testing formula denominators for zero values but that didn't help Any suggestions on how to handle or trap these pesky overflow errors, or how to code the Rsquared/Hat Indicator?

    #2
    Overflow errors are usually division by zeroes. I suggest you use a try-catch block. http://www.ninjatrader-support2.com/...ead.php?t=9825
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    42 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    29 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    46 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X