[求助]寫了一個(gè)高頻策略,無法實(shí)現(xiàn) [金字塔]
-
咨詢內(nèi)容:
?
求助大神:不知道下面策略問題在哪里,為什么無法實(shí)現(xiàn)交易,還望各位大神指點(diǎn)。謝謝!!!
?
input:N1(200,5,100000,1),ss(10,1,100000,1);
Variable:ls=0;//開倉歷史
MA1:MA(CLOSE,N1);
委比:=(bidvol-askvol)/bidvol;
kd:= 委比>0.007 and bidvol>1000 and holding=0;
kk:= 委比<-0.007 and askvol>1000 and holding=0;if o>ma1 and kd then begin
?buy(1,ss,marketr);
endif o<ma1 and kk then begin
?buyshort(1,ss,marketr);
end//損失或盈利達(dá)到1點(diǎn)平倉??
If Abs(Openprofit)>Multiplier Then
?? Begin
?? Sell(Holding>0,0,Marketr);
?? Sellshort(Holding<0,0,Marketr);
?? ls:=0;
?? End//持倉達(dá)1分鐘平倉
If Time0-ls>=60 and ls<>0 Then
?? Begin
?? Sell(Holding>0,0,Marketr);
?? Sellshort(Holding<0,0,Marketr);
?? ls:=0;
?? End?
??
-
金字塔客服:
這個(gè)策略必須在分筆周期上。
?
-
用戶回復(fù):
可是在分筆周期上依然沒有買賣信號顯示,也不能程序化下單
?
-
網(wǎng)友回復(fù):
此主題相關(guān)圖片如下:1221.png
?
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容