Text_new

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
Guest

Text_new

Postby Guest » 22 Dec 2006

I'm trying to Label at a particular point time and price with text. However, I'd like to be able to stack two lines of text. Is there anyway of doing that without having to do two Text_new statements, and then trying to separate them so they don't over lap?

Code: Select all

If condition 1 then begin
     OldTextID=TextID;
     TextID=Text_new(d,t,p,"Text")
     If OldTexID<>-1 then
               value1=text_delete


for this example, if I wanted to stack another line of text ontop of this one, would I have to just declare a Text_new? or is there a way I can input it into the current equation?

User avatar
Stanley Miller
Posts: 556
Joined: 26 Jul 2005
Has thanked: 3 times

Postby Stanley Miller » 23 Dec 2006

Value1 = Text_SetString(Text_ID, "MyText") changes the text string expression of the specified text object.


Return to “User Contributed Studies and Indicator Library”