OPEN-SOURCE SCRIPT
TOP GAINER V2

The "TOP GAINER" is a custom TradingView indicator designed to identify and trade high-potential momentum stocks, particularly top pre-market gainers with strong hype and volatility. It's tailored for day traders focusing on small-cap, low-float stocks that exhibit explosive price movements, allowing for quick entries and exits to capitalize on short-term pumps. This indicator combines technical signals (MACD, RSI, and EMA) with fundamental filters to spot setups in pre-market and early regular trading hours, ideally on a 5-minute chart for precise timing.
Key Features and How It Works
Scanning for Top Gainers: The indicator targets stocks that are among the day's top pre-market performers. It evaluates criteria like:
Price Range ($2–$20): Focuses on affordable stocks where you can buy a large number of shares with limited capital. Lower-priced stocks often have higher volatility, enabling them to double, triple, or more in a single session due to hype-driven momentum.
Pre-Market Gain (≥20%): Identifies stocks with significant upside from the pre-market open (4:00 AM ET), signaling strong early interest and potential for continuation.
High Volume (≥500,000 shares from pre-market open): Ensures liquidity and confirms genuine hype, as elevated pre-market volume often precedes big moves at market open.
Small Market Cap (<$500M): Prioritizes small-cap companies, which are more prone to rapid price swings from news, catalysts, or retail frenzy compared to large caps.
Low Float (<50M shares): Low-float stocks have fewer shares available for trading, making them susceptible to sharp rallies when demand surges (e.g., from social media buzz or short squeezes).
These criteria are displayed in a real-time table on the chart for quick scanning—green checkmarks (✅) indicate a match, red crosses (❌) show failures, and "N/A" appears if data is unavailable (e.g., for non-stocks).
Entry Signals (Buy Opportunities): Once a stock meets the filters, the indicator watches for bullish momentum during pre-market or at market open:
EMA Exit (default enabled): Sells when price crosses below a 40-period EMA (orange line), signaling a potential trend reversal. STRONGLY RECOMMEND TURNING THIS OFF
MACD Exit (default enabled, now using standard line/signal crossunder): Sells on a bearish MACD crossover for momentum-based exits.
Plots orange (EMA) or red (MACD) downward triangles above the bar for exits.
Built-in alerts notify you of buy and sell signals in real-time.
Why This Strategy?
This indicator is built for "hype trading" on volatile small-caps, where pre-market scanners highlight gappers, and the tool helps time entries post-open (e.g., on 5-min charts) to catch breakouts. Small floats and caps amplify moves— a 20%+ gainer with high volume can surge 50–200% intraday due to supply/demand imbalances. The $2–$20 range keeps it accessible: with $1,000, you could buy 500 shares of a $2 stock, turning a $1 gain into $500 profit. It's not for long-term investing but for scalping or swinging on daily catalysts like earnings, news, or memes.
Usage Tips
This tool streamlines spotting and trading "lotto plays" while providing visual and alert-based discipline for entries/exits.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.