multicharts基础编程 第006节 基础数学运算
[mp4]http://mp4.qhlt.club/mcode/006.mp4[/mp4] 输出当前bar的相对编号[code]Value1=Text_New(Date,Time,high + 15 point,NumToStr(currentbar,0));
[/code]输出简单的运算:[code]
var:n1(0),n2(0),n3(0);
n1 = close[0] ;
n2 = Close[1] ;
n3 = n1 * n2;
if currentbar = 2056 then begin
Value2=Text_New(Date,Time,low - 300 point,NumToStr(n1,0) + "*" + NumToStr(n2,0) + "=" + NumToStr(n3,3));
end;
[/code] multicharts量化课程网课PPT下载:[url]http://www.qhlt.cn/thread-143956-1-1.html[/url]
页:
[1]