

Kotak
Stockshaala
Chapter 2 | 2 min read
Smart Alerts: Crossovers, Breakouts, and Custom Conditions
Setting a basic price alert is useful, but TradingView lets you do a lot more. You can create smart alerts that notify you based on specific market events like:
- Moving average crossovers
- Breakouts from support/resistance
- Custom indicator-based conditions
These alerts are more powerful because they focus on signals, not just price.
1. Crossover Alerts (Example: Moving Averages)
A crossover is when two lines cross each other, usually used with indicators like moving averages or MACD.
Example:
You use:
- 9 EMA (fast-moving average)
- 21 EMA (slow-moving average)
You want to be alerted when 9 EMA crosses above 21 EMA. This could signal a buy opportunity.
How to Set It:
- Add both EMAs to your chart
- Click the “Alerts” (Alarm Clock) icon
- Click “Create Alert”
- Under “Condition”:
o Select ‘9 EMA crossing 21 EMA’ 5. Set your preferred actions (popup, app, etc.) 6. Click Create
Now TradingView will notify you only when a crossover happens, not just when price hits a level.
2. Breakout Alerts (Example: Resistance Level Break)
Let’s say Infosys has been stuck between ₹1,400 and ₹1,500. You want to get notified if it breaks out above ₹1,500.
How to Set It:
- Draw a horizontal line at ₹1,500 using the drawing tools
- Right-click on the line → Select “Add Alert on Horizontal Line”
- Choose "Crossing Up"
- Click Create
This is helpful for:
- Breakouts from consolidation
- Support/resistance zones
- Price channels
3. Custom Condition Alerts (Advanced Users)
You can set alerts on:
- Indicator + price combinations
- Custom strategies coded in Pine Scripts
Example:
“Alert me when RSI < 30 and price is above 50 EMA”
This needs either:
- TradingView Premium (for multi-condition alerts)
- Or a custom Pine Scripts™ to define the logic
Once the script is added to the chart:
- Right-click the script → Select “Add Alert on Strategy”
- Choose your custom trigger → Create alert
Summary Table
Crossover Alert | One line crossing another | 9 EMA crossing 21 EMA (trend change) |
Breakout Alert | Price crossing a key level | Stock breaking resistance at ₹1,500 |
Custom Condition | Multiple conditions via Pine Scripts | RSI < 30 & Price > 50 EMA |
Why Use Smart Alerts
- Trade less emotionally: Let the signal come to you
- Act faster: Be the first to catch breakouts or reversals
- Save time: No need to constantly monitor charts
Smart alerts = smarter trading decisions, made with logic instead of guesswork.
Disclaimer: This article is for informational purposes only and does not constitute financial advice. It is not produced by the desk of the Kotak Neo Research Team, nor is it a report published by the Kotak Neo Research Team. The information presented is compiled from several secondary sources available on the internet and may change over time. Investors should conduct their own research and consult with financial professionals before making any investment decisions. Read the full disclaimer here.
Investments in securities market are subject to market risks, read all the related documents carefully before investing. Brokerage will not exceed SEBI prescribed limit. The securities are quoted as an example and not as a recommendation. SEBI Registration No-INZ000200137 Member Id NSE-08081; BSE-673; MSE-1024, MCX-56285, NCDEX-1262.
Recommended Courses for you
Beyond Stockshaala
Discover our extensive knowledge center
Learn, Invest, and Grow with Kotak Videos
Explore our comprehensive video library that blends expert market insights with Kotak's innovative financial solutions to support your goals.














