Fractal sur indicateur

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #88231 quote
    ghary
    Participant
    Veteran

    Bonjour,

    J’aimerai savoir si l’on peut créer un indicateur fractal mais sur un autre indicateur ex: strochastic, RSI, MACD afin d’avoir les derniers plus haut/plus bas de l’indicateur ?

    Quand je place l’indicateur fractal existant sur un stochastique par éxemple, rien ne s’affiche.

     

    Merci pour vos retours.

    #88233 quote
    Nicolas
    Keymaster
    Master

    Oui on peut bien sûr, exemple avec un stochastic donc:

    cp=10
    data = stochastic[5,3]
    
    if data[cp] >= highest[2*cp+1](data) then
    LH = 1
    else
    LH=0
    endif
    
    if data[cp] <= lowest[2*cp+1](data)  then
    LL= -1
    else
    LL=0
    endif
    
    if LH=1 then
    hil = data[cp]
    DRAWTEXT("▼",barindex[cp],hil,Dialog,Bold,12) //coloured(100,100,100,100)
    endif
    
    if LL  = -1 then
    LOL = data[cp]
    DRAWTEXT("▲",barindex[cp],lol,Dialog,Bold,12) //coloured(100,100,100,100)
    endif
    
    return data

    Remplace simplement l’indicateur de la variable “data”, parce que tu souhaites y mettre.

    #88295 quote
    ghary
    Participant
    Veteran

    Bonjour

    Merci je teste cela.

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

Fractal sur indicateur


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
ghary @ghary Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by ghary
7 years, 1 month ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 01/09/2019
Status: Active
Attachments: No files
Logo Logo
Loading...