Formulation PRT CCI

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #97385 quote
    Shark
    Participant
    Senior

    Bonjour à tous

    Je recherche la formule de calcul du CCI sur N période.

    Merci par avance

    #98046 quote
    Nicolas
    Keymaster
    Master

    Tu trouveras ci-dessous la formule/code du CCI de la plateforme :

    Periode=20
    
    M=(typicalprice)
    MM=average[Periode](M)
    
    Sum=0
    for i=0 to Periode-1
    sum=sum+ABS(mm[0]-M[i])
    next
    D=Sum/Periode
    
    MyCCI=(M-MM)/(0.015*D)
    
    return MyCCI
    
    Alfred thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Formulation PRT CCI


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Shark @shark Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 04/30/2019
Status: Active
Attachments: No files
Logo Logo
Loading...