Indicateur personnel affiché uniquement en ID sur la journée en cours

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #181756 quote
    bobraymond
    Participant
    New

    Bonjour,

    voici un indicateur ID affiché en UT mn sur mes graphes:

    ////////////////////////////////////////////
    
    TIMEFRAME(daily)
    if low=lowest[1](low) then
    Dbas1=low+100
    else
    Dbas1=Dbas1[1]
    endif
    
    TIMEFRAME(default)
    drawpoint(barindex,Dbas1,1)coloured(0,0,250)
    
    //////////////////////////////////////////////

     

    Il affiche un point à chaque barre ET tous les jours.

    Je voudrais le voir afficher son résultat uniquement la cession journalière en cours pour économiser du calcul.

    Si je mets defparam drawonlastbaronly=true, je n’ai plus que le point de la dernière barre et je voudrais toute celle depuis le début de la journée.

    Pensez vous que ce soit possible?

    Merci d’avance pour votre aide.

    Cordialement.

    #181776 quote
    Nicolas
    Keymaster
    Master

    La version ci-dessous affiche uniquement les informations pour le jour courant :

    TIMEFRAME(daily)
    if low=lowest[1](low) then
    Dbas1=low+100
    else
    Dbas1=Dbas1[1]
    endif
    
    TIMEFRAME(default)
    $point[intradaybarindex]=Dbas1
    if islastbarupdate then 
    for i = 0 to intradaybarindex
    x = barindex-(intradaybarindex-i)
    drawpoint(x,$point[i],1)coloured(0,0,250)
    next
    endif
    
    return
    affichage-jour-uniquement.png affichage-jour-uniquement.png
    #181787 quote
    bobraymond
    Participant
    New

    Bonjour Nicholas.

    Merci bien pour ta réponse rapide.

    C’est exactement ça, j’irai voir la doc en ligne la prochaine fois, sauf erreur le manuel pdf n’avait pas l’instruction islastbarupdate.

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

Indicateur personnel affiché uniquement en ID sur la journée en cours


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
bobraymond @bobraymond Participant
Summary

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

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 11/17/2021
Status: Active
Attachments: 1 files
Logo Logo
Loading...