Using a 1 minute chart of any symbol, I have been using the EFS library routine of "Todays Low.efs" to plot a line across the chart for the absolute lowest low of each day. My problem is that the low is sometimes set by data errors or other extreme prices. It would be much more stable if the line plot was for the lowest intraday close of 1 minute (or other interval) bars. The efs file shows the following code to identify the absolute low:
if(bInit == false){
xLow = low(inv("D"));
bInit = true;
}
var vLow = getSeries(xLow);
return (vLow);
How would this need to be modified so that "vLow" becomes a plot of the lowest intraday close for a 1 minute interval? Although I think such a modification should be fairly straightforward, I've tried a number of variations and can't quite get it right. Any help appreciated, thanks.
if(bInit == false){
xLow = low(inv("D"));
bInit = true;
}
var vLow = getSeries(xLow);
return (vLow);
How would this need to be modified so that "vLow" becomes a plot of the lowest intraday close for a 1 minute interval? Although I think such a modification should be fairly straightforward, I've tried a number of variations and can't quite get it right. Any help appreciated, thanks.
Comment