這一單盈利了,下一單就不開(kāi)倉(cāng),請(qǐng)問(wèn)怎么寫(xiě)? [金字塔]
- 咨詢(xún)內(nèi)容:
RT
- 金字塔客服:
然后再下一單繼續(xù)開(kāi)倉(cāng)
- 用戶(hù)回復(fù):
variable:n=0;
if 平倉(cāng)條件 and 持倉(cāng)判斷 then begin
平倉(cāng)語(yǔ)句;
if numprofit(1)>0 then n:=1;
end
if 開(kāi)倉(cāng)條件 and 持倉(cāng)判斷 and n=1 then begin
n:=0;
end
if 開(kāi)倉(cāng)條件 and 持倉(cāng)判斷 and n=0 then begin
開(kāi)倉(cāng)語(yǔ)句;
end
有思路,想編寫(xiě)各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 1145508240 進(jìn)行 有償 編寫(xiě)!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容