OPEN-SOURCE SCRIPT
ASK Indicator 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.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.