BUG - strategy.direction.all by RicardoSantos

By RicardoSantos

Performance Metrics

Description

ifstrategy.risk.allow_entry_in(strategy.direction.all)strategy.exit() and strategy.close_all() doesnt workbut if strategy.risk.allow_entry_in(strategy.direction.long)orstrategy.risk.allow_entry_in(strategy.direction.short)it works

Browse all 5,900+ TradingView Pine Script strategies

View on TradingView