Greetings,
The following code:
vH = getValueAbsolute("High", -3, "ES Z3,D");
vL = getValueAbsolute("Low", -3, "ES Z3,D");
returns an array of the last 3 daily Highs and Lows. The problem is, I only want DAY Session Highs and Lows, and do not want the evening Globex session included. The above calls return the Highs and Lows inclusive of the evening session. I cannot find any documentation that tells me how to limit the data to DAY Session only. This is the case even tho I run the study from charts that use a template that is defined for DAY Session only! So the chart shows DAY Session only data, but the above calls return highs and lows that include the globex evening session.
Any help would be greatly appreciated.
Tx,
Scott
The following code:
vH = getValueAbsolute("High", -3, "ES Z3,D");
vL = getValueAbsolute("Low", -3, "ES Z3,D");
returns an array of the last 3 daily Highs and Lows. The problem is, I only want DAY Session Highs and Lows, and do not want the evening Globex session included. The above calls return the Highs and Lows inclusive of the evening session. I cannot find any documentation that tells me how to limit the data to DAY Session only. This is the case even tho I run the study from charts that use a template that is defined for DAY Session only! So the chart shows DAY Session only data, but the above calls return highs and lows that include the globex evening session.
Any help would be greatly appreciated.
Tx,
Scott
Comment