Décalage de ligne vers le futur

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #150706 quote
    Lurubu
    Participant
    Senior

    Bonjour, je voudrais décaler un indicateur de type ligne (par ex: un canal de Donchian) vers le futur comme cela peut se faire pour mes MM.

    Est-ce possible, et quel est la procédure ?

    Merci

    #150745 quote
    Nicolas
    Keymaster
    Master

    Dans cet exemple, le canal de Donchian haut est décalé de “decay” bougies vers la droite :

    decay = 5
    hh = highest[20](high)
    // ----
    if barindex>1 then 
     drawsegment(barindex+decay,hh,barindex+(decay-1),hh[1])
    endif 
    
    return
    decalage-vers-lavant-indicateur-prorealtime.png decalage-vers-lavant-indicateur-prorealtime.png
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Décalage de ligne vers le futur


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Lurubu @lurubu Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 11/16/2020
Status: Active
Attachments: 1 files
Logo Logo
Loading...