OPEN-SOURCE SCRIPT
تم تحديثه CSA / Infinity MKR / Final Pro [NPR21}

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
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).
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
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 OptimizationThis 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
💡 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.
2. DASHBOARD SCANNING WORKFLOW
The dashboard is organized into three "Zones" for rapid visual scanning:
Zone 1: PRICE STRUCTURE
Zone 2: MOMENTUM (THE ENGINE)
Zone 3: FINAL EXECUTION
3. FILTERING ENTRIES (THE SMA50 RULE)
While Zero-Lag indicators are faster, they can be sensitive to noise in choppy markets.
4. PROFIT TAKING & EXITS
The Zero-Lag MACD is your primary tool for protecting capital:
5. KEY METRICS TO WATCH
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.