同一策略 進出場不同步 [金字塔]
- 咨詢內容:
老師 請教下,我有一個后臺的交易策略在不同賬號使用,但進出場不同步,價格和時間都不同,是什么原因
- 金字塔客服:
下單條件是什么?
- 用戶回復:
duo:=T and macd_m5>0 and k>d and macd_M15>0 and cross(macd1,0);
kong:=S and macd_m5<0 and k<d and macd_M15<0 and cross(0,macd1);
if duo then Tbuy(Tholding=0,x,MKT);
if duo and C-TENTERPRICE>=w*MINDIFF and abs(Tholding)=x then Tbuy(1,x,MKT);
if duo and C-TENTERPRICE>=w*MINDIFF and abs(Tholding)=2*x then Tbuy(1,x,MKT);
if duo and C-TENTERPRICE>=w*MINDIFF and abs(Tholding)=3*x then Tbuy(1,x,MKT);
if kong then Tbuyshort(Tholding=0,x,MKT);if kong and TENTERPRICE-C>=w*MINDIFF and abs(Tholding)=x then Tbuyshort(1,x,MKT);
if kong and TENTERPRICE-C>=w*MINDIFF and abs(Tholding)=2*x then Tbuyshort(1,x,MKT);
if kong and TENTERPRICE-C>=w*MINDIFF and abs(Tholding)=3*x then Tbuyshort(1,x,MKT);
- 網友回復:
兩個帳號的持倉一樣嗎?
- 網友回復: 倉位是一樣的
有思路,想編寫各種指標公式,程序化交易模型,選股公式,預警公式的朋友
可聯系技術人員 QQ: 511411198 進行 有償 編寫!(不貴!點擊查看價格!)
相關文章
-
沒有相關內容