PureBytes Links
Trading Reference Links
|
i'm just a rookie but this is what i use. you can click on the "Signal"
column to sort the B & the S. Help has lots of examples.
Buy= your buy condition
Sell=Your sell condition
Filter=Buy OR Sell;
AddColumn( IIf( Buy, 66, 83 ), "Signal", formatChar );
hth,
ron
-----Original Message-----
From: Gordon Sutherland [mailto:gosuth@xxxxxxxxxx]
Sent: Thursday, May 13, 2004 6:28 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] question about writeif
Hi,
I’m new to AmiBroker platform but was struggling with same problem of
getting the Explore Results window to show “Buy” or “Sell” depending on the
signal. I found the following seems to work:
result=WriteIf(Buy,"Buy","Sell");
AddTextColumn(result,"Trade",1.0,colorDarkGreen );
If my code is not correct please help me. Also, I would like to color the
output string “Buy” or “Sell” either DarkGreen or Red (for “Sell”). Can
someone help me here please.
I love AmiBroker (4.54) so far after struggling for years with MetaStock and
AIQ (MetaStock was the main struggle).
Regards,
Gordon Sutherland
-----Original Message-----
From: Graham [mailto:gkavanagh@xxxxxxxxxxxxx]
Sent: Friday, 14 May 2004 9:46 a.m.
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker] question about writeif
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
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 Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.686 / Virus Database: 447 - Release Date: 5/14/2004
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->
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/
|