PureBytes Links
Trading Reference Links
|
Adam,
While Metastock does not allow for a true nothing plot, it does allow for a
default plot. If the Gann HiLo were an oscillator we could simply default to
a zero line and have a positive plot in one color and a negative plot in
another. Since the Gann HiLo is an indicator we must choose another
indicator for a default. The possibilities are endless but I choose the
ZeroLag Ema as my default in the indicators that are shown below. Plot each
on a price chart with a separate color for each. You must also plot the
ZeroLag Ema on the chart in a third color. I named these indicators "visual"
because they serve as visuals only and would not work in an exploration or
system test.
BTW: I like your your expert adviser approach and believe that Daryl could
use either approach to fulfill his visual fantasies!
J.
{name: GANN-HiVisual}
HLd:=If(CLOSE>Ref(Mov(H,3,S),-1),
{then}1,
{else}If(CLOSE<Ref(Mov(L,3,S),-1),
{then}-1,
{else}0));
HLv:=ValueWhen(1,HLd<>0,HLd);
HiVisual:=If(HLv=-1,
{then}Mov(H,3,S),
{else}{place default here}Fml("Zero Lag Ema")) ;
HiVisual;
{name: GANN-LoVisual}
HLd:=If(CLOSE>Ref(Mov(H,3,S),-1),
{then}1,
{else}If(CLOSE<Ref(Mov(L,3,S),-1),
{then}-1,
{else}0));
HLv:=ValueWhen(1,HLd<>0,HLd);
LoVisual:=If(HLv=-1,
{then}{place default here}Fml( "Zero Lag Ema" ) ,
{else} Mov(L,3,S ));
LoVisual;
>From: "Adam Hefner" <vonhef@xxxxxxxxxxxx>
>Reply-To: metastock@xxxxxxxxxxxxx
>To: <metastock@xxxxxxxxxxxxx>
>Subject: Re: (Market) Jul Corn
>Date: Thu, 27 Apr 2000 22:18:40 -0500
>
>I am not sure I follow how you can do this?
>How can you have MetaStock do a "no plot"
>as you have put it?
>
> Adam
>
>----- Original Message -----
>From: "j seed" <jseed_10@xxxxxxxxxxx>
>To: <metastock@xxxxxxxxxxxxx>
>Sent: Thursday, April 27, 2000 9:42 PM
>Subject: RE: (Market) Jul Corn
>
>
> > Daryl,
> > Good idea! Best way that I can think of is to split the formula into a
> > positive and negative formula then plot each separately with no plot if
>pos.
> > is in neg. territory or neg. is in pos. territory. You would delete the
>last
> > formula line and use either of the last two lines.
> >
> > J.
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
|