[blackcat] L2 Market Risk MeterOVERVIEW
The L2 Market Risk Meter is designed to evaluate market conditions using various technical indicators including Moving Averages (MA), Moving Average Convergence Divergence (MACD), and Bollinger Bands 📈🔍. By analyzing these elements, the script helps traders identify potential buying opportunities and assess the overall market sentiment more effectively. This comprehensive approach aids in making informed trading decisions by providing clear visual representations of critical market factors 🚀💸.
Key components include the calculation of short-term and long-term moving averages, MACD lines, and Bollinger Bands, which are then used to plot histograms and labels directly on the chart. These visual cues assist traders in quickly interpreting complex market data, thereby enhancing their ability to navigate volatile markets and capitalize on emerging trends ✅✨.
FEATURES
Advanced Technical Analysis:
Utilizes Short and Long Moving Averages (MAs) to capture different trend durations.
Implements MACD for detecting changes in the strength, direction, momentum, and duration of a trend.
Incorporates Bollinger Bands to measure volatility and provide dynamic support/resistance levels.
Comprehensive Visualization:
Generates colored histograms representing positive and negative MACD values.
Displays labels indicating "Safe," "Risk," and "Buy" signals at crucial points on the chart.
Flexible Settings:
Allows customization of the short_ma_period and long_ma_period to tailor the analysis to individual trading styles or asset types.
Provides configurable colors and styles for histograms and labels to suit personal preferences.
Real-Time Feedback:
Updates dynamically as new price data becomes available, ensuring timely insights.
Facilitates rapid identification of shifts in market conditions through clear graphical outputs.
HOW TO USE
Adding the Indicator:
Begin by adding the L2 Market Risk Meter to your chart on TradingView. You can do this via the "Pine Editor" located at the bottom of the screen. Simply copy-paste the script into the editor and click "Add to Chart."
Configuring Parameters:
Adjust the short_ma_period and long_ma_period inputs based on your preferred timeframes and strategies. For example, shorter periods will react faster but may be noisier, while longer periods offer smoother trends but slower reactions.
Interpreting Histograms:
Monitor the plotted histograms closely:
Positive Values: Represent bullish momentum where the closing prices are higher than the moving average.
Negative Values: Suggest bearish pressure when the closing prices fall below the moving average.
Understanding Labels:
Pay attention to generated labels for actionable insights:
"Safe" Zone: Appears when the price crosses from below to above the lower Bollinger Band, suggesting reduced risk.
"Risk" Zone: Indicates heightened caution if the price breaches upward from below the upper Bollinger Band.
"Buy" Signal: Triggered under stringent bullish conditions combining all predefined criteria, signaling an opportune moment to enter long positions.
Integrating with Other Tools:
Use the L2 Market Risk Meter alongside other technical studies and fundamental analyses to corroborate findings and strengthen your trading strategy.
Regular Review:
Periodically revisit and tweak your parameters and interpretations in light of changing market environments and performance evaluations.
LIMITATIONS
Dependency on Historical Data: Since the indicator relies extensively on historical price movements, its predictions about future trends should be viewed cautiously.
Not Standalone Solution: Like any other tool, it does not guarantee profitability and must be part of a holistic trading plan that includes multiple confirmation methods.
Parameter Sensitivity: Optimal performance depends greatly on selecting appropriate MA period lengths; improper choices could lead to misleading signals.
Volatility Assumptions: The effectiveness of Bollinger Bands varies across different market conditions, especially during low volatility phases where bands might fail to expand significantly.
NOTES
Understanding individual components such as MAs, MACDs, and Bollinger Bands is essential before fully depending on this script's output.
Always backtest any new strategy incorporating this meter thoroughly against diverse market scenarios to gauge reliability.
Consider employing supplementary filters like volume spikes or candlestick patterns to validate signals further.
Be mindful of sudden news events or economic releases impacting asset prices independently of underlying trends highlighted here.
THANKS
A big thank you goes out to fellow members of the TradingView community who have contributed invaluable feedback and suggestions throughout the development process of this indicator 🙏. Your input has been instrumental in refining and improving the functionality and usability of the L2 Market Risk Meter. Continue sharing your experiences so we can collectively enhance our trading capabilities!
Sentiment
Internal Market Structure + Order BlocksInternal Market Structure + Order Blocks
This indicator combines internal market structure shifts with order block detection to help traders identify key zones of institutional interest and potential trend reversals. It highlights bullish and bearish engulfing conditions that mark the formation of valid order blocks, and it plots internal structure shifts—early signals that may precede a larger move.
Key Features:
-Bullish & Bearish Order Blocks: Highlighted with shaded boxes (green for bullish, red for bearish) following engulfing price action.
-Internal Structure Shifts: Small black triangles show early signs of a potential reversal, offering a unique perspective beyond standard structure analysis.
-Engulfing Breakouts: Marks when price breaks previous opposing structure, confirming new directional intent.
-Alerts Included: Get notified on key structure breaks and internal shifts to stay ahead of potential setups.
This tool is designed to support price action trading by visually mapping key structural changes and zones of interest directly on your chart. It is not intended to function as a standalone trading strategy , but rather as a supplementary tool to inform your own analysis and discretion.
Note: The arrows, polylines, and colored trendlines shown in the chart example are not generated by the indicator. They have been added manually for illustration purposes to demonstrate how the indicator can be used to trace market structure. Likewise, the order blocks in the example are manually drawn and may differ slightly from the indicator's automatic calculations, serving only to enhance visual clarity.
Liquidity DetectorLiquidity Detector – Bullish & Bearish Engulfing Zones
This script dynamically detects liquidity zones based on bullish and bearish engulfing candle formations, filtered by trend direction using SMA-based logic. Ideal for traders seeking to identify institutional order flow, trap zones, and potential reversal points.
Features:
✅ Detects Bearish Engulfing Patterns in uptrends as bearish liquidity zones.
✅ Detects Bullish Engulfing Patterns in downtrends as bullish liquidity zones.
✅ Adaptive trend filter using:
SMA50
SMA50 & SMA200
Or no trend filter
✅ Dynamic background shading for immediate visual zone recognition.
✅ Clean, optimized candle structure logic with precise shadow/body analysis.
✅ Alerts for both bullish and bearish liquidity events.
Use Case:
Spot liquidity traps where retail traders get caught and institutional players enter positions.
Identify reversal points, fakeouts, and breakdown zones on key timeframes.
Blend it with supply/demand or volume profile for institutional-grade confluence.
Relative Directional Volume Indicator# Relative Directional Volume Indicator (RelDirVol)
## Overview
The Relative Directional Volume Indicator (RelDirVol) is a powerful volume analysis tool that measures current trading volume relative to historical volume while differentiating between bullish and bearish volume flows. This indicator helps traders identify unusual volume activity and determine whether it's coming from buyers or sellers, providing deeper insights into market participation and potential trend strength.
## Features
- **Relative Volume Calculation**: Compares current volume to historical averages
- **Directional Volume Analysis**: Separates and visualizes bullish vs bearish volume
- **Multiple Moving Average Options**: Customize smoothing with various MA types (SMA, EMA, WMA, HMA, VWMA)
- **Split Moving Averages**: View distinct moving averages for bullish and bearish volume flows
- **Reference Lines**: Visual guides for normal volume (1.0x) and key deviation levels (0.5x, 2.0x, 3.0x)
- **Customizable Colors**: Adjust visual appearance for improved chart readability
## How It Works
The indicator calculates the relative volume by dividing the current bar's volume by the average volume over a specified lookback period. It then categorizes this volume as either bullish (when price closes above the open) or bearish (when price closes below or equal to the open).
1. **Relative Volume**: Current volume ÷ Average volume from previous N bars
2. **Directional Classification**: Assigns volume to bullish or bearish categories based on price action
3. **Moving Averages**: Applies user-selected moving average to smooth the data
The result is displayed as color-coded histogram bars showing the relative volume magnitude, with optional moving average lines for both overall and direction-specific volume trends.
## Interpretation
### Volume Magnitude
- **Above 1.0**: Higher than average volume (more participation than normal)
- **Below 1.0**: Lower than average volume (less participation than normal)
- **2.0+**: Volume twice the normal level (significant participation)
- **3.0+**: Volume three times normal (exceptional participation, often at key events)
### Directional Analysis
- **Strong Green Bars**: Heavy bullish participation driving prices up
- **Strong Red Bars**: Heavy bearish participation driving prices down
- **Bullish MA > Bearish MA**: Overall buying pressure dominating
- **Bearish MA > Bullish MA**: Overall selling pressure dominating
### Key Signals
- **Volume Spikes with Price Breakouts**: Confirms strength of the move
- **Divergence Between MAs**: Early warning of potential shift in market control
- **Sustained Above-Average Volume**: Strong trend continuation likely
- **Volume Decline After Spike**: Potential exhaustion of trend
## Settings
- **Relative Volume Lookback**: Comparison period for average volume (default: 20)
- **Moving Average Type**: Method used for smoothing (default: SMA)
- **Moving Average Length**: Smoothing period (default: 5)
- **Show Moving Average**: Toggle overall volume MA visibility
- **Show Baseline**: Toggle 1.0 reference line visibility
- **Show Bullish/Bearish MAs**: Toggle direction-specific MA visibility
## Best Practices
This indicator performs best when combined with price action analysis and other indicators. Look for:
1. Volume confirmation of breakouts and trend changes
2. Divergence between price movement and volume direction
3. Shifts in the relationship between bullish and bearish MAs
4. Unusual volume patterns during consolidation phases
Particularly effective for swing trading, day trading, and identifying institutional participation in market moves across multiple timeframes.
Institutional Gravity Zones Based on Volume + Range CompressionDisclaimer: The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only.
Persistent Institutional Gravity Zones Based on Volume + Range Compression
🧠 What It Does:
This smart volume-based indicator detects price zones where market makers and institutions are likely operating. It identifies liquidity zones based on:
🔺 Volume spikes
📉 Tight price ranges
⏱️ Persistent price reaction points
These are then plotted as horizontal zones that persist across multiple sessions, serving as magnetic price levels for potential re-tests, rejections, or breakout setups.
🔧 Key Features:
🧬 Auto-detection of liquidity zones using volume/range math
🧭 Zones persist across sessions to reflect long-term accumulation/distribution
💡 Zone fill shading to highlight “gravitational wells” for price action
📉 Great for identifying hidden support/resistance that traditional S/R misses
📈 How to Use It:
Watch for price re-tests of MM-LZ bands — high probability reaction zones.
If price consolidates inside a zone, expect chop or institutional loading.
A clean break + retest of a zone can confirm breakout/breakdown potential.
👨💻 Built For:
Volume-focused day/swing traders
Options traders targeting pin zones
Meme-stock or high-volatility setups (e.g., NYSE:GME , NYSE:AMC , NASDAQ:TSLA , crypto)
Pair this with VWPAZ or the AI Cheat Line for an edge that reads between the candles.
MACD Trump/Biden MarketThis unique indicator visually distinguishes between two distinct market regimes by displaying bold, dynamic labels directly on the chart. The indicator aims to capture shifts in market sentiment, highlighting bullish and bearish phases in a way that's easy to interpret at a glance.
When the market is in a favorable phase, a green box labeled "Trump Market" appears, signaling positive conditions. Conversely, during challenging phases, a red box labeled "Biden Market" is displayed.
This tool is perfect for traders looking to quickly identify shifts in market dynamics and make informed decisions based on the current market environment. Use it to enhance your trading strategy and stay ahead of sudden changes.
Real-Time Price Line by Candle ColorThis indicator draws a horizontal line at the current price that updates in real time on each candle. The line:
Extends infinitely left and right
Changes color based on the current candle:
🟢 Green if the candle is bullish (close ≥ open)
🔴 Red if the candle is bearish (close < open)
Automatically clears and redraws each bar to reflect the latest price and direction
Use this as a simple but effective visual aid to track the live price and its directional bias.
Overnight Bias: Net Long/Short with PercentOvernight bias can assist with NY session gap fades or gap and go trading once the NY session is open.
Some general gap rules are:
1. Gap Direction Aligned with Overnight Bias
Rule: If the NY session gaps up and the overnight bias is Net Long (e.g., >60% of bars above the overnight open), favor longs.
Confirmation: Look for price to hold above overnight open or VWAP.
Invalidation: If price re-enters the overnight range, reassess.
2. Gap Opposing Overnight Bias (Contrarian Setup)
Rule: If the NY opens opposite the overnight bias, expect potential gap fill or reversal.
Trade Bias: Look for retracement back toward the overnight open or VWAP.
Example: Overnight was Net Long, but NY gaps down → wait for reclaim of VWAP to go long, else fade strength.
3. Gap Into Prior Day Value Area (VAH to VAL)
Rule: If the NY session gaps into the prior day value area:
It implies mean reversion behavior.
Expect price to rotate toward the POC (point of control).
Trade Bias: Fade toward POC if overnight bias is balanced or opposite the gap direction.
4. Gap Outside Prior Day Value Area
Rule: A gap above VAH or below VAL suggests potential breakout or new trend day.
Trade Bias: If overnight bias aligns (e.g., gap above VAH + Net Long overnight), consider trend continuation.
Invalidation: If price breaks back inside the prior day value area, watch for failed breakout → fade trade possible.
5. Gap Above Prior Day High / Below Prior Day Low
Rule: This is a true breakout gap.
Above Prior High + Net Long Bias: Look for continuation.
Below Prior Low + Net Short Bias: Look for sell pressure continuation.
Trade Bias: Use pullbacks to the prior high/low or overnight open for continuation setups.
6. Gap Within Prior Day Range
Rule: If the NY open is within the prior day’s high and low, expect chop or balanced conditions.
Trade Bias: Use overnight VWAP and prior POC as decision zones. Be cautious unless a breakout occurs.
7. Failed Gap and Re-entry into Prior Day Range
Rule: If price gaps above prior high but re-enters the prior range, it's a failed breakout.
Trade Bias: Look for a fade back to VAH or POC.
Confirmation: Watch for breakdown below overnight VWAP or failure to hold overnight open.
8. Gap + Overnight VWAP Divergence
Rule: If price gaps opposite the direction of VWAP (e.g., VWAP rising, gap down), wait for confirmation.
Trade Bias: Be cautious with early trades. Bias may flip if VWAP is reclaimed.
9. Gap + Overnight Open Test
Rule: If price opens with a gap and then retests the overnight open, that level becomes a decision zone.
Trade Bias:
Hold above = trend continuation.
Rejection = gap fill or reversal.
10. Unfilled Gap = Trend Bias
Rule: If the gap remains unfilled for the first 30–60 minutes, it increases the odds of a trend day.
Trade Bias: Trade pullbacks in the direction of the gap and overnight bias.
Should anyone have suggestion to add please do so.
Magfi 1.3 Инвертированный мультиактивный FGIUpdated version of my previous MAGFI indicator (Inverted fear and greed index multicorellation)
Now you can select 3 assets for corellations depending on the current trading sessions as some of the tickers are not traded during certain trading hours
24hour corellations - tickers that are actively traded 23 hours a day 5 days a week
EU/UK - traded during Frankfurt / London session hours
USA - standard US (chigago / nyse) trading hours
If you trade during Asian trading hours p.m. me to add this or use comma-separated textbox to input your set of 3 tickers.
i sleep during Asian trading hours.
Minor design changes.
Feel welcome to send your feature requests or suggestions i love feedback.
Regards
3 SMMA with Simple SessionsOverview
This script combines the power of three Smoothed Moving Averages (SMMA) with a global session visualizer to provide enhanced market context and trend clarity. Designed for intraday and swing traders who require precision in session awareness and trend-following confirmation.
Features
🔹 3 SMMA Overlay
SMMA 60 (blue), SMMA 100 (green), and SMMA 200 (red)
Offers a smoother view of trend direction by reducing lag compared to traditional EMAs/SMA
Fully customizable period and data source for each curve
🔹 Session Highlight Zones
Auto-detected background highlights for major market sessions:
▫️ US (New York)
▫️ EU (London)
▫️ JP (Tokyo)
Color-coded and adjustable time ranges
Helps identify periods of peak volatility and overlapping liquidity
Use Case Suggestions
Identify dynamic support/resistance using long-term SMMA intersections
Time entries and exits with session opens and closes
Filter trades during overlapping sessions for increased momentum probability
Script Type: Visual Overlay | Pine Script v6
Recommended Timeframes: 15m, 1H, 4H
Volume Change % Display1- Current bar's volume change %
2- Previous bar's volume change %
* Each line uses its own color based on volume rising or falling.
* Keeps the layout compact and readable.
Multitimeframe Order Block Finder (Zeiierman)█ Overview
The Multitimeframe Order Block Finder (Zeiierman) is a powerful tool designed to identify potential institutional zones of interest — Order Blocks — across any timeframe, regardless of what chart you're viewing.
Order Blocks are critical supply and demand zones formed by the last opposing candle before an impulsive move. These areas often act as magnets for price and serve as smart-money footprints — ideal for anticipating reversals, retests, or breakouts.
This indicator not only detects such zones in real-time, but also visualizes their mitigation, bull/bear volume pressure, and a smoothed directional trendline based on Order Block behavior.
█ How It Works
The script fetches OHLCV data from your chosen timeframe using request.security() and processes it using strict pattern logic and volume-derived strength conditions. It detects Order Blocks only when the structure aligns with dominant pressure and visually extends valid zones forward for as long as they remain unmitigated.
⚪ Bull/Bear Volume Power Visualization
Each OB includes proportional bars representing estimated buy/sell effort:
Buy Power: % of volume attributed to buyers
Sell Power: % of volume attributed to sellers
This adds a visual, intuitive layer of intent — showing who controlled the price before the OB formed.
⚪ Order Block Trendline (Butterworth Filtered)
A smoothed trendline is derived from the average OB value over time using a two-pole Butterworth low-pass filter. This helps you understand the broader directional pressure:
Trendline up → favor bullish OBs
Trendline down → favor bearish OBs
█ How to Use
⚪ Trade From Order Blocks Like Institutions
Use this tool to find institutional footprints and reaction zones:
Enter at unmitigated OBs
⚪ Volume Power
Volume Pressure Bars inside each OB help you:
Confirm strong buyer/seller dominance
Detect possible traps or exhaustion
Understand how each zone formed
⚪ Find Trend & Pullbacks
The trendline not only helps traders detect the current trend direction, but the built-in trend coloring also highlights potential pullback areas within these trends.
█ Settings
Timeframe – Selects which timeframe to scan for Order Blocks.
Lookback Period – Defines how many bars back are used to detect bullish or bearish momentum shifts.
Sensitivity – When enabled, the indicator uses smoothed price (RMA) with rising/falling logic instead of raw candle closes. This allows more flexible detection of trend shifts and results in more Order Blocks being identified.
Minimum Percent Move – Filters out weak moves. Higher = only strong price shifts.
Mitigated on Mid – OB is removed when price touches its midpoint.
Show OB Table – Displays a panel listing all active (unmitigated) Order Blocks.
Extend Boxes – Controls how far OB boxes stretch into the future.
Show OB Trend – Toggles the trendline derived from Order Block strength.
Passband Ripple (dB) – Controls trendline reactivity. Higher = more sensitive.
Cutoff Frequency – Controls smoothness of trendline (0–0.5). Lower = smoother.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Combined Indicator: SMMA+Fractals+SessionsJust a combination of 3 main indicator; 5SMMA + Fractal + Session. Feel free to use it.
Money Flow based probabilityMoney Flow based probability
This indicator provides a comprehensive correlation and momentum analysis between your main asset and up to three selected correlated assets. It combines correlation, trend, momentum, and overbought/oversold signals into a single, easy-to-read table directly on your chart.
Correlated Asset Selection :
You can select up to three correlated assets (e.g., indices, currencies, bonds) to compare with your main chart symbol. Each asset can be toggled on or off.
Correlation Calculation :
The indicator uses the native Pine Script ta.correlation function to measure the statistical relationship between the closing prices of your asset and each selected pair over a user-defined period.
Technical Analysis Integration :
For each asset (including the main one), the indicator calculates:
Trend direction using EMA (Exponential Moving Average) – optional
Momentum using MACD – optional
Overbought/oversold status using RSI – optional
Probability Scoring :
A weighted scoring system combines correlation, trend, MACD, RSI, and trend exhaustion signals to produce buy and sell probabilities for the main asset.
Visual Table Output :
A customizable table is displayed on the chart, showing:
Asset name
Correlation (as a percentage, -100% to +100%)
Trend (Bullish/Bearish)
MACD status (Bullish/Bearish)
RSI value and status
Buy/Sell probability (with fixed-width formatting for stability)
User Customization :
You can adjust:
Table size, color, and position
Correlation period
EMA, MACD, and RSI parameters
Which assets to display
This indicator is ideal for traders who want to quickly assess the influence of major correlated markets and technical signals on their trading instrument, all in a single glance.
---
Example: Correlation Calculation
corrCurrentAsset1 = ta.correlation(close, asset1Data, correlationPeriod)
Example: Table Output (Buy/Sell %)
buyStr = f_formatPercent(buyProbability) + "%"
sellStr = f_formatPercent(sellProbability) + "%"
cellStr = buyStr + " / " + sellStr
The Echo System🔊 The Echo System – Trend + Momentum Trading Strategy
Overview:
The Echo System is a trend-following and momentum-based trading tool designed to identify high-probability buy and sell signals through a combination of market trend analysis, price movement strength, and candlestick validation.
Key Features:
📈 Trend Detection:
Uses a 30 EMA vs. 200 EMA crossover to confirm bullish or bearish trends.
Visual trend strength meter powered by percentile ranking of EMA distance.
🔄 Momentum Check:
Detects significant price moves over the past 6 bars, enhanced by ATR-based scaling to filter weak signals.
🕯️ Candle Confirmation:
Validates recent price action using the previous and current candle body direction.
✅ Smart Conditions Table:
A live dashboard showing all trade condition checks (Trend, Recent Price Move, Candlestick confirmations) in real-time with visual feedback.
📊 Backtesting & Stats:
Auto-calculates average win, average loss, risk-reward ratio (RRR), and win rate across historical signals.
Clean performance dashboard with color-coded metrics for easy reading.
🔔 Alerts:
Set alerts for trade signals or significant price movements to stay updated without monitoring the chart 24/7.
Visuals:
Trend markers and price movement flags plotted directly on the chart.
Dual tables:
📈 Conditions table (top-right): breaks down trade criteria status.
📊 Performance table (bottom-right): shows real-time stats on win/loss and RRR.🔊 The Echo System – Trend + Momentum Trading Strategy
Overview:
The Echo System is a trend-following and momentum-based trading tool designed to identify high-probability buy and sell signals through a combination of market trend analysis, price movement strength, and candlestick validation.
Key Features:
📈 Trend Detection:
Uses a 30 EMA vs. 200 EMA crossover to confirm bullish or bearish trends.
Visual trend strength meter powered by percentile ranking of EMA distance.
🔄 Momentum Check:
Detects significant price moves over the past 6 bars, enhanced by ATR-based scaling to filter weak signals.
🕯️ Candle Confirmation:
Validates recent price action using the previous and current candle body direction.
✅ Smart Conditions Table:
A live dashboard showing all trade condition checks (Trend, Recent Price Move, Candlestick confirmations) in real-time with visual feedback.
📊 Backtesting & Stats:
Auto-calculates average win, average loss, risk-reward ratio (RRR), and win rate across historical signals.
Clean performance dashboard with color-coded metrics for easy reading.
🔔 Alerts:
Set alerts for trade signals or significant price movements to stay updated without monitoring the chart 24/7.
Visuals:
Trend markers and price movement flags plotted directly on the chart.
Dual tables:
📈 Conditions table (top-right): breaks down trade criteria status.
📊 Performance table (bottom-right): shows real-time stats on win/loss and RRR.
Market Manipulation Index (MMI)The Composite Manipulation Index (CMI) is a structural integrity tool that quantifies how chaotic or orderly current market conditions are, with the aim of detecting potentially manipulated or unstable environments. It blends two distinct mathematical models that assess price behavior in terms of both structural rhythm and predictability.
1. Sine-Fit Deviation Model:
This component assumes that ideal, low-manipulation price behavior resembles a smooth oscillation, such as a sine wave. It generates a synthetic sine wave using a user-defined period and compares it to actual price movement over an adaptive window. The error between the real price and this synthetic wave—normalized by price variance—forms the Sine-Based Manipulation Index. A high error indicates deviation from natural rhythm, suggesting structural disorder.
2. Predictability-Based Model:
The second component estimates how well current price can be predicted using recent price lags. A two-variable rolling linear regression is computed between the current price and two lagged inputs (close and close ). If the predicted price diverges from the actual price, this error—also normalized by price variance—reflects unpredictability. High prediction error implies a more manipulated or erratic environment.
3. Adaptive Mechanism:
Both components are calculated using an adaptive smoothing window based on the Average True Range (ATR). This allows the indicator to respond proportionally to market volatility. During high volatility, the analysis window expands to avoid over-sensitivity; during calm periods, it contracts for better responsiveness.
4. Composite Output:
The two normalized metrics are averaged to form the final CMI value, which is then optionally smoothed further. The output is scaled between 0 and 1:
0 indicates a highly structured, orderly market.
1 indicates complete structural breakdown or randomness.
Suggested Interpretation:
CMI < 0.3: Market is clean and structured. Trend-following or breakout strategies may perform better.
CMI > 0.7: Market is structurally unstable. Choppy price action, fakeouts, or manipulative behavior may dominate.
CMI 0.3–0.7: Transitional zone. Caution or reduced risk may be warranted.
This indicator is designed to serve as a contextual filter, helping traders assess whether current market conditions are conducive to structured strategies, or if discretion and defense are more appropriate.
seekho roj kamao trendline indicatorThe Auto Trendline Indicator is a powerful technical analysis tool designed to automatically detect and plot dynamic trendlines based on recent price action. Using pivot-based logic, it identifies significant swing highs and lows and connects them to draw trendlines that visually represent market trends and potential support or resistance areas. The indicator continuously scans the chart for new pivots, updating trendlines in real-time to reflect the latest market structure. This helps traders quickly identify the direction and strength of a trend without manually drawing lines.
The trendlines offer a visual framework for traders to plan entries, exits, and risk management strategies. When price approaches these levels, it often signals a critical point of interest where breakouts, bounces, or reversals may occur. Because it reacts to actual price pivots, the indicator remains responsive to changing market conditions, making it suitable for trending and consolidating markets alike.
Ideal for traders of all levels, this indicator simplifies chart analysis by automating a traditionally manual process. It enhances decision-making by reducing subjectivity and providing clear visual cues. Whether used standalone or in conjunction with other tools, the Auto Trendline Indicator is a reliable assistant for mapping out price structure and market momentum.
Heikin Ashi Colored Regular OHLC CandlesHeikin Ashi Colored Regular OHLC Candles
In the world of trading, Heikin Ashi candles are a popular tool for smoothing out price action and identifying trends more clearly. However, Heikin Ashi candles do not reflect the actual open, high, low, and close prices of a market. They are calculated values that change the chart’s structure. This can make it harder to see precise price levels or use standard price-based tools effectively.
To get the best of both worlds, we can apply the color logic of Heikin Ashi candles to regular OHLC candles. This means we keep the true market data, but show the trend visually in the same smooth way Heikin Ashi candles do.
Why use this approach
Heikin Ashi color logic filters out noise and helps provide a clearer view of the current trend direction. Since we are still plotting real OHLC candles, we do not lose important price information such as actual highs, lows, or closing prices. This method offers a hybrid view that combines the accuracy of real price levels with the visual benefits of Heikin Ashi trend coloring. It also helps maintain visual consistency for traders who are used to Heikin Ashi signals but want to see real price action.
Advantages for scalping
Scalping requires fast decisions. Even small price noise can lead to hesitation or bad entries. Coloring regular candles based on Heikin Ashi direction helps reduce that noise and makes short-term trends easier to read. It allows for faster confirmation of momentum without switching away from real prices. Since the candles are not modified, scalpers can still place tight stop-losses and targets based on actual price structure. This approach also avoids clutter, keeping the chart clean and focused.
How it works
We calculate the Heikin Ashi values in the background. If the Heikin Ashi close is higher than the Heikin Ashi open, the trend is considered bullish and the candle is colored green. If the close is lower than the open, it is bearish and the candle is red. If they are equal, the candle is gray or neutral. We then use these colors to paint the real OHLC candles, which are unchanged in shape or position.
BLCKBOX Relative Strength IndexAnother quick 'n dirty RSI Indicator based on the Trading View RSI with extra prompts on the main chart showing when an asset is over bought or over sold.
Trump/Biden Market RegimesHave you ever wondered if it's Trump's stock market (up) or Biden's stock market (down)? Think no more!
BLCKBOX Buying / Selling SentimentThis indicator attempts to predict buying and selling sentiment. It may help?
BLCKBOX Crypto Bear Market PredicationMy First Indicator!
This indicator was developed in an attempt to predict a crypto bear market and global recession. It's a really simple plugin-in that reads GDP information from major countries, plots them in a chart and calculates the lowest values month on month. When a -1 is detected in the chart a red indicator is displayed on the indicator at the bottom of the window warning of a potential future downward trend for crypto markets.
Let me know how you get on. The indicator doesn't work with normal stock markets but there does seem to be a correlation with crypto markets.