//多單停損價位1
var:stop_price_buy(0);
//多單進場
if position <= 0 and filled <= 0
then begin
stop_price_buy = Low[1] - 10 ;
SetPosition(1, MARKET,label:="多單進場");
end;
請問一下,以stop_price_buy 而言,它在多單下單後儲存當下的低點,但是程式執行到最後一行後,重新重第一行開始再執行時,stop_price_buy 會一直因這句「var:stop_price_buy(0);」而被重新歸0 嗎?
若是一直被歸0,那麼要怎樣才能把當下下單的低點儲下來而不會被歸0呢?
謝謝。
7 評論