Hello
A dummy question, but i just don't found it
What is the function to set a string ( text) on the left of a trend line that I created via code.
Martin
Text on a trend line
- TIKITRADER
- Posts: 84
- Joined: 17 Jun 2009
- Location: USA
- Has thanked: 55 times
- Been thanked: 13 times
Re: Text on a trend line
maybe something here can be useful
http://markplex.com/free-tutorials/tuto ... ms-part-2/
Thanks to TJ for pointing out markplex site
http://markplex.com/free-tutorials/tuto ... ms-part-2/
Thanks to TJ for pointing out markplex site
Re: Text on a trend line
I will check thatmaybe something here can be useful
http://markplex.com/free-tutorials/tuto ... ms-part-2/
Thanks to TJ for pointing out markplex site
Martin
Re: Text on a trend line
A bit of work but you could write a function.
value1 = funcTextOnTL(TL_ID, then put your details).
It would get the coordinates, figure out the change per bar of the line, and do whatever you want internally using whatever logic you wanted. Maybe a dynamic array of text could be submitted along with positions for the text (also dynamic).
You could have several of these functions for various purposes (maybe text of values or maybe text of whatever you put out there in the array). Maybe the text would be in the extended portions or within the coordinates.
I think it is all very doable. It is not the smallest job in the world but I don't think the amount of work is huge. If you do a few of them the first would make the rest much easier.
value1 = funcTextOnTL(TL_ID, then put your details).
It would get the coordinates, figure out the change per bar of the line, and do whatever you want internally using whatever logic you wanted. Maybe a dynamic array of text could be submitted along with positions for the text (also dynamic).
You could have several of these functions for various purposes (maybe text of values or maybe text of whatever you put out there in the array). Maybe the text would be in the extended portions or within the coordinates.
I think it is all very doable. It is not the smallest job in the world but I don't think the amount of work is huge. If you do a few of them the first would make the rest much easier.