scan on close of current bar

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #211984 quote
    cactus363
    Participant
    New

    I am getting scan/screen alerts in real time and cannot find the option to get them on bar close only.

    Using a 5 minute timeframe I get multiple alerts if condition is true but before the bar closes

    The manual says this is possible:
    The scans can be done in real-time or on the close of the current bar with the following timeframes:

    Please could you help me find this option

    Tank you

    #211987 quote
    JS
    Participant
    Veteran

    Hi @cactus363,

    You can try the following:

    TimeFrame(5 minutes, UpDateOnClose)

    (screener code)

    #212068 quote
    cactus363
    Participant
    New
    thank you for helping, when I try and add the UPDATEONCLOSE command I get an error. I tried many different ways but cannot solve it, would you know what this is about? Ive attached a screenshot
    updateonclose.png updateonclose.png
    #212071 quote
    robertogozzi
    Moderator
    Master
    SCREENERS run live, so to scan for candles already closed, all you need is to use a reference to to the previous value with [1], such as close[1], Rsi[14](close[1]) etc…
    cactus363 and JS thanked this post
    #212073 quote
    cactus363
    Participant
    New
    of course, that worked really well as it should, thank you so much for solving this for me, much appreciated.
    robertogozzi thanked this post
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

scan on close of current bar


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
cactus363 @cactus363 Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by cactus363
2 years, 11 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 03/23/2023
Status: Active
Attachments: 1 files
Logo Logo
Loading...