Floating point division by zero in Linear Regression Expand / Collapse
Author
Message
Posted 1/11/2012 2:20:11 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: 2/15/2012 10:45:06 PM
Posts: 445, Visits: 822
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.



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
Post #3758
Posted 1/12/2012 5:15:46 AM
Administrator

Administrator

Group: Administrators
Last Login: Today @ 10:37:18 AM
Posts: 249, Visits: 1,229
Dear Black,

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



Best regards

-ACTFX© Forum Administrator
Post #3760
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Admin

All times are GMT -5:00, Time now is 5:59pm


© 2009 Actforex.com Terms of Use