Login Page - Create Account

Support Board


Date/Time: Fri, 04 Dec 2026 03:32:57 +0000



Post From: PoC evaluates differently on some bars

[2026-12-04 01:03:34]
User273277 - Posts: 148
Sierra Chart version 2989.

CHART SETUP
- Symbol: MESZ26-CME, Renko 3t, VAP multiplier 1.
- ID4 = Numbers Bars Calculated Values. SG42 = Point Of Control Value.
- A Study Subgraph As Text Above/Below Bar study shows ID4 SG42 under every bar (the price numbers under the bars in both screenshots). These numbers match the Numbers Bars POC highlight boxes.
- POCPOC-Short = a Simple Alert Condition study. Its text "POCPOC" marks the bars where its formula is true.
- Study order: ID4 is calculated before the POCPOC-Short study.

SCREENSHOT 1 (taken 19:42)
Formula in POCPOC-Short:
=AND(ID4.SG42*4<=ID4.SG42[-1]*4+1,ID4.SG42*4>=ID4.SG42[-1]*4-1)
This should mark a bar only when its SG42 is within 0.25 of the previous bar's SG42.
Shown are two bars that are marked although they should not be:
- Bar 2 SG42 shows 7403.25, previous bar shows 7402.50 (0.75 apart).

SCREENSHOT 2 same chart (taken 19:47)
Formula in POCPOC-Short:
=ID4.SG42=ID4.SG42[-1]
This should mark a bar only when its SG42 equals the previous bar's SG42.
Two consecutive bars both show SG42 = 7401.00, and both are marked:
- The second 7401.00 bar (previous bar also 7401.00): marked, correct.
- The first 7401.00 bar (previous bar shows 7400.50): marked, NOT correct.

RANGE TESTS (no screenshot)
On a bar whose displayed SG42 is 7419.25:
- =AND(ID4.SG42>7419.1,ID4.SG42<7419.4) does NOT mark the bar.
- =AND(ID4.SG42>7416.9,ID4.SG42<7417.1) DOES mark the bar. 7417.00 is the displayed SG42 of the next bar.

The same formula structure behaves as expected on an MNQZ26-CME Renko 24t chart with VAP multiplier 4.

QUESTIONS
1. Why does the Simple Alert formula read a different ID4.SG42 value than the one displayed for the same bar?
2. What is the correct way to compare a bar's POC with the previous bar's POC in an alert formula?

Thank you.
imageScreenshot from 2026-12-03 19-42.png / V - Attached On 2026-12-04 01:00:47 UTC - Size: 9 KB - 6 views
imageScreenshot from 2026-12-03 19-47-09.png / V - Attached On 2026-12-04 01:02:46 UTC - Size: 8.25 KB - 4 views