Support Board
Date/Time: Mon, 10 Mar 2025 10:28:00 +0000
Post From: Backtesting with sc.AllowOnlyOneTradePerBar = TRUE
[2022-03-19 11:46:43] |
1+1=10 - Posts: 270 |
Hi User, I’m a fellow customer that writes a lot of ACSIL. I wanted to exclude the last bar in the first place because if I didn't and the last bar happens to meet the criteria then when running "Bar Based Back Testing", the study will be calculated for the last bar first to some extent like 2-3 orders then it will be calculated for the other bars in the past which the order is not correct.
Could you restate this section to be a bit clearer? Alternatively, would you be willing to paste your code (using the Code button to make it easier to read)? Date Time Of Last Edit: 2022-03-19 11:46:54
|