Demande de Traduction BAR TIME de Trading view

Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #192947 quote
    NicolasNicolas
    Keymaster
    Legend

    “secondes = timestamp – opentimestamp” => Sur RENKO en UT journalière par exemple, cette ligne comptabilise une journée pour une boite de Renko, sauf qu’une boite de RENKO à mis peut-être plusieurs jours pour se créer.

    Non, c’est la différence entre le timestamp entre son open et sa fermeture, donc en effet cela peut durer plusieurs jours.

    Sauf que je n’obtiens aucune valeur avec un RETURN TIMESTAMP sur aucun TF, ni aucun instrument, il doit y avoir un soucis quelque part ^^ je vais me renseigner.

    #192954 quote
    NicolasNicolas
    Keymaster
    Legend

    C’était de ma faute, je confirme TIMESTAMP fonctionne correctement 🙂 Je viens de tester et avec le code ci-dessous on obtient la quantité d’heures entre la clôture précédente et celle de la bougie courante dans un graphique Renko:

    nbheures=(timestamp - timestamp[1])/3600
    
    return nbheures
Viewing 2 posts - 16 through 17 (of 17 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

Demande de Traduction BAR TIME de Trading view


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
Summary

This topic contains 16 replies,
has 2 voices, and was last updated by NicolasNicolas
4 years, 4 months ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 07/06/2021
Status: Active
Attachments: 3 files
ProRealCode ProRealCode
Loading...