* Corrected for slippage issue on strategy-based trailing stop: When the option to Attach Broker Trailing Stop is disabled, the strategy uses its own trailing stop indicator, however, the trailing stop wasn't being executed until the close of the bar. This update allows the strategy to be calculated on every tick to ensure the exit is taken intrabar. Additional changes were made to ensure entries were not taken intrabar to prevent repainting.
1. Entries are taken when the bar is confirmed.
2. Direction-based exits are taken when the bar is confirmed.
3. Trailing stop is taken immediately when triggered.