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

[amibroker] Ticker in AFL



PureBytes Links

Trading Reference Links

Writeif only gives the last bar's result, but can work in the interpretation
window

An alternative would be to use numbers
result=Iif(bullish,1,Iif(bearish,-1,0));


Cheers,
Graham
http://e-wire.net.au/~eb_kavan/

-----Original Message-----
From: epintoem [mailto:epintoem@xxxxxxxxx] 
Sent: Thursday, May 13, 2004 8:55 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] question about writeif

when I run this exploration for multiple days Prev shows up in the 
column....HOw can I get it show the correct signal?

result=WriteIf(bullish,"Buy",WriteIf(bearish,"Sell","Prev"));
AddTextColumn(result,"Trade");


TIA




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



 



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/