Screener auto refresh

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #241398 quote
    OllieBOllieB
    Participant
    Junior

    Hi All,

    I have searched the forum but can’t find anything recently on this, so my apologies if I am repeating.

    Can anyone help me in setting up a screener to automatically refresh?  I have a screener which I currently have to execute manually.  I’d like to have it refresh after a set time period, ie 1S, 5M, 4H.

    Thanks.

    #241451 quote
    Iván GonzálezIván González
    Moderator
    Legend

    Hi, there is no specific instruction that updates the screener automatically at certain intervals.

    #241953 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    I tried to code this screener that updates every Nbars (set to 1 by default). Sometimes it seems to be working, but I am not 100% sure it behaves as you would like:

    Nbars = 1
    Cond  = 0
    Tally = Tally + 1
    IF Tally = Nbars THEN
       Cond1 = (high[2] > high[3]) AND (high[3] > high[4])
       Cond2 = (high[2] > high[1]) AND (high[1] > high)
       Cond  = Cond1 AND Cond2 AND (summation[5](high <> low) = 5)
       Tally = 0
    ENDIF
    SCREENER[Cond]

    it scans the last 5 bars, so that the middle bar is the highest one and the others are in ascending order both on the left and the right side. It also checks that the last 5 bars have some price movements.

Viewing 3 posts - 1 through 3 (of 3 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 auto refresh


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
OllieB @ollieb Participant
Summary

This topic contains 2 replies,
has 3 voices, and was last updated by robertogozzirobertogozzi
1 year, 8 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 12/13/2024
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...