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

RE: [amibroker] System Testing



PureBytes Links

Trading Reference Links








<span
>Randy,

<span
> 

<span
>The alternative
way is:

<span
> 

<span
>Buy =
cross (<span
>ma(close,39) ,
ref(ma(close,39),-2));<span
>

 <font
size=2 color=navy face=Arial>

If you are using Guru Comments window,this
will eliminate extra &#8216;buy&#8217; arrows for all bars while ma(close,39) is more then
ref(ma(close,39),-2). <span
>

 <font
size=2 color=navy face=Arial>

Both ways will work fine with System
Analysis window.<span
>

 <font
size=2 color=navy face=Arial>

Regards,<font size=2
color=navy face=Arial>

Dima.<font size=2
color=navy face=Arial>

<span
> 

<span
> 

<font size=2 color=black
face=Tahoma>-----Original
Message-----
From: Steve
[mailto:stevers@xxxx]
Sent: Tuesday, May 29, 2001 9:43
PM
To: amibroker@xxxxx
Subject: Re: [amibroker] System
Testing

<span
> 

<font size=2 color=black
face=Arial>buy =
ma(close,39) > ref(ma(close,39),-2);<span
>

<font size=2 color=black
face=Arial>cheers,<font
color=black>

<font size=2 color=black
face=Arial>Steve R
----- Original
Message ----- 



<font size=2 color=black
face=Arial>

From:<font size=2 color=black
face=Arial> <a
href="" title="rcbarlow@xxxx">Randy Barlow




<font
size=2 color=black face=Arial>To:<font size=2 color=black
face=Arial> <a
href="" title="amibroker@xxxxx">amibroker@xxxxxxxxxxxxxxx


<font
size=2 color=black face=Arial>Sent:<font size=2 color=black
face=Arial>
Wednesday, May 30, 2001 11:11 AM<font size=2 color=black
face=Arial>

<font
size=2 color=black face=Arial>Subject:<font size=2
color=black face=Arial> [amibroker] System Testing<font size=2 color=black
face=Arial>

<font
size=3 color=black face="Times New Roman"> <font
color=black>

<font
size=2 color=black face=Arial>I am new to Amibroker and am trying to write a system to backtest.<font
color=black>

<font
size=3 color=black face="Times New Roman"> 

<font
size=2 color=black face=Arial>What I want to do is on the order of:<font
color=black>

<font
size=3 color=black face="Times New Roman"> 

<font
size=2 color=black face=Arial>Buy= when ma(close,39) > ma(close,39,(-2)<font
color=black>

<font
size=2 color=black face=Arial>I know the syntax is wrong.  Can anyone help with the correct
syntax on this?

<font
size=2 color=black face=Arial>Thanks,

<font
size=2 color=black face=Arial>Randy

<font
size=2 color=black face=Arial>How Long a Minute is, depends on
which side of the Bathroom Door you are on.<span
>

<font
size=3 color=black face="Times New Roman"> <font
color=black>



<font size=3 color=black
face="Times New Roman"><br
>



<font size=2 color=black
face="Courier New">Your use of Yahoo! Groups is subject to the <a
href="">Yahoo! Terms of Service.<font
color=black> <span
>