Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 07:57:37 +0000



alerts with comments

View Count: 807

[2019-01-02 22:20:04]
Bedhog - Posts: 167
Hello Team,

I write custom alerts like the following but sometimes I forget how the fields are used. Yes, they can be written np++ somewhere else, but right inside the alert condition box would be the best.

Since alerts begin with the equal sign... is it possible to create comments with REM or the apostrophe ' in the alert condition box like this?

=and(ID11.SG13>ID11.SG23,id15.sg2>id15.sg3,id19.sg2>id19.sg3)
REM 'thing 11 cross up, thing15 cross up, thing19 cross down

Thank you for all your hard work.
[2019-02-06 15:33:55]
Bedhog - Posts: 167
Hello Team,

Is there a verdict?

Can we add a comment marker to allow remarks in the Alert Condition box ?

BEFORE:

=and(
id1.sg1[-7]>id1.sg2[-7],
or(id6.sg1>5,id6.sg1<-5),
crossfrombelow(id1.sg1,id1.sg2),
id9.sg1,
id10.sg1>id10.sg2
)


AFTER:
=and(

'compare that id1 thing 7 bars back
id1.sg1[-7]>id1.sg2[-7],

'that id6 study has to be within spec
or(id6.sg1>5,id6.sg1<-5),

'when those red and green lines cross
crossfrombelow(id1.sg1,id1.sg2),

'when that directional flag has been set
id9.sg1

'this id10 setting is going sideways
'add it back later
'id10.sg1>id10.sg2
)
Date Time Of Last Edit: 2019-02-06 16:56:48
[2019-02-06 17:38:05]
Sierra Chart Engineering - Posts: 104368
This is not going to be supported.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-05-23 20:44:22]
Matt NL - Posts: 91
Can I also upvote this please?
My alert code is starting to become impossible to read.

=AND( ID10.SG5>0, WEEKDAY(BARDATE)<>0,
BV>AV*1, ID13.SG1<=ID13.SG1[-1], ID12.SG1>=-50,
,ID8.SG2>=50
ID36.SG1 < ID36.SG2, OR(ID1.SG1>ID1.SG1[-1], ID1.SG1>25) ,
OR(BARTIME<= TIME(8, 00, 0), BARTIME >= TIME(8, 00, 00)),
AND(ID43.SG1<ID43.SG1[-1], ID20.SG1<ID20.SG1[-1], ID38.SG1<=ID38.SG1[-1] )
)

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

Login

Login Page - Create Account