Login Page - Create Account

Support Board


Date/Time: Fri, 09 Jan 2026 14:51:24 +0000



Post From: Bar Based Backtest blocked (-8998) despite correct AutoTrade settings (ACSIL)

[2026-01-08 07:30:15]
User105070 - Posts: 3
Hi John — understood.

Below is the complete message context related to the error during:

Trade → AutoTrade System Bar Based Backtest

Platform / Build:
• Sierra Chart 2855 (Simulation Mode)
• Symbol: QQQ[M]
• Chart: 1 Minute Intraday
• Study: MIN - SMA Cross Test (Bar Backtest)

Backtest Method:
Trade → AutoTrade System Bar Based Backtest

State / Settings at time of test (all confirmed):
• Trade Simulation Mode = ON
• Auto Trading Enabled – Global = ON
• Auto Trading Enabled – Chart = ON
• Chart Trade Mode = ON
• Trading Locked = OFF
• Platform disconnected (File → Disconnect)

Exact Message Log output:

TRADING BLOCKED (-8998): Enable Chart Trade Mode + Auto Trading (Chart/Global) and run Bar Based Backtest

Bar Backtest: QQQ[M] 1 Min #1
Back test processing: NumberOfTimesCalculateCalled (Cumulative) = 0

Additional observations:
• Study calculations execute normally during live/sim chart replay
• Orders are submitted via sc.BuyEntry / sc.SellExit
• Trades tab remains empty
• Trade Statistics show zero values
• Same behavior occurs with a minimal ACSIL SMA crossover test study

Additional diagnostics:
• Trade Activity Log / Spreadsheet shows no end-of-test data
• Trade Activity Log remains active with no finalization entry
• No bar-based execution summary is written to the log
• Indicates the Bar Based Backtest engine is not entering or completing execution phase


If needed, I can attach:
• Full Message Log export
• The minimal ACSIL test study source code
• Screenshots showing all settings enabled