Announcement

Collapse
No announcement yet.

any ideas why this would freeze eSignal?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • any ideas why this would freeze eSignal?

    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!

  • #2
    adonos
    Seems to be working here and the output is printing the correct close at 08:25 ET. Obviously provides no results in Back Testing but does not freeze either.
    Alex

    Comment

    Working...
    X