Sizing & Moving Labels

DAB

New member
Hello,

I am trying to find a script that allows me to size a label..extend width, perhaps? I know that I can remove any inner text. What if I wanted to remove the inner text of a label and have just a label defined by size?

Hmmm....

Thanks,

DAB
 
Solution
@DAB The TOS platform does not have a 'script' or any other customizing techniques to specify the 'size of a label' or to move labels to other places on the chart.
The work-around most seen used by posters is using the addition/subtraction of blank spaces to position labels that run along the top of a chart so it doesn't overlap crucial chart data.

In answer to your question: yes, you can remove text and adjust the size of your label with blank spaces but no, there is no script syntax available to code the size of a label. Also, the ToS platform does not allow us to specify placement of labels. Labels are always placed in the upper-left hand corner of the chart.
@DAB The TOS platform does not have a 'script' or any other customizing techniques to specify the 'size of a label' or to move labels to other places on the chart.
The work-around most seen used by posters is using the addition/subtraction of blank spaces to position labels that run along the top of a chart so it doesn't overlap crucial chart data.

In answer to your question: yes, you can remove text and adjust the size of your label with blank spaces but no, there is no script syntax available to code the size of a label. Also, the ToS platform does not allow us to specify placement of labels. Labels are always placed in the upper-left hand corner of the chart.
 
Last edited:
Solution
Is there a way to move a custom code Label that display on my Chart from the Left to the Right so that the code will display on the right side?


CURRENT CODE IN PLACE
input limit = 0.09;
def price = close(priceType = PriceType.LAST);
AddLabel(yes, Concat("PRICE: ", price), if price > price[1] then Color.LIGHT_GREEN else if price < price[1] then Color.DOWNTICK else Color.LIGHT_GRAY);


Screenshot-2021-09-16-072344.png
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
298 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top