Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 05:05:44 +0000



[User Discussion] - HULL-ALERTS

View Count: 1779

[2014-09-10 13:51:41]
User28317 - Posts: 147
I USE THE HULL BASED ON SLOPE. I LIKE TO BUY WHEN THE COLOR OF THE SLOPE CHANGES 5 TIMES WITH CONTINUOUS LOWER HIGHS AND LOWS ON THE DOWN SLOPE AND THE OPPOSITE ON THE UP SLOPE.

IS THERE ANY WAY TO COUNT THRUSTS DOWN OR UP USING THE HULL SLOPE? EVEN 2 THRUSTS DOWN WOULD BE OKAY, OR 4 CHANGES IN SLOPE COLOR.
[2014-09-10 15:20:50]
Sawtooth - Posts: 3992
You can identify a previous bar using [-1], or two bars ago using [-2], etc, so 5 previous continuous upslopes would be identified like this:

=AND(SG1>SG1[-1],SG1[-1]>SG1[-2],SG1[-2]>SG1[-3],SG1[-3]>SG1[-4],SG1[-4]>SG1[-5])

[2014-09-10 16:07:36]
User28317 - Posts: 147
THAT SEEMS TO MEAN THAT THE VALUE CHANGES, NOT THE SLOPE. WHAT DOES SG1 MEAN, SUBGRAPH. IF I HAVE 4 STUDIES, THAN HOW DOES THE ALERT IDENTIFY THE HULL SLOPE?
[2014-09-10 16:19:10]
Sawtooth - Posts: 3992
I'm just giving an example of how to find 5 consecutive upslopes with a formula. It does not identify a specific study unless you also include an ID#:
=AND(ID1.SG1>ID1.SG1[-1],ID1.SG1[-1]>ID1.SG1[-2],ID1.SG1[-2]>ID1.SG1[-3],ID1.SG1[-3]>ID1.SG1[-4],ID1.SG1[-4]>ID1.SG1[-5])
But you don't need the ID# if the formula is on the Alerts tab of the same study.

SG = subgraph.

Here's the documentation for Simple Alerts:
http://www.sierrachart.com/index.php?page=doc/doc_AlertCondAndScan.html


[2014-09-16 09:55:59]
User28317 - Posts: 147
I SET UP THE ALERTS BASED ON THE REPLY, HOWEVER, IT IS NOT WORKING AS EXPECTED.

FIRST THE ALERT SEEMS TO BE BASED ON THE VALUE OF THE HULL IN PERIODS VERSUS SLOPE CHANGE. I FIGURED THAT THE SLOPE CHANGE FROM NEGATIVE TO POSITIVE OVER THE PERIOD (16 HULL) WOULD HAVE A TRIGGER BASED ON MATH. THE SIGNAL IS GIVING ME 3 SLOPES DOWN (AS HOPED) WHEN THERE IS NO CHANGE IN SLOPE COLOR. I AM TRYING TO GENERATE A SIGNAL BASED ON SLOPE CHANGE OF COLOR AS GENERATED BY THE STUDY.

I WILL GET AN ALERT OF 3 THRUST DOWN EVEN THOUGH THE HULL LINE NEVER HAD A CHANGE IN SLOPE(COLOR) OR ANY MOVE UP IN THE MOVING AVERAGE.
[2014-09-16 11:59:28]
Sawtooth - Posts: 3992
Add the Color Bar Based On Alert Condition study, and put the formula on its Alerts tab. This will give a visual of when the alerts will fire. It seems to follow the slope color exactly. See pic.

BTW, all caps on a forum means you're yelling.
Date Time Of Last Edit: 2014-09-16 12:02:19
imagehull slope alert.PNG / V - Attached On 2014-09-16 11:58:11 UTC - Size: 58.13 KB - 444 views
[2019-11-14 04:20:57]
madness99 - Posts: 35
Hi Tom,

I try using your alert formula but I don't see lines on my chart like yours.

I have attach couple screenshots.

Thanks
Jerome
imagePicture1.jpg / V - Attached On 2019-11-14 04:20:36 UTC - Size: 135.7 KB - 341 views
imagepicture2.jpg / V - Attached On 2019-11-14 04:20:42 UTC - Size: 74.38 KB - 324 views
Attachment Deleted.
[2019-11-14 04:38:26]
Sawtooth - Posts: 3992
The line you see on my chart is the Hull MA, colored for slope.

The colored price bars you see show where the formula is TRUE.

What 'lines' are you expecting to see?
[2019-11-14 11:28:11]
madness99 - Posts: 35
Hi Tom,

I see the hull lines but I don't see the color changing on my hull line. Am I doing something wrong?

Thanks
Jerome
Date Time Of Last Edit: 2019-11-14 11:59:48
image2019-11-14_6-27-25.jpg / V - Attached On 2019-11-14 11:27:48 UTC - Size: 115.57 KB - 324 views
[2019-11-14 13:54:39]
Sawtooth - Posts: 3992
I don't see the color changing on my hull line
Go to the Hull MA study settings, Subgraphs tab, and set the 'Auto-Coloring' to 'Based on Slope'.
[2019-11-14 14:46:49]
madness99 - Posts: 35
Thanks Tom!!!

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

Login

Login Page - Create Account