反手公式怎么表示 [金字塔]
- 咨詢(xún)內(nèi)容:
if HOLDING<=-1 and c>=ENTERPRICE+n3 thenSELLSHORT(1,ss,MARKET);
if HOLDING>=1 and c<=ENTERPRICE-n3 thenSELL(1,ss,MARKET);
虧N3個(gè)點(diǎn)平倉(cāng)止損,反手開(kāi)單,怎么表示。請(qǐng)教,謝謝。 - 金字塔客服:
if holding>0 and c<enterprice-3 then begin
sell(1,0,market);
buyshort(holding=0,1,market);
end
if holding<0 and c>enterprice+3 then begin
sellshort(1,0,market);
buy(holding=0,1,market);
end
有思路,想編寫(xiě)各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫(xiě)!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容