inputs: LB(50),WB(200);
if Time>0900 and time<1345 then begin
if marketposition>0 then begin
sell("Buy over") next bar entryprice(0)- (minmove/pricescale)*LB stop;
sell("Buy Good") next bar entryprice(0)+(minmove/pricescale)*WB limit;
end;
我是使用30分K 前一天有多單進場 多單停損停利想要 9點開始 請問
1.如果今日09:01已達停損條件會馬上執行嗎?還是因為next bar要到下一根K棒 09:16後執行
2. 如果想要09:01已達停損條件會馬上執行 要如何撰寫?要使用setstoploss嗎?
想馬上執行應該只能用 IOG 模式吧