Scalping Entry/Exit Indicator by DiGetImagine having a tool that not only spots high-probability entry signals but also visually marks them on your chart with color-coded cues and automated alerts. The Scalping Entry/Exit Indicator by DiGet does exactly thatโby fusing a range of classic candlestick patterns (such as Bullish Hammers, Engulfing patterns, and Morning/Evening Stars) with dynamic risk management levels, this script empowers you to make swift and informed trading decisions. Whether you're an active trader or an algorithm enthusiast, this indicator offers both precision and clarity in identifying scalp opportunities, making your chart analysis more efficient and visually engaging.
Indicator Breakdown
Input Parameters:
The indicator accepts a customizable risk-reward ratio, an ATR period for volatility measurement, and a lookback period to scan for valid candlestick patterns.
ATR & Candle Calculations:
It computes the Average True Range (ATR) to dynamically set stop-loss and take-profit levels. Additionally, it determines the body and wick sizes of each candlestick to help identify key reversal patterns.
Pattern Detection:
Multiple bullish patterns (Hammer, Engulfing, Morning Star) and bearish patterns (Shooting Star, Engulfing, Evening Star) are detected. Thereโs also a simplified version of the Head & Shoulders pattern, offering further validation for reversal signals.
Signal Generation & Trade Levels:
The script consolidates the pattern signals into combined โbuyโ and โsellโ triggers. It then calculates the respective stop-loss (SL) and take-profit (TP) levels based on the current price and ATR, providing a robust risk management framework.
Visual Aids & Alerts:
To enhance usability, the indicator changes the chartโs background color to green for buy signals and red for sell signals. It also draws labels, lines (representing SL and TP), and markers directly on the chart, along with alert conditions to notify traders of actionable signals.
This indicator is an excellent addition to your TradingView toolkitโideal for scalpers and short-term traders seeking clarity, precision, and automated signal generation on their charts.
Enjoy trading with confidence and precision!
Cari dalam skrip untuk "algo"
rate_of_changeLibrary "rate_of_change"
// @description: Applies ROC algorithm to any pair of values.
// This library function is used to scale change of value (price, volume) to a percentage value, just as the ROC indicator would do. It is good practice to scale arbitrary ranges to set boundaries when you try to train statistical model.
rateOfChange(value, base, hardlimit)
โโThis function is a helper to scale a value change to its percentage value.
โโParameters:
โโโโ value (float)
โโโโ base (float)
โโโโ hardlimit (int)
โโReturns: per: A float comprised between 0 and 100
NIFTY VWAP DistanceNIFTY Futures VWAP Distance Indicator
Track price deviation from Volume-Weighted Average Price in real-time
๐ Key Features:
Measures absolute (points) and percentage distance from VWAP
Daily session reset aligned with NSE trading hours
Dual-axis visualization with clear zero reference line
Real-time data table display for instant analysis
Typical price calculation: (H+L+C)/3 formula
Built-in safeguards against division errors
๐ฏ Ideal For:
Intraday traders monitoring mean reversion opportunities
Algorithmic traders needing VWAP deviation metrics
Swing traders identifying overextended price moves
Market profile analysts studying auction theory
๐ How to Use:
Apply to NIFTY Futures chart (1m-1h timeframes recommended)
Blue line = Points above/below VWAP
Red line = Percentage deviation
Positive values = Price > VWAP (bullish territory)
Negative values = Price < VWAP (bearish territory)
๐ก Pro Tips:
Combine with volume profile for confirmation
Watch for >1% deviations for potential reversals
Use divergence patterns for early trend change signals
Works best with raw futures data (not continuous contracts)
๐ง Technical Specs:
Pine Script v5+
No repainting
Low latency calculations
Mobile-friendly display
"Know when price strays too far from fair value"
Jurik Moving Average (JMA)Overview
Jurik Moving Average (JMA) is an adaptive moving average developed by Mark Jurik, widely regarded as one of the most powerful moving averages available to traders. This implementation provides a direct Pine Script translation of the reverse-engineered JMA algorithm
What Makes JMA Special
Unlike traditional moving averages, JMA adapts to market volatility in real-time. This "triple adaptive" approach allows JMA to:
Reduce lag significantly while maintaining exceptional smoothness
React quickly during trending markets
Filter out noise during consolidation phases
Provide clearer trend signals with fewer whipsaws
The Triple Adaptive Edge
JMA employs a three-stage smoothing process:
Preliminary smoothing via an adaptive EMA
Secondary smoothing using a Kalman filter with phase adjustment
Final smoothing through a unique Jurik adaptive filter
This approach combines with a dynamic volatility-based factor (alpha) that adapts to market conditions, making JMA superior to traditional moving averages in most situations.
Key Parameters
Period : Controls the lookback period (default: 14)
Phase : Adjusts the heaviness of the indicator (-100 to 100, default: 0)
Positive values reduce lag but may cause overshoot
Negative values increase smoothness but reduce responsiveness
Power : Smoothing factor (0.1-0.9, default 0.45)
Higher values create smoother curves
Lower values create more responsive but choppy curves
Adaptive Trend FinderAdaptive Trend Finder - The Ultimate Trend Detection Tool
Introducing Adaptive Trend Finder, the next evolution of trend analysis on TradingView. This powerful indicator is an enhanced and refined version of Adaptive Trend Finder (Log), designed to offer even greater flexibility, accuracy, and ease of use.
Whatโs New?
Unlike the previous version, Adaptive Trend Finder allows users to fully configure and adjust settings directly within the indicator menu, eliminating the need to modify chart settings manually. A major improvement is that users no longer need to adjust the chart's logarithmic scale manually in the chart settings; this can now be done directly within the indicator options, ensuring a smoother and more efficient experience. This makes it easier to switch between linear and logarithmic scaling without disrupting the analysis. This provides a seamless user experience where traders can instantly adapt the indicator to their needs without extra steps.
One of the most significant improvements is the complete code overhaul, which now enables simultaneous visualization of both long-term and short-term trend channels without needing to add the indicator twice. This not only improves workflow efficiency but also enhances chart readability by allowing traders to monitor multiple trend perspectives at once.
The interface has been entirely redesigned for a more intuitive user experience. Menus are now clearer, better structured, and offer more customization options, making it easier than ever to fine-tune the indicator to fit any trading strategy.
Key Features & Benefits
Automatic Trend Period Selection: The indicator dynamically identifies and applies the strongest trend period, ensuring optimal trend detection with no manual adjustments required. By analyzing historical price correlations, it selects the most statistically relevant trend duration automatically.
Dual Channel Display: Traders can view both long-term and short-term trend channels simultaneously, offering a broader perspective of market movements. This feature eliminates the need to apply the indicator twice, reducing screen clutter and improving efficiency.
Fully Adjustable Settings: Users can customize trend detection parameters directly within the indicator settings. No more switching chart settings โ everything is accessible in one place.
Trend Strength & Confidence Metrics: The indicator calculates and displays a confidence score for each detected trend using Pearson correlation values. This helps traders gauge the reliability of a given trend before making decisions.
Midline & Channel Transparency Options: Users can fine-tune the visibility of trend channels, adjusting transparency levels to fit their personal charting style without overwhelming the price chart.
Annualized Return Calculation: For daily and weekly timeframes, the indicator provides an estimate of the trendโs performance over a year, helping traders evaluate potential long-term profitability.
Logarithmic Adjustment Support: Adaptive Trend Finder is compatible with both logarithmic and linear charts. Traders who analyze assets like cryptocurrencies, where log scaling is common, can enable this feature to refine trend calculations.
Intuitive & User-Friendly Interface: The updated menu structure is designed for ease of use, allowing quick and efficient modifications to settings, reducing the learning curve for new users.
Why is this the Best Trend Indicator?
Adaptive Trend Finder stands out as one of the most advanced trend analysis tools available on TradingView. Unlike conventional trend indicators, which rely on fixed parameters or lagging signals, Adaptive Trend Finder dynamically adjusts its settings based on real-time market conditions. By combining automatic trend detection, dual-channel visualization, real-time performance metrics, and an intuitive user interface, this indicator offers an unparalleled edge in trend identification and trading decision-making.
Traders no longer have to rely on guesswork or manually tweak settings to identify trends. Adaptive Trend Finder does the heavy lifting, ensuring that users are always working with the strongest and most reliable trends. The ability to simultaneously display both short-term and long-term trends allows for a more comprehensive market overview, making it ideal for scalpers, swing traders, and long-term investors alike.
With its state-of-the-art algorithms, fully customizable interface, and professional-grade accuracy, Adaptive Trend Finder is undoubtedly one of the most powerful trend indicators available.
Try it today and experience the future of trend analysis.
This indicator is a technical analysis tool designed to assist traders in identifying trends. It does not guarantee future performance or profitability. Users should conduct their own research and apply proper risk management before making trading decisions.
// Created by Julien Eche - @Julien_Eche
Premarket Gap MomoTrader(SC)๐ Pre-Market Momentum Trader | Dynamic Position Sizing ๐ฅ
๐ Trade explosive pre-market breakouts with confidence! This algorithmic strategy automatically detects high-momentum setups, dynamically adjusts position size, and ensures risk control with a one-trade-per-day rule.
โธป
๐ฏ Key Features
โ
Pre-Market Trading (4:00 - 9:30 AM EST) โ Only trades during the most volatile session for early breakouts.
โ
Dynamic Position Sizing โ Adapts trade size based on candle strength:
โข โฅ90% body โ 100% position
โข โฅ85% body โ 50% position
โข โฅ75% body โ 25% position
โ
1 Trade Per Day โ Avoids overtrading by allowing only one high-quality trade daily.
โ
Momentum Protection โ Stays in the trade as long as:
โข Every candle remains green (no red candles).
โข Each new candle has increasing volume (confirming strong buying).
โ
Automated Exit โ Closes position if:
โข A red candle appears.
โข Volume fails to increase on a green candle.
โธป
๐ How It Works
๐ Entry Conditions:
โ๏ธ Candle gains โฅ5% from previous close.
โ๏ธ Candle is green & body size โฅ75% of total range.
โ๏ธ Volume >15K (confirming liquidity).
โ๏ธ Occurs within pre-market session (4:00 - 9:30 AM EST).
โ๏ธ Only the first valid trade of the day is taken.
๐ Exit Conditions:
โ First red candle after entry โ Exit trade.
โ First green candle with lower volume โ Exit trade.
โธป
๐ Why Use This?
๐น Eliminates Fake Breakouts โ No trade unless volume & momentum confirm.
๐น Prevents Overtrading โ Restricts to one quality trade per day.
๐น Adaptable to Any Market โ Works on stocks, crypto, or forex.
๐น Hands-Free Execution โ No manual chart watching required!
โธป
๐จ Important Notes
๐ข Not financial advice. Trading involves riskโalways backtest & practice on paper trading before using real money.
๐ข Enable pre-market data in your TradingView settings for accurate results.
๐ข Optimized for 1-minute & 5-minute timeframes.
๐ Like this strategy? Leave a comment, share your results, and donโt forget to hit Follow for more strategies! ๐๐ฅ
Ultimate Trend Strength Meter Using TechnoBloomโs IndicatorsOverview
The Ultimate Trend Strength Meter Using TechnoBloomโs Indicators is a powerful trend analysis tool developed using TechnoBloomโs proprietary indicators. This indicator helps traders assess trend strength, momentum, and potential reversals by combining three essential market factors:
โข Market Participation Ratio (MPR) โ Measures trader engagement and volume strength.
โข Volume Weighted Moving Average (VWMO) โ Confirms momentum and trend direction.
โข Fibonacci-Based Support & Resistance โ Identifies key reversal zones and breakout points.
โธป
Key Features:
โ
Color-Coded Trend Strength Meter:
โข ๐ข Green โ Strong Trend (High Confidence): High participation, strong momentum, and no major resistance.
โข ๐ก Yellow โ Weak Trend (Caution): Moderate participation, possible resistance ahead, and trend uncertainty.
โข ๐ด Red โ Reversal Risk / No Trend: Low market engagement, momentum uncertainty, and proximity to major Fibonacci levels.
โ
Eliminates False Signals & Weak Trends:
โข Prevents choppy market entries by ensuring high-volume confirmation.
โข Ideal for filtering fake breakouts and exhaustion phases.
โ
Works for All Trading Styles & Markets:
โข Scalping (1m-5m), Day Trading (15m-1H), and Swing Trading (4H-Daily).
โข Suitable for Forex, Stocks, Crypto, Indices, and Commodities (XAUUSD, US30, BTCUSD, etc.).
โ
Customizable for Any Strategy:
โข Adjustable MPR thresholds, VWMO smoothing, and Fibonacci sensitivity.
โข Built-in alerts notify traders when trend conditions change.
โธป
How to Use It:
1๏ธโฃ Enter trades when the meter turns Green (Strong Trend) and aligns with your strategy.
2๏ธโฃ Avoid or exit trades when it turns Red (Reversal Risk) to prevent unnecessary losses.
3๏ธโฃ Use Yellow as a caution zone โ wait for confirmation before making a move.
4๏ธโฃ Combine with breakout strategies or support/resistance setups for high-probability entries.
โธป
About TechnoBlooms
TechnoBlooms is committed to developing high-precision trading indicators that enhance decision-making for traders across all markets. This tool is a result of our in-depth market research and algorithmic advancements to provide traders with an edge.
๐ Upgrade your trading with the Ultimate Trend Strength Meter โ Developed by TechnoBlooms! ๐
Multi-Timeframe PSAR Indicator ver 1.0Enhance your trend analysis with the Multi-Timeframe Parabolic SAR (MTF PSAR) indicator! This powerful tool displays the Parabolic SAR (Stop and Reverse) from both the current chart's timeframe and a higher timeframe, all in one convenient view. Identify potential trend reversals and set dynamic trailing stops with greater confidence by understanding the broader market context.
Key Features:
Dual Timeframe Analysis: Simultaneously visualize the PSAR on your current chart and a user-defined higher timeframe (e.g., see the Daily PSAR while trading on the 1-hour chart). This helps you align your trades with the dominant trend.
Customizable PSAR Settings: Fine-tune the PSAR calculation with adjustable Start, Increment, and Maximum values. Optimize the indicator's sensitivity to match your trading style and the volatility of the asset.
Independent Timeframe Control: Choose to display either or both the current timeframe PSAR and the higher timeframe PSAR. Focus on the information most relevant to your analysis.
Clear Visual Representation: Distinct colors for the current and higher timeframe PSAR dots make it easy to differentiate between the two. Quickly identify potential entry and exit points.
Configurable Colors You can easily change colors of Current and HTF PSAR.
Standard PSAR Logic: Uses the classic Parabolic SAR algorithm, providing a reliable and widely-understood trend-following indicator.
lookahead=barmerge.lookahead_off used in the security function, there is no data leak or repainting.
Benefits:
Improved Trend Identification: Spot potential trend changes earlier by observing divergences between the current and higher timeframe PSAR.
Enhanced Risk Management: Use the PSAR as a dynamic trailing stop-loss to protect profits and limit potential losses.
Greater Trading Confidence: Make more informed decisions by considering the broader market trend.
Reduced Chart Clutter: Avoid the need to switch between multiple charts to analyze different timeframes.
Versatile Application: Suitable for various trading styles (swing trading, day trading, trend following) and markets (stocks, forex, crypto, etc.).
How to Use:
Add to Chart: Add the "Multi-Timeframe PSAR" indicator to your TradingView chart.
Configure Settings:
PSAR Settings: Adjust the Start, Increment, and Maximum values to control the PSAR's sensitivity.
Multi-Timeframe Settings: Select the desired "Higher Timeframe PSAR" resolution (e.g., "D" for Daily). Enable or disable the display of the current and/or higher timeframe PSAR using the checkboxes.
Interpret Signals:
Current Timeframe PSAR: Dots below the price suggest an uptrend; dots above the price suggest a downtrend.
Higher Timeframe PSAR: Provides context for the overall trend. Agreement between the current and higher timeframe PSAR strengthens the trend signal. Divergences may indicate potential reversals.
Trade Management:
Use PSAR dots as dynamic trailing stop.
Example Use Cases:
Confirming Trend Strength: A trader on a 1-hour chart sees the 1-hour PSAR flip bullish (dots below the price). They check the MTF PSAR and see that the Daily PSAR is also bullish, confirming the strength of the uptrend.
Identifying Potential Reversals: A trader sees the current timeframe PSAR flip bearish, but the higher timeframe PSAR remains bullish. This divergence could signal a potential pullback within a larger uptrend, or a warning of a more significant reversal.
Trailing Stops: A trader enters a long position and uses the current timeframe PSAR as a trailing stop, moving their stop-loss up as the PSAR dots rise.
Disclaimer: The Parabolic SAR is a lagging indicator and may produce false signals, especially in ranging markets. It is recommended to use this indicator in conjunction with other technical analysis tools and risk management strategies. Past performance is not indicative of future results.
Time-Weighted Price Action IndicatorThe Time-Weighted Price Action Indicator is a simple yet effective tool designed to detect consolidation zones based on time duration and highlight potential reversal points using a contrarian breakout logic. Instead of following traditional breakout strategies, this indicator aims to capitalize on false breakouts and reversal entries.
How It Works
โข The indicator identifies a price range (zone) using a configurable lookback period.
โข If the price remains within this range for a specified number of bars (threshold), a consolidation zone is confirmed.
โข Once a breakout or breakdown from this zone occurs, the indicator triggers a reversed signal โ suggesting a potential reversal instead of a trend-following entry.
โข Support and resistance levels are marked visually, and BUY/SELL labels are plotted when price re-enters the zone, indicating potential exhaustion or traps.
Key Features
โข โ
Time-based consolidation detection
โข โ
Contrarian signal logic (Buy at breakdowns, Sell at breakouts)
โข โ
Dynamic zone plotting with support/resistance visualization
โข โ
Auto-reset after each breakout for fresh zone detection
โข โ
Visual labels and alerts for BUY/SELL signals
How to Use
โข Ideal for range-bound markets or identifying trap zones around support/resistance.
โข Use in conjunction with volume, momentum, or trend filters to refine entries.
โข Can complement mean reversion strategies or be used as a signal confirmation tool.
Why This Combination?
This approach blends time-based consolidation logic with a contrarian price action perspective, offering traders a different lens to analyze markets. Instead of blindly following breakouts, it highlights areas where price rejections and false breakouts often occur โ common in algorithm-driven markets.
Why Itโs Worth Using
This indicator helps you stay ahead of trap zones, identify reversal spots, and understand price behavior in consolidation zones โ a critical edge, especially in sideways or choppy markets. It adds context to price movement, helping traders avoid common breakout failures.
Note:
โข No performance guarantees or exaggerated claims.
โข No solicitation or promotional language used.
โข This is a free, open-source educational tool meant to aid price action understanding.
Wyckoff Event Detection [Alpha Extract]Wyckoff Event Detection
A powerful and intelligent indicator designed to detect key Wyckoff events in real time, helping traders analyze market structure and anticipate potential trend shifts. Using volume and price action, this script automatically identifies distribution and accumulation phases, providing traders with valuable insights into market behavior.
๐ถ Phase-Based Detection
Utilizes a phase detection algorithm that evaluates price and volume conditions to identify accumulation (bullish) and distribution (bearish) events. This method ensures the script effectively captures major market turning points and avoids noise.
๐ถ Multi-Factor Event Recognition
Incorporates multiple event conditions, including upthrusts, selling climaxes, and springs, to detect high-probability entry and exit points. Each event is filtered through customizable sensitivity settings, ensuring precise detection aligned with different trading styles.
๐ถ Customizable Parameters
Fine-tune event detection with adjustable thresholds for volume, price movement, trend strength, and event spacing. These inputs allow traders to personalize the script to match their strategy and risk tolerance.
// === USER INPUTS ===
i_volLen = input.int(20, "Volume MA Length", minval=1)
i_priceLookback = input.int(20, "Price Pattern Lookback", minval=5)
i_lineLength = input.int(15, "Line Length", minval=5)
i_labelSpacing = input.int(5, "Minimum Label Spacing (bars)", minval=1, maxval=20)
โHow It Works
๐ถ Event Identification
The script scans for key Wyckoff events by analyzing volume spikes, price deviations, and trend shifts within a user-defined lookback period. It categorizes events into bullish (accumulation) or bearish (distribution) structures and plots them directly on the chart.
// === EVENT DETECTION ===
volMA = ta.sma(volume, i_volLen)
highestHigh = ta.highest(high, i_priceLookback)
lowestLow = ta.lowest(low, i_priceLookback)
๐ถ Automatic Filtering & Cleanup
Unconfirmed or weak signals are filtered out using customizable strength multipliers and volume thresholds. Events that do not meet the minimum conditions are discarded to keep the chart clean and informative.
๐ถ Phase Strength Analysis
The script continuously tracks bullish and bearish event counts to determine whether the market is currently in an accumulation, distribution, or neutral phase. This allows traders to align their strategies accordingly.
๐ถ Visual Alerts & Labels
Detects and labels key Wyckoff events directly on the chart, providing immediate insights into market conditions:
- PSY (Preliminary Supply) and UT (Upthrust) for distribution phases.
- PS (Preliminary Support) and SC (Selling Climax) for accumulation phases.
- Labels adjust dynamically to avoid chart clutter and improve readability.
๐ถ Entry & Exit Optimization
By highlighting supply and demand imbalances, the script assists traders in identifying optimal entry and exit points. Wyckoff concepts such as springs and upthrusts provide clear trade signals based on market structure.
๐ถ Trend Confirmation & Risk Management
Observing how price reacts to detected events helps confirm trend direction and potential reversals. Traders can place stop-loss and take-profit levels based on Wyckoff phase analysis, ensuring strategic trade execution.
๐ถ Table-Based Market Analysis (Table)
A built-in table summarizes:
- Market Phase: Accumulation, Distribution, or Neutral.
- Strength of Phase: Weak, Moderate, or Strong.
- Price Positioning: Whether price is near support, resistance, or in a trading range.
- Supply/Demand State: Identifies whether the market is supply or demand dominant.
๐ถ Why Choose Wyckoff Market Phases - Alpha Extract?
This indicator offers a systematic approach to understanding market mechanics through the lens of Wyckoff's time-tested principles. By providing clear and actionable insights into market phases, it empowers traders to make informed decisions, enhancing both confidence and performance in various trading environments.
AI Adaptive Oscillator [PhenLabs]๐ Algorithmic Adaptive Oscillator
Version: PineScriptโข v6
๐ Description
The AI Adaptive Oscillator is a sophisticated technical indicator that employs ensemble learning and adaptive weighting techniques to analyze market conditions. This innovative oscillator combines multiple traditional technical indicators through an AI-driven approach that continuously evaluates and adjusts component weights based on historical performance. By integrating statistical modeling with machine learning principles, the indicator adapts to changing market dynamics, providing traders with a responsive and reliable tool for market analysis.
๐ Points of Innovation:
Ensemble learning framework with adaptive component weighting
Performance-based scoring system using directional accuracy
Dynamic volatility-adjusted smoothing mechanism
Intelligent signal filtering with cooldown and magnitude requirements
Signal confidence levels based on multi-factor analysis
๐ง Core Components
Ensemble Framework : Combines up to five technical indicators with performance-weighted integration
Adaptive Weighting : Continuous performance evaluation with automated weight adjustment
Volatility-Based Smoothing : Adapts sensitivity based on current market volatility
Pattern Recognition : Identifies potential reversal patterns with signal qualification criteria
Dynamic Visualization : Professional color schemes with gradient intensity representation
Signal Confidence : Three-tiered confidence assessment for trading signals
๐ฅ Key Features
The indicator provides comprehensive market analysis through:
Multi-Component Ensemble : Integrates RSI, CCI, Stochastic, MACD, and Volume-weighted momentum
Performance Scoring : Evaluates each component based on directional prediction accuracy
Adaptive Smoothing : Automatically adjusts based on market volatility
Pattern Detection : Identifies potential reversal patterns in overbought/oversold conditions
Signal Filtering : Prevents excessive signals through cooldown periods and minimum change requirements
Confidence Assessment : Displays signal strength through intuitive confidence indicators (average, above average, excellent)
๐จ Visualization
Gradient-Filled Oscillator : Color intensity reflects strength of market movement
Clear Signal Markers : Distinct bullish and bearish pattern signals with confidence indicators
Range Visualization : Clean representation of oscillator values from -6 to 6
Zero Line : Clear demarcation between bullish and bearish territory
Customizable Colors : Color schemes that can be adjusted to match your chart style
Confidence Symbols : Intuitive display of signal confidence (no symbol, +, or ++) alongside direction markers
๐ Usage Guidelines
โ๏ธ Settings Guide
Color Settings
Bullish Color
Default: #2b62fa (Blue)
This setting controls the color representation for bullish movements in the oscillator. The color appears when the oscillator value is positive (above zero), with intensity indicating the strength of the bullish momentum. A brighter shade indicates stronger bullish pressure.
Bearish Color
Default: #ce9851 (Amber)
This setting determines the color representation for bearish movements in the oscillator. The color appears when the oscillator value is negative (below zero), with intensity reflecting the strength of the bearish momentum. A more saturated shade indicates stronger bearish pressure.
Signal Settings
Signal Cooldown (bars)
Default: 10
Range: 1-50
This parameter sets the minimum number of bars that must pass before a new signal of the same type can be generated. Higher values reduce signal frequency and help prevent overtrading during choppy market conditions. Lower values increase signal sensitivity but may generate more false positives.
Min Change For New Signal
Default: 1.5
Range: 0.5-3.0
This setting defines the minimum required change in oscillator value between consecutive signals of the same type. It ensures that new signals represent meaningful changes in market conditions rather than minor fluctuations. Higher values produce fewer but potentially higher-quality signals, while lower values increase signal frequency.
AI Core Settings
Base Length
Default: 14
Minimum: 2
This fundamental setting determines the primary calculation period for all technical components in the ensemble (RSI, CCI, Stochastic, etc.). It represents the lookback window for each componentโs base calculation. Shorter periods create a more responsive but potentially noisier oscillator, while longer periods produce smoother signals with potential lag.
Adaptive Speed
Default: 0.1
Range: 0.01-0.3
Controls how quickly the oscillator adapts to new market conditions through its volatility-adjusted smoothing mechanism. Higher values make the oscillator more responsive to recent price action but potentially more erratic. Lower values create smoother transitions but may lag during rapid market changes. This parameter directly influences the indicatorโs adaptiveness to market volatility.
Learning Lookback Period
Default: 150
Minimum: 10
Determines the historical data range used to evaluate each ensemble componentโs performance and calculate adaptive weights. This setting controls how far back the AI โlearnsโ from past performance to optimize current signals. Longer periods provide more stable weight distribution but may be slower to adapt to regime changes. Shorter periods adapt more quickly but may overreact to recent anomalies.
Ensemble Size
Default: 5
Range: 2-5
Specifies how many technical components to include in the ensemble calculation.
Understanding The Interaction Between Settings
Base Length and Learning Lookback : The base length determines the reactivity of individual components, while the lookback period determines how their weights are adjusted. These should be balanced according to your timeframe - shorter timeframes benefit from shorter base lengths, while the lookback should generally be 10-15 times the base length for optimal learning.
Adaptive Speed and Signal Cooldown : These settings control sensitivity from different angles. Increasing adaptive speed makes the oscillator more responsive, while reducing signal cooldown increases signal frequency. For conservative trading, keep adaptive speed low and cooldown high; for aggressive trading, do the opposite.
Ensemble Size and Min Change : Larger ensembles provide more stable signals, allowing for a lower minimum change threshold. Smaller ensembles might benefit from a higher threshold to filter out noise.
Understanding Signal Confidence Levels
The indicator provides three distinct confidence levels for both bullish and bearish signals:
Average Confidence (โฒ or โผ) : Basic signal that meets the minimum pattern and filtering criteria. These signals indicate potential reversals but with moderate confidence in the prediction. Consider using these as initial alerts that may require additional confirmation.
Above Average Confidence (โฒ+ or โผ+) : Higher reliability signal with stronger underlying metrics. These signals demonstrate greater consensus among the ensemble components and/or stronger historical performance. They offer increased probability of successful reversals and can be traded with less additional confirmation.
Excellent Confidence (โฒ++ or โผ++) : Highest quality signals with exceptional underlying metrics. These signals show strong agreement across oscillator components, excellent historical performance, and optimal signal strength. These represent the indicatorโs highest conviction trade opportunities and can be prioritized in your trading decisions.
Confidence assessment is calculated through a multi-factor analysis including:
Historical performance of ensemble components
Degree of agreement between different oscillator components
Relative strength of the signal compared to historical thresholds
โ
Best Use Cases:
Identify potential market reversals through oscillator extremes
Filter trade signals based on AI-evaluated component weights
Monitor changing market conditions through oscillator direction and intensity
Confirm trade signals from other indicators with adaptive ensemble validation
Detect early momentum shifts through pattern recognition
Prioritize trading opportunities based on signal confidence levels
Adjust position sizing according to signal confidence (larger for ++ signals, smaller for standard signals)
โ ๏ธ Limitations
Requires sufficient historical data for accurate performance scoring
Ensemble weights may lag during dramatic market condition changes
Higher ensemble sizes require more computational resources
Performance evaluation quality depends on the learning lookback period length
Even high confidence signals should be considered within broader market context
๐ก What Makes This Unique
Adaptive Intelligence : Continuously adjusts component weights based on actual performance
Ensemble Methodology : Combines strength of multiple indicators while minimizing individual weaknesses
Volatility-Adjusted Smoothing : Provides appropriate sensitivity across different market conditions
Performance-Based Learning : Utilizes historical accuracy to improve future predictions
Intelligent Signal Filtering : Reduces noise and false signals through sophisticated filtering criteria
Multi-Level Confidence Assessment : Delivers nuanced signal quality information for optimized trading decisions
๐ฌ How It Works
The indicator processes market data through five main components:
Ensemble Component Calculation :
Normalizes traditional indicators to consistent scale
Includes RSI, CCI, Stochastic, MACD, and volume components
Adapts based on the selected ensemble size
Performance Evaluation :
Analyzes directional accuracy of each component
Calculates continuous performance scores
Determines adaptive component weights
Oscillator Integration :
Combines weighted components into unified oscillator
Applies volatility-based adaptive smoothing
Scales final values to -6 to 6 range
Signal Generation :
Detects potential reversal patterns
Applies cooldown and magnitude filters
Generates clear visual markers for qualified signals
Confidence Assessment :
Evaluates component agreement, historical accuracy, and signal strength
Classifies signals into three confidence tiers (average, above average, excellent)
Displays intuitive confidence indicators (no symbol, +, ++) alongside direction markers
๐ก Note:
The AI Adaptive Oscillator performs optimally when used with appropriate timeframe selection and complementary indicators. Its adaptive nature makes it particularly valuable during changing market conditions, where traditional fixed-weight indicators often lose effectiveness. The ensemble approach provides a more robust analysis by leveraging the collective intelligence of multiple technical methodologies. Pay special attention to the signal confidence indicators to optimize your trading decisions - excellent (++) signals often represent the most reliable trade opportunities.
THE Bucknut test PARI (SPY)๐ THE Bucknut Test PARI โ Market Momentum & Volatility Gauge
๐น Description
THE Bucknut Test PARI Indicator is a momentum and volatility-based market gauge designed to provide clear, actionable insights on price movement. This indicator calculates a Price Action Relative Index (PARI) score to help traders evaluate risk and potential market reversals.
It utilizes exponential moving average (EMA)-based momentum, standard deviation volatility, and SPY correlation to generate a PARI score between 1-100. The score is then categorized into risk zones, helping traders identify when conditions are favorable for entries or caution is needed.
Ideal for intraday traders, options traders (including SPX 0DTE), and swing traders looking to gauge volatility-driven market shifts.
๐ฅ Features & Functionality
โ
Momentum Calculation via EMA Filtering โ Ensures smooth, responsive signals.
โ
Volatility-Based Adjustments โ Uses standard deviation-based volatility scaling.
โ
SPY Correlation Filtering โ Helps align momentum signals with market sentiment.
โ
User-Defined Timeframe Settings โ Adjusts dynamically based on selected time intervals.
โ
Customizable Risk Thresholds โ Allows traders to define high-risk, neutral, and low-risk zones.
โ
Non-Repainting Algorithm โ Ensures reliable, static signals without revision.
โ๏ธ Settings & Adjustments
Setting Default Value Description
Time Frame Mode "5m-15m" Choose between 1m-3m, 5m-15m, or 1H-Daily. Affects smoothing values.
Scaling Factor 10 Adjusts PARI score sensitivity. Higher values amplify movement.
Background Color Black Custom background for the indicator panel.
Background Transparency 85 Controls indicator panel opacity (0 = solid, 100 = invisible).
High-Risk Threshold 80 Above this level, market is in overbought/high-risk conditions.
Low-Risk Threshold 20 Below this level, market is oversold/low-risk for potential reversals.
Neutral Level 50 Middle ground where price action is balanced.
๐ How to Use THE Bucknut Test PARI
๐ด Above 80 (High-Risk Zone)
Market may be overheated, strong momentum may fade or reverse soon.
Caution with calls; potential put opportunities.
๐ข Below 20 (Low-Risk Zone)
Market is oversold, potential reversal or bounce incoming.
Consider long entries or avoiding shorts.
โช Between 20-80 (Neutral Zone)
Market is in equilibrium; follow primary trend direction.
No extreme risk, trend-following strategies preferred.
๐ Example Use Cases
โ Intraday Traders โ Gauge market strength on short-term charts (1m-15m).
โ SPX 0DTE Options Traders โ Time high-confidence call/put setups.
โ Swing Traders โ Identify periods of excessive momentum or exhaustion.
Ehlers Instantaneous Trendline ATR LevelsOverview
This sophisticated technical analysis tool merges John Ehlers' cutting-edge Instantaneous Trendline methodology with a dynamic ATR-based bands system. The indicator is designed to provide traders with a comprehensive view of market trends while accounting for volatility, making it suitable for both trending and ranging markets. Works on all timeframes and chart types.
Key Features in Detail
1. Ehlers Instantaneous Trendline Implementation
- Advanced algorithm that reduces lag typically associated with moving averages
- Built-in volatility filtering system to minimize false signals
- Adaptive to market conditions through dynamic calculations
- Real-time trend direction identification
2. Multi-layered ATR Band System
- Hierarchical band structure with 18 total bands (9 upper, 9 lower)
- Color-coded visualization system:
Upper bands: Red gradient (darker = further from trendline)
Lower bands: Green gradient (darker = further from trendline)
Central trendline: Yellow for optimal visibility
- Customizable multipliers for each band level
- Independent visibility controls for each band
Configuration Options
Trendline Settings:
- Lower values: More responsive to price changes and faster reacting to break in ATR filter
- Higher values: Smoother trendline with less noise and slower reacting to break in ATR filter
ATR Configuration:
Period: Customizable from 1 to any positive integer
- Longer periods: More stable volatility measurement
- Shorter periods: More reactive to recent volatility changes
Filter Multiplier: Fine-tune volatility filtering
- Higher values: More filtered signals leading to less shift in bands
- Lower values: More sensitive to price movements leading to more band shifts
Practical Applications
1. Trend Analysis
Use the central trendline for primary trend direction
Monitor band crossovers for trend strength confirmation
Track price position relative to bands for trend context
2. Volatility Assessment
Band spacing indicates current market volatility
Width between bands helps identify consolidation vs. expansion phases
Price Extremes
3. Support and Resistance
Each band acts as a dynamic support/resistance level
Multiple timeframe analysis possible adjusting for different timeframe ATR
Vortex Sniper Elite @DaviddTechVortex Sniper Elite @DaviddTech
Vortex Sniper Elite @DaviddTech is a comprehensive trading system designed to deliver high-probability trade setups across all market conditions. By seamlessly integrating adaptive baseline detection, squeeze momentum analysis, and advanced vortex filtering, this indicator provides traders with a complete edge-based approach to market analysis.
๐ฅ Key Features:
Complete Model Integration:
Baseline: Advanced McGinley Dynamic indicator for superior trend detection
Confirmation #1: Enhanced TTM Squeeze for momentum and volatility analysis
Confirmation #2: Dual Tether Line system for dynamic market structure mapping
Volatility Filter: Specialized Vortex indicator for precision entry timing
Adaptive Stop Loss: Proprietary trailing stop system based on ATR calculations
Advanced Visual Dashboard:
Real-time component analysis with strength metrics
Color-coded signal status for immediate trade assessment
Squeeze state monitoring with visual confirmation
Vortex divergence strength percentage for optimal entries
Premium Signal Detection:
Multi-timeframe compatible system for scaling strategies
Automated buy/sell signals at optimal entry points
Clear exit signals for risk management
Squeeze momentum visualization for timing precision
DaviddTech Alpha Edge System:
Gradient transparency algorithm for visual trend strength confirmation
Bar coloring system based on momentum direction
Background highlighting for active signal states
Dashboard for ease of understanding
๐ฐ Trading Applications:
Sniper Entries: Utilize the Vortex confirmation to pinpoint precise entry points
Trend Alignment: McGinley baseline establishes the primary market direction
Volatility Awareness: TTM Squeeze identifies optimal market conditions
Risk Management: Set stops based on the adaptive trailing stop system
Position Management: Monitor dashboard metrics for changing market conditions
Vortex Sniper Elite @DaviddTech represents the culmination of the DaviddTech methodology in one cohesive system. Whether you're a day trader seeking precise entries or a swing trader looking for significant market moves, this indicator delivers the structured approach needed to consistently extract profits from any market condition.
DaviddTech Trading System Explained:
The DaviddTech methodology follows a strict component-based approach:
The Baseline establishes the primary trend direction, acting as your first filter
Confirmation Indicators validate potential trade setups only when aligned with the baseline
The Volatility/Volume Indicator ensures you only enter trades with sufficient directional momentum
A Trailing Stop System provides mathematically optimized exit points
Vortex Sniper Elite integrates all these components into a visually intuitive system that eliminates guesswork and enforces disciplined trading decisions.
Recommended Settings:
This indicator comes pre-configured with optimized parameters, but feel free to adjust based on your timeframe:
For day trading: Reduce Baseline and TTM lengths by 30-40%
For swing trading: Consider increasing Tether and Trail Stop lengths by 25-50%
For scalping: Focus on Vortex confirmation with shorter timeframes
Best Practices:
Wait for all components to align before entering trades
Use the dashboard to evaluate the strength of each signal
Monitor squeeze states for potential volatility expansion
Let the trailing stop system handle your exits
Backtest across multiple timeframes to find your optimal settings
Uwen FX: UWEN StrategyThis Pine Script defines a trading indicator called "Uwen FX: UWEN Strategy" Where ideas coming from Arab Syaukani and modified by Fiki Hafana. It combines a CCI-based T3 Smoothed Indicator with a MACD overlay. Here's a breakdown of what it does:
Key Components of the Script:
1. CCI (Commodity Channel Index) with T3 Smoothing
Uses a T3 smoothing algorithm on the CCI to generate a smoother momentum signal. The smoothing formula is applied iteratively using weighted averages. The final result (xccir) is plotted as a histogram, colored green for bullish signals and red for bearish signals.
2. MACD (Moving Average Convergence Divergence)
The MACD is scaled to match the range of the smoothed CCI for better visualization. Signal Line and MACD Line are plotted if showMACD is enabled. The normalization ensures that MACD values align with the CCI-based indicator.
3. Bar Coloring for Trend Indication
Green bars indicate a positive trend (pos = 1).
Red bars indicate a negative trend (pos = -1).
Blue bars appear when the trend is neutral.
How It Can Be Used:
Buy Signal: When the xccir (smoothed CCI) turns green, indicating bullish momentum.
Sell Signal: When xccir turns red, indicating bearish momentum.
MACD Confirmation: Helps confirm the trend direction by aligning with xccir.
I will add more interesting features if this indicator seems profitable
Sniper Trade Pro (ES 15-Min) - Topstep Optimized๐น Overview
Sniper Trade Pro is an advanced algorithmic trading strategy designed specifically for E-mini S&P 500 (ES) Futures on the 15-minute timeframe. This strategy is optimized for Topstep 50K evaluations, incorporating strict risk management to comply with their max $1,000 daily loss limit while maintaining a high probability of success.
It uses a multi-confirmation approach, integrating:
โ
Money Flow Divergence (MFD) โ To track liquidity imbalances and institutional accumulation/distribution.
โ
Trend Confirmation (EMA + VWAP) โ To identify strong trend direction and avoid choppy markets.
โ
ADX Strength Filter โ To ensure entries only occur in trending conditions, avoiding weak setups.
โ
Break-Even & Dynamic Stop-Losses โ To reduce drawdowns and protect profits dynamically.
This script automatically generates Buy and Sell signals and provides built-in risk management for automated trading execution through TradingView Webhooks.
๐น How Does This Strategy Work?
๐ 1. Trend Confirmation (EMA + VWAP)
The strategy uses:
โ 9-EMA & 21-EMA: Fast-moving averages to detect short-term momentum.
โ VWAP (Volume-Weighted Average Price): Ensures trades align with institutional volume flow.
How it works:
Bullish Condition: 9-EMA above 21-EMA AND price above VWAP โ Confirms buy trend.
Bearish Condition: 9-EMA below 21-EMA AND price below VWAP โ Confirms sell trend.
๐ 2. Liquidity & Money Flow Divergence (MFD)
This indicator measures liquidity shifts by tracking momentum changes in price and volume.
โ MFD Calculation:
Uses Exponential Moving Average (EMA) of Momentum (MOM) to detect changes in buying/selling pressure.
If MFD is above its moving average, it signals liquidity inflows โ bullish strength.
If MFD is below its moving average, it signals liquidity outflows โ bearish weakness.
Why is this important?
Detects when Smart Money is accumulating or distributing before major moves.
Filters out false breakouts by confirming momentum strength before entry.
๐ 3. Trade Entry Triggers (Candlestick Patterns & ADX Filter)
To avoid random entries, the strategy waits for specific candlestick confirmations with ADX trend strength:
โ Bullish Entry (Buy Signal) โ Requires:
Bullish Engulfing Candle (Reversal confirmation)
ADX > 20 (Ensures strong trending conditions)
MFD above its moving average (Liquidity inflows)
9-EMA > 21-EMA & price above VWAP (Trend confirmation)
โ Bearish Entry (Sell Signal) โ Requires:
Bearish Engulfing Candle (Reversal confirmation)
ADX > 20 (Ensures strong trending conditions)
MFD below its moving average (Liquidity outflows)
9-EMA < 21-EMA & price below VWAP (Trend confirmation)
๐ 4. Risk Management & Profit Protection
This strategy is built with strict risk management to maintain low drawdowns and maximize profits:
โ Dynamic Position Sizing โ Automatically adjusts trade size to risk a fixed $400 per trade.
โ Adaptive Stop-Losses โ Uses ATR-based stop-loss (0.8x ATR) to adapt to market volatility.
โ Take-Profit Targets โ Fixed at 2x ATR for a Risk:Reward ratio of 2:1.
โ Break-Even Protection โ Moves stop-loss to entry once price moves 1x ATR in profit, locking in gains.
โ Max Daily Loss Limit (-$1,000) โ Stops trading if total losses exceed $1,000, complying with Topstep rules.
Machine Learning + IchimokuIchimoku Cloud + Machine Learning Levels is an advanced indicator that merges a classic trend tool with machine-learned supply & demand zones. Combining the two can help traders identify trends and key price zones with greater confidence when both signals align!
How it Works
The Ichimoku Cloud component identifies the trend direction and momentum at a glance โ it shows support/resistance areas via its cloud (Kumo) and signals potential trend changes when the Tenkan-sen and Kijun-sen lines cross. Meanwhile, the Machine Learning module analyzes historical price data to project potential support and resistance levels (displayed as horizontal lines) that the algorithm deems significant. By combining these, the script offers a two-layer confirmation: Ichimoku outlines the broader trend and equilibrium, while the ML levels pinpoint specific price levels where the price may react. For example, if price is above the Ichimoku Cloud (uptrend) and also near an ML-predicted support, the confluence of these signals strengthens the case for a bounce.
How to Use
Apply the indicator to a chart like any other TradingView script. It works on multiple asset classes (see supported list below). Once added:
Ichimoku Lines
Tenkan-sen (Blue): Short-term average reflecting recent highs/lows.
Kijun-sen (Red): Medium-term baseline for support/resistance.
Senkou Span A (Green) & Senkou Span B (Orange) form the โCloudโ (Kumo). Price above the Cloud often signals a bullish environment; price below it can signal a bearish environment.
Chikou Span (Purple): Plots current closing price shifted back, helping gauge momentum vs. past price.
ML-Predicted Support/Resistance Lines (Green/Red Horizontal Lines)
Green Horizontal Lines โ Potential support zones.
Red Horizontal Lines โ Potential resistance zones.
These dynamically adjust based on the specific asset and are updated as new historical data becomes available.
Password (for Advanced Features)
In the indicatorโs Settings, there is an input field labeled โPassword.โ The password corresponds to the ticker(s) listed below.
Stocks
TSLA, NVDA, AAPL, AMZN, PLTR, AMD, META, MSFT, MSTR, GOOG, GME, COIN, NFLX, BABA, UBER, HOOD, NKE
Cryptocurrencies
ETH, BTC, SOL, BNB, XRP, ADA, DOT, DOGE, LTC, JUP, LINK, INJ, FET, SAND, HBAR, TRX, SHIB, UNI
(If you attach the indicator to any unlisted ticker, you will only see the Ichimoku Cloud.)
Why Itโs Unique
This script is a fresh take on market analysis โ itโs original in fusing Ichimokuโs visual trend mapping with machine learning. The Ichimoku framework provides time-proven trend insight, and the ML levels add forward-looking context specific to each asset. By uniting them, the indicator aims to filter out false signals and highlight high-probability zones. No repainting occurs: Ichimoku values are based on closed data, and ML levels are computed from historical patterns (they do not retroactively change).
Ichimoku Cloud + Machine Learning Levels offers an informative blend of old and new analysis techniques. It clearly shows where price is relative to trend (via Ichimoku) and where it might react in the future (via ML levels). Use it to gain a richer view of the marketโs behavior. I hope this indicator provides valuable insights for your trading decisions. Happy trading!
Advanced Support and Resistance Levels[MAP]Advanced Support and Resistance Levels Indicator
Author
Developed by:
Overview
The "Advanced Support and Resistance Levels" indicator, created, is a sophisticated tool designed for TradingView's Pine Script v6 platform. It identifies and plots key support and resistance levels on a price chart, enhancing technical analysis by incorporating pivot strength, volume weighting, and level decay. The indicator overlays lines, zones, and labels on the chart, providing a visual representation of significant price levels where the market has historically reversed or consolidated.
Purpose
This indicator, authored by , aims to:
Detect significant pivot points (highs and lows) with customizable strength requirements.
Track and rank support/resistance levels based on their recency, volume, and number of touches.
Display these levels as lines and optional zones, with strength-based visual cues (e.g., line thickness and opacity).
Offer flexibility through user-configurable settings to adapt to different trading styles and market conditions.
Features
Pivot Detection:
Identifies high and low pivots using a strength parameter, requiring a specified number of bars on either side where no higher highs or lower lows occur.
Incorporates closing price checks and SMA-based trend confirmation to filter out noise and ensure pivots align with the broader market direction.
Level Management:
Maintains a dynamic array of levels with attributes: price, type (support/resistance), bars since last touch, strength, and volume.
Merges nearby levels within a tolerance percentage, updating prices with a strength-weighted average.
Prunes weaker or older levels when exceeding the maximum allowed, prioritizing those with higher calculated strength.
Strength Calculation:
Combines the number of touches (strength), volume (if enabled), and age decay (if enabled) into a single metric.
Volume weighting uses a logarithmic scale to emphasize high-volume pivots without over-amplifying extreme values.
Age decay reduces the importance of older levels over time, ensuring relevance to current price action.
Visualization:
Draws horizontal lines at each level, with thickness reflecting the number of touches (up to a user-defined maximum).
Optional price zones around levels, sized as a percentage of the price, to indicate areas of influence.
Labels display the level type (S for support, R for resistance), price, and strength score, with position (left or right) customizable.
Line opacity varies with strength, providing a visual hierarchy of level significance.
Plots small triangles at detected pivot points for reference.
Inputs
Lookback Period (lookback, default: 20): Number of bars to consider for trend confirmation via SMA. Range: 5โ100.
Pivot Strength (strength, default: 2): Number of bars required on each side of a pivot to confirm it. Range: 1โ10.
Price Tolerance % (tolerance, default: 0.5): Percentage range for merging similar levels. Range: 0.1โ5.
Max Levels to Show (maxLevels, default: 10): Maximum number of levels displayed. Range: 2โ50.
Zone Size % (zoneSizePercent, default: 0.1): Size of the S/R zone as a percentage of the price. Range: 0โ1.
Line Width (lineWidth, default: 1): Maximum thickness of level lines. Range: 1โ5.
Show Labels (showLabels, default: true): Toggle visibility of level labels.
Label Position (labelPos, default: "Right"): Position of labels ("Left" or "Right").
Level Strength Decay (levelDecay, default: true): Enable gradual reduction in strength for older levels.
Volume Weighting (volumeWeight, default: true): Incorporate volume into level strength calculations.
Support Color (supportColor, default: green): Color for support levels.
Resistance Color (resistColor, default: red): Color for resistance levels.
How It Works
Pivot Detection:
Checks for pivots only after enough bars (2 * strength) have passed.
A high pivot requires strength bars before and after with no higher highs or closes, and a short-term SMA above a long-term SMA.
A low pivot requires strength bars before and after with no lower lows or closes, and a short-term SMA below a long-term SMA.
Level Tracking:
New pivots create levels with initial strength and volume.
Existing levels within tolerance are updated: strength increases, volume takes the maximum value, and price adjusts via a weighted average.
Levels older than lookback * 4 bars with strength below 0.5 are removed.
If the number of levels exceeds maxLevels, the weakest (by calculated strength) are pruned using a selection sort algorithm.
Drawing:
Updates on the last confirmed bar or in real-time.
Lines extend lookback bars left and right from the current bar, with thickness based on touches.
Zones (if enabled) are drawn symmetrically around the level price.
Labels show detailed info, with opacity tied to strength.
Usage
Add to Chart: Apply the indicator to any TradingView chart via the Pine Script editor, as designed by .
Adjust Settings: Customize inputs to match your trading strategy (e.g., increase strength for stronger pivots, adjust tolerance for tighter level merging).
Interpret Levels: Focus on thicker, less transparent lines for stronger levels; use zones to identify potential reversal areas.
Combine with Other Tools: Pair with trend indicators or oscillators for confluence in trading decisions.
Notes
Performance: The indicator uses arrays and sorting, which may slow down on very long charts with many levels. Keep maxLevels reasonable for efficiency.
Accuracy: Enhanced by trend confirmation and volume weighting, making it more reliable than basic S/R indicators, thanks to 's design.
Limitations: Real-time updates may shift levels as new pivots form; historical levels are more stable.
Example Settings
For day trading: lookback=10, strength=1, tolerance=0.3, maxLevels=5.
For swing trading: lookback=50, strength=3, tolerance=0.7, maxLevels=10.
Credits
Author: โ Creator of this advanced support and resistance tool, blending precision and customization for traders.
Bollinger Bands MTF & Kalman Filter | Flux Charts๐ Multi-Timeframe Kalman Filtered Bollinger Bands Indicator
Introducing our MTF Kalman Filtered Bollinger Bands โ a powerful multi-timeframe Bollinger Bands (BB) indicator enhanced with Kalman filtering for superior smoothing and trend analysis. This indicator dynamically adapts Bollinger Bands across multiple timeframes while incorporating volume-based gradient transparency to highlight significant price movements. This indicator is better optimized for lower timeframes.
โ How to Interpret the Bands & Volume Gradient:
Our indicator combines Lower Timeframe (LTF) and Higher Timeframe (HTF) Bollinger Bands to provide a comprehensive trend analysis. It applies Kalman filtering to the LTF bands, ensuring smoother, noise-reduced signals. The color gradient and relative volume-based transparency offer deeper insights into price strength.
๐น LTF Bollinger Bands: Shorter-period bands filtered with a Kalman smoothing algorithm, reducing lag and noise.
๐น HTF Bollinger Bands: Traditional Bollinger Bands plotted on a higher timeframe, offering macro trend analysis.
๐น Volume Gradient Transparency: The bands adjust their opacity based on relative buy/sell volume, allowing traders to assess momentum strength.
๐ How Does It Work?
1๏ธโฃ Multi-Timeframe Bollinger Bands Calculation
The LTF BB uses Kalman filtering for a smoother price representation, helping to reduce false signals.
The HTF BB is EMA-smoothed for improved trend clarity.
2๏ธโฃ Adaptive Gradient Transparency
The opacity of the fill color between the bands is determined by relative buy/sell volume.
Higher buy volume = stronger bullish signal (greener bands).
Higher sell volume = stronger bearish signal (redder bands).
3๏ธโฃ Dynamic Trend Signals & Breakouts
Buy Signal: When price breaks below the HTF lower band and LTF bands start rising.
Sell Signal: When price breaks above the HTF upper band and LTF bands start falling.
โ๏ธ Settings & Customization:
๐ LTF and HTF Bollinger Bands Settings:
Multiplier: The multiplier applied to the BB to determine the upper and lower bands
Length: Define the number of bars determines the BB calculations.
Custom Timeframe Selection: Choose from predefined options (e.g., 5m, 15m, 1H, 4H, etc).
๐จ Gradient & Transparency Settings:
Bullish/Bearish Color Options: Customize colors for uptrend and downtrend conditions.
Max & Min Opacity: Adjust the transparency levels based on volume intensity.
Solid vs. Gradient Mode: Choose between a gradient fill or a solid color mode for clarity.
๐ Recommended Settings for Optimal Use:
1๏ธโฃ Timeframe Selection (LTF -> HTF):
1 min -> 5 min
2 min -> 5 min
3 min -> 15 min
5 min -> 15 min
15 min -> 1 hr
1 hr -> 4 hr
4 hr -> 1 day
2๏ธโฃ Multiplier: Use 2.0 for LTF and 2.25 for HTF
3๏ธโฃLength: Use a length of 20 - 30 bars
๐ Why Use This Indicator?
โ
Multi-Timeframe Bollinger Bands with Kalman Filtering โ Ideal for traders looking for reduced lag and clearer trend signals.
โ
Volume-Based Transparency โ See momentum shifts instantly with adaptive opacity.
โ
Dynamic Buy & Sell Signals โ Alerts based on price action + volume trends.
โ
Customizable for Any Strategy โ Adjust colors, timeframes, and filtering options for personalized trading.
Historical Monthly Returns TrackerThe Historical Monthly Returns Tracker is a powerful Pine Script v5 indicator designed to provide a detailed performance analysis of an assetโs monthly returns over time. It calculates and displays the percentage change for each month, aggregated into a structured table. The indicator helps traders and investors identify seasonal trends, recurring patterns, and historical profitability for a selected asset.
Key Features
โ
Historical Performance Analysis โ Tracks monthly percentage changes for any asset.
โ
Customizable Start Year โ Users can define the beginning year for data analysis.
โ
Comprehensive Data Table โ Displays a structured table with yearly returns per month.
โ
Aggregated Statistics โ Shows average return, total sum, number of positive months, and win rate (WR) for each month.
โ
Clear Color Coding โ Highlights positive returns in green, negative in red, and neutral in gray.
โ
Works on Daily & Monthly Timeframes โ Ensures accurate calculations based on higher timeframes.
How It Works
Data Collection:
The script fetches monthly closing prices.
It calculates month-over-month percentage change.
The values are stored in a matrix for further processing.
Table Generation:
Displays a structured table where each row represents a year, and each column represents a month (JanโDec).
Monthly returns are color-coded for easy interpretation.
Aggregated Statistics:
AVG: The average return per month across all available years.
SUM: The total cumulative return for each month.
+ive: The number of times a month had positive performance vs. total occurrences.
WR (Win Rate): The percentage of times a month had a positive return.
Use Cases
๐ Seasonality Analysis: Identify which months historically perform better or worse.
๐ Risk Management: Plan trading strategies based on historical trends.
๐ Backtesting Aid: Support algorithmic and discretionary traders with real data insights.
๐ Asset Comparison: Compare different stocks, forex pairs, or cryptocurrencies for their seasonal behavior.
How to Use
Apply the Indicator to a chart in TradingView.
Ensure your timeframe is Daily or Monthly (lower timeframes are not supported).
The table will automatically populate based on available historical data.
Analyze the patterns, trends, and win rates to optimize trading decisions.
Limitations
โ ๏ธ Requires a sufficient amount of historical data to provide accurate analysis.
โ ๏ธ Works best on high-liquidity assets (stocks, indices, forex, crypto).
โ ๏ธ Not a predictive tool but rather a historical performance tracker.
Final Thoughts
The Historical Monthly Returns Tracker is an excellent tool for traders seeking to leverage seasonal trends in their strategies. Whether you're a stock, forex, or crypto trader, this indicator provides clear, data-driven insights to help refine entry and exit points based on historical patterns.
๐ Use this tool to make smarter, more informed trading decisions!
Adaptive RSI with Real-Time Divergence [AIBitcoinTrend]๐ฝ Adaptive RSI Trailing Stop (AIBitcoinTrend)
The Adaptive RSI Trailing Stop is an indicator that integrates Gaussian-weighted RSI calculations with real-time divergence detection and a dynamic ATR-based trailing stop. This advanced approach allows traders to monitor momentum shifts, identify divergences early, and manage risk with adaptive trailing stop levels that adjust to price action.
๐ฝ What Makes the Adaptive RSI with Signals and Trailing Stop Unique?
Unlike traditional RSI indicators, this version applies a Gaussian-weighted smoothing algorithm, making it more responsive to price action while reducing noise. Additionally, the trailing stop feature dynamically adjusts based on volatility and trend conditions, allowing traders to:
Detects real-time divergences (bullish/bearish) with a smart pivot-based system.
Filter noise with Gaussian weighting, ensuring smoother RSI transitions.
Utilize crossover-based trailing stop activation, for systematic trade management.
๐ฝ The Math Behind the Indicator
๐พ Gaussian Weighted RSI Calculation
Traditional RSI calculations rely on simple averages of gains and losses. Instead, this indicator weights recent price changes using a Gaussian distribution, prioritizing more relevant data points while maintaining smooth transitions.
Key Features:
Exponential decay ensures recent price changes are weighted more heavily.
Reduces short-term noise while maintaining responsiveness.
๐พ Real-Time Divergence Detection
The indicator detects bullish and bearish divergences using pivot points on RSI compared to price action.
๐พ Dynamic ATR-Based Trailing Stop
Bullish Trailing Stop: Activates when RSI crosses above 20 and dynamically adjusts based on low - ATR multiplier.
Bearish Trailing Stop: Activates when RSI crosses below 80 and adjusts based on high + ATR multiplier
This allows traders to:
Lock in profits systematically by adjusting stop-losses dynamically.
Stay in trades longer while maintaining adaptive risk management.
๐ฝ How It Adapts to Market Movements
โ๏ธ Gaussian Filtering ensures smooth RSI transitions while preventing excessive lag.
โ๏ธ Real-Time Divergence Alerts provide early trade signals based on price-RSI discrepancies.
โ๏ธ ATR Trailing Stop dynamically expands or contracts based on market volatility.
โ๏ธ Crossover-Based Activation enables the stop-loss system only when RSI confirms a momentum shift.
๐ฝ How Traders Can Use This Indicator
๐พ Divergence Trading
Traders can use real-time divergence detection to anticipate reversals before they happen.
Bullish Divergence Setup:
Look for RSI making a higher low, while price makes a lower low.
Enter long when RSI confirms upward momentum.
Bearish Divergence Setup:
Look for RSI making a lower high, while price makes a higher high.
Enter short when RSI confirms downward momentum.
๐พ Trailing Stop Signals
Bullish Signal and Trailing Stop Activation:
When RSI crosses above 20, a trailing stop is placed using low - ATR multiplier.
If price crosses below the stop, it exits the trade and removes the stop.
Bearish Signal and Trailing Stop Activation:
When RSI crosses below 80, a trailing stop is placed using high + ATR multiplier.
If price crosses above the stop, it exits the trade and removes the stop.
This makes trend-following strategies more efficient, while ensuring proper risk management.
๐ฝ Why Itโs Useful for Traders
โ๏ธ Dynamic and Adaptive: Adjusts to changing market conditions automatically.
โ๏ธ Noise Reduction: Gaussian-weighted RSI reduces short-term price distortions.
โ๏ธ Comprehensive Strategy Tool: Combines momentum detection, divergence analysis, and automated risk management into a single indicator.
โ๏ธ Works Across Markets & Timeframes: Suitable for stocks, forex, crypto, and futures trading.
๐ฝ Indicator Settings
RSI Length: Defines the lookback period for RSI smoothing.
Gaussian Sigma: Controls how much weight is given to recent data points.
Enable Signal Line: Option to display an RSI-based moving average.
Divergence Lookback: Configures how far back pivot points are detected.
Crossover/crossunder values for signals: Set the crossover/crossunder values that triggers signals.
ATR Multiplier: Adjusts trailing stop sensitivity to market volatility.
Disclaimer: This indicator is designed for educational purposes and does not constitute financial advice. Please consult a qualified financial advisor before making investment decisions.
Ivan Gomes StrategyIG Signals+ - Ivan Gomes Strategy
This script is designed for scalping and binary options trading, generating buy and sell signals at the beginning of each candle. Although it is mainly optimized for short-term operations, it can also be used for medium and long-term strategies with appropriate adjustments.
How It Works
โข The indicator provides buy or sell signals at the start of the candle, based on a statistical probability of candle patterns, depending on the timeframe.
โข It is essential to enter the trade immediately after the signal appears and exit at the end of the same candle.
โข If the first operation results in a loss (Loss), the script will send another trade signal at the start of the next candle. However, if the first trade results in a win (Gain), no new signal will be generated.
โข The signals follow cycles of 3 candles, regardless of the timeframe. However, if a Doji candle appears, the cycle is interrupted, and no signals will be generated until the next valid cycle starts.
โข The strategy consists of up to two trades per cycle: if the first trade is not successful, the second trade serves as an additional attempt to recover.
Key Points to Consider
1. Avoid trading in sideways markets โ If price levels do not fluctuate significantly, the accuracy of the signals may decrease.
2. Trade in the direction of the trend โ Using Ichimoku clouds or other trend indicators can help confirm trend direction and improve signal reliability. If the market is in an uptrend (bullish trend) and the indicator generates a sell signal, the most prudent decision would be to wait for a buy signal that aligns with the main trend. The same applies to downtrends, where buy signals may be riskier.
These decisions should be based on chart reading and supported by other technical analysis tools, such as support and resistance levels, which indicate zones where price might face obstacles or reverse direction. Additionally, Fibonacci retracement levels can help identify possible pullback points within a trend. Moving averages are also useful for visualizing the general market direction and confirming whether an indicator signal aligns with the overall price structure. Combining these tools can increase trade accuracy and prevent unnecessary trades against the main trend, reducing risks.
3. Works based on probability statistics โ The algorithm analyzes candle formations and their statistical probabilities depending on the timeframe to optimize trade entries.
4. Best suited for scalping and binary options โ This strategy performs best in 1-minute and 5-minute timeframes, allowing for multiple trades throughout the day.
Technical Details
โข The script detects the candle cycle and assigns an index to each candle to identify patterns and possible reversals.
โข It recognizes reference candles, stores their colors, and compares them with subsequent candles to determine if a signal should be triggered.
โข Doji candle rules are implemented to avoid false signals in indecisive market conditions. When a Doji appears, the script does not generate signals for that cycle.
โข The indicator displays visual alerts and notifications, ensuring fast execution of trades.
Disclaimer
The IG Signals+ indicator was created to assist traders who struggle to analyze the market by providing objective trade signals. However, no strategy is foolproof, and this script does not guarantee profits.
Trading involves significant financial risk, and users should test it in a demo account before trading with real money. Proper risk management is crucial for long-term success.
MTF Sentiment ProMTF Sentiment Pro - Advanced Multi-Timeframe Analysis
Purpose & Methodology
MTF Sentiment Pro provides traders with comprehensive market sentiment analysis across multiple timeframes. This indicator's unique innovation is its weighted scoring system that evaluates both technical indicators and volume metrics to determine market sentiment across customizable timeframes.
Unlike simple indicator overlays or basic multi-timeframe tools, this indicator:
1. Calculates sentiment using a proprietary weighted formula across 7 different timeframes
2. Incorporates volume confirmation to validate price movements (a critical element often overlooked)
3. Provides clear visualization of sentiment alignment between lower and higher timeframes
4. Uses majority-rule algorithms for overall sentiment determination (2/3 rule for LTF, 3/4 rule for HTF)
Technical Components & Integration
Each timeframe's sentiment score is derived from a combination of:
- **EMA**: Evaluates trend direction and price position relative to moving average
- **RSI**: Measures momentum with sensitivity to the 50-level for trend determination
- **MACD**: Assesses trend strength and momentum through histogram analysis
- **Bollinger Bands**: Determines price volatility and position relative to the mean
- **VWAP**: Provides volume-adjusted price reference
- **OBV**: Confirms price moves with cumulative volume analysis
What makes this combination powerful is how these components are integrated:
- Each indicator contributes a weighted value to the overall sentiment score
- User-definable weights allow customization based on strategy preferences
- Volume confirmation adds a critical dimension beyond basic price-only indicators
- Multi-timeframe analysis helps identify alignment/divergence across time horizons
Trading Applications & Limitations
This indicator works best for:
- Trend confirmation across multiple timeframes
- Identifying potential reversal zones where LTF and HTF sentiments diverge
- Entry/exit timing when paired with your primary strategy rules
- Market structure analysis across different time horizons
Note: While this indicator provides comprehensive sentiment analysis, it should be used as part of a complete trading strategy with proper risk management. No indicator can predict market movements with certainty.
Usage Instructions
1. Select appropriate timeframes for your trading style or use one of the included presets
2. Adjust indicator weights to match your analytical preferences
3. Look for timeframe alignment/divergence to identify potential opportunities
4. Use the overall LTF and HTF sentiment readings for broader market context
This indicator was developed to solve the challenge of efficiently analyzing sentiment across multiple timeframes while incorporating volume confirmation - something that would otherwise require multiple indicators and manual correlation.