Announcement

Collapse
No announcement yet.

HSI N8 inv(D) issue

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

  • HSI N8 inv(D) issue

    Hi,

    This morning (7/21/2008 NYC time), I'm using 2-min chart on the symbol HSI N8-HKF, with ver10.1 and using exchange time. My time template is 6:30 to 16:00.

    I do a simple debugprintln of the open and close price, such as,




    debugPrintln(getMonth(0)+"/"+getDay(0)+"/"+getYear(0)+" "+getHour(0)+":"+getMinute(0)+" close0_D="+close(0, inv("d"))+" close1_D="+close(-1, inv("d"))+" close2_D="+close(-2, inv("d")) );
    debugPrintln(getMonth(0)+"/"+getDay(0)+"/"+getYear(0)+" "+getHour(0)+":"+getMinute(0)+" open0_D="+open(0, inv("d"))+" open1_D="+open(-1, inv("d"))+" open2_D="+open(-2, inv("d")) );
    The result comes out to be,

    open0_D=22444 open1_D=21888 open2_D=21800
    close0_D=22605 close1_D=21974 close2_D=21790

    I check the Daily chart and the above open and close values match.

    However, in the 2-min chart, I can't find any of these 'close' values.

    Can someone shed some light on this please? Thank you.

    W
Working...
X