Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
逐K中ref好像不能用在if then中。一般会用[barpos-X]这样的用法,下面二者哪个效率高:
A:=ref(close,10);
if barpos>10 then A:=close[barpos-10];