Occurrence d’une condition

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #209561 quote
    ShinenShinen
    Participant
    New

    Bonjour

    Comment exprime une occurrence dans une condition ?

    Par exemple je veux savoir si le prix a été en hausse au moins 12 fois sur les 15 dernières barres

    Merci

    #209564 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bonjour,

    le prix en hausse d’une clôture à l’autre est la condition close>close[1]

    De là, pour exprimer que le nombre de fois où cette condition s’est produite sur les 15 dernières barres est au moins 12 on peut utiliser l’instruction summation ainsi:

    summation[15](close>close[1])>=12

    #209584 quote
    NicolasNicolas
    Keymaster
    Legend

    summation[15](close>close[1])

    Soit la somme des conditions VRAI (égales à 1) sur les 15 derniers chandeliers.

    #209617 quote
    ShinenShinen
    Participant
    New

    Bonjour ,

    un grand merci je n’ai pas trouvé cette information dans la doc .

Viewing 4 posts - 1 through 4 (of 4 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

Occurrence d’une condition


ProScreener : Scanners de Marché & Détection

New Reply
Author
author-avatar
Shinen @shinen Participant
Summary

This topic contains 3 replies,
has 3 voices, and was last updated by ShinenShinen
3 years, 7 months ago.

Topic Details
Forum: ProScreener : Scanners de Marché & Détection
Language: French
Started: 02/13/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...