Hi
How do I write this Metastock "if" formula in Amibroker?
If(C/O<1.005 AND C/O>1 OR O/C<1.005 AND O/C>1, or C<O,1,0)
Thanks
Gil
IIf (
(C/O<1.005 && C/O>1) //First Condition
OR //Or
(O/C<1.005 && O/C>1 OR C<O) //Second Condition
,1 //If True Return 1
,0 //If False Return 0
);
Hello and welcome to Aussie Stock Forums!
To gain full access you must register. Registration is free and takes only a few seconds to complete.
Already a member? Log in here.