[求助]請(qǐng)老師編一個(gè)加倉的模型 [金字塔]
- 咨詢內(nèi)容:
c>ma(c,31) and c=hhv(c,9)買入開倉30%倉位;c<ma(c,10) and c=llv(c,9)賣出平倉;c<ma(c,31) and c=llv(c,9)賣出開倉30%倉位;c>ma(c,10) and c=hhv(c,9)買入平倉;連續(xù)虧損3次以后的下一次開倉40%倉位;連續(xù)虧損4次以后的下一次開倉50%倉位;連續(xù)盈利3次以后的下一次開倉20%倉位;老師這個(gè)能完成嗎?謝謝
- 金字塔客服:
if c<ma10 and c=llv(c,9) and holding>0 then begin
sell(1,0,market);
if numprofit(1)>0 then begin
n:=n+1;
m:=0;
end
if numprofit(1)<0 then begin
n:=0;
m:=m+1;
end
end
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 1145508240 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容