Login Page - Create Account

Support Board


Date/Time: Fri, 04 Jul 2025 09:00:36 +0000



[User Discussion] - Study Alert - Alert Timing Delayed

View Count: 942

[2020-06-18 00:13:06]
User582996 - Posts: 7
Hi,

Is anyone able to assist in determining what may be the issue with the alerts I am using on the SC standard 310 Oscillator and a Renko Chart.

I am using the following formula's.

310 Line turning up - =AND(SG1[0] > SG1[-1], SG1[-1] <= SG1[-2])

310 Line turning down - =AND(SG1[0] < SG1[-1], SG1[-1] >= SG1[-2])

I have the alerts set to 'Evaluate on Bar Close'. Below is the alert message from the Alert Log, this is include din the attached images as 'Alert 3'.

The 'Bar start date-time of 06:59:59' is correct (start of next bar after close of upturn 310 line) however the alert does not get sent until the close of the following bar 7:01:11.

At times the alerts are sent 2 bars later or in the case of the attached 'Alert 1' this is sent at the correct time but the alert trigger time is 1 bar early which should not have be a correct alert.


Alert - Chart: EURNZD[M] Renko 60t #1 | Study: 3/10 Oscillator | Formula: =AND(SG1[0] > SG1[-1], SG1[-1] <= SG1[-2]) is TRUE. | Last Price: 1.74136 | Bar start date-time: 2020-06-18 06:59:59 | Alert: 310 Up

Can anyone point me in the right direction to resolve this alert timing issue?
imageAlert Manager Log.JPG / V - Attached On 2020-06-18 00:06:05 UTC - Size: 123.79 KB - 242 views
imageStudy Alert Settings.JPG / V - Attached On 2020-06-18 00:06:12 UTC - Size: 56.03 KB - 221 views
imageAlerts on Chart.JPG / V - Attached On 2020-06-18 00:12:42 UTC - Size: 152.25 KB - 235 views
[2020-06-18 05:16:40]
Sawtooth - Posts: 4231
I can think of two possible issues:

1) To accurately determine the 3/10 line's upturn and downturn, you'll need to convert this formula...:
Spreadsheet Example Formulas and Usage: Formula that Matches the Slope Coloring of a Study Subgraph Line
...to Simple Alert syntax, and use it in the Spreadsheet Formula study to return a 1 for upslope, and a -1 for a downslope.
Then your alert formulas would look for the transitions from -1 to 1 and 1 to -1.

2) Renko bars are funky, especially the current one. You'll need to use the Spreadsheet Formula (Bar) study to create corrected Renko bars that use the Renko open and close, but not in the current bar. Then base the 3/10 study on this study.

The details of each of these are too complex to deal with in a forum post. You can private message me for more info if you like.

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

Login

Login Page - Create Account