I've got an .efs formula that I'm trying to use on a chart with 1026 days on it.
I have this line in the formula:
debugPrintln( "For " + getSymbol() + ": 2YrLow is: " + lowest(512, low()) + ", 2YrHigh is: " + highest(512, high()) + " over " + getCurrentBarCount() + " days ");
It prints the following in the debug window:
For JPMRY120: 2YrLow is: null, 2YrHigh is: null over 600 days
How come the ELS code thinks I have only 600 days loaded when the chart is 1026 days?
I have this line in the formula:
debugPrintln( "For " + getSymbol() + ": 2YrLow is: " + lowest(512, low()) + ", 2YrHigh is: " + highest(512, high()) + " over " + getCurrentBarCount() + " days ");
It prints the following in the debug window:
For JPMRY120: 2YrLow is: null, 2YrHigh is: null over 600 days
How come the ELS code thinks I have only 600 days loaded when the chart is 1026 days?
Comment