screener to scan previous 3 hours

Forums ProRealTime English forum ProScreener support screener to scan previous 3 hours

Viewing 2 posts - 1 through 2 (of 2 total)
  • #188572

    Hi all, once i finish work at 6 in the weekday i want to see what the market has done in the previous say 3 hours and if the conditions are met between 3-6pm the screener to show these stocks, is there a line of code to define previous x amount of hours?

    #188574

    You can scan conditions backwards using bars as rerefence, 1 bar, 2 bars, up to 254 bars (1024 on PRT direct).

    On a 30-minute chart, 3 hours is 6 bars, so you can use summation[6] to check if any condition was met in that time range:

Viewing 2 posts - 1 through 2 (of 2 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login