Announcement

Collapse
No announcement yet.

Getting Day Session HLC

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting Day Session HLC

    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
    Scott Masters
    www.tic2tic.com
    [email protected]

  • #2
    Scott
    Probably the simplest solution is to use ES Z3=2 as the symbol.
    Alex

    Comment

    Working...
    X