當(dāng)日平掉倉(cāng)單以后,不再開(kāi)反向倉(cāng)單怎么寫(xiě)全局變量 [金字塔]
- 咨詢內(nèi)容:
當(dāng)日平掉倉(cāng)單以后,不開(kāi)反向倉(cāng)單,同向倉(cāng)單可以開(kāi),怎么全局做全局變量
- 金字塔客服:
也就是平掉當(dāng)日倉(cāng)單以后,出現(xiàn)反向信號(hào),不再開(kāi)倉(cāng)。如果日內(nèi)再出現(xiàn)開(kāi)同向信號(hào),可以繼續(xù)再開(kāi)
- 用戶回復(fù):
模型是日內(nèi)交易
- 網(wǎng)友回復(fù):
variable:n=0;
variable:m=0;
if n=0 and 開(kāi)多條件 then buy..........;
if m=0 and 開(kāi)空條件 then buyshort.........;
if 平多條件 and holding>0 then begin
sell.........;
n:=0;
m:=1;
end
if 平空條件 and holding<0 then begin
sellshort.........;
n:=1;
m:=0;
end
- 網(wǎng)友回復(fù):
怎么加上以后沒(méi)有信號(hào)了?
有思路,想編寫(xiě)各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 1145508240 進(jìn)行 有償 編寫(xiě)!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容