我哪兒錯了? [金字塔]
- 咨詢內容:
下面不知道哪兒錯了,沒有符合的進場點
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的代碼貼下
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容