Intraday Screener – OHLC Candle Comparison

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #191501 quote
    revstrat
    Participant
    New

    Hi,

    I am trying to create a simple intraday screener that looks for stocks where the second candle’s close > first candle’s close. I have tried to make the following code but it doesn’t seem to work. Can you please assist with this and it will be very helpful to show how to use the “Intradaybarindex” for screeners as there are no examples of this that I could find? Thank you.

    //Price filter
    c1 = close > 2
    
    //Volume filter
    c2 = volume > 500
    
    IF Intradaybarindex = 1 THEN
    c3 = Close[0] > Close[1]
    ENDIF
    
    c9 = AverageTrueRange[14](close)
    
    screen = c1 AND c2 AND c3
    
    screener[screen](c9 AS "ATR")
    #191525 quote
    robertogozzi
    Moderator
    Master

    Bear in mind thate thers’s a 254-bar limit on IG (1024 on PRT’s premium), so if you are applying the screener to a 1-minute TF, you won’t get correct results, as there are more than 254 intraday bars.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Intraday Screener – OHLC Candle Comparison


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
revstrat @revstrat Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
3 years, 11 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 04/09/2022
Status: Active
Attachments: No files
Logo Logo
Loading...