Floating point division by zero in Linear Regression

Posted By black Wednesday, January 11, 2012
Add to Favorites0
Author Message
black
 Posted Wednesday, January 11, 2012
Supreme Being

Supreme Being - (86,921 reputation)Supreme Being - (86,921 reputation)Supreme Being - (86,921 reputation)Supreme Being - (86,921 reputation)Supreme Being - (86,921 reputation)Supreme Being - (86,921 reputation)Supreme Being - (86,921 reputation)Supreme Being - (86,921 reputation)Supreme Being - (86,921 reputation)

Group: Forum Members
Last Active: Sunday, July 13, 2014
Posts: 520, Visits: 1,004
Actually, I DO have a reason for using a Linear Regression of 1. The result should be the same as a Simple Moving Average of 1. But, I get the following error when I try.

Smile

EXCEPTION
EZeroDivide in TTimer
CODE

MESSAGE
Floating point division by zero
DETAILS

CALL STACK
fx_client.exe=>EmbeddedChartIndicators.pas=>TLinearRegression.NewOwnerSeriesValue=>3000
fx_client.exe=>EmbeddedChartIndicators.pas=>TLinearRegression.Recalculate=>3015
fx_client.exe=>ChartIndicators.pas=>TChartIndicators.Recalculate=>335
fx_client.exe=>ChartIndicators.pas=>TChartIndicators.Recalculate=>333
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.Timer_IndicatorsRecalculationTimer=>2547
USER32.dll=>=>DispatchMessageW=>0
USER32.dll=>=>DispatchMessageW=>0
fx_client.exe=>SmartException.pas=>TForm_SmartException.ShowSimple=>295
fx_client.exe=>SmartException.pas=>TForm_SmartException.ShowSimple=>282
fx_client.exe=>Main.pas=>TForm_Main.OnException=>633
fx_client.exe=>dxBar.pas=>TdxBarSkinnedPainter.GetEditPartState=>52840
ntdll.dll=>=>RtlConvertUlongToLargeInteger=>0
USER32.dll=>=>CallWindowProcW=>0
ntdll.dll=>=>KiUserApcDispatcher=>0
ntdll.dll=>=>RtlLeaveCriticalSection=>0
fx_client.exe=>EmbeddedChartIndicators.pas=>TLinearRegression.Recalculate=>3015
fx_client.exe=>ChartIndicators.pas=>TChartIndicators.Recalculate=>335
fx_client.exe=>ChartIndicators.pas=>TChartIndicators.Recalculate=>333
fx_client.exe=>ChartIndicatorSet.pas=>TForm_ChartIndicators.SetChartIndicators=>500
fx_client.exe=>ChartIndicatorSet.pas=>TForm_ChartIndicators.SetChartIndicators=>437
fx_client.exe=>ChartWindowBase.pas=>TForm_Chart.dxButton_IndicatorsClick=>2897
fx_client.exe=>dxBar.pas=>TdxBarSkinnedPainter.GetEditPartState=>52850
fx_client.exe=>dxBar.pas=>TdxBarSkinnedPainter.GetEditPartState=>52837
fx_client.exe=>dxBar.pas=>TdxBarOffice11Painter.ComboControlDrawSimpleButton=>49971
fx_client.exe=>dxBar.pas=>TdxBarOffice11Painter.EditControlSubMenuGlyphIndents=>49929
fx_client.exe=>dxBar.pas=>TdxBarSkinnedPainter.BarDrawMarkElements=>51918
fx_client.exe=>dxBar.pas=>TdxBarLargeButton.SetImageIndex=>34515
fx_client.exe=>dxBar.pas=>TdxBarLargeButton.LargeGlyphChanged=>34488
fx_client.exe=>dxBar.pas=>TdxBarPainter.GetTextColors=>43501
USER32.dll=>=>CallNextHookEx=>0
fx_client.exe=>cxContainer.pas=>ApplicationCallWndProcHookProc=>6194
USER32.dll=>=>GetRawInputDeviceInfoW=>0
kernel32.dll=>=>GetCurrentThreadId=>0
fx_client.exe=>dxBar.pas=>CalculateBandRect=>45817
fx_client.exe=>dxBar.pas=>TdxBarListItem.DoAddListedItemLinks=>35524
fx_client.exe=>dxBar.pas=>TdxBarListItem.DoAddListedItemLinks=>35520
fx_client.exe=>dxBar.pas=>TdxBarCustomCombo.SetText=>35137
fx_client.exe=>dxBar.pas=>TdxBarCustomCombo.SetItemIndex=>34887
fx_client.exe=>dxBar.pas=>TdxBarCustomCombo.Create=>34844
fx_client.exe=>dxBar.pas=>GetArrowSize=>44894
USER32.dll=>=>CallNextHookEx=>0
USER32.dll=>=>GetPropW=>0
USER32.dll=>=>GetPropW=>0
USER32.dll=>=>DispatchMessageW=>0
USER32.dll=>=>DispatchMessageW=>0
fx_client.exe=>Fx_Client.dpr=>=>420

WINDOWS VERSION
5.1.2600 Service Pack 3
APPLICATION INFO
fx_client.exe 4.4.90.44/4.4.90

RAISE TIME
2012-01-11 12:14:17
Server Time: 2:14:15 PM
Admin
 Posted Thursday, January 12, 2012
Administrator

Administrator - (112,183 reputation)

Group: Administrators
Last Active: Friday, June 02, 2017
Posts: 548, Visits: 3,295
Dear Black,

Thank you for the information. We will fix this problem.



Best regards

-ACTFX© Forum Administrator

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top