Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # TODAY'S POTENTIAL EARNINGS PLAYS - Shows only stocks with earnings tonight or tomorrow morning
- #
- # Scan tab study that selects stocks with earnings either after the
- # market today or before the market opens tomorrow. To find stocks
- # *without* earnings, see my other thinkScript:
- # Earnings-Free Equities: http://pastebin.com/wZbyXgEZ
- #
- # by: Chris Baker <ChrisBaker97@gmail.com> @ChrisBaker97
- # Latest version maintained at: http://pastebin.com/gC1GJMfB
- # More thinkScripts at: http://pastebin.com/u/ChrisBaker97
- #
- # This thinkScript is designed for use in the Scan tab. Detailed
- # instructions may be found here: http://pastebin.com/wGi1Mvuh
- #
- # This work is licensed under the Creative Commons Attribution-ShareAlike
- # 3.0 Unported License. To view a copy of this license, visit:
- # http://creativecommons.org/licenses/by-sa/3.0/deed.en_US
- #
- # I created this because the default TOS Earnings filter is useless for
- # actually highlighting earnings plays. For example, when set to 2 days,
- # it includes both stocks that already had earnings this morning, as
- # well as those that won't release until tomorrow afternoon.
- #
- # If (for some reason) you want to look further ahead, you may adjust the
- # days input. For example, when set to 2, this will find all stocks having
- # earnings through the market open on the day after tomorrow.
- input days = 1;
- declare once_per_bar;
- plot scan = sum(HasEarnings(EarningTime.AFTER_MARKET),days)[1-days] +
- sum(HasEarnings(EarningTime.BEFORE_MARKET),days)[0-days] > 0;
Add Comment
Please, Sign In to add comment