How to text "pivot and number " below the pivot line?

 

Hi all, I'm new on coding.

Below attach is the pivot code and it only show the line.

But I want add the name like Resistance, Support,Pivot and the price below the line.



 "ObjectSetString(chart_ID,name,OBJPROP_TEXT,text); "


And I have seen so much using this, and I actually didn't understand it, what's the "chart_ID" and "name" stand for.

Files:
 
Chart_id for main windown is 0, subwindown >0.In this case, you just set chart_id =0.
Name is object name. It' use to find object when you want change properties( like change text, color...)
Sorry about my english 😅
 
Le Hong Phat:
Chart_id for main windown is 0, subwindown >0.In this case, you just set chart_id =0.
Name is object name. It' use to find object when you want change properties( like change text, color...)
Sorry about my english 😅
Okay, I will try it, thanks for reply😁