OPEN-SOURCE SCRIPT

fractal model + CISD + HTF Sweep

2 526
// =====================================================================
// EN: fractal model + CISD + HTF Sweep Indicator (Legacy Personal Tool)
// -----------------------------------------------------------------------
// Project: fractal model + CISD + HTF Sweep
//
// What this script does:
// - Builds a synthetic higher-timeframe (HTF) candle display from a
// lower timeframe chart, so you can see HTF candles without
// switching charts.
// - Classifies a simple "Bias" (Bullish / Bearish / Range / No Bias)
// based on whether price swept and/or closed beyond the previous
// HTF candle's high/low.
// - Detects swing highs/lows (pivots) and tracks "CISD" structure
// shifts: when price sweeps a swing point and then closes back
// through a tracked level, marking a potential change in
// short-term direction. Optional Fibonacci extension levels are
// drawn from the sweep/CISD points.
// - Detects "sweep and return" setups on a chosen timeframe (price
// pokes above/below the prior candle's high/low but closes back
// inside it) and raises an alert/label when this happens.
//
// Status:
// This is an OLDER personal indicator and is NO LONGER IN ACTIVE USE.
// It is shared here as-is for educational and research purposes only.
//
// License / Use:
// Open-sourced for learning. No warranty of accuracy or profitability.
// This is NOT financial advice. Do not use as a sole basis for trading
// decisions — verify behavior yourself before relying on it.
//
// Beginner notes (read this if you are new to Pine Script / trading):
// - "HTF candles" here = candles from a Higher TimeFrame (e.g. Daily,
// Weekly) drawn as boxes on the right side of the chart, just to
// give visual context for the bigger trend.
// - "CISD" (Change in State of Delivery) is a simple way some traders
// describe price reversing direction after sweeping a recent
// swing high/low and then closing back through it. In this script
// it is only a visual label ("CISD+"/"CISD-") plus optional Fib
// lines — it does NOT place any trades.
// - "Sweep" generally means price briefly pokes past a prior high/low
// (grabbing "liquidity") before reversing. The alert in this script
// fires when that poke happens AND the candle closes back inside
// the prior range.
// - This script only draws visuals and alerts — it does not buy or
// sell anything. Treat all signals as discussion points to study,
// not as ready-made trade signals.
// =====================================================================
// 中文: AMD / CISD 高時間框架 Sweep 指標(個人舊版工具)
// -----------------------------------------------------------------------
// 專案名稱:fractal model + CISD + HTF Sweep
//
// 這個指標做什麼:
// - 在低時間框架圖表上,重建一個「高時間框架(HTF)蠟燭」的視覺顯示,
// 讓你不用切換圖表就能看到高時間框架的走勢。
// - 根據價格是否「掃過」或「收盤穿越」前一根 HTF 蠟燭的高/低點,
// 判斷一個簡單的 Bias(偏多 / 偏空 / 區間 / 無偏向)。
// - 偵測 Swing 高低點(樞紐點),並追蹤「CISD」結構轉變:
// 當價格先掃過某個 Swing 點,之後收盤又穿回某個關卡時,
// 視為短線方向可能改變的訊號,並可選擇畫出 Fibonacci 延伸線。
// - 在指定時間框架上偵測「Sweep and Return」:價格短暫穿出前一根
// K 棒的高/低點,但收盤又收回原本範圍內,符合條件時觸發提示
// 標籤與 Alert。
//
// 狀態說明:
// 這是一個「舊版本指標」,目前已經停止使用。
// 在此開源僅供研究與學習用途。
//
// 授權 / 使用須知:
// 開源僅供學習參考,不保證準確性或獲利能力。
// 本指標內容「不構成投資建議」,請勿單獨依賴本指標做交易決策,
// 使用前請自行驗證其行為是否符合你的需求。
//
// 給新手的說明(如果你不熟悉 Pine Script 或交易術語,請先看這段):
// - 這裡的「HTF 蠟燭」是指用方框(box)畫在圖表右側的「高時間框架」
// (例如日線、週線)蠟燭,目的只是讓你能順便看到大趨勢的視覺參考。
// - 「CISD」(狀態轉變)是部分交易者用來描述「價格掃過近期的 Swing
// 高/低點之後,又收盤穿回原本關卡」的一種說法,象徵短線方向可能
// 轉變。在這個指標裡,CISD 只是畫出「CISD+ / CISD-」標籤與選擇性
// 的 Fib 延伸線,並不會自動下單。
// - 「Sweep(掃單)」通常是指價格短暫穿過前一根高/低點(去掃流動性)
// 後又反轉。指標中的 Alert,是在「穿出後、收盤又收回原範圍內」時
// 才會觸發。
// - 這個指標只負責畫圖與發出提示,不會自動買賣。請把所有訊號當作
// 學習與討論用的參考,而不是可以直接拿來下單的訊號。
// =====================================================================

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.