Hi, I have been just trying to run this piece of code on a 5 minute chart of several stocks and my eSignal will always freeze on its execution. I have been using a time template of 30 days with no specified start and end time, this template has worked for other studies in the past.
function main() {
if(getHour() == 8 && getMinute() == 25) {
var es = close(0, "ES #F, 5");
debugPrint(getDay()+" "+es+"\n");
}
}
Any ideas why this piece of code should freeze eSignal during a backtest? Also - this should give me the closing value of the bar right before the open, is that right?
Thanks!
function main() {
if(getHour() == 8 && getMinute() == 25) {
var es = close(0, "ES #F, 5");
debugPrint(getDay()+" "+es+"\n");
}
}
Any ideas why this piece of code should freeze eSignal during a backtest? Also - this should give me the closing value of the bar right before the open, is that right?
Thanks!
Comment