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

SV: System formula, help!



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.72.3110.7"' name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=#000000>I have tried to program what you wanted though I was 
unsure of some of your definitions.</FONT></DIV>
<DIV><FONT color=#000000></FONT>The result is really great! I have tested it 
with some of the most important stocks in the Swedish market and it works 
splendidly. Maybe it&acute;s not exactly what you asked for but here it is (and 
it works!!):</DIV>
<DIV>&nbsp;</DIV>
<DIV>Enter long:</DIV>
<DIV>C&gt;Ref(H,-1) AND<BR>C&gt; Mov(C-1,5,S) 
AND<BR>Stoch(5,3)&gt;Ref(Stoch(5,3),-1)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Close long:</DIV>
<DIV>HIGH1:=HighestSince(1,C&gt;Ref(H,-1) AND<BR>C&gt; Mov(C-1,5,S) 
AND<BR>Stoch(5,3)&gt;Ref(Stoch(5,3),-1),H);<BR>C&lt;ValueWhen(1,HIGH1,L)</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have guessed what you mean by &quot;1 day horizontal shift&quot; and I 
don&acute;t know the &quot;double smoothing&quot; (like in Stochastic Momentum 
Index??)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Also &quot;since enter long&quot; means the latest time that occured, not 
when you actually entered (Can that be programmed??). Think this sollution is 
better, since it moves the exitrule forward.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best regards</DIV>
<DIV>&nbsp;</DIV>
<DIV>Chris Lindstedt</DIV>
<DIV>Swedish Metastock-Group, Swedish TA-Group<BR><BR></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 solid 2px; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">
    <DIV><FONT face=Arial size=2><B>-----Ursprungligt 
    meddelande-----</B><BR><B>Fr&aring;n: </B>Svein Andersen &lt;<A 
    href="mailto:svan@xxxxxxxxx";>svan@xxxxxxxxx</A>&gt;<BR><B>Till: </B><A 
    href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx</A> &lt;<A 
    href="mailto:metastock@xxxxxxxxxxxxx";>metastock@xxxxxxxxxxxxx</A>&gt;<BR><B>Datum: 
    </B>den 14 juli 1998 21:00<BR><B>&Auml;mne: </B>System formula, 
    help!<BR><BR></DIV></FONT>Hei!<BR>Anybody out there kindly help me with the 
    forulas for this following<BR>trading rules:<BR><BR>Enter long:<BR>1.Todays 
    close have to be higher than yesterdays high.<BR>2.Todays close have higher 
    reading than 5-days SMA with 1 day horizontal<BR>shift.<BR>3.Todays 
    Stochastic (%K, time periods=5, smoothing periods=3 &amp; 
    dobbel<BR>smoothing&nbsp;&nbsp;&nbsp; periods=3) must have higher readings 
    than yeasterdays.<BR><BR>Close long: (only one rule)<BR>1.To days close is 
    lower than the low of the highest bar since enter<BR>long.<BR><BR>No rules 
    for short selling.<BR><BR>Thanks!<BR><BR>Svein Andersen<BR>B&oslash;nesheia 
    48<BR>5062&nbsp; B&Oslash;NES<BR>NORWAY<BR><BR><BR></BLOCKQUOTE></BODY></HTML>
</x-html>From ???@??? Wed Jul 15 07:49:31 1998
X-POP3-Rcpt: neal@xxxxxxxxx
Return-Path: <owner-metastock-outgoing@xxxxxxxxxxxxxxxxxxxx>
Received: from freeze.metastock.com (freeze.metastock.com [204.246.137.5])
          by purebytes.com (8.8.4/8.8.4) with ESMTP
	  id CAA22735 for <neal@xxxxxxxxxxxxx>; Wed, 15 Jul 1998 02:50:29 -0700
Received: (from majordom@xxxxxxxxx)
	by freeze.metastock.com (8.8.5/8.8.5) id DAA18996
	for metastock-outgoing; Wed, 15 Jul 1998 03:00:00 -0600 (MDT)
X-Authentication-Warning: freeze.metastock.com: majordom set sender to owner-metastock@xxxxxxxxxxxxx using -f
Received: from smtp02.wxs.nl (smtp02.wxs.nl [195.121.6.60])
	by freeze.metastock.com (8.8.5/8.8.5) with ESMTP id CAA18988
	for <metastock@xxxxxxxxxxxxx>; Wed, 15 Jul 1998 02:59:57 -0600 (MDT)
Received: from escom ([195.121.87.88]) by smtp02.wxs.nl
          (Netscape Messaging Server 3.52)  with SMTP id AAA5911;
          Wed, 15 Jul 1998 10:52:36 +0200
Message-ID: <000801bdafcd$c3500640$585779c3@xxxxx>
From: "A.J. Maas" <anthmaas@xxxxxx>
To: "Metastock-List" <metastock@xxxxxxxxxxxxx>,
        "Jim Kerwin" <anncora@xxxxxxxxxxxxxx>, <romeroj@xxxxxxx>,
        <jlm4@xxxxxxxxxxxx>, <shade@xxxxxxxxxxx>
Subject: Re: Making your own hotkeys
Date: Wed, 15 Jul 1998 00:20:14 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.2106.4
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Sender: owner-metastock@xxxxxxxxxxxxx
Precedence: bulk
Reply-To: metastock@xxxxxxxxxxxxx

-make your macro and save, eg "xxxxx.job"
-In Win95-Explorer go to this macro-file, eg "C:\Macro\xxxxx.job"
-1x right-click
-in small quick-menu choose "create shortcut"
-the link will be in the same or the "above" folder
-1x right-click this link, eg "C:\Macro\xxxxxx.lnk"
-in small quick-menu choose "properties"
-in properties dialog go to the "shortcut" or "program" TAB
-in tiny small window "hot key" choose your hot key, eg "F2"
-press "OK"

Regards,
Ton Maas
Ms-IRB@xxxxxxxxx


-----Oorspronkelijk bericht-----
Van: Jim Kerwin <anncora@xxxxxxxxxxxxxx>
Aan: shade@xxxxxxxxxxx <shade@xxxxxxxxxxx>; jlm4@xxxxxxxxxxxx <jlm4@xxxxxxxxxxxx>; romeroj@xxxxxxx <romeroj@xxxxxxx>;
anthmaas@xxxxxx <anthmaas@xxxxxx>
Datum: dinsdag 14 juli 1998 20:44
Onderwerp: Making your own hotkeys


>Do you know how or if I can write a macro and attach to a key on the
>keyboard... in other words make a hotkey...
>**************************
>Have a nice day
>Jim kerwin
>Atlanta, Georgia U.S.A.
>**************************