Calcul volume en %

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #138357 quote
    la classela classe
    Participant
    New

    Bonjour,

    Je suis nouveau et je voudrais utiliser l’écarte du  volume journalier en %, par rapport à la veille. Mais je ne sais pas comment construire les lignes de code. Est-ce que quelqu’un peux m’aider.

     

    Merci.

    #138523 quote
    NicolasNicolas
    Keymaster
    Legend

    La formule pour calculer le taux de variation est la suivante : Taux de variation (%) = 100 x (Valeur finale – Valeur initiale) / Valeur initiale.

    Soit dans ton cas :

    //variation (%) = 100 x (Valeur finale – Valeur initiale) / Valeur initiale
    taux = 100*(volume-volume[1])/volume[1]
    
    return taux
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

Calcul volume en %


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
la classe @la-classe Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by NicolasNicolas
6 years, 2 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 07/03/2020
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...