PureBytes Links
Trading Reference Links
|
<x-html><HTML>
<BODY BGCOLOR="#FFFFFF">
This is a modification of Wells Wilder's Parabolic which is
<BR>provided by Omega. You may find it very good for longer
<BR>term trends.
<P>You will be surprised how long you will have to make the
<BR>length parameter to get what you want.
<P>I've included an indicator which you can apply to charts
<BR>and see if it might work. This indicator calls the function
<BR>you would use if you find it works.
<P>Clyde Lee
<BR>
<P>Code follows:
<P>{
<BR> Indicator LeeXHLClose
<BR>
<BR> Indicator using LEEXHL2Clo function.
<P> Function for use in Trading systems written by:
<BR> Clyde Lee (FuturesMagic) Copyright (c) 1997
<BR> clydelee@xxxxxxx
<P> Major modification of:
<BR> Parabolic function by Omeaga Research
<BR>}
<P>Input: Length(156);
<P>If CurrentBar>1 then Plot1(LEEXHL2CLO(LENGTH)[1],"Plot1");
<BR>
<P>##############################################################
<BR>
<P>{
<BR> Function RSIScoreKnt
<P> Function for use in Trading systems written by:
<BR> Clyde Lee (FuturesMagic) Copyright (c) 1997
<BR> clydelee@xxxxxxx
<P> Major modification of:
<BR> Parabolic function by Omeaga Research
<BR>}
<P>Inputs: LenSmo(Numeric);
<BR>Vars: Position(-1), SAR(Close),
<BR> Hi(High), Lo(Low),
<BR> Alpha(0), xBeta(1),
<BR> Alpha1(0), xBeta1(1),
<BR> AlphaAdj(.2), Init(0);
<P>If Init=0 then begin
<BR> Init=1; Alpha=2/(1+AbsValue(LenSmo));
xBeta=1-Alpha;
<BR> AlphaAdj= Alpha /(1+AbsValue(LenSmo))*2.;
{.04;}
<BR>End;
<P>IF CurrentBar = 1 Then
<BR> Position = 1
<BR>Else if CurrentBar >1 then Begin
<BR> IF Close > Hi Then Hi = Close;
<BR> IF Close < Lo Then Lo = Close;
<BR> IF Position = 1 Then begin
<BR> IF Close <= SAR Then
Position = -1; {Reverse position}
<BR> End
<BR> Else Begin
<BR> IF Close >= SAR Then
Position = 1; {Reverse position}
<BR> End;
<BR>End;
<P>xBeta1 = xBeta1 - AlphaAdj;
<BR>Alpha1 = Alpha1 + AlphaAdj;
<P>IF Position = 1 Then Begin
<BR> IF Position[1] <> 1 Then Begin
<BR> SAR = Lo; Lo = Close; Hi
= Close;
<BR> Alpha1=Alpha;
xBeta1=xBeta;
<BR> End
<BR> Else Begin
<BR> SAR = SAR*xBeta1+Close*Alpha1;
<BR> End;
<BR> IF SAR > Close Then
SAR = Close;
<BR> IF SAR > Close[1] Then SAR = Close[1];
<BR>End
<BR>Else Begin
<BR> IF Position[1] <> -1 Then Begin
<BR> SAR = Hi; Lo = Close;
Hi = Close;
<BR> Alpha1=Alpha;
xBeta1=xBeta;
<BR> End
<BR> Else Begin
<BR> SAR = SAR*xBeta1+Close*Alpha1;
<BR> End;
<BR> IF SAR < Close Then
SAR = Close;
<BR> IF SAR < Close[1] Then SAR = Close[1];
<BR>End;
<P>LEEXHL2CLO = SAR;
<BR>
<BR>
<BR>
<BR>
<P>DMI wrote:
<BLOCKQUOTE TYPE=CITE> <FONT COLOR="#000000"><FONT SIZE=-1>I am working
on a new trading system that would be applied to the Nasdaq Composite and
S&P cash price. This system would be for trading mutual fund shares
and would be designed for long-term trends only.</FONT></FONT> <FONT COLOR="#000000"><FONT SIZE=-1>I
have part of the system completed with potentially beneficial results.
However, there are times when false signals occur. I know that creating
a system that is accurate 100% of the time is a bit difficult but am looking
for trend filters that might help reduce the whipsaw losses and non gains
problems. Any suggestions for a trending filter would be greatly appreciated.</FONT></FONT></BLOCKQUOTE>
</BODY>
</HTML>
</x-html>
Attachment Converted: "c:\eudora\attach\Leexhlc.ela"
Attachment Converted: "c:\eudora\attach\vcard152.vcf"
|