Create une ligne basée sur la valeur passée d’un moyenne mobile

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #213054 quote
    SofitechSofitech
    Participant
    Master

    Bonjour à tous,

    J’aimerais créer un indicateur fonctionnant de la manière suivante :

    Prendre la valeur d’une SMA 10 périodes 8 bougies en arrière par rapport à la bougie en cours,

    Tracer une ligne démarrant 5 bougies avant la bougie en cours et se poursuivant 5 bougies dans le future (donc avant création des bougies)

    La ligne s’adaptant a la valeur de la sma au fur et à mesure…

    Quelqu’un saurait-il créer cela ? Merci d’avance à tous pour votre aide.

    #213055 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bjr,

    defparam drawonlastbaronly=true
    
    mm10=average[10](close)
    niveau=mm10[8]
    DRAWSEGMENT(barindex-5, niveau, barindex+5, niveau)
    
    return
    #213056 quote
    SofitechSofitech
    Participant
    Master

    Merci beaucoup !

Viewing 3 posts - 1 through 3 (of 3 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

Create une ligne basée sur la valeur passée d’un moyenne mobile


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Sofitech @sofitech Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 04/09/2023
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...