OPEN-SOURCE SCRIPT

Sahid Strategy v2

1 226
This script identifies potential buy/sell signals using:

Pivot Points - Detects swing highs/lows (price reversals)

Confirmation Filters - Reduces false signals using:

RSI (momentum)

Moving Average (trend direction)

Optional MACD (trend confirmation)

Key Features
Signal Type Trigger Conditions
BUY - Price makes a swing low (pivot)
Copy
- RSI ≤ 30 (oversold)
- Price above trend MA
- MACD bullish (optional) |
| SELL | - Price makes a swing high (pivot)
- RSI ≥ 70 (overbought)
- Price below trend MA
- MACD bearish (optional) |

Visual Signals
Green "BUY" labels below price bars

Red "SELL" labels above price bars

Purple trend line (20-period EMA/SMA)

Orange/blue circles showing raw pivot points

Optional Tools
Debug Table (top-right): Shows real-time:

RSI value

Price vs MA position

MACD status

Alerts - Triggers audible/visual notifications

Customization
Adjust in settings:

Pivot sensitivity (left/right bars)

RSI levels (30/70 by default)

MA type/length (20-period EMA/SMA)

Toggle MACD filter on/off

Best For: Swing trading in trending markets (1H-4H timeframes). Signals appear faster than classic pivot strategies but still require confirmation from other analysis tools.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.