Login Page - Create Account

Support Board


Date/Time: Sun, 08 Sep 2024 00:10:43 +0000



Color bar based on alert condition

View Count: 140

[2024-07-25 14:47:17]
User14953 - Posts: 229
Discrepancies arise when the 'Open' and 'Last' price data are shown as the same for engulfing short alerts color bar study. "=...C[-1]<=O,..."
How to resolve?
imagesc eng alert discrepancy.jpg / V - Attached On 2024-07-25 14:45:33 UTC - Size: 53.01 KB - 37 views
[2024-07-25 15:35:47]
John - SC Support - Posts: 34254
You have not given us enough information to know how to answer this in any definitive way. The only thing we can tell you is that you need to account for this situation in your alert condition.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-07-25 23:44:36]
User14953 - Posts: 229
Image shows two sets of highlighted bars.
Formula segment shows essentials for shorting conditions for triggering an alert that are based on the second bar's body overlapping or equalling the first bar's body, accounting for this situation in the alert condition.

Tan squares mark specific price levels.
These levels appear to match and overlap correctly at the opposite ends of the two-candlestick short formations.

Both sets of bars seem to satisfy the criteria for triggering a short alert.
Despite meeting the criteria, only one example of this scenario has been flagged.

Investigating what could cause such a discrepancy between expected and actual alerts.
Date Time Of Last Edit: 2024-07-25 23:49:15
[2024-07-26 16:57:47]
John - SC Support - Posts: 34254
The most likely answer is that there is something not quite right with your formula.

But, this could also be a floating point rounding issue. Refer to the following, although this section is for Spreadsheets, the general information on Floating Point inaccuracies is still valid:
Using the Spreadsheet Study: Imprecision of Floating-Point Numbers and Comparisons
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