Code 33 - 3 qts of acceleration (YoY) for EPS, Sales, & MarginsMark Minervini's Code 33 screen, from his "Trade Like a Stock Market Wizard" book, helped him look for potentially powerful growth stocks that have 3 straight quarters of EPS (diluted) + Sales + NPMs growth on a YoY basis. I figured I create and share it as a script because as far as I know, TradingView lacks the ability to screen for fundamental acceleration, which here would be defined as consecutive quarterly growth on a YoY comparison basis (comparing Q1 of 2025 to Q1 of 2024; not comparing Q1 of 2025 to Q4 of 2024).
Acceleration is a trademark for techno-fundamentalists such as Minervini, O'Neil, Weinstein, and the list goes on. Now, you will not only be able to see this on your charts, but you can also use this on the Pine Beta Screener to filter for stocks that meet one or more of the criteria. Just set the filter condition to equal "1".
*A quick note on the code: TradingView doesn't have a native 'Net Profit Margin' identifier that isolates strict Fiscal Quarter (FQ) data without smoothing it into a Trailing Twelve Months (TTM) format. Because true YoY acceleration requires raw quarterly comparisons, I coded the script to manually calculate the exact quarterly margin by dividing FQ Net Income by FQ Total Revenue. This ensures the YoY acceleration signal is 100% accurate to the specific quarter.
I am not a coder by any means but I always wanted to have this available to me so after playing around with Gemini's pro LM, you should be able to see and screen stocks like this going forward. Maybe in the future, I will edit it for aesthetic purposes or add more to allow for even more detailed screening especially for CANSLIM investors like myself. I also made it open-source as well so if you prefer different metrics, it should not be too difficult to take this script into a LM of your choice and make it your own.
Happy trading.
NYSE:ASX
อินดิเคเตอร์ Pine Script®






















