OPEN-SOURCE SCRIPT

Sahid Strategy v2

816
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. اقرأ المزيد في شروط الاستخدام.