OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
Hafnium

Regular
2525
Posts: 74

Joined: 1/1/2004
Location: Fairfax, VA

User Profile
 
Subject : RE: Omniscan to filter out sector / industry group
Posted : 3/4/2021 3:07 PM
Post #47947 - In reply to #47928

Tony / Jim

I was trying to develop a scan last year that would only allow the top 3 ranked sectors to download. I never got the scan/indicator to work right ( I am not a programmer). If anyone figures out how to do that, I would be appreciative... However I did figure out how to manipulate Zack group downloads (its not exact and seems to miss a stock or to, but it works fairly well).

To only let Energy Stocks through, use
GetClose("SECTOR") = GetClose("ZG012")

To only allow all Non Energy Stocks to pass use
GetClose("SECTOR") <> GetClose("ZG012")

Give it a try and see if it meets your needs.

Deleting message 47947 : RE: Omniscan to filter out sector / industry group


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.