|
Navigation: Function Reference > User Script Functions > Symbol.hl2() Symbol.hl2() |
Top Previous Next |
Symbol.hl2( offset: Integer ) : Double;
Symbol.hl2 : TEStream;
If called with an offset, returns the midpoint (high+low)/2 price value (as a double) as of that offset. If called with no offset then returns the midpoint price stream for the driving symbol.
Parameters
offset |
integer value (0 or negative offset into stream) |
myPrice := Symbol.hl2(-10);
myStream := Symbol.hl2;