I have the following problem:
It works correctly but eSignal by default loads very small range of minute interval quotes. If I scroll back minute graph manually, eSignal loads it into memory and my code works correctly on 5 minute interval. But it's not usable.
1) How can I load more data by default into eSignal?
2) Will it work correctly on backtesting?
PHP Code:
function main() {
if (prevMinuteCandleRev()) setBarBgColor(Color.green);
}
function prevMinuteCandleRev() {
if (open(-1) < close(-1)) return open(-1, inv(1)) > close(-1, inv(1));
return open(-1, inv(1)) < close(-1, inv(1));
}
1) How can I load more data by default into eSignal?
2) Will it work correctly on backtesting?
Comment