Screener auto refresh

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #241398 quote
    OllieB
    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ález
    Moderator
    Master

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

    #241953 quote
    robertogozzi
    Moderator
    Master

    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.

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 robertogozzi
1 year, 2 months ago.

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