OPEN-SOURCE SCRIPT

SET Buy/Sell Signal (MACD + RSI + MA)

168
📈 SET Buy/Sell Signal (MACD + RSI + Trend Filter)
Pine Script®

An intelligent trading tool for Thai stock investors who want clear and reliable buy/sell signals. Designed specifically for SET stocks, this indicator combines three popular and proven technical tools:

🔍 What It Uses:
✅ MACD Crossover: Captures momentum shifts with fast/slow EMA crossovers

✅ RSI Filter: Avoids buying when the market is overbought or selling when oversold

✅ Trend Confirmation (MA): Confirms signals only when price is aligned with the broader trend

📊 How It Works:
BUY Signal appears when:

MACD crosses above its signal line

RSI is below 70 (not overbought)

Price is above the 50-period moving average (uptrend confirmation)

SELL Signal appears when:


MACD crosses below its signal line

RSI is above 30 (not oversold)

Price is below the 50-period moving average (downtrend confirmation)

📌 Features:
Visual buy/sell markers on chart

Adjustable parameters for MACD, RSI, and MA

Clean integration for swing or trend traders on the Thai stock market (SET)

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。