• Get $40 off VIP by signing up for a free account! Sign Up

Moving Average Labels


I'm trying to find a way to make labels or bubbles appear over the MA lines. Color-coding the lines just isn't enough for me. The best I've been able to figure out so far is to right click the line and it will hint to me there which MA it is.

Any known scripts that will provide a label/bubble over the MA?

The problem is, my MA line colors are not 100% consistent across my different Study Sets. So as I'm switching back and forth between study sets throughout the day, I lose track of what color is what.

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

I would def try to keep you MA color's the same with each chart for consistency sake

will save you a lot of headaches in the long run.

i havent seen anything that will plot a bubble or label above the MA line.

There are these labels


and my personal script


hope one of these helps


Would you happen to know how to cut the labels down to 2 decimal place? I added the above labels and they are displaying 3-4 decimal places.
Thanks in advance
I use Round(price, 2) all the time in strategies because in TOS we can't place orders with prices beyond two decimal places for Stocks or Options... 💡
Where do you insert that? I am pretty new to scripting and where ever I enter that, it seems to makes the code invalid.
You would use it anywhere you are trying to display or use whatever price you are working with... It could be a Plot, a, Alert, a Chart Bubble, or within the script code... Remember, price is whichever price you are using, whether Open, High, Low, Close, mvgAvg, or whatever... Did you review the Round(), RoundDown(), and RoundUp() functions...??? Remember, the Thinkscript Learning Center is your friend...

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

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