PureBytes Links
Trading Reference Links
|
Hi,
I would suggest dividing your huge condition into a
series of
basic ones and assign the parts to the
variables:
Cond1 = Close > Open;
Cond2 = something else
Cond3 = ....
WriteIf( Cond1, "Cond 1 is met", "" );
WriteIf( Cond2, "Cond 2 is met", "" );
WriteIf( Cond3, "Cond 3 is met", ""
);
WriteIF( Cond1 AND Cond2 AND Cond3, "All conditions
met", "At least one is not met" );
Best regards,
Tomasz Janeczko
amibroker.com
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Tom Supera
To: <A title=amibroker@xxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: 05 October, 2001 14:26
Subject: [amibroker] Help with writeif
function
Hi,
In my formula (candlestick-analyzer), i have a
lot of conditions.
When I take the writeif function and more
than one condition is true, than nothing would be written.
Is there any way, that i can see all conditions,
that are true.
I ask about that, because it's not so easy
to find the mistake in the great formula.
Thanks for your help
Tom Supera
Your
use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
|