Impossible d’afficher un élément d’une autre timeframe

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #217411 quote
    blindax
    Participant
    New

    Je développe un indicateur sur 15 min :

    J’aimerais pouvoir afficher des segments en rapport avec le super trend sur des timeframe différentes :

    timeframe (1h,UPDATEONCLOSE)
    SThour=Supertrend[m,p]
    timeframe (4h,UPDATEONCLOSE)
    ST4h=Supertrend[m,p]
    timeframe (daily,UPDATEONCLOSE)
    STday=Supertrend[m,p]
    timeframe (weekly,UPDATEONCLOSE)
    STweek=Supertrend[m,p]
    timeframe(15mn,UPDATEONCLOSE)
    st = Supertrend[m,p]

    drawsegment(barindex[longueur]+3,sthour,barindex[2]+3,sthour) coloured(r1h,v1h,b1h)style(Line,2)
    drawtext(“ST 1h”,barindex+3,sthour) coloured(r1h,v1h,b1h)
    drawsegment(barindex[longueur]+3,st4h,barindex[2]+3,st4h) coloured(r4h,v4h,b4h)style(Line,2)
    drawtext(“ST 4h”,barindex+3,st4h) coloured(r4h,v4h,b4h)
    drawsegment(barindex[longueur]+3,stday,barindex[2]+3,stday) coloured(r1d,v1d,b1d)style(Line,2)
    drawtext(“ST 1j”,barindex+3,stday) coloured(r1d,v1d,b1d)
    drawsegment(barindex[longueur]+3,stweek,barindex[2]+3,stweek) coloured(r1w,v1w,b1w)style(Line,2)
    drawtext(“ST 1w”,barindex+3,stweek) coloured(r1w,v1w,b1w)

    J’ai les ST 1h et ST4h qui s’affichent, mais pas les ST 1j ni ST 1W, une idée de ce qui cloche ?

    #217412 quote
    fifi743
    Participant
    Master

    merci insérer le code dans ajouter du code ,car c’est plus lisible.
    peut être un manque unité

    blindax thanked this post
    #217414 quote
    blindax
    Participant
    New

    Merci, qu’appelle tu un manque unité ?

    timeframe (1h,UPDATEONCLOSE)
    SThour=Supertrend[m,p]
    timeframe (4h,UPDATEONCLOSE)
    ST4h=Supertrend[m,p]
    timeframe (daily,UPDATEONCLOSE)
    STday=Supertrend[m,p]
    timeframe (weekly,UPDATEONCLOSE)
    STweek=Supertrend[m,p]
    timeframe(15mn,UPDATEONCLOSE)
    st = Supertrend[m,p]
    
    drawsegment(barindex[longueur]+3,sthour,barindex[2]+3,sthour) coloured(r1h,v1h,b1h)style(Line,2)
    drawtext(“ST 1h”,barindex+3,sthour) coloured(r1h,v1h,b1h)
    drawsegment(barindex[longueur]+3,st4h,barindex[2]+3,st4h) coloured(r4h,v4h,b4h)style(Line,2)
    drawtext(“ST 4h”,barindex+3,st4h) coloured(r4h,v4h,b4h)
    drawsegment(barindex[longueur]+3,stday,barindex[2]+3,stday) coloured(r1d,v1d,b1d)style(Line,2)
    drawtext(“ST 1j”,barindex+3,stday) coloured(r1d,v1d,b1d)
    drawsegment(barindex[longueur]+3,stweek,barindex[2]+3,stweek) coloured(r1w,v1w,b1w)style(Line,2)
    drawtext(“ST 1w”,barindex+3,stweek) coloured(r1w,v1w,b1w)
    #217418 quote
    fifi743
    Participant
    Master
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Impossible d’afficher un élément d’une autre timeframe


ProBuilder : Indicateurs & Outils Personnalisés

New Reply
Author
author-avatar
blindax @blindax Participant
Summary

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

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