開反倉(cāng)
作者:金字塔 來源:cxh99.com 發(fā)布時(shí)間:2016年07月06日
- 咨詢內(nèi)容:
請(qǐng)問,突破前5期最高點(diǎn)6個(gè)點(diǎn)開多單,前期收盤虧8個(gè)點(diǎn),開盤止損,并同時(shí)開反倉(cāng),如何表達(dá)
- 金字塔客服:
if h>ref(hhv(h,5),1)+6 then buy(holding=0,1,marketr);
if ref(close<enterprice-8,1) then begin
sell(1,0,marketr);
buyshort(holding=0,1,marketr);
end
- 用戶回復(fù):
謝謝
- 網(wǎng)友回復(fù):
sell(1,0,marketr); 中間的0代表什么
- 網(wǎng)友回復(fù):
全平