Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 09:27:46 +0000



[Programming Help] - Renko alert on trend change

View Count: 1726

[2016-07-05 09:50:52]
User457299 - Posts: 38
Is it possible to have an alert whenever Renko chart change colour or trend?

I have tried the following formula =OR(ID0.SG21>ID0.SG22,ID0.SG21<ID0.SG22) but to no avail. Can anyone help on that?

Thanks.
[2016-07-05 12:04:00]
Sawtooth - Posts: 3982
Try this:

=OR(AND(ID0.SG22[-1]>ID0.SG23[-1],ID0.SG22<ID0.SG23),AND(ID0.SG22[-1]<ID0.SG23[-1],ID0.SG22>ID0.SG23))

Here's the documentation:
http://www.sierrachart.com/index.php?page=doc/doc_StudyChartAlertsAndScanning.php#BaseGraphIdentifiers
[2016-07-05 13:00:53]
User457299 - Posts: 38
I have tried but don't work. I even add colour bar based on alert but shows nothing.

I have check the documentation you sent me, it should be able to have an alert. Is there other formula for the Renko alert.
[2016-07-05 14:02:29]
Sawtooth - Posts: 3982
The formula works on the Renko bar period type in Chart Settings. This is the recommended method for Renko.
Are you using the Renko Chart study instead?
[2016-07-05 14:08:47]
User457299 - Posts: 38
Yes. I am using Renko chart.

http://www.sierrachart.com/image.php?Image=1467727631572.png
[2016-07-05 14:38:42]
Sawtooth - Posts: 3982
Try this:

=OR(AND(ID3.SG1[-1]>ID3.SG4[-1],ID3.SG1<ID3.SG4),AND(ID3.SG1[-1]<ID3.SG4[-1],ID3.SG1>ID3.SG4))

where ID3 is the Renko Chart study. Edit as needed for your situation.

The same documentation applies:
http://www.sierrachart.com/index.php?page=doc/doc_StudyChartAlertsAndScanning.php
[2016-07-05 15:03:23]
User457299 - Posts: 38
Thanks a lot. I finally got it.

Really appreciated that. Thanks again.

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

Login

Login Page - Create Account