Rss & SiteMap

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

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

标题:为什么都是白箭头

1楼
LCY 发表于:2016/12/8 14:18:45
 Formula3
 n:selfdata('涨幅排')+1,linethick0;
sell(holding>0 and ref(c<o,1),holding,o);
buy(holding=0 and ref(c>o,1) and ref(n=1,1),1,o);
 公式3加载股票或期货上都出现白色箭头
2楼
gxx978 发表于:2016/12/8 14:26:28

1,  缺少限价指令  sell(holding>0 and ref(c<o,1),holding,limit,o);
                        buy(holding=0 and ref(c>o,1) and ref(n=1,1),1,limit,o);

2,出现白色箭头,是因为指定的价格超出K线最高价和最低价的范围,使用IGNORECHECKPRICE函数,忽略价格检查。

3楼
pyd 发表于:2016/12/8 14:26:40

加上limitr,

例如
sell(1,holding,limitr,o);
buy(1,1,limitr,o);

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


Powered By Dvbbs Version 8.3.0
Processed in 0.01563 s, 2 queries.