|
Description |
Fill gaps. gapfill() closes any gaps in a data series using a value based on an expression you provide. (If the GAPFILL() function is not used, gaps are filled using the preceding non-gap value.) |
|
|
Syntax |
|
|
|
Parameters |
SERIES Use the SERIES parameter when you are referencing a study value. In chart windows, values are displayed in decimals. In quote windows, values are displayed in the units of the underlying instrument.
INPUT Use the INPUT parameter when you are referencing an overlay value.
fill Specifies a value for use in replacing data gaps. If the fill value is not specified, the value of the preceding non-gap bar is used to fill the gap. |
|
|
Return Value |
NA |
|
|
Examples |
NA |
|
|
Comments |
In chart windows, values are displayed in decimals. In quote windows, values are displayed in the units of the underlying instrument. |