Support Board
Date/Time: Sun, 19 Jan 2025 08:59:25 +0000
Post From: Order Execution
[2018-03-27 19:46:14] |
User39772 - Posts: 311 |
Hello Support, currently I use: if (sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_NOT_CLOSED) return; in my system. But: If e.g. e stop condition is met this causes the stop order to execute at the close of the last candle which can ce way to far away from my exit condition. If I do not use this condition I see strange results in the Trade Log. For Backtest I use Auto Trade Bar Based Backtest. What can I do to exit at a price that is close to the price of my exit condition ? |