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

Re: message interruptus



PureBytes Links

Trading Reference Links

Steve/

Enter Long: 
(Mov(C,Opt1,S)-Ref(Mov(C,Opt1,S),-Opt2))>Ref(Mov(C,Opt1,S)-Ref(Mov(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(Mov(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"