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>
<DIV><FONT size=2></FONT><FONT color=#000000 size=2></FONT><FONT size=2>The
system is still under development, so I am open to any suggestion
or</FONT></DIV>
<DIV><FONT size=2>comments.</FONT></DIV>
<DIV><FONT color=#000000 size=2>I must first take the time to thank Jan Greenen
for helping with the testing!!!</FONT></DIV>
<DIV><FONT size=2>In a couple of TASC articles Robert Krausz describes a
"basic" system he calls</FONT></DIV>
<DIV><FONT size=2>"Gann Swing Trading", the problems with implementing
this system into MetaStock</FONT></DIV>
<DIV><FONT size=2></FONT><FONT color=#000000 size=2>seem to mostly be cosmetic.
First instead of using an indicator to plot from the </FONT></DIV>
<DIV><FONT color=#000000 size=2></FONT><FONT size=2>Peak to Trough; to show
"swings" and trend changes...I had to use the "Expert
Advisor"</FONT></DIV>
<DIV><FONT size=2>to show the trend changes. Also Krausz method of using the
"HiLo" is to have it </FONT></DIV>
<DIV><FONT size=2>plot one color on the high-side and a different color for
low-side....since this can't be</FONT></DIV>
<DIV><FONT size=2>done in MS, I used the "Expert" to help visualize
the day it changes. The following </FONT></DIV>
<DIV><FONT size=2>codes will create a Binary signal, that can then be used in
the expert advisor. Also </FONT></DIV>
<DIV><FONT size=2>I have posted a graphic to show how I have set my
"Expert" to look.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV> Best wishes,<BR> Adam Hefner.<BR><A
href="mailto:VonHef@xxxxxxxxxxxxx">VonHef@xxxxxxxxxxxxx</A> </DIV>
<DIV> </DIV>
<DIV><FONT size=2>-------------------------------------------------</FONT></DIV>
<DIV><FONT size=2>name: GANN-HiLo</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT
size=2>HLd:=If(CLOSE>Ref(Mov(H,3,S),-1),<BR>
{then}1,<BR>
{else}If(CLOSE<Ref(Mov(L,3,S),-1),<BR>
{then}-1,<BR>
{else}0));<BR>HLv:=ValueWhen(1,HLd<>0,HLd);<BR>HiLo:=If(HLv=-1,<BR>
{then}Mov(H,3,S),<BR>
{else}Mov(L,3,S));<BR>HiLo;</FONT></DIV>
<DIV><FONT
size=2>---------------------------------------------------</FONT></DIV>
<DIV><FONT size=2>name: GANN-Swing</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> {Market swing is defined as:<BR> Up =
2 higher highs,<BR> Down = 2 lower highs.}<BR>Us:=BarsSince((H >
Ref(H,-1)) AND (Ref(H,-1) > <BR>
Ref(H,-2)));<BR>Ds:=BarsSince((L < Ref(L,-1)) AND (Ref(L,-1) <
<BR> Ref(L,-2)));<BR>Sd1:=If(Us=0,<BR>
{then}If(Ref(L,-1)<>LowestSince(1,Ds=0,L),<BR>
{then}1,<BR>
{else}0),<BR>
{else}If(Ds=0,<BR>
{then}If(Ref(H,-1)<><BR>
HighestSince(1,Us=0,H),<BR>
{then}-1,<BR>
{else}0),<BR>
{else}0));<BR>Sd2:=If(Sd1=1,<BR> {then}
If(Ref(BarsSince(Sd1=1),-1)
><BR>
Ref(BarsSince(Sd1=-1),-1),<BR>
{then}1,<BR>
{else}0),<BR> {else}
If(Sd1=-1,<BR>
{then}If(Ref(BarsSince(Sd1=1),-1)
<<BR>
Ref(BarsSince(Sd1=-1),-1),<BR>
{then}-1,<BR>
{else}0),<BR>
{else}0));<BR>TD1:=ValueWhen(1,Sd2<>0,Sd2);<BR>Td1;</FONT></DIV>
<DIV><FONT
size=2>-------------------------------------------------------------</FONT></DIV>
<DIV><FONT size=2>name: GANN-Trend</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> {Swing Direction}<BR>Sd:=
FmlVar("GANN-Swing","TD1") ;<BR> {Swing Change
High}<BR>Sch:=If(Sd=1 AND Ref(sd,-1)=-1,<BR>
{then}1,<BR> {else}0);<BR> {Swing Change
Low}<BR>Scl:=If(Sd=-1 AND Ref(Sd,-1)=1,<BR>
{then}1,<BR> {else}0);<BR> {Peak
Value}<BR>Pv:=If(Scl=1,<BR>
{then}HighestSince(1,Sch=1,H),<BR> {else}0);<BR> {Trough
Value}<BR>Tv:=If(Sch=1,<BR>
{then}LowestSince(1,Scl=1,L),<BR> {else}0);<BR> {Trend
Direction}<BR>Td:=If(H>ValueWhen(1,Pv>0,Pv),<BR>
{then}1,<BR>
{else}If(L<ValueWhen(1,Tv>0,Tv),<BR>
{then}-1,<BR>
{else}0));<BR> {UpTrend=1 DownTrend
=-1}<BR>Tdv:=ValueWhen(1,Td<>0,Td);<BR>Tdv;</FONT></DIV>
<DIV><FONT size=2>-----------------------------------------------</FONT></DIV>
<DIV><FONT size=2></FONT><IMG align=baseline alt="" border=0 hspace=0
src="cid:004201be67ea$1f7322c0$a6d5fed0@xxxxxxxxxxxxxxxxx"></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><BR> </DIV></BODY></HTML>
</x-html>
Attachment Converted: "c:\eudora\attach\Gann Swing charts.gif"
|