Pente d'une moyenne mobile

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10605 quote
    CarlCarl
    Participant
    Average

    Ci-dessous une demande qui a été envoyée à ProRealTime :

    Bonjour,
    je souhaite utiliser la pente d’une moyenne mobile comme variable, pourriez-vous me fournir le code svp,
    merci.

    Et une proposition de réponse :

    Periode=14//Période de la MM
    nbChandelier=5// Nombre de chandeliers sur lesquels on évalue la pente
    MM=average[Periode](close)
    pente=(MM-MM[nbchandelier])/nbchandelier
    
    
    Pascal, reb, Dadoo and Bodaris thanked this post
    #201475 quote
    MickaelM3333MickaelM3333
    Participant
    New

    Bonjour,

    Si quelqu’un peut m’aider, je souhaiterais créer un indicateur afin de mesurer le taux de pente de la moyenne mobile 200 sur une distance de 20 jours

    En gros on prend la moyenne mobile 200, on regarde les 2 points à 20 jours d’intervalle et on calcul la pente en pourcentage.

    Si quelqu’un peut coder cela svp ce serait top.

    je vous remercie par avance

    #201476 quote
    NicolasNicolas
    Keymaster
    Legend
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

Pente d'une moyenne mobile


ProOrder : Trading Automatique & Backtests

New Reply
Author
author-avatar
Carl @carl Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by NicolasNicolas
4 years ago.

Topic Details
Forum: ProOrder : Trading Automatique & Backtests
Language: French
Started: 07/19/2016
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...