OPEN-SOURCE SCRIPT
Interval Price Alerts

Interval Price Alerts
A versatile indicator that creates horizontal price levels with customizable alerts. Perfect for tracking multiple price levels simultaneously without having to create individual horizontal lines manually.
Features:
• Create evenly spaced price levels between a start and end price
• Customizable price interval spacing
• Optional price labels with flexible positioning
• Alert capabilities for both price crossovers and crossunders
• Highly customizable visual settings
Settings Groups:
1. Price Settings
• Start Price: The lower boundary for price levels
• End Price: The upper boundary for price levels
• Price Interval: The spacing between price levels
2. Line Style
• Line Color: Choose any color for the price level lines
• Line Style: Choose between Solid, Dashed, or Dotted lines
• Line Width: Adjustable from 2-4 pixels (optimized for opacity)
• Line Opacity: Control the transparency of lines (0-100%)
3. Label Style
• Show Price Labels: Toggle price labels on/off
• Label Color: Customize label text color
• Label Size: Choose from Tiny, Small, Normal, or Large
• Label Position: Place labels on Left or Right side
• Label Background: Set the background color
• Background Opacity: Control label background transparency
• Text Opacity: Adjust label text transparency
4. Alert Settings
• Alert on Crossover: Enable/disable upward price cross alerts
• Alert on Crossunder: Enable/disable downward price cross alerts
Usage Tips:
• Great for marking key price levels, support/resistance zones
• Useful for tracking multiple entry/exit points
• Perfect for scalping when you need to monitor multiple price levels
• Ideal for pre-market planning and level setting
Notes:
• Line width starts at 2 for optimal opacity rendering
• Labels can be fully customized or hidden completely
• Alert messages include the symbol and price level crossed
A versatile indicator that creates horizontal price levels with customizable alerts. Perfect for tracking multiple price levels simultaneously without having to create individual horizontal lines manually.
Features:
• Create evenly spaced price levels between a start and end price
• Customizable price interval spacing
• Optional price labels with flexible positioning
• Alert capabilities for both price crossovers and crossunders
• Highly customizable visual settings
Settings Groups:
1. Price Settings
• Start Price: The lower boundary for price levels
• End Price: The upper boundary for price levels
• Price Interval: The spacing between price levels
2. Line Style
• Line Color: Choose any color for the price level lines
• Line Style: Choose between Solid, Dashed, or Dotted lines
• Line Width: Adjustable from 2-4 pixels (optimized for opacity)
• Line Opacity: Control the transparency of lines (0-100%)
3. Label Style
• Show Price Labels: Toggle price labels on/off
• Label Color: Customize label text color
• Label Size: Choose from Tiny, Small, Normal, or Large
• Label Position: Place labels on Left or Right side
• Label Background: Set the background color
• Background Opacity: Control label background transparency
• Text Opacity: Adjust label text transparency
4. Alert Settings
• Alert on Crossover: Enable/disable upward price cross alerts
• Alert on Crossunder: Enable/disable downward price cross alerts
Usage Tips:
• Great for marking key price levels, support/resistance zones
• Useful for tracking multiple entry/exit points
• Perfect for scalping when you need to monitor multiple price levels
• Ideal for pre-market planning and level setting
Notes:
• Line width starts at 2 for optimal opacity rendering
• Labels can be fully customized or hidden completely
• Alert messages include the symbol and price level crossed
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.