Relocate Labels In ThinkOrSwim

jphilli11

Member
I'm wondering if anyone knows how to reposition the labels [ addlabel() not addchartbubble()] on charts. I saw on Jim Shingler's notebook that it supposedly can be done - but I'm failing to understand how to apply these instructions:
[
Tip for moving labels up
There are times when a label interferes with the top of a plotted chart’s data. To avoid that, you can plot a line at the top of the chart at a value above the plots data. The labels will then have their centerline equal to the value of the line.
To make the line invisible, paint it the same color as your background.
]

I'd love to be able to relocate my labels horizontally if this is possible. Thanks in advance for any help!
 

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

I recommend the following: Go to Chart Settings. Select Price axis tab. Set the "Expansion area" boxes to 5% Up and 5% Down. This should keep a single line of labels and the Earnings symbols away from your data. If you have two lines of labels, reset to 10% Up.
 
I recommend the following: Go to Chart Settings. Select Price axis tab. Set the "Expansion area" boxes to 5% Up and 5% Down. This should keep a single line of labels and the Earnings symbols away from your data. If you have two lines of labels, reset to 10% Up.
Great info, thanks! Now, do you know if it's possible to control which line the labels are on? For instance, if i wanted labels 1-3 on the top row and 4-10 on the second row (for grouping purposes).
 
Great info, thanks! Now, do you know if it's possible to control which line the labels are on? For instance, if i wanted labels 1-3 on the top row and 4-10 on the second row (for grouping purposes).
I don't. All I know is that they appear in the order they appear in the study set and one after another. I use quite a few labels and break them up by adding brief titles and coloring the title white (e.g., [AddLabel(yes, "BTD: ", Color.WHITE);].
 
I don't. All I know is that they appear in the order they appear in the study set and one after another. I use quite a few labels and break them up by adding brief titles and coloring the title white (e.g., [AddLabel(yes, "BTD: ", Color.WHITE);].
Yeah, same here. It would be great if we could group and stack them vertically - ive been using a lot more lately and it would be much more organized that way.
[ label ] [ label ] [ label ]
[ label ] [ label ]
[ label ] [ label ] [ label ] [ label ]
Etc.
 
Yeah, same here. It would be great if we could group and stack them vertically - ive been using a lot more lately and it would be much more organized that way.
[ label ] [ label ] [ label ]
[ label ] [ label ]
[ label ] [ label ] [ label ] [ label ]
Etc.
First you can create a blank label as as spacer. this will set them apart:
input blankText = "-----";
defineGlobalColor("Space Color", color.black);
AddLabel(yes, blankText, GlobalColor("Space Color"));
All labels follow one another and you cannot skip to the next line, only wrap.
The other way is to add each group into a separate lower indicator area
https://www.screencast.com/t/Y4zuEDRXL
This screenshot shows labels in the lower indicator areas in two groups and the first has a spacer label in between two labels.
Hope this helps. If you want them on top use a grid with the top grid containing the labels and turn the chart off. If you want them on the side. Use the left or right grid with the chart off and you can adjust the size to get them vertical and use a spacer to separate groups.
https://www.screencast.com/t/qJXxkZHl
Use :
input showPricePlot = no;
hidePricePlot(!showPricePlot);
To turn off the price chart. No indicators or drawings can be on the chart or it will not work.
This should give you lots of options. Enjoy.
 
I'm wondering if anyone knows how to reposition the labels [ addlabel() not addchartbubble()] on charts. I saw on Jim Shingler's notebook that it supposedly can be done - but I'm failing to understand how to apply these instructions:
[
Tip for moving labels up
There are times when a label interferes with the top of a plotted chart’s data. To avoid that, you can plot a line at the top of the chart at a value above the plots data. The labels will then have their centerline equal to the value of the line.
To make the line invisible, paint it the same color as your background.
]

I'd love to be able to relocate my labels horizontally if this is possible. Thanks in advance for any help!
If you use the line technique, it will fail once the chart goes above that level. Using the price expansion area technique will always work. See my other post for more options
 

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
557 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