Color Text in different color  [SOLVED]

Questions about MultiCharts and user contributed studies.
shivax
Posts: 90
Joined: 02 Sep 2013
Has thanked: 37 times

Color Text in different color

Postby shivax » 28 May 2018

Hi, it is possible to color The number (5875) in different color?

see pics ..

thank
Attachments
Immagine.png
(812 Bytes) Downloaded 481 times

User avatar
Smoky
Posts: 507
Joined: 03 Dec 2010
Location: Thailand
Has thanked: 97 times
Been thanked: 115 times

Re: Color Text in different color

Postby Smoky » 28 May 2018

Yes but you have to draw two text

1) with Text_SetColor cyan "1st 30/10/2017"
2) with Text_SetColor red "5875" with new coordinate.

maybe another way but i found only this ...

shivax
Posts: 90
Joined: 02 Sep 2013
Has thanked: 37 times

Re: Color Text in different color

Postby shivax » 28 May 2018

hi Smoky…
the problem is to write the strings consecutively

i must to use text_new_self
:
Text_New_self (BarDate, BarTime, PriceValue,"Text")

I can only use a string

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: Color Text in different color  [SOLVED]

Postby TJ » 28 May 2018

You can have 2 colors if the text is centered at the BarTime.
Half of the text in front of the BarTime,
and half of the text behind the BarTime.


Look up the keyword

Text_SetStyle


Return to “MultiCharts”