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

Re: formula/exploration help



PureBytes Links

Trading Reference Links

The parenthesis get hairy here, but you are looking for a nested IF 
statement like this:

IF(oscAfired, if(oscBAfired, if(oscCfired,"They all fired","A&B fired, 
but not C"),"A fired, but not B&C"),"None Fired")

This pseudocode would return a mesage indicating what happened.

Hope this helps.

----Original Message Follows----
From: "Paul" <drjeep@xxxxxxxxxxx>
To: "Metastock@xxxxxxxxxx Com" <metastock@xxxxxxxxxxxxx>
Subject: formula/exploration help
Date: Fri, 21 Aug 1998 19:53:16 -0400
Reply-To: metastock@xxxxxxxxxxxxx

howdy guys,

I need to create an exploration filter in which a few conditions must 
happen
one by one.
For example:
within the last two weeks the following things happened in this 
particular
order
1) secret oscillatorA fired, THEN
2) super-secret oscB fired, THEN
3) super-ultra-duper systemC fired

Explorer checks for #1 then (and only then) #2 and so on

Is that possible in MetaStock?

thank you
Paul




______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com