OPEN-SOURCE SCRIPT
ASK Screener by Ashpreet

The ASK Indicator is a custom-built breakout and trend continuation system designed for swing traders seeking high-probability entries with strong risk-reward ratios. Built using a combination of moving averages, momentum filters, volume confirmation, and price structure, this indicator helps identify stocks poised for explosive moves.
It uses three key moving averages: the 44-period SMA (medium trend), 20-period DEMA (short-term strength, custom-coded), and 50-period WEMA (institutional trendline). Trades are only triggered when the price is above 50 WEMA, and the 20 DEMA is above the 44 SMA.
Momentum is confirmed using RSI(14) within a healthy zone of 40–60, ensuring the stock is not overbought or oversold. To focus on breakout candidates, the stock must be trading within 10% of its 52-week high, and the weekly candle range must be under 10%, signaling compression before expansion.
A valid ASK Signal occurs when these conditions are met along with a breakout above the previous day’s high and volume exceeding 1.5× the 20-day average. Once triggered, the indicator auto-plots the stop-loss (1× ATR) and two profit targets: 1:2 (TP1) and 1:4 (TP2).
Additionally, the system detects a narrow range setup, where the last 3 daily candles are inside the previous 3-day range — a powerful consolidation signal. Alerts for both ASK entries and narrow ranges are included.
This system is ideal for positional and short-term swing traders who want to combine structure, momentum, and volume in one powerful tool.
It uses three key moving averages: the 44-period SMA (medium trend), 20-period DEMA (short-term strength, custom-coded), and 50-period WEMA (institutional trendline). Trades are only triggered when the price is above 50 WEMA, and the 20 DEMA is above the 44 SMA.
Momentum is confirmed using RSI(14) within a healthy zone of 40–60, ensuring the stock is not overbought or oversold. To focus on breakout candidates, the stock must be trading within 10% of its 52-week high, and the weekly candle range must be under 10%, signaling compression before expansion.
A valid ASK Signal occurs when these conditions are met along with a breakout above the previous day’s high and volume exceeding 1.5× the 20-day average. Once triggered, the indicator auto-plots the stop-loss (1× ATR) and two profit targets: 1:2 (TP1) and 1:4 (TP2).
Additionally, the system detects a narrow range setup, where the last 3 daily candles are inside the previous 3-day range — a powerful consolidation signal. Alerts for both ASK entries and narrow ranges are included.
This system is ideal for positional and short-term swing traders who want to combine structure, momentum, and volume in one powerful tool.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.