OPEN-SOURCE SCRIPT

Sahid Strategy v2

1 859
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.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.