ligne verticale toutes les x barres

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #146548 quote
    fhornusfhornus
    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
    robertogozzirobertogozzi
    Moderator
    Legend

    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.
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

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 robertogozzirobertogozzi
5 years, 11 months ago.

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