Watchlist Columns In Stock Hacker Scan (scanner)


Active member
I asked in another thread if it was possible to add color to the scanner results, it was said that you can't modify the program like that, then I started to google for some scripts , then I came across paid studies that looked expensive and I was debating the idea of purchasing one of them to find out how they added color to the scanner results, and then I came across this thread.

I'm interested in adding color to quickly see where the MDA lines are for each stock.
Last edited by a moderator:
@Mr_Wheeler You can't break the app by trying ;)
If your question is can you add your watchlist columns to the Scan Hacker. The answer would be yes.

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Struggling with AssignBackgroundColor for a watchlist column to use in the Stock Hacker scanner
c_Percent_Dif_MDA("avg1 type" = "WEIGHTED", "avg2type" = "WEIGHTED", "avg1 length" = 9, "avg2 length" = 50)."percentDiff";

AssignBackgroundColor(if "avg1 length" above "avg2 length" then (CreateColor(0, 102, 0)) else color.light_GRAY);
Last edited by a moderator:
c_Percent_Dif_MDA is not a ToS defined study.
You need to provide a def statement before you can reference it in your assignment of color
Last edited:
Here are the watchlist columns that you referenced in a separate thread. Please share how these help you trade.

MoneyFlow shared watchlist link:
AccumDist shared watchlist link:
Click here for --> Easiest way to load shared links

def MF = reference MoneyFlow() ;
def roundedMF = round(MF / 1000000000,2) ;

AddLabel(yes, roundedMF + "mil");
if MF is less than 0 then else;
def AD = reference AccumulationDistribution() ;
plot AccumDist = round(AD,1) ;

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
155 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.