BUG - strategy.direction.all by RicardoSantos
By RicardoSantos
Performance Metrics
- Author: RicardoSantos
- Symbol: FX:EURUSD
- Timeframe: 30 minutes
- Net P&L: 0 USD (0.00%)
- Win Rate: 0.0%
- Max Drawdown: 0 USD
- Total Trades: 109
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