Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 20:38:12 +0000



[User Discussion] - Charlie

View Count: 1078

[2014-01-02 19:42:23]
User77918 - Posts: 3
Hi, I would appreciate your help with the code to write in the condition box to obtain sound alerts for "buy" and "sell" subgraphs under "Bill Williams Fractals" study setting. Thanks very much!
[2014-01-02 21:24:19]
Sawtooth - Posts: 3976
This seems to work. Notice that the indicator waits 2 bars to back-print the triangle.

=OR(SG1[-3]>0,SG2[-3]>0)


[2014-01-02 21:56:40]
User77918 - Posts: 3
Thanks; I haven't worked much with this particular study, so please indulge another question....

When you write "...the indicator waits 2 bars to back-print the triangle," I think you mean there is a two-bar delay before the triangle red/green signals appear on the charts, and so the sound alerts will have that same two-bar lag? Please confirm my interpretation. Thanks again!
[2014-01-02 23:12:56]
Sawtooth - Posts: 3976
Yes, that is what I mean. Hence the [-3] in the formula. (It actually waits until the open of the 3rd bar.)

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

Login

Login Page - Create Account