midpoint() |
Top Previous Next |
midpoint( numBars, series )
New in EFS2. This function will return the midpoint of a series within numBars number of bars. It is implemented as ( highest-val-found + lowest-val-found ) divided by 2.
Parameters
Usage
function main() { var myVar1;
//find the midpoint of the closes over the last 50 bars myVar1 = midpoint( 50, close() );
}
|