Support Board
Date/Time: Thu, 06 Mar 2025 22:00:54 +0000
Post From: Trade Activity Log Delay
[2022-02-03 20:21:24] |
User39772 - Posts: 311 |
In my Trading system I use sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED for both buy and exit conditions. When I remove it e.g. for the exit condition the Trade Activity Log shows trades without BP/EP remarks, e.g. trades are not closed properly. Additionally strange things happen with statistic and other rows, e.g. the Max. Open Quantity increases. What exactly is the effect of sc.GetBarHasClosedStatus() == BHCS_BAR_HAS_CLOSED regarding entry and exit ? My understandig is, that the close prices are taken as entry and exit price and no prices in between. But isn't that generally the effect of using Auto Trade Bar Based Backtest, even without this condition ? Why does the behaviour change if I remove this condition ? |