derivative dérivée

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #92473 quote
    vivien76vivien76
    Participant
    New

    Bonjour à tous,

    Est ce que quelqu’un sait comment programmer une simple fonction dérivée ?

    Par exemple la dérivée du RSI ou de la moyenne mobile ?

    Merci d’avance

    #94584 quote
    manual_icemanual_ice
    Participant
    Junior

    Est-ce qu’un simple code de ce genre convient ?

    moy=average[21](close)
    derivMOY=moy-moy[1]
    
    myRSI = rsi[14](close)
    derivRSI = myRSI-myRSI[1]
    
    return derivMOY as "deriv MOY", derivRSI as "deriv RSI"
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

derivative dérivée


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
vivien76 @vivien76 Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/27/2019
Status: Active
Attachments: No files
ProRealCode ProRealCode
Loading...