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