Support Board
Date/Time: Wed, 05 Feb 2025 14:06:02 +0000
[Programming Help] - No Trades generated when using 'Bar Based Back Testing'
View Count: 671
[2020-03-11 09:21:38] |
HAB-User115006 - Posts: 38 |
I have a ACSIL automated system that works correctly in LIVE, SIM, and Replay modes - trades are generated But when using 'Bar Based Back Testing' NO trades are generated, I see the bars flash by, this is the 1st time I am using 'Bar based back testing' and I am struggling with why this is not working and I am wondering what I am missing in terms of setting etc. I will save a lot of time and the back test will also be accurate using the Bar based approach because all my trades are executed at the close of bars. Any leads/input is very appreciated, Thanks |
[2020-03-11 12:46:54] |
Sawtooth - Posts: 4167 |
You must disconnect the data feed when using the Bar Based Back Test. Auto Trade System Back Testing: Bar Based Back Testing Date Time Of Last Edit: 2020-03-11 13:14:10
|
[2020-03-11 23:54:21] |
HAB-User115006 - Posts: 38 |
Tomgilb, I had already disconnected and followed the instructions, as I stated I see the bars flash by but no trades (if one is not disconnected one cannot see the bars flashing by) Thanks |
[2020-03-15 21:09:22] |
HAB-User115006 - Posts: 38 |
I found the problem in case otheres are having a similar problem, it was in my Time code: I was using sc.GetCurrentDateTime().GetTime();, it works in Replay and Live but not in Bar based back testing Changed the Time code to - int Time = SCDateTimeMS(sc.GetEndingDateTimeForBarIndex(sc.Index)).GetTime(); We are good now... |
To post a message in this thread, you need to log in with your Sierra Chart account: