OPEN-SOURCE SCRIPT

SMA Reversal Sequential MTF - Final

104
SMA Reversal Sequential MTF - Final Edition

Here is the direct English translation of the description, maintaining the professional and factual tone without excessive ornamentation.

SMA Reversal Sequential MTF - Final Edition
1. Overview
This script is the final edition of "SMA Reversal Sequential MTF," featuring a proprietary logic that identifies market pivot points based on the structural changes of Simple Moving Averages (SMA). It integrates multi-timeframe (MTF) analysis covering from 1-minute to monthly scales, visualizing trend status, synchronization, and consolidations (squeezes) directly on the chart.

2. Core Logic
SMA Reversal Logic: Identifies points where the SMA shifts in a "V-shape" or "Inverted V-shape" based on the positional relationship of the three most recent MA points. The algorithm maintains strictly precise calculations consistent since the initial version.

Breakout Detection: Displays a "BREAK" label when the price closes beyond the most recent high or low established by a pivot point.

Multi-Timeframe (MTF): Projects signals from higher timeframes (e.g., 1D, 4H, 1H) onto the current chart.

3. Input Settings
The settings menu is configured with bilingual labels (Japanese and English).

■ Main Settings
Use Short Period Settings (5, 3, 7)

OFF (Default): SMA 20, Offset 6, Lookback 20

ON: SMA 5, Offset 3, Lookback 7

■ Timeframe Visibility
Show Timeframes (1M to 1m)

Individually toggle the visibility of each timeframe. The settings are organized in descending order from higher to lower timeframes.

Hide Lower Timeframes

When ON, automatically hides signals from timeframes lower than the one currently displayed on the chart.

■ Drawing Options
Show Only Current TF Labels

Hides MTF labels and displays only the pivot points corresponding to the current chart timeframe.

Show Trendlines & Channels

Automatically plots lines connecting recent highs/lows and their parallel channels for the current timeframe.

Show Sequential Labels

Displays labels (e.g., 1H) at SMA reversal points to indicate the source timeframe.

Show Break Lines

Displays horizontal lines at un-breached highs/lows along with breakout labels.

■ Additional Alert Settings
Alert 1: 3-TF Sync

Triggers when the current timeframe and the two immediate higher timeframes align in the same trend direction.

Alert 2: 4-TF Sync

Triggers when four timeframes synchronize in the same trend direction.

Alert 3: Squeeze (Green ●)

Detects "Triangle Squeezes" (lower highs and higher lows) and displays a "●" on the chart with a notification.

4. Dashboard
The dashboard in the top-right corner displays the real-time trend status of five major timeframes (1D, 4H, 1H, 15M, 5M).

Blue: Bullish (Price has broken the recent high)

Red: Bearish (Price has broken the recent low)

Gray: Neutral

5. Trading Application
Market Context: Identify directional bias when dashboard colors align.

Entry Alignment: Utilize "Sync Alerts" on lower timeframes as signals when they align with the higher timeframe trend.

Volatility Contraction: The appearance of a green "●" (Squeeze) indicates energy consolidation, suggesting a potential breakout.

SMA Reversal Sequential MTF - Final Edition
1. 概要 (Overview)
本スクリプトは、SMA(単純移動平均線)の形状変化から相場の転換点(ピボット)を特定する独自ロジックを用いた「SMA Reversal Sequential MTF」の最終盤です。1分足から月足までを網羅するマルチタイムフレーム(MTF)分析を統合しており、上位足のトレンド状態、同期、三角保合い(スクイーズ)をチャート上に可視化します。

2. ロジック解説 (Core Logic)
SMA Reversal Logic: 指定期間のSMAが「V字」または「逆V字」に転換したポイントを、直近のMA3点の位置関係から算出します。アルゴリズムは初版から変わらぬ厳密な計算を維持しています。

Breakout Detection: 転換点で作られた直近の高値・安値を終値でブレイクした際に「BREAK」ラベルを表示します。

Multi-Timeframe (MTF): 現在のチャート上に上位足(1D, 4H, 1H等)のシグナルを投影します。

3. インプット項目の詳細 (Input Settings)
設定画面は、日本語と英語の併記構成となっています。

■ 基本設定 / Main Settings
短期設定を使用 (5, 3, 7) / Use Short Period Settings

OFF (デフォルト):SMA 20, Offset 6, Lookback 20

ON:SMA 5, Offset 3, Lookback 7

■ 時間足表示設定 / Timeframe Visibility
1M表示 ~ 1m表示 / Show Timeframes

各時間足の表示を個別に切り替えます。設定画面では大きな足から順に並んでいます。

現在足より短い時間足の設定を非表示 / Hide Lower Timeframes

ONにすると、現在表示しているチャートより短い時間足のシグナルを自動で非表示にします。

■ 表示オプション / Drawing Options
現在足のラベルのみ表示 / Show Only Current TF Labels

現在の時間足の転換点のみを表示し、MTFラベルを非表示にします。

トレンドライン&チャネルを表示 / Show Trendlines & Channels

現在足の安値同士・高値同士を結んだラインと、平行チャネルを自動描画します。

転換点ラベル表示 / Show Sequential Labels

SMAの反転箇所に、該当する時間足のラベル(例:1H)を表示します。

ブレイクライン表示 / Show Break Lines

未更新の高値・安値ラインと、ブレイク時のラベルを表示します。

■ 追加アラート設定 / Additional Alert Settings
アラート1: 現在・上位2つ同調 / Alert 1: 3-TF Sync

現在足+上位2つの時間足のトレンドが同一方向になった際に通知します。

アラート2: 表示足を含む4足同調 / Alert 2: 4-TF Sync

4つの時間足のトレンドが同期した際に通知します。

アラート3: 三角保合い発生 (緑●) / Alert 3: Squeeze

高値切り下がり、安値切り上がりの「三角保合い」形成を検知し、チャート上に「●」を表示・通知します。

4. ダッシュボード (Dashboard)
チャート右上に主要5足(1D, 4H, 1H, 15M, 5M)のトレンド状況をリアルタイム表示します。

青色(Blue): 強気(直近高値をブレイク中)

赤色(Red): 弱気(直近安値をブレイク中)

灰色(Gray): ニュートラル

5. トレードへの活用
環境認識: ダッシュボードの色が揃っている方向への優位性を確認します。

エントリー判断: 上位足のトレンド方向に、下位足で同期アラートが発生したポイントをシグナルとして活用します。

ボラティリティの収束: 緑の「●(Squeeze)」が表示された際は、エネルギーが収束している状態を示唆します。

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.