| 
 PureBytes Links 
Trading Reference Links 
 | 
Hi - Somewhat of newbie coming over from CQG. 
I am trying to duplicate this coding from CQG and getting stuck 
here: 
CQG 
yy1:= if(xx1 > yy1[-1], low, high); 
AMIBroker 
yy1=iif(xx1 > ref(yy1,-1), low, high); 
I cannot get Amibroker to recognize ref(yy1,-1)... is there another 
way to reference the variable one ago in the same line of code? 
Thx, 
DJ
------------------------ 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/
 
 |