PureBytes Links
Trading Reference Links
|
Samvet,
I just converted your method into an indicator,
and plotted on a chart.
Not too effective I think.
If(Mov(C,9,E)>=Mov(C,3,E),
(Mov(C,3,E))+((Mov(C,3,E)-(Mov(C,9,E)*.257)*3)),If(Mov(C,3,E)>Mov(C,9,E),
(Mov(C,9,E))-((Mov(C,3,E)-Mov(C,9,E))*1.67),0))
The logic is good, but needs to be polished a
bit. Have a go at it. Look at the multiplication factor, and rationalise it
further.
DusantChief Architect<A
href="">http://www.candlestrength.com/
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
samvet
lahari
To: <A
title=equismetastock@xxxxxxxxxxxxxxx
href="">equismetastock@xxxxxxxxxxxxxxx
Sent: Tuesday, March 16, 2004 1:00
AM
Subject: Re: [EquisMetaStock Group] Re:
Formula Help needed for Moving Avg crossover
Dear DusantI'm trying this
in metastock and found one formula
i.ewriteif(((Mov(C,9,E)>(Mov(C,3,E)))), "<name>'s
BuyAlert Trigger at
:writeVal((Mov(C,3,E))+((Mov(C,3,E)-(Mov(C,9,E)*.257)*3)),5.2)")writeif(((Mov(C,3,E)>(Mov(C,9,E)))),"SellAlert
will Generate When
Price=writeVal((Mov(C,9,E))-((Mov(C,3,E)-Mov(C,9,E))*1.67),5.2)")but
this formula is not fully correct. I'm also tryingother formula also. If
you could refine this formulaplease informe me also.Thanks for
your prompt replysamvet--- Dusant <<A
href="">dusant@xxxxxxxxxxxxxxxxxx>
wrote:> Samvet,> > What you are asking requires
programming in a higher> language. I don't think it is possible in
Metastock> because the API does not permit loops, iterations>
etc, which are possible in programming languages.> > We are
already in the process of working this out in> Java for my website, and
I know how much heartburn> it is giving me.> > However,
there are some very nimble minds in our> group like Roy or Jose or
Henry. Do they have any> ideas?> > Dusant> Chief
Architect> <A
href="">http://www.candlestrength.com/>
----- Original Message ----- > From: samvet lahari
> To: <A
href="">equismetastock@xxxxxxxxxxxxxxx
> Sent: Monday, March 15, 2004 12:58 AM>
Subject: [EquisMetaStock Group] Re: Formula Help> needed for Moving Avg
crossover> > > Up signal.
> Mov(C,3,E)>Mov(C,9,E)> >
Down signal> Mov(C,3,E)<Mov(C,9,E)>
> Is it possible to find out the future real value>
of> crossover in above metioned conditions.>
> i.e when Up singal, can we determine the
crossover> value for generating the down signal.>
> If possible then please mail me the formula>
> Thanks in advance> >
Samvet__________________________________Do you
Yahoo!?Yahoo! Mail - More reliable, more storage, less spam<A
href="">http://mail.yahoo.com Yahoo!
Groups Links<*> To visit your group on the web, go
to: <A
href="">http://groups.yahoo.com/group/equismetastock/<*>
To unsubscribe from this group, send an email to:
<A
href="">equismetastock-unsubscribe@xxxxxxxxxxxxxxx<*>
Your use of Yahoo! Groups is subject to: <A
href="">http://docs.yahoo.com/info/terms/
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/equismetastock/
To unsubscribe from this group, send an email to:equismetastock-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|