setIntervalsBackfill()

ICE Data Services -

setIntervalsBackfill()

Previous  Top  Next



setIntervalsBackfill( boolean)

New in EFS2
. Thisfunction is used in preMain() in conjunction with multiple time-framestudies.  When a custom time template is used and it has differentintervals set to load a different number of days (or bars) of data, the studyuses the number of days specified for the current chart interval.  Thisamount of data could cover more days than the external interval beingrequested.  The result may not plot the external interval-based indictorback to the beginning of the current chart's data.  Using this functionwill 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 thebeginning of the chart's data.  


Parameters

boolean
true= on; false = off; 



Usage

function preMain() {
   
setIntervalsBackfill(true);
}