multi fractal zigzag histogramme decalé

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #180810 quote
    robeen12
    Participant
    Veteran

    Bonjour,

    Voilà le problème que je rencontre, j’aimerais faire correspondre sous forme d’histogramme le pavé issu de l’indicateur “prc multifractalszigzag”

    Ci-dessous le code que j’ai essayé de modifier ainsi que le graph montrant le décalage

    Merci pour votre aide

    //---major zigzag points
    if high[cp] >= highest[2*cp+1](high) then
    LH = 1
    else
    LH = 0
    endif
    
    if low[cp] <= lowest[2*cp+1](low)  then
    LL = -1
    else
    LL = 0
    endif
    
    if LH = 1 then
    TOPy = high[cp]
    TOPx = barindex[cp]
    endif
    
    if LL = -1 then
    BOTy = low[cp]
    BOTx = barindex[cp]
    endif
    signal = 0
    if lh = 1    then
    signal = 1
    else
    if ll = -1  then
    signal=-1
    endif
    endif
    return signal
    prc-multifractalszigzag.png prc-multifractalszigzag.png prc-multifractalszigzag-1.png prc-multifractalszigzag-1.png
    #180886 quote
    Nicolas
    Keymaster
    Master

    Ce comportement est normal puisque les fractals sont dessinés dans le passé. Donc ton histogramme de signal s’affiche au moment où le fractal est détecté, c’est à dire au moment où on le trace dans le passé.

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

multi fractal zigzag histogramme decalé


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
robeen12 @robeen12 Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 11/02/2021
Status: Active
Attachments: 2 files
Logo Logo
Loading...