Compte à rebours de bougie affiché au-dessus du chandelier

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #259301 quote
    RICOU
    Participant
    Junior

    Bonjour, je cherche a positionner le compte a rebours de la bougie en cours au dessus de celle ci et non sur le côté du graphique, auriez vous une idée ?

    Par avance merci.

    #259311 quote
    robertogozzi
    Moderator
    Master

    J’ai modifié le code de Nicolas (https://www.prorealcode.com/topic/decompte-cloture-barre-courante/#post-214513).

    Le voici :

    DefParam DrawOnLastBarOnly = true
    tf=gettimeframe
    counter=(opentimestamp+tf)-timestamp
    drawtext("#counter#s",barindex+1,high+range)
    return
    
    Iván González and Bernard13 thanked this post
    #259314 quote
    RICOU
    Participant
    Junior

    merci beaucoup, y aurait il la possibilité pour que les inscriptions du decompte s’efface sur les autres bougies.

    #259315 quote
    RICOU
    Participant
    Junior

    et j’avais oublié “DefParam DrawOnLastBarOnly = true” est en anomalie

    #259323 quote
    Nicolas
    Keymaster
    Legend

    C’est justement cette instruction qui permet d’afficher le texte uniquement sur la dernière bougie.

    Le code est correct, quelle est l’anomalie exactement ? Y-a-t-il un message d’erreur ?

    #259324 quote
    RICOU
    Participant
    Junior

    Non tout est Ok maintenant, en revanche par moment il y a une certaine latence dans l’affichage.

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

Compte à rebours de bougie affiché au-dessus du chandelier


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
RICOU @ricou Participant
Summary

This topic contains 5 replies,
has 3 voices, and was last updated by RICOU
2 months, 1 week ago.

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