setIntervalsBackfill() |
Top Previous Next |
setIntervalsBackfill( boolean )
New in EFS2. This function is used in preMain() in conjunction with multiple time-frame studies. When a custom time template is used and it has different intervals set to load a different number of days (or bars) of data, the study uses the number of days specified for the current chart interval. This amount of data could cover more days than the external interval being requested. The result may not plot the external interval-based indictor back to the beginning of the current chart's data. Using this function will force the study to use the same number of days as the main chart interval, which will backfill the plot for external interval-based indicator to the beginning of the chart's data.
Parameters
Usage
function preMain() {
setIntervalsBackfill( true );
} |