Scanner construction question

hockeycoachdoug

Active member
2019 Donor
VIP
I have an indicator that puts a red or blue dot above the bar when it closes when it triggers a buy or sell event. I want to make a scan for it which I thought should be pretty simple, but I'm having a time with it. I can't post the code because it's a purchased indicator. When I go to create a "custom" scan, the first two conditions I want are 1. close is greater then or equal to 5. and 2. VolumeAvg().'vol" is greater then or equal to 500000.
Now for the last condition I just want to scan for a blue "buy" or red "sell" dot. In the scanner, I choose "select a condition" and choose study and then find the study I am referencing. The offset is 0 and the only 3 plot options are Buy, Sell, trailstop. I have tried using- buy is equal to, I have tried close equals, close crosses above, etc. Can't figure out what the last line should be. I realize this might be difficult to help me since I am not able to actually show the actual code (it's TOP Swing Trader Pro). Any help or suggestion or what additional info I could provide to help accomplish this. Thanks in advance.
 
I have tried "is true" already, but what do you mean adjusting offset? I want it to signal on the current bar. I can also add the "within "x" days" feature at the end. Do I need to do something with .Nan (not a number) function or something
 
Have you reached out to the author of this purchased indicator...??? It's going to be hit and miss for us to debug code we can't see... If you're on Discord you can reach out to me there... If I debug licensed code for members I delete it upon completion to keep everyone honest... I've been a victim of pirating so I am strict when it comes to copyright...
 

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