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
    bobraymondbobraymond
    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
    NicolasNicolas
    Keymaster
    Legend

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

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 bobraymondbobraymond
4 years, 10 months ago.

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