OPEN-SOURCE SCRIPT
IndicatorNeo_Support_Resistance_Alerts

## IndicatorNeo_Support_Resistance_Alerts
IndicatorNeo_Support_Resistance_Alerts is a breakout-focused TradingView indicator that identifies confirmed support and resistance levels using pivot highs and pivot lows. It helps traders monitor potential long and short breakout opportunities while providing structured alert messages containing the entry, stop-loss, and take-profit levels.
### Key Features
- Automatically detects support from confirmed pivot lows.
- Automatically detects resistance from confirmed pivot highs.
- Filters nearby levels to reduce chart noise and repeated level updates.
- Supports two minimum-distance calculation methods:
- Percentage-based distance
- ATR-based distance using `ta.atr(14) × ATR Multiplier`
- Displays support and resistance levels as extended horizontal lines.
- Generates long signals when price crosses above the latest resistance.
- Generates short signals when price crosses below the latest support.
- Uses confirmed bar-close signals to reduce intrabar noise.
- Calculates stop-loss and take-profit levels using ATR-based price distance.
- Provides independent Stop and Target multipliers.
- Supports machine-readable alert messages for automation and external systems.
### Alert Format
Long signal:
```
signal=long | entry=200.5 | stop=195.5 | target=210.5
```
Short signal:
```
signal=short | entry=200.5 | stop=205.5 | target=195.5
```
### How It Works
A support or resistance level is accepted only when the detected pivot is sufficiently far from the latest opposing level. The minimum distance can be calculated using either a percentage threshold or an ATR-based threshold.
When a confirmed candle closes across the latest resistance, the indicator generates a long signal. When a confirmed candle closes below the latest support, it generates a short signal.
Stop-loss and take-profit distances are based on:
```
ATR Distance = ta.atr(14) × ATR Multiplier
```
The configured Stop Multiplier and Target Multiplier independently scale the stop-loss and take-profit distances.
### Important Notes
This indicator is designed to detect breakout conditions and calculate reference risk levels. It does not place, manage, or close broker orders. Traders should combine the signals with their own market analysis, risk management, and trading plan. Past performance does not guarantee future results.
IndicatorNeo_Support_Resistance_Alerts is a breakout-focused TradingView indicator that identifies confirmed support and resistance levels using pivot highs and pivot lows. It helps traders monitor potential long and short breakout opportunities while providing structured alert messages containing the entry, stop-loss, and take-profit levels.
### Key Features
- Automatically detects support from confirmed pivot lows.
- Automatically detects resistance from confirmed pivot highs.
- Filters nearby levels to reduce chart noise and repeated level updates.
- Supports two minimum-distance calculation methods:
- Percentage-based distance
- ATR-based distance using `ta.atr(14) × ATR Multiplier`
- Displays support and resistance levels as extended horizontal lines.
- Generates long signals when price crosses above the latest resistance.
- Generates short signals when price crosses below the latest support.
- Uses confirmed bar-close signals to reduce intrabar noise.
- Calculates stop-loss and take-profit levels using ATR-based price distance.
- Provides independent Stop and Target multipliers.
- Supports machine-readable alert messages for automation and external systems.
### Alert Format
Long signal:
```
signal=long | entry=200.5 | stop=195.5 | target=210.5
```
Short signal:
```
signal=short | entry=200.5 | stop=205.5 | target=195.5
```
### How It Works
A support or resistance level is accepted only when the detected pivot is sufficiently far from the latest opposing level. The minimum distance can be calculated using either a percentage threshold or an ATR-based threshold.
When a confirmed candle closes across the latest resistance, the indicator generates a long signal. When a confirmed candle closes below the latest support, it generates a short signal.
Stop-loss and take-profit distances are based on:
```
ATR Distance = ta.atr(14) × ATR Multiplier
```
The configured Stop Multiplier and Target Multiplier independently scale the stop-loss and take-profit distances.
### Important Notes
This indicator is designed to detect breakout conditions and calculate reference risk levels. It does not place, manage, or close broker orders. Traders should combine the signals with their own market analysis, risk management, and trading plan. Past performance does not guarantee future results.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
PUSH(Persist-Until-Success-Happens)
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
PUSH(Persist-Until-Success-Happens)
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.