OPEN-SOURCE SCRIPT

Sahid Strategy v2

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

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.