ZTCRYPTOLAB - LiquidityZTCRYPTOLAB — Liquidation
See the market’s likely liquidation pockets as clean, readable “heat bars.”
The script groups nearby levels into a single bar, sizes the bar by strength, shows a compact value label (K/M/B/T) inside the bar, and automatically fades levels once price takes them out.
snapshot
What it does (plain-English)
Finds likely liquidation zones above and below current price at three “tiers” (roughly like 25× / 50× / 100×).
Groups nearby levels into one clear bar so your chart doesn’t turn into spaghetti.
Makes stronger zones look wider (more eye-catching) and prints a value pill in K/M/B/T so you can compare strength at a glance.
Fades levels once they’re hit so you instantly see what’s still in play vs. what was already taken.
Quick start (how to use)
Add to chart on the symbol/timeframe you trade.
In the settings, the only control most traders touch is “Max live levels (Top-N)”.
Lower = cleaner, only the best zones.
Higher = more detail.
Zoom out to view big cluster magnets. Zoom in to see them split into more precise lines.
Use wide, nearby bars as targets, magnets, or caution zones. Combine with your entries, stop placement, and risk rules.
Tip: For very busy charts, start with Top-N around 80–100 on intraday, 40–80 on swing. Raise only if you need more context.
Inputs you’ll actually use
Max live levels (Top-N): Caps how many live bars can appear after pruning. Everything else is tuned for clarity out-of-the-box.
(Pre-tuned so you don’t have to fiddle)
Reference price: HLCC4 (balanced)
Density: Fine (crisper separation)
Tier-1 (25×) sensitivity slightly boosted so you see more actionable near-term zones
How to read the chart
Bar color = Tier (25× / 50× / 100×).
Bar width = Relative strength (wider = stronger).
Value pill = Strength in K/M/B/T.
Faded bar = That pocket was taken by price—left for context, no longer active.
Suggested setups by timeframe
Scalping (1–5m): Top-N 80–120. Expect bars to merge more when zoomed out; zoom in for fine detail.
Intraday (15–60m): Top-N 80–100. Balanced view of magnets around current session.
Swing (4H–1D): Top-N 40–80. Use the longest-standing wide clusters as swing targets/areas of interest.
Best practices
Treat bars as areas, not razor-thin lines.
Look for confluence (e.g., HTF levels, fair value gaps, session highs/lows).
Use wide nearby bars to scale out or tighten risk, not as the only reason to trade.
FOR MORE PREMIUM INDICATORS VISIT OUR WHOP : whop.com/ztcryptolab
Indicators and strategies
365 DMA Based Multiplier Fibonacci BandsBitcoin Chart
365 DMA Based
Fibonacci 1.0 = Long term trend
Fibonacci 0.5/0.618 = Long term support
Fibonacci 1.618 = Mid term target
Fibonacci 2.618 = Long term target
369 Candle Highlighter - Customizable. [V1]The final 3/6/9 Candle Highlighter is a TradingView indicator that scans each candle’s time in a user-selected timezone, calculates the sum of all digits in the hour and minute, reduces that sum to a single digit, and highlights the candle in a chosen color with customizable transparency whenever the result equals 3, 6, or 9. Users can select their timezone, pick the highlight color, adjust transparency, enable optional tiny wicks above or below the candle, turn on alerts with custom messages for each number, and activate a debug mode that shows the reduced digit and candle time. This ensures that only the correctly calculated 3/6/9 candles are visually marked on the chart while allowing full customization for aesthetics, performance, and alerting preferences.
QUBIC↔BTC ProjectionQUBIC↔BTC Projection — Short & Simple
WHAT IT DOES
- Shows where QUBIC might roughly land if BTC reaches a target price you choose.
- Draws a midline (estimate) and a band around it (safety margin).
HOW TO USE
1) Check symbols:
- QUBIC/USDT (e.g., GATEIO:QUBICUSDT)
- BTC/USDT (e.g., BINANCE:BTCUSDT)
2) Set at the top:
- "BTC Target ($)": enter your desired BTC price (e.g., 117000).
- "Lookback": number of candles used for the estimate (more = smoother, less = more reactive).
- "Band ±σ": width of the band (1 is a good start).
3) Info display:
- Choose "Panel top-right/bottom-right" (fixed corner) or "Label" (on chart).
- Adjust text size to your liking.
- Optional: "Compact format" for tiny QUBIC prices (e.g., 0.(5)156).
WHAT YOU SEE
- Midline = rough direction for QUBIC at your BTC target.
- Band = room to the downside/upside.
- The panel/label shows the numbers as text.
NOTE
- This is an estimate, not a promise. Use it as guidance, not a guarantee.
MUCİP Hacim Dashboard - Çoklu Zaman DilimiThis indicator calculates the volume of the most recently closed bar in the specified timeframes (1m, 2m, 3m, 5m, 10m, 15m, 30m) and the percentage change rate of this volume compared to its 20-period simple moving average (SMA) volume.
Ram HTF Direction & Market ProfileRam HTF Direction & Markey Profile.
I am trying to identify the HTF(Daily) Direction and Market profiles POC,VAL,VAH to trade on 1HR.
BGT+三合一+STEV6🎯 Bottom Line Recommendation
Core Value Proposition:
This is not an indicator that pursues signal quantity, but rather one that refines "numerous and messy" signals into "few but precise" high-probability entry points through a three-layer filtering mechanism, cost-priority principle, and quality scoring system.
Most Suitable for Traders Who:
✅ Want to reduce trading frequency and focus on high-quality opportunities
✅ Use batch position building/scaling-in strategies
✅ Emphasize risk management and cost control
✅ Need trading opportunities in both ranging and trending markets
One-Sentence Summary:
This is a comprehensive trading system with a "Quality > Quantity" design philosophy that uses strict filtering standards to help you avoid 80% of low-quality signals and concentrate on the most profitable 20% of opportunities.
ajish cci indexthis script is based on cci.this one is working good in index.you can use the indicator for finding the trend change.well working in 1 minite.
Adaptive Nexus LineAdaptive Nexus Line
Overview
The Adaptive Nexus Line is not just another moving average. It's a next-generation, composite indicator designed to provide a comprehensive and visually intuitive baseline for trend analysis and momentum.
At its core, the Adaptive Nexus Line synthesizes a "cluster" of multiple moving averages into a single, cohesive line. This "average of averages" approach reduces market noise and provides a more stable and reliable representation of the trend than a traditional, single MA. The name reflects its core strengths: "Adaptive" for its intelligent Kalman filter smoothing, and "Nexus" because it serves as a central point, bringing together a wide array of moving average types.
________________________________________
Key Features
• Composite Engine: Instead of a single MA, the Adaptive Nexus Line averages a user-defined cluster of MAs (e.g., 20 MAs with lengths from 5 to 105). This significantly smooths out price action and reduces false signals.
• Universal MA Selection: The engine supports a comprehensive suite of moving average types, including SMA, EMA, WMA, HMA, VWMA, RMA, ZLMA, and ZMA.
• Momentum Gradient: The indicator's most unique feature is its visual momentum coloring. The line smoothly transitions from red (bearish momentum) through yellow (neutral/indecision) to green (bullish momentum) based on the real-time ratio of rising vs. falling MAs within the cluster.
• Change-Point Signals: A white dot is plotted at the very start of a color change, and a yellow dot is plotted at the end, providing clear signals of potential shifts in momentum.
• Multi-Timeframe (MTF) Support: View the Adaptive Nexus Line from any timeframe directly on your current chart (e.g., plot the 4H line on a 15m chart) to get a better perspective of the higher-level trend.
• Adaptive Kalman Filter: An optional, switchable Kalman filter is included to provide an additional layer of intelligent, adaptive smoothing to the final output line. Its sensitivity is fully adjustable.
________________________________________
Settings Explained
• Moving Average Settings: Control the core engine. Choose your preferred MA Type, the Number of MAs in the cluster, the Start Length, and the Step between lengths.
• Time Frame: Set the indicator to a higher timeframe for a broader market view. Leave blank to use your chart's current timeframe.
• Kalman Filter Settings: Toggle the Use Kalman Filter on or off. Adjust the Kalman Smoothing Period (higher = smoother) to fine-tune the adaptive smoothing to your preference.
STR StrengthSTR Strength – CE/PE VWAP Deviation + Straddle Volatility Meter
💡 Key Features
🔹 Strength Calculation
Computes Call Strength (CE) and Put Strength (PE) as the deviation of close from intraday VWAP.
Positive strength → trading above VWAP (bullish bias).
Negative strength → trading below VWAP (bearish bias).
🔹 Smoothing Option
Optionally smooths the strength values using a simple moving average for better clarity and trend visibility.
🔹 Volatility Detection
Monitors straddle percentage change per bar (CE + PE combined).
When volatility exceeds your defined threshold, chart background highlights in yellow.
🔹 Live Data Table
Displays real-time metrics at the bottom of the chart:
CE Strength
PE Strength
Total Straddle Value
📊 How to Interpret
Lime Line (CE Strength): Bullish bias in the call option.
Red Line (PE Strength): Bearish bias in the put option.
Yellow Background: Indicates high volatility movement in straddle value.
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not provide trading advice or buy/sell signals.
Use responsibly and in conjunction with your market analysis.
Meeting Point TrackerDescription
This script — Options – Meeting Point — visually combines Call (CE) and Put (PE) option candles of the same strike into a single layout, designed for intraday option traders who monitor both legs simultaneously.
💡 Key Features
🔹 Dual Candle Display
Plots CE candles in green/red and PE candles in blue/magenta.
Both legs appear on the same panel — perfect for straddle/strangle monitoring.
🔹 Automatic Symbol Builder
Auto-constructs CE/PE symbols from spot index, expiry, and strike.
Manual override supported for custom inputs.
🔹 Live BEP & Levels(Under testing)
Displays intraday CE/PE highs & lows with dotted lines.
Shows Live Break-Even Points (BEP) for the straddle — updated tick-by-tick.
Optional manual price line for quick visual references.
🔹 VWAP Support
Plots VWAP for both CE and PE options individually (toggleable).
Helps compare momentum and strength between both sides.
🔹 Point of Control (POC)
Calculates dynamic intraday POC using 1-minute price–volume density.
Updates automatically as new data streams in.
🔹 Trade Blocks (Per-Leg)
Define trade details for CALL and PUT independently:
Entry, SL, Target, Quantity, Side (Buy/Sell).
Calculates Live P&L and Status (“Target Hit”, “SL Hit”, or “Live”).(Under testing)
⚠️ Disclaimer
This indicator is for educational and analytical purposes only.
It does not constitute financial advice or trade recommendations.
Past performance is not indicative of future results.
YM Sniper Overlay (Bias, Levels, VWAP) — Sweeps + R:RPDH/PDL/ONH/ONL that notifies you when breaking or retest
POC Ghost LevelsPOC Ghost Levels
Disclaimer
IMPORTANT: This indicator is for educational and informational purposes only. It is NOT investment advice, financial advice, trading advice, or a recommendation to buy or sell any security or financial instrument.
Overview
Point of Control (POC) represents the price level with the highest traded volume within a period, developed by J. Peter Steidlmayer at the Chicago Board of Trade (1981-1983). POC shows where institutional traders accumulated their largest positions, acting as strong support/resistance because institutions defend these levels.
Visual Elements
POC Lines (Horizontal): Teal/green lines show active POCs; orange lines indicate mitigated (revisited) levels. The line shows institutional accumulation zones.
"✕" Symbol (Period End): Marks when the calculation period ends (daily/weekly/monthly/yearly). POCs become valid trading reference points only after period completion—the X confirms this transition.
"●" Dot (Mitigation Point): Appears when price retests a POC level (High ≥ POC ≥ Low, or close within 10% of bar range). Virgin POCs (VPCs)—POCs not yet revisited—are even stronger price attractors than regular POCs, acting like gravitational pull that increases as price approaches.
"Ghost Effect": Extended lines represent market memory. POCs act as magnets where price gravitates toward in the future, representing "fair price" where most volume traded.
Trading Theory
All markets are auction processes seeking to maximize volume. Volume is the truest indicator of the market's ability to facilitate trade. Markets not facilitating trade at a given price will move to levels that better facilitate trade. Big institutions cannot enter positions instantly—they accumulate over time. POCs reveal where these positions formed.
Trade the first POC test for highest probability success. In trending markets, POCs confirm trend legs; in ranging markets, POCs act as central magnets.
Key Literature
Steidlmayer, J.P. & Hawkins, S.B. (2003). Steidlmayer on Markets: Trading with Market Profile (2nd ed.). Wiley.
Dalton, J.F., Jones, E.T., & Dalton, R.B. (2012). Mind Over Markets: Power Trading with Market Generated Information. Wiley.
Dalton, J.F., Dalton, R.B., & Jones, E.T. (2007). Markets in Profile: Profiting from the Auction Process. Wiley.
Jardine, M. (2012). Just a Trade a Day: Simple Ways to Profit from Predictable Market Moves. Wiley Trading.
Piotroski F-Score المنهج العلمي: ما هو نموذج بيوتروسكي F-Score؟
نموذج F-Score هو نظام تصنيف رقمي تم تطويره في عام 2000 من قبل جوزيف بيوتروسكي (Joseph Piotroski)، أستاذ المحاسبة في جامعة ستانفورد. الهدف من هذا النموذج هو قياس القوة المالية للشركات ذات القيمة (Value Stocks)، وتحديداً تلك التي لديها نسبة "القيمة الدفترية إلى القيمة السوقية" (Book-to-Market) مرتفعة.
الفكرة الأساسية هي فرز الشركات "الرخيصة" ظاهرياً، والتمييز بين تلك التي تتحسن أساسياتها المالية (الرابحون) وتلك التي تتدهور (الخاسرون).
يعتمد النموذج على تسعة معايير بسيطة، مقسمة إلى ثلاث فئات رئيسية. تحصل الشركة على نقطة واحدة عن كل معيار تحققه، ولا تحصل على شيء إذا لم تحققه. النتيجة النهائية هي مجموع هذه النقاط، وتتراوح من 0 (الأسوأ) إلى 9 (الأفضل).
المعايير التسعة (كيف يتم حساب النقاط):
أ) الربحية (Profitability) - (4 نقاط محتملة)
صافي الدخل إيجابي (ROA > 0): هل حققت الشركة ربحاً في العام الأخير؟ (نقطة واحدة)
التدفق النقدي التشغيلي إيجابي: هل ولّدت الشركة نقداً من عملياتها الأساسية؟ (نقطة واحدة)
جودة الأرباح (التدفق النقدي > صافي الدخل): هل التدفق النقدي التشغيلي أعلى من صافي الدخل؟ هذا يشير إلى أن الأرباح ليست مجرد قيود محاسبية. (نقطة واحدة)
تحسن العائد على الأصول (ROA): هل العائد على الأصول هذا العام أفضل من العام الماضي؟ (نقطة واحدة)
ب) الرافعة المالية والسيولة (Leverage & Liquidity) - (3 نقاط محتملة)
5. انخفاض الرافعة المالية: هل انخفضت نسبة الدين طويل الأجل إلى الأصول هذا العام مقارنة بالعام الماضي؟ (نقطة واحدة)
6. تحسن النسبة الحالية (Current Ratio): هل تحسنت سيولة الشركة قصيرة الأجل هذا العام؟ (نقطة واحدة)
7. عدم إصدار أسهم جديدة: هل قامت الشركة بتخفيف ملكية المساهمين الحاليين عن طريق إصدار أسهم جديدة خلال العام؟ (تحصل على نقطة إذا لم تصدر أسهماً جديدة).
ج) الكفاءة التشغيلية (Operating Efficiency) - (2 نقطة محتملة)
8. تحسن هامش الربح الإجمالي: هل زاد هامش الربح الإجمالي هذا العام مقارنة بالعام الماضي؟ (نقطة واحدة)
9. تحسن معدل دوران الأصول: هل زادت كفاءة الشركة في استخدام أصولها لتوليد المبيعات هذا العام؟ (نقطة واحدة)
تفسير النتائج:
نتيجة قوية (8-9 نقاط): تشير إلى أن الشركة في وضع مالي قوي جداً وأساسياتها تتحسن بشكل ملحوظ.
نتيجة محايدة (3-7 نقاط): وضع الشركة مستقر ولكن لا توجد إشارات قوية على تحسن أو تدهور كبير.
نتيجة ضعيفة (0-2 نقاط): تشير إلى أن أساسيات الشركة المالية ضعيفة وقد تكون في مسار تدهور.
2. كيفية استخدام المؤشر على TradingView
الكود الذي قدمته يجعل من السهل تطبيق هذا التحليل المعقد بنقرة زر.
التطبيق على الرسم البياني:
أضف المؤشر إلى الرسم البياني. سيظهر في نافذة منفصلة أسفله، ويعرض خطاً يمثل قيمة F-Score عبر الزمن.
فهم المدخلات (الإعدادات):
Symbol (الرمز): كما في المؤشر السابق، اتركه فارغاً لتحليل السهم الحالي، أو أدخل رمز سهم آخر للمقارنة.
Period (الفترة): يتيح لك اختيار الفترة المالية التي يتم على أساسها حساب المعايير التسعة. FY (سنوي) هو الخيار الأكثر شيوعاً لأنه يقارن أداء الشركة على أساس سنوي، وهو ما يتوافق مع تصميم النموذج الأصلي.
قراءة المخرجات البصرية:
خط F-Score: يوضح قيمة المؤشر تاريخياً. هل كانت الشركة قوية مالياً في الماضي؟ هل تحسنت مؤخراً؟
الخطوط المتقطعة: الخط الأخضر عند 8 والخط الأحمر عند 2 يمثلان حدود المناطق القوية والضعيفة.
الخلفية الملونة: تقدم ملخصاً بصرياً سريعاً:
أخضر: الشركة قوية جداً (F-Score ≥ 8).
أحمر: الشركة ضعيفة (F-Score ≤ 2).
بدون لون: الشركة في المنطقة المحايدة.
الاستخدام العملي في التحليل:
فلترة الأسهم القيمة: الاستخدام الأساسي للنموذج هو فلترة الأسهم التي تبدو "رخيصة" (مثلاً، لديها نسبة سعر إلى ربح منخفضة). سهم رخيص مع F-Score مرتفع (8 أو 9) هو مرشح استثماري واعد. سهم رخيص مع F-Score منخفض (0-2) هو على الأرجح "فخ قيمة" (value trap) يجب تجنبه.
تتبع التحولات: راقب الشركات التي ينتقل مؤشرها من المنطقة الضعيفة إلى المنطقة المحايدة أو القوية. هذا قد يكون مؤشراً مبكراً على تحول إيجابي في أداء الشركة.
تجنب المخاطر: الشركات التي لديها F-Score منخفض باستمرار هي شركات يجب التعامل معها بحذر شديد، حتى لو بدت أسعارها مغرية.
أداة تكميلية: F-Score هو أداة كمية ممتازة، لكن يجب دمجها دائماً مع تحليل نوعي (فهم نموذج عمل الشركة، إدارتها، وميزتها التنافسية).
In English
1. The Scientific Method: What is the Piotroski F-Score?
The F-Score is a numerical scoring system developed in 2000 by Joseph Piotroski, an accounting professor at Stanford University. The model's purpose is to measure the financial strength of value stocks, specifically those with a high book-to-market ratio.
The core idea is to sift through seemingly "cheap" companies and distinguish between those whose financial fundamentals are improving (the "winners") and those whose fundamentals are deteriorating (the "losers").
The model is based on nine simple criteria, divided into three main categories. A company earns one point for each criterion it meets and zero if it doesn't. The final score is the sum of these points, ranging from 0 (worst) to 9 (best).
The Nine Criteria (How Points are Scored):
A) Profitability (4 possible points)
Positive Net Income (ROA > 0): Did the company make a profit in the last year? (1 point)
Positive Operating Cash Flow: Did the company generate cash from its core operations? (1 point)
Quality of Earnings (Cash Flow > Net Income): Is operating cash flow higher than net income? This suggests earnings are not just accounting-driven. (1 point)
Improving Return on Assets (ROA): Is this year's ROA better than last year's? (1 point)
B) Leverage & Liquidity (3 possible points)
5. Lower Leverage: Did the long-term debt-to-assets ratio decrease this year compared to last year? (1 point)
6. Improving Current Ratio: Has the company's short-term liquidity improved this year? (1 point)
7. No New Share Issuance: Did the company dilute existing shareholders by issuing new shares during the year? (1 point is awarded if it did not issue new shares).
C) Operating Efficiency (2 possible points)
8. Improving Gross Margin: Did the gross profit margin increase this year compared to last year? (1 point)
9. Improving Asset Turnover: Did the company's efficiency in using its assets to generate sales improve this year? (1 point)
Interpreting the Score:
Strong Score (8-9 points): Indicates the company is in a very strong financial position and its fundamentals are improving significantly.
Neutral Score (3-7 points): The company's situation is stable, but there are no strong signals of major improvement or deterioration.
Weak Score (0-2 points): Indicates the company's financial fundamentals are weak and may be on a deteriorating path.
2. How to Use the Indicator on TradingView
The code you provided makes applying this complex analysis as simple as a click.
Applying to the Chart:
Add the indicator to a chart. It will appear in a separate pane below, displaying a line representing the F-Score's value over time.
Understanding the Inputs (Settings):
Symbol: As with the previous indicator, leave it blank to analyze the current stock, or enter another ticker for comparison.
Period: This allows you to select the fiscal period on which the nine criteria are based. FY (Fiscal Year) is the most common choice as it compares the company's performance on a year-over-year basis, which aligns with the model's original design.
Reading the Visual Outputs:
F-Score Line: Shows the historical value of the score. Was the company financially strong in the past? Has it improved recently?
Dashed Lines: The green line at 8 and the red line at 2 mark the thresholds for the strong and weak zones.
Colored Background: Provides a quick visual summary:
Green: The company is very strong (F-Score ≥ 8).
Red: The company is weak (F-Score ≤ 2).
No Color: The company is in the neutral zone.
Practical Use in Analysis:
Filtering Value Stocks: The model's primary use is to filter stocks that appear "cheap" (e.g., have a low P/E ratio). A cheap stock with a high F-Score (8 or 9) is a promising investment candidate. A cheap stock with a low F-Score (0-2) is likely a "value trap" and should be avoided.
Tracking Turnarounds: Keep an eye on companies whose score moves from the weak zone into the neutral or strong zone. This could be an early indicator of a positive turnaround in the company's performance.
Risk Avoidance: Companies with a persistently low F-Score are ones to be very cautious about, even if their prices look tempting.
A Complementary Tool: The F-Score is an excellent quantitative tool, but it should always be combined with qualitative analysis (understanding the business model, management, and competitive landscape)
PsyExpansionPanel_v5_KohlhaasThe PsyExpansionPanel measures the energy in the market, combining volatility, momentum, and volume into one composite signal.
It helps identify when a move is genuine and powerful — not just visually strong but backed by volatility and participation.
⸻
⚙️ Core Idea
When the blue line (Expansion Score) rises above the orange line (Threshold),
the market enters an expansion phase — volatility, speed, and participation all increase together.
This is the moment when a move becomes serious and emotionally charged.
⸻
📊 What Each Line Means
• Blue line → Expansion Score (combined energy from ATR%, ROC, and Volume)
• Orange line → Threshold (e.g. 0.75) — when crossed, expansion is active
• Gray line → Neutral zone — calm market, low activity
When the blue line crosses above the orange threshold,
the background turns orange, signaling: Expansion Active.
⸻
🧠 Market Psychology Behind It
During expansion, three things happen at once:
1. Volatility (ATR%) increases → traders become emotional (fear or greed rises)
2. Momentum (ROC) accelerates → price moves faster than usual
3. Volume rises above average → more participants join the move
This combination signals a transition from equilibrium to collective emotional action —
a moment when trends or reversals often begin.
Altman Z-Score Indicator
1. المنهج العلمي: ما هو نموذج ألتمان Z-Score؟
نموذج Z-Score هو صيغة إحصائية متعددة المتغيرات تم تطويرها في عام 1968 من قبل البروفيسور إدوارد ألتمان (Edward Altman)، أستاذ التمويل في جامعة نيويورك. الهدف الأساسي للنموذج هو التنبؤ باحتمالية إفلاس شركة مساهمة عامة خلال العامين التاليين.
يعتمد النموذج على دمج خمس نسب مالية أساسية، يتم استخلاصها من القوائم المالية للشركة (قائمة الدخل والميزانية العمومية). يتم ضرب كل نسبة في معامل (وزن) محدد، ثم يتم جمع النتائج للحصول على قيمة واحدة هي "Z-Score".
المعادلة الأساسية للشركات الصناعية العامة (وهي التي يطبقها الكود):
`Z = 1.2 X₁ + 1.4 X₂ + 3.3 X₃ + 0.6 X₄ + 1.0 X₅`
حيث أن:
X₁ = (رأس المال العامل / إجمالي الأصول): يقيس سيولة الشركة على المدى القصير. رأس المال العامل المرتفع يعني أن الشركة لديها أصول متداولة كافية لتغطية التزاماتها قصيرة الأجل.
X₂ = (الأرباح المحتجزة / إجمالي الأصول): يقيس الربحية التراكمية للشركة وقدرتها على تمويل أصولها من أرباحها الخاصة بدلاً من الديون.
X₃ = (الأرباح قبل الفوائد والضرائب (EBIT) / إجمالي الأصول): يقيس كفاءة الشركة في تحقيق أرباح من أصولها قبل احتساب تكاليف التمويل والضرائب. إنها مؤشر قوي على الربحية التشغيلية.
X₄ = (القيمة السوقية لحقوق الملكية / إجمالي الالتزامات): يقيس الرافعة المالية للشركة. كلما انخفضت قيمة الشركة السوقية مقارنة بديونها، زاد خطر الإفلاس.
X₅ = (إجمالي الإيرادات (المبيعات) / إجمالي الأصول): يعرف بـ "معدل دوران الأصول". يقيس مدى كفاءة الشركة في استخدام أصولها لتوليد المبيعات.
تفسير النتائج (مناطق التصنيف):
قام ألتمان بتحديد ثلاث مناطق لتصنيف الشركات بناءً على قيمة Z-Score:
1. منطقة الخطر (Distress Zone) | Z < 1.81: الشركات التي تقع في هذه المنطقة لديها احتمالية عالية جداً لمواجهة صعوبات مالية قد تؤدي إلى الإفلاس.
2. المنطقة الرمادية (Grey Zone) | 1.81 ≤ Z ≤ 2.99: الشركات في هذه المنطقة تقع في وضع غير مؤكد. لا يمكن تصنيفها بأنها آمنة أو في خطر وشيك، وتتطلب تحليلاً أعمق.
3. المنطقة الآمنة (Safe Zone) | Z > 2.99: الشركات التي تحقق نتيجة في هذه المنطقة تعتبر في وضع مالي سليم ومستقر، واحتمالية إفلاسها منخفضة جداً.
2. كيفية استخدام المؤشر على TradingView
الكود الذي قمت بتطويره يجعل استخدام هذا النموذج سهلاً للغاية. إليك كيفية استخدامه بفعالية:
1. التطبيق على الرسم البياني:
أضف المؤشر إلى الرسم البياني لأي سهم ترغب في تحليله. سيظهر المؤشر في نافذة منفصلة أسفل الرسم البياني للسعر.
2. فهم المدخلات (الإعدادات):
Symbol (الرمز): يمكنك ترك هذا الحقل فارغاً ليقوم المؤشر بتحليل السهم الحالي على الرسم البياني تلقائياً. أو يمكنك إدخال رمز سهم آخر (مثلاً `AAPL` أو `MSFT`) لتحليل تلك الشركة ومقارنتها بالشركة الحالية.
Fiscal Period (الفترة المالية): هذا هو أهم إعداد. يتيح لك اختيار البيانات التي سيعتمد عليها التحليل:
`FY` (سنوي): يستخدم بيانات آخر سنة مالية كاملة. هذا هو الخيار الأكثر شيوعاً واستقراراً.
`FQ` (ربع سنوي): يستخدم بيانات آخر ربع مالي. هذا الخيار أكثر حساسية للتغيرات قصيرة المدى.
`TTM` (آخر 12 شهراً): يستخدم البيانات المجمعة لآخر 12 شهراً. يوفر نظرة حديثة ومستمرة.
3. قراءة المخرجات البصرية:
خط Z-Score: هو الخط الرئيسي للمؤشر. حركته عبر الزمن توضح كيف يتغير الوضع المالي للشركة. هل يتحسن (الخط يرتفع) أم يتدهور (الخط ينخفض)؟
الخطوط المتقطعة: الخط الأخضر عند `2.99` والخط الأحمر عند `1.81` يمثلان حدود المناطق (الآمنة والخطر). عبور خط Z-Score لهذه الحدود يعتبر إشارة هامة.
الخلفية الملونة: هي أسرع طريقة لمعرفة وضع الشركة الحالي:
أخضر: الشركة في المنطقة الآمنة.
أصفر (رمادي): الشركة في المنطقة الرمادية.
أحمر: الشركة في منطقة الخطر.
4. الاستخدام العملي في التحليل:
التحليل الاتجاهي: لا تنظر فقط إلى القيمة الحالية. راقب اتجاه خط Z-Score على مدى عدة سنوات. شركة يرتفع مؤشرها باستمرار من 1.5 إلى 2.5 هي في مسار تحسن، بينما شركة ينخفض مؤشرها من 4.0 إلى 3.1 قد تكون في بداية مسار تدهور.
إشارات الإنذار المبكر: إذا انخفض Z-Score لشركة ما تحت 2.99 ودخل المنطقة الرمادية، فهذه دعوة للبدء في تحليل أعمق لأسباب هذا الانخفاض. إذا انخفض تحت 1.81، فهذه إشارة خطر واضحة يجب أخذها على محمل الجد.
المقارنة بين الشركات: استخدم حقل `Symbol` لمقارنة الصحة المالية لشركتين في نفس القطاع. أي منهما لديها Z-Score أعلى وأكثر استقراراً؟
تأكيد التحليل الأساسي: استخدم هذا المؤشر كأداة مساعدة بجانب تحليلاتك الأخرى، وليس كأداة وحيدة لاتخاذ القرار. فهو لا يأخذ في الاعتبار عوامل مثل الإدارة، الميزة التنافسية، أو ظروف السوق الكلية.
---
In English
1. The Scientific Method: What is the Altman Z-Score Model?
The Z-Score model is a multivariate statistical formula developed in 1968 by Dr. Edward Altman, a Professor of Finance at New York University. The primary objective of the model is to predict the probability of a publicly traded company going bankrupt within the next two years.
The model works by combining five key financial ratios derived from a company's financial statements (the income statement and balance sheet). Each ratio is multiplied by a specific coefficient (weight), and the results are summed up to produce a single value: the "Z-Score."
The Original Formula for Public Manufacturing Companies (which your code implements):
`Z = 1.2 X₁ + 1.4 X₂ + 3.3 X₃ + 0.6 X₄ + 1.0 X₅`
Where:
X₁ = (Working Capital / Total Assets): Measures the company's short-term liquidity. High working capital indicates the company has sufficient current assets to cover its short-term liabilities.
X₂ = (Retained Earnings / Total Assets): Measures the company's cumulative profitability and its ability to finance its assets with its own profits instead of debt.
X₃ = (Earnings Before Interest and Taxes (EBIT) / Total Assets): Measures the company's efficiency in generating profits from its assets before accounting for financing costs and taxes. It's a strong indicator of operational profitability.
X₄ = (Market Value of Equity / Total Liabilities): Measures the company's financial leverage. The more a company's market value declines relative to its debt, the higher the bankruptcy risk.
X₅ = (Total Revenue (Sales) / Total Assets): Known as "Asset Turnover." It measures how efficiently the company is using its assets to generate sales.
Interpreting the Score (The Zones of Discrimination):
Altman identified three zones to classify companies based on their Z-Score:
1. Distress Zone | Z < 1.81: Companies in this zone have a very high probability of facing financial distress that could lead to bankruptcy.
2. Grey Zone | 1.81 ≤ Z ≤ 2.99: Companies here are in an uncertain position. They cannot be classified as either safe or in imminent danger and require deeper analysis.
3. Safe Zone | Z > 2.99: Companies with a score in this zone are considered to be in a sound and stable financial position, with a very low probability of bankruptcy.
2. How to Use the Indicator on TradingView
The code you've developed makes using this model incredibly easy. Here is how to use it effectively:
1. Applying to the Chart:
Add the indicator to the chart of any stock you wish to analyze. The indicator will appear in a separate pane below the price chart.
2. Understanding the Inputs (Settings):
Symbol: You can leave this blank for the indicator to automatically analyze the current stock on the chart. Alternatively, you can enter another stock ticker (e.g., `AAPL` or `MSFT`) to analyze that company and compare it to the current one.
Fiscal Period: This is the most important setting. It lets you choose the data on which the analysis is based:
`FY` (Fiscal Year): Uses data from the last full fiscal year. This is the most common and stable option.
`FQ` (Fiscal Quarter): Uses data from the last fiscal quarter. This option is more sensitive to short-term changes.
`TTM` (Trailing Twelve Months): Uses aggregated data from the last 12 months, providing a recent and rolling view.
3. Reading the Visual Outputs:
Z-Score Line: This is the main plot of the indicator. Its movement over time shows how the company's financial health is evolving. Is it improving (line goes up) or deteriorating (line goes down)?
Dashed Lines: The green line at `2.99` and the red line at `1.81` represent the thresholds for the Safe and Distress zones. The Z-Score line crossing these thresholds is a significant signal.
Colored Background: This is the quickest way to see the company's current status:
Green: The company is in the Safe Zone.
Yellow (Grey): The company is in the Grey Zone.
Red: The company is in the Distress Zone.
4. Practical Use in Analysis:
Trend Analysis: Don't just look at the current value. Observe the trend of the Z-Score line over several years. A company whose score is consistently rising from 1.5 to 2.5 is on an improving path, whereas a company whose score is falling from 4.0 to 3.1 may be at the beginning of a deteriorating path.
Early Warning Signals: If a company's Z-Score drops below 2.99 into the Grey Zone, it's a call to start a deeper analysis into the reasons for this decline. If it drops below 1.81, it is a clear danger signal that must be taken seriously.
Peer Comparison: Use the `Symbol` input field to compare the financial health of two companies in the same sector. Which one has a higher and more stable Z-Score?
Fundamental Analysis Confirmation: Use this indicator as a supplementary tool alongside your other analyses, not as a sole decision-making tool. It does not account for factors like management quality, competitive advantage, or macroeconomic conditions.
EMA 9, 21 & 50 Indicator with Floating Labels🟢 EMA 9, 21 & 50 Indicator with Floating Labels
📘 Overview
This indicator plots three exponential moving averages (EMAs) to visualize short-, medium-, and longer-term trend structure on any timeframe:
EMA 9 – Bright Green (short-term momentum)
EMA 21 – Bright Yellow (medium-term trend)
EMA 50 – Red (broader trend confirmation)
Each EMA has a floating label on the right edge of the chart, so line identities remain visible as new candles form.
🪶 Features
Clear, fixed colors for easy recognition (Green 9 / Yellow 21 / Red 50)
Floating labels that stay visible off the right edge
Clean overlay compatible with any chart style
Lightweight and fast to render
📈 How to Use
Trend Filter:
Price above 21 & 50 → bullish bias; look for long setups or pullbacks toward the 9/21.
Price below 21 & 50 → bearish bias; look for short setups or rallies into 9/21.
Momentum vs. Structure:
9 EMA = momentum guide for quick swings.
21 EMA = primary trend line for swing entries/exits.
50 EMA = confirmation of broader direction.
🔧 Tips
Analyze trend on Daily or 4H; fine-tune entries on 1H/15m near the 9 or 21 EMA.
Pair with volume or RSI/MACD for extra confirmation at EMA touches/crosses.
Crypto Sessions v1.0This indicator is designed to visualize and track the four major trading sessions. It highlights the Pacific (Sydney), Asia (Tokyo), EU (London) and USA (New York) sessions each with its own distinct color for easy idenitifition.
At the start of each session the script draws a vertical dashed line in the session's color to mark the beggining, with a simple label floating above. As the session progresses it dynamically creates a semi-transparent box that spans the session's duration. The boxes overlap where sessions coincide.
Commodity Pulse Matrix (CPM) [WavesUnchained]Commodity Pulse Matrix (CPM) is a professional multi-timeframe analysis suite built for commodity trading. It compresses dozens of signals into one color-coded matrix to show directional bias and quality across three user-set timeframes, plus optional chart TF. Non-repainting design: HTF values use confirmed bars; rendering is optimized.
Categories:
Flow = MFI, OBV, volume trend, smart-money bias. Momentum = RSI (dynamic zones), MACD histo, CCI, WaveCycle Momentum (adaptive, ATR-normalized). Trend = EMA stack (20/50/100/200), ADX+DI, VWAP positioning. Volatility = ATR%, Williams Vix Fix spikes, squeeze (Bollinger inside Keltner). Structure = price vs key EMAs, pivot S/R alignment. Divergence = regular/hidden on RSI via RDZ, optional MACD, cluster strength; zone-gated and bar-confirmed.
Oscillators:
WCM detects momentum swings with dead-zone filtering and dynamic OB/OS. RDZ finds divergences only in RSI 70/30 zones with optional volume/MFI gate. WVF highlights volatility-shock exhaustion (bottom/top mode) and can feed the exhaustion filter.
Exhaustion module:
Strict 5-point check (RSI extreme, ATR range expansion, volume spike, wick ratio, compressed body) with Watch → Confirmed logic and optional reversal-zone boxes from pivots. Squeeze detector flags contraction and first expansion.
Matrix and visuals:
Compact or detailed grid; 4-layer heat gradient; ▲/▼/• symbols; action badges (Setup/Neutral); optional VWAP cross markers (session, anchored high/low, clusters). Overlay options: EMA gradient fill, AVWAP (session/week/month), S/R lines, divergence diamonds (teal/amber), exhaustion triangles, squeeze dots. Performance friendly (updates on last bar).
Scoring:
Each category scores −3…+3, weighted by importance (default: Flow 1.2, Momentum 1.0, Trend 1.0, Volatility 0.6, Structure 1.0, Divergence 1.4). Confluence bands: ≥ +8 strong bull, ≥ +4 moderate bull, ≤ −4 moderate bear, ≤ −8 strong bear; otherwise neutral. Heat score (0–1) blends magnitude, TF alignment, divergence strength, and volume confirmation.
Configuration:
Presets Intraday/Swing/Carry or full Custom. Adjustable weights, thresholds, oscillator params (WCM, RDZ, WVF), HTF-confirmed mode, matrix layout, alert conditions. Works on commodities, FX, indices; 1m to Monthly.
How to use:
Wait for TF alignment and high confluence; use reversal zones and divergence/exhaustion for timing. Trend follow: all TFs green, pullback to EMA20, stop below EMA50. Divergence: diamond appears, matrix flips, enter with confirmation. Squeeze: contraction then expansion in matrix direction.
Notes:
Pine v6. Non-repainting by design. Optimized security calls and UI throttling. Alert-ready. Backtest before live trading; manage risk; news context matters.
Disclaimer:
Educational only. Not financial advice. Past performance is not indicative of future results.