The high and low lines need to be refreshed all day to get the new hi lows. I would think they should automatically change with each bar. Here is my EFS on it. Could you check why no updates or change to newest low or high.
function preMain() {
setPriceStudy(true);
setStudyTitle("Today's High (TH)");
setCursorLabelName("TH");
/*
* Set the properties of the default bar. These will be the
* properties of any bar for which style, color, thickness is
* not specificed.
*/
setDefaultBarStyle(PS_DASH);
setDefaultBarFgColor(Color.aqua);
setDefaultBarThickness(3);
setPlotType(PLOTTYPE_FLATLINES);
}
/*
* This is a neat formula because it is working on multiple intervals
*/
function main() {
return call("getTodayOHLC.efs", "High");
Thanks Alex.
}
function preMain() {
setPriceStudy(true);
setStudyTitle("Today's High (TH)");
setCursorLabelName("TH");
/*
* Set the properties of the default bar. These will be the
* properties of any bar for which style, color, thickness is
* not specificed.
*/
setDefaultBarStyle(PS_DASH);
setDefaultBarFgColor(Color.aqua);
setDefaultBarThickness(3);
setPlotType(PLOTTYPE_FLATLINES);
}
/*
* This is a neat formula because it is working on multiple intervals
*/
function main() {
return call("getTodayOHLC.efs", "High");
Thanks Alex.
}
Comment