ligne verticale toutes les x barres

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #146548 quote
    fhornus
    Participant
    Junior

    Bonjour,

    dans Probuilder, sur un graphique en minutes ou secondes, je souhaiterais que le code trace à intervalles réguliers, par exemple toutes les 3 barres, une ligne verticale, sans limitation de durée. Je penserais bien utiliser Barindex ou CurrentMinute/Second sous la forme “If Barinbdex divided by 3 gives an Integer Then…” -ou autre chose-, mais je ne vois pas la formule à utiliser.

    Merci d’avance

    #146552 quote
    robertogozzi
    Moderator
    Master

    Je pense que la meilleure solution est de compter les barres:

    ONCE BarCount = 0
    BarCount = BarCount + 1
    IF BarCount = 3 THEN
       BarCount = 0
       .
       .
       .
    ENDIF
    fhornus thanked this post
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

ligne verticale toutes les x barres


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
fhornus @fhornus Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
5 years, 5 months ago.

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