Login Page - Create Account

Support Board


Date/Time: Fri, 09 May 2025 17:36:02 +0000



Problems creating session high/low of MACD

View Count: 1355

[2016-08-16 01:48:38]
User947126 - Posts: 14
Hello,

I need to capture the day session high/low of MACD (the "SG1" value) to use in an alert I'm creating, and nothing I've tried works. I'm using the "High/Low for Time Period" indicator to get my session high/low. I've tried:

1. Just putting MACD in the "Based On" field of the "High/Low for Time Period" indicator. This almost works, but it calculates the high/low of the ".SG2" subgraph of MACD, which is the MA of MACD, when I want the ".SG1" value, just MACD itself.

2. Setting the .SG2 subgraph of MACD to a value of 1, which makes it the same value as the .SG1 subgraph. I've tried it with both simple and exponential moving averages. When I do this the "High" value shows up correctly but the "Low" value is always zero.

3. Doing my own version of MACD by creating two exponential moving averages and then creating a "Study Subgraphs Difference" indicator on the two moving averages. This looks just like, and has the same values as the .SG1 subgraph of MACD. I then create a "High/Low for Time Period" indicator for this "Study Subgraphs Difference" indicator, but it doesn't work--the high and low values are always zero.

So, I'm stuck. Any ideas?
[2016-08-16 19:35:13]
Sierra Chart Engineering - Posts: 104368
This will be supported in the next release with new Input Data inputs added to the High/Low for Time Period study.

Here is an example:
http://www.sierrachart.com/image.php?Image=1471376083481.png
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
[2016-08-16 19:44:55]
mkata - Posts: 103
User947126,
You could also use Study Subgraph Daily High Low.

http://www.sierrachart.com/index.php?page=doc/TechnicalStudiesReference.html#s371
[2016-08-17 04:48:33]
User947126 - Posts: 14
Great, thank you.

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

Login

Login Page - Create Account