Chart Bubbles on Slopes

545318

New member
Im having an issue with an indicator that uses debug to post a chart bubble with a number likely the angle and its aggresiveness related to price.


The snippet of the working bubble is this :

AddChartBubble(debug && bn == h2bn, RESISTANCE, slope(h1bn, h1, bn, h), GlobalColor("Short_Color"));

The code is riddled with hidebubble and hidetitle on each plot

I would like an example of a addchartbubble that works using the the selected function of slope without it requiring debug labeled "resistance" ive tried everything and nothing seems to work, removing all those instances of hide title or bubble, ive tried it all, im asking here as the final resort.

Note that addchartbubble is the only plot that works on the code nothing else ive tried posts on the indicator.


E
:
 
Solution
Im having an issue with an indicator that uses debug to post a chart bubble with a number likely the angle and its aggresiveness related to price.


The snippet of the working bubble is this :

AddChartBubble(debug && bn == h2bn, RESISTANCE, slope(h1bn, h1, bn, h), GlobalColor("Short_Color"));

The code is riddled with hidebubble and hidetitle on each plot

I would like an example of a addchartbubble that works using the the selected function of slope without it requiring debug labeled "resistance" ive tried everything and nothing seems to work, removing all those instances of hide title or bubble, ive tried it all, im asking here as the final resort.

Note that addchartbubble is the only plot that works on the code nothing else...
Im having an issue with an indicator that uses debug to post a chart bubble with a number likely the angle and its aggresiveness related to price.


The snippet of the working bubble is this :

AddChartBubble(debug && bn == h2bn, RESISTANCE, slope(h1bn, h1, bn, h), GlobalColor("Short_Color"));

The code is riddled with hidebubble and hidetitle on each plot

I would like an example of a addchartbubble that works using the the selected function of slope without it requiring debug labeled "resistance" ive tried everything and nothing seems to work, removing all those instances of hide title or bubble, ive tried it all, im asking here as the final resort.

Note that addchartbubble is the only plot that works on the code nothing else ive tried posts on the indicator.

you will have to please provide more information, before someone can help you.
if you paid for your indicator , i understand if you don't want to share it.
if you didn't pay for it, just share it, in a post, in a code window , click the </> icon.

there is no way anyone can help, because you didn't post your code, so we don't know what you are talking about.

your bubble code line looks correct. but we have no idea of what the values are in those variables, so we don't know what it is doing, because you didn't post your code.

hidebubble() and hidetitle() have nothing to do with chartbubbles. they alter plot variable characteristics.

there is no slope function. what you have is a sub script that exists only in your study. and because you didn't post your code, we have no idea what it is. somewhere there is some code that starts like this,
script slope {

debug is just a variable in your study, that partially controls when the bubble is displayed.
the first parameter in addchartbubble() is when to show the bubble, during which bars.


make another post.
post your code.
tell what it does and what you want it to do.
tell us a stock you are looking at, and what time frame you have the chart set to.


here are some links to look at. copy the examples, load them.
disable some of the code by putting a # in front of a code line, and see what changes on the chart. that will help to show you what each code line does.
https://tlc.thinkorswim.com/center/reference/thinkScript/Functions/Look---Feel/AddChartBubble
https://tlc.thinkorswim.com/center/reference/thinkScript/Functions/Look---Feel/HideBubble
https://tlc.thinkorswim.com/center/reference/thinkScript/Functions/Look---Feel/HideTitle
 
Solution

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
387 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