比如我想每15分钟计算一次十五分钟周期内最高价,然后把所有算出来的数据输出到EXCLE里。
可以输入到txt文件,用
if dynainfo(207)=time then debugfile('d:\test.txt','最高价:=%.2f',h);
if dynainfo(207)=time then debugfile('d:\test.txt','最低价:=%.2f',l);
输入到excel参考:
http://www.weistock.com/bbs/dispbbs.asp?boardid=4&Id=5865
这个语句直接加到公式里面 就可以了吗?为什么没有输出呢
if dynainfo(207)=15 then debugfile('D:\test.txt','最高价:=%.2f',zf);
if dynainfo(207)=time then debugfile('f:\test.txt','最高价:=%.2f',ZF);
我改成这样,依然没有在F盘看到想要的TXT文本啊。