OPEN-SOURCE SCRIPT
Pullback Confirma

**📈 Pullback Strategy with Candle Confirmation**
**🎯 Objective:**
Identify ideal entry points during pullbacks in trends, using the simultaneous crossover of two moving averages with candle confirmation.
**📊 Indicators Used:**
- **Hull Moving Average (HMA):** Period 27 - fast and smoothed average that reduces lag
- **Simple Moving Average (SMA):** Period 11 - short-term average for additional confirmation
**⚡ Strategy Logic:**
**🔹 Conditions for BUY SIGNAL:**
1. **Double Crossover:** Price crosses above both HMA 27 and SMA 11 simultaneously
2. **Pullback:** Price must be near or touching HMA 27 (return-to-average condition)
3. **Confirmation:** On the next candle, it must be a BULLISH candle closing above both averages
**🔸 Conditions for SELL SIGNAL:**
1. **Double Crossover:** Price crosses below both HMA 27 and SMA 11 simultaneously
2. **Pullback:** Price must be near or touching HMA 27
3. **Confirmation:** On the next candle, it must be a BEARISH candle closing below both averages
**🎨 Chart Visualization:**
- **● Blue Circle:** Upward crossover detected (awaiting confirmation)
- **● Orange Circle:** Downward crossover detected (awaiting confirmation)
- **▲ Green Arrow:** Confirmed buy (after confirmation candle)
- **▼ Red Arrow:** Confirmed sell (after confirmation candle)
- **Colored Lines:** HMA (blue) and SMA (orange) plotted on the chart
**⚙️ Customization:**
- Adjustable average periods
- Customizable arrow colors
- Configurable alerts for each confirmed signal
**✅ Advantages:**
- **Double Filter:** Two different averages for confirmation
- **Candle Confirmation:** Eliminates premature signals
- **Intuitive Visual:** Only shows arrows after valid confirmation
- **Controlled Pullback:** Operates only on return-to-average movements
**⏰ Recommended Timeframe:**
Works on multiple timeframes, but particularly effective on M15, H1, and H4 to capture more significant movements.
This strategy is ideal for traders looking for precise entries in consolidated trends, minimizing false signals through candle confirmation! 🚀
**🎯 Objective:**
Identify ideal entry points during pullbacks in trends, using the simultaneous crossover of two moving averages with candle confirmation.
**📊 Indicators Used:**
- **Hull Moving Average (HMA):** Period 27 - fast and smoothed average that reduces lag
- **Simple Moving Average (SMA):** Period 11 - short-term average for additional confirmation
**⚡ Strategy Logic:**
**🔹 Conditions for BUY SIGNAL:**
1. **Double Crossover:** Price crosses above both HMA 27 and SMA 11 simultaneously
2. **Pullback:** Price must be near or touching HMA 27 (return-to-average condition)
3. **Confirmation:** On the next candle, it must be a BULLISH candle closing above both averages
**🔸 Conditions for SELL SIGNAL:**
1. **Double Crossover:** Price crosses below both HMA 27 and SMA 11 simultaneously
2. **Pullback:** Price must be near or touching HMA 27
3. **Confirmation:** On the next candle, it must be a BEARISH candle closing below both averages
**🎨 Chart Visualization:**
- **● Blue Circle:** Upward crossover detected (awaiting confirmation)
- **● Orange Circle:** Downward crossover detected (awaiting confirmation)
- **▲ Green Arrow:** Confirmed buy (after confirmation candle)
- **▼ Red Arrow:** Confirmed sell (after confirmation candle)
- **Colored Lines:** HMA (blue) and SMA (orange) plotted on the chart
**⚙️ Customization:**
- Adjustable average periods
- Customizable arrow colors
- Configurable alerts for each confirmed signal
**✅ Advantages:**
- **Double Filter:** Two different averages for confirmation
- **Candle Confirmation:** Eliminates premature signals
- **Intuitive Visual:** Only shows arrows after valid confirmation
- **Controlled Pullback:** Operates only on return-to-average movements
**⏰ Recommended Timeframe:**
Works on multiple timeframes, but particularly effective on M15, H1, and H4 to capture more significant movements.
This strategy is ideal for traders looking for precise entries in consolidated trends, minimizing false signals through candle confirmation! 🚀
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน