Can you scan from a Custom Quote Formula?

KajunDC12

New member
I've found a CAHOLD CBLOHD watchlist column
https://usethinkscript.com/threads/...hen-and-else-double-vs-class.5195/#post-35559
that I have imported. It seems to work well in the watchlist on the stocks I am currently watching. Is there a way for me to use this to perform a custom scan of stocks using the Custom Quote Formula to get a list of stocks I'm not already following?

Thanks - new to this but learning quickly.
 
Last edited by a moderator:
Solution
I've found a CAHOLD CBLOHD watchlist column
https://usethinkscript.com/threads/...hen-and-else-double-vs-class.5195/#post-35559
that I have imported. It seems to work well in the watchlist on the stocks I am currently watching. Is there a way for me to use this to perform a custom scan of stocks using the Custom Quote Formula to get a list of stocks I'm not already following?

Thanks - new to this but learning quickly.
For scan above, stuff this in your scanner:
Ruby:
(close > high[1] and low[1] < low[2]) or (close > high[1] and low[1] > low[2] and high[1] < high[2]) or (close > high[2] and close[1] < high[2])
For scan below:
Ruby:
(close < low[1] and high[1] > high[2]) or...
I've found a CAHOLD CBLOHD watchlist column
https://usethinkscript.com/threads/...hen-and-else-double-vs-class.5195/#post-35559
that I have imported. It seems to work well in the watchlist on the stocks I am currently watching. Is there a way for me to use this to perform a custom scan of stocks using the Custom Quote Formula to get a list of stocks I'm not already following?

Thanks - new to this but learning quickly.
For scan above, stuff this in your scanner:
Ruby:
(close > high[1] and low[1] < low[2]) or (close > high[1] and low[1] > low[2] and high[1] < high[2]) or (close > high[2] and close[1] < high[2])
For scan below:
Ruby:
(close < low[1] and high[1] > high[2]) or (close < low[1] and high[1] < high[2] and low[1] > low[2]) or (close < low[2] and close[1] > low[2])
 
Last edited:
Solution
For scan above, stuff this in your scanner:
Ruby:
(close > high[1] and low[1] < low[2]) or (close > high[1] and low[1] > low[2] and high[1] < high[2]) or (close > high[2] and close[1] < high[2])
For scan below:
Ruby:
(close < low[1] and high[1] > high[2]) or (close < low[1] and high[1] < high[2] and low[1] > low[2]) or (close < low[2] and close[1] > low[2])
How do you put this into the scanner on Think or Swim? #noob here
 
How do you put this into the scanner on Think or Swim? #noob here
sure,

1. click on SCAN in the menu at the top of your chart
2. click on Add filter
3. click on Study
vYBMk9Z.png

A new line will appear
4. click on the pencil icon at the end of the filter
A new window will appear
5. click on the thinkScript Editor tab
6. delete any code already in the window
7. paste your code into the window
8. click ok
xIqpA0v.png
 
Last edited:
sure,

1. click on SCAN in the menu at the top of your chart
vYBMk9Z.png

2. click on Add filter
3. click on Study
xIqpA0v.png

A new line will appear
4. click on the pencil icon at the end of the filter
A new window will appear
5. click on the thinkScript Editor tab
6. paste your code into the window
7. click ok
Thank you so much! I think steps 2 and 3 I was missing. Eventually I managed to get it in there somehow. Quite a cool scanner!!
 

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