| 
 PureBytes Links 
Trading Reference Links 
 | 
I am trying to do a 'Addcolumn' in Explore that will show a 1 every 
day the Buy is in effect rather than a 1 just on the day it becomes a 
Buy.
I can do it in Excel by using several 'If' statements. 
In Amibroker my 'Newbuy' column would be something like;
IIF(Buy,IIf(Sell,IIf(Ref(Buy,1),1,0)));
Thanks for your help, Joe
 
------------------------ 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
--------------------------------------------------------------------~-> 
Check AmiBroker web page at:
http://www.amibroker.com/
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/
 
 |