SCREENER – prc_trend-impulse-filter

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #173950 quote
    ipbvba
    Participant
    Junior

    Bonjour Nicolas,

    J’utilise encore toujours cet indicateur mais je souhaiterais un screener listant les départs à la hausse uniquement (fleche bleue) durant les 3 derniers jours. Est-ce possible?

    J’ai cherché si un tel screener existe déjà mais pas trouvé.

    Merci

    #173984 quote
    Nicolas
    Keymaster
    Master

    En repartant de ce code de screener pour cet indicateur: https://www.prorealcode.com/topic/codage-dun-screener-a-partir-dun-indicateur-de-signaux-dachat-et-de-vente/#post-144226 ,

    ci-dessous la version “flèche bleue dans les 3 dernières bougies” uniquement :

    //PRC_Trend Impulse Filter | screener
    //https://www.prorealcode.com/topic/codage-dun-screener-a-partir-dun-indicateur-de-signaux-dachat-et-de-vente/
    // --- settings
    length = 100
    mid = 1
    // --- end of settings
    
    once b = medianprice
    if barindex>length then
    src = (highest[length](high)+lowest[length](low))/2
    rising = src-src[length]>0
    falling = src-src[length]<0
    a = rising or falling
    b = exponentialaverage[mid](a*src+(1-a)*b[1])
    //—-
    
    if b>b[1] then
    os=1
    elsif b<b[1] then
    os=-1
    endif
    
    test = summation[3](os <> os[1] and os=1)>0
    
    endif
    
    screener[test]
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

SCREENER – prc_trend-impulse-filter


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
ipbvba @ipbvba Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by Nicolas
4 years, 7 months ago.

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