OPEN-SOURCE SCRIPT
تم تحديثه

CSA / Infinity MKR / Final Pro [NPR21}

608
Title: CSA – Precision Infinity MKR & Confluence Dashboard

The Institutional Edge: Multi-Kernel Smoothing & Real-Time Confluence
The CSA Precision Infinity MKR is an advanced trend-following suite that replaces traditional, lagging EMAs with a high-performance Multi-Kernel Regression (MKR) engine. Designed for the "Top Center" of the chart, this script features our proprietary Infinity Bridge—a logic system that ensures your trend signal never breaks or snaps, tracking price action with surgical precision directly to the live candle.

Key Technical Features
1
7-Kernel Smoothing Engine: Unlike standard indicators, you can cycle through 17 different mathematical kernels (Sinc, Gaussian, Lorentzian, etc.) to match the specific volatility of any asset class, from high-cap Stocks to volatile Crypto.

The Infinity Bridge: We solved the "broken line" issue. Our script bridges historical regression math with live price data, providing a continuous, seamless trend line that never lags behind the current price.

15-Indicator Confluence HUD: A professional "Heads-Up Display" tracks 15 momentum and trend metrics (Heikin Ashi, SuperTrend, TTM, RSI, etc.) simultaneously. It does the heavy lifting so you can focus on execution.

High-Vis Neon Aesthetics: Built for dark-mode traders. Featuring Neon Fluorescent Green and Bright Red trend lines with a high-contrast dark green dashboard for zero eye strain.

Trader’s Manual: How to Trade the Suite


Step 1: Identify the Regime (The MKR Line)

Bullish: When the MKR line is Neon Green, you are in a buy-only regime.

Bearish: When the MKR line is Bright Red, you are in a sell-only regime.

The Curve:
Watch the "hook" of the line. When the line begins to curve toward price, a trend shift is imminent.

Step 2: Confirm Confluence (The Dashboard)

Look at the CONFIRMED tally on the far right of the HUD:

Strong Buy (11/15 – 15/15): Deep green signal. High-probability entry.

Caution (7/15 – 10/15): Orange signal. The trend is weakening or consolidating.

No Trade (Below 7/15): Red signal. High risk of "chop" or reversal. Avoid new entries.

Step 3: Check the "Non-Trending" Filter

Look for the Non-Trending cell. If it is Dark Blue, the market has officially entered a "Trending State." If it is Gray, the market is sideways, and signals should be taken with caution.

Settings & Customization

Thickness: Defaulted to 3px for a strong chart presence.

Styles: Fully adjustable Solid, Dashed, and Dotted options in the Inputs tab.

Alerts: Built-in alert conditions for Strong Confluence (11/15) and State Flips (Long to Short).
ملاحظات الأخبار
his update to the CSA – Infinity MKR Final Pro focuses on three core pillars: mathematical accuracy in confluence reporting, fixing critical runtime errors, and optimizing visual performance for high-stakes trading.

1. Mathematical Tally Correction
The most significant change is the overhaul of the TOTAL confluence logic.

15/15 Synchronization: The script now explicitly adds every binary indicator signal (b1 through b15) into the final integer.

Logic Alignment: Previously, certain filters like "Non-Trending" were excluded from the bullish count; they are now fully integrated so that when all labels show Bullish, the tally correctly displays 15 / 15.

2. Critical Code Fixes
We addressed a syntax error that was causing the script to fail on the chart.

MACD Tuple Extraction: The ta.macd() function in Pine Script v5 returns three separate values. The update now properly extracts the macdLine individually before performing the bullish/bearish comparison, resolving the "Cannot call operator > with argument" error.

Array Optimization: The drawing loop for the historical regression line has been capped at 250 bars to ensure the chart remains responsive even when using complex kernels like "Sinc" or "Silverman".
ملاحظات الأخبار
Update: Zero-Lag Momentum & Dashboard Optimization
This version introduces a significant upgrade to the momentum tracking engine and a more ergonomic dashboard layout for professional scalping and trend-following.

🛠 Core Technical Changes
Zero-Lag MACD Implementation: Replaced the standard MACD with a custom Zero-Lag algorithm. By calculating the EMA of price adjusted for its own lag-displacement, this version provides momentum crossovers significantly faster than the built-in TradingView MACD.

Dashboard Reordering: Relocated the ZL-MACD column to sit immediately to the left of the TREND label. This allows traders to verify momentum health right before checking trend activation.

📊 Dashboard Legend & Logic

HA / OPEN: Heikin-Ashi and Standard candle sentiment.

SUPER / ST HA: Supertrend and Heikin-Ashi trend alignment.

MOM / CCI / MFI / CMO / ROC: Multi-factor oscillator suite.

SMA50: Primary trend filter.

RSI+TTM: Confluence of Relative Strength and Squeeze momentum.

ZL-MACD (New): Zero-lag momentum state (Bullish/Bearish).

TREND: ADX-based volatility filter (Active vs. None).

STATE: Final MKR engine output (LONG vs. SHORT).

💡 Strategy Note
The ZL-MACD is now your "Early Warning" system. Because it eliminates the lag inherent in standard EMAs, you will often see this column flip color 1–2 bars before the STATE or TOTAL tally changes, allowing for better preparation during high-volatility entries.

📘 TRADING GUIDE: INFINITY MKR (ZERO-LAG EDITION)
This version is optimized for high-precision entries by reducing indicator latency. Follow this workflow to maximize the effectiveness of the Zero-Lag engine.

1. THE "MOMENTUM LEAD" SETUP
Because the ZL-MACD removes moving average displacement, it acts as a leading indicator for the rest of the dashboard.

The Signal: Watch for the ZL-MACD column to turn "Bull" while the TREND is still "None."

The Logic: This suggests buying pressure is building under the surface before the market breaks out into a trending phase.

Action: Prepare for an entry. When the TREND flips to "Active" and the TOTAL tally crosses 11/15, execute the trade.

2. DASHBOARD SCANNING WORKFLOW
The dashboard is organized into three "Zones" for rapid visual scanning:

Zone 1: PRICE STRUCTURE

Indicators: HA, OPEN, SUPER, ST HA

Purpose: Confirms the immediate health of the candle action.

Zone 2: MOMENTUM (THE ENGINE)

Indicators: MOM, CCI, MFI, CMO, ROC, ZL-MACD

Purpose: Confirms the strength behind the move. Look for "Full Green" or "Full Red" here for high-probability setups.

Zone 3: FINAL EXECUTION

Indicators: TREND, STATE, TOTAL

Purpose: The "Go / No-Go" decision center.

3. FILTERING ENTRIES (THE SMA50 RULE)
While Zero-Lag indicators are faster, they can be sensitive to noise in choppy markets.

The Filter: Always ensure the SMA50 column matches your trade direction.

Avoid: If ZL-MACD is "Bull" but SMA50 is "Bear," you are likely looking at a temporary retracement. Wait for SMA50 to align for a "Trend-Following" entry.

4. PROFIT TAKING & EXITS
The Zero-Lag MACD is your primary tool for protecting capital:

Early Exit: Close 50% of the position as soon as the ZL-MACD column flips to the opposite color, even if the STATE hasn't changed yet.
Final Exit: Close the remainder when the TOTAL tally drops below 7/15.

5. KEY METRICS TO WATCH

TOTAL 13-15: Extreme Strength (Expect Trend Continuation).

TOTAL 8-10: Moderate Strength (Look for support/resistance confirmation).

TOTAL < 7: Weakness/Neutral (Stay flat or exit).

إخلاء المسؤولية

لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.