Support Board
Date/Time: Sun, 11 May 2025 00:24:00 +0000
Post From: Problems creating session high/low of MACD
[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? |