Y Axis Bubble

CaptJack

New member
Hello Fellow Traders. I was hoping someone could help me here. I am writing a study with a lot of plots that turn off and on depending on what the market is doing. Every plot leaves a bubble from the last time it was running on the Y Axis. Is there anyway I can have just the currently running plots creating a bubble on the Y Axis? I know you generally turn off the bubbles with Plot.HideBubble(); but I want the current ones on.

Thanks in advance for your help.

OPYAnai.jpg
 
It's a long code that doesn't work successfully yet, but here is a small part of it that causes some of the y-axis mess.

Code:
#Bull Zone 1
plot Up1S = if Tier2Bull  then Exp15 else Double.NaN;
Up1S.SetPaintingStrategy (PaintingStrategy.DASHES);
Up1S.SetDefaultColor (Color.MAGENTA);
Up1S.SetLineWeight (1);

plot Up1T = if Tier2Bull then ATRupper[1] else Double.NaN;
Up1T.SetPaintingStrategy (PaintingStrategy.DASHES);
Up1T.SetDefaultColor (Color.CYAN);
Up1T.SetLineWeight (2);

plot up1B = ((Up1t - Up1S) * .45) + Up1S;
Up1B.SetPaintingStrategy (PaintingStrategy.DASHES);
Up1B.SetDefaultColor (Color.white);
Up1B.SetLineWeight (2);

#Bull Zone 2
plot Up2S = if Tier3Bull then ATRupper else Double.NaN;
Up2S.SetPaintingStrategy (PaintingStrategy.DASHES);
Up2S.SetDefaultColor (Color.MAGENTA);
Up2S.SetLineWeight (1);

plot Up2T = if Tier3Bull then ATRZone2UP[1] else Double.NaN;
Up2T.SetPaintingStrategy (PaintingStrategy.DASHES);
Up2T.SetDefaultColor (Color.CYAN);
Up2T.SetLineWeight (2);

plot Up2B = ((Up2t - Up2S) * .6) + Up2S;
Up2B.SetPaintingStrategy (PaintingStrategy.DASHES);
Up2B.SetDefaultColor (Color.white);
Up2B.SetLineWeight (2);


This is basically listing requirements for six plots to show up. The three Bull Zone 2 plots will paint and turn off then the three Bull Zone 1 plots will paint and turn off, but no matter what they leave bubbles on the y-axis. All I am trying to do is limit the Y Axis bubbles to the plots currently painting.

IMGUR looks different from your tutorial now. There's no "Share Options" anymore. Just embed and the insert image doesn't like the link they gave me. I'm trying to follow the rules. Let me know if this is enough. Thanks!
 

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