A string with multiple color: Is there a way to create it?  [SOLVED]

Questions about MultiCharts and user contributed studies.
arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

A string with multiple color: Is there a way to create it?

Postby arjfca » 04 May 2017

Hello

Another interrogation. Is there a way to create a single string that will have some characters colored differently from the others?

I did create 4 différents Text_New and use the Barnumber but it cause me some difficulty to properly aligned them when I change the scale.

Martin
Aligned string_2.png
(77.51 KiB) Downloaded 436 times
Aligned string_1.png
(69.31 KiB) Downloaded 436 times

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

Re: A string with multiple color: Is there a way to create it?  [SOLVED]

Postby TJ » 04 May 2017

Hello

Another interrogation. Is there a way to create a single string that will have some characters colored differently from the others?

I did create 4 différents Text_New and use the Barnumber but it cause me some difficulty to properly aligned them when I change the scale.

Martin
Aligned string_2.pngAligned string_1.png

You can create a line with TWO colors.

Use a reference bar,
then position one color to the left, and one color to the right.

This is the best you can do with EasyLanguage.

arjfca
Posts: 1292
Joined: 23 Nov 2010
Has thanked: 725 times
Been thanked: 223 times

Re: A string with multiple color: Is there a way to create it?

Postby arjfca » 04 May 2017

OK
That is what I actually do, but the result is not accurate when I modify the the chart resolution or spacing.

This is a minor problem so I won't work on that


Return to “MultiCharts”