Stochastique Zero Retard Exponentielle

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #188739 quote
    2u2me2
    Participant
    New
    Bonjour, dans le code ci-dessous du STOCHATIQUE, quelqu’un pourrait-il me dire comment on peut remplacer la moyenne mobile Time Series par une MM Zero Retard Exponentielle ? Merci par avance
    p=14
    q=3
    r=5
    
    plusHaut = HIGHEST[p](HIGH)
    plusBas = LOWEST[p](LOW)
    
    oscillateur = (CLOSE - plusBas) / (plusHaut - plusBas) * 100
    
    ligneK = AVERAGE[q,6](oscillateur)
    ligneD = AVERAGE[r,6](ligneK)
    
    RETURN ligneK AS "%K", ligneD AS "%D"Stochastique

     

    #188748 quote
    Nicolas
    Keymaster
    Master

    Remplacer le “6” par “8” dans les instructions AVERAGE, 8 étant le type de moyenne mobile que tu cherches : Zero Lag MA.

    Voir documentation: https://www.prorealcode.com/documentation/average/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Stochastique Zero Retard Exponentielle


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
2u2me2 @2u2me2 Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 02/24/2022
Status: Active
Attachments: No files
Logo Logo
Loading...