Décalage de ligne vers le futur

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #150706 quote
    LurubuLurubu
    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
    NicolasNicolas
    Keymaster
    Legend

    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.
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

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 NicolasNicolas
5 years, 11 months ago.

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