PureBytes Links
Trading Reference Links
|
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@xxxxxxxxxx
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@xxxx
href="">Tomasz Janeczko ; <A
title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, February 27, 20019: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 stochisrisingAND
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 Yahoo! Terms
of Service. Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|