Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 18:18:49 +0000



Post From: programming simple alert

[2024-06-18 02:31:52]
Sawtooth - Posts: 4118
I want an alert on all my small time frame charts that goes off when the vwap and 9ema are =

Use a formula like this:
=ID1.SG1=ID4.SG1
where ID1 is the 9EMA and ID4 is the VWAP

However, it is unlikely that they would ever be exactly equal.
You could use this formula to get an alert if they are within 1 tick of each other:
=ABS(ID1.SG1-ID4.SG1)<TICKSIZE

Note: Some spreadsheet functions work in Alert syntax.
https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#ABS_Function

Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables