US30 Trend Screener (TechnoBlooms)Identify Index Trends Before the Move Starts.
The US30 Trend Screener is a powerful tool designed to help traders understand the internal dynamics of the Dow Jones Industrial Average (US30) by analyzing the trends of its weighted component stocks in real time.
📊 How It Works
This indicator uses EMA crossovers, RSI, and MACD signals from the 30 Dow Jones stocks and visualizes them in a compact, color-coded dashboard overlay on your chart.
You can choose your preferred lower timeframe (e.g., 1min, 5min, 15min) to analyze intraday momentum before the US30 index reflects the shift.
⏱ Timeframe Input
Select any minute-based timeframe (1–240 min) to suit your trading strategy.
Each stock’s trend data is fetched using your selected timeframe, so you can zoom in or out on price action dynamics.
It is recommended to select the timeframe closer to the chart timeframe in the indicator.
🚀 Key Features
✅ Component-Based Analysis: Tracks all 30 Dow stocks like MSFT, AAPL, GS, etc., with real-time price and indicator updates.
✅ Trend Detection: Uses EMA (8/34) crossover to determine bullish or bearish trends per stock.
✅ Momentum Signals: Shows RSI (14) values and MACD direction (▲ / ▼) for each stock.
✅ Color-Coded Dashboard:
🟩 Green = Bullish trend
🟥 Red = Bearish trend
✅ Compact Display: See 30 stocks in a 3-column grid format, updated every few bars for performance.
🧠 Pro Tips
🔍 Use shorter timeframes (1–5 min) to detect early trend shifts—perfect for scalping and intraday entries.
💼 Watch high-weight stocks like GS, MSFT, UNH. A shift in their trend often precedes index movement.
🎯 Combine with price action or SMC tools to confirm institutional moves and breakouts.
🚦 If most of the dashboard turns green/red at once, it often signals a strong momentum breakout or reversal.
💡 Ideal For:
Index traders (US30/DJI futures or CFDs)
Scalpers & day traders
Momentum and trend-following strategies
Traders who want to see the story behind the index move
Educational
Correlation Drift📈 Correlation Drift
The Correlation Drift indicator is designed to detect shifts in market momentum by analyzing the relationship between correlation and price lag. It combines the principles of correlation analysis and lag factor measurement to provide a unique perspective on trend alignment and momentum shifts.
🔍 Core Concept:
The indicator calculates the Correlation vs PLF Ratio, which measures the alignment between an asset’s price movement and a chosen benchmark (e.g., BTCUSD). This ratio reflects how well the asset’s momentum matches the market trend while accounting for price lag.
📊 How It Works:
Correlation Calculation:
The script calculates the correlation between the asset and the selected benchmark over a specified period.
A higher correlation indicates that the asset’s price movements are in sync with the benchmark.
Price Lag Factor (PLF) Calculation:
The PLF measures the difference between long-term and short-term price momentum, dynamically scaled by recent volatility.
It highlights potential overextensions or lags in the asset’s price movements.
Combining Correlation and PLF:
The Correlation vs PLF Ratio combines these metrics to detect momentum shifts relative to the trend.
The result is a dynamic, smoothed histogram that visualizes whether the asset is leading or lagging behind the trend.
💡 How to Interpret:
Positive Values (Green/Aqua Bars):
Indicates bullish alignment with the trend.
Aqua: Rising bullish momentum, suggesting continuation.
Teal: Decreasing bullish momentum, signaling caution.
Negative Values (Purple/Fuchsia Bars):
Indicates bearish divergence from the trend.
Fuchsia: Falling bearish momentum, indicating increasing pressure.
Purple: Rising bearish momentum, suggesting potential reversal.
Clipping for Readability:
Values are clipped between -3 and +3 to prevent outliers from compressing the histogram.
This ensures clear visualization of typical momentum shifts while still marking extreme cases.
🚀 Best Practices:
Use Correlation Drift as a confirmation tool in conjunction with trend indicators (e.g., moving averages) to identify momentum alignment or divergence.
Look for transitions from positive to negative (or vice versa) as signals of potential trend shifts.
Combine with volume analysis to strengthen confidence in breakout or breakdown signals.
⚠️ Key Features:
Customizable Settings: Adjust the correlation length, PLF length, and smoothing factor to fine-tune the indicator for different market conditions.
Visual Gradient: The histogram changes color based on the strength and direction of the ratio, making it easy to identify shifts at a glance.
Zero Line Reference: Clearly distinguishes between bullish and bearish momentum zones.
🔧 Recommended Settings:
Correlation Length: 14 (for short to medium-term analysis)
PLF Length: 50 (to smooth out noise while capturing trend shifts)
Smoothing Factor: 3 (for enhanced clarity without excessive lag)
Benchmark Symbol: BTCUSD (or another relevant market indicator)
By providing a quantitative measure of trend alignment while accounting for price lag, the Correlation Drift indicator helps traders make more informed decisions during periods of momentum change. Whether you are trading crypto, forex, or equities, this tool can be a powerful addition to your momentum-based trading strategies.
⚠️ Disclaimer:
The Correlation Drift indicator is a technical analysis tool designed to aid in identifying potential shifts in market momentum and trend alignment. It is intended for informational and educational purposes only and should not be considered as financial advice or a recommendation to buy, sell, or hold any financial instrument.
Trading financial instruments, including cryptocurrencies, involves significant risk and may result in the loss of your capital. Past performance is not indicative of future results. Always conduct thorough research and seek advice from a certified financial professional before making any trading decisions.
The developer (RWCS_LTD) is not responsible for any trading losses or adverse outcomes resulting from the use of this indicator. Users are encouraged to test and validate the indicator in a simulated environment before applying it to live trading. Use at your own risk.
KingJakesFx CRTThis TradingView indicator is a comprehensive tool that identifies and marks significant high and low points of Candle Range Type (CRT) candles. Its standout feature is the ability to visualize these key levels across multiple timeframes, allowing traders to maintain awareness of important price zones even when analyzing shorter timeframes.
The indicator extends high and low lines into the future, creating dynamic support and resistance levels that help anticipate potential price reactions. With extensive customization options, users can tailor the visual appearance of lines, labels, and alerts to match their trading setup and preferences.
Perfect for traders who analyze multiple timeframes and want to maintain awareness of significant price levels, this indicator combines powerful technical analysis with flexible visual customization to enhance any trading strategy.
Goldman Sachs Risk Appetite ProxyRisk appetite indicators serve as barometers of market psychology, measuring investors' collective willingness to engage in risk-taking behavior. According to Mosley & Singer (2008), "cross-asset risk sentiment indicators provide valuable leading signals for market direction by capturing the underlying psychological state of market participants before it fully manifests in price action."
The GSRAI methodology aligns with modern portfolio theory, which emphasizes the importance of cross-asset correlations during different market regimes. As noted by Ang & Bekaert (2002), "asset correlations tend to increase during market stress, exhibiting asymmetric patterns that can be captured through multi-asset sentiment indicators."
Implementation Methodology
Component Selection
Our implementation follows the core framework outlined by Goldman Sachs research, focusing on four key components:
Credit Spreads (High Yield Credit Spread)
As noted by Duca et al. (2016), "credit spreads provide a market-based assessment of default risk and function as an effective barometer of economic uncertainty." Higher spreads generally indicate deteriorating risk appetite.
Volatility Measures (VIX)
Baker & Wurgler (2006) established that "implied volatility serves as a direct measure of market fear and uncertainty." The VIX, often called the "fear gauge," maintains an inverse relationship with risk appetite.
Equity/Bond Performance Ratio (SPY/IEF)
According to Connolly et al. (2005), "the relative performance of stocks versus bonds offers significant insight into market participants' risk preferences and flight-to-safety behavior."
Commodity Ratio (Oil/Gold)
Baur & McDermott (2010) demonstrated that "gold often functions as a safe haven during market turbulence, while oil typically performs better during risk-on environments, making their ratio an effective risk sentiment indicator."
Standardization Process
Each component undergoes z-score normalization to enable cross-asset comparisons, following the statistical approach advocated by Burdekin & Siklos (2012). The z-score transformation standardizes each variable by subtracting its mean and dividing by its standard deviation: Z = (X - μ) / σ
This approach allows for meaningful aggregation of different market signals regardless of their native scales or volatility characteristics.
Signal Integration
The four standardized components are equally weighted and combined to form a composite score. This democratic weighting approach is supported by Rapach et al. (2010), who found that "simple averaging often outperforms more complex weighting schemes in financial applications due to estimation error in the optimization process."
The final index is scaled to a 0-100 range, with:
Values above 70 indicating "Risk-On" market conditions
Values below 30 indicating "Risk-Off" market conditions
Values between 30-70 representing neutral risk sentiment
Limitations and Differences from Original Implementation
Proprietary Components
The original Goldman Sachs indicator incorporates additional proprietary elements not publicly disclosed. As Goldman Sachs Global Investment Research (2019) notes, "our comprehensive risk appetite framework incorporates proprietary positioning data and internal liquidity metrics that enhance predictive capability."
Technical Limitations
Pine Script v6 imposes certain constraints that prevent full replication:
Structural Limitations: Functions like plot, hline, and bgcolor must be defined in the global scope rather than conditionally, requiring workarounds for dynamic visualization.
Statistical Processing: Advanced statistical methods used in the original model, such as Kalman filtering or regime-switching models described by Ang & Timmermann (2012), cannot be fully implemented within Pine Script's constraints.
Data Availability: As noted by Kilian & Park (2009), "the quality and frequency of market data significantly impacts the effectiveness of sentiment indicators." Our implementation relies on publicly available data sources that may differ from Goldman Sachs' institutional data feeds.
Empirical Performance
While a formal backtest comparison with the original GSRAI is beyond the scope of this implementation, research by Froot & Ramadorai (2005) suggests that "publicly accessible proxies of proprietary sentiment indicators can capture a significant portion of their predictive power, particularly during major market turning points."
References
Ang, A., & Bekaert, G. (2002). "International Asset Allocation with Regime Shifts." Review of Financial Studies, 15(4), 1137-1187.
Ang, A., & Timmermann, A. (2012). "Regime Changes and Financial Markets." Annual Review of Financial Economics, 4(1), 313-337.
Baker, M., & Wurgler, J. (2006). "Investor Sentiment and the Cross-Section of Stock Returns." Journal of Finance, 61(4), 1645-1680.
Baur, D. G., & McDermott, T. K. (2010). "Is Gold a Safe Haven? International Evidence." Journal of Banking & Finance, 34(8), 1886-1898.
Burdekin, R. C., & Siklos, P. L. (2012). "Enter the Dragon: Interactions between Chinese, US and Asia-Pacific Equity Markets, 1995-2010." Pacific-Basin Finance Journal, 20(3), 521-541.
Connolly, R., Stivers, C., & Sun, L. (2005). "Stock Market Uncertainty and the Stock-Bond Return Relation." Journal of Financial and Quantitative Analysis, 40(1), 161-194.
Duca, M. L., Nicoletti, G., & Martinez, A. V. (2016). "Global Corporate Bond Issuance: What Role for US Quantitative Easing?" Journal of International Money and Finance, 60, 114-150.
Froot, K. A., & Ramadorai, T. (2005). "Currency Returns, Intrinsic Value, and Institutional-Investor Flows." Journal of Finance, 60(3), 1535-1566.
Goldman Sachs Global Investment Research (2019). "Risk Appetite Framework: A Practitioner's Guide."
Kilian, L., & Park, C. (2009). "The Impact of Oil Price Shocks on the U.S. Stock Market." International Economic Review, 50(4), 1267-1287.
Mosley, L., & Singer, D. A. (2008). "Taking Stock Seriously: Equity Market Performance, Government Policy, and Financial Globalization." International Studies Quarterly, 52(2), 405-425.
Oppenheimer, P. (2007). "A Framework for Financial Market Risk Appetite." Goldman Sachs Global Economics Paper.
Rapach, D. E., Strauss, J. K., & Zhou, G. (2010). "Out-of-Sample Equity Premium Prediction: Combination Forecasts and Links to the Real Economy." Review of Financial Studies, 23(2), 821-862.
DAILY CANDLE PROFIT TARGET BIAS @MaxMaserati
Max Maserati Method for Candle Bias and effective price action Analysis
The MMM CANDLE BIAS 2.0 indicator, built on the proprietary Max Maserati Method, classifies candles to deliver clear, real-time market bias insights. It decodes price action, revealing institutional trading patterns often missed by retail traders.
The Six Core Candle Classifications: The Foundation of MMM Analysis
Master these six closing patterns, and you'll unlock the true language of price action. These are the building blocks of institutional trading behavior:
Bullish Body Close
Identification: Candle closes above the previous candle’s high.
Psychology: Strong buying pressure overcomes prior resistance.
Implication: Signals bullish trend continuation or reversal.
Bearish Body Close
Identification: Candle closes below the previous candle’s low.
Psychology: Intense selling pressure breaks past support.
Implication: Indicates bearish trend continuation or reversal.
Bullish Affinity
Identification: High tests or breaches previous low, but close stays within previous candle’s range.
Psychology: Buyers defend lower levels, rejecting downside.
Implication: Hidden bullish strength in consolidation.
Bearish Affinity
Identification: Low tests or breaches previous high, but close remains within previous candle’s range.
Psychology: Sellers cap upside attempts, gaining control.
Implication: Subtle bearish pressure despite failed breakout.
Seek & Destroy
Identification: Candle breaks both previous high and low, closing inside previous range.
Psychology: Institutions test liquidity on both sides before committing.
Implication: Direction depends on close—upper half (bullish affinity) or lower half (bearish affinity).
Close Inside
Identification: High and low stay within previous candle’s range.
Psychology: Consolidation with underlying directional bias.
Implication: Bias determined by close position relative to range.
Plus/Minus Strength System
Bullish Strength: Measures distance from low to close (buying pressure).
Bearish Strength: Measures distance from high to close (selling pressure).
Plus (+): Dominant strength significantly outweighs the other, indicating strong directional conviction.
Minus (-): Balanced strengths suggest a contested market, requiring caution.
Key Features
Automated Pattern Recognition: Instantly detects candle formations.
Color-Coded Bars: Green for bullish, red for bearish bias.
Dynamic Profit Targets: Projects targets based on higher timeframe high/low.
Real-Time Metrics: Displays bullish/bearish strength percentages and volume delta.
Customizable Table: Shows timeframe, symbol, bias, volume, and special note (“Analyze | Wait | Repeat”).
Bias Lines: Plots high/low lines on higher timeframe, with optional extension.
Labels: Customizable bias and profit target labels (Tiny, Small, Normal sizes).
Trading Advantages
Reveals institutional moves before retail traders react.
Detects reversals ahead of conventional indicators.
Enables precise entry timing with smart money.
Enhances risk management with clear strength signals.
Simplifies complex price action into actionable insights.
Profit Target Framework
Bullish Patterns: Target higher timeframe high.
Bearish Patterns: Target higher timeframe low.
Plus Strength: Expects direct move to target.
Minus Strength: Anticipates measured advance with potential pullbacks and/or violations.
Visual Implementation
Lines and Labels: High/low bias lines and profit target markers adapt to timeframe.
Table Display: Configurable position (top/middle/bottom, left/center/right) with key metrics.
Bar Coloring: Optional coloring based on bias or plus/minus strength.
Trader’s Mantra
"Analyze | Wait | Repeat" - Discipline turns market reading into consistent profits.
Elevate your trading with MMM CANDLE BIAS 2.0, where professional-grade analysis meets intuitive design.
Note: Based on the proprietary Max Maserati Method for educational and analytical use.
Intraday Fibs RetracementFibonacci (Fibs) levels are often used by traders as a way to find support and resistance, based on the Fibonacci sequence. These levels are widely used in technical analysis to identify potential reversal points in the price of an asset.
Fibs retracement draws lines at these Fibs level between a significant high and low point on a price chart.
What it shows:
This indicator will automatically draw Fibs Retracement Levels on your chart without any manual work.
It is designed to be used for day trading, especially in scenarios where a ticker gaps up/down large compared to the prior day close. (i.e. scenario where the difference of day's open and prior day close is large)
The drawing will happen on each trading day the moment trading hours open, and will NOT draw during pre-market and post-market.
User can see the line of each Fibs level, labelled with the Fib percentage and price value for the corresponding levels.
User will specify a start and end point of Fibs and based on the choice the indicator will automatically compute the other user defined Fibs levels and display on the chart.
How to use it:
The Fib levels drawn can be a potential support and resistance zone. Therefore in scenario where you already have a position and are approaching one of these levels it could be a point to close out some or all the position as you are approaching a resistance. On the other hand when price do approach these levels you could enter a position for a reversal trade. These are few ways to use the indicator but there are other ways that can be used, which can be found out by researching "Fibonacci (Fibs) Retracement".
In the example on the chart you can see a price bounce from the 0.7886 Fibs level on this particular day, where the price gapped up and was coming down after market hours opened.
Key settings:
1. Fibs Retracement Start and end Point: User selects where the Fibs levels should be drawn.
Available Options are:
Start Points:
Market Open
Market Open High (Dependent on the time frame you are on)
Pre-market High
Day's High
End Points:
Previous Day Close
Previous Day Low
Previous Day High
Pre-market Low (Current Day)
Day's Low
2. Custom Fib Levels: User can manually enter the Fib levels they want to see. (Max 9)
Default values are: 0,0.236,0.382,0.5,0.618,0.786,1,1.618,2.618.
3. Display settings: User can specify the line colour, thickness and style.
4. Label Setting: User can choose to turn on/off the labels for the each Fibs Level. Label will show the fib percentage and the corresponding price. User can also choose the location of the labels, defined by an offset from the current candle.
----------------------------------------------------------------------
If anything is not clear please let me know!
Risk Calculator Manual Only### Indicator Name: Risk Calculator Manual Only
Description:
This indicator is designed for manual risk and position size calculation. It helps traders manage risk per trade by clearly displaying key trade parameters on the chart in an easy-to-read table format. The indicator does not auto-calculate entry, stop, or target prices—all values must be entered manually, giving full control to the trader.
Key Features:
- Manual input only: Users manually enter the entry price, stop-loss, and take-profit levels.
- On-chart data table: Displays all calculated metrics in a compact, color-coded table:
- Trade Type: Long or Short, selectable in settings.
- Entry Price, Stop-Loss, Take-Profit: Entered by the user.
- Position Size ($): Automatically calculated based on your risk amount and stop-loss distance.
- Profit ($): Potential profit based on take-profit level.
- Loss ($): Potential loss based on stop-loss level.
- Color coding:
- Profit row is highlighted in green.
- Loss row is highlighted in red.
- Alerts: Optional alerts when price hits the stop-loss or take-profit levels.
How to Use:
1. Enter your planned entry price, stop-loss, and take-profit in the indicator settings.
2. Set your risk amount per trade (in USD).
3. The indicator will calculate the appropriate position size, potential profit, and loss, and display them in a visual table.
4. Enable alerts if you want to be notified when price reaches your stop-loss or take-profit.
Benefits:
- Helps enforce disciplined risk management.
- Visual feedback on key trade metrics, directly on the chart.
- Fast, manual trade planning with no automation—ideal for discretionary traders.
- Supports both long and short trade types.
Notes:
- This tool assumes accurate manual input. It does not auto-detect price levels.
- Best used by traders who prefer full control over their risk setup and calculations.
---------------------------------------------------------
Statistical Reliability Index (SRI)Statistical Reliability Index (SRI)
The Statistical Reliability Index (SRI) is a professional financial analysis tool designed to assess the statistical stability and reliability of market conditions. It combines advanced statistical methods to gauge whether current market trends are statistically consistent or prone to erratic behavior. This allows traders to make more informed decisions when navigating trending and choppy markets.
Key Concepts:
1. Extrapolation of Cumulative Distribution Functions (CDF)
What is CDF?
A Cumulative Distribution Function (CDF) is a statistical tool that models the probability of a random variable falling below a certain value.
How it’s used in SRI:
The SRI utilizes the 95th percentile CDF of recent returns to estimate the likelihood of extreme price movements. This helps identify when a market is experiencing statistically significant changes, crucial for forecasting potential breakouts or breakdowns.
Weight in SRI:
The weight of the CDF extrapolation can be adjusted to emphasize its impact on the overall reliability index, allowing customization based on the trader's preference for tail risk analysis.
2. Bias Factor (BF)
What is the Bias Factor?
The Bias Factor measures the ratio of the current market price to the expected mean price calculated over a defined period. It represents the deviation from the typical price level.
How it’s used in SRI:
A higher bias factor indicates that the current price significantly deviates from the historical average, suggesting a potential mean reversion or trend exhaustion.
Weight in SRI:
Adjusting the Bias Factor weight lets users control how much this deviation influences the SRI, balancing between momentum trading and mean reversion strategies.
3. Coefficient of Variation (CV)
What is CV?
The Coefficient of Variation (CV) is a statistical measure that expresses the ratio of the standard deviation to the mean. It indicates the relative variability of asset returns, helping gauge the risk-to-return consistency.
How it’s used in SRI:
A lower CV indicates more stable and predictable price behavior, while a higher CV signals increased volatility. The SRI incorporates the inverse of the normalized CV to reflect price stability positively.
Weight in SRI:
By adjusting the CV weight, users can prioritize consistent price movements over erratic volatility, aligning the indicator with risk tolerance and strategy preferences.
Interpreting the SRI:
1. SRI Plot:
The SRI plot dynamically changes color to reflect market conditions:
Aqua Line: Indicates uptrend stability, signaling statistically consistent upward movements.
Fuchsia Line: Indicates downtrend stability, where statistically reliable downward movements are present.
The overlay background shifts between colors:
Aqua Background: Signifies statistical stability, where trends are historically consistent.
Fuchsia Background: Indicates statistical instability, often associated with trend uncertainty.
Yellow Background: Marks choppy periods, where statistical data suggests that market conditions are not conducive to reliable trading.
2. SRI Volatility Plot:
Displays the volatility of the SRI itself to detect when the indicator is stable or unstable:
Blue Area Fill: Signifies that the SRI is stable, indicating trending conditions.
Yellow Area Fill: Represents choppy or unstable SRI movements, suggesting sideways or unreliable market conditions.
A Chop Threshold Line (dotted yellow) highlights the maximum acceptable SRI volatility before the market is considered too unpredictable.
3. Stability Assessment:
Stable Trend (No Chop):
The SRI is smooth and consistent, often accompanied by aqua or fuchsia lines.
Volatility remains below the chop threshold, indicating a low-risk, trend-following environment.
Chop Mode:
The SRI becomes erratic, and the volatility plot spikes above the threshold.
Marked by a yellow shaded background, indicating uncertain and non-trending conditions.
[Trend Identification:
Use the color-coded SRI line and background to determine uptrend or downtrend reliability.
Be cautious when the SRI volatility plot shows yellow, as this signals trading conditions may not be reliable.
Practical Use Cases:
Trend Confirmation:
Utilize the SRI plot color and background to confirm whether a detected trend is statistically reliable.
Chop Mode Filtering:
During yellow chop periods, it is advisable to reduce trading activity or adopt range-bound strategies.
Strategy Filter:
Combine the SRI with trend-following indicators (like moving averages) to enhance entry and exit accuracy.
Volatility Monitoring:
Pay attention to the SRI volatility plot, as spikes often precede erratic price movements or trend reversals.
Disclaimer:
The Statistical Reliability Index (SRI) is a technical analysis tool designed to aid in market stability assessment and trend validation. It is not intended as a standalone trading signal generator. While the SRI can help identify statistically reliable trends, it is essential to incorporate additional technical and fundamental analysis to make well-informed trading decisions.
Trading and investing involve substantial risk, and past performance does not guarantee future results. Always use risk management practices and consult with a financial advisor to tailor strategies to your individual risk profile and objectives.
Position Size Calculatorusing the settings you can edit your portfolio balance and desired risk, helps you calculate everything required about position sizing and helps you NOT lose more than intended + 10% deviation on top of that.
TCP | Money Management indicator | Crypto Version📌 TCP | Money Management Indicator | Crypto Version
A robust, multi-target risk and capital management indicator tailored for crypto traders. Whether you're trading spot, perpetual futures, or leverage tokens, this tool empowers you with precise control over risk, reward, and position sizing—directly on your chart. Eliminate guesswork and trade with confidence.
🔰 Introduction: Master Your Capital, Master Your Trades
Poor money management is the number one reason traders lose their accounts, even with solid strategies. The TCP Money Management Indicator, built by Trade City Pro (TCP), solves this problem by providing a structured, rule-based approach to capital allocation.
Want to dive deeper into the concept of money management? Check out our comprehensive tutorial on TradingView, " TradeCityPro Academy: Money Management ", to understand the principles that power this indicator and transform your trading mindset.
This indicator equips you to:
• Calculate optimal position sizes based on your capital, risk percentage, and leverage
• Set up to 5 customizable take-profit targets with partial close percentages
• Access real-time metrics like Risk-to-Reward (R/R), USD profit, and margin usage
• Trade with discipline, avoiding emotional or inconsistent decisions
💸 Money Management Formula
The indicator uses a professional capital allocation model:
Position Size = (Capital × Risk %) ÷ (Stop Loss % × Leverage)
From this, it calculates:
• Total risk amount in USD
• Optimal position size for your trade
• Margin required for each take-profit target
• Adjusted R/R for each target, accounting for partial position closures
🛠 How to Use
Enter Trade Parameters: Input your capital, risk %, leverage, entry price, and stop-loss price.
Set Take-Profit Targets: Enable 1 to 5 take-profit levels and specify the percentage of the position to close at each.
Real-Time Calculations: The indicator automatically computes:
• R/R ratio for each target
• Profit in USD for each partial close
• Margin used per target (in % and USD)
Visualize Your Trade:
• Price levels for entry, stop-loss, and take-profits are plotted on the chart.
• A dynamic info panel on the left side displays all key metrics.
🔄 Dynamic Adjustments: As each take-profit target is hit and a portion of the position is closed, the indicator recalculates the remaining position size, expected profit, R/R, and margin for subsequent targets. This ensures accuracy and reflects real-world trade behavior.
📊 Table Overview
The left-side panel provides a clear snapshot:
• Trade Setup: Capital, entry price, stop-loss, risk amount, and position size
• Per Target: Percentage closed, R/R, profit in USD, and margin used
• Summary: Total expected profit across all targets
⚙️ Settings Panel
• Total Capital ($): Your account size for the trade
• Risk per Trade (%): The percentage of capital you’re willing to risk
• Leverage: The leverage applied to the trade
• Entry/Stop-Loss Prices: Define your trade’s risk zone
• Take-Profit Targets (1–5): Set price levels and percentage to close at each
🔍 Use Case Example
Imagine you have $1,000 capital, risking 1%, using 10x leverage:
• Entry: $100 | Stop-Loss: $95
• TP1: $110 (close 50%) | TP2: $115 (close 50%)
The indicator calculates the exact position size, profit at each target, and margin allocation in real time, with all metrics displayed on the chart.
✅ Why Traders Love It
• Precision: No more manual calculations or guesswork
• Versatility: Works on all crypto pairs (BTC, ETH, altcoins, etc.)
• Flexibility: Perfect for scalping, swing trading, or futures strategies
• Universal: Compatible with all timeframes
• Transparency: Fully manual, with clear and reliable outputs
🧩 Built by Trade City Pro (TCP)
Developed by TCP, a trusted name in trading tools, used by over 150,000 traders worldwide. This indicator is coded in Pine Script v5, ensuring compatibility with TradingView’s platform.
🧾 Final Notes
• No Auto-Trading: This is a manual tool for disciplined traders
• No Repainting: All calculations are accurate and non-repainting
• Tested: Rigorously validated across major crypto pairs
• Publish-Ready: Built for seamless use on TradingView
🔗 Resources
• Money Management Tutorial: Learn the fundamentals of capital management with our detailed guide: TradeCityPro Academy: Money Management
• TradingView Profile: Explore more tools by TCP on TradingView
Order Block with BoSHere’s a professional and concise description you can use for publishing your **TradingView script** titled **"Order Block with BoS"**:
---
### 📌 **Description for TradingView Publication:**
**"Order Block with Break of Structure (BoS)"** is a powerful price action-based indicator designed to identify potential reversal zones and momentum shifts using **Order Block** detection combined with **Break of Structure (BoS)** confirmation.
### 🔍 **Key Features:**
* **Order Block Detection**: Highlights bullish and bearish order blocks using precise candle structure logic.
* **Break of Structure (BoS)**: Confirms structural breaks above swing highs or below swing lows to validate potential trend continuation or reversal.
* **Dynamic ATR Filter**: Uses a 14-period ATR with dynamic thresholds to confirm significant moves, filtering out weak breakouts.
* **Visual Aids**:
* Color-coded **boxes** to mark detected Order Blocks.
* **Arrows** at BoS confirmation points when ATR confirms strong momentum.
* Optional **dashed BoS lines** to show where price broke structure.
### ⚙️ **Customizable Inputs**:
* `Swing Length`: Defines the sensitivity of swing high/low detection.
* `Show Break of Structure`: Toggle on/off BoS confirmation lines.
* `Candle Lookback`: Number of historical candles to consider.
This indicator is ideal for traders who incorporate **smart money concepts**, **market structure analysis**, or **institutional order flow** strategies.
---
Would you like me to help write the **strategy** version of this or translate the description into another language for international audiences?
cc AJGB Candle Range Finder with TableOverview:
The "cc AJGB Candle Range Finder with Table" is a versatile Pine Script indicator designed to identify and visualize price ranges within the 1 minute charts based on UTC+2 Time Zone. Unlike traditional range indicators, it offers three unique calculation methods to define ranges based on minute and hour interactions, displays ranges as boxes with labeled point values, and summarizes average range sizes in a customizable table. This tool is ideal for analyzing price ranges of specific time based ranges.
Features:
Customizable Time Range: Users specify a start and end minute (0-59) to define the range period (e.g., 29th to 35th minute).
Three Calculation Methods:
Minute Only: Uses the minute of each bar to identify ranges (e.g., matches user-specified minutes).
Minute - Hour: Adjusts the minute by subtracting the hour, allowing for dynamic range detection across hourly cycles.
Minute + Hour: Combines minute and hour values for a unique range calculation, useful for specific intraday patterns.
Visual Output: Draws boxes around detected ranges, with labels showing the start/end minutes and range size in points.
Summary Table: Displays the average range size (in points) for each method, with customizable position, colors, and text size.
How It Works:
The indicator evaluates each bar’s timestamp in (UTC+2 ONLY) to match user-specified minutes using one or more selected methods. When a start minute is detected, it tracks the high and low prices until the end minute, drawing a box to highlight the range and labeling it with the range size in points. A table summarizes the average range size for each method, helping traders assess typical price movements during the specified period.
Market Analysis: Compare range sizes across different methods to understand intraday volatility patterns.
Settings Customization: Adjust colors, table position, and label sizes to suit your chart preferences.
Settings:
Range to Find: Set start and end minutes.
Range Selection: Enable/disable each method and customize colors.
Range Label Size: Choose label size (Tiny to Huge).
Table Settings: Configure table position (Top, Bottom, Left, Right), sub-position, text size, and colors.
Notes:
Only works on 1 minute charts
The indicator works best using Start Times that are lower than the End Times.
Ensure the chart is set to UTC+2 Time Zone for accurate range detection.
Why It’s Unique:
Unlike standard range indicators that focus on sessions or fixed periods, this tool allows precise minute-based range detection with three distinct calculation methods, offering flexibility for data gathering. The interactive table provides quick insights into average range sizes.
ADX and DI - Trader FelipeADX and DI - Trader Felipe
This indicator combines the Average Directional Index (ADX) and the Directional Indicators (DI+ and DI-) to help traders assess market trends and their strength. It is designed to provide a clear view of whether the market is in a trending phase (either bullish or bearish) and helps identify potential entry and exit points.
What is ADX and DI?
DI+ (Green Line):
DI+ measures the strength of upward (bullish) price movements. When DI+ is above DI-, it signals that the market is experiencing upward momentum.
DI- (Red Line):
DI- measures the strength of downward (bearish) price movements. When DI- is above DI+, it suggests that the market is in a bearish phase, with downward momentum.
ADX (Blue Line):
ADX quantifies the strength of the trend, irrespective of whether it is bullish or bearish. The higher the ADX, the stronger the trend:
ADX > 20: Indicates a trending market (either up or down).
ADX < 20: Indicates a weak or sideways market with no clear trend.
Threshold Line (Gray Line):
This horizontal line, typically set at 20, represents the threshold for identifying whether the market is trending or not. If ADX is above 20, the market is considered to be in a trend. If ADX is below 20, it suggests that the market is not trending and is likely in a consolidation phase.
Summary of How to Use the Indicator:
Trend Confirmation: Use ADX > 20 to confirm a trending market. If ADX is below 20, avoid trading.
Long Entry: Enter a long position when DI+ > DI- and ADX > 20.
Short Entry: Enter a short position when DI- > DI+ and ADX > 20.
Avoid Sideways Markets: Do not trade when ADX is below 20. Look for other strategies for consolidation phases.
Exit Strategy: Exit the trade if ADX starts to decline or if the DI lines cross in the opposite direction.
Combine with Other Indicators: Use additional indicators like RSI, moving averages, or support/resistance to filter and confirm signals.
Yearly History Calendar-Aligned Price up to 10 Years)Overview
This indicator helps traders compare historical price patterns from the past 10 calendar years with the current price action. It overlays translucent lines (polylines) for each year’s price data on the same calendar dates, providing a visual reference for recurring trends. A dynamic table at the top of the chart summarizes the active years, their price sources, and history retention settings.
Key Features
Historical Projections
Displays price data from the last 10 years (e.g., January 5, 2023 vs. January 5, 2024).
Price Source Selection
Choose from Open, Low, High, Close, or HL2 ((High + Low)/2) for historical alignment.
The selected source is shown in the legend table.
Bulk Control Toggles
Show All Years : Display all 10 years simultaneously.
Keep History for All : Preserve historical lines on year transitions.
Hide History for All : Automatically delete old lines to update with current data.
Individual Year Settings
Toggle visibility for each year (-1 to -10) independently.
Customize color and line width for each year.
Control whether to keep or delete historical lines for specific years.
Visual Alignment Aids
Vertical lines mark yearly transitions for reference.
Polylines are semi-transparent for clarity.
Dynamic Legend Table
Shows active years, their price sources, and history status (On/Off).
Updates automatically when settings change.
How to Use
Configure Settings
Projection Years : Select how many years to display (1–10).
Price Source : Choose Open, Low, High, Close, or HL2 for historical alignment.
History Precision : Set granularity (Daily, 60m, or 15m).
Daily (D) is recommended for long-term analysis (covers 10 years).
60m/15m provides finer precision but may only cover 1–3 years due to data limits.
Adjust Visibility & History
Show Year -X : Enable/disable specific years for comparison.
Keep History for Year -X : Choose whether to retain historical lines or delete them on new year transitions.
Bulk Controls
Show All Years : Display all 10 years at once (overrides individual toggles).
Keep History for All / Hide History for All : Globally enable/disable history retention for all years.
Customize Appearance
Line Width : Adjust polyline thickness for better visibility.
Colors : Assign unique colors to each year for easy identification.
Interpret the Legend Table
The table shows:
Year : Label (e.g., "Year -1").
Source : The selected price type (e.g., "Close", "HL2").
Keep History : Indicates whether lines are preserved (On) or deleted (Off).
Tips for Optimal Use
Use Daily Timeframes for Long-Term Analysis :
Daily (1D) allows 10+ years of data. Smaller timeframes (60m/15m) may have limited historical coverage.
Compare Recurring Patterns :
Look for overlaps between historical polylines and current price to identify potential support/resistance levels.
Customize Colors & Widths :
Use contrasting colors for years you want to highlight. Adjust line widths to avoid clutter.
Leverage Global Toggles :
Enable Show All Years for a quick overview. Use Keep History for All to maintain continuity across transitions.
Example Workflow
Set Up :
Select Projection Years = 5.
Choose Price Source = Close.
Set History Precision = 1D for long-term data.
Customize :
Enable Show Year -1 to Show Year -5.
Assign distinct colors to each year.
Disable Keep History for All to ensure lines update on year transitions.
Analyze :
Observe how the 2023 close prices align with 2024’s price action.
Use vertical lines to identify yearly boundaries.
Common Questions
Why are some years missing?
Ensure the chart has sufficient historical data (e.g., daily charts cover 10 years, 60m/15m may only cover 1–3 years).
How do I update the data?
Adjust the Price Source or toggle years/history settings. The legend table updates automatically.
Rocky's Dynamic DikFat Supply & Demand ZonesDynamic Supply & Demand Zones
Overview
The Dynamic Supply & Demand Zones indicator identifies key supply and demand levels on your chart by detecting pivot highs and lows. It draws customizable boxes around these zones, helping traders visualize areas where price may react. With flexible display options and dynamic box behavior, this tool is designed to assist in identifying potential support and resistance levels for various trading strategies.
Key Features
Pivot-Based Zones: Automatically detects supply (resistance) and demand (support) zones using pivot highs and lows on the chart’s timeframe.
Dynamic Box Sizing: Boxes shrink when price enters them, reflecting reduced zone strength, and stop adjusting once price fully crosses through.
Customizable Display: Choose to show current-day boxes, historical boxes, or all boxes, with an option to update past box colors dynamically.
Session-Based Extension: Boxes can extend to the current bar or stop at 4:00 PM of the creation day’s 9:30 AM–4:00 PM trading session (ideal for stock markets).
Color Coding: Borders change color based on price position:
Green for demand zones (price above the box).
Red for supply zones (price below the box).
White for neutral zones (price inside the box).
User-Friendly Inputs: Adjust pivot lookback periods, box visibility, extension behavior, and colors via intuitive input settings.
How It Works
Zone Detection: The indicator uses pivot highs and lows to define supply and demand zones, plotting boxes between these levels.
Box Behavior:
Boxes are created when pivot highs and lows are confirmed, with no overlap with the previous box.
When price enters a box, it shrinks to reflect interaction, stopping once price exits completely.
Boxes can extend to the current bar or end at 4:00 PM of the creation day (or next trading day if created after 4:00 PM or on weekends).
Display Options:
Current Only: Shows boxes created on the current day.
Historical Only: Shows boxes from previous days, with optional color updates.
All Boxes: Shows all boxes, with an option to hide historical box color updates.
Performance: Limits the number of boxes to 200 to ensure smooth performance, removing older boxes as needed.
Inputs
Pivot Look Right/Left: Set the number of bars (default: 2) to confirm pivot highs and lows.
What Boxes to Show: Select Current Only, Historical Only, or All Boxes (default: Current Only).
Boxes On/Off: Toggle box visibility (default: on).
Extend Boxes to Current Bar: Choose whether boxes extend to the current bar or stop at 4:00 PM (default: off, stops at 4:00 PM).
Update Past Box Colors: Enable/disable color updates for historical boxes (default: on).
Demand/Supply/Neutral Box Color: Customize border colors (default: green, red, white).
How to Use
Add the indicator to your chart.
Adjust inputs to match your trading style (e.g., pivot lookback, box extension, colors).
Use the boxes to identify potential support (demand) and resistance (supply) zones:
Green-bordered boxes (price above) may act as support.
Red-bordered boxes (price below) may act as resistance.
White-bordered boxes (price inside) indicate active price interaction.
Combine with other analysis tools (e.g., trendlines, indicators) to confirm trade setups.
Monitor box shrinking to gauge zone strength and watch for breakouts when price fully crosses a box.
Understanding Supply and Demand in Stock Trading
In stock trading, supply and demand are fundamental forces driving price movements. Demand refers to the willingness of buyers to purchase a stock at a given price, often creating support levels where buying interest prevents further price declines. Supply represents the willingness of sellers to offload a stock, forming resistance levels where selling pressure halts price increases. These zones are critical because they highlight areas where significant buying or selling activity has occurred, influencing future price behavior.
The importance of supply and demand lies in their ability to reveal where institutional traders, with large orders, have entered or exited the market. Demand zones, often seen at pivot lows, indicate strong buying interest and potential areas for price reversals or bounces. Supply zones, typically at pivot highs, signal heavy selling and possible reversal points for downward moves. By identifying these zones, traders can anticipate where price is likely to stall, reverse, or break out, enabling better entry and exit decisions. This indicator visualizes these zones as dynamic boxes, making it easier to spot high-probability trading opportunities while emphasizing the core market dynamics of supply and demand.
Feedback
This indicator is designed to help traders visualize supply and demand zones effectively. If you have suggestions for improvements, please share your feedback in the comments!
GoldenJet - First Candle High/LowThe "First Candle High/Low" indicator is a custom intraday trading tool designed for use on intraday charts (e.g., 1-minute, 5-minute, 15-minute). It automatically marks the high and low of the first completed candle of the trading day using horizontal dashed lines. These lines are extended visually across the chart until the end of the day, allowing traders to reference them easily throughout the session.
The first candle of the day is identified by detecting a new calendar day.
The high and low from that candle are stored and used as key levels.
The levels are displayed as horizontal lines from the first candle's time up to day end
✅ Benefits of This Indicator for Intraday Traders
Establishes Key Reference Points Early:
The high and low of the first candle often act as early indicators of intraday support and resistance.
Helps identify the day's potential range and momentum.
Improves Trade Planning:
You can use the levels to set breakout or reversal entries.
Helps in defining stop-loss and take-profit zones based on these levels.
Supports Multiple Strategies:
Useful in breakout trading, where a break above the first candle high might indicate bullish momentum.
Helpful in mean-reversion or range trading, where price bouncing between high and low can be exploited.
Enhances Risk Management:
By marking predefined levels, you avoid emotionally-driven entries.
Lines provide a clear visual cue for when to act or wait.
Works Across Markets and Instruments:
Applicable to stocks, indices, futures, forex, and crypto — anywhere intraday price action matters.
Hybrid Momentum Suite [QuantAlgo]The Hybrid Momentum Suite is an advanced momentum-based technical indicator that utilizes a weighted fusion of RSI and CCI, combined with adaptive boundary detection to help traders and investors identify momentum strength and potential reversal zones across different timeframes and asset classes.
🟢 Technical Foundation
The Hybrid Momentum Suite employs a dual-component approach to momentum analysis, incorporating:
Hybrid RSI-CCI Calculation: Uses a customizable ratio for momentum signature creation, allowing traders and investors to balance the characteristics of both indicators
Bi-Directional Component Separation: Automatically separates unified momentum into distinct bullish and bearish forces for independent analysis
Adaptive Impulse Boundary: Uses exponential moving average combined with standard deviation multipliers to detect momentum exhaustion zones
Multi-Level Gradient Visualization: Applies sophisticated layering with varying transparency to show momentum strength and direction changes
The indicator processes price data through multiple filtering stages, applying mathematical principles including weighted averaging, component isolation, and statistical variance analysis. This creates a momentum system that adapts to market volatility while maintaining clarity in directional bias and strength quantification.
🟢 Key Features & Signals
1. Bi-Directional Component Separation
The indicator presents momentum through mathematically isolated histograms that separate bullish and bearish forces for independent analysis.
When bullish momentum is dominant, the bullish component (green) shows greater amplitude than the bearish component.
Similarly, when bearish momentum is dominant, the bearish component (red) shows greater amplitude than the bullish component.
During transitional periods, components may show equal strength, indicating momentum equilibrium.
This visualization provides immediate insights into:
→ Competing market forces simultaneously
→ Momentum exhaustion before reversals
→ Quantified momentum strength across different timeframes
2. Real-Time Status Update
The indicator features a comprehensive analysis dashboard that operates with dynamic strength classification:
The dashboard automatically categorizes momentum from "Very Weak" to "Very Strong" based on component amplitude.
Historical comparison displays previous bar metrics for trend analysis, helping traders and investors understand momentum persistence.
Color-coded visualization matches histogram components for immediate recognition of market bias.
Adaptive positioning offers nine customizable table locations for optimal display across different chart layouts.
Regardless of position, the dashboard displays:
Current momentum direction (BULLISH or BEARISH)
Momentum strength percentage (0-100%)
Previous bar comparison for trend persistence
Active component colors for visual consistency
This comprehensive approach helps traders and investors:
→ Assess current momentum strength quantitatively
→ Identify momentum shifts through historical comparison
→ Make informed decisions based on momentum context
3. Reversal Signal Detection System
The indicator generates trading signals using advanced multi-factor validation:
Exhaustion signals are detected when components cross down after exceeding statistical boundaries, indicating potential momentum reversals.
Trend flip alerts are generated when component dominance changes (bull>bear or bear>bull), signaling directional shifts.
Boundary interaction monitoring tracks crossovers above/below impulse threshold for extreme momentum identification.
Visual markers ( X ) are positioned using mathematical placement algorithms for clear signal identification.
The indicator also features a comprehensive alert system with notifications for:
Bullish potential reversals
Bearish potential reversals
Trend flip signals
Momentum boundary crossings
*Alerts can be customized and delivered through TradingView's notification system, making it easy to stay informed of important momentum developments even when away from the charts.
4. Conditional Bar Coloring
The indicator provides optional price bar coloring based on momentum analysis:
Bars are colored based on dominant momentum component (bullish/bearish).
Reversal conditions are highlighted with specialized coloring (default orange).
Color transparency adjusts based on momentum strength for immediate visual feedback.
Bar coloring can be toggled on/off to suit different chart aesthetics and personal preferences.
🟢 Practical Usage Tips
→ Component Analysis and Interpretation: The indicator visualizes momentum direction and strength through separate components, allowing traders to immediately identify dominant market forces. This helps in assessing potential for continuation or reversal.
→ Signal Generation Strategies: The indicator generates potential trading signals based on component crossovers, boundary violations, and momentum exhaustion. Users can focus on reversal signals at statistical extremes or trend-following signals during component dominance.
→ Multi-Component Assessment: Through its bi-directional approach, the indicator enables users to understand competing forces within the same timeframe. This helps in identifying momentum equilibrium and potential turning points.
🟢 Pro Tips
Adjust RSI/CCI ratio based on market conditions:
→ High ratios (70-100) for mean-reverting markets and longer timeframes
→ Low ratios (0-30) for trending markets and shorter timeframes
→ Default 50/50 for balanced momentum assessment across market types
Fine-tune impulse boundary based on volatility:
→ Lower boundary lengths (20-30) for more frequent reversal signals
→ Higher lengths (40-60) for only major momentum extremes
→ Adjust standard deviation multiplier (2.0-4.0) based on market volatility
Look for confluence between components:
→ Component divergence as early reversal warning
→ Simultaneous extreme readings for high-probability setups
→ Component correlation with price for confirmation
Use for multiple trading approaches:
→ Reversal trading at component extremes near impulse boundary
→ Trend following when components show clear dominance
→ Early momentum shift detection with gradient fading patterns
→ Position sizing based on component strength percentage
Combine with:
→ Support/resistance analysis for strategic entry and exit points
→ Volume indicators for momentum validation
→ Multiple timeframe analysis for broader market context
→ Price action patterns for confirmation of reversal signals
Liquidity Sweep DetectorThe Liquidity Sweep Detector represents a technical analysis tool specifically designed to identify market microstructure patterns typically associated with institutional trading activity. According to Harris (2003), institutional traders frequently employ tactics where they momentarily break through price levels to trigger stop orders before redirecting the market in the opposite direction. This phenomenon, commonly referred to as "stop hunting" or "liquidity sweeping," constitutes a significant aspect of institutional order flow analysis (Osler, 2003). The current implementation provides retail traders with a means to identify these patterns, potentially aligning their trading decisions with institutional movements rather than becoming victims of such strategies.
Osler's (2003) research documents how stop-loss orders tend to cluster around significant price levels, creating concentrations of liquidity. Taylor (2005) argues that sophisticated institutional participants systematically exploit these liquidity clusters by inducing price movements that trigger these orders, subsequently profiting from the ensuing price reaction. The algorithmic detection of such patterns involves several key processes. First, the indicator identifies swing points—local maxima and minima—through comparison with historical price data within a definable lookback period. These swing points correspond to what Bulkowski (2011) describes as "significant pivot points" that frequently serve as liquidity zones where stop orders accumulate.
The core detection algorithm utilizes a multi-stage process to identify potential sweeps. For high sweeps, it monitors when price exceeds a previous swing high by a specified threshold percentage, followed by a bearish candle that closes below the original swing high level. Conversely, for low sweeps, it detects when price drops below a previous swing low by the threshold percentage, followed by a bullish candle closing above the original swing low. As noted by Lo and MacKinlay (2011), these price patterns often emerge when large institutional players attempt to capture liquidity before initiating significant directional moves.
The indicator maintains historical arrays of detected sweep events with their corresponding timestamps, enabling temporal analysis of market behavior following such events. Visual elements include horizontal lines marking sweep levels, background color highlighting for sweep events, and an information table displaying active sweeps with their corresponding price levels and elapsed time since detection. This visualization approach allows traders to quickly identify potential institutional activity without requiring complex interpretation of raw price data.
Parameter customization includes adjustable lookback periods for swing point identification, sweep threshold percentages for signal sensitivity, and display duration settings. These parameters allow traders to adapt the indicator to various market conditions and timeframes, as markets demonstrate different liquidity characteristics across instruments and periods (Madhavan, 2000).
Empirical studies by Easley et al. (2012) suggest that retail traders who successfully identify and act upon institutional liquidity sweeps may achieve superior risk-adjusted returns compared to conventional technical analysis approaches. However, as cautioned by Chordia et al. (2008), such patterns should be considered within broader market context rather than in isolation, as their predictive value varies significantly with overall market volatility and liquidity conditions.
References:
Bulkowski, T. (2011). Encyclopedia of Chart Patterns (2nd ed.). John Wiley & Sons.
Chordia, T., Roll, R., & Subrahmanyam, A. (2008). Liquidity and market efficiency. Journal of Financial Economics, 87(2), 249-268.
Easley, D., López de Prado, M., & O'Hara, M. (2012). Flow Toxicity and Liquidity in a High-frequency World. The Review of Financial Studies, 25(5), 1457-1493.
Harris, L. (2003). Trading and Exchanges: Market Microstructure for Practitioners. Oxford University Press.
Lo, A. W., & MacKinlay, A. C. (2011). A Non-Random Walk Down Wall Street. Princeton University Press.
Madhavan, A. (2000). Market microstructure: A survey. Journal of Financial Markets, 3(3), 205-258.
Osler, C. L. (2003). Currency Orders and Exchange Rate Dynamics: An Explanation for the Predictive Success of Technical Analysis. Journal of Finance, 58(5), 1791-1820.
Taylor, M. P. (2005). Official Foreign Exchange Intervention as a Coordinating Signal in the Dollar-Yen Market. Pacific Economic Review, 10(1), 73-82.
CRT Finder (WanHakimFX)📈 Liquidity Grab Indicator with MTF Confluence & Alerts
🔍 Overview:
The Liquidity Grab Indicator is designed to detect precise moments when price sweeps liquidity — either by wicking below recent lows (bullish LQH) or above recent highs (bearish LQL) — followed by a clear rejection. It combines this logic with multi-timeframe confirmation and trend filters, making it a powerful tool for identifying high-probability reversal setups.
⚙️ How It Works:
✅ Liquidity Sweep Logic (LQH / LQL)
Bullish (LQH):
Current candle wicks below the previous low
Closes above the previous candle body
Confirms potential bullish reversal
Bearish (LQL):
Current candle wicks above the previous high
Closes below the previous candle body
Confirms potential bearish reversal
✅ Additional Conditions:
Must occur during London or New York sessions.
Requires trend confluence:
LQH = Price must be above SMMA 60/100/200
LQL = Price must be below SMMA 60/100/200
🧠 Multi-Timeframe Confluence:
The indicator scans for LQH/LQL sweeps across:
Daily
4H
1H
30M
15M
If a sweep occurs on any of these timeframes, an alert is triggered and a triangle marker appears on the chart for real-time visual confluence.
📊 Visual Features:
Green/Red labels for active timeframe sweeps.
Dotted wick lines to show liquidity zones from the previous candle.
Colored triangle markers for MTF sweep alerts.
🛠 Strategy Usage:
This indicator is best used as a trigger tool in a confluence-based strategy:
Use higher-timeframe MTF LQH/LQL markers for directional bias.
Wait for matching sweep on your entry timeframe (e.g., M1/M5).
Enter on confirmation candle or break of structure.
Target imbalances, FVGs, or previous highs/lows.
Risk-managed entries using sweep candle's high/low as stop.
📢 Alerts:
✅ Bullish Sweep (LQH) on any timeframe
✅ Bearish Sweep (LQL) on any timeframe
Long Short dom📊 Long Short dom (VI+) — Custom Vortex Trend Strength Indicator
This indicator is a refined version of the Vortex Indicator (VI) designed to help traders identify trend direction, momentum dominance, and potential long/short opportunities based on VI+ and VI– dynamics.
🔍 What It Shows:
• VI+ (Green Line): Measures upward trend strength.
• VI– (Red Line): Measures downward trend strength.
• Histogram (optional): Displays the difference between VI+ and VI–, helping visualize which side is dominant.
• Background Coloring: Highlights bullish or bearish dominance zones.
• Zero Line: A visual baseline to enhance clarity.
• Highest/Lowest Active Lines: Real-time markers for the strongest directional signals.
⸻
🛠️ Inputs:
• Length: Vortex calculation period (default 14).
• Show Histogram: Enable/disable VI+–VI– difference bars.
• Show Trend Background: Toggle colored zones showing trend dominance.
• Show Below Zero: Decide whether to display values that fall below 0 (for advanced use).
⸻
📈 Strategy Insights:
• When VI+ crosses above VI–, it indicates potential long momentum.
• When VI+ crosses below VI–, it signals possible short pressure.
• The delta histogram (VI+ – VI–) helps you quickly see shifts in momentum strength.
• The background shading provides an intuitive visual cue to assess trend dominance at a glance.
⸻
🚨 Built-in Alerts:
• Bullish Cross: VI+ crosses above VI– → possible entry long.
• Bearish Cross: VI+ crosses below VI– → possible entry short.
⸻
✅ Ideal For:
• Trend-following strategies
• Identifying long/short bias
• Confirming entries/exits with momentum analysis
⸻
This tool gives you clean, real-time visual insight into trend strength and shift dynamics, empowering smarter trade decisions with clarity and confidence.
Extended Altman Z-Score ModelThe Extended Altman Z-Score Model represents a significant advancement in financial analysis and risk assessment, building upon the foundational work of Altman (1968) while incorporating contemporary data analytics approaches as proposed by Fung (2023). This sophisticated model enhances the traditional bankruptcy prediction framework by integrating additional financial metrics and modern analytical techniques, offering a more comprehensive approach to identifying financially distressed companies.
The model's architecture is built upon two distinct yet complementary scoring systems. The traditional Altman Z-Score components form the foundation, including Working Capital to Total Assets (X1), which measures a company's short-term liquidity and operational efficiency. Retained Earnings to Total Assets (X2) provides insight into the company's historical profitability and reinvestment capacity. EBIT to Total Assets (X3) evaluates operational efficiency and earning power, while Market Value of Equity to Total Liabilities (X4) assesses market perception and leverage. Sales to Total Assets (X5) measures asset utilization efficiency.
These traditional components are enhanced by extended metrics introduced by Fung (2023), which provide additional layers of financial analysis. The Cash Ratio (X6) offers insights into immediate liquidity and financial flexibility. Asset Composition (X7) evaluates the quality and efficiency of asset utilization, particularly in working capital management. The Debt Ratio (X8) provides a comprehensive view of financial leverage and long-term solvency, while the Net Profit Margin (X9) measures overall profitability and operational efficiency.
The scoring system employs a sophisticated formula that combines the traditional Z-Score with weighted additional metrics. The traditional Z-Score is calculated as 1.2X1 + 1.4X2 + 3.3X3 + 0.6X4 + 1.0X5, while the extended components are weighted as follows: 0.5 * X6 + 0.3 * X7 - 0.4 * X8 + 0.6 * X9. This enhanced scoring mechanism provides a more nuanced assessment of a company's financial health, incorporating both traditional bankruptcy prediction metrics and modern financial analysis approaches.
The model categorizes companies into three distinct risk zones, each with specific implications for financial stability and required actions. The Safe Zone (Score > 3.0) indicates strong financial health, with low probability of financial distress and suitability for conservative investment strategies. The Grey Zone (Score between 1.8 and 3.0) suggests moderate risk, requiring careful monitoring and additional fundamental analysis. The Danger Zone (Score < 1.8) signals high risk of financial distress, necessitating immediate attention and potential risk mitigation strategies.
In practical application, the model requires systematic and regular monitoring. Users should track the Extended Score on a quarterly basis, monitoring changes in individual components and comparing results with industry benchmarks. Component analysis should be conducted separately, identifying specific areas of concern and tracking trends in individual metrics. The model's effectiveness is significantly enhanced when used in conjunction with other financial metrics and when considering industry-specific factors and macroeconomic conditions.
The technical implementation in Pine Script v6 provides real-time calculations of both traditional and extended scores, offering visual representation of risk zones, detailed component breakdowns, and warning signals for critical values. The indicator automatically updates with new financial data and provides clear visual cues for different risk levels, making it accessible to both technical and fundamental analysts.
However, as noted by Fung (2023), the model has certain limitations that users should consider. It may not fully account for industry-specific factors, requires regular updates of financial data, and should be used in conjunction with other analysis tools. The model's effectiveness can be enhanced by incorporating industry-specific benchmarks and considering macroeconomic factors that may affect financial performance.
References:
Altman, E.I. (1968) 'Financial ratios, discriminant analysis and the prediction of corporate bankruptcy', The Journal of Finance, 23(4), pp. 589-609.
Li, L., Wang, B., Wu, Y. and Yang, Q., 2020. Identifying poorly performing listed firms using data analytics. Journal of Business Research, 109, pp.1–12. doi.org
Simulated OI Proxy with Moving Average🧠 Simulated Open Interest (OI) Proxy with Moving Average
This custom TradingView indicator estimates market participation and positioning by simulating Open Interest (OI) using a proxy derived from price change and volume movement — useful especially when OI data is unavailable (e.g., NSE stocks or options).
📊 Concept & Logic:
Since TradingView doesn’t provide real OI data for many symbols (like Indian equities), this script uses a smart proxy:
✅ Simulated OI Conditions:
Long Buildup (Green bar):
Price is rising and volume is increasing → suggests fresh buying.
Short Buildup (Red bar):
Price is falling and volume is increasing → suggests new shorts are entering.
Short Covering (Blue bar):
Price is rising but volume is falling → suggests shorts are exiting positions.
Long Unwinding (Orange bar):
Price is falling and volume is dropping → suggests long positions are closing.
Neutral (Gray):
No strong directional signal.
Each condition is assigned a numeric value for analysis:
Long Buildup = +1
Short Buildup = -1
Short Covering = +0.5
Long Unwinding = -0.5
Neutral = 0
📈 Simulated OI Moving Average (Yellow Line):
To remove short-term noise, we apply a Simple Moving Average (SMA) over the simulated OI values (default: 21 periods). This line helps you:
Identify dominant positioning trends (bullish or bearish).
Use it as a signal filter in your trading strategies.
🔧 Customization:
OI MA Period: Adjust how smooth or reactive the moving average should be.
You can change the logic or combine this with EMA, RSI, or price action tools for a complete trading system.
🔍 Use Cases:
Traders in markets where real OI data is not available (like Indian stocks/options).
To analyze buildup and unwinding behavior without relying on exchange-fed OI.
As a momentum filter or signal enhancer in broader strategies.
📌 Note:
This is a proxy indicator, not a substitute for actual Open Interest. But it’s highly effective when used alongside price action and trend filters.
Base Detector Pro [AletheiaTradeLab]This custom Trading View indicator combines William O’Neal “Base” patterns with several complementary tools—David Ryan’s ANT indicator, key pivot‐based price levels, index and earnings lines, relative strength (RS) line, and moving averages—to help you pinpoint base formations and validate whether each one merits a trade.
1. Bases (William O'Neal)
A “base” is simply a period of price consolidation following a significant run-up. During this phase, a stock moves mostly sideways within a defined trading range, forming clear support and resistance lines.
Key Criteria for a Valid Base
- Prior Uptrend
Before a base begins, the stock should already have a healthy advance—typically at least a 30% gain.
- Shapes of Bases
Bases can form in several distinct geometric patterns, each signaling a different kind of consolidation and potential breakout:
Flat Base
Shape : A horizontal rectangle bounded by nearly parallel support (bottom) and resistance (top) trendlines.
Minimum Length : 5 weeks
Maximum Length : 65 weeks
Depth : < 15%
Pivot Point : Left-side high of base
i.ibb.co i.ibb.co
Cup Base
Shape : A smooth, rounded “U” curve.
Minimum Length : 6 weeks
Maximum Length : 65 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : Left-side high of base
i.ibb.co i.ibb.co
Sauce Base
Shape : A very gradual, broad “U” curve, often taking more length than cup bases.
Minimum Length : 6 weeks
Maximum Length : 65 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : Left-side high of base
i.ibb.co i.ibb.co
Cup with Handle Base
Shape : A “U”‐shaped cup followed by a smaller downward-sloping flag or channel (the handle).
Minimum Length : 6 weeks
Maximum Length : 65 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : High of the handle
i.ibb.co i.ibb.co
Saucer with Handle Base
Shape : Similar to cup with handle, but cup looks like the saucer base.
Minimum Length : 6 weeks
Maximum Length : 65 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : High of the handle
i.ibb.co
Ascending Base
Shape : An upward-sloping channel or wedge with 3 pullbacks. Each pullback low should be higher than the previous one. It needs around 20% increase from a base to the other.
Minimum Length : 8 weeks
Maximum Length : 16 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : Left-side high of third base
i.ibb.co i.ibb.co
Consolidation Base
Shape : Similar to flat base, but wider and fails to form any of the above bases.
Minimum Length : 8 weeks
Maximum Length : 16 weeks
Minimum Depth : 8%
Maximum Depth : 50%
Pivot Point : Left-side high of base
i.ibb.co i.ibb.co
- Base Stages
Once a stock has completed its initial 30% run-up and formed its first base, that pattern is labeled Stage 1.
After a breakout from Stage N, the stock must rally at least 20% above the Stage N pivot (the base’s resistance point). If it does, the next valid base becomes Stage N + 1.
When a breakout fails to advance at least 20% a base on base forms. This is considered an extension for the current base stage, and a letter is assigned after the stage number.
When a breakout fails and the price undercuts the low for the previous base, the base stages reset, and a rally of 30% will be needed to form a new stage 1 base.
Note that for IPO stocks, a 30% increase is not required to form the first base. As soon as it meets any of the shape of any of the available bases, it will be drawn.
- Base statistics
To help you determine how healthy is a base, some statistics are available when you hover on the small dot shown above the high-left side of each base.
i.ibb.co
Base : The specific pattern type (Flat, Cup, Sauce, etc.).
Stage : The stage number of the base (1, 2, 3 …) and, in parentheses, how many distinct bases have formed since the very first base (including base-on-base like 1a, 1b, etc.).
Pivot : The resistance level that defines the top of the base. A close above this price often signals a valid breakout and a potential entry point.
Length : The number of bars (days on a daily chart; weeks on a weekly chart) between the start of the base and the bar immediately before breakout. (The initial bar and the breakout bar themselves are not counted.)
Depth : How far, in percentage terms, the low of the base has fallen below its left-side high.
Prior Uptrend : The percent gain from the pivot of the previous base up to the start of the current base.
Blue/Red Count : The number of up days (Blue) and down days (Red) during the base where volume was above the 50-period moving average.
Price % : The percent change from the close at the end of the base to the close at the breakout bar.
Volume % : The percent difference between the volume on the breakout bar and the 50-period average volume at the end of the base.
2. ANT Indicator (David Ryan)
The ANT indicator, developed by David Ryan, is a momentum-based signal used to identify high-potential breakout candidates during a stock’s run-up phase. It complements the base patterns by flagging moments of unusually strong price and volume activity within an uptrend, helping confirm emerging strength before or during a base formation.
i.ibb.co
3. Key Price Levels (Pivots)
Plots recent pivot-based support and resistance levels.
i.ibb.co
4. Index Line Overlay
Overlays a chosen index (e.g. SPX) on the top portion of the chart to compare relative performance.
i.ibb.co
5. Relative Strength (RS) Line
Plots the price ratio of the symbol vs. an index (e.g. SPX) to identify outperformance.
i.ibb.co
6. Moving Averages (SMA & RS-MA)
Allows up to four simple (or exponential) moving averages on price (daily/weekly) and three on the RS line.
7. Earnings Line & EPS Change
Marks earnings events on daily/weekly charts and optionally plots YoY EPS change in a lower portion of the chart. The earnings line also shows a projection to estimated earnings. To maintain alignment with the price chart, the line and YoY EPS data are limited to the most recent 28 quarters on weekly charts and 8 quarters on daily charts. For analyzing older data, you can use the replay feature.
i.ibb.co
8. Bars
Since Trading View displays very thin bars when zoomed out, I added 2-pixel-wide vertical lines over the bars to make them easier to see.
9. Dark Theme
I added this for a quick workaround to adapt colors for dark theme. Enabling this overrides any custom settings. Uncheck to customize colors.
i.ibb.co