Join useThinkScript to post your question to a community of 21,000+ developers and traders.
input show_bubbles = yes;
def current = !isnan(close) and isnan(close[-1]);
AddChartBubble(show_bubbles and current, P32, Round(P32), color.dark_orange, no);
AddChartBubble(show_bubbles and current, P40, Round(P40), color.light_green, yes);
def x = !isnan(close[-50]) and isnan(close[-51]);
def bar = BarNumber();
def BubbleX = bar == HighestAll(bar);
AddChartBubble(BubbleX, RTHo, "RTH", Color.GRAY, 0);
def Yesterday = GetDay() == GetLastDay() - 1;
def BubbleLocation = !yesterday and yesterday[1];
AddChartBubble(BubbleLocation, prevHigh, "Prev High", Color.DARK_GRAY, no);
Start a new thread and receive assistance from our community.
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.
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.