screener to scan previous 3 hours

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #188572 quote
    cc267cc267
    Participant
    Average

    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 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    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:

    Cond1 = ...
    Cond2 = ...
    Cond3 = ...
    Cond  = Cond1 AND Cond2 AND Cond3
    SCREENER[summation[6](Cond)]
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
ProRealAI ProRealAI New

Stuck on this ProBuilder code?

Describe what this topic is trying to build, in plain English, and ProRealAI writes the ProRealTime™ indicator, screener or system for you.

Available in 7 languages
Try ProRealAI

screener to scan previous 3 hours


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
cc267 @cc267 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
4 years, 8 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 02/20/2022
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...