OPEN-SOURCE SCRIPT

BUG - strategy.direction.all

2 572
if
strategy.risk.allow_entry_in(strategy.direction.all)
strategy.exit() and strategy.close_all() doesnt work
but if
strategy.risk.allow_entry_in(strategy.direction.long)
or
strategy.risk.allow_entry_in(strategy.direction.short)
it works

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。