PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Mark,
I have
seen several variations of GHL, here is one monitoring the
spread...
Regards,Jayson
spds=<FONT
color=#0000ff>Param(<FONT
size=2>"Periods",10<FONT
size=2>,1,<FONT
size=2>50,1<FONT
size=2>)<FONT face=Arial
color=#0000ff>;
HLd=<FONT
color=#0000ff>IIf(<FONT
size=2>Close<FONT
size=2>>Ref(<FONT
size=2>MA(<FONT
size=2>H<FONT
size=2>,spds),-1),<FONT
size=2>1,IIf<FONT
size=2>(Close<FONT
face=Arial><<FONT
size=2>Ref(MA<FONT
size=2>(L<FONT
color=#0000ff>,spds),-1<FONT
size=2>),-1,<FONT
size=2>0<FONT face=Arial
color=#0000ff>));
sHLv=<FONT
color=#0000ff>ValueWhen(HLd !=<FONT
size=2>0,1<FONT
color=#282828 size=2>);
sHiLo=<FONT
color=#0000ff>IIf(HLv=-<FONT
size=2>1,MA<FONT
size=2>(H<FONT
color=#0000ff>,spds),MA<FONT
size=2>(L<FONT color=#282828
size=2>,spds));
lpds=<FONT
color=#0000ff>20;<FONT color=#008000
size=2>//Optimize("pds",7,3,50,2);<FONT color=#282828
size=2>
lHLd=<FONT
color=#0000ff>IIf(<FONT
size=2>Close<FONT
size=2>>Ref(<FONT
size=2>MA(<FONT
size=2>H<FONT
size=2>,lpds),-1),<FONT
size=2>1,IIf<FONT
size=2>(Close<FONT
face=Arial><<FONT
size=2>Ref(MA<FONT
size=2>(L<FONT
color=#0000ff>,lpds),-1<FONT
size=2>),-1,<FONT
size=2>0<FONT face=Arial
color=#0000ff>));
lHLv=<FONT
color=#0000ff>ValueWhen(HLd !=<FONT
size=2>0,1<FONT
color=#282828 size=2>);
lHiLo=<FONT
color=#0000ff>IIf(HLv=-<FONT
size=2>1,MA<FONT
size=2>(H<FONT
color=#0000ff>,lpds),MA<FONT
size=2>(L<FONT color=#282828
size=2>,lpds));
<FONT face=Arial
color=#0000ff>Hilospread=shilo-Lhilo;<FONT color=#0000ff
size=2>
Plot<FONT color=#282828
size=2>(Hilospread,"Hilo Spread"<FONT
color=#282828 size=2>,IIf<FONT
color=#282828 size=2>(Hilospread><FONT color=#0000ff
size=2>Ref(Hilospread,-<FONT
color=#ff00ff size=2>1),<FONT
color=#ff00ff size=2>5,<FONT
color=#ff00ff size=2>4),<FONT
color=#ff00ff size=2>2<FONT
face=Arial>);
<FONT face=Tahoma
size=2>-----Original Message-----From: mleonsprint
[mailto:mleonsprint@xxxxxxxxx]Sent: Monday, July 05, 2004 9:45
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re:
Gann Hi-Low ActivatorHere is my humble attempt at
it.. Any experts on Gann Hi/Low
here?Markx=ref(ma(h,3),1);plot(x,"Gann Hi
Lo",colorred,styleline);--- In amibroker@xxxxxxxxxxxxxxx, Bundy
<bundy@xxxx> wrote:> I would appreciate some help in plotting
Gann hi-low activators.> > The hi-low activator is 3 period
simple moving average of the close plotted > one period forward as
a horizontal line - so you end up with a series of up > and down
staircases to the right of price bars.> >
ArthurCheck AmiBroker web page at:<A
href="">http://www.amibroker.com/Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|