反手公式怎么表示 [金字塔]
- 咨詢內(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個點(diǎn)平倉止損,反手開單,怎么表示。請教,謝謝。 - 金字塔客服:
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
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 511411198 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價格!)
相關(guān)文章
-
沒有相關(guān)內(nèi)容