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

RE: [amibroker] Re: Capture content in the "Profile" window



PureBytes Links

Trading Reference Links

Bill,

Something like this:

Cond1=MACD() > 0;

Cond2=StochK() > 50;

Cond3=ADX(14) > 20;

Cond4=RSI(14) > 50;

text=WriteIf(Cond1 AND Cond2,"cond1/cond2",WriteIf(Cond3 AND
Cond4,"cond3/cond4",""));

Filter=1;

AddTextColumn(text,"TEST");



Anthony

----- Original Message -----
From: "zimm630" <zim630@xxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, January 21, 2004 9:11 AM
Subject: [amibroker] Exploration AFL question


> I am putting together an exploration, 90% of which works fine.
> However I have one column where I need to do several comparisons to
> return an answer and I can't seem to figure it out :-).
>
> There are 4 conditions calculated - Condition-1...4
> If Condition 1 and 2 are true then I want to return a text statement,
> however, if condition 3 and 4, or 2 and 4, or 1 and 3 are true I
> wish to return different text statements. Any Ideas?
>
> Thanks in advance for any help.
>
> Bill
>
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
>  http://groups.yahoo.com/group/amibroker/
>
> To unsubscribe from this group, send an email to:
>  amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to:
>  http://docs.yahoo.com/info/terms/
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004


Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/amibroker/

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

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