prix proche de la bande de bollinger

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #119691 quote
    oraclusoraclus
    Participant
    Average

    Bonjour

    Je cherche le code suivant à mettre dans un proscreener sous prorealtime :
    Prix proche de la bande de bollinger supérieur mais en dessous de celle-ci avec une marge ou un pourcentage que l’on peut changer à notre guise.

    Sur l’exemple du code ci-dessous c’est strictement inférieur a la bande de bollinger supérieur

    indicator1 = BollingerUp[200](close)
    c1 = (close < indicator1)

    Moi je voudrais que le prix soit proche de 2% de la bande de bollinger supérieur et en dessous de celle-ci.
    Ci-joint image pour illustrer
    Merci

    Loïc

    bb.jpg bb.jpg
    #119769 quote
    NicolasNicolas
    Keymaster
    Legend

    Le screener ci-dessous devra restituer correctement cette condition, prix situé à moins de 2% de la bande de Bollinger haute, 200 périodes.

    ratio = close/bollingerup[200](close)
    test = ratio<1 and ratio>.98
    
    screener[test]
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

prix proche de la bande de bollinger


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
oraclus @oraclus Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/15/2020
Status: Active
Attachments: 1 files
ProRealCode ProRealCode
Loading...