Positive Divergence detection?

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #211113 quote
    marco7630marco7630
    Participant
    New

    Hello,

     

    Is there an easy way to detect assets that show a positive divergence at the moment?

     

    gr Marco

    #211128 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Divergence between what… Price vs. RSI, Price vs. MACD, MACD vs. RSI, etc… ?

    #211129 quote
    marco7630marco7630
    Participant
    New

    Hi,

    Sorry. price and RSI 14

     

    gr Marco

    #211138 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go:

    myDIV  = DivergenceRSI[14, 30, 70, 20](close)
    Signal = 0
    IF myDIV > 0 THEN
       Signal = 1
    ELSIF myDiv < 0 THEN
       Signal = 2
    ENDIF
    SCREENER[Signal](Signal AS "Div.")

    1 = bullish Div.

    2 = bearish Div.

    #211145 quote
    marco7630marco7630
    Participant
    New

    Hi Roberto,

     

    Thanks. What do you mean with:

    1 = bullish Div.

    2 = bearish Div.

     

    And how can i make it only weekly base instead of daily?

     

    gr Marco

    #211158 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Sorry, I missed that it could have been misinterpreted. Div. stands for Divergence.

    Bullish means on the uprise or going North, Bearish means on the downside or going South.

    1 and 2 are the returned values so you can tell which type is returned.

    Apply it to whatever timeframe you need to, be it Weekly or 1 minute.

    #211162 quote
    marco7630marco7630
    Participant
    New

    Hi Roberto,

     

    Thanks. I did know what bullish and bearish is fortunately:-). I was not sure what you meant with the 1 and the 2 but i see there is a colum with 1 and 2’s after running the screener:-)

     

    One last question.

    What do i need to add to only see assets with a close >5 and average daily volume > 500000

     

    Gr Marco

    #211163 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    There you go:

    myDIV  = DivergenceRSI[14, 30, 70, 20](close)
    Signal = 0
    IF myDIV > 0 THEN
       Signal = 1
    ELSIF myDiv < 0 THEN
       Signal = 2
    ENDIF
    c1 = close > 5
    c2 = average[10,0](volume) > 500000
    SCREENER[Signal AND c1 AND c2](Signal AS "Div.")
    #211178 quote
    marco7630marco7630
    Participant
    New

    Thanks Roberto

Viewing 9 posts - 1 through 9 (of 9 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

Positive Divergence detection?


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
marco7630 @marco7630 Participant
Summary

This topic contains 8 replies,
has 2 voices, and was last updated by marco7630marco7630
3 years, 6 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 03/08/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...