Rss & SiteMap

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

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

标题:引用前60分钟收盘价

1楼
tanyongde 发表于:2016/12/29 10:47:44
    引用前60分钟收盘价,怎样写?
2楼
jinzhe 发表于:2016/12/29 10:49:40
callstock(stklabel,vtclose,5,-1);
3楼
tanyongde 发表于:2016/12/29 11:02:43
 不好意思, 错了,是引用60分种21日线的价格  (ma21:ref(ma(close,21),1),colorblue,linethick2;)
4楼
jinzhe 发表于:2016/12/29 11:04:03
stkindi('','ma.ma1(21)',0,5,-1);
5楼
tanyongde 发表于:2016/12/29 11:35:22
谢谢
6楼
tanyongde 发表于:2016/12/29 13:07:01

  h 穿破 line2 时,按当时h价+3*mindiff委托

  l 跌破 line2 时,按当时L价-3*mindiff委托

  可以按下面写,会有问题吗?

long2:=cross(h,line2);

short2:=cross(line2,l);

if myhoiding=0 and long2 and h>line1 then buy(1,p,limitr,h+3*mindiff),ignorecheckprice;

if myhoiding=0 and short2 and l<line1 then buyshort(1,p,limitr,l-3*mindiff),ignorecheckprice;
7楼
jinzhe 发表于:2016/12/29 13:16:09
可以
共7 条记录, 每页显示 10 条, 页签: [1]


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