Comparaison des tailles de mèche de bougies

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #125846 quote
    jeje1664
    Participant
    Average

    Bonjour à tous,

    Je rédige actuellement un indicateur technique dans lequel je cherche à mettre en évidence les bougies possédant une mèche haute dont la taille égale au moins 1.5 fois la taille moyenne des mèches hautes des 10 bougies précédentes :

    // Détection Etoile
    MecheSup = high - max(open,close)
    MecheInf = min(open,close) - low
    MecheMoyPrec = XXXXXXXXXXXX
    
    iEtoile = MecheSup >= 3 * MecheInf and MecheSup >= 1.5 * MecheMoyPrec

    L’un d’entre vous pourrait-il svp m’éclairer sur le bout de code manquant ?

    Merci bcp

    Jérôme

    #125860 quote
    JC_Bywan
    Moderator
    Master
    MecheMoyPrec = average[10](MecheSup[1])

    Lien documentation pour ref: https://www.prorealcode.com/documentation/average/

    #125930 quote
    jeje1664
    Participant
    Average

    C’était + simple que ce que j’imaginais, merci !

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

Comparaison des tailles de mèche de bougies


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
jeje1664 @jeje1664 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by jeje1664
5 years, 10 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 04/12/2020
Status: Active
Attachments: No files
Logo Logo
Loading...