[求助]寫了一個高頻策略,無法實現 [金字塔]
-
咨詢內容:
?
求助大神:不知道下面策略問題在哪里,為什么無法實現交易,還望各位大神指點。謝謝!!!
?
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//損失或盈利達到1點平倉??
If Abs(Openprofit)>Multiplier Then
?? Begin
?? Sell(Holding>0,0,Marketr);
?? Sellshort(Holding<0,0,Marketr);
?? ls:=0;
?? End//持倉達1分鐘平倉
If Time0-ls>=60 and ls<>0 Then
?? Begin
?? Sell(Holding>0,0,Marketr);
?? Sellshort(Holding<0,0,Marketr);
?? ls:=0;
?? End?
??
-
金字塔客服:
這個策略必須在分筆周期上。
?
-
用戶回復:
可是在分筆周期上依然沒有買賣信號顯示,也不能程序化下單
?
-
網友回復:
此主題相關圖片如下:1221.png
?
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容