OPEN-SOURCE SCRIPT

KSCP Dist25

130
For SHIN

このインジケータは、「ボラティリティ調整済みの移動平均乖離率」を用いた、トレンドフォロー型の押し目買い(Dip Buying)および過熱感判定ツールです。

単純な価格乖離率(%)ではなく、ATR(Average True Range)で正規化している点が最大の特徴であり、あなたのTier 3(CFD)のようにボラティリティが異なる複数のアセット(日経、Gold、FX)を、統一された「歪み(Dist)」の基準で管理するために設計されています。

以下、主要なロジックと実戦での解釈を解説します。

1. コアロジック:Dist25(ボラティリティ調整済み乖離)価格が中期トレンド(SMA25)から「ATR何個分」離れているかを数値化しています。

目的: 銘柄固有のボラティリティを除外し、純粋な「トレンドからの逸脱度」を測る。
優位性: 変化率の激しいGoldも、比較的穏やかなドル円も、同じ「0.6」や「1.0」という閾値で判定可能になります。

2. レジーム判定(トレンドフィルター)マルチタイムフレーム(MTF)機能により、チャートの時間軸に関わらず、指定した上位足(デフォルトは日足「D」)の環境認識を行います。
Perfect Order (PO): SMA5 > SMA25 > SMA75 の成立有無。Range (レンジ): SMA25とSMA75の乖離率が指定値(rangeBand)以下の収縮状態。

Risk-On (上昇トレンド): レンジ外かつ、SMA25 > SMA75、かつSMA25の傾き(Slope)が正。
Risk-Off (下落トレンド): レンジ外かつ、SMA25 < SMA75、かつSMA25の傾きが負。

3. アクションゾーン(シグナル)算出された Dist25 の値に基づき、現在のプライスアクションを4つのゾーンに分類します。

ゾーンDist25 閾値判定推奨アクション

BUY ZONE0.0 ~ 0.6健全な押し目**ロング・エントリー検討領域。
**トレンド継続中の調整局面(Pullback)

CHASE NO> 1.0過熱(買われすぎ)**追撃禁止。
**利食い、またはヘッジ(売り)検討。新規ロングは期待値が低い。

KNIFE< -0.3落ちるナイフ**静観。
**SMA25を明確に割り込んでおり、トレンド転換または深い調整のリスク。NEUTRALその他中立明確なシグナルなし。


This indicator is a trend-following tool designed for Dip Buying and gauging Overheating, utilizing a "Volatility-Adjusted Moving Average Deviation."

Its key feature is normalizing deviation using ATR (Average True Range) rather than simple percentage (%) terms. It is designed to manage multiple assets with varying volatilities—such as the Nikkei, Gold, and FX in your Tier 3 (CFD) portfolio—under a unified standard of "Distortion (Dist)."

Below is an explanation of the core logic and practical interpretation:

1. Core Logic: Dist25 (Volatility-Adjusted Deviation)
It quantifies how many "ATRs" the price has deviated from the medium-term trend (SMA25).

Objective: To exclude asset-specific volatility and measure the pure "degree of deviation from the trend."

Advantage: Highly volatile assets like Gold and relatively stable pairs like USD/JPY can both be judged using the same thresholds (e.g., "0.6" or "1.0").

2. Regime Detection (Trend Filter)
Using Multi-Timeframe (MTF) functionality, it analyzes the market environment on a specified higher timeframe (default: Daily "D"), regardless of the chart's current timeframe.

Perfect Order (PO): Checks if SMA5 > SMA25 > SMA75.

Range: A contraction state where the deviation between SMA25 and SMA75 is below a specified value (rangeBand).

Risk-On (Uptrend): Outside of Range AND SMA25 > SMA75 AND SMA25 Slope is positive.

Risk-Off (Downtrend): Outside of Range AND SMA25 < SMA75 AND SMA25 Slope is negative.

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.