Text on chart: Seting the size

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

Text on chart: Seting the size

Postby arjfca » 16 May 2012

Hello

I want to set the size of the characters to be put on my chart

I use the command Value1 = Arw_SetTextSize(id, Size_);

Code: Select all

Size_ = 6;
ID = text_new(date,time,high , "e" );
value1= text_setlocation(ID, date,time, (h + pipvalue *1.5));
value1 = text_setstyle(id,2,1);
value1 = Text_setcolor(ID,blue);
Value1 = Arw_SetTextSize(id, Size_);
The size of the characters are not modify when I change the value of the variable Size_

Martin :)

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

Re: Text on chart: Seting the size

Postby TJ » 16 May 2012

Hello

I want to set the size of the characters to be put on my chart

I use the command Value1 = Arw_SetTextSize(id, Size_);

Code: Select all

Size_ = 6;
ID = text_new(date,time,high , "e" );
value1= text_setlocation(ID, date,time, (h + pipvalue *1.5));
value1 = text_setstyle(id,2,1);
value1 = Text_setcolor(ID,blue);
Value1 = Arw_SetTextSize(id, Size_);
The size of the characters are not modify when I change the value of the variable Size_

Martin :)

change

Code: Select all

Arw_SetTextSize(id, Size_);
to

Code: Select all

Tex_setSize(id, Size_);

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

Resolve: Text on chart: Seting the size

Postby arjfca » 16 May 2012

Thank you /спасибо TJ *

I see that I had used the set text size for arrow.

I had done a search on the new wiki and I used the first text size command that I view without looking further.

Martin :)


Return to “MultiCharts”