coder moyennes mobiles mensuel… sur du journalier

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #210989 quote
    olivier
    Participant
    Junior

    bonjour,

    j’ai cherché mais pas trouvé comment afficher des moyennes mobiles mensuelles (voir d’autres ut) sur un graphique journalier afin de pouvoir scanner avec le proscreener.

    Je voudrais afficher une mms mensuelle updateonclose sans utiliser le timeframe monthly qui ne fonctionne pas avec le proscreener.

    timeframe (monthly,updateonclose)
    mm20update=average[20](close)
    
    timeframe (monthly)
    mm20=average[20](close)
    
    return mm20update,mm20
    #211050 quote
    Nicolas
    Keymaster
    Master

    Le timeframe monthly est bien disponible dans ProScreener.

    Pour récupérer la valeur précédente, il ne faut pas utiliser ‘updateonclose’ mais un offset de 1:

    timeframe(monthly)
    var = average[20][1]
    
    screener(var)
    #212930 quote
    olivier
    Participant
    Junior

    merci pour le retour. cela signifie quoi l’offset de 1 dans la programmation.

    #212940 quote
    Nicolas
    Keymaster
    Master

    Cela signifie 1 période en arrière si j’ajoute [1] à la fin de l’instruction.

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

coder moyennes mobiles mensuel… sur du journalier


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
olivier @olivier Participant
Summary

This topic contains 3 replies,
has 2 voices, and was last updated by Nicolas
2 years, 11 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 03/06/2023
Status: Active
Attachments: No files
Logo Logo
Loading...