HTF Candle + OHLC Line Extensions📈 Script Title:
HTF Candle + OHLC Line Extensions
✨ Capabilities Overview:
This Pine Script plots a dynamic Higher Timeframe (HTF) candle on your current (lower) chart.
It visually highlights:
• A solid "candle body" based on the highest close and lowest close within the selected HTF range.
• An optional wick representing the absolute high and low of that HTF period.
• Extended lines projecting the HTF Open, High, Low, and Close levels onto the current chart.
• Labels displaying the exact OHLC prices next to their respective lines.
• A central label naming the selected HTF.
This makes it easy to track HTF structure, key levels, and trends without switching chart timeframes.
________________________________________
⚙️ Inputs Explained and How to Set Them:
Input Name Description Recommended Settings
Higher Timeframe (htf_label) The timeframe to build the candle from (e.g., 4H, 1D, etc.). Choose a timeframe higher than your chart's timeframe (e.g., use 4H if on a 30min chart).
Offset to Right (bars) (offset_bars) Number of bars to shift the HTF candle to the right of current price action. Default 2 is good; increase if you want more spacing.
Show Wicks? (show_wicks) Toggles drawing of the wick (high-low range). Leave on for a more complete candle look. Turn off for cleaner appearance.
OHLC Line Color (line_color) Color of the Open, High, Low, Close extension lines. Pick a color that stands out on your chart (e.g., yellow).
OHLC Line Thickness (line_thickness) Thickness of the OHLC lines. Default 2 is visible but subtle. Increase for stronger emphasis.
OHLC Line Style (line_style) Solid, dotted, or dashed style for the OHLC lines. - Solid for strong levels
- Dotted for secondary importance
Candle Bullish Color (candle_up_color) Fill color for bullish HTF candles. Use a green shade.
Candle Bearish Color (candle_down_color) Fill color for bearish HTF candles. Use a red shade.
Bullish Wick Color (bullish_wick_color) Color of the wick for bullish candles. Match or slightly lighten the bullish candle color.
Bearish Wick Color (bearish_wick_color) Color of the wick for bearish candles. Match or slightly lighten the bearish candle color.
Bullish Border (bullish_candle_border) Color for the border of bullish candles. Usually match the candle body or make slightly darker.
Bearish Border (bearish_candle_border) Color for the border of bearish candles. Same principle as bullish borders.
Label Text Color (label_text_color) Text color for OHLC labels. White for dark charts; Black for light charts.
Label Background Color (label_bg_color) Background color for labels (for readability). Usually opposite of your chart background (e.g., black background on light charts).
________________________________________
📋 Detailed Script Behavior:
1. Timeframe Handling:
• Converts the user’s selection (htf_label) into minutes.
• Calculates how many chart bars make up the selected HTF period.
• Dynamically adapts even if the market is closed (no reliance on session endings).
2. HTF OHLC Calculation:
• Open: First bar’s open within HTF window.
• High/Low: Highest high and lowest low within HTF window.
• Close: Most recent bar’s close.
• High Close / Low Close: Highest and lowest closes for the candle body.
3. Plotting:
• Candle Body: Draws a box between highest close and lowest close.
• Wick: (Optional) Line connecting absolute High and Low.
• OHLC Lines: Drawn from where the price was observed to the HTF candle.
• Labels: Show precise O/H/L/C prices and the timeframe name.
________________________________________
📢 Important Usage Tips:
• Best Practice: Always select an HTF that’s higher than your current chart (for clarity).
For example:
o Chart: 15 min → HTF: 1H, 4H
o Chart: 1H → HTF: 4H, 1D
• Offset: If your chart is crowded, increase "Offset to Right" to move the candle visualization farther out.
• Customization: Adjust colors and line styles to match your chart theme for better visibility.
• Performance: Drawing many elements every bar is lightweight here, but on very high-frequency charts (like 1-min), it can cause slight lag.
________________________________________
🧠 Summary
This script is a powerful visual aid for traders who:
• Want to see HTF structure without changing charts.
• Like to track key HTF levels (especially Open, High, Low, Close).
• Prefer a minimal, customizable display that's easy to align with their chart styles.
Trend Analysis
Ultimate-Price Action + EMASMarket Structure With volumetric OrderBlocks and Swing Order Blocks. It Identifies Fair Value Gaps and has a customizable EMA Ribbon with 12, 20,50,200 high lighted a perfect all in one indicator for a free version of tradingview. Enjoy
Market Volatility KeyMarket Volatility Key is a compact dashboard tool designed to help traders quickly assess market conditions related to volatility, trend strength, and asset movement.
This indicator consolidates several key metrics into a color-coded table, providing traders with a real-time overview of the market’s volatility landscape. It is intended to complement existing trading strategies, particularly for trend-following and scalping approaches.
Key Features:
Choppiness Index (CHOP): Measures whether the market is trending or consolidating.
Average True Range (ATR): Customizable by timeframe, helping gauge volatility across different periods.
Volatility Index (VIX): Displays real-time VIX readings, often used as a "fear gauge" for market sentiment.
10-Year US Treasury Bond Yield (10Y): Shows current bond yield to monitor macroeconomic conditions.
Bitcoin (BTC/USD): Tracks price along with directional movement.
Dollar Index (DXY): Displays the strength of the US dollar.
MAG 7 Index: A custom average of Microsoft, Apple, Alphabet, Amazon, Tesla, Meta, and NVIDIA prices.
Visual Enhancements (April 2025 Update):
Directional Arrows: BTC, DXY, MAG7, VIX, and 10Y Bond rows now show ▲ (up), ▼ (down), or → (sideways) based on price movement.
Dynamic Value Colors:
Green for rising prices (BTC, DXY, MAG7, 10Y Bond)
Red for falling prices
For VIX, rising volatility is shown in red and falling volatility in green to better reflect market sentiment.
Customization Options:
Adjustable ATR timeframe
Adjustable table position (top, middle, or bottom right)
Selectable font size (small, medium, large)
Intended Use: This script provides a high-level visual summary of multiple market indicators in one place. It is designed to assist traders in recognizing potential changes in volatility and market sentiment without replacing other forms of technical or fundamental analysis.
Relative StrengthRelative-Strength with custom parameters.
Relative-Strength with custom parameters.
Relative-Strength with custom parameters.
Relative-Strength with custom parameters.
Relative-Strength with custom parameters.
Relative-Strength with custom parameters.
Relative-Strength with custom parameters.
Relative-Strength with custom parameters.
Relative-Strength with custom parameters.
Relative-Strength with custom parameters.
Accurate Global M2 (Top10 GDP, FX-Stabilized)This script was created to solve the serious distortions found in other circulating "Global M2" indicators.
Many previous versions used noisy daily FX rates, unweighted country data, mixed liquidity categories (e.g., RRP, TGA), or aggregated low-quality sources, causing exaggerated or misleading charts.
This version fixes those problems by:
Using Top 10 global economies only (based on GDP).
GDP-weighting each country's M2 contribution.
Fetching monthly-averaged M2 data.
Applying monthly FX conversions to eliminate daily volatility noise.
Forward-shifting the M2 line (default 90 days) to study potential Bitcoin correlations.
Keeping the math clean, without mixing central bank liquidity tools with broad M2 aggregates.
As a result, this script provides a more realistic and stable representation of global M2 expansion in USD terms, more suitable for serious macroeconomic analysis and Bitcoin market correlation studies.
GZ Indicator✍️ Description:
GZ Indicator is an advanced indicator that automatically detects Golden Zones, optimal market entry zones based on the latest significant pivots. The system uses Fibonacci extensions to project precise price targets, while providing a dynamic, visual stop-loss.
Main features:
- Pivot Detection: Automatic identification of significant pivots (high/low).
- Optimal Entry Zones (OTE): Automatically calculates ideal entry zones based on Fibonacci retracements.
- Precise Targets: Displays price targets with Fibonacci extensions.
- Dynamic Stop-Loss: Visual stop-loss zone adjusted to market conditions.
- RSI and MACD display: Add an RSI and MACD chart to facilitate trend analysis and confirm your entries.
- Intelligent refresh: Automatic deletion of the active zone as soon as the stop-loss is reached.
🔥 Key features:
Automatic detection of significant pivots (highs and lows)
Dynamic calculation of the OTE (Optimal Trade Entry) zone on retracements 0.618 - 0. 705
Clear display of price targets based on extensions
Intelligent updating: old zones are retained for historical analysis
Automatic deletion of current zone if Stop-Loss is reached
Contextual RSI and MACD chart for improved trend analysis
Code optimized for minimum recalculations, fluid even on fast time units.
⚡ How to use it:
Spot the appearance of a Golden Zone.
Enter a position in the zone with RSI/MACD or price action confirmation.
Use the targets displayed to set your progressive Take-Profits.
Respect the Stop-Loss zone automatically drawn.
🛠️ Available parameters:
Activate/deactivate RSI/MACD chart
Choose number of pivots for detection
Display old targets
[⚠️ Disclaimer:
This indicator is a decision-making tool. It is not intended to be used as financial advice. Please always perform your own analysis and manage your risks properly.
🔥 Bon trading ! 🚀
Trendinator## How to Use Trendy: A Trader's Guide
Hey there, fellow trader! Let's talk about how to actually use this Trendy indicator in your day-to-day trading. I've been working with this tool, and I want to share some practical insights that you won't find in the technical documentation.
### Getting Started
First things first, don't get overwhelmed by all the settings. Start simple:
1. **Add it to your chart** - Load up the indicator and just observe how the baseline moves with price for a few days before making any trading decisions.
2. **Watch the color changes** - Green/lime (or whatever you choose) means uptrend, red means downtrend. Simple as that!
3. **Look for crossovers** - When price crosses above the line, it's often a buy signal. When it crosses below, consider it a potential sell.
### Fixed vs. Adaptive Mode: Which One's Better?
Here's the thing about these two modes - they're both useful in different situations.
**Fixed Mode** is straightforward and reliable. It uses the length you specify, and that's it. I like to use Fixed Mode when:
- The market is clearly trending
- I want consistent signals without surprises
- I'm doing comparisons across multiple charts or timeframes
**Adaptive Mode** It automatically adjusts the length based on what the market is actually doing right now. This mode shines when:
- Markets are changing their behavior
- You're trading assets with variable volatility
- You want the indicator to "learn" the current market rhythm
### The Dual Approach (My Secret Suggestion)
Want to know what really works for me? I put BOTH on my chart. Seriously, try this:
1. Add Trendy in Fixed Mode (I usually use the "Medium" settings from the table)
2. Add a second Trendy in Adaptive Mode
3. When both lines agree on direction - that's a strong signal!
4. When they diverge - be cautious, the market might be changing character
When both lines cross price at the same time, that's often where the magic happens. Those are the high-probability entries you're looking for.
### Real Talk About Timeframes
Let me break down how this indicator feels on different timeframes:
**5-Minute Charts** - It's twitchy! Use "Slow" settings unless you're scalping. The Fixed mode actually works better here because the adaptive can get confused by noise.
**15-Minute Charts** - My personal favorite for day trading. The "Medium" settings strike a nice balance. The Adaptive mode starts becoming really valuable here.
**Hourly Charts** - This is where Trendy really shines. The indicator has enough data to work with but still responds quickly to changes. I lean more toward the "Fast" or "Medium" settings here.
**4-Hour & Daily** - Perfect for swing trading. Use "Medium" or "Slow" settings, and definitely take advantage of the Adaptive mode - it picks up those larger market cycles beautifully.
### Comparing Fixed vs. Adaptive Performance
Here's a comparison I've put together based on my own trading experience:
| Market Condition | Fixed Mode Performance | Adaptive Mode Performance | Best Choice |
|------------------|------------------------|---------------------------|-------------|
| Strong Trend | Excellent ⭐⭐⭐⭐⭐ | Very Good ⭐⭐⭐⭐ | Fixed |
| Choppy Market | Poor ⭐⭐ | Good ⭐⭐⭐⭐ | Adaptive |
| Breakouts | Good ⭐⭐⭐⭐ | Excellent ⭐⭐⭐⭐⭐ | Adaptive |
| Range-Bound | Poor ⭐⭐ | Good ⭐⭐⭐ | Adaptive |
| High Volatility | Very Good ⭐⭐⭐⭐ | Excellent ⭐⭐⭐⭐⭐ | Adaptive |
| Low Volatility | Good ⭐⭐⭐ | Good ⭐⭐⭐ | Either |
| Trend Reversals | Poor ⭐⭐ | Very Good ⭐⭐⭐⭐ | Adaptive |
### Pro Tips From the Trenches
1. **Start with the 1-Hour chart** - If you're new to Trendy, the hourly timeframe gives you the best balance between signal quality and trading frequency.
2. **Color-code your indicators** - If you're using both Fixed and Adaptive, give them different colors so you can tell them apart at a glance. I use lime/red for Fixed and blue/orange for Adaptive.
3. **Don't fight the line** - If price is below the line, think twice about going long, even if other indicators say otherwise. This baseline is surprisingly powerful as a dynamic support/resistance level.
4. **Watch for flattening** - When the line starts to flatten after a strong trend, that's often a sign that momentum is waning. Consider taking profits.
5. **Use the crossover, confirm with a retest** - The most reliable setup is when price crosses the line, pulls back to "test" it, and then continues in the new direction.
6. **Adjust for different assets** - Cryptocurrencies and tech stocks often need "Faster" settings, while forex and blue chips do better with "Medium" or "Slow" settings.
7. **Combine with volume** - Trendy doesn't look at volume, so adding a volume indicator can really complete the picture. Strong moves with high volume that push through the baseline are often the most reliable.
Remember, no indicator is perfect - but Trendy is one of the most versatile tools I've used. Give yourself some time to get familiar with how it behaves on your favorite trading instruments, and you'll develop an almost intuitive feel for it.
Happy trading!# Trendy - Technical Documentation
__________________________________________________________________________
## Overview
The Trendy indicator represents a significant advancement in technical analysis, combining Mark Jurik's proprietary JMA (Jurik Moving Average) algorithm with adaptive volatility measurement and autocorrelation-based cycle detection. This sophisticated indicator provides traders with a responsive, low-lag baseline that adapts to changing market conditions in real-time.
Unlike traditional moving averages that suffer from lag and noise issues, Trendy dynamically adjusts its parameters to optimize smoothness and responsiveness based on the current market environment. The baseline serves as a clear reference point for trend direction, potential support/resistance levels, and market regime identification.
## Technical Foundation
### Jurik Moving Average (JMA)
The core of this indicator is the JMA algorithm, developed by Mark Jurik as a superior alternative to traditional moving averages. The JMA reduces lag while minimizing noise, making it a valuable asset for traders. It employs:
- **Advanced smoothing algorithms**: Eliminates market noise without introducing significant lag
- **Phase correction**: Adjusts the leading/lagging behavior of the moving average
- **Adaptive parameters**: Automatically tunes to current market conditions
The JMA delivers a smooth line with very little delay compared to traditional moving averages like SMA or EMA, providing clearer signals for effective market analysis.
### Volatility-Adaptive Power
What makes this implementation unique is the integration of volatility measurements to dynamically adjust the JMA's behavior:
- **ATR-Normalized Volatility**: Uses Average True Range measurements that are normalized to provide a reliable volatility metric
- **Dynamic Power Factor**: Adjusts the JMA's power parameter based on current volatility
- **Adaptive Smoothing**: Increases smoothing during noisy, ranging markets and increases responsiveness during trending conditions
This volatility adaptation enables the indicator to adapt to market conditions in real-time, providing traders with a more accurate and timely tool for assessing trends.
### Autocorrelation Periodogram Algorithm (APA)
In "Autocorrelation Adaptive" mode, the indicator employs John Ehlers' Autocorrelation Periodogram Algorithm to detect the dominant market cycle:
- Uses digital signal processing techniques to determine the length of market cycles
- Calculates correlation coefficients between the current price and lagged versions of itself
- Identifies the dominant cycle period in the current market conditions
- Dynamically adjusts the indicator's length parameter based on detected cycles
This adaptive approach attempts to reveal dominant cycles in market data and measure their amplitude, allowing the indicator to automatically tune itself to the current market rhythm.
## Practical Applications
### 1. Trend Identification
The baseline provides clear trend signals through its color and direction:
- **Green/Lime Baseline**: Indicates uptrend with bullish momentum
- **Red Baseline**: Indicates downtrend with bearish momentum
### 2. Dynamic Support and Resistance
The baseline often serves as a dynamic support/resistance level:
- During uptrends, price tends to find support at the baseline
- During downtrends, the baseline frequently acts as resistance
- Stronger reactions often occur when price approaches the baseline in the direction of the larger trend
### 3. Market Regime Detection
The slope and characteristics of the baseline help identify market conditions:
- **Steep slope**: Strong trending market
- **Moderate slope**: Normal trending conditions
- **Flat baseline**: Consolidation or range-bound market
- **Oscillating baseline**: Choppy, indecisive market
### 4. Entry and Exit Points
Price interactions with the baseline can provide potential trading signals:
- **Price crossing above baseline**: Potential buy signal
- **Price crossing below baseline**: Potential sell signal
- **Failed tests of the baseline**: Potential continuation signals
- **Multiple crosses in short period**: Warning of choppy conditions
### 5. Volatility Assessment
The behavior of the baseline relative to price action provides insights about volatility:
- **Price hugging the baseline**: Low volatility, strong trend
- **Price making wide swings around baseline**: Higher volatility
- **Price making higher highs while baseline flattens**: Possible trend exhaustion
## Recommended Settings by Timeframe
The table below provides optimized settings for different timeframes and trading styles:
| Timeframe | Trading Style | Length | Phase | Min Length | Max Length | Avg Length |
|-----------|--------------|--------|-------|------------|------------|------------|
| 5 Minute | Fast | 14 | 0 | 6 | 24 | 2 |
| 5 Minute | Medium | 21 | 0 | 8 | 32 | 3 |
| 5 Minute | Slow | 30 | 0 | 12 | 48 | 3 |
| 15 Minute | Fast | 10 | 0 | 5 | 20 | 2 |
| 15 Minute | Medium | 18 | 0 | 7 | 28 | 3 |
| 15 Minute | Slow | 27 | 0 | 10 | 40 | 3 |
| 30 Minute | Fast | 8 | 0 | 4 | 16 | 2 |
| 30 Minute | Medium | 14 | 0 | 6 | 24 | 3 |
| 30 Minute | Slow | 21 | 0 | 8 | 32 | 3 |
| 1 Hour | Fast | 7 | 0 | 3 | 14 | 2 |
| 1 Hour | Medium | 12 | 0 | 5 | 20 | 2 |
| 1 Hour | Slow | 18 | 0 | 7 | 28 | 3 |
| 4 Hour | Fast | 5 | 0 | 3 | 10 | 1 |
| 4 Hour | Medium | 8 | 0 | 4 | 16 | 2 |
| 4 Hour | Slow | 14 | 0 | 6 | 24 | 2 |
*Notes:*
- **Fast**: More responsive to price changes, better for scalping and short-term trading
- **Medium**: Balanced approach suitable for swing trading
- **Slow**: More smoothed, better for position trading and longer-term trend following
- When using "Autocorrelation Adaptive" mode, the Min/Max/Avg Length parameters control the adaptive algorithm's behavior
## Advanced Trading Strategies
### 1. Multi-Timeframe Confirmation
For stronger signals, compare the Trendy baseline across multiple timeframes:
- Align trades with the direction of higher timeframe baselines
- Look for confluences where multiple timeframes show the same signal
- Use lower timeframes for precise entry while following higher timeframe trends
### 2. Volatility-Based Position Sizing
Adjust position sizes based on the relationship between price and the baseline:
- Larger positions when price is moving strongly in the direction of the baseline
- Smaller positions during consolidation periods or when the baseline is flat
- Consider reducing exposure when price makes multiple crosses of the baseline in a short period
### 3. Trend Strength Assessment
The baseline's behavior provides insights about trend strength:
- Strong trends show a consistent baseline direction with minimal flattening
- Weakening trends often show a flattening baseline before price reversal
- Baseline slope changes can provide early warning of potential trend shifts
### 4. Combining with Other Indicators
The Trendy works well when combined with complementary indicators:
- Momentum oscillators to confirm overbought/oversold conditions
- Volume indicators to validate price movements
- Volatility indicators to adjust strategy parameters dynamically
## Technical Implementation
The Trendy is built on several sophisticated algorithms:
1. **JMA Algorithm**: Provides the core smoothing functionality with adaptive parameters
2. **Volatility Measurement**: Uses ATR-based calculations normalized to current price levels
3. **Autocorrelation Periodogram**: Implements spectral analysis techniques to identify dominant market cycles
4. **Dynamic Parameter Adjustment**: Automatically tunes the indicator based on current market conditions
The implementation uses optimized calculations to ensure accuracy while maintaining computational efficiency, making it suitable for real-time trading environments.
## Conclusion
The Trendy represents a significant advancement in technical analysis tools, providing traders with a sophisticated yet practical indicator for market analysis. By combining the low-lag properties of the Jurik Moving Average with adaptive volatility measurement and cycle detection, it offers a responsive and reliable baseline for identifying trends, market regimes, and potential trading opportunities.
The indicator's ability to automatically adapt to changing market conditions makes it valuable across different timeframes and market environments, providing consistent performance where traditional moving averages often fail. Whether used as a standalone tool or as part of a comprehensive trading system, the Trendy delivers professional-grade technical analysis capabilities for modern traders.
# Adaptive Jurik Baseline (AJB) - Technical Documentation
## Overview
The Adaptive Jurik Baseline (AJB) indicator represents a significant advancement in technical analysis, combining Mark Jurik's proprietary JMA (Jurik Moving Average) algorithm with adaptive volatility measurement and autocorrelation-based cycle detection. This sophisticated indicator provides traders with a responsive, low-lag baseline that adapts to changing market conditions in real-time.
Unlike traditional moving averages that suffer from lag and noise issues, AJB dynamically adjusts its parameters to optimize smoothness and responsiveness based on the current market environment. The baseline serves as a clear reference point for trend direction, potential support/resistance levels, and market regime identification.
## Technical Foundation
### Jurik Moving Average (JMA)
The core of this indicator is the JMA algorithm, developed by Mark Jurik as a superior alternative to traditional moving averages. The JMA reduces lag while minimizing noise, making it a valuable asset for traders. It employs:
- **Advanced smoothing algorithms**: Eliminates market noise without introducing significant lag
- **Phase correction**: Adjusts the leading/lagging behavior of the moving average
- **Adaptive parameters**: Automatically tunes to current market conditions
The JMA delivers a smooth line with very little delay compared to traditional moving averages like SMA or EMA, providing clearer signals for effective market analysis.
### Volatility-Adaptive Power
What makes this implementation unique is the integration of volatility measurements to dynamically adjust the JMA's behavior:
- **ATR-Normalized Volatility**: Uses Average True Range measurements that are normalized to provide a reliable volatility metric
- **Dynamic Power Factor**: Adjusts the JMA's power parameter based on current volatility
- **Adaptive Smoothing**: Increases smoothing during noisy, ranging markets and increases responsiveness during trending conditions
This volatility adaptation enables the indicator to adapt to market conditions in real-time, providing traders with a more accurate and timely tool for assessing trends.
### Autocorrelation Periodogram Algorithm (APA)
In "Autocorrelation Adaptive" mode, the indicator employs John Ehlers' Autocorrelation Periodogram Algorithm to detect the dominant market cycle:
- Uses digital signal processing techniques to determine the length of market cycles
- Calculates correlation coefficients between the current price and lagged versions of itself
- Identifies the dominant cycle period in the current market conditions
- Dynamically adjusts the indicator's length parameter based on detected cycles
This adaptive approach attempts to reveal dominant cycles in market data and measure their amplitude, allowing the indicator to automatically tune itself to the current market rhythm.
## Practical Applications
### 1. Trend Identification
The baseline provides clear trend signals through its color and direction:
- **Green/Lime Baseline**: Indicates uptrend with bullish momentum
- **Red Baseline**: Indicates downtrend with bearish momentum
### 2. Dynamic Support and Resistance
The baseline often serves as a dynamic support/resistance level:
- During uptrends, price tends to find support at the baseline
- During downtrends, the baseline frequently acts as resistance
- Stronger reactions often occur when price approaches the baseline in the direction of the larger trend
### 3. Market Regime Detection
The slope and characteristics of the baseline help identify market conditions:
- **Steep slope**: Strong trending market
- **Moderate slope**: Normal trending conditions
- **Flat baseline**: Consolidation or range-bound market
- **Oscillating baseline**: Choppy, indecisive market
### 4. Entry and Exit Points
Price interactions with the baseline can provide potential trading signals:
- **Price crossing above baseline**: Potential buy signal
- **Price crossing below baseline**: Potential sell signal
- **Failed tests of the baseline**: Potential continuation signals
- **Multiple crosses in short period**: Warning of choppy conditions
### 5. Volatility Assessment
The behavior of the baseline relative to price action provides insights about volatility:
- **Price hugging the baseline**: Low volatility, strong trend
- **Price making wide swings around baseline**: Higher volatility
- **Price making higher highs while baseline flattens**: Possible trend exhaustion
## Recommended Settings by Timeframe
The table below provides optimized settings for different timeframes and trading styles:
| Timeframe | Trading Style | Length | Phase | Min Length | Max Length | Avg Length |
|-----------|--------------|--------|-------|------------|------------|------------|
| 5 Minute | Fast | 14 | 0 | 6 | 24 | 2 |
| 5 Minute | Medium | 21 | 0 | 8 | 32 | 3 |
| 5 Minute | Slow | 30 | 0 | 12 | 48 | 3 |
| 15 Minute | Fast | 10 | 0 | 5 | 20 | 2 |
| 15 Minute | Medium | 18 | 0 | 7 | 28 | 3 |
| 15 Minute | Slow | 27 | 0 | 10 | 40 | 3 |
| 30 Minute | Fast | 8 | 0 | 4 | 16 | 2 |
| 30 Minute | Medium | 14 | 0 | 6 | 24 | 3 |
| 30 Minute | Slow | 21 | 0 | 8 | 32 | 3 |
| 1 Hour | Fast | 7 | 0 | 3 | 14 | 2 |
| 1 Hour | Medium | 12 | 0 | 5 | 20 | 2 |
| 1 Hour | Slow | 18 | 0 | 7 | 28 | 3 |
| 4 Hour | Fast | 5 | 0 | 3 | 10 | 1 |
| 4 Hour | Medium | 8 | 0 | 4 | 16 | 2 |
| 4 Hour | Slow | 14 | 0 | 6 | 24 | 2 |
*Notes:*
- **Fast**: More responsive to price changes, better for scalping and short-term trading
- **Medium**: Balanced approach suitable for swing trading
- **Slow**: More smoothed, better for position trading and longer-term trend following
- When using "Autocorrelation Adaptive" mode, the Min/Max/Avg Length parameters control the adaptive algorithm's behavior
## Advanced Trading Strategies
### 1. Multi-Timeframe Confirmation
For stronger signals, compare the AJB baseline across multiple timeframes:
- Align trades with the direction of higher timeframe baselines
- Look for confluences where multiple timeframes show the same signal
- Use lower timeframes for precise entry while following higher timeframe trends
### 2. Volatility-Based Position Sizing
Adjust position sizes based on the relationship between price and the baseline:
- Larger positions when price is moving strongly in the direction of the baseline
- Smaller positions during consolidation periods or when the baseline is flat
- Consider reducing exposure when price makes multiple crosses of the baseline in a short period
### 3. Trend Strength Assessment
The baseline's behavior provides insights about trend strength:
- Strong trends show a consistent baseline direction with minimal flattening
- Weakening trends often show a flattening baseline before price reversal
- Baseline slope changes can provide early warning of potential trend shifts
### 4. Combining with Other Indicators
The AJB works well when combined with complementary indicators:
- Momentum oscillators to confirm overbought/oversold conditions
- Volume indicators to validate price movements
- Volatility indicators to adjust strategy parameters dynamically
## Technical Implementation
The Adaptive Jurik Baseline is built on several sophisticated algorithms:
1. **JMA Algorithm**: Provides the core smoothing functionality with adaptive parameters
2. **Volatility Measurement**: Uses ATR-based calculations normalized to current price levels
3. **Autocorrelation Periodogram**: Implements spectral analysis techniques to identify dominant market cycles
4. **Dynamic Parameter Adjustment**: Automatically tunes the indicator based on current market conditions
The implementation uses optimized calculations to ensure accuracy while maintaining computational efficiency, making it suitable for real-time trading environments.
## Conclusion
The Adaptive Jurik Baseline represents a significant advancement in technical analysis tools, providing traders with a sophisticated yet practical indicator for market analysis. By combining the low-lag properties of the Jurik Moving Average with adaptive volatility measurement and cycle detection, it offers a responsive and reliable baseline for identifying trends, market regimes, and potential trading opportunities.
The indicator's ability to automatically adapt to changing market conditions makes it valuable across different timeframes and market environments, providing consistent performance where traditional moving averages often fail. Whether used as a standalone tool or as part of a comprehensive trading system, the Adaptive Jurik Baseline delivers professional-grade technical analysis capabilities for modern traders.
CM RSI-Stoch Hybrid D&K%CM RSI-Stoch Hybrid D&K% Indicator
Elevate your trading strategy with the CM RSI-Stoch Hybrid D&K% Indicator, a powerful and versatile tool designed for Trading View. This innovative indicator seamlessly blends the strengths of the Relative Strength Index (RSI) and Stochastic oscillator to deliver a unique composite signal that captures market momentum and trend dynamics with precision. Ideal for traders of all levels, it offers customizable settings and visually intuitive outputs to enhance decision-making across various markets and timeframes.
Key Features:
Hybrid Composite Signal: Combines RSI and Stochastic (%K and %D) into a single, smoothed indicator for a balanced view of market conditions, reducing noise and highlighting key trends.
Dynamic Volume Integration: Adjusts the composite signal’s appearance based on volume surges, helping traders identify high-conviction moves.
Customizable Moving Average: Choose from SMA, EMA, or WMA to overlay on the composite signal, providing additional trend confirmation tailored to your trading style.
Overbought/Oversold Zones: Clearly defined, user-adjustable levels with visual background cues to spot potential reversals or continuation patterns.
Multi-Indicator Visualization: Displays RSI, Stochastic %K, %D, and the composite signal in a single, easy-to-read panel, keeping your charts uncluttered.
Flexible Parameters: Fine-tune RSI length, Stochastic smoothing, volume MA, and overbought/oversold thresholds to suit your preferred trading approach.
Why Choose CM RSI-Stoch Hybrid D&K%?
This indicator is perfect for traders seeking a reliable, all-in-one momentum and trend tool. Whether you're scalping, swing trading, or analysing long-term trends, the CM RSI-Stoch Hybrid D&K% provides actionable insights without overwhelming complexity. Its dynamic volume-based colouring and customizable moving average make it adaptable to volatile or trending markets, while the clear overbought/oversold signals help you time entries and exits with confidence.
Unlock the power of precision trading with the CM RSI-Stoch Hybrid D&K% Indicator—your edge in navigating the markets effectively.
Swing Trading NR4/NR7 + 2BarNR/3BarNR + Inside Day + TrendSwing Trading Version: The Ultimate Momentum Setup
The Swing Trading Version of this strategy is tailored for traders looking to capture multi-day price movements in high-momentum stocks. It’s a carefully crafted approach combining classic patterns like NR4, NR7, and Inside Day with powerful trend filters to find the best opportunities for significant gains.
Price Compression: Identifies stocks in periods of consolidation using the NR4 and NR7 patterns, along with 2-Bar and 3-Bar Narrow Ranges—key indicators of potential volatility and breakout.
Trend Confirmation: The strategy ensures trades align with the broader trend by confirming that price is above the 20 EMA and that the 10 EMA is above the 20 EMA. This guarantees that you’re trading in the direction of strength.
Inside Day Filter: The Inside Day pattern is only triggered when the candlestick is within 1 ATR from the 10 EMA (or 20 EMA if below), ensuring you're not chasing a trade too far from a support level.
Clean, Powerful Signals: With a clear focus on momentum and price compression, you'll only get actionable signals backed by multiple layers of confirmation, including volatility and price structure.
This setup is perfect for traders seeking to ride out trends and capture sizeable moves, with an emphasis on simplicity and precision. Ideal for those who prefer to hold trades for multiple days while still maintaining control over their entries and exits.
Trading All-in-One 2Overview
Trading All-in-One 2 provides traders with multi-timeframe market bias, institutional order-block levels, supply & demand zones, and resistance-becomes-support (and vice-versa) detection—all fully customizable via a tabbed settings panel.
Key Features
1. Multi-Timeframe Table
Flexible Layout: Switch between horizontal (8×2) or vertical (2×8) table orientation.
Timeframes Covered: 1 m, 5 m, 15 m, 30 m, 1 h, 4 h, Daily.
Signal Display: “Bull” vs. “Bear” bias per timeframe, colored green/red.
Customization:
Text size (tiny/small/normal)
Table position (top_left/top_right/bottom_left/bottom_right)
Transparency level and compact mode for minimal footprint
2. Order Block Detection
Bullish & Bearish Order Blocks: Identifies reversal candles after liquidity sweeps and price gaps.
Historical Context: Plots past order-block occurrences up to a user-definable lookback (default 10 bars).
Labels: “OB BULL” and “OB BEAR” with customizable color, size, and style.
3. Supply & Demand Zones
High-Volume Rejection Zones: Detects clusters where aggressive institutional activity occurred.
Configurable Lookback: Scan the last N bars (default 30) for new zones.
Zone Visualization: Semi-transparent boxes extended forward; adjustable bar extension and opacity.
On-Chart Labels: “Supply”/“Demand” tags for each zone entry.
4. Resistance → Support (and Support → Resistance)
Swing-Level Flip Detection:
Resistance-turns-support after breakout & retest
Support-turns-resistance after breakdown & retest
Confirmation Filters:
Minimum number of touches (Zone Confirmation)
Price tolerance (%) to define valid flips
Zone Drawing: Lines and boxes with independent color, opacity, and extension options.
Labels: “R→S” / “S→R” plotted at flip bar.
Input & Customization Summary
Tab Inputs
Multi-TF Show/Hide table, table size, position, transparency, orientation, compact mode
Order Block Enable bullish/bearish, lookback period, label size, block colors
Supply Demand Enable supply/demand, lookback period, box extension, zone colors & opacity
R→S Lookback period, confirmation count, tolerance %, label size, support/resistance colors, extensions
Global Maximum bars/lines/boxes/labels & dynamic_requests for efficient multi-symbol loading
Why You’ll Love It
All-in-One: No need to load multiple scripts—everything you need lives under one roof.
Performance-Oriented: Efficient request.security usage and bar-limit settings to avoid repainting.
Highly Customizable: Tweak every visual element and detection parameter to fit your strategy.
Beginner-Friendly: Tabbed interface groups settings logically so you can get started in seconds.
Real Relative Strength vs SPY (Clean Visual)This indicator plots Real Relative Strength/Weakness (RS/RW) of any stock relative to SPY, normalised by ATR. Designed to aid trading aligned to RDT philosophy.
Designed for intraday and swing traders to quickly identify stocks showing true institutional strength or weakness compared to the market.
Uses a clean, color-coded center-line display for fast reading of live RS/RW performance.
It automatically syncs to whatever timeframe you’re trading (5min, 15min, 1hr)
Default comparison ticker is SPY (you can easily swap if needed later)
Length = 12 by default → (rolling 1-hour window on M5 chart)
Clean green/red visual breakout = immediately obvious relative strength or weakness!
How to use
Strong Green move above zero ➔ RS developing ➔ Long bias
Strong Red move below zero ➔ RW developing ➔ Short bias
Choppy around zero ➔ No clear edge ➔ maybe avoid that stock
Heikin Ashi Reversal Alert (5+ Bears)This is a reverseal strategy to hunt for buyer using heikin ashi with alarms and buy signals
Momentum Wave Oscillator📈 Momentum Wave Oscillator (MWO) 📈
The Momentum Wave Oscillator (MWO) is a precision-designed tool for traders who want early, reliable insight into market shifts — before they fully appear on price charts.
Instead of reacting late to moves, MWO is engineered to anticipate changes in momentum by tracking market pressure within a dynamic range.
Its built-in bands and visual cues make it simple to spot key moments where momentum exhaustion, reversals, or fresh breakouts are most likely to occur.
How to Use:
Buy Zones: When the oscillator moves up from lower regions (typically below 20), it may indicate momentum building to the upside.
Sell Zones: When the oscillator moves down from upper regions (typically above 80), it may suggest momentum starting to weaken.
Dynamic Bands:
Unlike conventional fixed levels like 20 and 80, MWO features dynamic adaptive bands that better reflect real-time changes in market behavior.
Markets are fluid — volatility and momentum strength vary from cycle to cycle. Static zones can miss important shifts or produce false signals.
The dynamic bands allow the indicator to adapt naturally to changing conditions, offering more precise context for overbought, oversold, or breakout environments.
Background Colors and Labels:
Automatic highlights appear when potential turning points are detected, allowing traders to act quickly without chart clutter.
Best Practices:
Use the MWO as a confirmation tool alongside your existing strategy (trendlines, support/resistance, volume spikes, etc.).
Look for agreement between the MWO and price action for higher probability entries.
Avoid relying on it in isolation during extremely low-volume periods, where momentum may appear artificially weak or strong.
Adjust sensitivity settings depending on your trading style (scalping vs swing trading).
Important Note:
The MWO is designed for educational and informational purposes. No indicator can predict the future with certainty. Always combine it with proper risk management and your personal trading plan.
Professional Candlestick + QQE Confirm v1.0Professional Candlestick + QQE Confirm v1.0
This indicator combines professional candlestick pattern detection with advanced momentum confirmation for ultra-high probability signals.
Features:
📜 Detects major candlestick patterns: Hammer, Shooting Star, Bullish/Bearish Engulfing, Morning Star, Evening Star, Doji.
⚡ Includes QQE (Quantitative Qualitative Estimation) Buy/Sell confirmation.
🔧 Optional extra confirmations: RSI filter, MACD histogram filter, VWAP filter.
🎯 Only shows signals when both pattern and momentum agree (optional settings).
📈 Perfect for traders looking for reliable reversal setups and momentum-confirmed entries.
🎨 Clean shape plotting with success rate percentages shown on chart.
🔔 Ready-made alert conditions for all buy/sell setups.
Customization Options:
Turn QQE confirmation ON or OFF.
Customize RSI, MACD, VWAP confirmations independently.
Fine-tune your filters based on market conditions and personal strategy.
Best used on:
Higher timeframes (15min, 1H, 4H, Daily) for more reliable signals.
Disclaimer:
This tool is for educational purposes only. Always use proper risk management and conduct your own analysis before trading.
Developed by Keyvan 🚀
Advanced QQE Buy/Sell with Confirmation FiltersAdvanced QQE Buy/Sell with Confirmation Filters
This indicator provides high-probability Buy and Sell signals using an advanced Quantitative Qualitative Estimation (QQE) method, enhanced by optional powerful confirmation filters.
Core Strategy:
📈 QQE Signals: Based on smoothed RSI crossover of dynamic threshold bands.
🎯 Buy Signal: Triggered when RSI crosses above QQE Lower Band.
🎯 Sell Signal: Triggered when RSI crosses below QQE Upper Band.
Optional Confirmation Filters:
🔧 RSI Filter: Only accept buys when RSI > 55 or sells when RSI < 45.
🔧 MACD Histogram Filter: Confirms momentum direction.
🔧 VWAP Filter: Confirms if price is above (bullish) or below (bearish) VWAP.
Customization Options:
Adjust RSI Length, QQE Smoothing Length, and Threshold to match your trading style.
Independently toggle each confirmation filter ON/OFF from the settings.
VWAP line can also be plotted on chart for visual guidance.
Key Features:
Clean Buy (green up label) and Sell (red down label) signals plotted on chart.
Alerts available for Buy/Sell triggers.
Optimized for fast performance and low lag.
Recommended Timeframes:
15min, 1H, 4H, Daily.
Disclaimer:
This indicator is for educational purposes only. Trading involves risk. Always perform your own due diligence.
Developed and optimized by Keyvan 🚀
EMA Crossover BackgroundWhen the chart closes above or below the EMA, the background color changes.
"Useful if you want to trade in the trend direction but don't always want to look at the EMA. For example, in an aggressive up or down trend, the EMA is far away on lower time frames, but you can instantly see if it’s above or below, which makes backtesting easier too."
Multi-Timeframe UT Bot Trend Table (5m, 15m, 30m)📊 UT Bot Multi-Timeframe Trend Table (5m, 15m, 30m)
A powerful companion to the original UT Bot Alerts, this script visually tracks UT Bot trend direction across 3 key timeframes — 5m, 15m, and 30m — in a single glance.
🔍 Features:
✅ Real-time UT Bot trend analysis on multiple timeframes
✅ Color-coded table for quick trend identification
✅ Matches original UT Bot signals exactly
✅ Optional alerts when all timeframes align (Bullish or Bearish)
This tool is ideal for scalpers, intraday, and swing traders who want confirmation from multiple timeframes before making decisions. Built for clarity and precision using Pine Script v5.
ADX Weighted MA [AutoBot Labs]An on-chart precision tool combining ADX trend strength with a smoothed moving average. Light shading highlights momentum divergence, making trend shifts easier to spot with clean, minimal visuals.
Ares LiteAres Lite is a precision-engineered, lightweight trading tool designed for clean, fast, and effective signal generation. Built around core market dynamics like trend shifts, MACD crossovers, and VWAP positioning, Ares Lite offers an efficient, actionable system for intraday and swing traders alike.
Features:
Trend-Based Entry Detection: Smart trend shift tracking using a simplified adaptive Supertrend engine.
MACD Momentum Confirmation: Integrated MACD crossover logic for additional confluence.
VWAP Awareness: Optional VWAP plotting to monitor institutional flow and mean reversion.
Suggested Stop Loss Levels: Automatic stop guide lines based on ATR volatility.
Simple Visual Signals: "CALL" and "PUT" labels right on the chart for easy decision-making.
Customizable Display: Toggle VWAP, Supertrend, Stop Loss Guides based on your preference.
Built-In Alerts: Never miss an opportunity with ready-to-use alert conditions.
⚠️ Advisory:
Ares Lite is designed for educational and informational purposes.
It does not guarantee profits and should not be used as the sole basis for any trading decision.
Always combine signals with your personal analysis and sound risk management practices.
ADX + MA [AutoBot Labs]A precision tool combining ADX trend strength with a smoothed moving average. Light shading highlights momentum divergence, making trend shifts easier to spot with clean, minimal visuals.
Ind JDV 2.2 PRO🛡️ Ind JDV 2.0 PRO – Chandelier Exit + FVG + EMA (Precise Entry)
Description:
Ind JDV 2.0 PRO is an advanced indicator that combines three powerful confirmations to find the best trading opportunities:
Chandelier Exit: Filters trade direction based on volatility breakouts controlled by ATR.
Fair Value Gap (FVG): Detects price inefficiency zones at their very first appearance.
EMA (Exponential Moving Average): Acts as a trend filter to ensure trading with the dominant market flow.
🔍 Key Features:
Marks only one precise signal on the candle where the FVG starts.
Confirms the trend using a 150-period EMA (fully adjustable).
Optionally draws Take Profit and Stop Loss target lines for clear visual guidance.
Background color changes (green or red) to reflect the active market trend.
Built-in automatic alerts for buy or sell opportunities.
Optimized code for maximum speed across all timeframes.
✅ Perfect for trading indices, forex, cryptocurrencies, and stocks.
✅ Compatible with all timeframes (5m, 15m, 1H, 4H, Daily).
✅ Fully customizable to fit scalping, intraday, or swing trading styles.
⚙️ Default Parameters:
ATR Period: 10
ATR Multiplier: 3.0
EMA Period: 150
FVG Lookback: 3 candles
Take Profit: 100 points
Stop Loss: 50 points
(All values are adjustable in settings.)
📈 How it works:
The indicator analyzes price structure.
Detects a valid Fair Value Gap (FVG) formation.
Confirms the breakout with a Chandelier Exit signal.
Verifies price alignment with the EMA trend.
Triggers a single entry signal (BUY or SELL) exactly on the first candle that meets all conditions.
🚀 Optimize your trading by focusing on high-probability zones, supported by solid confirmations and clean visual signals.
Add Ind JDV 2.0 PRO to your trading arsenal and take your strategy to the next level! 🔥
PivotBox by Nadeem Al-QahwiPivotBox by Nadeem Al-Qahwi
General Idea of the Indicator: The PivotBox indicator is an advanced technical analysis tool designed to identify key reversal points in the market based on pivot highs and pivot lows. The indicator helps traders to detect breakout and breakdown opportunities based on past price movements, guiding informed trading decisions.
Indicator Functions:
Key Reversal Points (Pivot Points):
The indicator identifies pivot highs and pivot lows over a user-defined period, helping traders spot significant price levels in the market.
These points are plotted on the chart, showing where market reversals may occur.
Breakouts and Breakdowns:
The indicator identifies breakouts when the price moves above a pivot high or breakdowns when the price falls below a pivot low.
Once these breakouts or breakdowns are detected, the indicator draws lines indicating the critical price levels for visual reference.
Trend Levels using Zero-Lag MA:
The indicator includes an option to add a Zero-Lag Moving Average (Zero-Lag MA) to display the overall trend in the market. This moving average helps filter out noise and identify the general market direction, improving trade decision-making.
Line Styles:
The pivot points (highs and lows) are displayed using different line styles, such as solid, dashed, or dotted lines. The user can customize the style based on their preference.
These lines represent the breakouts or breakdown levels in the market.
Alerts:
The indicator can activate alerts when a breakout or breakdown occurs. Users can customize the alerts to notify them when specific conditions are met, ensuring that they do not miss significant price movements.
Input Variables:
Period (prd): The time period over which the pivot highs and lows are calculated. The user can define this period based on their trading strategy.
Max Breakout Length (bo_len): The maximum time duration for a breakout or breakdown to occur. This variable helps determine the relevance of the price movement.
Threshold Rate (cwidthu): The width percentage that helps to define the price area for breakouts and breakdowns.
Line Style (lstyle): Allows the user to choose the style of lines used to display the pivot points (solid, dashed, or dotted).
Minimum Number of Tests (mintest): The minimum number of tests required before a breakout or breakdown is considered valid.
How the Indicator Works:
The indicator first calculates the pivot highs and lows based on the user-defined period (Period).
It then tracks price movements to detect if a breakout or breakdown occurs.
When a breakout or breakdown is confirmed, the indicator draws lines at these levels and shows the user the new price direction.
Alerts can be triggered based on predefined conditions such as when a breakout or breakdown occurs.
The Zero-Lag MA helps the user visualize the trend, adding another layer of analysis to the market movements.
Key Benefits:
Accurate Reversal Point Analysis: Helps traders identify key entry and exit points based on precise technical analysis.
Breakout and Breakdown Detection: Allows traders to spot breakout and breakdown opportunities in real-time.
Customizable Alerts: Users can set up alerts to notify them when a breakout or breakdown happens, ensuring they don't miss important market moves.
Flexible Customization: The indicator offers various options to customize the display (line styles, alerts, trendlines), catering to different trading strategies.