reloadEFS()

ICE Data Services -

reloadEFS()
Previous  Top  Next

reloadEFS()

This function forces the current EFS script to be reloaded by the chart. Note that the values set in any variables external to the main() function will be preserved during the reload process. Use this function with caution as it can cause undesirable behavior.

Parameters

none
function takes no parameters


Usage
var bCompleteRefreshNeeded = false;

function main() {
   ...
   ...
   if ( getBarState() == BARSTATE_NEWBAR ) {
      if ( bCompleteRefreshNeeded == true ) {
         bCompleteRefreshNeeded = false;
         reloadEFS();
      }
   }
}