OPEN-SOURCE SCRIPT

SMA High & Low V3

201
📌 Summary of Script Functionality
This script is a custom TradingView indicator designed to analyze market trends using SMA (Simple Moving Averages) and RSI (Relative Strength Index). It consists of the following key components:

1️⃣ SMA High & SMA Low (from H4 timeframe)
- SMA High is calculated from the highest price.
- SMA Low is calculated from the lowest price.
- These are used as support and resistance levels.

2️⃣ SMA Color Coding (Trend Detection)
- Green → When the closing price is above SMA High → Uptrend
- Red → When the closing price is below SMA Low → Downtrend
- Orange → When the price is between SMA High & SMA Low → Ranging market

3️⃣ RSI Marker (Colored Dots Below the Chart)
- RSI (14) is calculated and displayed as colored markers at the bottom.
- Green Dot → RSI > 50 (indicating bullish momentum)
- Red Dot → RSI < 50 (indicating bearish momentum)

📌 Trading Strategy (Entry & Exit Points)
✅ 1. Buy Entry (Long Position)
- Price is above SMA High (SMA turns green)
- RSI > 50 (Green dots appear below the chart)
- Enter a Buy trade when the price pulls back near SMA High and shows a reversal candlestick pattern.

✅ 2. Sell Entry (Short Position)
- Price is below SMA Low (SMA turns red)
- RSI < 50 (Red dots appear below the chart)
- Enter a Sell trade when the price retraces near SMA Low and shows a reversal candlestick pattern.

✅ 3. No Trade Zone (Avoid Trading)
- If SMA is orange (price is between SMA High & SMA Low)
- RSI is unclear → Wait for a breakout before entering a trade.

免責聲明

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