我哪兒錯了?
作者:金字塔 來源:cxh99.com 發布時間:2016年04月28日
- 咨詢內容:
下面不知道哪兒錯了,沒有符合的進場點
dtpl:stkindi('','jxqs.dp',0,3,-1);//引用15分鐘數據ktpl:stkindi('','jxqs.kp',0,3,-1);//引用15分鐘數據
jxxs:stkindi('','jxqs.xs',0,3,-1);//引用15分鐘數據jxxx:stkindi('','jxqs.xx',0,3,-1);//引用15分鐘數據
cxg:stkindi('','jxqs.xg',0,3,-1);//引用15分鐘數據cxd:stkindi('','jxqs.xd',0,3,-1);//引用15分鐘數據
jjc:stkindi('','jxqs.jc',0,17,-1);//引用15分鐘數據ssc:stkindi('','jxqs.sc',0,17,-1);//引用15分鐘數據
if dtpl and jxxs and cxg and jjc thenbuy(holding=0,1,market);//如果4個條件符合時(可以不在同一K線上),進場if ssc thensell(holding>0,holding,market);
if ktpl and jxxx and cxd and ssc thenbuyshort(holding=0,1,market);//如果4個條件符合時(可以不在同一K線上),進場if jjc THENsellshort(holding<0,1,market);
- 金字塔客服:
被引用的公式jxqs是怎么寫的?貼下代碼
- 用戶回復:
引用15分鐘,3分上操作的系統,不知道哪兒錯了上面有一個地方,注釋錯了
dtpl:stkindi('','jxqs.dp',0,3,-1);//引用15分鐘數據ktpl:stkindi('','jxqs.kp',0,3,-1);//引用15分鐘數據
jxxs:stkindi('','jxqs.xs',0,3,-1);//引用15分鐘數據jxxx:stkindi('','jxqs.xx',0,3,-1);//引用15分鐘數據
cxg:stkindi('','jxqs.xg',0,3,-1);//引用15分鐘數據cxd:stkindi('','jxqs.xd',0,3,-1);//引用15分鐘數據
jjc:stkindi('','jxqs.jc',0,17,-1);//引用3分鐘數據ssc:stkindi('','jxqs.sc',0,17,-1);//引用3分鐘數據
if dtpl and jxxs and cxg and jjc thenbuy(holding=0,1,market);//如果4個條件符合時(可以不在同一K線上),進場if ssc thensell(holding>0,holding,market);
if ktpl and jxxx and cxd and ssc thenbuyshort(holding=0,1,market);//如果4個條件符合時(可以不在同一K線上),進場if jjc THENsellshort(holding<0,1,market);
- 網友回復:
你在stkindi里引用另一個公式jxqs,把jxqs的代碼貼下