Rss & SiteMap

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

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

标题:请教

1楼
hehhh0327 发表于:2011/8/20 15:50:18

程序运行在5分钟K线上,请高手帮忙,把这段TB代码转换成金字塔,谢谢

if(Minute == 10 || Minute == 25 || Minute == 40|| Minute == 55 )
 {
  myclose = close;
  myhigh=high;
  mylow=low;
  }
else
 {
  myclose = myclose[1];
  myhigh = myhigh[1];
  mylow = mylow[1];
  
 }

2楼
阿火 发表于:2011/8/20 16:08:04

runmode:0;

variable:myclose=drawnull,myhigh=drawnull,mylow=drawnull;//这里设置初始值。我设置为空值,也可设置其它

if minute=10 or minute=25 or minute=40 or minute=55 then begin

    myclose:=close;

    myhigh:=high;

    mylow:=low;

end

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


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