getValueXXX returns wrong values of "$TICK,D". For example, it always returns the current close value of "$TICK,D" instead of the high and low value I request.
You can test it with following example:
var high = getValueAbsolute("High", 0, -1, "$TICK,D"); debugPrintln(high[0]);
var low = getValueAbsolute("Low", 0, -1, "$TICK,D"); debugPrintln(low[0]);
It is very likely they reutrn wrong values for other market statistics.
You can test it with following example:
var high = getValueAbsolute("High", 0, -1, "$TICK,D"); debugPrintln(high[0]);
var low = getValueAbsolute("Low", 0, -1, "$TICK,D"); debugPrintln(low[0]);
It is very likely they reutrn wrong values for other market statistics.
Comment