[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: Crash with AFL code



PureBytes Links

Trading Reference Links

Hello,

The code works fine on my machine with Service Pack 2 INSTALLED.

I can even write
graph0 = Close / 0; // DIVIDE BY ZERO ALWAYS

and get no crash.

It must be something weird on your computer.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "aerologos" <r-spie@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, October 12, 2004 10:54 AM
Subject: [amibroker] Re: Crash with AFL code


> 
> 
> Thank You Peter,
> this is only part of the complete code, which worked fine until now.
> 
> HHV(C, 10) - LLV(C, 10)  shouldn't become Zero, except there is no
> change in Array Close and High=Low=Close. But I will take a closer
> look on this.
> 
> Rob
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Peter Maljers" <p.a.maljers@xxxx>
> wrote:
>> take a good look to the description.
>> Divide by ZERO!!!!!!!!!!!
>> 
>> -----Original Message-----
>> From: aerologos [mailto:r-spie@x...] 
>> Sent: zondag 10 oktober 2004 13:24
>> To: amibroker@xxxxxxxxxxxxxxx
>> Subject: [amibroker] Crash with AFL code
>> 
>> 
>> 
>> 
>> Hello,
>> Automatic Analysis-Explore and Indicator Builder are crashing
>> with the following code-line after MS-Service-Pack 2 was installed:
>> 
>> X = 50 / ( HHV(C, 10) - LLV(C, 10) );
>> 
>> Are there some answers?
>> RobV - LL
>> 
>> -------------------------------------------
>> Report:
>> --------
>> AmiBroker version 4.60.3
>> ( cooltool.dll 4.60.3,  mfc42.dll 6.2.4131,  msvcrt.dll 7.0.2600 )
>> 
>> Microsoft Windows XP version 5.1 (Build 2600)
>> Service Pack 2.0
>> Common Controls: 6.0
>> 
>> Unhandled exception
>> Type:      CSysException
>> Code:      c000008e
>> Description:      FLT DIVIDE BY ZERO
>> Address:      44a3a0
>> 
>> Line 1, Column 35:
>> X = 50 / ( HHV(C, 10)- LLV(C, 10));
>> ---------------------------------^
>> 
>> (occurred during AFL formula execution)
>> 
>> AFL Parser status:
>> Processing stage: EXECUTE
>> Formula ID: 0 ()
>> Action 4 (EXPLORATION)
>> 
>> Additional information:
>> 
>> Number of stock loaded: 131
>> Currently selected stock: 965238
>> Number of quotes (current stock): 1576
>> 
>> Workspace:
>> Data source = (default), Data local mode = 0, NumBars = 1000
>> 
>> Preferences:
>> Data source = (local), Data local mode = 1, NumBars = 1000
>> 
>> Command history:
>> 2828 - Shows Analyser - a tool to test systems & explore
>> market--Auto-Analyser
>> 2946 - Edit formula of custom indicator
>> 2828 - Shows Analyser - a tool to test systems & explore
>> market--Auto-Analyser
>> 2783 - Preferences settings--Preferences
>> 2946 - Edit formula of custom indicator
>> 2783 - Preferences settings--Preferences
>> 2946 - Edit formula of custom indicator
>> 2832 - Import Metastock data--MetaStock import
>> 2783 - Preferences settings--Preferences
>> 
>> Cache manager stats:
>> Number of list elements: 18
>> Number of map elements: 18
>> Hash table size: 5987
>> 
>> Memory status:
>>   MemoryLoad: 64 %
>>   TotalPhys:       523756K  AvailPhys:       187592K
>>   TotalPageFile:  1278164K  AvailPageFile:   997072K
>>   TotalVirtual:   2097024K  AvailVirtual:   2036248K
>> 
>> Last Windows message:
>> HWnd:      0x3602a2
>> Msg:      0x0110
>> wParam:      0x00140216
>> lParam:      0x00000000
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> Check AmiBroker web page at:
>> HYPERLINK "http://www.amibroker.com/"http://www.amibroker.com/
>> 
>> Check group FAQ at: HYPERLINK
>>
> "http://groups.yahoo.com/group/amibroker/files/groupfaq.html"http://groups.y
>> ahoo.com/group/amibroker/files/groupfaq.html 
>> 
>> 
>> 
>> Yahoo! Groups Sponsor 
>> 
>> ADVERTISEMENT
>> HYPERLINK
>>
> "http://us.ard.yahoo.com/SIG=1293vqgv6/M=295196.4901138.6071305.3001176/D=gr
>>
> oups/S=1705632198:HM/EXP=1097498327/A=2128215/R=0/SIG=10se96mf6/*http://comp
>> anion.yahoo.com"click here 
>>  HYPERLINK
>>
> "http://us.adserver.yahoo.com/l?M=295196.4901138.6071305.3001176/D=groups/S=
>> :HM/A=2128215/rand=158461312" 
>> 
>> 
>>    _____  
>> 
>> Yahoo! Groups Links
>> 
>> 
>> * To visit your group on the web, go to:
>> HYPERLINK
>>
> "http://groups.yahoo.com/group/amibroker/"http://groups.yahoo.com/group/amib
>> roker/
>>   
>> 
>> * To unsubscribe from this group, send an email to:
>> HYPERLINK
>>
> "mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe"amibroker-
>> unsubscribe@xxxxxxxxxxxxxxx
>>   
>> 
>> * Your use of Yahoo! Groups is subject to the HYPERLINK
>> "http://docs.yahoo.com/info/terms/"Yahoo! Terms of Service. 
>> 
>> 
>> 
>> ---
>> Incoming mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.775 / Virus Database: 522 - Release Date: 2004-10-08
>> 
>> 
>> 
>> ---
>> Outgoing mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.775 / Virus Database: 522 - Release Date: 2004-10-08
>>  
>> 
>> 
>> [Non-text portions of this message have been removed]
> 
> 
> 
> 
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/