Rss & SiteMap
金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/
variable:tt=0;
if islastbar then date1:date;
if date>=date1-10 then tt:=100;
if date<date1-10 then tt:=close;tt1:tt;
我没有表达清楚,10日之前,应该是每日的收盘价,而非最新收盘价。即最近10日内tt为不变量,10日以前为变量。