Ichimoku code dans prorealtime version 11

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #117547 quote
    jbaudry
    Participant
    New

    Bonjour,

    J’ai un triangle avec un point d’exclamation devant les Tenkansen et Kijunsen. Je ne comprends pas pourquoi.

    Pouvez-vous m’aider ?

    // code proscreener d'exemple
    
    Tenkansen = (highest[9](high)+lowest[9](low))/2
    Kijunsen = (highest[26](high)+lowest[26](low))/2
    SSpanA = (Tenkansen[26]+Kijunsen[26])/2
    SSpanB = (highest[52](high[26])+lowest[52](low[26]))/2
    
    c1a = SSpanA > SSpan B
    c2a = open[1] > SSpanA AND close[1] > SSpanA
    
    c1b = SSpanB > SSpan A
    c2b = open[1] > SSpanB AND close[1] > SSpanB
    
    COND1 = (c1a and c2a) OR (c1b and c2b)
    
    c3a = open > SSpanA and close > SSpanA and low < SSpanA
    
    c3b = open > SSpanB and close > SSpanB and low < SSpanB
    
    COND2 = (c1a and c3a) OR (c1b and c3b)
    
    SCREENER [COND1 AND COND2]
    

    Merci beaucoup

    #117548 quote
    fifi743
    Participant
    Master

    bonjour

    enlève la ligne 3 et 4

    as tu une erreur

    si tu n’as pas erreur c’est que tenkansen et kijunsen sont déjà des valeurs

    Nicolas thanked this post
    #117559 quote
    jbaudry
    Participant
    New

    Bonjour,

    J’ai toujours des erreurs…. Capture en pièce jointe.

    1.png 1.png
    #117561 quote
    fifi743
    Participant
    Master

    tu as ecrit sspan a

    il y a un espace entre n et a

    il faut ecrire sspana

    #117562 quote
    jbaudry
    Participant
    New
    enkansen = (highest[9](high)+lowest[9](low))/2
    ijunsen = (highest[26](high)+lowest[26](low))/2
    SSpanA = (enkansen[26]+ijunsen[26])/2
    SSpanB = (highest[52](high[26])+lowest[52](low[26]))/2
    
    c1a = SSpanA > SSpanB
    c2a = open[1] > SSpanA AND close[1] > SSpanA
    
    c1b = SSpanB > SSpanA
    c2b = open[1] > SSpanB AND close[1] > SSpanB
    
    COND1 = (c1a and c2a) OR (c1b and c2b)
    
    c3a = open > SSpanA and close > SSpanA and low < SSpanA
    
    c3b = open > SSpanB and close > SSpanB and low < SSpanB
    
    COND2 = (c1a and c3a) OR (c1b and c3b)
    
    SCREENER [COND1 AND COND2]

    Merci beaucoup, il y avait ce problème voici le code final qui fonctionne.

    #117689 quote
    Nicolas
    Keymaster
    Master

    Les mots clés TenkanSen et KijunSen sont désormais des instructions internes de la plateforme, donc on ne peut plus les utiliser pour nommer ses propres variables.

    Voir dans la documentation, toutes les nouvelles instructions liées à ichimoku kinko hyo:

    KijunSen  , TenkanSenSenkouSpanBSenkouSpanA

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

Ichimoku code dans prorealtime version 11


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
jbaudry @jbaudry Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by Nicolas
6 years, 1 month ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 01/22/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...