Move thinkscript label from left to right?

Rojo Grande

Member
VIP
Can the label be placed in the upper right corner vs the upper left?

Edit: problem solved.

I cheated. Because I am a noob to writing code, I edited the study "simple_price", by adding a black label. Then I added it to my chart until I had the other label in the correct position I wanted. I then went and unchecked the show study boxes. I gave it a title of Label_spacer. The reason I used the simple_price study was it was small, and wouldn't slow my computer down noticeably. I'm sure someone could write a code to just add a blank label as a filler.
 

marketstreet

New member
Just an idea - I've only plotted labels in the top left corner, BUT to preserve chart screen real estate I sometimes plot labels in the top left corner of the volume or lower subgraphs. Just make sure that the initial declaration (usually first line of the study) allows for the correct subgraph placement location.

Code:
declare upper;
#or
declare on_volume;
#or
declare lower;

6Cxi8CC.png
 

marketstreet

New member
@marketstreet very cool of using ASCII and extended UNICODE characters in the labels. very creative!
Thank you. I use ToS on Mac OS and could simply copy-and-paste the subscript/superscript numbers & arrows into the AddLabel() text strings in my script, but unfortunately they do not render on Windows or if I unselect ToS' system font.

If anyone reading this has come across this issue and found a solution, I previously posed this question in the forum:
https://usethinkscript.com/threads/...al-characters-into-a-thinkscript-string.2025/
 

greco26

Active member
Just an idea - I've only plotted labels in the top left corner, BUT to preserve chart screen real estate I sometimes plot labels in the top left corner of the volume or lower subgraphs. Just make sure that the initial declaration (usually first line of the study) allows for the correct subgraph placement location.

Code:
declare upper;
#or
declare on_volume;
#or
declare lower;

6Cxi8CC.png
Was wondering which unicode characters you used for the arrows. I can't get TOS to display the proper arrow symbol in the label itself. It shows up properly in the think script AddLabel text string tho. I'm using a Mac so I think it worked with you. Right? I saw your other post about it not working on Windows... Let me know if you have any insight. Thanks!
 

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.
Top