我哪兒錯(cuò)了? [金字塔]
- 咨詢內(nèi)容:
下面不知道哪兒錯(cuò)了,沒有符合的進(jìn)場(chǎng)點(diǎn)
dtpl:stkindi('','jxqs.dp',0,3,-1);//引用15分鐘數(shù)據(jù)ktpl:stkindi('','jxqs.kp',0,3,-1);//引用15分鐘數(shù)據(jù)
jxxs:stkindi('','jxqs.xs',0,3,-1);//引用15分鐘數(shù)據(jù)jxxx:stkindi('','jxqs.xx',0,3,-1);//引用15分鐘數(shù)據(jù)
cxg:stkindi('','jxqs.xg',0,3,-1);//引用15分鐘數(shù)據(jù)cxd:stkindi('','jxqs.xd',0,3,-1);//引用15分鐘數(shù)據(jù)
jjc:stkindi('','jxqs.jc',0,17,-1);//引用15分鐘數(shù)據(jù)ssc:stkindi('','jxqs.sc',0,17,-1);//引用15分鐘數(shù)據(jù)
if dtpl and jxxs and cxg and jjc thenbuy(holding=0,1,market);//如果4個(gè)條件符合時(shí)(可以不在同一K線上),進(jìn)場(chǎng)if ssc thensell(holding>0,holding,market);
if ktpl and jxxx and cxd and ssc thenbuyshort(holding=0,1,market);//如果4個(gè)條件符合時(shí)(可以不在同一K線上),進(jìn)場(chǎng)if jjc THENsellshort(holding<0,1,market); - 金字塔客服:
被引用的公式j(luò)xqs是怎么寫的?貼下代碼
- 用戶回復(fù):
引用15分鐘,3分上操作的系統(tǒng),不知道哪兒錯(cuò)了上面有一個(gè)地方,注釋錯(cuò)了
dtpl:stkindi('','jxqs.dp',0,3,-1);//引用15分鐘數(shù)據(jù)ktpl:stkindi('','jxqs.kp',0,3,-1);//引用15分鐘數(shù)據(jù)
jxxs:stkindi('','jxqs.xs',0,3,-1);//引用15分鐘數(shù)據(jù)jxxx:stkindi('','jxqs.xx',0,3,-1);//引用15分鐘數(shù)據(jù)
cxg:stkindi('','jxqs.xg',0,3,-1);//引用15分鐘數(shù)據(jù)cxd:stkindi('','jxqs.xd',0,3,-1);//引用15分鐘數(shù)據(jù)
jjc:stkindi('','jxqs.jc',0,17,-1);//引用3分鐘數(shù)據(jù)ssc:stkindi('','jxqs.sc',0,17,-1);//引用3分鐘數(shù)據(jù)
if dtpl and jxxs and cxg and jjc thenbuy(holding=0,1,market);//如果4個(gè)條件符合時(shí)(可以不在同一K線上),進(jìn)場(chǎng)if ssc thensell(holding>0,holding,market);
if ktpl and jxxx and cxd and ssc thenbuyshort(holding=0,1,market);//如果4個(gè)條件符合時(shí)(可以不在同一K線上),進(jìn)場(chǎng)if jjc THENsellshort(holding<0,1,market);
- 網(wǎng)友回復(fù): 你在stkindi里引用另一個(gè)公式j(luò)xqs,把jxqs的代碼貼下
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容