Screener before breakout: MACD bullish, Stochastic crossing, ADX high

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #246358 quote
    MrMagic
    Participant
    Average

    Hi everyone,

    I’d like some help in coding a screener in ProRealTime to catch this setup before the breakout candle forms, as shown in the attached chart (OMEX, daily, and AREC, 12hrs). I’m often too late by the time it appears, so I want to be alerted right before the move.

    What I’m trying to capture:

    On the candle just before the big breakout:

    • Price has broken above a recent level and is retesting it

    • MACD is bullish — signal line cross or histogram rising

    • Stochastic (14,3,5) is in a bullish crossover or just turning upwards

    • ADX (14) is above 25, showing strong trend potential

     

    I’d love help with how to code this setup as a screener:

    • Conditions for MACD crossover

    • Stochastic bullish cross

    • ADX above 25

    • Ideally with recent price closing above or retesting a previous resistance

    I’m aiming to catch it one candle before the explosive move, not after it happens.

    Thanks.
    Screenshot-2025-04-24-at-17.21.45.png Screenshot-2025-04-24-at-17.21.45.png Screenshot-2025-04-24-at-17.28.43.png Screenshot-2025-04-24-at-17.28.43.png
    #246364 quote
    MrMagic
    Participant
    Average
    • Ideally with recent price rising from below and closing above EMA(50) or retesting a previous resistance
    #246384 quote
    Iván González
    Moderator
    Master
    Hi. Here you have an example:
    //MACD is bullish — signal line cross or histogram rising
    mymacd=macdline[12,26,9](close)
    signal=macdsignal[12,26,9](close)
    histo=MACD[12,26,9](close)
    c1=(mymacd crosses over signal) or (histo>histo[1])
    //Stochastic bullish cross
    stoK=Stochastic[14,3](close)
    stoD=Stochasticd[14,3,5](close)
    c2=stoK crosses over stoD
    //ADX above 25
    myadx=adx[14]
    c3=myadx>25
    //Ideally with recent price rising from below and closing above EMA(50) or retesting a previous resistance
    ema50=average[50,1](close)
    c4=close>ema50
    screener[c1 and c2 and c3 and c4]
    
    robertogozzi and MrMagic thanked this post
    #246521 quote
    MrMagic
    Participant
    Average
    This is an amazing screener. You did good, thanks @Iván, and supported by @robertogozzi. LEGENDS!
    robertogozzi thanked this post
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Screener before breakout: MACD bullish, Stochastic crossing, ADX high


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
MrMagic @mrmagic Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by MrMagic
10 months, 1 week ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 04/24/2025
Status: Active
Attachments: 2 files
Logo Logo
Loading...