Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 01:33:35 +0000



[Programming Help] - Issue with Alert based on Num Bars Calc Values

View Count: 309

[2023-06-11 02:04:11]
jivetrader - Posts: 410
I am seeing unusual behaviour from this formula and I would appreciate any help:

ID61 = Num Bars Calc Values
SG42 = prive value of the bar's POC (yes?)

Color Bar based on alert condition:
ID61.SG42=ID61.SG42[-1]

I believe this should highlight when a bar POC equals the previous bar's POC, but I am seeing erratic highlighting.

current bar POC = bar[-1] POC
is what I am trying to do, in case I have got it wrong. Thanks in advance.
[2023-06-11 14:10:55]
User431178 - Posts: 544
This might help:
Study/Chart Alerts And Scanning: The Effect of the Value Format on Identifier Values
or this
Study/Chart Alerts And Scanning: Use Full Precision When Evaluating Alert Formula
[2023-06-12 13:10:01]
John - SC Support - Posts: 36350
Refer to the following, as it contains the information for your issue:
Numbers Bars: Referencing Numbers Bars Calculated Values Subgraphs in Alert Formulas
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