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

Re: [EquisMetaStock Group] Re: Formula Help needed for Moving Avg crossover



PureBytes Links

Trading Reference Links




Samvet,
There seems to be nothing wrong with your 
statement. However, I am reproducing the code which I have tested.

writeif(((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)))), "Sell Alert 
will Generate When Price= 
writeVal((Mov(C,9,E))-((Mov(C,3,E)-Mov(C,9,E))*1.67),5.2)")
I have not tested the maths, only the display of 
the statement in the commentary.
 
DusantChief Architect<A 
href=""><FONT face=Verdana 
size=2>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 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.