hl2() |
Top Previous Next |
hl2( [, sym()] [, inv()] )
This is a macro that can be passed as input to any function that expects an eSignal series. hl2() creates a series based on (high+low)/2.
Parameters
Usage
function main() { var myVar;
... ...
//return the value of an ema based on //(high+low)/2 from 10 bars ago. myVar = ema( 20, hl2(), -10 );
}
|