For example, 2/20/2003 SPH3 high was 849.30 for the day starting at 9:30 EST. High for the 24hr day was 851.80.
Using:
...
vSymbol = getSymbol();
vSymbol += ",D";
...
day0 = new Date(2003, 1, 21); //feb 21
day1 = getPreviousTradingDay(day0);
vIndex = getFirstBarIndexOfDay(day1, vSymbol);
vH = getValueAbsolute("High", vIndex, vSymbol);
vH value is 851.80 (NOT what I need).
What code do I need to get the regular day high (849.30)?
Thank you in advance.
Using:
...
vSymbol = getSymbol();
vSymbol += ",D";
...
day0 = new Date(2003, 1, 21); //feb 21
day1 = getPreviousTradingDay(day0);
vIndex = getFirstBarIndexOfDay(day1, vSymbol);
vH = getValueAbsolute("High", vIndex, vSymbol);
vH value is 851.80 (NOT what I need).
What code do I need to get the regular day high (849.30)?
Thank you in advance.
Comment