Custom Watchlist Column for Scalping

TRADERSAM

New member
Hey everyone,
I’ve been using the basic volume column in my watchlist on Thinkorswim and just scrolling through manually to see which stocks look like they’re moving the fastest. It works sometimes — but other times I miss the hottest stock because it doesn’t stand out fast enough in the list. I tried figuring it out on my own with no success and I also tried ChatGPT but honestly ChatGPT can never seem to quite get thinkscript code right.

I’m hoping to build a custom watchlist column that can:

  • Show which stocks have volume that’s climbing rapidly over the last few bars
  • Act as a real-time “heat meter” so I can catch momentum early
  • Use some kind of slope/delta math to track volume acceleration over the last 3–4 bars
  • Be color-coded to help visually spot the top candidates quickly (e.g., red for slowing down, green/yellow/orange for fast climbers)
Here’s the version I’ve started testing(with the help of ChatGPT):

thinkscript
CopyEdit
Code:
def v0 = volume;
def v1 = volume[1];
def v2 = volume[2];
def v3 = volume[3];

def slope1 = v0 - v1;
def slope2 = v1 - v2;
def slope3 = v2 - v3;

def climbSpeed = (slope1 + slope2 + slope3) / 3;

AddLabel(yes, Round(climbSpeed, 0), Color.BLACK);

AssignBackgroundColor(
if climbSpeed < 0 then Color.DARK_RED
else if climbSpeed < 1000 then Color.LIGHT_GREEN
else if climbSpeed < 5000 then Color.GREEN
else if climbSpeed < 10000 then Color.YELLOW
else Color.ORANGE);

The issue is that sometimes it still shows high numbers for stocks that aren’t actually active anymore.

Any ideas on how I can refine this to only show stocks that are currently building volume fast? Or a better approach entirely?

Appreciate any help!
 
Last edited by a moderator:
@TRADERSAM There are many ways to paint candles/bars based on either Momentum and/or Volume... Te simplest method would be to have a lower indicator paint the candles/bars based on Momo generated by TTM_Squeeze or another Momentum indicator, or via one of the many Volume indicators...

I haven't done so but if I were to go such a route I would most likely use my Volume_with_StdDev_Levels indicator to drive the upper Chart... It usually only requires one additional line to the lower indicator to accomplish such a task... Using the basic Momo logic in the lower to control AssignPriceColor() to paint the candles/bars...

Food for thought...
 

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