fc:=close;
for i=barpos to (barpos-100) do
BEGIN
ma2[i]:(fc[i-1]+fc[i])/2;
END
K:ma2[barpos-10];
RT,还有, barpos是K线的顺序位置,即最新的K线,barpos值最大,与barpos相对应的还有一个currbarscount,这个carrbarscount怎么用到循环语句中?
http://www.weistock.com/bbs/dispbbs.asp?boardid=4&Id=332 问题4.
建议楼主多学学金字塔的单步跟踪调试技巧。