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

RE: Stepper



PureBytes Links

Trading Reference Links

Daryl,
Try this.
{name: HiLo Osc}
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}C-Mov(H,3,S),
{else}{0);}
{LoVisual:=If(HLv=1,}
{then}C-Mov(L,3,S){,}
{else}{0});

HiVisual;
{LoVisual;}

If you compare this formula to yours you'll see that all I've done is to 
bracket {} the unneeded parts of the formula.

J


>From: "daryl roberts" <darylroberts@xxxxxxxxxxxxx>
>Reply-To: metastock@xxxxxxxxxxxxx
>To: <metastock@xxxxxxxxxxxxx>
>Subject: RE: Stepper
>Date: Thu, 4 May 2000 10:07:01 -0700
>
>I have 6.52.   The chart shows what it looks like to me. Have I got your
>code copied right?:
>
>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}C-Mov(H,3,S),
>{else}0);
>LoVisual:=If(HLv=1,
>{then}C-Mov(L,3,S),
>{else}0);
>
>HiVisual;
>LoVisual;
>
>-----Original Message-----
>From: owner-metastock@xxxxxxxxxxxxx
>[mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Adam Hefner
>Sent: Tuesday, May 02, 2000 7:19 PM
>To: metastock@xxxxxxxxxxxxx
>Subject: Re: Stepper
>
>
>Do you have MetaStock ver 7? If so it should have
>imported under the names of MTF-***. The Hilo
>indicator I coded actually only has one line, so if
>you try to highlight the low..the high will also be
>picked.
>
>
>
>----- Original Message -----
>From: "daryl roberts" <darylroberts@xxxxxxxxxxxxx>
>To: <metastock@xxxxxxxxxxxxx>
>Sent: Tuesday, May 02, 2000 5:57 PM
>Subject: RE: Stepper
>
>
> > Thanks Adam.  I haven't met any of the other Daryl Roberts dopplegangers
> > lurking out there, but I've seen a few others listed.
> >
> > I copied the .dta file to disk, went to Indicator builder, Organize,
>Import,
> > Browse, it came only to a folder, never showed a file, Finish, but I did
>not
> > see a new Indicator show up in the list, was looking for Balance Step or
> > Dynamic Multiple Time Frames.   Did I miss a step?   Also, when I drag
>down
> > your Gann HiLo, it is in two indicator lines, but they cannot be color
> > changed independently, when clicked on, both upper & lower are
>highlighted.
> >
> > -----Original Message-----
> > From: owner-metastock@xxxxxxxxxxxxx
> > [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Adam Hefner
> > Sent: Tuesday, May 02, 2000 5:51 AM
> > To: metastock@xxxxxxxxxxxxx
> > Subject: Re: Stepper
> >
> >
> > Daryl,
> >   The reason I asked where you lived, I know of someone in Oklahoma
> > with your name.  Some-time back I worked with some of Krausz's
> > theory's and had developed some of his code (the best I could) into
> > MetsStock. The "GANN HiLO" that J.Seed posted was from my
> > efforts to code Krausz's Gann-swing method from a TASC
> > magazine article. The "Balance Step" code you desire, I coded
> > from a different TASC article (see chart below) named :
> > "Dynamic Multiple Time Frames". I have also attached the code
> > to this e-mail if you wish to import this into MetaStock.
> >     Hope this helps,
> >         Adam
> >
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "daryl roberts" <darylroberts@xxxxxxxxxxxxx>
> > To: <metastock@xxxxxxxxxxxxx>
> > Sent: Monday, May 01, 2000 9:37 PM
> > Subject: Stepper
> >
> >
> > > Hi Adam,
> > > I'm slow on the uptake here, looking back at all the messages on this
> > > thread.  I live in Pasadena, CA.  I haven't used the Expert Advisor 
>much
> > > yet.  a) These color variations would be entered where, in the
> > "highlights"
> > > tab in Expert? b) the little blue dotted lines look like maybe they 
>are
> > due
> > > to some code, rather than just dragged in line studies. c) this 
>question
> > re
> > > the HiLo came from reading an articl by Robert Krausz in the April 
>issue
> > of
> > > Active Trader, re multiple time frame analysis.  1st he had a plot of 
>a
> > > "balance step" to show trend support/resistance, which was a 5-week 
>(or
> > > 5-day or 5-bar) MA of weekly closes, which looked like a horizontal
>dotted
> > > line, in a step at that weekly price average, then stepping up or down
> > from
> > > there, so that if the daily balance step & the prices crossed above 
>(or
> > > below), it was a buy (or sell) signal, etc.; I can't figure out how to
>do
> > > that. 2nd he sets up an Ergodic Candlestick Oscillator as a histogram:
> > > ECO= [ema1{ema2(C-O)}/ema1{ema2(H-L)}]*100   ema1 longer-term, ie., 26
> > days,
> > > ema2 shorter term, 5 days.  I'm not sure where this would go, I guess
>into
> > > indicator builder, but again, exactly what the syntax would be I'm not
> > sure.
> > > His graph shows it as a confirming indicator, but it really doesn't 
>seem
> > to
> > > add that much to the analysis.  3rdly he introduces a "HiLo Activator"
>on
> > a
> > > 21 day ma of highs or lows, which sort of looks like an SAR type 
>dotted
> > line
> > > indicator, to serve as a stop indicator; if prices close above, it is 
>a
> > > moving average of the lows, but if the close goes below that HiLo
> > Activator
> > > line, it flips to being a ma of the highs, backstopping a downtrend.
>And
> > > the line above was green & below was red.  Again, perhaps redundant to
>the
> > > step indicator, because if it crossed over the HiLo, it was already 
>also
> > > crossing the step.  So, although I think the HiLo color thing is cool
> > > looking, I guess I'm most interested in how to set up the step MA; and
>in
> > > getting a better handle on how to use the Expert.  By the way, the
>charts
> > in
> > > the article were apparently from the Fibonacci Trader.
> > >
> > > dr
> > >
> > > -----Original Message-----
> > > From: owner-metastock@xxxxxxxxxxxxx
> > > [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of Adam Hefner
> > > Sent: Thursday, April 27, 2000 8:12 PM
> > > To: metastock@xxxxxxxxxxxxx
> > > Subject: Re: (Market) Jul Corn
> > >
> > >
> > > Hello Daryl Roberts,
> > >     If you are asking how to change an indicators color according to a
> > > predetermined condition...this is not yet possible in MetaStock. If
> > > you are asking how to change the price bar...this can be done using
> > > the "Expert Advisor". If you will notice the attached chart, I have
> > > my bars 4 different colors: red is a down day and green an up.
> > > If it is dark red or green it is in congestion, if it is bright the
>market
> > > is in a trend.  Hope that helps.  By the way....are you the Daryl
>Roberts
> > > who lives in Oklahoma?
> > >          Adam Hefner
> > >
> > > ----- Original Message -----
> > > From: "daryl roberts" <darylroberts@xxxxxxxxxxxxx>
> > > To: <metastock@xxxxxxxxxxxxx>
> > > Sent: Thursday, April 27, 2000 5:39 PM
> > > Subject: RE: (Market) Jul Corn
> > >
> > >
> > > > How would you get the indicator to change colors when it goes either
> > above
> > > > or below?
> > > >
> > > > -----Original Message-----
> > > > From: owner-metastock@xxxxxxxxxxxxx
> > > > [mailto:owner-metastock@xxxxxxxxxxxxx]On Behalf Of j seed
> > > > Sent: Thursday, April 20, 2000 10:35 PM
> > > > To: metastock@xxxxxxxxxxxxx
> > > > Subject: Re: (Market) Jul Corn
> > > >
> > > >
> > > > Adam,
> > > > Here's the Gann HiLo:
> > > > {name: GANN-HiLo}
> > > >
> > > > 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);
> > > > HiLo:=If(HLv=-1,
> > > > {then}Mov(H,3,S),
> > > > {else}Mov(L,3,S));
> > > > HiLo;
> > > >
> > > > I'm not sure if I got it off of the Guppy site or not. What 
>indicator
>is
> > > > generating the gold dots on your chart? Would love to hear more 
>about
> > your
> > > > Drummond work.
> > > > J.
> > > >
> > > >
> > > > >From: "Adam Hefner" <vonhef@xxxxxxxxxxxx>
> > > > >Reply-To: metastock@xxxxxxxxxxxxx
> > > > >To: <metastock@xxxxxxxxxxxxx>
> > > > >Subject: Re: (Market) Jul Corn
> > > > >Date: Wed, 19 Apr 2000 23:28:40 -0500
> > > > >
> > > > >J,
> > > > >  I am using some indicators from a trading method Called "Point &
> > Line"
> > > by
> > > > >Charles Drummond. I recently created these indicators into 
>MetaStock
> > > > >code and Expert Advisor.... but the code probably would benefit
>little
> > > > >with out the understanding of its usage. I have attached a weekly
>chart
> > > > >with some of the indicators shown. I have never used Guppy's Zero 
>Lag
> > MA,
> > > > >did you find the Gann HiLo from that site? Seems I might have seen
>that
> > > one
> > > > >before <g>.
> > > >
> > > >
>________________________________________________________________________
> > > > Get Your Private, Free E-mail from MSN Hotmail at
>http://www.hotmail.com
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
><< HiLograph.gif >>

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com