screener for trend in birth

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #76917 quote
    Racine
    Participant
    New

    good evening to all, I come to ask for help creating a screener to look for trends in birth that I think must have these conditions:

    1) prices above the 200 period moving average
    2) RSI (21) lower than line 50 (RSI (21) <50) and passes over line 50 (RSI (21)> 50)
    3) the candle that exceeds the 50 line of the RSI upwards must also pass the KIJUN SEN line of the ICHIMOKU indicator from the bottom true high
    4) It may be good that it is in progress, closing for 1 or 2 or 3 days.
    NB: this is for the uptrend if  possible  also for the contrary, both for the bearish trend.
            I also added a file to see a little better
    Waiting for a auito thank you all
    xscreener.png xscreener.png
    #76942 quote
    robertogozzi
    Moderator
    Master

    What do you mean at point 4) ?

    #76985 quote
    Racine
    Participant
    New

    hello Roberto thanks for the thought, at 4) I want to say  that the screener shows me too the actions that have responded to these conditions today, yesterday or two days ago (I do not know if it is so in terms of coding [0], [1 ] ,[2] )

    thanks again in advance

    #77152 quote
    robertogozzi
    Moderator
    Master

    There you go

    // Ichimoku settings
    //
    //Tenkansen = (highest[9](high)  + lowest[9](low))  / 2   //Fast avg
    Kijunsen    = (highest[26](high) + lowest[26](low)) / 2   //Slow avg
    //SpanA     = (tenkansen[26] + kijunsen[26]) / 2
    //SpanB     = (highest[52](high[26]) + lowest[52](low[26])) / 2
    //Chikou    = close[26]
    
    // Long
    b1          = close > average[200,0](close)
    b2          = Rsi[21](close) CROSSES OVER 50
    b3          = close CROSSES OVER Kijunsen
    bx          = summation[3](b1 AND b2 AND b3) //conditions met within the last 3 bars
    
    
    // Short
    s1          = close < average[200,0](close)
    s2          = Rsi[21](close) CROSSES UNDER 50
    s3          = close CROSSES UNDER Kijunsen
    sx          = summation[3](s1 AND s2 AND s3) //conditions met within the last 3 bars
    
    x = 0
    IF bx THEN
       x = 1           //1 = long
    ELSIF sx THEN
       x = 2           //2 = short
    ENDIF
    
    SCREENER [x] (x AS "Signal")
    #77199 quote
    Racine
    Participant
    New

    Grazie mille Roberto , stasera lo provo e la faccio sapere 👍🏿👍🏿👍🏿

    #77287 quote
    Racine
    Participant
    New

    Ciao Roberto volevo chiedere come posso fare per separare  quello long è quello short in due screener diversi ?

    grazie !!!

    #77289 quote
    Vonasi
    Moderator
    Master

    Racine  – please only use the language of the forum that you are posting in. English only in the English speaking forum please. 🙂

    #77296 quote
    Racine
    Participant
    New

    Sorry this is my mess.

    Hello Roberto I wanted to ask how I can do to separate the long one is that short in two different screener?

    thank you !!!

    #77299 quote
    robertogozzi
    Moderator
    Master

    You just need to duplicate the screener and rename them differently, then removing the code not pertaining to each one:

    // Ichimoku settings
    //
    //Tenkansen = (highest[9](high)  + lowest[9](low))  / 2   //Fast avg
    Kijunsen    = (highest[26](high) + lowest[26](low)) / 2   //Slow avg
    //SpanA     = (tenkansen[26] + kijunsen[26]) / 2
    //SpanB     = (highest[52](high[26]) + lowest[52](low[26])) / 2
    //Chikou    = close[26]
     
    // Long
    b1          = close > average[200,0](close)
    b2          = Rsi[21](close) CROSSES OVER 50
    b3          = close CROSSES OVER Kijunsen
    bx          = summation[3](b1 AND b2 AND b3) //conditions met within the last 3 bars
     
    x = 0
    IF bx THEN
       x = 1
    ENDIF
     
    SCREENER [x] (x AS "Signal")
    // Ichimoku settings
    //
    //Tenkansen = (highest[9](high)  + lowest[9](low))  / 2   //Fast avg
    Kijunsen    = (highest[26](high) + lowest[26](low)) / 2   //Slow avg
    //SpanA     = (tenkansen[26] + kijunsen[26]) / 2
    //SpanB     = (highest[52](high[26]) + lowest[52](low[26])) / 2
    //Chikou    = close[26]
     
    // Short
    s1          = close < average[200,0](close)
    s2          = Rsi[21](close) CROSSES UNDER 50
    s3          = close CROSSES UNDER Kijunsen
    sx          = summation[3](s1 AND s2 AND s3) //conditions met within the last 3 bars
     
    x = 0
    IF sx THEN
       x = 1
    ENDIF
    
    SCREENER [x] (x AS "Signal")
    Nicolas thanked this post
    #77372 quote
    Racine
    Participant
    New

    hello Roberto thank you very much now let’s see I hope to post some positive trade soon !!!

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

screener for trend in birth


ProScreener: Market Scanners & Detection

New Reply
Author
author-avatar
Racine @racine Participant
Summary

This topic contains 9 replies,
has 3 voices, and was last updated by Racine
7 years, 7 months ago.

Topic Details
Forum: ProScreener: Market Scanners & Detection
Language: English
Started: 07/27/2018
Status: Active
Attachments: 1 files
Logo Logo
Loading...