Regressions
RSI de Loquy H4 (HMA + ALMA + Régression)📌 Indicator Name: RSI de Loquy H4 (HMA + ALMA + Regression)
🧠 Description:
This custom indicator is designed for H4 (4-hour) timeframes and combines advanced smoothing techniques to refine RSI analysis:
✅ HMA (Hull Moving Average) is applied to the price before computing the RSI. This helps reduce noise and respond faster to price action compared to traditional moving averages.
✅ The resulting RSI is recalibrated to a symmetrical range from -100 to +100, making trend bias more visually intuitive.
✅ A second smoothing using ALMA (Arnaud Legoux Moving Average) is applied to the recalibrated RSI for enhanced signal clarity.
✅ A linear regression line is plotted on the recalibrated RSI to help detect directional momentum and trend shifts.
📈 Visual Features:
Cyan line: RSI mapped from -100 to +100
Orange line: ALMA smoothed RSI
White line: Linear regression of RSI
Reference zones:
+70: Potential oversold (buy watch)
0: Neutral line
–70: Potential overbought (sell watch)
⚙️ Optimized for H4 timeframe, but adaptable for other timeframes with parameter tuning.
ZigZag Volume Profile [ChartPrime]⯁ OVERVIEW
ZigZag Volume Profile combines swing structure with volume analytics by plotting a ZigZag of major price swings and overlaying a detailed volume profile around each swing. At the end of each swing, it highlights the Point of Control (POC) — the price level with the highest traded volume — and extends it forward to identify key areas of potential support or resistance.
⯁ KEY FEATURES
ZigZag Swing Detection:
Automatically detects swing highs and lows based on a user-defined length, creating clean visual segments of market structure.
These segments act as boundaries for volume profile calculations.
swingHigh = ta.highest(swingLength)
swingLow = ta.lowest(swingLength)
ZigZag Channel Visualization:
The ZigZag structure is connected with sloped lines, forming a visual “channel” of the price movement.
The ZigZag can optionally, scaled by ATR.
Volume Profile Around Each Swing:
For every completed swing (high to low or low to high), the indicator constructs a full volume profile using user-defined bin counts.
It scans volume across price levels in the swing and plots histogram-style bins using a gradient color to indicate volume magnitude.
Dynamic Bin Width and Slope Adjustment:
Bins are distributed across a vertical ATR-based range, and their width is adjusted based on the percentage of total swing volume.
The volume fill direction is adapted to the swing’s slope for visually aligned plotting.
POC Detection and Extension:
The highest volume bin in each swing is identified as the Point of Control (POC).
This level is plotted with a thicker line and extended horizontally into the future as a key reaction level.
Automatic POC Expiry on Price Interaction:
POC lines are continuously extended unless breached by price.
When price crosses the POC level, the extension is terminated — signaling that the level may have been absorbed.
Clean Volume Bin Visualization:
Bin colors range from green (low volume) to blue (higher volume), with the POC always marked in red by default for easy identification.
Volume percentages are optionally labeled at each bin level.
Flexible Swing Profile Parameters:
Users can control:
Number of volume bins
Bin width
Channel width (ATR factor)
Visibility of the swing channel or POC lines
Efficient Memory Handling:
Old POC lines and volume profiles are automatically removed from memory after a threshold to keep charts clean and performant.
⯁ USAGE
Use ZigZag swings to define market structure visually.
Analyze volume profile around each swing to understand where most trading activity occurred.
Use POC extensions as dynamic support/resistance zones for entries, stops, or take-profits.
Watch for price interaction with extended POC lines — breaks may suggest absorbed liquidity or breakout potential.
Use the ATR-based channel width to adapt profiles based on market volatility.
⯁ CONCLUSION
ZigZag Volume Profile offers a powerful fusion of structure and volume. By plotting detailed volume profiles over each price swing and extending the POC as actionable S/R levels, this tool provides deep insight into market participation zones — giving traders a tactical edge in both ranging and trending environments.
Market Extension Quantifier SniperIt's a combination of ATR, Moving Average, Bollinger Bands and RSI. And the idea is to find a very extended move which creates a probability that the market is due to a reversion.
RSI de Loquy H4 (2 ALMA + Régression) Loquy RSI H4 (2 ALMA + Regression)
An advanced RSI indicator optimized for 4-hour trading.
Combines multiple smoothing techniques to better filter signals and detect trend reversals more reliably:
🔧 Components:
Recalibrated RSI: based on an ALMA-smoothed price, centered around 0 and scaled to oscillate between -100 and +100.
ALMA on recalibrated RSI: dynamic smoothing to reduce false signals.
Linear regression: highlights the momentum direction.
Custom overbought/oversold zones: ±60 levels tailored for swing trading.
📈 How to use:
🔼 Bullish signal:
RSI crosses above its ALMA, regression turns positive, and RSI exits oversold zone (-60).
🔽 Bearish signal:
RSI crosses below its ALMA, regression turns negative, and RSI exits overbought zone (+60).
✅ Benefits:
More readable and symmetric than a classic RSI.
Reduced noise thanks to ALMA smoothing.
Ideal for swing and trend-following strategies on the H4 timeframe.
Works well on Forex, crypto, indices, and more.
RSI de LoquyIndicator Description: RSI de Loquy
This custom indicator blends the power of the Relative Strength Index (RSI) with the Hull Moving Average (HMA), enhanced by a linear regression to reveal underlying momentum trends.
How It Works:
The RSI is calculated not on price directly, but on the HMA, offering a smoother and more responsive signal.
The RSI is remapped to a -100 to +100 scale for more intuitive reading:
+100 = extreme oversold
-100 = extreme overbought
A linear regression line is plotted over the rescaled RSI to highlight trend direction and strength.
Usage Tips:
Reversed overbought/oversold levels:
Above +70 = potential oversold condition
Below -70 = potential overbought condition
The white regression line helps confirm trend shifts or momentum continuation.
⚙️ Customizable Inputs:
HMA period
RSI length
Regression length
HTF Candles and Regression Channel [100Zabaan]🟢🟢 HTF Candles and Regression Channel 🟢🟢
🟡 Overview
This is a powerful multi-timeframe analysis tool designed to help traders understand the overall market context and structure at a glance. It provides a comprehensive view of the price trend across multiple timeframes, from long-term (weekly) to short-term (one-minute), all simultaneously on a single chart.
This tool assists your market analysis in two primary ways:
Displaying recent candles from higher timeframes to quickly grasp the strength, momentum, and overall trend context on different scales.
Displaying automatic linear regression channels to visually identify the direction, slope, and strength of the trend in your selected time periods.
🟡 Key Features
1. Multi-Timeframe Candle Viewer
In a separate pane below the main chart, this indicator displays the last N candles (adjustable number) from various timeframes (Weekly, Daily, 4-Hour, etc.).
This feature allows you to easily compare the trend strength and volatility across different timeframes and assess the current price position within the context of larger trends.
For instance, if you set the number of candles to 50, you can simultaneously monitor the last 50 candles from various timeframes like weekly, daily, 4-hour, 1-hour, 15-minute, 5-minute, and 1-minute, all within a dedicated pane.
Additionally, descriptive labels guide you, indicating the time period covered by each timeframe's set of candles.
Robust and Optimized Data-Fetching Mechanism: To render the candles, the indicator uses box and line objects and fetches data from multiple timeframes. The data-fetching engine has been specifically designed for high stability and performance. This allows you to reliably view a large number of candles from high timeframes (e.g., 60 weekly candles) even while on a very low timeframe like the one-minute chart, without encountering common historical data loading errors.
2. Automatic Linear Regression Channels
The indicator automatically plots linear regression channels for various time periods directly on your main price chart. This allows you to examine the price trend's path across different timeframes.
For better readability, the labels and their corresponding regression channels for each timeframe are color-coordinated.
Key Difference: Unlike standard tools that often focus on the closing price “Close”, this indicator uses the average price of a candle “OHLC4” to calculate the central regression line. The advantage of this approach is a more balanced and stable representation of the trend, which is less affected by sharp price fluctuations within a single candle.
Furthermore, the upper and lower channel boundaries are drawn based on a fraction of the period's maximum volatility, rather than the standard deviation, leading to a channel that adapts more effectively to the actual price action.
🟡 How to Use & Input Settings
Add the indicator to your chart
Go to the indicator's settings
In the Inputs tab, adjust the values according to your strategy:
Number of Candles to Display: Specify the number of recent candles to show in the bottom pane.
Show Time Period Labels: Toggle the visibility of labels that show the time span covered by each timeframe.
Show Regression Channels: Toggle the visibility of the regression channels on the main chart.
Timeframe Selection: Choose which timeframes you want to be displayed.
Style Settings: Configure the color and thickness of the regression lines to match their labels.
🟡 Important Notes & Limitations
No Repainting: This indicator is designed to be non-repainting. The values displayed are fixed once a candle closes. (Note: The values on the current, real-time candle will update until it closes).
Compatibility: This indicator is compatible with all symbols but is designed for optimal performance on timeframes lower than Daily.
Chart Timeframe Dependency: The indicator automatically hides timeframes in the bottom pane that are smaller than your current chart's timeframe. To view all possible resolutions, set your chart to the 1-minute timeframe.
Time Period Display Precision: The labels indicating the time duration (e.g., "1.2 years") may show approximate values due to rounding and are not intended to be perfectly precise.
Note Regarding the Source Code: The core logic of this indicator, especially the proprietary formulas used, is the result of personal research and development. To preserve this unique methodology and ensure its integrity for future developments, this version is released as closed-source. However, we have made every effort to fully and transparently describe the indicator's logic and operational process in the explanations.
🔴 Disclaimer
This indicator is provided for educational, informational, and analytical purposes only and should not be considered as financial advice or a definitive signal for buying or selling. Past performance is not indicative of future results. All investment and trading activities involve risk, and the user is solely responsible for any profits or losses. Please conduct your own research and consult with a qualified financial advisor before making any financial decisions.
🔴 Developers: Mr. Mohammad sanaei
⭐️⭐️ Feel free to share your feedback in the comments ⭐️⭐️
این اندیکاتور یک ابزار تحلیلی چند-زمانی قدرتمند است که به معاملهگران کمک میکند تا با یک نگاه، زمینه و ساختار کلی بازار را درک کرده و دیدی جامعی از روند قیمت و تایمفریمهای بلندمدت (هفتگی) تا کوتاهمدت (یک دقیقه)، به طور همزمان روی یک نمودار به دست آورند.
این ابزار از دو طریق به شما در تحلیل بازار کمک میکند:
نمایش کندلهای اخیر تایمفریمهای بالاتر برای درک سریع قدرت، مومنتوم و بررسی کلی روند در مقیاسهای مختلف.
نمایش کانال رگرسیون خطی خودکار برای تشخیص بصری جهت، شیب و قدرت روند در بازههای زمانی منتخب شما.
🔴 توسعه دهندگان: محمد ثنائی
⭐️⭐️ لطفاً نظرات خود را در کامنتها با ما در میان بگذارید; از خواندن بازخوردهای شما خوشحال میشویم. ⭐️⭐️
FlatBottomReversion
FlatBottomReversion is a mean‑reversion tool that combines multi‑timeframe Heikin‑Ashi trend analysis with flat‑bottom/top detection to catch high‑probability intraday reversals. The indicator also includes an optional Keltner Channel.
⚙️ Usage
It works on any timeframe and candle style, but it was developed specifically for a 3‑minute Heikin Ashi chart. Results may vary significantly if a different chart type or timeframe is used.
⚠️ Tips
Like other reversion tools, separate confirmation is recommended. For example, checking whether the outer Keltner bands have been touched. Waiting for the high or low of the firing candle to be broken is also advised.
Be cautious on strong trend days, as fakeouts can occur. The indicator performs best on ranging days.
The Point Tolerance setting lets you “blur” what qualifies as a flat candle. Perfectly flat candles are the most reliable but happen infrequently. Adding a few points to the tolerance can help in volatile markets, but it may also reduce reliability.
The trend section is a non‑visible version of the PorchTrendLines indicator. It functions similarly to using three SMAs: when the average shows an overbought or oversold area, it may indicate a reversion is likely. The default settings work well on a 3‑minute Heikin Ashi chart but may need adjusting for other setups.
🧪 Inputs you can adjust
Entry & Exit --Controls how the lines are plotted.
Trend Settings --Define which timeframes, lengths, and thresholds determine overbought/oversold conditions.
Keltner Channels – Show or hide the bands, change length, and adjust the multiplier.
🔔 Built‑in alerts (how they behave)
Flat Bottom Entry :
Fires in real time while the candle is forming. This alert is good for a notice to “look up, a setup may be building.” However it will have false‑alarms due to candles later failing criteria.
Flat Bottom Entry with Trend :
Fires only when lines are actually plotted. When this fires the criteria are confirmed. If the reversion is fast though you may miss the best entry if you aren't ready for it.
ICT OTE Strategy Futures PublicICT OTE Strategy
This strategy automates a classic ICT (Inner Circle Trader) setup that aims to enter a trade on a retracement after a confirmed Break of Structure (BOS). It is designed to identify high-probability setups by waiting for the market to show its hand before looking for an entry within a "discount" or "premium" array.
The entire process is automated, from identifying the market structure to managing the trade with a dynamic stop loss.
How It Works
Break of Structure (BOS): The strategy first waits for a strong, validated swing to break a previous, weaker swing high or low. This confirms the market's intended direction.
Identify Retracement Leg: After a BOS, the strategy identifies the most recent price leg that led to the break.
Auto-Fibonacci: It automatically draws a Fibonacci retracement over this leg, from the start of the move (1.0) to the end (0.0).
Trade Entry: A limit order is placed at a user-defined Fibonacci level (defaulting to 0.508), anticipating a price pullback.
After a bullish BOS, it looks to BUY the retracement.
After a bearish BOS, it looks to SELL the retracement.
Risk Management:
Stop Loss is placed at the start of the leg (the 1.0 level).
Take Profit is placed at a user-defined level (defaulting to the 0.0 level).
Includes an option to move the stop loss to break-even after the trade has moved a certain distance in profit.
How to Use
Swing Settings: Adjust the "Entry Swing" and "Validator" strengths to match the volatility and timeframe of the asset you are trading. Higher numbers will result in fewer, more significant setups.
Session Filter: Use the "Trading Sessions" filter to align the strategy with ICT's "killzone" concept, ensuring trades are only taken during high-volume periods like the New York session.
Backtest: Use the Strategy Tester to optimize the "FIB Entry Level," "Take Profit Level," and "Min Trade Range" to find the best settings for your specific market and timeframe.
🏆 UNMITIGATED LEVELS ACCUMULATIONPDH TO ATH RISK FREE
All the PDL have a buy limit which starts at 0.1 lots which will duplicate at the same time the capital incresases. All of the buy limits have TP in ATH for max reward.
Opaline Color ChangeONLY USE for serious full time trading strategy, or running away from Military/City.
Multi Kernel Regression with Alert.
Canonical Momenta Indicator [T1][T69]📌 Overview
The Canonical Momenta Indicator models trend pressure using a Lagrangian-based momentum engine combined with reflexivity theory to detect bursts in price movement influenced by herd behavior and volume acceleration.
🧠 Features
Lagrangian-based kinetic model combining velocity and acceleration
Reflexivity burst detection with directional scoring
Adaptive momentum-weighted output (adaptiveCMI)
Buy 🐋 / Sell 🐻 labels when reflexivity confirms direction
Fully parameterized for customization
⚙️ How to Use
This indicator helps traders:
Detect reflexive bursts in market activity driven by sharp price movement + volume spikes
Capture herd-driven directional moves early.
Gauge market pressure using a kinetic-potential energy model.
Suggested signals:
🐋 Reflexive Up: Strong bullish momentum spike confirmed by volume and positive lagrangian pressure
🐻 Reflexive Down: Strong bearish dump confirmed by volume and negative lagrangian burst
🔧 Configuration
MA Lookback Length - Smoothing for baseline price & energy calculation
Reflexivity Momentum Threshold - Price momentum trigger for burst detection
Reflexivity Lookback - Period over which bursts are counted
Reflexivity Window - Minimum burst sum to trigger signal label
Volume Spike Threshold - % above average volume to qualify as burst
📊 Behavior Description
The indicator computes a Lagrangian energy:
Kinetic Energy = (velocity² + 0.5 * acceleration²)
Potential Energy = deviation from moving average (distance²)
Lagrangian = Potential − Kinetic (higher = overextension)
Then, reflexive bursts are triggered when:
Price is rising or falling over short window (burstMvmnt)
Volume is above average by a user-defined multiple
Each bar gets a burst score:
+1 for up-burst
−1 for down-burst
0 otherwise
⚠️ Risk Profile Based on Lookback Settings
Risk Level | Description | Recommended Lookback
🟥 High | Extremely sensitive to bursts, prone to false signals | 7–10
🟨 Moderate | Balanced reflexivity with trend confirmation | 11–20
🟩 Low | Filters out most noise, slower to react | 21+
🧪 Advanced Tips
Combine with moving average slope for trend filtering
Use divergence between adaptiveCMI and price to detect exhaustion
Works well in crypto, commodities, and volatile assets
⚠️ Limitations
Sensitive to high volatility noise if volMult is too low
Designed for higher timeframes (1H, 4H, Daily) for reliability
Doesn’t confirm direction in sideways markets — pair with other filters
📝 Disclaimer
This tool is provided for educational and informational purposes. Always do your own backtesting and use proper risk management.
EUR/USD Multi-Layer Statistical Regression StrategyStrategy Overview
This advanced EUR/USD trading system employs a triple-layer linear regression framework with statistical validation and ensemble weighting. It combines short, medium, and long-term regression analyses to generate high-confidence directional signals while enforcing strict risk controls.
Core Components
Multi-Layer Regression Engine:
Parallel regression analysis across 3 customizable timeframes (short/medium/long)
Projects future price values using prediction horizons
Statistical significance filters (R-squared, correlation, slope thresholds)
Signal Validation System:
Lookback validation tests historical prediction accuracy
Ensemble weighting of layer signals (adjustable influence per timeframe)
Confidence scoring combining statistical strength, layer agreement, and validation accuracy
Risk Management:
Position sizing scaled by signal confidence (1%-100% of equity)
Daily loss circuit breaker (halts trading at user-defined threshold)
Forex-tailored execution (pip slippage, percentage-based commissions)
Visual Intelligence:
Real-time regression line plots (3 layered colors)
Projection markers for short-term forecasts
Background coloring for market bias indication
Comprehensive statistics dashboard (R-squared metrics, validation scores, P&L)
Key Parameters
Category Settings
Regression Short/Med/Long lengths (20/50/100 bars)
Statistics Min R² (0.65), Correlation (0.7), Slope (0.0001)
Validation 30-bar lookback, 10-bar projection
Risk Controls 50% position size, 12% daily loss limit, 75% confidence threshold
Trading Logic
Entries require:
Ensemble score > |0.5|
Confidence > threshold
Short & medium-term significance
Active daily loss limit not breached
Exits triggered by:
Opposite high-confidence signals
Daily loss limit violation (emergency exit)
The strategy blends quantitative finance techniques with practical trading safeguards, featuring a self-optimizing design where signal quality directly impacts position sizing. The visual dashboard provides real-time feedback on model performance and market conditions.
Linear Regression Log Channel with 3 Standard Deviations, AlertsThis indicator plots a logarithmic linear regression trendline starting from a user-defined date, along with ±1, ±2, and ±3 standard deviation bands. It is designed to help you visualize long-term price trends and statistically significant deviations.
Features:
• Log-scale linear regression line based on price since the selected start date
• Upper and lower bands at 1σ, 2σ, and 3σ, with the 3σ bands dashed for emphasis
• Optional filled channels between deviation bands
• Dynamic label showing:
• Distance from regression (in %)
• Distance in standard deviations (σ)
• Current price and regression value
• Estimated probability (assuming normal distribution) that the price continues moving further in its current direction
• Built-in alerts when price crosses the regression line or any of the deviation bands
This tool is useful for:
• Identifying mean-reversion setups or stretched trends
• Estimating likelihood of further directional movement
• Spotting statistically rare price conditions (e.g., >2σ or >3σ)
Flying Submarine SincOrange Glowing Flying Submarine at Area 51. For Call Puts. Safety in SpaceForce.
Bitcoin Basket [100Zabaan]🟢🟢 Bitcoin Basket 🟢🟢
🟡 Overview
This indicator is a long-term analytical tool for Bitcoin investment, designed by drawing inspiration from historical halving cycles, historical peak growths and deepest declines, and the overall price growth trend. The main goal of this indicator is to provide a strategic perspective to investors so they can better identify key market phases, such as periods of major selling and major buying of Bitcoin.
🟡 This tool visually compares two scenarios:
Hold Strategy : The strategy of buying and holding Bitcoin from the time of investment until today ( Bitcoin Holding Strategy ).
Active Investment Strategy : An active investment strategy that cautiously buys and sells based on market cycle-driven signals ( Active Bitcoin Trading Strategy ).
This comparison helps you make more informed decisions regarding your long-term capital management.
🟡 Key Features of the Indicator
Performance Comparison : Displays the current value of your investment based on two strategies:
Bitcoin Holding Strategy : If you had invested an amount on your chosen date, how much Bitcoin (equivalent to how many dollars) would you have today.
Active Bitcoin Trading Strategy : How your capital would have grown if you had traded based on the indicator's buy and sell signals.
Also, in the status line section, you can see your asset amount (in USD) at each candle and compare the two strategies.
Identification of Buy and Sell Periods : Using colored boxes (red and green), it identifies time periods that have historically been suitable for selling or buying.
Identification of Suitable Price Ranges in Buy and Sell Periods : With a horizontal line within the red boxes, it informs us that prices above this line may be worth selling. With a horizontal line within the green boxes, it informs us that prices below this line may be worth buying.
Halving Display: Shows the exact time of each halving along with the block reward for each block produced during that halving.
Display of Maximum Drawdown During the Investment Period: In the provided table, you can see the maximum loss incurred in each of the two strategies during your hypothetical investment period, on what date this occurred, and what your capital was before and after in each of the two scenarios.
Display of Buy and Sell Suggestions: You can also see the suggested amount of Bitcoin to buy and sell at what prices, based on your investment amount.
Alarm: This indicator usually provides an alarm one or more days before the start of a selling period, notifying you that a sell signal will be issued soon.
Customization Options: In this indicator, you can customize your investment date and amount. You can also determine the display of label text (including price and buy/sell amount) and its size. This indicator also supports the Persian language.
🟡 How it Works and Signal Issuance Mechanism
This indicator uses three main methods for calculations:
Deceleration of Overall Price Growth : This indicator has found that the price of Bitcoin grows and fluctuates around an overall axis, and the intensity of this upward axis's growth gradually decreases.
Halving Impact : This indicator has found that the price of Bitcoin has grown from approximately one year before a halving and this growth continues for at least one year after the halving. It has also found that the price experiences a sharp one-year decline in the range between two halvings. Consequently, time-wise, based on halving, it displays a selling period (as a red box) on the chart. Considering the Bitcoin price growth explained in the previous point, it draws a line in the middle of the red box, identifying prices above that line as a suitable selling area. The inverse of this process is considered for buying.
Historical Peak Growths and Deepest Declines : This indicator analyzes Bitcoin's historical peak growths and deepest declines. Based on this, when declines are relatively large compared to what has occurred in the past, it issues the first buy suggestion. If the price decline continues, it sequentially issues the second and finally the third buy suggestion. The inverse of this process is followed for issuing sell suggestions.
🟡 Usage Guide
Add the indicator to your chart
Go to the indicator's settings section
In the Inputs tab, you can adjust the following values:
Set the initial investment amount in USD
Set the investment start date, from which calculations will begin
Set the language for displaying information on the chart, which is English by default
Display or hide labels for price and buy/sell volume on candles
The indicator will automatically display the results on the chart and in its information panel
🟡 Important Notes and Limitations
Compatibility : This indicator is specifically designed for the BTCUSD pair. To access the maximum historical data, you must use the INDEX broker chart and the Daily timeframe ; otherwise, the indicator will display a warning message.
Long-Term Tool : This indicator is a macro analysis tool. Its signals are rarely issued and are designed to capture large trends spanning several months or years. This tool is by no means suitable for day trading or scalping.
Non-Repainting : Buy and sell signals become definitive after the daily candle closes and do not change in the past. This feature increases the validity of backtests.
Note Regarding the Source Code : The core logic of this indicator, especially the proprietary formulas used, is the result of personal research and development. To preserve this unique methodology and ensure its integrity for future developments, this version is released as closed-source. However, we have made every effort to fully and transparently describe the indicator's logic and operational process in the explanations.
🔴 Disclaimer
This indicator is provided solely for educational, informational, and analytical purposes and should under no circumstances be considered financial advice or a definitive signal for buying and selling. Past market performance is by no means a guarantee of future results. All investment and trading activities involve risk, and the user is solely responsible for any profits or losses. Please conduct your own research and consult with a financial advisor before making any financial decisions.
🔴 Developers: Mr. Mohammad sanaei, Mrs. Hamideh Azari
⭐️⭐️ Feel free to share your feedback in the comments ⭐️⭐️
این اندیکاتور ابزاری تحلیلی و بلندمدت برای سرمایهگذاری در بیتکوین است که با الهام از چرخههای تاریخی هاوینگ، بیشترین رشد و افت ها تاریخی و روند کلی رشد قیمت طراحی شده است.
هدف اصلی این اندیکاتور، ارائه یک دیدگاه استراتژیک به سرمایهگذاران است تا بتوانند فازهای کلیدی بازار مانند دورههای فروش عمده و خرید عمده بیت کوین را بهتر شناسایی کنند.
🔴 توسعه دهندگان: محمد ثنائی، حمیده آذری
⭐️⭐️ لطفاً نظرات خود را در کامنتها با ما در میان بگذارید; از خواندن بازخوردهای شما خوشحال میشویم. ⭐️⭐️
Market to NAV Premium Arbitrage Alpha IndicatorBitcoin treasury companies such as Microstrategy are known for trading at significant premiums. but how big exactly is the premium? And how can we measure it in real time?
I developed this quantitative tool to identify statistical mispricings between market capitalization and net asset value (NAV), specifically designed for arbitrage strategies and alpha generation in Bitcoin-holding companies, such as MicroStrategy or Sharplink Gaming, or SPACs used primarily to hold cryptocurrencies, Bitcoin ETFs, and other NAV-based instruments. It can probably also be used in certain spin-offs.
KEY FEATURES:
✅ Real-time Premium/Discount Calculation
• Automatically retrieves market cap data from TradingView
• Calculates precise NAV based on underlying asset holdings (for example Bitcoin)
• Formula: (Market Cap - NAV) / NAV × 100
✅ Statistical Analysis
• Historical percentile rankings (customizable lookback period)
• Standard deviation bands (2σ) for extreme value detection (close to these values might be seen as interesting points to short or go long)
• Smoothing period to reduce noise
✅ Multi-Source Market Cap Detection
• You can add the ticker of the NAV asset, but if necessary, you can also put it manually. Priority system: TradingView data → Calculated → Manual override
✅ Advanced NAV Modeling
• Basic NAV: Asset holdings + cash.
• Adjusted NAV: Includes software business value, debt, preferred shares. If the company has a lot of this kind of intrinsic value, put it in the "cash" field
• Support for any underlying asset (BTC, ETH, etc.)
TRADING APPLICATIONS:
🎯 Pairs Trading Signals
• Long/Short opportunities when premium reaches statistical extremes
• Mean reversion strategies based on historical ranges
• Risk-adjusted position sizing using percentile ranks
🎯 Arbitrage Detection
• Identifies when market pricing significantly deviates from fair value
• Quantifies the magnitude of mispricing for profit potential
• Historical context for timing entry/exit points
CONFIGURATION OPTIONS:
• Underlying Asset: Any symbol (default: COINBASE:BTCUSD) NEEDS MANUAL INPUT
• Asset Quantity: Precise holdings amount (for example, how much BTC does the company currently hold). NEEDS MANUAL INPUT
• Cash Holdings: Additional liquid assets. NEEDS MANUAL INPUT
• Market Cap Mode: Auto-detect, calculated, or manual
• Advanced Adjustments: Business value, debt, preferred shares
• Display Settings: Lookback period, smoothing, custom colors
IT CAN BE USED BY:
• Quantitative traders focused on statistical arbitrage
• Institutional investors monitoring NAV-based instruments
• Bitcoin ETF and MSTR traders seeking alpha generation
• Risk managers tracking premium/discount exposures
• Academic researchers studying market efficiency (as you can see, markets are not efficient 😉)
Mean Reversion Trading With IV Metrics (By MC) - Mobile FriendlyThis script is a comprehensive toolkit for traders who want to combine price mean reversion analysis with advanced volatility metrics, including Implied Volatility Rank (IVR), Implied/“Fair” Volatility projections, and real-time market volatility indicators. It is optimized for both desktop and mobile use, providing a detailed statistics table directly on the chart, and is suitable for stocks, ETFs, indices, and even paired asset analysis.
Key Features & How They Work Together
1. Mean Reversion Probability & Z-Score
Mean Reversion Analysis: Calculates z-scores and statistical probabilities that the asset’s price will revert to its mean, using customizable lookback windows (e.g., 10-60 bars). This helps traders spot potentially overbought or oversold conditions.
Strong & Moderate Signals: Highlights strong and moderate reversion opportunities based on user-defined probability thresholds, providing clear visual cues for timing entries and exits.
2. Paired Asset Correlation
Pairs Trading Support: Allows comparison of two symbols (e.g., SPY vs TLT). It computes the ratio, rolling mean, standard deviation, and correlation, helping traders identify divergence/convergence opportunities in pairs trading.
3. Volatility Metrics & Projections
Historical & Implied Volatility: Estimates implied volatility (IV) using historical price data, calculates IVR (the asset’s IV relative to its own history), and provides user-customized percentile bands (e.g., 20th/80th percentiles).
Fair IV Calculation: Offers three methods to compute “fair” volatility:
Market-Aware (relative to VIX/SPX HV)
SMA of historical volatility
SMA of VIX Traders can choose the method that best fits current market conditions.
Future Projections: Projects IV, “Fair” IV, and IVR for a user-defined future period, giving insight into potential volatility trends.
4. Implied Move Range
Implied Move Calculation: Shows the expected price range (upper/lower bounds) for the forecast period based on the current IV, making risk management and target setting more objective.
Dynamic Labels: Automatically updates labels with the latest projected moves and bounds, keeping traders informed in real time.
5. Market Volatility Dashboard
Broad Market Indicators: Displays real-time values and daily changes for VIX, VIX1D, VVIX, MOVE (bond volatility), GVZ (gold volatility), and OVX (oil volatility). Color-coded thresholds help traders gauge market stress across asset classes.
Correlation to SPY: Shows how closely the asset moves with SPY, aiding in diversification and hedging decisions.
6. Performance Metrics
Daily Move Analysis: Tracks today’s price move (absolute and percentage), average rises/falls, and the percentage of green/red days over a custom period.
Trade Quality Assessment: Ranks trade opportunities (High/Moderate/Low/Very Low) based on mean reversion probability.
7. Highly Customizable Table
Mobile Friendly: The stats table can be placed anywhere on the chart, toggled between compact/full/extra modes, and resized for readability on any device.
Visual Cues: Color coding and dynamic labels make interpretation easy and fast.
8. Alert Conditions
Built-in alerts for strong/moderate mean reversion, IV crossing above/below “Fair” IV, allowing proactive trade management.
9. VIX-Based Expected Move Bands
Optionally plots ±1, 2, 3 standard deviation bands using VIX-based expected move, helping to visualize potential price extremes.
How These Features Help Traders
Unified Trading Dashboard: All key mean reversion and volatility insights are available at a glance, reducing the need to switch between multiple indicators or screens.
Informed Entries & Exits: By combining mean reversion probabilities, IV projections, and market volatility, traders can time trades more confidently and avoid false signals.
Risk Management: The implied move bounds and volatility levels support realistic stop-loss and target setting, adapting dynamically to market conditions.
Cross-Asset Awareness: Market-wide volatility metrics and asset correlation to SPY provide context, helping traders avoid surprises from macro shocks.
Pairs Trading: Direct support for ratio and correlation analysis streamlines pairs strategies.
Customization & Clarity: The flexible UI and color-coded stats make the tool accessible for both beginners and advanced users.
Mean Reversion, Correlation value & interpretation:
For Meant Reversion % Probability:
Lookback Period to use:
| Trading Horizon | Lookback Period (Length) | Rationale |
| 5–10 days | 10–20 bars | More sensitive, good for quick reversals |
| 10–20 days | 20–30 bars | Standard for short swing |
| 20–40 days | 40–60 bars | More stable mean for longer swing |
Interpretation Guide:
Only consider trades if Correlation ≥ 0.6 or Reversion % ≥ 75%.
Avoid trades with Reversion % < 20%.
Correlation and Reversion % together form a powerful trade quality filter.
| Reversion % | Correlation | Signal Strength | Action |
| ≥ 75% | ≥ 0.4 | High Probability | Consider full position |
| ≥ 50% | ≥ 0.6 | Moderate Probability | Trade with standard size |
| ≥ 75% | < 0.4 | Uncorrelated Edge | Trade small or hedge carefully |
| < 50% | Any | Weak | Avoid |
| Any | < 0.3 | Low Coherence | Avoid unless extreme Reversion |
| Correlation Value | Interpretation |
| +1.0 | Perfect positive correlation (price of both move in the same direction)|
| +0.7 to +0.9 | Strong positive correlation |
| +0.4 to +0.6 | Moderate positive correlation |
| 0 | No correlation (independent) |
| -0.4 to -0.6 | Moderate negative correlation |
| -0.7 to -0.9 | Strong negative correlation |
| -1.0 | Perfect negative correlation (price both move in the opposite direction)|
Summary:
This script empowers traders to navigate markets with a robust, data-driven approach, seamlessly blending mean reversion analytics with deep volatility insight—all in a mobile-friendly, customizable dashboard.
Disclaimer
This tool is for informational and educational purposes only. It does not provide financial advice or trading signals. Always do your own research and consult a professional before making investment decisions.
🧪 Yuri Garcia Smart Money Strategy FULL (Slope Divergence))📣 Yuri Garcia – Smart Money Strategy FULL
This is my private Smart Money Concept strategy, designed for my family and community to learn, trade, and grow sustainably.
🔑 How it works:
✅ Volume Cluster Zones: Automatically detects areas where strong buyers or sellers concentrate, acting as dynamic S/R levels.
✅ HTF Institutional Zones (4H): Higher timeframe trend filter ensures you’re always trading in the direction of major flows.
✅ Wick Pullback Filter: Confirms price rejects the zone, catching smart money traps and reversals.
✅ Cumulative Delta (CVD): Confirms whether buyers or sellers are truly in control.
✅ Slope-Based Divergence: Optional hidden divergence between price & CVD to spot reversals others miss.
✅ ATR Dynamic SL/TP: Adapts stop loss and take profit to live volatility with adjustable risk/reward.
🧩 Visual Markers Explained:
🟦 Blue X: Price inside HTF zone
🟨 Yellow X: Price inside Volume Cluster zone
🟧 Orange Circle: Wick pullback detected
🟥 Red Square: CVD confirms order flow strength
🔼 Aqua Triangle Up: Bullish slope divergence
🔽 Purple Triangle Down: Bearish slope divergence
🟢 Green Triangle Up: Final Long Entry confirmed
🔴 Red Triangle Down: Final Short Entry confirmed
⚡ Who is this for?
This strategy is best suited for traders who understand smart money concepts, order flow, and want an adaptive framework to trade major assets like BTC, Gold, SP500, NASDAQ, or FX pairs.
🔒 Important
Use responsibly, backtest extensively, and combine with solid risk management. This is for educational purposes only.
✨ Credits
Built with ❤️ by Yuri Garcia – dedicated to my family & community.
✅ How to use it
1️⃣ Add to chart
2️⃣ Adjust inputs for your asset & timeframe
3️⃣ Enable/disable slope divergence filter to match your style
4️⃣ Set your alerts with built-in conditions
Cubic Regression with Rainbow Grid (Adaptive StDev)Cubic Regression with Rainbow Channel
Description
The Cubic Regression with Rainbow Channel is an advanced technical analysis tool designed to identify trends and measure market volatility. It plots a cubic regression trendline surrounded by a "rainbow" of quantile bands.
Its primary feature is a unique adaptive volatility model. Instead of using a single period for standard deviation, it blends a long-term (stable) and a short-term (responsive) deviation. The user can control the weight between these two, allowing for fine-tuning of the channel's sensitivity to recent volatility changes.
How to Use and Recommendations
This indicator can be used for trend analysis, volatility assessment, and generating trading signals.
1. Trend Identification:
The central white line represents the calculated cubic regression trend.
Uptrend: The line curves upwards.
Downtrend: The line curves downwards.
Consolidation: The line moves sideways.
The curve's angle indicates the trend's strength.
2. Volatility Analysis:
The width of the rainbow is a direct measure of market volatility.
Wide Channel (High Volatility): Indicates significant price movement and uncertainty. Be cautious, as prices can swing wildly.
Narrow Channel (Low Volatility): Signals a period of consolidation or low market activity. Often, a "squeeze" (a very narrow channel) precedes a strong breakout.
3. Trading Signals:
Mean Reversion (Primary Strategy):
Sell Signal: When the price reaches the upper, "hot" bands (yellow, orange, red), it is considered overbought or overextended. Look for a potential reversal back towards the central white line.
Buy Signal: When the price touches the lower, "cold" bands (aqua, navy, purple), it is considered oversold. Look for a potential bounce back towards the central trendline.
Breakout Confirmation:
If the price consistently closes outside the outer bands (red or purple), especially as the channel is widening, it may signal the start of a very strong new trend, invalidating the mean-reversion signal.
4. Key Recommendations:
Always Use Confirmation: Do not use this indicator in isolation. Confirm its signals with other tools like RSI for momentum, MACD for trend confirmation, or Volume analysis.
Tune the Parameters:
Regression Period: Adjust this to fit the character of the asset. A longer period creates a smoother, more stable trendline suitable for long-term analysis. A shorter period makes it more responsive to recent price action.
Short StDev Weight (%): This is the most important setting. Start with a value around 20-40%.
Increase the weight to make the channel react faster to volatility spikes (good for short-term trading).
Decrease the weight for a smoother, more stable channel that filters out market noise (better for trend-following).
Context is King: The indicator is most reliable in markets that tend to revert to a mean. In a very strong, one-directional trend, mean-reversion signals may fail repeatedly.
20-Day SMA BIAS%20-day Bias is a commonly used indicator in technical analysis. It is used to measure the gap between the stock price and its 20-day moving average to determine whether the stock price deviates from the normal state and whether there is an overbought or oversold phenomenon.
How to calculate the 20-day deviation value:
The calculation formula of the deviation rate is: ((closing price of the day - 20-day moving average price) / 20-day moving average price) * 100%.
Interpretation of 20-day deviation value:
Positive deviation rate:
Indicates that the stock price is higher than the 20-day moving average, which means that the stock price is high and may face correction pressure.
Negative deviation rate:
Indicates that the stock price is lower than the 20-day moving average, which means that the stock price is low and there may be a rebound opportunity.
Absolute value of the deviation rate:
The larger the absolute value, the higher the deviation of the stock price, and the higher the degree of overbought or oversold.
Apply the deviation rate to determine the buying and selling opportunities:
Positive deviation rate is too large:
When the positive deviation rate of the stock price from the 20-day moving average is too large, and the stock price is already at a high level, this may be a sell signal.
Negative deviation rate is too large:
When the negative deviation rate of the stock price from the 20-day moving average is too large, and the stock price is already at a low level, this may be a buy signal.
Stock price fluctuates around the moving average:
Stock price usually fluctuates around the moving average and adjusts after over-rising or over-falling.
Practical operation suggestions:
The standards of the market and individual stocks are different:
When the positive and negative deviation rate of the market and the quarterly line is greater than 5%, there is a greater chance of correction; large-cap stocks are between 5% and 10%; small and medium-sized stocks may be above 15% to 20%.
Combined with other indicators:
The deviation rate is only one of the technical analysis indicators. It is recommended to combine it with other indicators, such as KD indicators, RSI, etc., to make a comprehensive judgment and improve accuracy.
Reference to historical experience:
You can refer to the situation where the deviation rate of the stock was too large in the past to determine whether the current deviation rate is also too large.
Summary:
The 20-day deviation value is an indicator to determine whether the stock price is overbought or oversold, which can help investors determine the timing of buying and selling, but it needs to be combined with other indicators and historical data, and adjusted according to market conditions.
Quantum Harmonic Oscillator Overlay🧪 Quantum Harmonic Oscillator Overlay
A visual model of price behavior using quantum harmonic oscillation principles
📜 Indicator Overview
The Quantum Harmonic Oscillator Overlay applies concepts from both classical physics (harmonic motion) and quantum mechanics (energy states) to model and visualize how price orbits around a central trend line. It overlays a Linear Regression line (representing the “mean position” or ground state of price) and calculates surrounding energy levels (σ-zones) akin to quantum shells that price can "jump" between.
This indicator is particularly useful for visualizing mean reversion, volatility compression/expansion, and momentum-driven price breakthroughs.
🧠 Core Concepts
Linear Regression Line (LSR): This is the calculated center of gravity or equilibrium path of price over a user-defined period. Think of it like the lowest energy state or central axis around which price vibrates.
Standard Deviation Zones (σ-levels):
1σ: The majority of normal price activity; within this range, price tends to fluctuate if in balance.
2σ: Indicates volatility or possible breakout pressure.
3σ: Represents extreme movement — a phase shift in energy, potentially leading to reversal or continuation with higher momentum.
Quantum Analogy: Just like in a quantum harmonic oscillator, particles (here, prices) move probabilistically between discrete energy states. The further the price moves from the center, the more "energy" (momentum, volume, volatility) is implied.
⚙️ Input Parameters
Setting Description
Linear Regression Length The number of bars used to calculate the regression trend (default 100). Affects the central path and responsiveness.
σ Multipliers (1σ, 2σ, 3σ) Determine how far each band is from the regression line. Adjusting these can highlight different price behaviors.
Show Energy Level Zones Toggle visibility of the colored bands around the regression line.
Show LSR Center Line Toggles visibility of the white Linear Regression line itself.
🎨 Visual Components
Color Zone Interpretation
✅ Green ±1σ Normal oscillation / mean reversion area. Ideal for range-bound strategies.
🟧 Orange ±2σ Warning zone; price may be gaining momentum or volatility.
🔴 Red ±3σ High-momentum state or anomaly. These regions may imply trend exhaustion, reversals, or breakouts.
White Line: The LSR — the average trajectory of the price movement.
Pink Dots: Appear when price exceeds Zone 3 (outside ±3σ) — a signal of extreme behavior or a possible regime shift.
📈 How to Use This Indicator
1. Detect Overextensions
When price touches or breaches the 3σ zone, it is likely overextended. This can be used to anticipate potential snapbacks or strong breakout trends.
2. Identify Mean Reversion Trades
If price exits the 2σ or 3σ zones and returns toward the center line, this signals a likely mean reversion setup.
3. Volatility Compression or Expansion
Flat zones between σ levels suggest calm markets; widening bands suggest expanding volatility.
4. Use with Confirmation Tools
Combine with momentum oscillators (MACD, RSI) or volume-based signals to confirm reversals or continuation outside Zone 3.
🔮 Philosophical Note
This indicator embodies the metaphor that the market behaves like a quantum oscillator — price particles exist in a probabilistic field and jump between discrete zones of volatility and energy. Tracking these transitions allows the trader to see price behavior as rhythmic, wave-like, and multidimensional rather than purely linear.