[質問]取引で負けた場合は取引を停止する。.
1件の返信
I would like to know how I can stop that day’s trading in case of a losing trade, and resume trading the next day.
How can I make this configuration in algowizard?
0
こんにちは、,
it is simply done in AlgoWizard using a variable. Add a new condition that checks using the function Closed P/L (magic) …. IF StopTradingToday = 0 AND Closed PnL < 0 then set variable StopTradingToday = 1.
Setup another condition tab that says IF Day[1] <> Day[2] to detect midnight and use action to set the variable value StopTradingToday = 0
Modify the entry signal so the it fires only if StopTradingToday = 0 and entry condition is matched
1
1件の返信を表示中 - 1 - 1件目 (全1件中)