screener BB MACD

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #55707 quote
    finplus
    Participant
    Master

    Bonsoir,

    je souhaiterai avoir un screener permettant d’identifier un croisement à la hausse ou à la baisse de la courbe appelée BBMACD avec la upperband ou la lowerband. Je n’y arrive pas. Le screener me renvoie un message du type “screener momentanément indisponible”. Puis je obtenir de l’aide sur ce sujet?

    merci d’avance.

    adresse de l’indicateur.

    BB MACD (Bollinger Bands on MACD)

     

    #55753 quote
    Nicolas
    Keymaster
    Master

     Ci-dessous le code du screener en question. Celui-ci détectera la sortie de la courbe MACD sur la bande supérieure ou la bande inférieure.

    Ton problème venait sans doute du code utilisé pour la déclaration des moyennes mobiles, il faut en effet utiliser l’instruction complète et non le choix de MM type sous ProScreener (ici il s’agit de moyennes mobiles exponentielles).

    //PRC_BB MACD CCT screener
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    //https://www.prorealcode.com/topic/screener-bb-macd/
    
    // --- settings
    FastLen = 38
    SlowLen = 120
    Length = 20
    StDv = 1.1
    // --- end of settings
    
    bbMacd = exponentialaverage[FastLen]-exponentialaverage[SlowLen]
    
    avg = exponentialaverage[Length](bbMacd)
    sDev = std[Length](bbMacd)
    
    UpperBand = avg+(StDv*sDev)
    LowerBand = avg-(StDv*sDev)
    
    condition =  bbMACD crosses over UpperBand or bbMACD crosses under LowerBand 
    
    screener[condition]

     

    bollinger-MACD-stock-screener.png bollinger-MACD-stock-screener.png
    #55772 quote
    finplus
    Participant
    Master

    Merci beaucoup. Je vais le tester tout de suite.

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

screener BB MACD


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
finplus @finplus Participant
Summary

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

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