EXTENSIONS AUTO FIBO

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #249513 quote
    ARLEQUIN49ARLEQUIN49
    Participant
    Veteran

    Bonjour à tous,

    Est ce que quelqu’un saurait mettre le texte à droite de l’indicateur?

    if opentime[1]>opentime then
    startboxbar=barindex
    ll=low
    hh=high
    endif
    if opentime<080000 then
    ll=min(ll,low)
    hh=max(hh,high)
    endif
    if opentime[1]<080000 and opentime>=080000 then
    med=(ll+hh)/2
    delta=hh-med
    h16=opendate*1000000+160000
    h24=opendate*1000000+235900
    custombar=(barindex+startboxbar)/2
    textbar=(startboxbar+custombar)/2
    DRAWRECTANGLE(startboxbar, ll, barindex, hh)
    DRAWSEGMENT(startboxbar, med, datetobarindex(h24), med)

    DRAWRECTANGLE(barindex, hh, datetobarindex(h16), hh+2*delta)
    DRAWSEGMENT(custombar, hh+delta, datetobarindex(h24), hh+delta)

    DRAWSEGMENT(custombar, hh+0.236*delta, datetobarindex(h24), hh+0.236*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, hh+0.382*delta, datetobarindex(h24), hh+0.382*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, hh+0.618*delta, datetobarindex(h24), hh+0.618*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, hh+1.236*delta, datetobarindex(h24), hh+1.236*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, hh+1.382*delta, datetobarindex(h24), hh+1.382*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, hh+1.618*delta, datetobarindex(h24), hh+1.618*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, hh+2*delta, datetobarindex(h24), hh+2*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, hh+2.618*delta, datetobarindex(h24), hh+2.618*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, hh+4*delta, datetobarindex(h24), hh+4*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, hh+4.236*delta, datetobarindex(h24), hh+4.236*delta) style(dottedline,1)

    DRAWTEXT(“23.6%”, textbar, hh+0.236*delta)
    DRAWTEXT(“38.2%”, textbar, hh+0.382*delta)
    DRAWTEXT(“61.8%”, textbar, hh+0.618*delta)
    DRAWTEXT(“100%”, textbar, hh+delta)
    DRAWTEXT(“123.6%”, textbar, hh+1.236*delta)
    DRAWTEXT(“138.2%”, textbar, hh+1.382*delta)
    DRAWTEXT(“161.8%”, textbar, hh+1.618*delta)
    DRAWTEXT(“200%”, textbar, hh+2*delta)
    DRAWTEXT(“261.8%”, textbar, hh+2.618*delta)
    DRAWTEXT(“400%”, textbar, hh+4*delta)
    DRAWTEXT(“423.6%”, textbar, hh+4.236*delta)

    DRAWRECTANGLE(barindex, ll, datetobarindex(h16), ll-2*delta)
    DRAWSEGMENT(custombar, ll-delta, datetobarindex(h24), ll-delta)

    DRAWSEGMENT(custombar, ll-0.236*delta, datetobarindex(h24), ll-0.236*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, ll-0.382*delta, datetobarindex(h24), ll-0.382*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, ll-0.618*delta, datetobarindex(h24), ll-0.618*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, ll-1.236*delta, datetobarindex(h24), ll-1.236*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, ll-1.382*delta, datetobarindex(h24), ll-1.382*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, ll-1.618*delta, datetobarindex(h24), ll-1.618*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, ll-2*delta, datetobarindex(h24), ll-2*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, ll-2.618*delta, datetobarindex(h24), ll-2.618*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, ll-4*delta, datetobarindex(h24), ll-4*delta) style(dottedline,1)
    DRAWSEGMENT(custombar, ll-4.236*delta, datetobarindex(h24), ll-4.236*delta) style(dottedline,1)

    DRAWTEXT(“23.6%”, textbar, ll-0.236*delta)
    DRAWTEXT(“38.2%”, textbar, ll-0.382*delta)
    DRAWTEXT(“61.8%”, textbar, ll-0.618*delta)
    DRAWTEXT(“100%”, textbar, ll-delta)
    DRAWTEXT(“123.6%”, textbar, ll-1.236*delta)
    DRAWTEXT(“138.2%”, textbar, ll-1.382*delta)
    DRAWTEXT(“161.8%”, textbar, ll-1.618*delta)
    DRAWTEXT(“200%”, textbar, ll-2*delta)
    DRAWTEXT(“261.8%”, textbar, ll-2.618*delta)
    DRAWTEXT(“400%”, textbar, ll-4*delta)
    DRAWTEXT(“423.6%”, textbar, ll-4.236*delta)

    DRAWRECTANGLE(datetobarindex(h16), hh+2*delta, datetobarindex(h24), hh+4*delta)
    DRAWRECTANGLE(datetobarindex(h16), ll-2*delta, datetobarindex(h24), ll-4*delta)
    endif

    return

    Sans-titre.png Sans-titre.png
    #249521 quote
    fifi743fifi743
    Participant
    Master

    comme ceci .
    modifié le textbar=(startboxbar+custombar)/2 par ci apres
    pas testé

    textbar=barindex+5
    #249608 quote
    ARLEQUIN49ARLEQUIN49
    Participant
    Veteran

    Merci

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

EXTENSIONS AUTO FIBO


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
ARLEQUIN49 @arlequin49 Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by ARLEQUIN49ARLEQUIN49
1 year, 1 month ago.

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