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

A N T I Indicator



PureBytes Links

Trading Reference Links

<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=text/html;charset=iso-8859-1 http-equiv=Content-Type>
<META content='"MSHTML 4.71.1712.3"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000>All,</FONT></DIV>
<DIV><FONT color=#000000></FONT>&nbsp;</DIV>
<DIV>Last week as I was perusing the misc.invest.futures newsgroup I came across 
a post containing what I guess is the TradeStation code for Linda Bradford 
Raschkes &quot;ANTI&quot; indicator from the book &quot;Street 
Smarts&quot;.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I've copied that post in it's entirety should someone here want to have a 
go at translating it into MetaStock code.&nbsp; All I ask is anyone who is 
successful please share with the group.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Bill N.</DIV>
<DIV>Milwaukee, WI&nbsp; USA
<HR>

<HR>

<HR>
</DIV>
<DIV>&nbsp;</DIV>
<DIV>On Sat, 8 May 1999 10:21:30 +0800, &quot;Ezzz&quot; &lt;<A 
href="mailto:cael@xxxxxxxxxxxx";>cael@xxxxxxxxxxxx</A>&gt; wrote:<BR><BR>&gt;Does 
anyone trade the ANTI described in the book Street 
Smarts?<BR>&gt;<BR>&gt;<BR>&gt;<BR><BR>I believe credit for this goes to 
&quot;The Code&quot;. 
<BR>=================================================================================================<BR><BR>{ANTI 
TRIGGER}<BR><BR><BR>INPUT:FASTLINE(SLOWK(7)),SLOWLINE(SLOWD(10)),<BR>&nbsp; 
SETBARS(3),ENTRYADD(1 POINTS),EXITADD(1 
POINTS);<BR><BR>VAR:BBUY(0),SSELL(0),CBUY(0),CSELL(0),FF(0),SS(0),<BR>&nbsp; 
LXSTOP(0),SXSTOP(99999),MP(0);<BR><BR>FF=FASTLINE;<BR>SS=SLOWLINE;<BR>MP=MARKETPOSITION;<BR>IF 
MP&lt;1 THEN LXSTOP=L-EXITADD;<BR>IF MP&gt;-1 THEN SXSTOP=H+EXITADD;<BR>IF 
BBUY[1]&lt;99999 AND H&gt;=BBUY[1] THEN LXSTOP=L-EXITADD;<BR>IF SSELL[1]&gt;0 
AND L&lt;=SSELL[1] THEN SXSTOP=H+EXITADD;<BR>EXITLONG(&quot;InitialStop&quot;) 
LXSTOP STOP;<BR>EXITSHORT(&quot;InitialStop &quot;) SXSTOP STOP;<BR><BR>IF 
FF&gt;=FF[1] AND SS&lt;=SS[1] THEN CSELL=CSELL+1 ELSE CSELL=0;<BR>IF 
FF&lt;=FF[1] AND SS&gt;=SS[1] THEN CBUY=CBUY+1 ELSE CBUY=0;<BR><BR>IF 
CBUY&gt;=SETBARS THEN BBUY=H+ENTRYADD ELSE BBUY=99999;<BR>IF CSELL&gt;=SETBARS 
THEN SSELL=L-ENTRYADD ELSE SSELL=0;<BR><BR>IF BBUY&lt;99999 THEN 
BUY(&quot;AntiTrigger&quot;) BBUY STOP;<BR>IF SSELL&gt;0 THEN 
SELL(&quot;AntiTrigger &quot;) SSELL STOP;<BR><BR><BR><BR><BR>(ANTI TRIGGER 
1}<BR><BR><BR><BR><BR>INPUT:FASTLINE(AVERAGE(C,3)-AVERAGE(C,10)),SLOWLINE(AVERAGE(AVERAGE(C,3)-AVE<BR>RAGE(C,10),16)),<BR>&nbsp; 
SETBARS(3),ENTRYADD(1 POINTS),EXITADD(1 
POINTS);<BR><BR>VAR:BBUY(0),SSELL(0),CBUY(0),CSELL(0),FF(0),SS(0),<BR>&nbsp; 
LXSTOP(0),SXSTOP(99999),MP(0);<BR><BR>FF=FASTLINE;<BR>SS=SLOWLINE;<BR>MP=MARKETPOSITION;<BR>IF 
MP&lt;1 THEN LXSTOP=L-EXITADD;<BR>IF MP&gt;-1 THEN SXSTOP=H+EXITADD;<BR>IF 
BBUY[1]&lt;99999 AND H&gt;=BBUY[1] THEN LXSTOP=L-EXITADD;<BR>IF SSELL[1]&gt;0 
AND L&lt;=SSELL[1] THEN SXSTOP=H+EXITADD;<BR>EXITLONG(&quot;InitialStop&quot;) 
LXSTOP STOP;<BR>EXITSHORT(&quot;InitialStop &quot;) SXSTOP STOP;<BR><BR>IF 
FF&gt;=FF[1] AND SS&lt;=SS[1] THEN CSELL=CSELL+1 ELSE CSELL=0;<BR>IF 
FF&lt;=FF[1] AND SS&gt;=SS[1] THEN CBUY=CBUY+1 ELSE CBUY=0;<BR><BR>IF 
CBUY&gt;=SETBARS THEN BBUY=H+ENTRYADD ELSE BBUY=99999;<BR>IF CSELL&gt;=SETBARS 
THEN SSELL=L-ENTRYADD ELSE SSELL=0;<BR><BR>IF BBUY&lt;99999 THEN 
BUY(&quot;AntiTrigger&quot;) BBUY STOP;<BR>IF SSELL&gt;0 THEN 
SELL(&quot;AntiTrigger &quot;) SSELL STOP;<BR><BR><BR>{ANTI BASIC 
2}<BR><BR><BR>Input: FASTLINE(SLOWK(7)),SLOWLINE(SLOWD(10));<BR>IF FASTLINE 
CROSSES OVER FASTLINE[1] AND SLOWLINE&gt;SLOWLINE[1] 
AND<BR>SLOWLINE[1]&gt;SLOWLINE[2] Then Buy on Close;<BR>IF FASTLINE CROSSES 
UNDER FASTLINE[1] AND SLOWLINE&lt;SLOWLINE[1] AND<BR>SLOWLINE[1]&lt;SLOWLINE[2] 
Then Sell on Close;<BR><BR>{ANTI BASIC 
1}<BR><BR><BR>Input:<BR>FASTLINE(AVERAGE(C,3)-AVERAGE(C,10)),SLOWLINE(AVERAGE(AVERAGE(C,3)-AVERAGE(C<BR>,10),16));<BR>IF 
FASTLINE CROSSES OVER FASTLINE[1] AND SLOWLINE&gt;SLOWLINE[1] 
AND<BR>SLOWLINE[1]&gt;SLOWLINE[2] Then Buy on Close;<BR>IF FASTLINE CROSSES 
UNDER FASTLINE[1] AND SLOWLINE&lt;SLOWLINE[1] AND<BR>SLOWLINE[1]&lt;SLOWLINE[2] 
Then Sell on Close;<BR><BR><BR><BR>&nbsp;</DIV></BODY></HTML>
</x-html>From ???@??? Sun May 09 10:47:38 1999
Received: from listserv.equis.com (204.246.137.2)
	by mail07.rapidsite.net (RS ver 1.0.2) with SMTP id 7758600;
	Sun,  9 May 1999 06:12:06 -0400 (EDT)
Received: (from majordom@xxxxxxxxx)
	by listserv.equis.com (8.8.7/8.8.7) id SAA18587
	for metastock-outgoing; Sun, 9 May 1999 18:22:14 -0600
X-Authentication-Warning: listserv.equis.com: majordom set sender to owner-metastock@xxxxxxxxxxxxx using -f
Received: from freeze.metastock.com (freeze.metastock.com [204.246.137.5])
	by listserv.equis.com (8.8.7/8.8.7) with ESMTP id SAA18584
	for <metastock@xxxxxxxxxxxxxxxxxx>; Sun, 9 May 1999 18:22:12 -0600
Received: from mailx.wineasy.se (root@xxxxxxxxxxxxxxxx [195.42.198.164])
	by freeze.metastock.com (8.8.5/8.8.5) with ESMTP id EAA06230
	for <metastock@xxxxxxxxxxxxx>; Sun, 9 May 1999 04:13:26 -0600 (MDT)
Received: from BASengineering.se (dialup163-4-13.swipnet.se [130.244.163.205])
	by mailx.wineasy.se (8.9.3/8.9.2) with ESMTP id MAA14682
	for <metastock@xxxxxxxxxxxxx>; Sun, 9 May 1999 12:07:42 +0200
Message-ID: <37355CFB.8045F8A9@xxxxxxxxxxxxxxxxx>
Date: Sun, 09 May 1999 12:01:31 +0200
From: Lars Andersson <Lars.Andersson@xxxxxxxxxxxxxxxxx>
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: sv,en
MIME-Version: 1.0
To: metastock@xxxxxxxxxxxxx
Subject: Re: Recursive Moving Trendline system
References: <01dd01be99bd$b83c97c0$5f1c4118@xxxxxxxxxxxxxxxxxxxxxx> <000501be99de$9d283540$6be0490c@xxxxxx>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx
X-Loop-Detect: 1
X-UIDL: a03136ede7552edade09baa33ba747c6.04

Yes.
Please send me the code.
Lars Andersson

Lionel Issen wrote:

> Please do send me your code.
>
> Lionel Issen
> ----- Original Message -----
> From: Glen Wallace <gcwallace@xxxxxxxx>
> To: MetaStock listserver <metastock@xxxxxxxxxxxxxxxxxx>
> Sent: Saturday, May 08, 1999 8:44 PM
> Subject: Recursive Moving Trendline system
>
> > Several months ago I adapted the Recursive Moving Trendline system
> described
> > in the Dec98 issue of Technical Analysis of Stocks & Commodities to a
> > MetaStock system.  I don't recall if anyone has posted the code and I
> have
> > been meaning to bring it up.  In any case, I would be happy to share it
> if
> > anyone is interested.
> >