PROTECTED SOURCE SCRIPT

[DoN] Malaysian SnR Levels v5.1

188
提供されたPine Scriptは、**マレーシア式SnR(サポート・アンド・レジスタンス)**の手法に基づき、価格の反転ポイントや重要なラインを自動で描画するインジケーターです。

以下に日本語と英語で機能解説をまとめました。

🇯🇵 日本語解説: [DoN] Malaysian SnR Levels v5.1
概要

このインジケーターは、プライスアクション(ローソク足の形状)を分析し、**「V字(サポート)」と「A字(レジスタンス)」**の形成を検出してラインを引きます。また、マルチタイムフレーム分析(MTF)機能により、現在見ている時間足に上位足の重要ラインや、H4(4時間足)の勢いのあるポイント(Decision Level)を重ねて表示します。

主な機能

現在の時間足のSnR (V & A Levels)

V字(サポート): 価格が下がってから上がるポイント(Pivot Low)を検出し、水色のラインとゾーンを表示します。

A字(レジスタンス): 価格が上がってから下がるポイント(Pivot High)を検出し、オレンジ色のラインとゾーンを表示します。

自動削除: 価格がラインをブレイク(突破)すると、そのラインは「アクティブ」ではなくなり、履歴(ロールリバーサル)へと移行します。

上位足のSnR (HTF Overlay)

設定した上位足(デフォルトは日足:D)のサポート・レジスタンスラインを点線で表示します。

短期的なノイズを無視し、大きな環境認識を行うのに役立ちます。

H4 ディシジョン・レベル (Decision Level / Gap)

**4時間足(H4)**のデータを内部で取得し、連続した陽線(強気)や陰線(弱気)が発生した起点を「Decision Level(決断ポイント)」として描画します。

これらは「価格が強く動いた起点」であり、再訪した際に反発(Roadblock)しやすいポイントとして扱われます。

強気(Bull)はピンク系、弱気(Bear)は紫系で表示されます。

ロールリバーサル(履歴機能)

show_hist オプションにより、ブレイクされたラインを消去せずに点線として残すことができます。

「サポートがレジスタンスに変わる(サポレジ転換)」ポイントを視覚化できます。

設定のヒント

Depth(ピボットの深さ): 数値を大きくすると、より大きな波の頂点・底のみを検出します(ダマシが減ります)。

Show Zone: チェックを入れると、ラインだけでなくヒゲ先までの領域を「ゾーン(箱)」として塗りつぶします。

🇺🇸 English Explanation: [DoN] Malaysian SnR Levels v5.1
Overview

This indicator is designed based on Malaysian SnR (Support and Resistance) trading concepts. It automatically identifies key reversal structures known as "V-shapes" (Support) and "A-shapes" (Resistance) based on Price Action. It also features Multi-Timeframe (MTF) capabilities to overlay higher timeframe levels and H4 momentum points directly onto your current chart.

Key Features

Current Timeframe SnR (V & A Levels)

V-Shape (Support): Detects Pivot Lows and draws a Cyan line/zone.

A-Shape (Resistance): Detects Pivot Highs and draws an Orange line/zone.

Break Logic: Once price closes beyond a level, the active line is removed and moves to the "History" list (if enabled).

Higher Timeframe SnR (HTF Overlay)

Overlays Support and Resistance levels from a higher timeframe (default is Daily [D]).

These lines appear as dashed lines, helping you identify major market structures without switching charts.

H4 Decision Levels (Gap/Roadblock)

It internally requests 4-Hour (H4) data to identify "Decision Points."

Logic: It looks for consecutive bullish or bearish candles on the H4 chart. The opening price of such momentum moves is marked as a critical level.

These levels often act as "Roadblocks" where price may react upon return.

Displayed in Pink/Purple hues.

Roll Reversal (History)

With show_hist enabled, broken lines are not deleted but converted into dotted/dashed lines.

This visualizes the "Support becomes Resistance" (and vice versa) concept, showing where price might retest old levels.

Settings Tips

Pivot Depth: Increase this value to detect only major swing highs/lows (filters out minor noise).

Show Zone: If enabled, it draws a shaded box from the line to the wick, creating a visual "Reaction Zone" rather than just a single line.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。