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

Re: [EquisMetaStock Group] Need help



PureBytes Links

Trading Reference Links

I'm still a bit of a n00b, but I would do something like this:

mov1 = Mov(C, 5, E);
mov2 = Mov(C, 10, E);
mov3 = Mov(C, 15, E);
mov4 = Mov(C, 23, E);
mov5 = Mov(C, 46, E);
mov6 = Mov(C, 200, E);

Final:= 0;

If(mov1 < mov2,Final = 2, Final = 1);
If(Final < mov3,Final = 3, 0);
If(Final < mov4,Final = 4, 0);
If(Final < mov5,Final = 5, 0);

If(Final = 1, mov1, 0);
If(Final = 2, mov2, 0);
If(Final = 3, mov3, 0);
If(Final = 4, mov4, 0);
If(Final = 5, mov5, 0);

I'm not sure if the last 'Final' will actually plot the moving average or not. I'm at work and do
not have access to my MetaStock.  Odds are that some more experience will have a better idea.

Good luck!

Conrad


________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/BefplB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/