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

Re: message interruptus



PureBytes Links

Trading Reference Links

Steve/

You're right.  A couple of ",-Opt2" omitted.  Thanks to Adam for
pointing it out, but a minus sign omitted from his version.  Try this
(E&OE).

Enter Long:
(Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2))>
Ref(Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2),-1) AND
(Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2))<0

Enter Short:
(Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2))<
Ref(Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2),-1) AND
(Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2))>0

I'm working on a similar system.  After a little more testing will pass
it along if you're interested.

Harvey Pearce, Victoria, B.C., Canada
=====================================

Steve Karnish wrote:
> 
> Harvey,
> 
> You are very kind to take the time to help.  The logic behind
> this moving average momentum oscillator matches your paragraph
> perfectly.  Unfortunately, MetaStock want to regurgitate the
> formula.  It's prompting for comma's and values and I've found
> that MS's "helper" is never any help.  It does a good job at
> alerting you that your formula is wrong, but seldom prompts for
> the correct fix.  Willing to take another crack?
> 
> Steve Karnish
> CCT
> 
> ----------
> > From: Harvey Pearce <hhp@xxxxxxxx>
> > To: metastock@xxxxxxxxxxxxx
> > Subject: Re: message interruptus
> > Date: Saturday, August 29, 1998 3:21 AM
> >
> > Steve/
> >
> > Enter Long:
> >
> (Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2))>Ref(Mov(C,Opt1,S)-Ref(Mo
> v(C,Opt1,S)),-1)
> > AND
> >              (Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2))<0
> >
> > Enter Short:
> >
> (Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2))<Ref(Mov(C,Opt1,S)-Ref(Mo
> v(C,Opt1,S)),-1)
> > AND
> >               (Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2))>0
> >
> > Your oscillator calculates the momentum of the moving average.
>  The
> > momentum varies about the zero line.  So you go long when the
> momentum
> > is below zero and increases from the day before; short when
> the momentum
> > is above zero and decreases from the day before.  This doesn't
> allow for
> > the oscillator again reversing and reaching a greater extreme
> before
> > crossing the zero line.
> >
> > Let me know if there are problems, or if you want to change
> anything.  I
> > haven't checked this out practically, and on these late night
> sessions I
> > usually manage to do something that doesn't make sense the
> next day.
> >
> > Harvey Pearce, Victoria, B.C., Canada
> > =====================================
> >
> >
> > Steve Karnish wrote:
> > >
> > > I've sent the following message twice...once last night and
> once
> > > about three hours  ago.  It's not showing up so far.  If all
> > > three of these messages show up on the list, please accept
> my
> > > apology for the clutter.
> > >
> > > "My first attempt at developing a computer system was with a
> > > TRS-80.  I had someone program the logic and I haven't
> "learnt
> > > nothin' yet/since".  My objective is to turn this little
> "moving
> > > average oscillator" into a system test. I would like to
> reverse
> > > my position when the oscillator reverses it's direction.
> Here's
> > > the formula:
> > >
> > > Mov(C,opt1,S)-Ref(Mov(C,opt1,S),-opt2)
> > >
> > > I'm sure it's simple. I'll trade out optimized results for
> some
> > > help.
> > >
> > > Thanks in advance,
> > >
> > > Steve Karnish
> > > CCT"