OPEN-SOURCE SCRIPT
已更新 Crypto Swing Pro [All-in-One] v2 [R2D2]

1. Introduction
Crypto Swing Pro (CSP) is a professional-grade technical analysis suite designed for high-volatility cryptocurrency markets. It consolidates the top five institutional-grade indicators—RSI, EMAs, OBV, MACD, and Bollinger Bands—into a single overlay.
New in v2.0: The script now includes a fully integrated Alert System. You no longer need to stare at the chart all day. You can set the script to email you or ping your phone exactly when a MACD Cross occurs or when Volatility Squeezes, ensuring you never miss a move.
2. Installation
1. Open TradingView: Go to your chart.
2. Open Pine Editor: Click the tab at the bottom of the screen.
3. Paste Code: Delete existing code and paste the v2.0 script above.
4. Save: Name it CSP [Pro] v2.
5. Add to Chart: Click "Add to Chart".
3. How to Set Up Alerts
This is the most powerful feature of v2.0. You can set alerts for specific conditions without needing to write code.
1. Click the "Alert" Button: Located on the top menu bar of TradingView (looks like an alarm clock).
2. Condition: In the "Condition" dropdown menu, select CSP [Pro] v2.
3. Select Trigger: A second dropdown will appear. Choose the specific signal you want to track:
4. Options: Select "Once Per Bar Close" (Recommended to avoid false signals during the candle fluctuation).
5. Notify: Check "Notify in App" or "Send Email".
6. Create: Click Create. You will now be notified even if you are asleep.
4. The Dashboard (HUD)
The on-screen table gives you an instant "Health Check" of the asset.
Indicator Status Meaning
RSI (14) Green (<30) Oversold. Look for long entries.
Red (>70) Overbought. Look to take profit.
MACD BULLISH Momentum is up.
TREND UPTREND Price is above the 200 EMA (White Line).
VOLATILITY SQUEEZE CRITICAL: Market is coiling. A breakout is coming soon.
VOLUME ACCUMULATION Whales are buying (OBV is rising).
5. Configuration & Visuals
Hover over the indicator name on the chart and click the Settings (Gear) icon.
6. Best Practices
Crypto Swing Pro (CSP) is a professional-grade technical analysis suite designed for high-volatility cryptocurrency markets. It consolidates the top five institutional-grade indicators—RSI, EMAs, OBV, MACD, and Bollinger Bands—into a single overlay.
New in v2.0: The script now includes a fully integrated Alert System. You no longer need to stare at the chart all day. You can set the script to email you or ping your phone exactly when a MACD Cross occurs or when Volatility Squeezes, ensuring you never miss a move.
2. Installation
1. Open TradingView: Go to your chart.
2. Open Pine Editor: Click the tab at the bottom of the screen.
3. Paste Code: Delete existing code and paste the v2.0 script above.
4. Save: Name it CSP [Pro] v2.
5. Add to Chart: Click "Add to Chart".
3. How to Set Up Alerts
This is the most powerful feature of v2.0. You can set alerts for specific conditions without needing to write code.
1. Click the "Alert" Button: Located on the top menu bar of TradingView (looks like an alarm clock).
2. Condition: In the "Condition" dropdown menu, select CSP [Pro] v2.
3. Select Trigger: A second dropdown will appear. Choose the specific signal you want to track:
- [CSP] MACD Buy Signal: Triggers when MACD crosses bullish.
- [CSP] RSI Oversold (<30): Triggers when price is mathematically cheap.
- [CSP] Volatility Squeeze: Triggers when a big move is imminent.
- [CSP] Price Cross Over 200 EMA: Triggers on major trend reversals.
4. Options: Select "Once Per Bar Close" (Recommended to avoid false signals during the candle fluctuation).
5. Notify: Check "Notify in App" or "Send Email".
6. Create: Click Create. You will now be notified even if you are asleep.
4. The Dashboard (HUD)
The on-screen table gives you an instant "Health Check" of the asset.
Indicator Status Meaning
RSI (14) Green (<30) Oversold. Look for long entries.
Red (>70) Overbought. Look to take profit.
MACD BULLISH Momentum is up.
TREND UPTREND Price is above the 200 EMA (White Line).
VOLATILITY SQUEEZE CRITICAL: Market is coiling. A breakout is coming soon.
VOLUME ACCUMULATION Whales are buying (OBV is rising).
5. Configuration & Visuals
Hover over the indicator name on the chart and click the Settings (Gear) icon.
- Toggle Indicators: Uncheck any indicator (like Bollinger Bands or EMA 20) to hide them if you want a cleaner view. The Dashboard will still calculate them in the background.
- Dashboard Position: Move the table to any corner or turn it off entirely if it blocks your price view.
- Color Themes: Adjust the RSI background colors or EMA colors to fit your chart theme (Light/Dark mode).
6. Best Practices
- The "Squeeze" Play: If you get a [CSP] Volatility Squeeze alert, do not enter immediately. Wait for the price to break out of the Bollinger Bands. The squeeze is the "Get Ready" signal; the breakout is the "Go" signal.
- The "Trend" Filter: If the 200 EMA (White Line) is above the price (Downtrend), ignore all "MACD Buy" alerts. Trade with the macro trend, not against it.
發行說明
Updated.開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。