TSR-ADR-Indikators display Änderung

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

    Guten Morgen, ich danke Ihnen für die bisherigen Ratschläge, die ich sehr nützlich finde. Ich suche nach einer Möglichkeit, die Anzeige des TSR-ADR-Indikators zu ändern, so dass die Preise nicht mehr direkt in den Charts (1), sondern oben rechts angezeigt werden können (2). Gibt es diese Möglichkeit derzeit für PRT?

    1-2.png 1-2.png 2-1.png 2-1.png
    #204588 quote
    robertogozzirobertogozzi
    Moderator
    Legend

    Da ist er:

    //PRC_TSR_DailyRange_display | indicator
    //11.12.2018
    //Nicolas @ www.prorealcode.com
    //Sharing ProRealTime knowledge
    //translated from MT4 version
    
    defparam drawonlastbaronly=true
    
    if day<>day[1] then
    startbar=barindex
    FIVE=0
    TEN=0
    TWENTY=0
    for i = 1 to 20 do
    if i<6 then
    FIVE=FIVE+(dhigh(i)-dlow(i))
    endif
    if i<11 then
    TEN=TEN+(dhigh(i)-dlow(i))
    endif
    TWENTY=TWENTY+(dhigh(i)-dlow(i))
    next
    FIVE = FIVE/10
    TEN = TEN/20
    TWENTY = TWENTY/40
    AV = (FIVE+TEN+TWENTY)/3
    endif
    
    HIDaily = dhigh(0)-(AV)
    LOWDaily = dlow(0)+(AV)
    HIDaily1 = dhigh(0)
    LOWDaily1 =dlow(0)
    HIDaily2 = dhigh(0)-(AV)*2
    LOWDaily2 =dlow(0)+(AV)*2
    //--------------------------------------------------------------------------------------------------------------------
    drawrectangle(-350,0,-245,-20)             anchor(TopRight) coloured("YellowGreen") bordercolor("Black")
    drawtext ("Top DAILY Range   ", -301 ,-10) anchor(TopRight) coloured("Black")
    //
    drawrectangle(-350,-20,-245,-40)           anchor(TopRight) coloured("Silver")      bordercolor("Black")
    drawtext ("Open              ", -314 ,-30) anchor(TopRight) coloured("Black")
    //
    drawrectangle(-350,-40,-245,-60)           anchor(TopRight) coloured("PapayaWhip")  bordercolor("Black")
    drawtext ("Bottom DAILY Range", -298 ,-50) anchor(TopRight) coloured("Black")
    //--------------------------------------------------------------------------------------------------------------------
    drawrectangle(-245,0,-170,-20)             anchor(TopRight)  coloured("YellowGreen") bordercolor("Black")
    x = round(LowDaily2,1)
    drawtext ("#x#", -196 ,-10)                anchor(TopRight)  coloured("Black")
    //
    drawrectangle(-245,-20,-170,-40)           anchor(TopRight)  coloured("Silver")      bordercolor("Black")
    x = Dopen(0)
    drawtext ("#x#", -196 ,-30)                anchor(TopRight)  coloured("Black")
    //
    drawrectangle(-245,-40,-170,-60)           anchor(TopRight)  coloured("PapayaWhip")  bordercolor("Black")
    x = round(HiDaily2,1)
    drawtext ("#x#", -196 ,-50)                anchor(TopRight)  coloured("Black")
    //--------------------------------------------------------------------------------------------------------------------
    drawrectangle(-160,0,-90,-20)              anchor(TopRight)  coloured("LightBlue")   bordercolor("Black")
    drawtext ("Date:   ", -140 ,-10)           anchor(TopRight)  coloured("Black")
    //
    drawrectangle(-160,-20,-90,-40)            anchor(TopRight)  coloured("LightBlue")   bordercolor("Black")
    drawtext ("High    ", -140 ,-30)           anchor(TopRight)  coloured("Black")
    //
    drawrectangle(-160,-40,-90,-60)            anchor(TopRight)  coloured("LightBlue")   bordercolor("Black")
    drawtext ("Low     ", -140 ,-50)           anchor(TopRight)  coloured("Black")
    //--------------------------------------------------------------------------------------------------------------------
    drawrectangle(-90,0,-10,-20)               anchor(TopRight)  coloured("LightBlue")   bordercolor("Black")
    x = OpenDay
    y = OpenMonth
    z = OpenYear MOD 2000
    drawtext ("#x##y##z#", -40 ,-10)           anchor(TopRight)  coloured("Black")
    //
    drawrectangle(-90,-20,-10,-40)             anchor(TopRight)  coloured("LightBlue")   bordercolor("Black")
    x = Dhigh(0)
    drawtext ("#x#", -40 ,-30)                 anchor(TopRight)  coloured("Black")
    //
    drawrectangle(-90,-40,-10,-60)             anchor(TopRight)  coloured("LightBlue")   bordercolor("Black")
    x = Dlow(0)
    drawtext ("#x#", -40 ,-50)                 anchor(TopRight)  coloured("Black")
    return
    Razz thanked this post
    x-7.jpg x-7.jpg PRC_TSR_DailyRange_display2.itf
    #204593 quote
    LiriosLirios
    Participant
    New

    Vielen Lieben Dank Roberto

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

TSR-ADR-Indikators display Änderung


ProBuilder: Indikatoren & Custom Tools

New Reply
Author
author-avatar
Lirios @lirios Participant
Summary

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

Topic Details
Forum: ProBuilder: Indikatoren & Custom Tools
Language: German
Started: 11/21/2022
Status: Active
Attachments: 4 files
ProRealCode ProRealCode
Loading...