Rss & SiteMap

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

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

标题:[求助]没有信号

1楼
OLIVERLAC 发表于:2017/9/13 22:09:53
T11:STKINDI(STKLABEL,'LAC.T1',0,1);  
T33:STKINDI(STKLABEL,'LAC.T3',0,1);
T1:MA(C,30)>=MA(C,120);
买开:buy(T1 and T11 and holding=0,1,market);
T2:=MA(C,30)<=MA(C,120);
平多:sell(T2,holding,market);
T3:=MA(C,30)<=MA(C,120);
开空:buyshort(T3 and T33 and holding=0,1,market);
T4:=MA(C,30)>=MA(C,120);
平空:SELLSHORT(T4 ,holding,market);
这是我的公式,引用的LAC公式没有问题,请老师看下这个公式问题出在哪了,加载主图没有信号
2楼
wenarm 发表于:2017/9/14 4:46:00
引用部分的公式是什么?另外不建议向后引用,会产生未来造成信号闪烁
在图表上看各个项输出的值,进而判断具体哪一项造成成的,引号不足。另外,你要保证本地数据足够。
T11:STKINDI(STKLABEL,'LAC.T1',0,1);
T33:STKINDI(STKLABEL,'LAC.T3',0,1);
T4:MA(C,30)>=MA(C,120);
平空:SELLSHORT(T4 ,holding,market);
T1:MA(C,30)>=MA(C,120);
买开:buy(T1 and T11 and holding=0,1,market);


T2:MA(C,30)<=MA(C,120);
平多:sell(T2,holding,market);
T3:MA(C,30)<=MA(C,120);
开空:buyshort(T3 and T33 and holding=0,1,market);
aa:holding;

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


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