[求助]請(qǐng)問日內(nèi)策略,止盈離場(chǎng)后不再開倉怎么表示呀?還望老師賜教!
作者:金字塔 來源:cxh99.com 發(fā)布時(shí)間:2015年10月07日
- 咨詢內(nèi)容:
請(qǐng)問日內(nèi)策略,止盈離場(chǎng)后不再開倉怎么表示呀?還望老師賜教!
- 金字塔客服:
處理中請(qǐng)稍等
- 用戶回復(fù):
- 網(wǎng)友回復(fù):
是止盈后當(dāng)天不再開倉?
VARIABLE:n=0;
if 開多條件 and n=0 then buy(holding=0,1,market);
if 止盈條件 and holding>0 then BEGIN
sell(holding>0,holding,market);
n:=1;
end
if time=CLOSETIME(0) then n:=0;