multicharts基础编程 第012节 循环语句(While...... Begin ...... End循环)
[mp4]http://mp4.qhlt.club/mcode/012.mp4[/mp4] 范例:[code]var:barbackno(0),HighPriceSum(0);barbackno=0;
HighPriceSum=0;
While barbackno < 10 Begin
HighPriceSum = HighPriceSum + High[barbackno];
barbackno=barbackno+1;
End;
print(HighPriceSum/10);
value1 = tl_new(date[1],time[1],HighPriceSum[1]/10,date,time,HighPriceSum/10);
[/code] multicharts量化课程网课PPT下载:[url]http://www.qhlt.cn/thread-143956-1-1.html[/url]
页:
[1]