OPEN-SOURCE SCRIPT

IPO MA Start Detector

342
What is this tool?
This indicator is designed specifically for Fresh IPOs and recently listed stocks. Standard indicators like the 50-day or 200-day Moving Averages do not appear on a chart until the stock has traded for enough days. This tool solves that problem by telling you exactly when these key levels will appear.

It visualizes the "birth" of a Moving Average, both in the past and in the future.

Key Features:

Future Forecasting: Projects vertical lines into the future to show exactly when a specific MA (e.g., 50 DMA) will start calculating.

Countdown Timer: Displays a countdown (e.g., "Starts in 12 days") so you don't have to count candles manually.

Historical Start Points: Marks the exact candle where an MA (like the 10 or 20 EMA) first appeared historically.

Clean & Subtle: Uses floating text without heavy background boxes to keep your chart clutter-free.

Dark Mode Optimized: Uses bright, neon colors (Lime, Cyan, Orange) that pop against dark backgrounds.

How it works:
The script calculates the age of the stock (bar count).

If the stock is younger than the required MA length (e.g., only 30 days old), it projects a dashed line to the 50th day.

It anchors a label to that future date, showing you the countdown.

Settings:

Toggle MAs: Turn on/off 10 EMA, 20 EMA, 50 SMA, 100 SMA, or 200 SMA individually.

Label Location: Customize where the future labels appear (Above Price, Below Price, or At Price) to avoid overlapping with candles.

Use Case: Perfect for traders tracking new listings who are waiting for the "20 EMA pullback" or "50 DMA anchor" strategies to become valid.

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.