
Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage
Mean Reversion เป็นกลยุทธ์ที่อิงจากหลักการที่ว่าราคาจะกลับสู่ค่าเฉลี่ยเสมอ Bollinger Bands วัดว่าราคาห่างจากค่าเฉลี่ยเท่าไหร่, Z-Score วัดจำนวน standard deviations จาก mean, Pairs Trading หาคู่หุ้นที่เคลื่อนไหวด้วยกันแล้วเทรดเมื่อ spread ผิดปกติ และ Statistical Arbitrage ใช้ quantitative models เพื่อหา mispricing แบบ systematic
นักเทรดส่วนใหญ่ใช้ momentum/trend following แต่ ตลาดอยู่ใน range 70-80% ของเวลา Mean reversion strategies ทำกำไรจากช่วง range-bound นี้: ซื้อเมื่อราคาต่ำกว่าค่าเฉลี่ยผิดปกติ ขายเมื่อสูงกว่าค่าเฉลี่ยผิดปกติ โดยใช้ statistical tools วัดว่า “ผิดปกติ” มากแค่ไหน
Mean Reversion Concepts
| Concept | คืออะไร |
|---|---|
| Mean | ค่าเฉลี่ยของราคา (SMA, EMA, VWAP) — “fair value” ที่ราคาจะกลับไปหา |
| Standard Deviation | วัดการกระจายตัวของราคารอบค่าเฉลี่ย (ยิ่งสูง = ผันผวนมาก) |
| Overbought | ราคาสูงกว่าค่าเฉลี่ยมากผิดปกติ (> 2 SD) → คาดว่าจะลงกลับ mean |
| Oversold | ราคาต่ำกว่าค่าเฉลี่ยมากผิดปกติ (< -2 SD) → คาดว่าจะขึ้นกลับ mean |
| Half-Life | เวลาที่ราคาใช้กลับมา 50% ของระยะห่างจาก mean (shorter = better for MR) |
| Stationarity | ราคาต้องมี mean-reverting behavior (test ด้วย ADF test) |
Bollinger Bands
| Feature | รายละเอียด |
|---|---|
| คืออะไร | 3 เส้น: Middle (SMA 20), Upper (SMA + 2SD), Lower (SMA – 2SD) |
| %B | (Price – Lower Band) / (Upper – Lower) → 0-1 (0 = at lower, 1 = at upper) |
| Bandwidth | (Upper – Lower) / Middle → วัด volatility (แคบ = low vol, กว้าง = high vol) |
| Squeeze | Bandwidth แคบผิดปกติ → volatility expansion กำลังจะมา (breakout signal) |
| Mean Reversion | Price touches lower band → buy (oversold) | touches upper band → sell (overbought) |
| Walk the Band | Strong trend: price walks along upper/lower band (mean reversion ไม่ work ในกรณีนี้) |
Bollinger Band Strategies
| Strategy | Entry | Exit | Filter |
|---|---|---|---|
| BB Bounce | Price touches lower band + RSI < 30 | Price reaches middle band (SMA 20) | Uptrend (price > SMA 200) |
| BB %B Reversal | %B < 0 (below lower band) | %B > 0.5 (above middle) | ADX < 25 (range market only) |
| Double Bottom at Lower Band | Price makes double bottom at lower band | Upper band or middle band | Volume confirmation on second bottom |
| BB Squeeze Breakout | Bandwidth at 6-month low → breakout direction | Trail stop using middle band | Volume spike on breakout |
Z-Score
| Feature | รายละเอียด |
|---|---|
| Formula | Z = (Price – Mean) / Standard Deviation |
| Z = 0 | ราคาอยู่ที่ค่าเฉลี่ย (fair value) |
| Z > +2 | ราคาสูงกว่าค่าเฉลี่ย 2 SD (overbought — 97.7% probability of reversion) |
| Z < -2 | ราคาต่ำกว่าค่าเฉลี่ย 2 SD (oversold — 97.7% probability of reversion) |
| Entry | Z < -2 → buy (oversold) | Z > +2 → sell (overbought) |
| Exit | Z กลับมาที่ 0 (mean) หรือ Z crosses ±0.5 |
| Lookback | ใช้ 20-60 periods สำหรับ mean + SD calculation |
Pairs Trading
| Step | Action | รายละเอียด |
|---|---|---|
| 1. Find Pairs | หาคู่หุ้นที่ cointegrated | หุ้นใน sector เดียวกัน (e.g., KBANK-BBL, PTT-PTTEP, Coca-Cola-Pepsi) |
| 2. Test Cointegration | Engle-Granger test / Johansen test | Verify ว่า spread เป็น stationary (mean-reverting) |
| 3. Calculate Spread | Spread = Stock A – (hedge ratio × Stock B) | Hedge ratio จาก linear regression |
| 4. Calculate Z-Score | Z-Score ของ spread | Z = (spread – mean) / SD |
| 5. Entry | Z > +2 → short A, long B (spread too wide) | Z < -2 → long A, short B (spread too narrow) |
| 6. Exit | Z กลับมาที่ 0 (spread normalized) | Stop loss: Z > +3 หรือ < -3 (spread diverges further) |
Statistical Arbitrage
| Feature | รายละเอียด |
|---|---|
| คืออะไร | Systematic, quantitative approach ที่ใช้ statistical models หา mispricing ใน basket ของหุ้น |
| Market Neutral | Long + Short เท่ากัน → ไม่มี market risk (กำไรจาก relative mispricing เท่านั้น) |
| Factor Models | ใช้ factors (value, momentum, size, quality) หา expected return → trade residuals |
| PCA (Principal Component Analysis) | ลด dimensions ของ return matrix → หา common factors → trade deviations |
| Holding Period | วัน-สัปดาห์ (short-term mean reversion) |
| Capacity | ต้องเทรดหลายคู่/หลายหุ้นพร้อมกัน (diversification of alpha) |
| Edge | Small edge per trade × many trades × low correlation = consistent returns |
Mean Reversion Filters
| Filter | Purpose | How |
|---|---|---|
| Trend Filter | เทรด MR เฉพาะใน direction ของ trend | Buy oversold only if price > SMA 200 (uptrend) |
| Volatility Filter | หลีกเลี่ยง MR ใน high volatility (trend market) | ADX < 25 หรือ BB bandwidth < threshold |
| Volume Filter | Confirm ว่า oversold/overbought มี volume support | Volume spike at extreme = stronger reversion signal |
| Stationarity Test | Verify ว่า series เป็น mean-reverting | ADF test p-value < 0.05 (reject unit root) |
| Half-Life | ดูว่า reversion เร็วพอที่จะเทรดได้ | Half-life < 20 days = tradeable |
Mean Reversion vs Momentum
| Feature | Mean Reversion | Momentum |
|---|---|---|
| Principle | ราคาจะกลับสู่ค่าเฉลี่ย | ราคาจะเคลื่อนที่ต่อในทิศทางเดิม |
| Best Market | Range-bound (70-80% ของเวลา) | Trending (20-30% ของเวลา) |
| Entry | Buy low (oversold), Sell high (overbought) | Buy high (breakout), Sell low (breakdown) |
| Timeframe | Short-term (days-weeks) | Medium-long term (weeks-months) |
| Win Rate | Higher (60-70%) | Lower (35-45%) |
| Reward:Risk | Lower (1:1 – 1.5:1) | Higher (2:1 – 5:1) |
| Combined | Use momentum for direction + mean reversion for entry timing = best combo | |
ทิ้งท้าย: Mean Reversion = Buy Fear, Sell Greed (Statistically)
Mean Reversion Principle: ราคาจะกลับสู่ค่าเฉลี่ย (works 70-80% of the time in range markets) Bollinger Bands: SMA ± 2SD, %B, bandwidth, squeeze (visual mean reversion tool) Z-Score: (price – mean) / SD → Z > +2 sell, Z < -2 buy, exit at Z = 0 Pairs Trading: find cointegrated pairs → trade spread Z-score → market neutral Stat Arb: systematic, multi-pair, factor-based, market neutral Filters: trend filter (SMA 200), volatility (ADX < 25), stationarity (ADF test), half-life Key: combine momentum (direction) + mean reversion (timing) for best results
อ่านเพิ่มเติมเกี่ยวกับ Momentum Trading ROC RSI และ Options Greeks Delta Gamma ที่ siam2r.com หรือจาก icafeforex.com และ siamlancard.com
อ่านเพิ่มเติม: ราคาทอง Gold Price | ดาวน์โหลด EA ฟรี
อ่านเพิ่มเติม: ปฏิทินข่าว Forex | Smart Money Concept
อ่านเพิ่มเติม: ราคาทอง Gold Price | Panel SMC MT5
อ่านเพิ่มเติม: ราคาทอง Gold Price | Panel SMC MT5
อ่านเพิ่มเติม: ราคาทอง Gold Price | Smart Money Concept
อ่านเพิ่มเติม: สัญญาณเทรดทอง | XM Signal EA
อ่านเพิ่มเติม: เทรด Forex | XM Signal EA
FAQ
Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage คืออะไร?
Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage เป็นหัวข้อสำคัญในวงการเทคโนโลยีที่ช่วยให้การทำงานมีประสิทธิภาพมากขึ้น ไม่ว่าจะเป็นด้าน IT, Network หรือ Server Management
ทำไมต้องเรียนรู้เรื่อง Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage?
เพราะ Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage เป็นทักษะที่ตลาดต้องการสูง และช่วยให้คุณแก้ปัญหาในงานจริงได้อย่างมืออาชีพ การเรียนรู้ตั้งแต่วันนี้จะเป็นประโยชน์ในระยะยาว
Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage เหมาะกับผู้เริ่มต้นไหม?
ได้แน่นอนครับ บทความนี้เขียนให้เข้าใจง่าย เหมาะทั้งผู้เริ่มต้นและผู้มีประสบการณ์ มี step-by-step guide พร้อมตัวอย่างให้ทำตามได้ทันที
ประยุกต์ใช้ Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage กับตลาดจริง
การนำ Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage ไปใช้จริงต้องคำนึงถึงหลายปัจจัย ไม่ใช่แค่ดูจาก theory อย่างเดียว ต้องพิจารณา market condition ปัจจุบันว่าเป็น trending หรือ ranging เพราะบางเทคนิคทำงานดีในตลาด trending แต่ล้มเหลวในตลาด ranging ดังนั้นต้องมี filter ที่ดี เช่น ใช้ ADX วัดว่าตลาดมี trend แข็งแรงไหม ถ้า ADX ต่ำกว่า 20 อาจต้องเปลี่ยนกลยุทธ์
Risk Management สำหรับ Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage
ไม่ว่าเทคนิคจะแม่นแค่ไหน risk management ยังสำคัญที่สุด:
- Risk per trade: ไม่เกิน 1-2% ของพอร์ต
- Risk:Reward: ขั้นต่ำ 1:1.5 ดีกว่า 1:2 ขึ้นไป
- Max daily loss: 3-5% ถ้าถึง = หยุดเทรดวันนี้
- Position sizing: คำนวณ lot size จาก SL distance + risk %
- Correlation: อย่าเปิด position เดียวกันหลายคู่เงิน (double risk)
วิธีทดสอบ Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage ก่อนใช้จริง
- Backtest — ทดสอบย้อนหลัง 3-5 ปี ด้วย TradingView Replay หรือ MT4 Strategy Tester
- Forward test (Demo) — เทรด demo 3 เดือน ดูว่า live results ตรงกับ backtest ไหม
- Small live — เริ่มเทรดจริงด้วย lot size เล็กที่สุด (0.01) 1-2 เดือน
- Scale up — เพิ่ม lot size เมื่อมั่นใจ แต่ไม่เกิน risk rules
เครื่องมือที่แนะนำ
| เครื่องมือ | ใช้สำหรับ | ราคา |
|---|---|---|
| TradingView | วิเคราะห์กราฟ + Backtest | ฟรี |
| MT4/MT5 | เทรดจริง + EA | ฟรี |
| Myfxbook | Track ผลการเทรด | ฟรี |
| ForexFactory | ปฏิทินข่าวเศรษฐกิจ | ฟรี |
อ่านเพิ่มเติม: iCafeForex | XM Signal EA ฟรี | SiamLanCard | Siam2R
ประยุกต์ใช้ Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage กับตลาดจริง
การนำ Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage ไปใช้จริงต้องคำนึงถึงหลายปัจจัย ไม่ใช่แค่ดูจาก theory อย่างเดียว ต้องพิจารณา market condition ปัจจุบันว่าเป็น trending หรือ ranging เพราะบางเทคนิคทำงานดีในตลาด trending แต่ล้มเหลวในตลาด ranging ดังนั้นต้องมี filter ที่ดี เช่น ใช้ ADX วัดว่าตลาดมี trend แข็งแรงไหม ถ้า ADX ต่ำกว่า 20 อาจต้องเปลี่ยนกลยุทธ์
Risk Management สำหรับ Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage
ไม่ว่าเทคนิคจะแม่นแค่ไหน risk management ยังสำคัญที่สุด:
- Risk per trade: ไม่เกิน 1-2% ของพอร์ต
- Risk:Reward: ขั้นต่ำ 1:1.5 ดีกว่า 1:2 ขึ้นไป
- Max daily loss: 3-5% ถ้าถึง = หยุดเทรดวันนี้
- Position sizing: คำนวณ lot size จาก SL distance + risk %
- Correlation: อย่าเปิด position เดียวกันหลายคู่เงิน (double risk)
วิธีทดสอบ Mean Reversion Strategy: Bollinger Bands, Z-Score, Pairs Trading และ Statistical Arbitrage ก่อนใช้จริง
- Backtest — ทดสอบย้อนหลัง 3-5 ปี ด้วย TradingView Replay หรือ MT4 Strategy Tester
- Forward test (Demo) — เทรด demo 3 เดือน ดูว่า live results ตรงกับ backtest ไหม
- Small live — เริ่มเทรดจริงด้วย lot size เล็กที่สุด (0.01) 1-2 เดือน
- Scale up — เพิ่ม lot size เมื่อมั่นใจ แต่ไม่เกิน risk rules
เครื่องมือที่แนะนำ
| เครื่องมือ | ใช้สำหรับ | ราคา |
|---|---|---|
| TradingView | วิเคราะห์กราฟ + Backtest | ฟรี |
| MT4/MT5 | เทรดจริง + EA | ฟรี |
| Myfxbook | Track ผลการเทรด | ฟรี |
| ForexFactory | ปฏิทินข่าวเศรษฐกิจ | ฟรี |
อ่านเพิ่มเติม: iCafeForex | XM Signal EA ฟรี | SiamLanCard | Siam2R


