PROTECTED SOURCE SCRIPT

Eagle Scalping Support System

181
這是一個基於平滑 Heiken Ashi 的趨勢追蹤系統,專為剝頭皮交易設計,重點在於減少假信號和提高進場準確性。

🎯 主要功能
1. 趨勢判斷系統

使用雙重平滑(EMA + SMA)處理 Heiken Ashi 蠟燭,大幅降低市場噪音
需要連續 8 根 K 棒確認才改變趨勢方向(可調整)
加入趨勢強度過濾(需達 ATR 的 30%),避免弱趨勢誤判

2. 進場信號
做多加碼條件(藍色圓點):

RSI 超賣反轉(<35 且開始回升)
MACD 轉強(柱狀圖為正且上升)
價格觸及 10 日低點後反彈

做空加碼條件(黃綠色圓點):

RSI 超買反轉(>65 且開始回落)
MACD 轉弱(柱狀圖為負且下降)
價格觸及 10 日高點後回落

3. 視覺化設計

粗綠線:多頭趨勢
粗橘線:空頭趨勢
淡色背景:當前趨勢方向
右上角表格:顯示當前狀態、趨勢確認度、RSI 數值

⚡ 關鍵特色
✅ 防重繪機制:使用 barstate.isconfirmed 確保信號只在 K 棒完成後顯示
✅ 漸進式計數:不確定區域會逐漸減少趨勢計數,而非立即歸零
✅ 多重確認:結合趨勢方向、強度、動量指標,降低假突破風險
✅ 內建警報:支援趨勢轉換和加碼信號的自動提醒
💡 適用場景

剝頭皮交易(短線快進快出)
趨勢跟隨(中短期持倉)
適合波動性商品(如加密貨幣、外匯)

⚠️ 使用建議

在橫盤震蕩市場可能產生滯後
建議搭配成交量或支撐壓力位輔助判斷
趨勢確認 K 棒數可根據交易週期調整(短週期用 3-5,長週期用 10-15)

Overview
Eagle Scalping is a trend-following indicator designed for scalping and short-term trading. It uses a heavily smoothed Heiken Ashi system with multi-confirmation mechanisms to minimize false signals and improve entry accuracy.

🎯 Core Components
1. Smoothed Heiken Ashi Calculation
The indicator applies a dual-layer smoothing process:

Step 1: EMA smoothing of Heiken Ashi values (default: 34 periods)
Step 2: SMA smoothing of the EMA results (60% of smoothing length)

This removes market noise while maintaining trend sensitivity.
2. Trend Confirmation System
Multi-Bar Confirmation Logic:

Requires 8 consecutive bars (default) to confirm trend direction
Uses a trend strength filter (normalized to ATR)
Only changes trend when strength exceeds 30% of ATR
Progressive counting: reduces count gradually in uncertain zones rather than resetting to zero

Trend States:

Bullish: Thick lime green line + light green background
Bearish: Thick orange line + light orange background

3. Entry Signal Generation
🔵 Bullish Add-On Signals (Blue circles below bars)
Triggered when ALL conditions are met:

Currently in confirmed bullish trend
Bar is confirmed (no repainting)
One of the following momentum conditions:

RSI < 35 with bullish divergence (reversing upward)
MACD histogram positive and increasing
Price touches 10-bar low, then closes bullish with higher close



🟤 Bearish Add-On Signals (Dark yellow circles above bars)
Triggered when ALL conditions are met:

Currently in confirmed bearish trend
Bar is confirmed (no repainting)
One of the following momentum conditions:

RSI > 65 with bearish divergence (reversing downward)
MACD histogram negative and decreasing
Price touches 10-bar high, then closes bearish with lower close

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.