I'm wondering how I can change the efs 'Todays High', to look at the time frame from 5:00pm ET - 5:00pm ET?
It's programmed to look at 12-12am ET right now.
Thanks!
/************************************************** ****************************************
Copyright © eSignal, a division of Interactive Data Corporation. 2005. All rights reserved.
This sample eSignal Formula Script (EFS) may be modified and saved under a new filename;
however, eSignal is no longer responsible for the functionality once modified.
eSignal reserves the right to modify and overwrite this EFS file with each new release.
@version 3.0 by Alexis Montenegro for eSignal
************************************************** *****************************************/
function preMain() {
setPriceStudy(true);
setStudyTitle("Today's High (TH)");
setCursorLabelName("TH");
setDefaultBarStyle(PS_DASH);
setDefaultBarFgColor(Color.black);
setDefaultBarThickness(2);
setPlotType(PLOTTYPE_FLATLINES);
}
var bInit = false;
var xHigh = null;
function main() {
if(isMonthly() || isWeekly() || isDaily())
return;
if(bInit == false){
xHigh = high(inv("D"));
bInit = true;
}
var vHigh = getSeries(xHigh);
return (vHigh);
}
It's programmed to look at 12-12am ET right now.
Thanks!
/************************************************** ****************************************
Copyright © eSignal, a division of Interactive Data Corporation. 2005. All rights reserved.
This sample eSignal Formula Script (EFS) may be modified and saved under a new filename;
however, eSignal is no longer responsible for the functionality once modified.
eSignal reserves the right to modify and overwrite this EFS file with each new release.
@version 3.0 by Alexis Montenegro for eSignal
************************************************** *****************************************/
function preMain() {
setPriceStudy(true);
setStudyTitle("Today's High (TH)");
setCursorLabelName("TH");
setDefaultBarStyle(PS_DASH);
setDefaultBarFgColor(Color.black);
setDefaultBarThickness(2);
setPlotType(PLOTTYPE_FLATLINES);
}
var bInit = false;
var xHigh = null;
function main() {
if(isMonthly() || isWeekly() || isDaily())
return;
if(bInit == false){
xHigh = high(inv("D"));
bInit = true;
}
var vHigh = getSeries(xHigh);
return (vHigh);
}
Comment