TSR-ADR-Indikators display Änderung
Forums › ProRealTime Deutsch forum › ProBuilder Support › TSR-ADR-Indikators display Änderung
- This topic has 2 replies, 2 voices, and was last updated 1 year ago by Lirios.
Tagged: anchor, bottomleft, BottomRight, dashboard, drawrectangle, drawtext, graphic, index, middle, topleft, TopRight, xshift, yshift
Viewing 3 posts - 1 through 3 (of 3 total)
-
-
11/21/2022 at 1:50 PM #204565
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?
11/21/2022 at 7:54 PM #204588Da ist er:
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879//PRC_TSR_DailyRange_display | indicator//11.12.2018//Nicolas @ www.prorealcode.com//Sharing ProRealTime knowledge//translated from MT4 versiondefparam drawonlastbaronly=trueif day<>day[1] thenstartbar=barindexFIVE=0TEN=0TWENTY=0for i = 1 to 20 doif i<6 thenFIVE=FIVE+(dhigh(i)-dlow(i))endifif i<11 thenTEN=TEN+(dhigh(i)-dlow(i))endifTWENTY=TWENTY+(dhigh(i)-dlow(i))nextFIVE = FIVE/10TEN = TEN/20TWENTY = TWENTY/40AV = (FIVE+TEN+TWENTY)/3endifHIDaily = dhigh(0)-(AV)LOWDaily = dlow(0)+(AV)HIDaily1 = dhigh(0)LOWDaily1 =dlow(0)HIDaily2 = dhigh(0)-(AV)*2LOWDaily2 =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 = OpenDayy = OpenMonthz = OpenYear MOD 2000drawtext ("#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")return1 user thanked author for this post.
11/21/2022 at 8:25 PM #204593 -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)