同一策略 進(jìn)出場(chǎng)不同步 [金字塔]
- 咨詢內(nèi)容:
老師 請(qǐng)教下,我有一個(gè)后臺(tái)的交易策略在不同賬號(hào)使用,但進(jìn)出場(chǎng)不同步,價(jià)格和時(shí)間都不同,是什么原因
- 金字塔客服:
下單條件是什么?
- 用戶回復(fù):
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);
- 網(wǎng)友回復(fù):
兩個(gè)帳號(hào)的持倉(cāng)一樣嗎?
- 網(wǎng)友回復(fù): 倉(cāng)位是一樣的
有思路,想編寫(xiě)各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫(xiě)!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容