Proscreener – Ichimoku / 3 timeframes

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

    Bonjour,

    Je tente de créer un Proscreener basé sur Ichimoku et utilisant 3 Unités de temps (Monthly, Weekly et Daily).
    Les conditions pour obtenir un signal d’achat sont les suivantes :
    – Etre en tendance haussière sur le Monthly (SpanA > SpanB).
    – Etre en tendance haussière sur le Weekly (SpanA > SpanB).
    – Avoir les signaux suivant sur le Daily (UT de prise de position) :
    -> Senkou Span A > Senkou Span B (nuage haussier)
    -> Tenkan > Senkou Span A (Tenkan libérée)
    -> Kijun > Tenkan (Kijun libérée)
    -> Dernière bougie supérieur Kijun (breakout Kijun)
    -> Chikou > au cours retardé (chikou libérée)

    J’ai rédigé le code ci-dessous.
    Néanmoins, quand je l’exécute, je reçois le message en PJ.
    Il m’indique que les conditions que j’ai défini ne le sont pas.
    Pouvez-vous m’aider, s’il vous plait ?

    Vous trouverez ci-dessous, le code de mon Proscreener :

    Merci d’avance.

    —————————————————————————————————

    Hello,

    I am trying to create a Proscreener based on Ichimoku and using 3 Time Units (Monthly, Weekly and Daily).
    The conditions for obtaining a buy signal are as follows:
    – Bullish trend on the Monthly (SpanA > SpanB).
    – Bullish trend on the Weekly (SpanA > SpanB).
    – Have the following signals on the Daily (UT of trade position):
    -> Senkou Span A > Senkou Span B (bullish cloud)
    -> Tenkan > Senkou Span A (Tenkan released)
    -> Kijun > Tenkan (Kijun released)
    -> Last candle upper Kijun (breakout Kijun)
    -> Chikou > at the delayed price (chikou released)

    I have written the prorealcode below.
    However, when I run it, I get the message in PJ.
    It tells me that the conditions I have defined are not.
    Can you help me, please ? Thanks in advance.

    You will find below, the code of my Proscreener.

    PROREALCODE : 

    /*————————————MONTHLY————————————*/

    /*——Fenêtre de temps——*/
    TIMEFRAME (monthly)

    /*—-Indicateur—- */
    TenkanM = (highest[9](high)+lowest[9](low))/2
    KijunM = (highest[26](high)+lowest[26](low))/2
    SpanMA = (TenkanM[26]+KijunM[26])/2
    SpanMB = (highest[52](high[26])+lowest[52](low[26]))/2

    /*——Condition——*/
    C0 = SpanMA > SpanMB

     

     

    /*————————————WEEKLY————————————*/

    /*——Fenêtre de temps——*/
    TIMEFRAME (weekly)

    /*—-Indicateur—- */
    TenkanW = (highest[9](high)+lowest[9](low))/2
    KijunW = (highest[26](high)+lowest[26](low))/2
    SpanWA = (TenkanW[26]+KijunW[26])/2
    SpanWB = (highest[52](high[26])+lowest[52](low[26]))/2

    /*——Condition——*/
    C01 = SpanWA > SpanWB

     

     

    /*————————————DAILY————————————*/

    /*——Fenêtre de temps——*/
    TIMEFRAME (daily)

    /*—-Indicateur—- */
    Tenkan = (highest[9](high)+lowest[9](low))/2
    Kijun = (highest[26](high)+lowest[26](low))/2
    SpanA = (Tenkan[26]+Kijun[26])/2
    SpanB = (highest[52](high[26])+lowest[52](low[26]))/2
    Chikou = close[26]

    /*——Conditions——*/
    C1 = SpanA > SpanB // nuage haussier
    C2 = close > SpanA // prix > nuage
    C3 = Kijun > Tenkan // kijun > tenkan
    C4 = close crosses over Kijun // prix > kijun
    C5 = close > Chikou // prix retardé de 26 périodes > prix actuel

    /*—————SCREENER——————*/
    Screener[C0 and C01 and C1 and C2 and C3 and C4 and C5]

    Capture-décran-2022-07-18-à-22.57.28.png Capture-décran-2022-07-18-à-22.57.28.png
    #199781 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Cela marche. J’ai supprimé de nombreux commentaires. Peut-être y avait-il des caractères supplémentaires non ASCII dans le texte.
    J’ai également ajouté D aux variables Daily (mais je ne pense pas que cela ait affecté le résultat):

    TIMEFRAME (monthly)
    TenkanM = (highest[9](high)+lowest[9](low))/2
    KijunM  = (highest[26](high)+lowest[26](low))/2
    SpanMA  = (TenkanM[26]+KijunM[26])/2
    SpanMB  = (highest[52](high[26])+lowest[52](low[26]))/2
    C0      = SpanMA > SpanMB
    //
    TIMEFRAME (weekly)
    TenkanW = (highest[9](high)+lowest[9](low))/2
    KijunW  = (highest[26](high)+lowest[26](low))/2
    SpanWA  = (TenkanW[26]+KijunW[26])/2
    SpanWB  = (highest[52](high[26])+lowest[52](low[26]))/2
    C01     = SpanWA > SpanWB
    //
    TIMEFRAME (daily)
    TenkanD = (highest[9](high)+lowest[9](low))/2
    KijunD  = (highest[26](high)+lowest[26](low))/2
    SpanDA  = (TenkanD[26]+KijunD[26])/2
    SpanDB  = (highest[52](high[26])+lowest[52](low[26]))/2
    ChikouD = close[26]
    C1      = SpanDA > SpanDB // nuage haussier
    C2      = close > SpanDA // prix > nuage
    C3      = KijunD > TenkanD // kijun > tenkan
    C4      = close crosses over KijunD // prix > kijun
    C5      = close > ChikouD // prix retardé de 26 périodes > prix actuel
    //
    Screener[C0 and C01 and C1 and C2 and C3 and C4 and C5]
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

Proscreener – Ichimoku / 3 timeframes


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Sydney29 @sydney29 Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzirobertogozzi
4 years, 1 month ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 07/18/2022
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...