Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 18:31:01 +0000



Volume at Price Threshold Alert V2 Price Overlay used in Alert Formula

View Count: 201

[2024-02-11 11:45:13]
User486817 - Posts: 83
Hello,

I have a main chart with the study/price overaly study on it. The study/price overaly references the Volume at Price Threshold Alert V2 from another chart. The SG I would like to reference in a formula is ID31.SG1 (Trigger 0). my question is, how can i reference Trigger 0 (SG1) from this price overaly study in an alert formula? i tried the following:

= AND(alert condition 1, alert condition n, ID31.SG1[-1]<>0) -- this approach did not work properly for some reason. i'm trying to filter the alert to whether or not trigger 0 is present anywhere in the previous bar or not. the output of trigger 0 if present seems to be price, so i put SG1<>0 in the formula -- if this approach is incorrect, please advise on how i can place this in my alert formula.

Kindest Regards,
[2024-02-12 17:35:35]
John - SC Support - Posts: 36261
If the Study/Price Overlay is setup properly, then what you are doing is correct.

Note that you do not need to put "<> 0" as just having the subgraph by itself evaluates it as a boolean, so any 0 value is false and non-zero values are true.
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