PROTECTED SOURCE SCRIPT

Malaysian SnR and Decision Levels [DoN]

180
Features
This script implements a specific Malaysian SnR (Support and Resistance) strategy combined with Decision Levels based on gap analysis. It is designed to help traders identify key reaction levels across multiple timeframes.
How it Works
SnR Levels (Current & Higher Timeframe)
The script calculates Support ("V" shape) and Resistance ("A" shape) based on fractal geometry.
It uses a configurable Pivot Depth (default: 3) to confirm peaks and valleys.
When a High or Low is confirmed by the subsequent bars, a horizontal level is drawn.
Fresh vs. History: The script distinguishes between "Fresh" levels (untouched) and "History" levels. When a level is broken, it converts into a "Role Reversal" line (Support Becomes Resistance - SBR, or Resistance Becomes Support - RBS).
Decision Levels (Gap Analysis)
The script identifies "Decision Levels" derived from specific H4 price action gaps.
A Bullish Decision Level is formed when consecutive bullish candles create a gap structure.
A Bearish Decision Level is formed by consecutive bearish candles.
These levels often act as significant liquidity zones where price may react.
How to Use
Trend Following: Look for price to retrace to a "Fresh" SnR level or Decision Level.
Confluence: The strongest signals occur when a current timeframe SnR level overlaps with a Higher Timeframe (HTF) level or a Decision Level.
Alerts: Users can set alerts for price touching active SnR lines or retesting broken history lines (Role Reversal).
Settings
Current Timeframe SnR: Adjust the pivot depth and colors for local support/resistance.
Decision Levels: Toggle H4 gap analysis.
Higher Timeframe Overlay: display daily/weekly levels on your current chart.

このスクリプトは、マレーシア式SnR(サポレジ)戦略とディシジョン・レベル(ギャップ分析)を組み合わせたツールです。
機能とロジック
SnRレベル(V字/A字)
フラクタル幾何学に基づき、一定期間(Depth)の高値・安値が確定したポイントにラインを引きます。
Fresh(新規): まだブレイクされていないライン。
History(履歴): ブレイクされたラインは、ロールリバーサル(サポレジ転換)ラインとして点線で表示されます(SBR/RBS)。
ディシジョン・レベル
主にH4(4時間足)のローソク足の形成パターンに基づき、強い売り買いのギャップが発生した地点を「Decision Level」として表示します。
使い方
上位足のラインやディシジョン・レベルが重なるポイント(コンフルエンス)でのプライスアクションに注目してください。アラートを設定することで、ラインへのタッチやリテストを通知することが可能です。

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.