我加載在1秒圖上應(yīng)用 [金字塔]
- 咨詢內(nèi)容:
我加載在1秒圖上應(yīng)用,
突破半小時(shí)內(nèi)最低價(jià)超過3點(diǎn)平多開空
突破半小時(shí)內(nèi)最高價(jià)超過3點(diǎn)平空開多(當(dāng)前時(shí)間之前的半小時(shí)內(nèi))
開倉后有大于10點(diǎn)的利潤并且利潤回撤30%則平倉
循環(huán)執(zhí)行,未平倉不允許開倉 - 金字塔客服:
if l<ref(llv(l,30*60),1)-3 then begin
sell(1,0,market);
buyshort(holding=0,1,market);
end
if h>ref(hhv(h,30*60),1)+3 then begin
sellshort(1,0,market);
buy(holding=0,1,market);
end
if holding>0 and h-enterprice>10 and (hhv(openprofit,enterbars+1)-openprofit)/hhv(openprofit,enterbars+1)>0.3 then sell(1,0,market);
if holding<0 and enterprice-l>10 and (hhv(openprofit,enterbars+1)-openprofit)/hhv(openprofit,enterbars+1)>0.3 then sellshort(1,0,market);
- 用戶回復(fù):
測(cè)試的時(shí)候無數(shù)據(jù)??
- 網(wǎng)友回復(fù): 你切換到1秒中k線上,看看有沒有足夠多的數(shù)據(jù)
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容

會(huì)員登錄/注冊(cè)