Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
在博弈大师里面有种算法:HAOPEN:(REF(HAOPEN,1)+REF(HACLOSE,1))/2;
在金字塔里面该如何改写,请老师帮忙解惑。
if barpos=1 then haopen:=1;
if barpos=2 then haopen:=2;
r1:=ref(haopen,1);
r2:=ref(haopen,2);
if barpos>2 then haopen:=(r1+r2)/2;