CarbonStation Score Column For ThinkOrSwim

Adeodatus

Active member
Plus
mod note:
This indicator highlights the stocks that institutions are most likely to be accumulating.
Institutional money typically flows into stocks leading their sector with strong relative strength, healthy volume, expanding price action, and established trends.




This in one for your watch list, to score between 1 and 6, and change the color to the background on the column.
Its weighed by Hot sector, leader, accumulation, Volume Ignition, expansion, and trend. Enjoy!

Easy viewing of the dominating stocks in your watch list.

2026-07-20-watchlista.png


Code:
# CARBON STATION SCORE COLUMN
# *easily placed into watchlist column*
# CarbonStation Suite series, 7/2026


def xle = close("XLE");
def spy = close("SPY");

def sectorRS = xle / spy;
def sectorHot = sectorRS > Average(sectorRS, 20);

def stockRS = close / xle;
def leader = stockRS > Average(stockRS, 20);

def upVol = if close > close[1] then volume else 0;
def downVol = if close < close[1] then volume else 0;
def accDist = Sum(upVol - downVol, 20);
def accumulation = accDist > 0;

def volAvg = Average(volume, 30);
def zvr = volume / volAvg;
def volumeIgnition = zvr > 1.5;

def tr = TrueRange(high, close, low);
def trAvg = Average(tr, 14);
def expansion = tr > trAvg * 1.2;

def trend = close > Average(close, 20);

def score =
    (if sectorHot then 1 else 0) +
    (if leader then 1 else 0) +
    (if accumulation then 1 else 0) +
    (if volumeIgnition then 1 else 0) +
    (if expansion then 1 else 0) +
    (if trend then 1 else 0);

plot data = score;

AssignBackgroundColor(
    if score >= 6 then Color.RED
    else if score == 5 then Color.YELLOW
    else if score == 4 then Color.GREEN
    else Color.DARK_GRAY
);
 
Last edited by a moderator:

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