Malaysian SNR Storyline MTFThis indicator visualizes the Malaysian Support and Resistance (SNR) trading methodology by drawing the market's "storyline" - a visual representation of trend structure showing both external (main) and internal (pullback) trends.
🎯 What It Does
The indicator analyzes price action by comparing consecutive candle closes to determine trend direction. It distinguishes between:
External Trends - Main trend movements (solid lines)
Internal Trends - Pullbacks within the main trend (dashed lines)
Trend Changes - Horizontal lines marking where the storyline shifted direction
⏱️ Multi-Timeframe Support
Analyze the storyline from any timeframe while viewing your preferred chart timeframe. Simply select your desired timeframe from the dropdown - leave it on "Chart" to use the current chart's timeframe.
📊 Features
Multi-timeframe analysis - view higher timeframe structure on lower timeframe charts
Automatic detection of external vs internal trends
Trend change level visualization
Customizable colors for uptrends, downtrends, and trend changes
Adjustable line widths for external and internal trends
Session highlighting (Asian, London, New York) with customizable times and colors
Alert functionality for trend changes
⚙️ Settings
Timeframe - Select "Chart" or any higher timeframe
Bars Lookback - Number of bars to analyze (default: 250)
Line Colors - Customize uptrend, downtrend, and trend change colors
Line Widths - Separate width settings for external and internal trends
Sessions - Toggle and customize Asian, London, and New York session overlays
🔔 Alerts
Enable alerts to get notified when the storyline changes direction. The alert sends a JSON payload containing the event type and symbol.
📖 How To Use
Green lines = Uptrend (bullish storyline)
Red lines = Downtrend (bearish storyline)
Solid lines = External (main) trend
Dashed lines = Internal (pullback) trend
Orange horizontal lines = Trend change levels
Use the storyline to identify the current market structure and potential reversal points. Internal trends that fail to break the external trend's origin often signal continuation of the main trend.
💡 Tip
Combine multiple timeframes by adding the indicator twice with different timeframe settings to see both the higher timeframe structure and current timeframe storyline simultaneously.
Pine Script® indicator






















