INVITE-ONLY SCRIPT
Güncellendi

MACD INSANE SCALP 2.0

75
Description:


This integrated system for TradingView represents a multifaceted analytical architecture designed for decoding market dynamics and identifying operational confluences. Its conception is oriented to offer the trader an enriched decision-making paradigm, particularly in high-frequency and scalping scenarios, through the quantification and visualization of multiple vectors of technical information.

Fundamental Analytical Modules and Advanced Features:

1. Momentum and Dynamic Trend Analysis Engine (Based on MACD):

· Optimized MACD Visualization: 📊 Displays the Moving Average Convergence Divergence (MACD), its signal line, and the oscillation histogram. The MACD line is chromatically modulated in real-time by the RSI component (close, period 14), where RSI > 50 (fixed neutral threshold rsi_neutral_level_input = 50.0 in the code) induces a bullish coloring and RSI < 50 a bearish one, providing an immediate visual heuristic of the underlying momentum.

anlık görüntü

· Adaptive MACD Thresholding: 📈 Operates by default with dynamic MACD levels (derived from a 200-period lookback on MACD extremes; use_dynamic_macd_levels = true and dynamic_level_lookback_hl = 200 set in the code). The option to use fixed thresholds (+200/-200, also set) would require code modification. Visualization of 'R'/'S' markers at these levels is available (configurable via input).

· Heuristic Logic for Role Reversal of S/R at MACD Levels: 🔄 The 'R' and 'S' markers (if enabled) incorporate logic for transmutation: if the market price exceeds the projection necessary for MACD to reach a preidentified resistance level, said level is requalified as potential support (and vice versa), reflecting a dynamic adaptation to price action.

anlık görüntü

· Algorithmic Divergence Detection: 📉 The system automatically identifies and overlays (enabled by default with show_bull_div = true and show_bear_div = true; pivot parameters 5/5 and lookback 60 fixed in code) bullish and bearish divergences between the price structure and the MACD histogram. The colors of these indications are configurable.

anlık görüntü

· MACD Event Categorization: 📊 Crossover events (MACD line vs. signal; MACD line vs. zero) are classified (e.g., "Bullish (Signal Crossover)", "Pullback (Bearish > 0)") and accessible through the "Current Timeframe" info panel in the Main Summary Table.

anlık görüntü

2. Trend Strength Quantifier and Directional Bias Module (ADX Module):

· Integral Directional Analysis: 🧭 Uses the Average Directional Index (ADX) with its DI+ and DI- components (length 14, smoothing 14; fixed in code) for a quantitative assessment of the strength and directional vector of the prevailing trend.

Interpretation of ADX Status in Interface: 💬 A persistent textual label (adxMainTextLabel) in the indicator panel communicates the inferred ADX state for the chart's current timeframe (e.g., "Strong BULLISH trend", "Movement without strength"), based on predefined thresholds (range <=20, trend >=35; fixed in code).

anlık görüntü

3. Oscillatory Dynamics and Extremes Analysis (Stochastic Module – Tooltip Information in Table):

· Identification of Critical Zones and Intraday Trend: 🎯 The "Current Timeframe" panel in the Main Summary Table details the state of %K (Overbought, Oversold, Upper/Lower Zone or Middle) and its relative disposition to level 50.

anlık görüntü

· Generation of Qualified Crossover Signals (B/S): ✅ Crossovers of %K over %D from extreme oversold zones (signal 'B') or overbought zones (signal 'S') are detected.

4. Volatility Compression/Expansion Detection (Squeeze Module):

· Band Interaction Logic (BB vs. KC): ⛓️ Identifies the sqzOff_condition when Bollinger Bands (length 20, mult. 2.0; fixed) expand externally beyond both sides of the Keltner Channels (length 20, mult. 1.5; fixed. Use of TrueRange configurable). Note that the BB deviation calculation for this specific logic uses the KC multiplier sqz_kc_mult = 1.5 to replicate a particular variant instead of the BB's own multiplier.

anlık görüntü

· Visual Indicators of "Squeeze Off": ✨ Activation of sqzOff_condition] (BB outside KC) is signaled by crosses (color configurable via input sqz_star_color, default gray) on the zero line of the oscillator, if the sqz_show_stars option is enabled.

· Squeeze Momentum Vector: 🔥 A Squeeze Momentum value is computed by linear regression, whose interpretation (e.g., "Strong and Rising Bullish") is provided in the "Current Timeframe" panel.

5. Estimation of Implied Liquidity Levels (via MACD Histogram Pivots – Tooltip Information in Table):

· Heuristic Identification: 💧 An internal algorithm analyzes structural points (pivots) of the MACD histogram to infer price levels where liquidity zones may concentrate (detection parameters and lookback fixed in code).

· Discrete Presentation in Tooltip: 💡 These levels (nearest short and long liquidation points) are exposed exclusively in the "Other Data" section of the Main Summary Table.

anlık görüntü

6. Integration of Global Market Sessions (NEW):

· Key Session Identification: 🌎 The indicator now visually highlights major market sessions (Tokyo, London, New York), using their official GMT open and close times (customizable via inputs).

· Interactive Session Table (NEW): ⏰ A dedicated on-screen table (customizable position) shows the currently active session (with its icon and name). If no session is active, it indicates the next to open. Crucially, the countdown updates at the start of each new bar, accurately showing time remaining until the current session closes or the next opens.

anlık görüntü

7. Main Summary Table – Your MTF and Current Information Hub:🚀

This indicator presents a configurable on-screen table (position, background, border, text color) that centralizes critical information, accessible via tooltips when hovering over each section:

· "Current Timeframe" Section (Detailed Tooltip): 📊 Offers a comprehensive panel for the chart's current timeframe, including: Detailed ADX status; MACD crossover states; Complete Stochastic interpretation (%K, %D values, OB/OS states, trend vs level 50, crossover B/S signals with ADX strength); RSI value (with OB/OS levels 70/30 and fixed neutral 50) and its interpretation; Squeeze Momentum interpretation; and "Squeeze Off" Cross states (indicating if BB are outside KC and visible crosses).

anlık görüntü

· "Multitimeframe Summary" Section (Detailed Tooltip): 🌐 Provides an exhaustive MTF analysis. For each hierarchical timeframe (Higher, Medium, Lower; determined automatically): MACD, RSI, ADX, Squeeze (band state and momentum), and Stochastic, all with status and icons. BB calculation for MTF Squeeze also uses sqz_kc_mult as deviation multiplier.

anlık görüntü

· "General Summary" Section (Detailed Tooltip): 🧠 Activates a complete dynamically generated market scenario, including: suggested type of operation, overall weighted MTF sentiment (conclusion with icon, based on fixed weights: Higher 3.0, Medium 2.0, Lower 1.0), comparative TM analysis, confluence, and a tactical heuristic (Probability, Action, SL/TP notes).

anlık görüntü

· "Other Data" Section (Detailed Tooltip)📈: ℹ️ Provides MACD target prices (with S/R Flip logic) and inferred liquidation levels.

· Dominance Point and Total Point: 📈 These levels represent key zones where the highest volume or institutional interest concentrates. The dominance point indicates the level where the greatest price control was exerted during a prior move, while the total point refers to the most significant accumulation within a complete structure. Identifying them allows anticipation of possible reversals, institutional defense zones, or areas where price is more likely to stall or react.

anlık görüntü

8. Additional MTF Percentage Table:

Quick Global Sentiment Visualization: 📈 A second, smaller table (position, background, etc. configurable) shows concisely the consolidated percentages of Bullish (🟢), Neutral (🟡 with bias tint), and Bearish (🔴) sentiment derived from MTF analysis with fixed weights.

anlık görüntü



Sürüm Notları
Ajustes varios

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.