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

Re: Formula Help



PureBytes Links

Trading Reference Links

Your thinking is correct:

only if a is true AND b is true will result be true

if either a is false OR b is false, result will be false

Don't be afraid to add parenthesis to make your intentions clear.

Gary Randall -- Brunswick, Maine


______________________________ Reply Separator _________________________________
Subject: Formula Help
Author:  metastock@xxxxxxxxxxxxx at Internet
Date:    9/22/98 10:40 PM


Can someone tell me why this produces true (1) instead of  false (0)?

  (Ref(Fml( "Div(up3=div)RfMMO 1&FO"),-1)=3 )     (false)
OR 
 Ref(Fml( "FO Cross" ),-1)=1                                (true) 
 OR
 Fml( "Div(up3=div)RfMMO 1&FO")=3                    (false)
OR 
 Fml( "FO Cross" )=1)                                          (false)

AND

 (Fml( "Rf EntranceSignal #1" )>3                          (false)
OR
 Fml( "Rf EntranceSignal #2" )>1                            (false) 
 OR                   
 Fml( "Rf EntranceSignal #3" )>0)                            (false)


I  have one (true)  before the AND & all   (false) after the AND
My thinking is the AND means both must produce true results for the answer to 
be true.

Thanks for anyone who can straighten me out on this 
Rf