Rss & SiteMap

金字塔客服中心 - 专业程序化交易软件提供商 http://www.weistock.com/bbs/

专业程序化软件提供商
共4 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:这样写好像有数据就会有输出

1楼
qq代人发帖 发表于:2013/11/1 13:36:56
请教:我这样写好像有数据就会有输出。
DEBUGFILE('c:\10201-001.txt',',IF1311,'&numtostr(YEAR,0)&'-'&numtostr(MONTH,0)&'-'&numtostr(DAY,0)&',平,空,'&numtostr(c+滑点,1)&','&numtostr(手数,0)&',10201-001,LLH3',0);
请问怎么在K线结束时输出,或者是换k线时输出。
2楼
fly 发表于:2013/11/1 13:49:29

if  islastbar and barpos>extgbdata('t') then

   begin

   DEBUGFILE('c:\10201-001.txt',',IF1311,'&numtostr(YEAR,0)&'-'&numtostr(MONTH,0)&'-'&numtostr(DAY,0)&',平,空,'&numtostr(c+滑点,1)&','&numtostr(手数,0)&',10201-001,LLH3',0);


   extgbdataset('t',barpos);
   end

3楼
jinzhe 发表于:2013/11/1 13:49:49
这个是来一笔数据输出一次的,要等k线结束时输出做不到
4楼
jinzhe 发表于:2013/11/7 9:59:08

你是指哪块地方什么都没有?

共4 条记录, 每页显示 10 条, 页签: [1]


Powered By Dvbbs Version 8.3.0
Processed in 0.02344 s, 3 queries.