![]() |
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2008
Posts: 11
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
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
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Just to confirm, there's no way to handle tick updates during historical backtest? | tradefaz | General Programming | 11 | 07-14-2009 07:12 AM |
| Overflow Error | fy260498 | Indicator Development | 3 | 10-10-2008 07:20 AM |
| automated trading using NT and TradeStation, how to handle a rollover? | Rocket130713 | Automated Trading | 7 | 05-25-2008 08:11 AM |
| Please check the 'Plot' method:Overflow error. | ATI user | Strategy Development | 14 | 04-29-2008 06:56 AM |
| can NT handle advanced TS orders? | DoveforUsAll | Automated Trading | 9 | 02-13-2006 01:23 PM |