Support Board
Date/Time: Tue, 04 Nov 2025 08:19:46 +0000
Post From: bar backtest: is there a way to adjust the line-delay/time-to-order-in-force delay?
|   [2019-03-30 21:07:31]     |  
| uM8137 - Posts: 183 | 
| 
                Ah hah!  Adding this code snippet to insist on only processing finished bars if(sc.GetBarHasClosedStatus(sc.Index) != BHCS_BAR_HAS_CLOSED) { return; } early in the study, so we leave the function before any orders are placed if the bar is not "closed" yet, substantially addresses the wrong price problem.  | 
        
