PROTECTED SOURCE SCRIPT

SFC Indicator_2507

60
使用說明書 / User Manual

═══════════════════════════════════════════════════════════════════════════════

概述 / Overview

繁體中文:
SFC Indicator 是一個多功能技術分析指標,整合了布林通道、移動平均線、真實波幅均值(ATR)、箱型理論以及 Bollinger Bandit 策略。此指標專為 TradingView 平台設計,提供全面的交易信號與風險管理工具。

English:
SFC Indicator is a comprehensive technical analysis indicator that integrates Bollinger Bands, Moving Averages, Average True Range (ATR), Box Theory, and Bollinger Bandit strategy. Designed for the TradingView platform, it provides comprehensive trading signals and risk management tools.

═══════════════════════════════════════════════════════════════════════════════

主要功能 / Key Features

1. 布林通道 (Bollinger Bands)
繁體中文:
- 支援雙標準差設定 (σ1, σ2)
- 預設週期:21
- 提供上軌、中軌、下軌顯示
- 自動生成買賣信號

English:
- Supports dual standard deviation settings (σ1, σ2)
- Default period: 21
- Displays upper, middle, and lower bands
- Automatic buy/sell signal generation

2. 移動平均線 (Moving Averages)
繁體中文:
- 三條可配置的移動平均線:快線(10)、中線(20)、慢線(60)
- 支援 SMA 和 EMA 切換
- 自定義顏色設定

English:
- Three configurable moving averages: Fast (10), Medium (20), Slow (60)
- Supports SMA and EMA switching
- Customizable color settings

3. 真實波幅均值 (Average True Range - ATR)
繁體中文:
- 預設週期:14
- 支援多種平滑方式:RMA、SMA、EMA、WMA
- 動態止損計算
- 風險管理工具

English:
- Default period: 14
- Multiple smoothing methods: RMA, SMA, EMA, WMA
- Dynamic stop-loss calculation
- Risk management tool

4. 箱型理論 (Box Theory)
繁體中文:
- 自動識別價格區間
- 視覺化箱型範圍
- 突破信號提示

English:
- Automatic price range identification
- Visual box range display
- Breakout signal alerts

5. Bollinger Bandit 策略
繁體中文:
- 動態追蹤止損
- ROC (變動率) 確認
- 自適應平倉機制

English:
- Dynamic trailing stop
- ROC (Rate of Change) confirmation
- Adaptive position closing mechanism

═══════════════════════════════════════════════════════════════════════════════

參數設定 / Parameter Settings

布林通道設定 / Bollinger Bands Settings
- 布林通道均線週期 BB Period: 21 (計算週期)
- 標準差 σ1: 1 (第一標準差倍數)
- 標準差 σ2: 2 (第二標準差倍數)

移動平均線設定 / Moving Average Settings
- 快線 Fast MA: 10 (短期移動平均)
- 中線 Medium MA: 20 (中期移動平均)
- 慢線 Slow MA: 60 (長期移動平均)
- 使用 EMA: false (切換至指數移動平均)

ATR 設定 / ATR Settings
- 週期 Period: 14 (ATR 計算週期)
- 平滑方式 Smoothing: RMA (平滑算法選擇)

Bollinger Bandit 設定 / Bollinger Bandit Settings
- 布林通道週期 BB Period: 50 (Bandit 策略布林週期)
- 初始平倉均線週期 Initial Exit MA: 50 (初始止損均線週期)
- ROC 週期 ROC Period: 30 (變動率計算週期)

箱型理論設定 / Box Theory Settings
- 箱型週期 Box Period: 21 (價格區間計算週期)

═══════════════════════════════════════════════════════════════════════════════

交易信號說明 / Trading Signals

布林通道信號 / Bollinger Bands Signals

繁體中文:
- 做多信號:價格連續 X 根 K 棒低於下軌後,突破下軌向上
- 做空信號:價格連續 X 根 K 棒高於上軌後,跌破上軌向下
- 止盈目標:上軌 (Profit1) 和上 2 軌 (Profit2) 或下軌和下 2 軌
- 止損點:下 2 軌減去 ATR 值或上 2 軌加上 ATR 值

English:
- Buy Signal: Price crosses above lower band after staying below for X consecutive bars
- Sell Signal: Price crosses below upper band after staying above for X consecutive bars
- Take Profit: Upper band (Profit1) and upper 2σ band (Profit2) or lower equivalents
- Stop Loss: Lower 2σ band minus ATR value or upper 2σ band plus ATR value

Bollinger Bandit 信號 / Bollinger Bandit Signals

繁體中文:
- 做多條件:ROC > 0 且價格突破 Bandit 上軌
- 做空條件:ROC < 0 且價格跌破 Bandit 下軌
- 動態止損:使用自適應移動平均線作為追蹤止損

English:
- Buy Condition: ROC > 0 and price breaks above Bandit upper band
- Sell Condition: ROC < 0 and price breaks below Bandit lower band
- Dynamic Stop: Uses adaptive moving average as trailing stop

═══════════════════════════════════════════════════════════════════════════════

視覺元素說明 / Visual Elements

圖表元素 / Chart Elements
- 綠色三角形 ▲:做多信號 (Buy Signal)
- 紅色倒三角形 ▼:做空信號 (Sell Signal)
- 橘色線:動態止損均線 (Dynamic Stop Loss MA)
- 藍色圓點:ROC > 0 (向上動能 / Upward Momentum)
- 橘色圓點:ROC < 0 (向下動能 / Downward Momentum)

資訊面板 / Information Panel
繁體中文:
右上角顯示即時交易資訊,包含:
- 當前交易方向 (做多/做空/空手)
- 進場價格 (Entry)
- 止損價格 (Loss)
- 止盈目標 1 和 2 (Profit1, Profit2)
- Bandit 上下軌價格 (Upper, Lower)
- 動態止損線數值 (Dynamic)

English:
Top-right panel displays real-time trading information:
- Current position (Long/Short/Flat)
- Entry price
- Stop-loss price
- Take-profit targets 1 and 2
- Bandit upper/lower band prices
- Dynamic stop-loss line value

═══════════════════════════════════════════════════════════════════════════════

使用建議 / Usage Recommendations

最佳實踐 / Best Practices

繁體中文:
1. 多時間框架確認:建議在更高時間框架確認趨勢方向
2. 風險管理:嚴格遵守止損設定,建議單筆風險不超過資金的2%
3. 信號過濾:結合ROC指標過濾假信號
4. 市場環境:在趨勢明確的市場中效果較佳
5. 回測驗證:使用前請先進行充分的歷史回測

English:
1. Multi-timeframe Confirmation: Confirm trend direction on higher timeframes
2. Risk Management: Strictly follow stop-loss settings, limit single trade risk to 2% of capital
3. Signal Filtering: Use ROC indicator to filter false signals
4. Market Conditions: Works best in trending markets
5. Backtesting: Conduct thorough historical backtesting before use

適用市場 / Suitable Markets
- 股票 Stock Markets
- 外匯 Forex Markets
- 期貨 Futures Markets
- 加密貨幣 Cryptocurrency Markets

═══════════════════════════════════════════════════════════════════════════════

警示設定 / Alert Settings

繁體中文:
指標內建兩種警示功能:
- 做多信號警示:「做多訊號,來也!!!」
- 做空信號警示:「做空訊號,來也!!!」

可在 TradingView 中設定價格警示,當信號出現時自動通知。

English:
Built-in alert functions:
- Buy signal alert: "做多訊號,來也!!!" (Buy Signal Alert!)
- Sell signal alert: "做空訊號,來也!!!" (Sell Signal Alert!)

Set up price alerts in TradingView for automatic notifications when signals occur.

═══════════════════════════════════════════════════════════════════════════════

技術資訊 / Technical Information

指標作者 / Indicator Author: lincheng_SFC
版本 / Version: Pine Script v6
授權 / License: Mozilla Public License 2.0
發布平台 / Platform: TradingView

═══════════════════════════════════════════════════════════════════════════════

免責聲明 / Disclaimer

繁體中文:
本指標僅供教育和分析用途,不構成投資建議。交易涉及風險,過往表現不代表未來結果。請在使用前進行充分測試,並根據個人風險承受能力謹慎投資。

English:
This indicator is for educational and analytical purposes only and does not constitute investment advice. Trading involves risks, and past performance does not guarantee future results. Please conduct thorough testing before use and invest carefully according to your risk tolerance.

═══════════════════════════════════════════════════════════════════════════════

聯絡資訊 / Contact Information
作者 Author: lincheng_SFC
如有問題或建議,歡迎在TradingView上聯繫
For questions or suggestions, feel free to contact on TradingView

免責聲明

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