Code Chikou

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #68287 quote
    Houdini
    Participant
    New

    Bonjour,

    Je sais pas si le sujet a déjà été traité mais je n’ai pas trouvé de solution à mon problème dans la partie recherche..

    J’aimerai savoir comment coder la chikou sur prorealtime

     

    le code que j’ai trouvé: Chikou = close

    mais il ne l’affiche pas 26 période plus tôt

     

    Comment faire?

     

    Merci beaucoup! 🙂

    #68301 quote
    zen83
    Participant
    Senior

    Bonjour,

    le code écrit par Nicolas et disponible au post suivant devrait répondre à votre attente

    Writing the Ichimoku indicator..

    Cordialement

    zen83

    #68389 quote
    cypressat
    Participant
    New

    Bonjour

    par simple curiosité, pourquoi voulez vous coder chikou span ? Quel interêt ? Chikou span est le reflet des prix en clôture  décalée de 26 périodes dans le passé. C’est très bien comme ça, non ?

    #68435 quote
    zen83
    Participant
    Senior

    extrait du code ichimoku de Nicolas pour le tracé de la Chikou, ce qui est le close décalé de 26 périodes dans le passé

    //plot chikou in the past:
    drawtext(“♥”,barindex[26],close) coloured(255,0,0)
    #243287 quote
    Herve de Thanakha
    Participant
    New

    le code:

    decay = 5

    if barindex>1 then
    drawsegment(barindex-decay,Close,barindex-(decay+1),Close[1])
    endif

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

Code Chikou


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
Houdini @houdini Participant
Summary

This topic contains 4 replies,
has 1 voice, and was last updated by Herve de Thanakha
1 year ago.

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