placer des lignes verticales sur signal TIGER

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #260787 quote
    Géraud LaveissiereGéraud Laveissiere
    Participant
    Senior

    Cet indictaur TIGER donne de bons signaux en breakout de bougie tendance ou bien contre tendance. qui peux programmer une ligne verticale dotline bleu ou jaune sur chaque signal ( fleche bleu ou jaune)? Merci.



    //
    defparam calculateonlastbars = 5000
    if Close>( max(max(high,high[1]),max(high[1],high[1]) ))[1] then
    D=Min(Min(low,low[1]),Min(low[1],low[1]))
    elsif close<(Min(Min(low,low[1]),Min(low[1],low[1])))[1] then
    D=Max(Max(high,high[1]),Max(high[1],high[1]))
    else
    D=D[1]
    endif
    //plot1 = 0
    //plot2 = 0
    
    rge = averagetruerange[10](close)
    
    
    
    
    if (close crosses over D) then
    //plot1 = 1
    //DRAWARROWUP(barindex,low[1]-0.2*rge) coloured(250,250,0,250)
    DRAWTEXT("▲",BarIndex,low[1]-0.40*rge,dialog,bold,25) coloured(0,0,250,255)//(H1/H4 = +7) (1 min = -1)
    levelDwn=low[0]
    hh=high
      
    //else
    //plot1 = 0
    endif
    if (close crosses under D) then
    //DRAWARROWDOWN(barindex,high[1]+0.2*rge) coloured(250,250,0,250)
    DRAWTEXT("▼",BarIndex,high[1]+0.40*rge,serif,bold,25) coloured(250,250,0,255) //(H1/H4 = +7) (1 min //= -12
    //plot2=-1
    //else
    //plot2=0
    levelUP=high[0]
    ll=low
    endif
    
    
    
    
    return D,levelUp coloured(0,250,0) STYLE(dottedLINE),levelDwn coloured(250,0,0) STYLE(dottedLINE),hh coloured(0,250,0) STYLE(LINE),ll coloured(250,0,0) STYLE(LINE)
    
    XAUUSD-5-minutes.png XAUUSD-5-minutes.png
    #260793 quote
    NicolasNicolas
    Keymaster
    Legend

    Voici la version qui ajoute des lignes verticales en pointillés pour chaque signal:

    defparam calculateonlastbars = 5000
    
    if Close > (max(max(high,high[1]),max(high[1],high[1])))[1] then
       D = Min(Min(low,low[1]),Min(low[1],low[1]))
    elsif close < (Min(Min(low,low[1]),Min(low[1],low[1])))[1] then
       D = Max(Max(high,high[1]),Max(high[1],high[1]))
    else
       D = D[1]
    endif
    
    rge = averagetruerange[10](close)
    
    if (close crosses over D) then
       DRAWTEXT("▲",BarIndex,low[1]-0.40*rge,dialog,bold,25) coloured(0,0,250,255)
       DRAWVLINE(barindex) coloured(0,0,250,200) style(dottedline)
       levelDwn = low[0]
       hh = high
    endif
    
    if (close crosses under D) then
       DRAWTEXT("▼",BarIndex,high[1]+0.40*rge,serif,bold,25) coloured(250,250,0,255)
       DRAWVLINE(barindex) coloured(250,250,0,200)  style(dottedline)
       levelUP = high[0]
       ll = low
    endif
    
    return D, levelUp coloured(0,250,0) STYLE(dottedLINE), levelDwn coloured(250,0,0) STYLE(dottedLINE), hh coloured(0,250,0) STYLE(LINE), ll coloured(250,0,0) STYLE(LINE)
    
    Iván González thanked this post
    indicateur-tiger-signaux.png indicateur-tiger-signaux.png
    #260795 quote
    Géraud LaveissiereGéraud Laveissiere
    Participant
    Senior

    parfait merci Nicolas

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

placer des lignes verticales sur signal TIGER


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by Géraud LaveissiereGéraud Laveissiere
4 months, 2 weeks ago.

Topic Details
Forum: ProBuilder : Indicateurs & Outils Personnalisés
Language: French
Started: 05/04/2026
Status: Active
Attachments: 2 files
ProRealCode ProRealCode
Loading...