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

Re: [amibroker] bug report



PureBytes Links

Trading Reference Links


   Thanks guys no it wasn't intended a 
typo  thank god it crashed may have thought I'd found something special 
lol
 
but it still crashed with the corrected 
formula...
 
A deeper look finds that I had 3 sets of agl data 
in my data base ?
a hangover from the missing sell problem (I cut 
and pasted Richards data into ami data base)...but I'm not allowed to mention 
that am I :)))) 
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
<A title=tjaneczk@xxxx 
href="">Tomasz Janeczko 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Tuesday, February 27, 2001 11:25 
PM
Subject: Re: [amibroker] bug report

Hi,
 
Hahaha :-))) This was great Richard 
:-)
 
Yes, in fact correct formula that does not 
reference the future should look like this:
 

macdisrising = macd() > ref( macd(), -1 ) and 
ref( macd(), -1 ) > ref( macd(), -2 );stochisrising = stochd() > 
ref( stochd(), -1 ) and ref( stochd(),-1 ) > ref( stochd() , -2 
);macdfalling = macd() < ref( macd(), -1 ) and ref( macd(),-1 
) < ref( macd(), -2 );stochfalling = stochd() < ref( 
stochd(), -1 ) and ref( stochd(),-1 ) < ref( stochd() , -2 
);
 
buy = macdisrising AND stochisrising AND 
v>100000;sell = macdfalling AND stochfalling;
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Cloonan 

To: <A title=amibroker@xxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, February 27, 2001 
12:49
Subject: Re: [amibroker] bug 
report

David,
 
I don't know if it is related to the error, but 
I do notice the macdfalling and stochfalling 
are constructed using a comparison of values 
with the following two days rather than the last 
two days.  Was this intended?  (If 
so, what brand of crystal ball do you use?)
 
regards
Richard
 
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
David 
Holzgrefe 
To: <A title=tj@xxxxx 
href="">Tomasz Janeczko ; <A 
title=amibroker@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 

Sent: Tuesday, February 27, 2001 9:41 
PM
Subject: [amibroker] bug report

Hi Tomasz this afl causes a crash for me when 
run on all stocks ?
 
/* File :   stoch&macdx  
** Buy :   David Holzgrefe**Date:   27.02.2001 
*/
 
macdisrising = macd() > ref( macd(), -1 ) 
and ref( macd(), -1 ) > ref( macd(), -2 );stochisrising = stochd() 
> ref( stochd(), -1 ) and ref( stochd(),-1 ) > ref( stochd() , -2 
);macdfalling = macd() > ref( macd(), 1 ) and ref( macd(), 1) > 
ref( macd(), 2 );stochfalling = stochd() > ref( stochd(), 1 ) and 
ref( stochd(),1 ) > ref( stochd() , 2 );
 
buy = macdisrising AND stochisrising AND 
v>100000;sell = macdfalling AND stochfalling;
 
 
AmiBroker version 3.50.0
 
Microsoft Windows 98 version 4.10 (Build 
2222)Service Pack 0.0
 
Common Controls version: 5.81
 
Unhandled 
exceptionType: CSysExceptionCode: c0000005Description: ACCESS 
VIOLATIONAddress: 41fb66HWnd: 0x0d64Msg: 0x0110wParam: 0x00000ef4lParam: 0x00000000
 
Additional information:
 
Number of stock loaded: 5617Currently 
selected stock: AGLNumber of quotes (current stock): 1001
 
Command history:2828 - Shows Analyser - a 
tool to test systems & explore 
market--Auto-AnalyserYour use of Yahoo! 
Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.