Arrondi (round) moyenne mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #246986 quote
    PRC_2021PRC_2021
    Participant
    Average

    Bonjour,

    Je cherche à arrondir a l’entier pres le résultat d’une moyenne mobile sur rsi mais cela me renvoi un message d’erreur

    Ema20 = Exponentialaverage[20](rsi[14]close)

    Merci de votre aide

    #246988 quote
    PRC_2021PRC_2021
    Participant
    Average

    En gros, je souhaite afficher un moyenne mobile 20 sur le rsi mais seulement avec les nombres entier

    #246989 quote
    JC_BywanJC_Bywan
    Moderator
    Master

    Bonjour,

    monRSI= rsi[14](close)
    Ema20= Exponentialaverage[20](monRSI)
    MonEMA20= round(Ema20)

    return monRSI, ema20, MonEMA20

    Iván González thanked this post
    #247029 quote
    PRC_2021PRC_2021
    Participant
    Average

    Top merci

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

Arrondi (round) moyenne mobile


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
PRC_2021 @manu35250 Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by PRC_2021PRC_2021
1 year, 4 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 05/12/2025
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...