CODAGE SUR MACDZL

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

    Bonjour,

     

    Je n’arrive pas à coder un screener sur une macdzl dont les conditions sont les suivantes:

    1- MACDZerolag > signal

    2- MACDZerolag < 0

    3- Signal < 0

    4- MACD-Signal > MACDZerolag et son signal

    5- MACD-Signal > 0

    J’ai commencé comme ceci, mais ça ne marche déjà pas donc j’ai stoppé:

    indicator1, ignored, ignored, ignored = CALL MACDZL[12, 26, 9]
    ignored, indicator2, ignored, ignored = CALL MACDZL[12, 26, 9]
    c1 = (indicator1 > indicator2[1])
    
    c2 = (indicator1 < 0)
    
    c3 = (indicator2 < 0)
    
    
    SCREENER[c1 and c2 and c3] (Variation AS "% Barre prec")

     

    Merci pou l’aide.

    #36128 quote
    henri95
    Participant
    Average

    C’est bon j’ai réussi avec la programmation assistée!

    #36129 quote
    Nicolas
    Keymaster
    Master

    Super ! Pour reboucler, ce serait sympa de partager le code final ici.

    #36151 quote
    henri95
    Participant
    Average

    Le voici:

     

    ignored, ignored, indicator1, ignored = CALL MACDZL[12, 26, 9]
    c1 = (indicator1 > indicator1)
    
    indicator2, indicator3, ignored, ignored = CALL MACDZL[12, 26, 9]
    c2 = (indicator2[1] > indicator3[1])
    
    indicator4, ignored, ignored, ignored = CALL MACDZL[12, 26, 9]
    c3 = (indicator4 < indicator4)
    
    ignored, indicator5, ignored, ignored = CALL MACDZL[12, 26, 9]
    c4 = (indicator5 < indicator5)
    
    indicator7, ignored, indicator6, ignored = CALL MACDZL[12, 26, 9]
    c5 = (indicator6[1] > indicator7[1])
    
    ignored, indicator9, indicator8, ignored = CALL MACDZL[12, 26, 9]
    c6 = (indicator8[1] > indicator9[1])
    
    indicator10 = Volume
    c7 = (indicator10 > 999)
    
    
    SCREENER[c1 AND c2 AND c3 AND c4 AND c5 AND c6 AND c7] (null AS "null")
    
    Nicolas thanked this post
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

CODAGE SUR MACDZL


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
henri95 @henri95 Participant
Summary

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

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 05/19/2017
Status: Active
Attachments: No files
Logo Logo
Loading...