Supertrend screener

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

    Dear all,

    I would like to have a screener which list me all US actions where the supertrend[3,10] was red and changed to green . I want only the actions where the supertrend is green on the last candle or the last 2-3 candles max.

    Is it possible ?

     

    I tried some scripts but it doesn’t work.

     

    Thank you for your help.

    ++

    #248608 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go (min 2 bars, max 3 bars):

    MinBars = 2
    MaxBars = 3
    ST      = Supertrend[3,10]
    Green   = close > ST
    Red     = close < ST
    CX      = summation[MinBars](Green)
    c1      = (CX = MinBars)
    c2      = Red[MaxBars]
    Cond    = c1 AND c2
    SCREENER[Cond AND (high <> low)](CX AS "Bars above")
    //SCREENER[Cond AND (high <> low)](c2 AS "Red")
    Iván González thanked this post
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

Supertrend screener


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
francky18 @francky18 Participant
Summary

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

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 07/01/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...