RSI-Adaptive T3 [ChartPrime]The RSI-Adaptive T3 is a precision trend-following tool built around the legendary T3 smoothing algorithm developed by Tim Tillson , designed to enhance responsiveness while reducing lag compared to traditional moving averages. Current implementation takes it a step further by dynamically adapting the smoothing length based on real-time RSI conditions — allowing the T3 to “breathe” with market volatility. This dynamic length makes the curve faster in trending moves and smoother during consolidations.
To help traders visualize volatility and directional momentum, adaptive volatility bands are plotted around the T3 line, with visual crossover markers and a dynamic info panel on the chart. It’s ideal for identifying trend shifts, spotting momentum surges, and adapting strategy execution to the pace of the market.
HOIW IT WORKS
At its core, this indicator fuses two ideas:
The T3 Moving Average — a 6-stage recursively smoothed exponential average created by Tim Tillson , designed to reduce lag without sacrificing smoothness. It uses a volume factor to control curvature.
A Dynamic Length Engine — powered by the RSI. When RSI is low (market oversold), the T3 becomes shorter and more reactive. When RSI is high (overbought), the T3 becomes longer and smoother. This creates a feedback loop between price momentum and trend sensitivity.
// Step 1: Adaptive length via RSI
rsi = ta.rsi(src, rsiLen)
rsi_scale = 1 - rsi / 100
len = math.round(minLen + (maxLen - minLen) * rsi_scale)
pine_ema(src, length) =>
alpha = 2 / (length + 1)
sum = 0.0
sum := na(sum ) ? src : alpha * src + (1 - alpha) * nz(sum )
sum
// Step 2: T3 with adaptive length
e1 = pine_ema(src, len)
e2 = pine_ema(e1, len)
e3 = pine_ema(e2, len)
e4 = pine_ema(e3, len)
e5 = pine_ema(e4, len)
e6 = pine_ema(e5, len)
c1 = -v * v * v
c2 = 3 * v * v + 3 * v * v * v
c3 = -6 * v * v - 3 * v - 3 * v * v * v
c4 = 1 + 3 * v + v * v * v + 3 * v * v
t3 = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3
The result: an evolving trend line that adapts to market tempo in real-time.
KEY FEATURES
⯁ RSI-Based Adaptive Smoothing
The length of the T3 calculation dynamically adjusts between a Min Length and Max Length , based on the current RSI.
When RSI is low → the T3 shortens, tracking reversals faster.
When RSI is high → the T3 stretches, filtering out noise during euphoria phases.
Displayed length is shown in a floating table, colored on a gradient between min/max values.
⯁ T3 Calculation (Tim Tillson Method)
The script uses a 6-stage EMA cascade with a customizable Volume Factor (v) , as designed by Tillson (1998) .
Formula:
T3 = c1 * e6 + c2 * e5 + c3 * e4 + c4 * e3
This technique gives smoother yet faster curves than EMAs or DEMA/Triple EMA.
⯁ Visual Trend Direction & Transitions
The T3 line changes color dynamically:
Color Up (default: blue) → bullish curvature
Color Down (default: orange) → bearish curvature
Plot fill between T3 and delayed T3 creates a gradient ribbon to show momentum expansion/contraction.
Directional shift markers (“🞛”) are plotted when T3 crosses its own delayed value — helping traders spot trend flips or pullback entries.
⯁ Adaptive Volatility Bands
Optional upper/lower bands are plotted around the T3 line using a user-defined volatility window (default: 100).
Bands widen when volatility rises, and contract during compression — similar to Bollinger logic but centered on the adaptive T3.
Shaded band zones help frame breakout setups or mean-reversion zones.
⯁ Dynamic Info Table
A live stats panel shows:
Current adaptive length
Maximum smoothing (▲ MaxLen)
Minimum smoothing (▼ MinLen)
All values update in real time and are color-coded to match trend direction.
HOW TO USE
Use T3 crossovers to detect trend transitions, especially during periods of volatility compression.
Watch for volatility contraction in the bands — breakouts from narrow band periods often precede trend bursts.
The adaptive smoothing length can also be used to assess current market tempo — tighter = faster; wider = slower.
CONCLUSION
RSI-Adaptive T3 modernizes one of the most elegant smoothing algorithms in technical analysis with intelligent RSI responsiveness and built-in volatility bands. It gives traders a cleaner read on trend health, directional shifts, and expansion dynamics — all in a visually efficient package. Perfect for scalpers, swing traders, and algorithmic modelers alike, it delivers advanced logic in a plug-and-play format.
Trend
CHN BUY SELL with EMA 200Overview
This indicator combines RSI 7 momentum signals with EMA 200 trend filtering to generate high-probability BUY and SELL entry points. It uses colored candles to highlight key market conditions and displays clear trading signals with built-in cooldown periods to prevent signal spam.
Key Features
Colored Candles: Visual momentum indicators based on RSI 7 levels
Trend Filtering: EMA 200 confirms overall market direction
Signal Cooldown: Prevents over-trading with adjustable waiting periods
Clean Interface: Simple BUY/SELL labels without clutter
How It Works
Candle Coloring System
Yellow Candles: Appear when RSI 7 ≥ 70 (overbought momentum)
Purple Candles: Appear when RSI 7 ≤ 30 (oversold momentum)
Normal Candles: All other market conditions
Trading Signals
BUY Signal: Triggered when closing price > EMA 200 AND yellow candle appears
SELL Signal: Triggered when closing price < EMA 200 AND purple candle appears
Signal Cooldown
After a BUY or SELL signal appears, the same signal type is suppressed for a specified number of candles (default: 5) to prevent excessive signals in ranging markets.
Settings
RSI 7 Length: Period for RSI calculation (default: 7)
RSI 7 Overbought: Threshold for yellow candles (default: 70)
RSI 7 Oversold: Threshold for purple candles (default: 30)
EMA Length: Period for trend filter (default: 200)
Signal Cooldown: Candles to wait between same signal type (default: 5)
How to Use
Apply the indicator to your chart
Look for yellow or purple colored candles
For LONG entries: Wait for yellow candle above EMA 200, then enter BUY when signal appears
For SHORT entries: Wait for purple candle below EMA 200, then enter SELL when signal appears
Use appropriate risk management and position sizing
Best Practices
Works best on timeframes M15 and higher
Suitable for Forex, Gold, Crypto, and Stock markets
Consider market volatility when setting stop-loss and take-profit levels
Use in conjunction with proper risk management strategies
Technical Details
Overlay: True (plots directly on price chart)
Calculation: Based on RSI momentum and EMA trend analysis
Signal Logic: Combines momentum exhaustion with trend direction
Visual Feedback: Colored candles provide immediate market condition awareness
Smart AI Trend Finder ProDescription
Smart AI Trend Finder Pro is an advanced multi-timeframe trend-following indicator that combines AI-inspired filtering with moving average analysis to generate high-probability buy and sell signals. It intelligently filters out market noise by assessing candle strength, volatility, and trend confirmation before signaling entries.
🔹 Key Features:
✅ Multi-Timeframe MA Analysis – Uses Close & Open MAs on higher timeframes for stronger trend confirmation.
✅ Smart AI Filters – Detects strong candles, high volatility, and trend consistency to avoid false signals.
✅ 12 MA Types Supported for Filter Trend– Choose from SMA, EMA, DEMA, TEMA, WMA, VWMA, SMMA, HullMA, LSMA, ALMA, SSMA, or TMA.
✅ Visual Alerts – Clear Buy/Sell labels with color-coded trend confirmation.
✅ Reliable Alerts – Built-in sequencing logic prevents repeated signals in the same direction.
🔹 Ideal For:
Swing traders looking for high-confidence trend entries
Traders who want to avoid choppy markets with smart filters
Multi-timeframe analysts seeking confluence
🔹 Settings Customization:
Adjust MA type, period, and timeframe multiplier
Toggle Smart AI filters for stricter/looser signals
Modify colors and visual styles
Disclaimer
⚠️ Risk Warning: Trading involves substantial risk. This indicator is for educational and informational purposes only and should not be considered financial advice. Past performance does not guarantee future results.
📌 By using this indicator, you agree that:
You are solely responsible for your trading decisions.
The developer is not liable for any losses incurred.
Signals should be confirmed with additional analysis.
Always test strategies in a demo account before live trading.
📢 Note: No indicator is 100% accurate. Use proper risk management and combine with other tools for best results.
Strategy Builder Pro [ChartPrime]ChartPrime Strategy Creator Overview
The ChartPrime Strategy Builder offers traders an innovative, structured approach to building and testing strategies. The Strategy Creator allows users to combine, test, and automate complex strategies with many parameters.
Key Features of the ChartPrime Strategy Builder
1. Customizable Buy and Sell Conditions
The Strategy Creator provides flexibility in establishing entry and exit rules, with separate sections for long and short strategies. Traders can combine multiple conditions in each section to fine-tune when positions are opened or closed. For instance, they might choose to only buy when the indicator signals a buy and the Dynamic Reactor (a low lag filter) indicator shows a bullish trend. Users are able to pick, mix and match the following list of features:
Signal Mode: Select the type of assistive signals you are requiring. Provided are both trend following signals with self optimization using backtest results as well as reversal signals, aiming to provide real time tops and bottoms in markets. Both these signal modes can be fine tuned using the tuning input to refine signals to a trader's liking. ChartPrime Trend Signals leverage audio engineering inspired techniques and low-pass filters in order to achieve and attempt to produce lower lag response times and therefore are designed to have a uniqueness when compared to more classical trend following approaches.
The Dynamic Reactor: provides a simple band passing through the chart. This can provide assistance in support and resistance locations as well as identifying the trend direction expressed via green and red colors. Taking a moving average and applying unique adaptivity calculations gives this plot a unique and fast behavior.
Candlestick structures: analyze candlestick formation putting a spin on classical candlestick patterns and provide the most relevant formations on the chart. These are not classical and are filtered by further analyzing market activity. A trader's classic with a spin.
The Prime Trend Assistant: provides a trend following dynamic support and resistance level. This makes it perfect to use in confluence or as a filter for other supporting indicators. This is an adaptive trend following system designed to handle volatility leveraging filter kernels as opposed to low pass filters.
Money Flow: with further filters applied for early response to money flow changes in the market. This can be a great filter in trends.
Oscillator reversals: are built in leveraging an oscillator focusing on market momentum allowing users to enter based on market shifts and trends along with reversals.
Volume-Inspired Signals: determine overbought and oversold conditions, adding another layer of analysis to the oscillator. These appear as orange labels, providing a simple reading into a possible reversal.
The Volume Matrix: is a volume oscillator that shows whether money is flowing into or out of the market. Green suggests an uptrend with buyers in control, while red indicates a majority of sellers. By incorporating smoothed volume analysis, it distinguishes between bullish and bearish volumes, offering an early indication of potential trend reversals.
The True 7: is a middle-ranking system that evaluates the strength of a move and the overall trend, offering a numeric or visual representation of trend strength. It can also indicate when a trend is starting to reverse, providing leading signals for potential market shifts. Rather than using an oscillator, this offers the unique edge of falling into set categories, making understanding it simple. This can be a great confluence point when designing a strategy.
Take profits: These offer real-time suggestions from our algorithm on when it might be a good time to take profit. Using these as part of a strategy allows for great entries at bottoms and tops of trends.
Using features such as the Dynamic reactor have dual purposes. Traders can use this as both a filter and an entry condition. This allows for true interoperability when using the Strategy Builder. The above conditions are duplicated for short entries too allowing for symmetrical trading systems. By disabling all of the entry conditions on either long or short areas of the settings will create a strategy that only takes a single type of position. For example; a trader that just wants to take longs can disable all short options.
2. Layered Entries
Layered entries, a feature to enhance the uniqueness in the tool. It allows traders to average into positions as the market moves, rather than committing all capital at once. This feature is particularly useful for volatile markets where prices may fluctuate substantially. The Strategy Builder lets users adjust the number of layered entries, which can help in managing risk and optimizing entry points as well as the aggressiveness of the safety orders. With each safety order placed the system will automatically and dynamically scale into positions reducing the average entry price and hence dynamically adjust the potential take profits. Due to the potential complexities of exiting during multiple orders, a smart system is employed to automatically take profits on the layered system aiming to take profits at peaks of trends.
Users are able to override this smart TP system at the bottom of the settings instead targeting percentage profits for both short and long positions.
Entries lowering average buy price
The ability to adjust how quickly the system layers into positions can also be adjusted via the layered entries drop down between fast and slow mode where the slow mode will be more cautious when producing new orders.
3. Flexible Take Profit (TP) and Stop Loss (SL) Options
Traders can set their TP and SL levels according to various parameters, including ATR (Average True Range), risk-reward ratio, trailing stops, or specific price changes. If layered entries are active, an automatic TP method is applied by default, though traders can manually specify TP values if they prefer. This setup allows for precise control over trade exits, tailored to the strategy’s risk profile.
Provided options
The ability to use external take profits and stop losses is also provided. By loading an indicator of your choice the plots will be added to the chart. By navigating to the external sources area of the settings, users can select this plot and use it as part of a wider trading system.
Example: Let’s say a user has entries based on the inbuilt trend signals and wishes to exit whenever the RSI crosses above 70, they can add RSI to the chart, select crossing up and enter the value of 70.
4. Integrated Reinvestment for Compounding Gains
The reinvestment option allows traders to reinvest a portion of their gains into future trades, increasing trade size over time and benefiting from compounding. For example, a user might set 30% of each trade's profit to reinvest, with the remaining 70% allocated for risk management or additional safety orders. This approach can enhance long-term growth while balancing risk.
Generally in trading it can be a good approach to take profits so we suggest a healthy balance. This setting is generally best used for slow steady strategies with the long term aim of accumulating as much of the asset as possible.
5. Leverage and Position Sizing
Users can configure leverage and position sizing to simulate varying risk levels and capital allocations. A dashboard on the interface displays margin requirements based on the selected leverage, allowing traders to estimate trade sizes relative to their available capital. Whenever using leverage especially with layered entries it’s important to keep a close eye on the position sizes to avoid potential liquidations.
6. Pre-Configured Strategies for Immediate Testing
For users seeking a starting point, ChartPrime includes a range of preset strategies. These were developed and backtested by ChartPrime’s team. This allows traders to start with a stable base and adapt it to their own preferences. It is vital to understand that historical performance doesn't guarantee future success, and traders should be mindful of overfitting. These pre-built configurations offer a structured way and base to design strategies off of. These are also subject to changing results as new price action arrives and they become outdated. They serve the purpose of simply being example use cases.
7. In-Depth Specific Backtesting Ranges
The Strategy Builder includes backtesting capabilities, providing a clear view of how different setups would have performed over specified time periods. Traders can select date ranges to target specific market conditions, then review results on TradingView to see how their strategies perform across different market trends.
Example Use Case: Developing a Strategy
Consider a trader who is focused on long positions only and prefers a lower-risk strategy (note these tools can be used for all assets; we are using an undisclosed asset as an example). Using the Strategy Builder, they could:
- Disable short conditions.
- Set long entry rules to trigger when both the ChartPrime oscillator and Quantum Reactor indicators show bullish signals.
- Enable layered entries to improve average entry prices by adding to positions during market dips.
- Run a backtest over a two-year period to see historical performance trends, making adjustments as needed.
The backtest will show where entries and exits would have occurred and how layered entries may have impacted profitability.
8. Iterative design
Strategy builders and creating a strategy is often an iterative process. By experimenting and using logic; a trader can arrive at a more sustainable system. Analyzing the shortcomings of your strategy and iteratively designing and filtering them out is the goal. For example; let’s say a strategy has high drawdown, a user would want to tighten stop losses for example to reduce this and find a balance point between optimizing winning trades and reducing the drawdown. When designing a strategy there are generally tradeoffs and optimizing taking into consideration a wide range of factors is key. This also applies to filtering techniques, entries and exits and every variable in the strategy.
Let’s say a strategy was taking too many long positions in a downtrend and after you’ve analyzed the data, you come to the conclusion this needs to be solved. Filtering these using built in trend following tools can be a great approach and refining with logic is a great approach.
The Strategy Builder also takes into consideration those who seek to automate especially via reinvesting and leverage features.
Considerations
The ChartPrime Strategy Builder aims to help traders build clear, rule-based strategies without excessive complexity. As with all backtesting tools, it's crucial to understand that historical performance doesn't guarantee future success, and traders should be mindful of overfitting. This tool offers a structured way to test strategies against various market conditions, helping traders refine their approaches with data-driven insights. Traders should also ensure they enter the correct fees when designing strategies and ensure usage on standard candle types.
AZRO Systems XRP Top/Bottom Indicator — Invite-Only (v1.0.3)AZRO Systems – XRP Top/Bottom Indicator — Invite-Only
VERSION v1.0.3 — first invite-only release
──────────────────────────────────────────────────────
WHAT IT DOES
• EARLY signal prints intra-bar when any of the multi-factor recipes is triggered.
• CONFIRMED signal prints after the weekly candle closes.
(If the Soft-Confirm filter is ON, a TOP must first pull back ≈30 % of ATR-90 before it can be confirmed.)
• Adds large green/red labels and a light bar-tint once confirmed.
• Historical testing shows materially lower draw-downs vs. passive holding while still capturing each macro upswing.
HOW IT WORKS (concept level – exact thresholds are locked)
1) Macro-Rotation Gauge – BTC-dominance extremes flag regime shifts that often precede alt-coin pivots.
2) Asset-Share Pivot – XRP market-cap share filters out false RSI spikes.
3) Momentum-Stress Check – Weekly RSI level plus an ATR-based pull-back filter captures exhaustion without waiting for close.
A label prints when any recipe combining these lenses meets its criteria, greatly reducing false signals versus single-factor scripts.
HOW TO USE
1) Chart: XRP-USD · 1-WEEK (lower time-frames unsupported)
2) Watch: Early label → light tint on Confirmed close
3) Alerts:
• Early Bottom / Early Top → ONCE PER BAR
• Confirmed Bottom / Confirmed Top → ONCE PER BAR CLOSE
USER-VISIBLE INPUTS
• Label distance (% ATR-90) – offset for label placement. (Default 50)
• Light-mode palette – swap colours for bright themes. (Default OFF)
• Soft-Confirm filter – ON waits for ≈30 % ATR pull-back on tops; OFF prints faster tops. (Default ON)
• Warning checkbox – visual reminder only; no effect on signals. (Default OFF)
ROAD-MAP
A BTC preset and an intraday scalp mode for XRP/BTC will be added to this same invite-only script — never separate listings.
LIMITATIONS & DISCLAIMER
• Designed only for the weekly timeframe; extreme events can override any model — always manage risk.
• Educational tool — not financial advice. Past performance ≠ future returns.
EMA Trend Strength [Enhanced]This script shows the trend of the ticker. It paints five states: when the previous closing price is above 10EMA, which is greater than the 20 EMA, and the 20 EMA is greater than the 50 SMA - Very Bullish. When the previous closing price is above 10EMA and 10EMA is > 20EMA - Bullish. Vice versa for Very Bearish and Bearish. All other states are labelled "Neutral". The script allows you to adjust the background colours and colour and appearance of the MA lines.
Use at your own risk :). No warranty of any kind is provided or implied.
200 EMA Cross with Optional Second EMA and CooldownThis indicator uses two EMA lengths of your choosing.
1. This indicator is similar to the most recent published indicator.
2. There is also an alert when price crosses the faster EMA. But not the slower EMA.
3. You will receive all alerts as price crosses the main EMA, not the optional EMA.
6. The is also a "Cooldown" period between alerts so we do not see too many alerts at the same time. Set it to your own number of candles. On the 3m chart I have it set on 25.
8. All the alerts have been combined into one alert. The buy and sell alerts.
9. I use this on the 3m chart with a 30m Williams %r and a 3H Williams %r. The 30 minute WPR should be enough.
10. This indicator is not designed to catch the tops or bottoms of a trend. It is designed to catch the continuation moves. This indicator need a trending market. The trend is your friend. Do not just take any signal from the indicator, it is best to sell when the higher timeframes are trending down.
11. Use at your own risk. Do your own due diligence before taking a trade and do not rely entirely on this indicator.
12. I have not tested this indicator for repainting.
13. Have fun with the indicator and leave a message and vote it up if you like it.
EMA Trend Filter Alert + CooldownThis indicator uses two EMA lengths of your choosing.
1. There is an alert when price crosses the long EMA which I put in Flags at the top and bottom.
2. There is also an alert when price crosses the second faster EMA.
3. When price is above the slow EMA then only BUY signals will be shown as price crosses the fast EMA.
4. When price is below the fast EMA then only sell signals will be shown as price crosses below the fast EMA.
5. I included colour changing EMAs for both the fast and slow EMA.
6. The is also a "Cooldown" period between alerts so we do not see too many alerts at the same time. Set it to your own number of candles. On the 3m chart I have it set on 25.
7. This indicator is designed to be a trend following indicator. When the market is trending down then price will be under the slow EMA and then only sell signals will appear on the price cross of the fast EMA. During the turning points in the trend we might not see signals on the fast EMA so I added the alert for the cross of the slow EMA.
8. All the alerts have been combined into one alert. The buy and sell alerts and also the cross of the slow EMA.
9. I use this on the 3m chart with a 30m Williams %r and a 3H Williams %r. The 30 minute should be enough.
10. This indicator is not designed to catch the tops or bottoms of a trend. It is designed to catch the continuation moves. This indicator need a trending market. The trend is your friend.
11. Use at your own risk. Do your own due diligence before taking a trade and do not rely entirely on this indicator.
12. I have not tested this indicator for repainting.
13. Have fun with the indicator and leave a message and vote it up if you like it.
Arnaud Legoux Trend Aggregator | Lyro RSArnaud Legoux Trend Aggregator
Introduction
Arnaud Legoux Trend Aggregator is a custom-built trend analysis tool that blends classic market oscillators with advanced normalization, advanced math functions and Arnaud Legoux smoothing. Unlike conventional indicators, 𝓐𝓛𝓣𝓐 aggregates market momentum, volatility and trend strength.
Signal Insight
The 𝓐𝓛𝓣𝓐 line visually reflects the aggregated directional bias. A rise above the middle line threshold signals bullish strength, while a drop below the middle line indicates bearish momentum.
Another way to interpret the 𝓐𝓛𝓣𝓐 is through overbought and oversold conditions. When the 𝓐𝓛𝓣𝓐 rises above the +0.7 threshold, it suggests an overbought market and signals a strong uptrend. Conversely, a drop below the -0.7 level indicates an oversold condition and a strong downtrend.
When the oscillator hovers near the zero line, especially within the neutral ±0.3 band, it suggests that no single directional force is dominating—common during consolidation phases or pre-breakout compression.
Real-World Example
Usually 𝓐𝓛𝓣𝓐 is used by following the bar color for simple signals; however, like most indicators there are unique ways to use an indicator. Let’s dive deep into such ways.
The market begins with a green bar color, raising awareness for a potential long setup—but not a direct entry. In this methodology, bar coloring serves as an alert mechanism rather than a strict entry trigger.
The first long position was initiated when the 𝓐𝓛𝓣𝓐 signal line crossed above the +0.3 threshold, suggesting a shift in directional acceleration. This entry coincided with a rising price movement, validating the trade.
As price advanced, the position was exited into cash—not reversed into a short—because the short criteria for this use case are distinct. The exit was prompted by 𝓐𝓛𝓣𝓐 crossing back below the +0.3 level, signaling the potential weakening of the long trend.
Later, as 𝓐𝓛𝓣𝓐 crossed below 0, attention shifted toward short opportunities. A short entry was confirmed when 𝓐𝓛𝓣𝓐 dipped below -0.3, indicating growing downside momentum. The position was eventually closed when 𝓐𝓛𝓣𝓐 crossed back above the -0.3 boundary—signaling a possible deceleration of the bearish move.
This logic was consistently applied in subsequent setups, emphasizing the role of 𝓐𝓛𝓣𝓐’s thresholds in guiding both entries and exits.
Framework
The Arnaud Legoux Trend Aggregator (ALTA) combines multiple technical indicators into a single smoothed signal. It uses RSI, MACD, Bollinger Bands, Stochastic Momentum Index, and ATR.
Each indicator's output is normalized to a common scale to eliminate bias and ensure consistency. These normalized values are then transformed using a hyperbolic tangent function (Tanh).
The final score is refined with a custom Arnaud Legoux Moving Average (ALMA) function, which offers responsive smoothing that adapts quickly to price changes. This results in a clear signal that reacts efficiently to shifting market conditions.
⚠️ WARNING ⚠️: THIS INDICATOR, OR ANY OTHER WE (LYRO RS) PUBLISH, IS NOT FINANCIAL OR INVESTMENT ADVICE. EVERY INDICATOR SHOULD BE COMBINED WITH PRICE ACTION, FUNDAMENTALS, OTHER TECHNICAL ANALYSIS TOOLS & PROPER RISK. MANAGEMENT.
Swing Trading Strategy [TIAMATCRYPTO]**Overview:**
This Pine Script™ strategy is designed for swing trading, aiming to identify potential trend reversals or significant continuation points. It primarily uses fractal patterns as initial signals, which are then optionally confirmed and filtered by Liquidity Delta, Point of Control (POC), and an ADX trend strength indicator. The goal is to provide a configurable system that allows traders to tailor the entry conditions based on their preference for confirmation layers.
**How It Works - Core Logic & Indicator Synergy:**
The strategy's logic revolves around identifying high-probability swing points:
1. **Fractal Identification:**
* The base signals are generated by detecting **fractals**. A high fractal (potential swing high) is formed when a high is higher than a specified number (`fractalsCount`) of preceding and succeeding highs. Conversely, a low fractal (potential swing low) is formed when a low is lower than the surrounding lows.
* The `fractalRange` input is not directly used in the fractal detection logic provided in the script but is present as an input. (If it *was* intended for price range validation around fractals, this would need to be implemented).
2. **Liquidity Delta (Optional Confirmation):**
* If `useLiquidityDelta` is enabled, this indicator measures the net difference between buying and selling volume over a defined `ldPeriod`.
* **For Longs:** A positive Liquidity Delta (above `ldThreshold`) suggests stronger buying pressure, confirming a low fractal.
* **For Shorts:** A negative Liquidity Delta (below negative `ldThreshold`) suggests stronger selling pressure, confirming a high fractal.
* **Synergy:** Liquidity Delta helps gauge the conviction behind a fractal signal, filtering out fractals that occur on weak volume imbalances.
3. **Point of Control - POC (Optional Filter):**
* If `usePOC` is enabled, the strategy calculates the Point of Control (POC) – the price level with the highest traded volume over the `pocPeriod`. A `pocRangePercent` is used to define a zone around the POC.
* **For Longs:** The price should be above the `pocLowerRange` to consider a long entry, suggesting the price is finding support or has broken above a key volume area.
* **For Shorts:** The price should be below the `pocUpperRange` to consider a short entry, suggesting the price is facing resistance or has broken below a key volume area.
* **Synergy:** The POC acts as a dynamic support/resistance filter. Trading in alignment with the POC (e.g., buying above it, selling below it after a break) can improve trade quality by contextualizing price action within significant volume zones.
4. **ADX Filter (Optional Trend Strength Confirmation):**
* If `useADX` is enabled, the Average Directional Index (ADX) is used to filter trades based on trend strength.
* Trades are only considered if the `adxValue` is above the `adxThreshold`, indicating a trending market.
* **For Longs:** The Directional Indicator Plus (DI+) must be greater than DI-.
* **For Shorts:** The Directional Indicator Minus (DI-) must be greater than DI+.
* **Synergy:** The ADX filter helps avoid taking fractal signals during choppy or non-trending market conditions, focusing entries on periods where a directional move is more likely.
**Entry Conditions:**
* **Long Entry:**
1. A `lowFractal` is detected.
2. AND (if `useLiquidityDelta` is true) `liquidityDelta` > `ldThreshold`.
3. AND (if `usePOC` is true) `close` > `pocLowerRange`.
4. AND (if `useADX` is true) `adxValue` > `adxThreshold` AND `diPlusValue` > `diMinusValue`.
* **Short Entry:**
1. A `highFractal` is detected.
2. AND (if `useLiquidityDelta` is true) `liquidityDelta` < `-ldThreshold`.
3. AND (if `usePOC` is true) `close` < `pocUpperRange`.
4. AND (if `useADX` is true) `adxValue` > `adxThreshold` AND `diMinusValue` > `diPlusValue`.
**Exit Conditions:**
* **Stop Loss:** If `useStopLoss` is enabled, a percentage-based (`stopLossPercent`) stop loss is placed from the entry price.
* **Take Profit:** If `useTakeProfit` is enabled, a percentage-based (`takeProfitPercent`) take profit target is set from the entry price.
**Key Features & Customization:**
* **Backtest Date Range:** Specify start and end dates for backtesting.
* **Timeframe Selection:** Can run on the chart's timeframe or a user-specified one.
* **Fractal Settings:** `fractalsCount` (number of bars left/right to define a fractal).
* **Indicator Toggles:** Enable or disable Liquidity Delta, POC, and ADX filters individually.
* **Indicator Parameters:**
* `ldPeriod`, `ldThreshold` for Liquidity Delta.
* `pocPeriod`, `pocRangePercent` for Point of Control.
* `adxPeriod`, `adxThreshold` for ADX.
* **Risk Management:** Configurable `stopLossPercent` and `takeProfitPercent`.
**Strategy Properties & Backtesting Considerations (Important for Compliance):**
* **Default Properties (as per script `strategy()` call):**
* `Initial Capital`: 10,000
* `Default Quantity Type`: `strategy.percent_of_equity`
* `Default Quantity Value`: 10% (This means each trade risks 10% of equity if the stop loss is hit immediately at 100% of the position size, which is a common interpretation without more complex position sizing. **This is at the higher end of the 5-10% risk typically considered viable. Users should consider adjusting `default_qty_value` to a lower percentage (e.g., 1-2%) and then using the `stopLossPercent` to define the actual risk per trade to align with sustainable risk management practices.**)
* `Pyramiding`: 0 (No pyramiding allowed).
* **Commission and Slippage: CRITICAL FOR REALISTIC RESULTS**
* The script's `strategy()` call **does not** define default commission and slippage.
* **Users MUST manually set realistic `Commission` (e.g., 0.05% - 0.1% per trade) and `Slippage` (e.g., 1-2 ticks depending on the instrument and timeframe) in the strategy's "Properties" tab in TradingView.**
* Failing to set these will lead to overly optimistic backtest results that do not reflect real-world trading costs.
* **Sufficient Trades:** For the backtesting results to be statistically significant, aim for a dataset and settings that generate ideally more than 100 trades.
* **Date Range:** Utilize the `Backtest Start Date` and `Backtest End Date` inputs to test over relevant market periods.
* **Caution Warnings:** Do not publish if the strategy issues a caution warning in the Strategy Tester (e.g., "Strategy has an excessive number of entries...").
**Chart Visualization:**
* **Fractals:** High fractals are plotted as red triangles above the highs, and low fractals as green triangles below the lows.
* **Point of Control (POC):**
* The POC level is drawn as a solid purple line.
* The `pocUpperRange` and `pocLowerRange` are drawn as dashed purple lines.
* These lines are drawn for the most recent `pocPeriod` and update on the last bar.
* **Indicator Labels (on last bar):**
* If ADX is enabled: `ADX`, `DI+`, `DI-` values are labeled.
* If Liquidity Delta is enabled: The `LD` (normalized liquidity delta) value is labeled.
* **Performance Table:** A table in the bottom-right corner displays the `Net Profit` and `Win Rate (%)` of the strategy based on the backtest.
**Originality and Usefulness Justification:**
This strategy combines established concepts (Fractals, POC, ADX, Volume Analysis via Liquidity Delta) into a cohesive swing trading framework. The originality lies in:
1. The specific **combination and synergistic use** of these indicators, where each acts as a potential filter or confirmation for the others.
2. The **customizable nature**, allowing users to enable/disable layers of confirmation (Liquidity Delta, POC, ADX) to match their risk appetite and analysis style.
3. The Liquidity Delta calculation, while based on volume, provides a specific measure of buying vs. selling pressure to directly confirm fractal signals.
The purpose is not merely to merge indicators, but to create a structured decision-making process for swing trading, where fractal signals are qualified by volume dynamics, key volume-based price levels, and overall trend strength. This multi-faceted approach aims to improve the robustness of trading signals compared to using any single indicator in isolation.
**Disclaimer:**
This strategy is provided for educational and informational purposes only. Trading financial markets involves substantial risk of loss and is not suitable for all investors. Past performance is not indicative of future results. Always conduct your own thorough research and backtesting, and consider your risk tolerance before making any trading decisions. Ensure you understand how commission and slippage impact results.
---
**Key things addressed based on your warnings:**
* **Open-source reuse:** Assuming your code is original or properly credited if not. My description assumes originality.
* **Chart:** Explained what is plotted and why. The user publishing should ensure a clean chart.
* **Strategy results:**
* Emphasized the need to set realistic commission and slippage.
* Mentioned default account size and order size (and cautioned about the 10% risk).
* Advised on aiming for a sufficient number of trades.
* Explained default properties.
* Warned against publishing with caution warnings.
* **Originality and usefulness:** Provided a specific section justifying the combination of indicators and how they work together.
* **Description (general):** Made it detailed, explaining what the script does, how, and how to use its settings.
Remember to publish your script with a clean chart that clearly shows its outputs, and ensure your strategy settings in the publication match those you're describing or are using for any showcased backtest results.
Gann Swing PointsIndicator Logic
This is a GANN-style swing indicator that classifies bars based on their high/low structure relative to the previous bar.
I strongly encourage you to replay bars on Tradingview using this indicator to get a sense of how it creates pivot (or swing) points
Bar Classification:
Up-Bar (direction: 'up'): Higher High and Higher Low (HH/HL)
Down-Bar (direction: 'down'): Lower High and Lower Low (LH/LL)
Outside-Bar (generates 2 directions):
Green: 'down' then 'up'
Red: 'up' then 'down'
Inside-Bar: No direction generated (HL/LH)
Swing Line Logic
The swing line continues in the current direction until n opposite directions are detected.
n is the "n-direction" parameter (commonly set to 2, so 2 consecutive opposite direction is needed to turn the swing)
When n opposing directions occur, the swing turns, creating a pivot point
Inside bar is ignored, so e.g up-bar -> inside-bar -> up-bar generates "up", "up" direction
A top pivot is formed when the swing turns down
A bottom pivot is formed when it turns up
Note: This swing logic is inherently lagging — it only confirms tops/bottoms after the fact
This swing structure gives the system a clear and noise-resistant way to identify pivot points (swing-points)
TCT - Envelope MatrixTCT - Envelope Matrix
A powerful multi-envelope indicator that creates a comprehensive price channel system with 4 customizable envelopes and multiple intermediate levels for precise price action analysis.
Key Features:
• 4 customizable envelopes with adjustable percentages (0.2%, 0.4%, 0.6%, 0.8% by default)
• Optional EMA or SMA basis calculation
• Color-coded bands for easy visual identification
• Automatic horizontal lines showing current band values
• Midpoint lines between adjacent bands
• Additional 25%, 50%, and 75% levels between each band pair
The indicator provides:
- Clear visual representation of price channels
- Multiple support and resistance levels
- Dynamic price boundaries that adapt to market conditions
- Enhanced precision with intermediate levels between bands
Perfect for:
• Identifying potential support and resistance zones
• Spotting overbought/oversold conditions
• Finding potential reversal points
• Analyzing price volatility and channel width
• Making informed trading decisions based on price position relative to multiple bands
Customization Options:
• Adjustable length for the basis calculation
• Choice between EMA and SMA
• Customizable colors for each envelope
• Flexible percentage settings for each band
• Optional basis line color adjustment
This indicator is particularly useful for traders who want to analyze price action within multiple dynamic channels and identify potential trading opportunities based on price interactions with various support and resistance levels.
Enhanced Stock Ticker with 50MA vs 200MADescription
The Enhanced Stock Ticker with 50MA vs 200MA is a versatile Pine Script indicator designed to visualize the relative position of a stock's price within its short-term and long-term price ranges, providing actionable bullish and bearish signals. By calculating normalized indices based on user-defined lookback periods (defaulting to 50 and 200 bars), this indicator helps traders identify potential reversals or trend continuations. It offers the flexibility to plot signals either on the main price chart or in a separate lower pane, leveraging Pine Script v6's force_overlay functionality for seamless integration. The indicator also includes a customizable ticker table, visual fills, and alert conditions for automated trading setups.
Key Features
Dual Lookback Indices: Computes short-term (default: 50 bars) and long-term (default: 200 bars) indices, normalizing the closing price relative to the high/low range over the specified periods.
Flexible Signal Plotting: Users can toggle between plotting crossover signals (triangles) on the main price chart (location.abovebar/belowbar) or in the lower pane (location.top/bottom) using the Plot Signals on Main Chart option.
Crossover Signals: Generates bullish (Golden Cross) and bearish (Death Cross) signals when the short or long index crosses above 5 or below 95, respectively.
Visual Enhancements:
Plots short-term (blue) and long-term (white) indices in a separate pane with customizable lookback periods.
Includes horizontal reference lines at 0, 20, 50, 80, and 100, with green and red fills to highlight overbought/oversold zones.
Dynamic fill between indices (green when short > long, red when long > short) for quick trend visualization.
Displays a ticker and legend table in the top-right corner, showing the symbol and lookback periods.
Alert Conditions: Supports alerts for bullish and bearish crossovers on both short and long indices, enabling integration with TradingView's alert system.
Technical Innovation: Utilizes Pine Script v6's force_overlay parameter to plot signals on the main chart from a non-overlay indicator, combining the benefits of a separate pane and chart-based signals in a single script.
Technical Details
Calculation Logic:
Uses confirmed bars (barstate.isconfirmed) to calculate indices, ensuring reliability by avoiding real-time bar fluctuations.
Short-term index: (close - lowest(low, lookback_short)) / (highest(high, lookback_short) - lowest(low, lookback_short)) * 100
Long-term index: (close - lowest(low, lookback_long)) / (highest(high, lookback_long) - lowest(low, lookback_long)) * 100
Signals are triggered using ta.crossover() and ta.crossunder() for indices crossing 5 (bullish) and 95 (bearish).
Signal Plotting:
Main chart signals use force_overlay=true with location.abovebar/belowbar for precise alignment with price bars.
Lower pane signals use location.top/bottom for visibility within the indicator pane.
Plotting is controlled by boolean conditions (e.g., bullishLong and plot_on_chart) to ensure compliance with Pine Script's global scope requirements.
Performance Considerations: Optimized for efficiency by calculating indices only on confirmed bars and using lightweight plotting functions.
How to Use
Add to Chart:
Copy the script into TradingView's Pine Editor and add it to your chart.
Configure Settings:
Short Lookback Period: Adjust the short-term lookback (default: 50 bars) to match your trading style (e.g., 20 for shorter-term analysis).
Long Lookback Period: Adjust the long-term lookback (default: 200 bars) for broader market context.
Plot Signals on Main Chart: Check this box to display signals on the price chart; uncheck to show signals in the lower pane.
Interpret Signals:
Golden Cross (Bullish): Green (long) or blue (short) triangles indicate the index crossing above 5, suggesting a potential buying opportunity.
Death Cross (Bearish): Red (long) or white (short) triangles indicate the index crossing below 95, signaling a potential selling opportunity.
Set Alerts:
Use TradingView's alert system to create notifications for the four alert conditions: Long Index Valley, Long Index Peak, Short Index Valley, and Short Index Peak.
Customize Visuals:
The ticker table displays the symbol and lookback periods in the top-right corner.
Adjust colors and styles via TradingView's settings if desired.
Example Use Cases
Swing Trading: Use the short-term index (e.g., 50 bars) to identify short-term reversals within a broader trend defined by the long-term index.
Trend Confirmation: Monitor the fill between indices to confirm whether the short-term trend aligns with the long-term trend.
Automated Trading: Leverage alert conditions to integrate with bots or manual trading strategies.
Notes
Testing: Always backtest the indicator on your chosen market and timeframe to validate its effectiveness.
Optional Histogram: The script includes a commented-out histogram for the index difference (index_short - index_long). Uncomment the plot(index_diff, ...) line to enable it.
Compatibility: Built for Pine Script v6 and tested on TradingView as of May 27, 2025.
Acknowledgments
This indicator was inspired by the need for a flexible tool that combines lower-pane analysis with main chart signals, made possible by Pine Script's force_overlay feature. Share your feedback or suggestions in the comments below, and happy trading!
MomentumMap🔍 MomentumMap™ – Map the Market’s Strength Like a Pro
MomentumMap™ is a quadrant-based relative strength tool that helps you instantly understand where any stock stands vs. its benchmark in terms of performance and momentum.
Inspired by the RRG (Relative Rotation Graph) model, this indicator uses:
RS Ratio → To compare relative strength
RS Momentum → To track acceleration/deceleration
Each stock is placed into one of four dynamic zones:
🟢 Power Zone – Strong and leading (high RS, high momentum)
🔵 Lift Zone – Building strength (low RS, rising momentum)
🟡 Drift Zone – Cooling or pausing (high RS, falling momentum)
🔴 Dead Zone – Weak and lagging (low RS, falling momentum)
This helps you:
🚀 Spot leaders early and ride strong trends
🧠 Exit before strength fades
📊 Study sector/stock rotations
🔄 Time entries and exits with confidence
Works on any timeframe and asset class. Just set your benchmark and go!
💥 Trade with clarity. Let MomentumMap™ guide your next move.
Weighted Regression Bands (Zeiierman)█ Overview
Weighted Regression Bands is a precision-engineered trend and volatility tool designed to adapt to the real market structure instead of reacting to price noise.
This indicator analyzes Weighted High/Low medians and applies user-selectable smoothing methods — including Kalman Filtering, ALMA, and custom Linear Regression — to generate a Fair Value line. Around this, it constructs dynamic standard deviation bands that adapt in real-time to market volatility.
The result is a visually clean and structurally intelligent trend framework suitable for breakout traders, mean reversion strategies, and trend-driven analysis.
█ How It Works
⚪ Structural High/Low Analysis
At the heart of this indicator is a custom high/low weighting system. Instead of using just the raw high or low values, it calculates a midline = (high + low) / 2, then applies one of three weighting methods to determine which price zones matter most.
Users can select the method using the “Weighted HL Method” setting:
Simple
Selects the single most dominant median (highest or lowest) in the lookback window. Ideal for fast, reactive signals.
Advanced
Ranks each bar based on a composite score: median × range × recency. This method highlights structurally meaningful bars that had both volatility and recency. A built-in Kalman filter is applied for extra stability.
Smooth
Blends multiple bars into a single weighted average using smoothed decay and range. This provides the softest and most stable structural response.
⚪ Smoothing Methods (ALMA / Linear Regression)
ALMA provides responsive, low-lag smoothing for fast trend reading.
Linear Regression projects the Fair Value forward, ideal for trend modeling.
⚪ Kalman Smoothing Filter
Before trend calculations, the indicator applies an optional Kalman-style smoothing filter. This helps:
Reduce choppy false shifts in trend,
Retain signal clarity during volatile periods,
Provide stability for long-term setups.
⚪ Deviation Bands (Dynamic Volatility Envelopes)
The indicator builds ±1, ±2, and ±3 standard deviation bands around the fair value line:
Calculated from the standard deviation of price,
Bands expand and contract based on recent volatility,
Visualizes potential overbought/oversold or trending conditions.
█ How to Use
⚪ Trend Trading & Filtering
Use the Fair Value line to identify the dominant direction.
Only trade in the direction of the slope for higher probability setups.
⚪ Volatility-Based Entries
Watch for price reaching outer bands (+2σ, +3σ) for possible exhaustion.
Mean reversion entries become higher quality when far from Fair Value.
█ Settings
Length – Lookback for Weighted HL and trend smoothing
Deviation Multiplier – Controls how wide the bands are from the fair value line
Method – Choose between ALMA or Linear Regression smoothing
Smoothing – Strength of Kalman Filter (1 = none, <1 = stronger smoothing)
-----------------
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.
MMTools - Catcher❖ Overview
Catcher is a professional trading indicator designed to provide insightful, high-quality purchasing signals to traders, algorithmic traders, and investors. The indicator employs trend-following, momentum, and volatility-based techniques, all integrated into the author's unique and sophisticated strategic framework. This approach ensures that only the highest-performing signals are selected and presented. Unlike the majority of indicators, Catcher seeks to deliver signals against local price movements. Furthermore, the indicator is engineered to adapt to changing market conditions, ensuring its sustained value and relevance.
❖ How The Indicator Works
The objective of Catcher is to detect market movements and signal emerging trends to follow — before the trend loses momentum. Following this phase, the indicator remains inactive during periods of consolidation and low buying interest, resuming only upon detecting indications of a new market movement.
The system is built on a custom market-following algorithm that dynamically adjusts its internal components by analyzing the prevailing trend direction, strength, and volatility. This allows the indicator to identify optimal entry points in changing market conditions. By continuously adapting, Catcher can filter out false signals more effectively than traditional fixed-logic strategies.
❖ Settings
The indicator has simple settings. It allows the addition of signals from up to three other timeframes, with each additional signal increasing in size to facilitate differentiation. However, the selected timeframes must be equal to or higher than the chart’s current timeframe.
⚙️ Exit Signals:
Crosses marked as “+” on the chart represent favorable exit points determined by timeout logic.
Both entries and exits are fully non-repainting, meaning they will not change their locations or disappear once displayed on the chart. Note that they appear at the opening of the bar.
❖ Application
The indicator demonstrates strong performance in trending markets. However, it is advisable to avoid trading during highly volatile, choppy markets. As illustrated in the images below, signals generated in stable, trending environments tend to yield more favorable outcomes compared to those produced in turbulent conditions.
-- Example of Catcher operating during trending market --
-- Example of Catcher operating in a choppy market --
⚡️ It is not necessary to wait for bar closures, as the signals do not repaint once displayed.
Catcher can be used independently or to complement your existing techniques, for instance, by confirming your ideas or identifying precise entry points. The more reliable technical tools you incorporate, the stronger your analysis can become. Here is an example of how Catcher integrates with classical technical analysis:
-- Example of Catcher operating with additional influencing factors --
❖ Conclusion
We believe that dedicated traders can achieve outstanding results by using our tools with commitment and a professional approach. We hope that Catcher offers you a fresh and valuable perspective on trading.
❖ Access
Please refer to the Author's Instructions field to request access to the script.
-----------------------------------------------------------
Disclaimer
The information provided by my scripts is for informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Always do your own research before making financial decisions.
Volume Flow OscillatorVolume Flow Oscillator
Overview
The Volume Flow Oscillator is an advanced technical analysis tool that measures buying and selling pressure by combining price direction with volume. Unlike traditional volume indicators, this oscillator reveals the force behind price movements, helping traders identify strong trends, potential reversals, and divergences between price and volume.
Reading the Indicator
The oscillator displays seven colored bands that fluctuate around a zero line:
Three bands above zero (yellow) indicate increasing levels of buying pressure
Three bands below zero (red) indicate increasing levels of selling pressure
The central band represents the baseline volume flow
Color intensity changes based on whether values are positive or negative
Trading Signals
The Volume Flow Oscillator provides several valuable trading signals:
Zero-line crossovers: When multiple bands cross from negative to positive, potential bullish shift; opposite for bearish
Divergences: When price makes new highs/lows but oscillator bands fail to confirm, signals potential reversal
Volume climax: Extreme readings where outer bands stretch far from zero often precede reversals
Trend confirmation: Strong expansion of bands in direction of price movement confirms genuine momentum
Support/resistance: During trends, bands may remain largely on one side of zero, showing continued directional pressure
Customization
Adjust these key parameters to optimize the oscillator for your trading style:
Lookback Length: Controls overall sensitivity (shorter = more responsive, longer = smoother)
Multipliers: Adjust sensitivity spread between bands for different market conditions
ALMA Settings: Fine-tune how the indicator weights recent versus historical data
VWMA Toggle: Enable for additional smoothing in volatile markets
Best Practices
For optimal results, use this oscillator in conjunction with price action and other confirmation indicators. The multi-band approach helps distinguish between minor fluctuations and significant volume events that might signal important market turns.
Bitcoin Power LawThis is the main body version of the script. The Oscillator version can be found here.
Understanding the Bitcoin Power Law Model
Also called the Long-Term Bitcoin Power Law Model. The Bitcoin Power Law model tries to capture and predict Bitcoin's price growth over time. It assumes that Bitcoin's price follows an exponential growth pattern, where the price increases over time according to a mathematical relationship.
By fitting a power law to historical data, the model creates a trend line that represents this growth. It then generates additional parallel lines (support and resistance lines) to show potential price boundaries, helping to visualize where Bitcoin’s price could move within certain ranges.
In simple terms, the model helps us understand Bitcoin's general growth trajectory and provides a framework to visualize how its price could behave over the long term.
The Bitcoin Power Law has the following function:
Power Law = 10^(a + b * log10(d))
Consisting of the following parameters:
a: Power Law Intercept (default: -17.668).
b: Power Law Slope (default: 5.926).
d: Number of days since a reference point(calculated by counting bars from the reference point with an offset).
Explanation of the a and b parameters:
Roughly explained, the optimal values for the a and b parameters are determined through a process of linear regression on a log-log scale (after applying a logarithmic transformation to both the x and y axes). On this log-log scale, the power law relationship becomes linear, making it possible to apply linear regression. The best fit for the regression is then evaluated using metrics like the R-squared value, residual error analysis, and visual inspection. This process can be quite complex and is beyond the scope of this post.
Applying vertical shifts to generate the other lines:
Once the initial power-law is created, additional lines are generated by applying a vertical shift. This shift is achieved by adding a specific number of days (or years in case of this script) to the d-parameter. This creates new lines perfectly parallel to the initial power law with an added vertical shift, maintaining the same slope and intercept.
In the case of this script, shifts are made by adding +365 days, +2 * 365 days, +3 * 365 days, +4 * 365 days, and +5 * 365 days, effectively introducing one to five years of shifts. This results in a total of six Power Law lines, as outlined below (From lowest to highest):
Base Power Law Line (no shift)
1-year shifted line
2-year shifted line
3-year shifted line
4-year shifted line
5-year shifted line
The six power law lines:
Bitcoin Power Law Oscillator
This publication also includes the oscillator version of the Bitcoin Power Law. This version applies a logarithmic transformation to the price, Base Power Law Line, and 5-year shifted line using the formula: log10(x) .
The log-transformed price is then normalized using min-max normalization relative to the log-transformed Base Power Law Line and 5-year shifted line with the formula:
normalized price = log(close) - log(Base Power Law Line) / log(5-year shifted line) - log(Base Power Law Line)
Finally, the normalized price was multiplied by 5 to map its value between 0 and 5, aligning with the shifted lines.
Interpretation of the Bitcoin Power Law Model:
The shifted Power Law lines provide a framework for predicting Bitcoin's future price movements based on historical trends. These lines are created by applying a vertical shift to the initial Power Law line, with each shifted line representing a future time frame (e.g., 1 year, 2 years, 3 years, etc.).
By analyzing these shifted lines, users can make predictions about minimum price levels at specific future dates. For example, the 5-year shifted line will act as the main support level for Bitcoin’s price in 5 years, meaning that Bitcoin’s price should not fall below this line, ensuring that Bitcoin will be valued at least at this level by that time. Similarly, the 2-year shifted line will serve as the support line for Bitcoin's price in 2 years, establishing that the price should not drop below this line within that time frame.
On the other hand, the 5-year shifted line also functions as an absolute resistance , meaning Bitcoin's price will not exceed this line prior to the 5-year mark. This provides a prediction that Bitcoin cannot reach certain price levels before a specific date. For example, the price of Bitcoin is unlikely to reach $100,000 before 2021, and it will not exceed this price before the 5-year shifted line becomes relevant. After 2028, however, the price is predicted to never fall below $100,000, thanks to the support established by the shifted lines.
In essence, the shifted Power Law lines offer a way to predict both the minimum price levels that Bitcoin will hit by certain dates and the earliest dates by which certain price points will be reached. These lines help frame Bitcoin's potential future price range, offering insight into long-term price behavior and providing a guide for investors and analysts. Lets examine some examples:
Example 1:
In Example 1 it can be seen that point A on the 5-year shifted line acts as major resistance . Also it can be seen that 5 years later this price level now corresponds to the Base Power Law Line and acts as a major support at point B (Note: Vertical yearly grid lines have been added for this purpose👍).
Example 2:
In Example 2, the price level at point C on the 3-year shifted line becomes a major support three years later at point D, now aligning with the Base Power Law Line.
Finally, let's explore some future price predictions, as this script provides projections on the weekly timeframe :
Example 3:
In Example 3, the Bitcoin Power Law indicates that Bitcoin's price cannot surpass approximately $808K before 2030 as can be seen at point E, while also ensuring it will be at least $224K by then (point F).
Trend Table ZeeZeeMonMulti-Timeframe Trend Indicator
Overview
This indicator identifies trends across multiple higher timeframes and displays them in a widget on the right side of the chart. It serves as an alternative trend-filtering tool, helping traders align with the dominant market direction. Unlike traditional moving average-based trend detection (e.g., price above/below a 200 MA), this indicator assesses whether higher timeframes are genuinely trending by analyzing swing highs and lows.
Trend Definition
Uptrend: Higher highs and higher lows.
Downtrend: Lower highs and lower lows.
A trend reversal occurs when a prior high/low is breached (e.g., in a downtrend, breaking the last high signals an uptrend).
Customization Options
Lookback Period: Adjusts the sensitivity for identifying swing highs/lows (pivot points). A shorter lookback detects more frequent pivots.
Historical Pivot Visibility: Toggle to display past swing highs/lows for verification.
Support/Resistance Lines: Show dynamic levels from recent pivots on higher timeframes. Breaching these lines indicates potential trend changes.
Purpose
Helps traders:
Confirm higher timeframe trends before entering trades.
Monitor proximity to trend reversals.
Fine-tune pivot sensitivity for optimal trend detection.
Note: Works best as a supplementary trend filter alongside other trading strategies.
ATR Volatility giua64ATR Volatility giua64 – Smart Signal + VIX Filter
📘 Script Explanation (in English)
Title: ATR Volatility giua64 – Smart Signal + VIX Filter
This script analyzes market volatility using the Average True Range (ATR) and compares it to its moving average to determine whether volatility is HIGH, MEDIUM, or LOW.
It includes:
✅ Custom or preset configurations for different asset classes (Forex, Indices, Gold, etc.).
✅ An optional external volatility index input (like the VIX) to refine directional bias.
✅ A directional signal (LONG, SHORT, FLAT) based on ATR strength, direction, and external volatility conditions.
✅ A clean visual table showing key values such as ATR, ATR average, ATR %, VIX level, current range, extended range, and final signal.
This tool is ideal for traders looking to:
Monitor the intensity of price movements
Filter trading strategies based on volatility conditions
Identify momentum acceleration or exhaustion
⚙️ Settings Guide
Here’s a breakdown of the user inputs:
🔹 ATR Settings
Setting Description
ATR Length Number of periods for ATR calculation (default: 14)
ATR Smoothing Type of moving average used (RMA, SMA, EMA, WMA)
ATR Average Length Period for the ATR moving average baseline
🔹 Asset Class Preset
Choose between:
Manual – Define your own point multiplier and thresholds
Forex (Pips) – Auto-set for FX markets (high precision)
Indices (0.1 Points) – For index instruments like DAX or S&P
Gold (USD) – Preset suitable for XAU/USD
If Manual is selected, configure:
Setting Description
Points Multiplier Multiplies raw price ranges into useful units (e.g., 10 for Gold)
Low Volatility Threshold Threshold to define "LOW" volatility
High Volatility Threshold Threshold to define "HIGH" volatility
🔹 Extended Range and VIX
Setting Description
Timeframe for Extended High/Low Used to compare larger price ranges (e.g., Daily or Weekly)
External Volatility Index (VIX) Symbol for a volatility index like "VIX" or "EUVI"
Low VIX Threshold Below this level, VIX is considered "low" (default: 20)
High VIX Threshold Above this level, VIX is considered "high" (default: 30)
🔹 Table Display
Setting Description
Table Position Where the visual table appears on the chart (e.g., bottom_center, top_left)
Show ATR Line on Chart Whether to display the ATR line directly on the chart
✅ Signal Logic Summary
The script determines the final signal based on:
ATR being above or below its average
ATR rising or falling
ATR percentage being significant (>2%)
VIX being high or low
Conditions Signal
ATR rising + high volatility + low VIX LONG
ATR falling + high volatility + high VIX SHORT
ATR flat or low volatility or low %ATR FLAT
Multi-Timeframe Continuity Custom Candle ConfirmationMulti-Timeframe Continuity Custom Candle Confirmation
Overview
The Timeframe Continuity Indicator is a versatile tool designed to help traders identify alignment between their current chart’s candlestick direction and higher timeframes of their choice. By coloring bars on the current chart (e.g., 1-minute) based on the directional alignment with selected higher timeframes (e.g., 10-minute, daily), this indicator provides a visual cue for confirming trends across multiple timeframes—a concept known as Timeframe Continuity. This approach is particularly useful for day traders, swing traders, and scalpers looking to ensure their trades align with broader market trends, reducing the risk of trading against the prevailing momentum.
Originality and Usefulness
This indicator is an original creation, built from scratch to address a common challenge in trading: ensuring that price action on a lower timeframe aligns with the trend on higher timeframes. Unlike many trend-following indicators that rely on moving averages, oscillators, or other lagging metrics, this script directly compares the bullish or bearish direction of candlesticks across timeframes. It introduces the following unique features:
Customizable Timeframes: Users can select from a range of higher timeframes (5m, 10m, 15m, 30m, 1h, 2h, 4h, 1d, 1w, 1M) to check for alignment, making it adaptable to various trading styles.
Neutral Candle Handling: The script accounts for neutral candles (where close == open) on the current timeframe by allowing them to inherit the direction of the higher timeframe, ensuring continuity in trend visualization.
Table: A table displays the direction of each selected timeframe and the current timeframe, helping identify direction in the event you don't want to color bars.
Toggles for Flexibility: Options to disable bar coloring and the debug table allow users to customize the indicator’s visual output for cleaner charts or focused analysis.
This indicator is not a mashup of existing scripts but a purpose-built tool to visualize timeframe alignment directly through candlestick direction, offering traders a straightforward way to confirm trend consistency.
What It Does
The Timeframe Continuity Indicator colors bars on your chart when the direction of the current timeframe’s candlestick (bullish, bearish, or neutral) aligns with the direction of the selected higher timeframes:
Lime: The current bar (e.g., 1m) is bullish or neutral, and all selected higher timeframes (e.g., 10m) are bullish.
Pink: The current bar is bearish or neutral, and all selected higher timeframes are bearish.
Default Color: If the directions don’t align (e.g., 1m bar is bearish but 10m is bullish), the bar remains the default chart color.
The indicator also includes a debug table (toggleable) that shows the direction of each selected timeframe and the current timeframe, helping traders diagnose alignment issues.
How It Works
The script uses the following methodology:
1. Direction Calculation: For each timeframe (current and selected higher timeframes), the script determines the candlestick’s direction:
Bullish (1): close > open / Bearish (-1): close < open / Neutral (0): close == open
Higher timeframe directions are fetched using Pine Script’s request.security function, ensuring accurate data retrieval.
2. Alignment Check: The script checks if all selected higher timeframes are uniformly bullish (full_bullish) or bearish (full_bearish).
o A higher timeframe must have a clear direction (bullish or bearish) to trigger coloring. If any selected timeframe is neutral, alignment fails, and no coloring occurs.
3. Coloring Logic: The current bar is colored only if its direction aligns with the higher timeframes:
Lime if the higher timeframes are bullish and the current bar is bullish or neutral.
Maroon if the higher timeframes are bearish and the current bar is bearish or neutral.
If the current bar’s direction opposes the higher timeframe (e.g., 1m bearish, 10m bullish), the bar remains uncolored.
Users can disable bar coloring entirely via the settings, leaving bars in their default chart color.
4. Direction Table:
A table in the top-right corner (toggleable) displays the direction of each selected timeframe and the current timeframe, using color-coded labels (green for bullish, red for bearish, gray for neutral).
This feature helps traders understand why a bar is or isn’t colored, making the indicator accessible to users unfamiliar with Pine Script.
How to Use
1. Add the Indicator: Add the "Timeframe Continuity Indicator" to your chart in TradingView (e.g., a 1m chart of SPY).
2. Configure Settings:
Timeframe Selection: Check the boxes for the higher timeframes you want to compare against (default: 10m). Options include 5m, 10m, 15m, 30m, 1h, 2h, 4h, 1D, 1W, and 1M. Select multiple timeframes if you want to ensure alignment across all of them (e.g., 10m and 1d).
Enable Bar Coloring: Default: true (bars are colored lime or maroon when aligned). Set to false to disable coloring and keep the default chart colors.
Show Table: Default: true (table is displayed in the top-right corner). Set to false to hide the table for a cleaner chart.
3. Interpret the Output:
Colored Bars: Lime bars indicate the current bar (e.g., 1m) is bullish or neutral, and all selected higher timeframes are bullish. Maroon bars indicate the current bar is bearish or neutral, and all selected higher timeframes are bearish. Uncolored bars (default chart color) indicate a mismatch (e.g., 1m bar is bearish while 10m is bullish) or no coloring if disabled.
Direction Table: Check the table to see the direction of each selected timeframe and the current timeframe.
4. Example Use Case:
On a 1m chart of SPY, select the 10m timeframe.
If the 10m timeframe is bearish, 1m bars that are bearish or neutral will color maroon, confirming you’re trading with the higher timeframe’s trend.
If a 1m bar is bullish while the 10m is bearish, it remains uncolored, signaling a potential misalignment to avoid trading.
Underlying Concepts
The indicator is based on the concept of Timeframe Continuity, a strategy used by traders to ensure that price action on a lower timeframe aligns with the trend on higher timeframes. This reduces the risk of entering trades against the broader market direction. The script directly compares candlestick directions (bullish, bearish, or neutral) rather than relying on lagging indicators like moving averages or RSI, providing a real-time, price-action-based confirmation of trend alignment. The handling of neutral candles ensures that minor indecision on the lower timeframe doesn’t interrupt the visualization of the higher timeframe’s trend.
Why This Indicator?
Simplicity: Directly compares candlestick directions, avoiding complex calculations or lagging indicators.
Flexibility: Customizable timeframes and toggles cater to various trading strategies.
Transparency: The debug table makes the indicator’s logic accessible to all users, not just those who can read Pine Script.
Practicality: Helps traders confirm trend alignment, a key factor in successful trading across timeframes.
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
Volumetric Entropy IndexVolumetric Entropy Index (VEI)
A volume-based drift analyzer that captures directional pressure, trend agreement, and entropy structure using smoothed volume flows.
---
🧠 What It Does:
• Volume Drift EMAs : Shows buy/sell pressure momentum with adaptive smoothing.
• Dynamic Bands : Bollinger-style volatility wrappers react to expanding/contracting drift.
• Baseline Envelope : Clean structural white rails for mean-reversion zones or trend momentum.
• Background Shading : Highlights when both sides (up & down drift) are in agreement — green for bullish, red for bearish.
• Alerts Included : Drift alignment, crossover events, net drift shifts, and strength spikes.
---
🔍 What Makes It Different:
• Most volume indicators rely on bars, oscillators, or OBV-style accumulation — this doesn’t.
• It compares directional EMAs of raw volume to isolate real-time bias and acceleration.
• It visualizes the twisting tension between volume forces — not just price reaction.
• Designed to show when volatility is building inside the volume mechanics before price follows.
• Modular — every element is optional, so you can run it lean or fully loaded.
---
📊 How to Use It:
• Drift EMAs : Watch for one side consistently dominating — sharp spikes often precede breakouts.
• Bands : When they tighten and start expanding, it often signals directional momentum forming.
• Envelope Lines : Use as high-probability reversal or continuation zones. Bands crossing envelopes = potential thrust.
• Background Color : Green/red backgrounds confirm volume agreement. Can be used as a filter for other signals.
• Net Drift : Optional smoothed oscillator showing the difference between bullish and bearish volume pressure. Crosses above or below zero signal directional bias shifts.
• Drift Strength : Measures pressure buildup — spikes often correlate with large moves.
---
⚙️ Full Customization:
• Turn every layer on/off independently
• Modify all colors, transparencies, and line widths
• Adjust band width multiplier and envelope offset (%)
• Toggle bonus plots like drift strength and net baseline
---
🧪 Experimental Tools:
• Smoothed Net Drift trace
• Drift Strength signal
• Envelope lines and dynamic entropy bands with adjustable math
---
Built for signal refinement. Made to expose directional imbalance before the herd sees it.
Created by @Sherlock_Macgyver