Login Page - Create Account

Support Board


Date/Time: Tue, 24 Nov 2026 18:27:57 +0000



Volume based candle alert evaluation

View Count: 435

[2026-10-08 12:40:26]
User201944 - Posts: 7
I am using a chart and volume candles along with some indicators to generate a simple crossover trading strategy. This seems to work ok using the color bar based on alert study. However, when using this same alert in the spreadsheet trading study some odd things have occurred as described below:

Subject: Spreadsheet System for Trading — SellEntry firing despite formula/chart data showing conditions not met

My Spreadsheet System for Trading study fired a SellEntry at bar start date-time 2026-10-07 09:23:24.738 (confirmed via Trade Service Log: "Auto-trade: GCZ6.COMEX[M] 150 Volume #9 | DefaultSpreadsheetSystemForTradingStudy | SellEntry | Formula: Sell Entry at Row 3 is true.").

My K3 (Buy Entry) / M3 (Sell Entry) formulas require a price/50 SMA crossunder combined with a Bid/Ask Volume Difference subgraph reading ≤ -25 (for Sell) or ≥ 25 (for Buy). At that bar's final closed values: E (Close) = 4125.2, AA (50 SMA) = 4123.14, AF (Difference) = -18. Price is above the SMA (not a sell crossunder), and AF does not clear the -25 threshold. So the formula's conditions do not appear to have been met at the bar's close.

My spreadsheet study has "Evaluate/Signal only at bar close" enabled.

Additionally, this same study plots a Buy/Sell arrow on the chart when K3/M3 evaluate true. No arrow was plotted on this bar, and when I checked K3/M3 afterward, both showed 0/FALSE. So the study's own order-submission logic and its own on-chart signal/arrow display appear to disagree with each other for the same bar.

Question: Why would the Sell Entry formula have triggered an actual order submission if the final closed bar values don't satisfy the formula's conditions, and the study's own arrow/marker never appeared? Could this be a recalculation-order or intrabar-caching issue specific to volume-based (non-time-based) bars?

This is not an isolated incident — a similar unexpected entry occurred on a different bar the day before, with the same pattern: order placed, formula conditions not met at close, no arrow plotted.
[2026-10-08 14:54:09]
John - SC Support - Posts: 48643
"Evaluate/Signal only at bar close" means that the system is really looking at the value in row 4 and not row 3. So you need to look at the values in that row in this situation to see what is actually occurring at the bar close.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2026-10-08 18:35:46]
User201944 - Posts: 7
Thanks John,
One follow up: : when you want to manually verify "did bar X correctly trigger," should you be looking at row (bar X's row) + 1 consistently, or does this only apply in certain evaluation modes?
[2026-10-08 18:50:29]
John - SC Support - Posts: 48643
The need to look at Row 4 only applies when you have the option for "Evaluate At Bar Close" set to "Yes". A bar is not considered closed until the next bar starts. The new bar will be in row 3, and the bar that just closed will be in row 4.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2026-10-08 19:57:20]
User201944 - Posts: 7
Thanks again John,

Subject: Trade Activity Log / Trade Orders / Positions windows not displaying known trade history

Separately from the formula issue in my other thread (now resolved — thank you for the clarification on bar close row offset and CROSSFROMBELOW range syntax), I’m running into a visibility problem with the Trade Activity Log, Trade Orders Window, and Positions Window.

These windows are not showing trade history or open positions that I know exist — confirmed via directly observed fills earlier this week, and via the Trade Service Log showing a successful query result of 419 entries, BeginDateTimeUTC: 2024-09-05. Despite that, the Trade Activity Log currently shows its last entry from 2026-09-21, and both the Trade Orders Window and Positions Window are showing completely blank, even though I have known activity from yesterday (2026-10-07) and today.

I performed a full restart of Sierra Chart (not just reopening the windows), and the issue persisted identically after reconnecting.

Setup details:

Connected to Bulenox via Rithmic (evaluation/paper trading account)
Trade Simulation Mode On is enabled
Symbol: GCZ6.COMEX[M], Chart #9, 150 Volume bars

Is this a known issue with the Rithmic evaluation/paper account setup, a data query/filtering issue, or something else I should check in settings? I’d like to confirm I can reliably see trade history and current positions before relying on this for further backtesting or live monitoring.
[2026-10-08 20:19:56]
User201944 - Posts: 7
John,
Follow-up to your bar-close clarification: on 2026-10-08, bar start 14:44:13, price dipped down to the 50 SMA intrabar and then closed back above it (confirmed via a crossover-up condition, O=1, true at bar+1 row). However, the Spreadsheet System for Trading fired a SellEntry at bar start 14:44:13 (log: ‘Formula: Sell Entry at Row 3 is true’), the opposite direction of the bar’s actual resolved close. This happened on a freshly-switched symbol (GCZ26_FUT_CME) after reconnecting to a different trading account — could the symbol switch have caused the sheet to evaluate against stale/mismatched data, or is this a genuine intrabar-vs-close evaluation discrepancy?
[2026-10-08 20:47:25]
John - SC Support - Posts: 48643
The Orders and Positions windows are only going to show actually working orders and open positions. They will show non-working orders and a closed position briefly after they have cancelled/closed, but it is only for a short time.

The Trade Positions window does not display any information for trades done in Simulation Mode - only for live trading.

With regards to the Trade Activity Log, make sure you have the "Display Settings" set to include everything that you want. There are a number of filters that can be applied, make sure these are set properly to get what you want. Refer to the following:
Trade Activity Log: Common Instructions to Set Trade Activity Log Display Settings

With regards to your Spreadsheet System for Trading, you are saying that you got a trade opened before a bar closed? If so, then double check your setting for "Evaluate on Bar Close" and make sure this is set properly.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2026-10-09 14:05:22]
User201944 - Posts: 7
Hi John,

Related to my trade activity log debugging:

Subject: First Entry in Chart Replay opens with zero attached orders, blocking all subsequent signals

I’ve identified a consistent issue when running Chart Replay with my Spreadsheet System for Trading study. The very first Buy/Sell Entry signal processed immediately after starting a Replay opens a position with zero attached orders.

Example from Trade Service Log:

Bar start date-time: 2026-09-09 22:07:17.103 | SellEntry signal ... Position: -2. Position with all working orders: 0

Every subsequent entry throughout the same Replay run correctly receives attached Target/Stop orders — confirmed via “AOE=true | AOU=true. Attached Order” in the log, and “Position with all working orders” matching the position quantity (e.g., “-2. Position with all working orders: -2”).

Because the very first position has no attached orders, it never closes via its intended exit. It then blocks every subsequent same-direction signal (“Multiple Entries in Same Direction is not enabled”) for the remainder of the Replay, and eventually gets reversed only when an opposite-direction signal fires (via ‘Allow opposite entry with opposing position’ being enabled) — at which point the new reversed position correctly does receive attached orders. This makes it impossible to generate a complete, trade-by-trade backtest, since the entire run is effectively consumed by one unmanaged initial position.

This happens consistently across multiple Replay runs (confirmed clearing trade data and flattening positions between attempts, with “Signal Only On Bar Close” properly enabled for columns K, M, L, N-Z).

Question: Is this a known limitation of how the first bar is processed when a Replay begins, and is there a setting to ensure attached orders are applied to the very first entry the same way they are for all subsequent ones?
[2026-10-09 14:49:33]
John - SC Support - Posts: 48643
Question: Is this a known limitation of how the first bar is processed when a Replay begins, and is there a setting to ensure attached orders are applied to the very first entry the same way they are for all subsequent ones?

There is no specific limitation on how the trades are handled in a replay. There has to be some reason for this to be occurring, but we do not know what it might be offhand.

After you start the replay and you have that first trade open without the attached orders, then check your "Trade >> Trade Service Log" to see if there is any information in there on why the attached orders were not "sent".

Are you setting your Target and Stop within the Spreadsheet ("Attached Order Target Offset" and "Attached Order Stop Offset" have values in them) or through your Trade Window.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2026-10-10 00:00:42]
Sawtooth - Posts: 4362
First Entry in Chart Replay opens with zero attached orders, blocking all subsequent signals
IMO, best practice is to always have 'Start Paused' checked on the Replay Chart window.
Also, always start a Replay from the initial scroll back, not from any subsequent scroll backs.

What you are experiencing can happen when replaying multiple charts.
With 'Start Paused' checked, it gives time for all charts to load their data.
Then click Play when all data are loaded.
[2026-10-12 13:30:24]
User201944 - Posts: 7
John, Sawtooth,

Thanks for your responses.

Why does replaying the same historical date with 150-volume bars produce different trade timestamps and P&L each time, even after clearing Sim trade data? Am I missing a setting somewhere?
[2026-10-12 16:01:31]
John - SC Support - Posts: 48643
If everything is the same, then you should get the same results. But everything must be the same. So if you are replaying multiple charts, then you need to ensure that all the charts are loaded prior to starting the replay. Otherwise, things will be different between the replays.

Different replay options could (most likely will) give different results.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account