[Question] Stop trading if you lose a trade.
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?
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 <> Day 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
Viewing 2 posts - 1 through 2 (of 2 total)