你好,
我有一個自動下單的策略,採逐筆洗價,
原本設定+0.8%時要停利,但已經+2%了還不停利,請參考截圖



//++空單停利:股票(報酬率)
input:_win(0.8,"股票幾%停利");
if position < 0 and SymbolType = 2 //(2為股票、3為期貨)
and FilledAvgrice - Close > 0
and plratio > _win
then begin
SetPosition(0, MARKET,label:="空單停利:股票");
Print(Date,Time,"空單停利(股票):",FilledAvgPrice - close );
end
想請您幫我看一下為何會發生這樣的問題呢?感謝
1 評論