Moving Average Contrarian IndicatorThis indicator is designed to identify potential turning points in the market. By measuring the distance between the price and a moving average, and normalizing it, the MACI provides valuable insights into market sentiment and potential reversals. In this article, we will explore the calculation, interpretation, and practical applications of the MACI, along with its potential limitations.
The MACI is calculated in several steps. First, a moving average is computed using a user-defined length, representing the average price over the specified period. The distance between the current price and the moving average is then determined. This distance is normalized using the highest and lowest distances observed within the chosen length, resulting in a value between 0 and 100. Higher MACI values indicate that the price is relatively far from the moving average, potentially signaling an overextension, while lower values suggest price consolidation or convergence with the moving average.
Altering the parameters of the Moving Average Contrarian Indicator can provide traders with additional flexibility and adaptability to suit different market conditions and trading styles. By adjusting the length parameter, traders can customize the sensitivity of the indicator to price movements. A shorter length may result in more frequent and responsive signals, which can be useful for short-term traders aiming to capture quick price reversals. On the other hand, a longer length may provide smoother signals, suited for traders who prefer to focus on longer-term trends and are less concerned with minor fluctuations. Experimenting with different parameter values allows traders to fine-tune the indicator to align with their preferred trading timeframes and risk tolerance. However, it is essential to strike a balance and avoid excessive parameter adjustments that may lead to over-optimization or curve fitting. Regular evaluation and optimization based on historical data and real-time market observations can help identify the most suitable parameter values for optimal performance.
The coloration of the Moving Average Contrarian Indicator provides visual cues that assist traders in interpreting its signals. The background color, set based on the indicator's values, adds an additional layer of context to the chart. When the indicator is indicating bullish conditions, the background color is set to lime, suggesting a favorable environment for long positions. Conversely, when the indicator signals bearish conditions, the background color is set to fuchsia, indicating a potential advantage for short positions. In neutral or transitional periods, the background color is set to yellow, indicating caution and the absence of a clear bias.
The bar color complements the histogram and provides additional visual clarity. When the MACI value is greater than the MACI SMA value and exceeds the threshold of 30, the bars are colored lime, signaling potential bullish conditions. Conversely, when the MACI value is below the MACI SMA value and falls below the threshold of 70, the bars are colored fuchsia, indicating potential bearish conditions. For values that fall between these thresholds, the bars are colored yellow, highlighting a neutral or transitional state.
Practical Uses and Strategies:
The MACI offers traders and analysts valuable insights into market dynamics and potential reversal points. When the MACI is above its moving average and above a predefined threshold (e.g., 30), it suggests that prices have deviated significantly from the average and may be overbought. This could serve as an early indication for potential short-selling opportunities or taking profits on existing long positions. Conversely, when the MACI is below its moving average and below a predefined threshold (e.g., 70), it suggests oversold conditions, potentially signaling a buying opportunity. Traders can combine MACI with other technical indicators or price patterns to further refine their trading strategies.
The MACI can be a powerful tool for identifying potential market reversals. When the MACI reaches extreme levels, such as above 70 or below 30, it indicates overbought or oversold conditions, respectively. Traders can use these signals to anticipate price reversals and adjust their trading strategies accordingly. For example, when the MACI enters the overbought zone, traders may consider initiating short positions or tightening stop-loss levels on existing long positions. Conversely, when the MACI enters the oversold zone, it may indicate a buying opportunity, prompting traders to consider initiating long positions or loosening stop-loss levels.
The MACI can also be used in conjunction with price action to identify potential divergence patterns. Divergence occurs when the MACI and price move in opposite directions. For instance, if the price is making higher highs while the MACI is making lower highs, it suggests a bearish divergence, indicating a potential trend reversal. Conversely, if the price is making lower lows while the MACI is making higher lows, it suggests a bullish divergence, signaling a potential trend reversal to the upside. Traders can use these divergence patterns as additional confirmation signals when making trading decisions.
Limitations:
-- Sideways and Choppy Markets : The MACI performs best in trending markets where price movements are more pronounced. In sideways or choppy markets with limited directional bias, the MACI may generate false signals or provide less reliable indications. Traders should exercise caution when relying solely on the MACI in such market conditions and consider incorporating additional analysis techniques or filters to confirm potential signals.
-- Lagging Indicator : The MACI is a lagging indicator, as it relies on moving averages and historical price data. It may not provide timely signals for very short-term trading or capturing rapid price movements. Traders should be aware that there may be a delay between the occurrence of a signal and its confirmation by the MACI.
-- False Signals : Like any technical indicator, the MACI is not immune to false signals. It is essential to use the MACI in conjunction with other technical indicators, chart patterns, or fundamental analysis to increase the probability of accurate predictions. Combining multiple confirmation signals can help filter out false signals and enhance the overall reliability of trading decisions.
-- Market Conditions : It's important to consider that the effectiveness of the MACI may vary across different markets and asset classes. Each market has its own characteristics, and what works well in one market may not work as effectively in another. Traders should evaluate the performance of the MACI within their specific trading environment and adapt their strategies accordingly.
This indicator can be a valuable addition to a trader's toolkit, offering insights into potential entry and exit points. However, it should be used in conjunction with other analysis techniques and should not be relied upon as a standalone trading signal. Understanding its calculation, interpreting its values, and considering its limitations will empower traders to make more informed decisions in their pursuit of trading success.
Contrarianindicator
Bellcurves (Zeiierman)█ Overview
Bellcurves (Zeiierman) models impulse-driven expansion and contraction in price using a pair of adaptive “Bellcurve” flows (positive/negative), momentum dots, a sensitivity/normalization layer, pre-alerts, decline detection, and a built-in divergence suite. Instead of treating every bar equally, it builds scale-aware impulse fields from a weighted price source, normalizes them into comparable magnitudes, and then highlights impulse clusters, pre-alerts (rising pressure), and impulse declines. These waves behave like impulse envelopes: when expansion persists, columns cluster and momentum dots fire; when pressure fades, decline signals and divergences appear.
Use it to spot the first thrust of a new leg, the final push before exhaustion, or quiet accumulation/distribution within ranges.
⚪ Why This One Is Unique
Bellcurves (Zeiierman) combines several adaptive mechanisms into a single, self-tuning framework that captures both momentum expansion and directional decay. Its dual Bellcurve core extracts directional strength through asymmetric smoothers and non-linear amplification, isolating genuine impulses from random volatility. A Quick-Response mode enhances sensitivity in fast markets, while the normalization layer preserves consistency across instruments and timeframes.
█ Main features
⚪ Bellcurves
The Positive and Negative Bellcurves form the foundation of the indicator, visualizing directional expansion in price. Each curve is derived from weighted price dynamics and transformed into an adaptive field that expands with trend acceleration and contracts during exhaustion. Displayed as column waves (or oscillator-style), they reveal the rhythm of market impulses; steady clustering denotes continuation, while isolated bursts or fading peaks hint at potential reversals.
Price Acceleration
Trend Acceleration
Note: To visualize trend acceleration and sustained high-momentum trends, increase the Bellcurve Trend Length parameter to 200. This setting emphasizes long-term directional strength and filters out short-term noise.
Reversals
⚪ Impulse Dots
Impulse Dots mark the first and last bursts within a momentum cluster. Detected through adaptive clustering logic, these dots appear as green (positive) or red (negative) signals that often coincide with early breakouts or terminal exhaustion zones. Traders can interpret the first dot as potential momentum ignition. Alerts are provided for each stage, enabling fast reaction to shifting impulse conditions.
⚪ Divergences
The built-in Divergence Engine automatically identifies regular bullish and bearish divergences between price and the Bellcurves. By analyzing the declining and rising segments of the curves, it detects subtle mismatches between price movements and underlying impulse strength.
█ How to Use
⚪ Trend Trading
The Bellcurves help visualize the rhythm of market trends through alternating Positive (green) and Negative (red) Bellcurves. These represent periods of directional expansion when momentum builds and contraction when momentum fades.
Tip: To enable the Trend Bellcurves, increase Bellcurve Trend Length to 100–200. To detect regime shifts earlier, consider enabling Quick Response to respond more quickly to emerging trends.
Positive Trend (Green Bellcurve): Indicates bullish control. Sustained green clusters show stable upward participation and consistent buying pressure.
Negative Trend (Red Bellcurve): Indicates bearish control. Sustained red clusters reveal dominant selling pressure and downside continuation.
Trend Transitions
Positive Trend is Strengthening: When the green Bellcurve expands and height increases, momentum is accelerating and bullish conviction is building.
Positive Trend is Weakening: When the green Bellcurve contracts or begins to shrink, upward pressure is fading and potential exhaustion is developing.
Negative Trend is Strengthening: Red columns expand and deepen below the midline, bearish momentum building, and downside pressure increasing.
Negative Trend is Weakening: When the red Bellcurve contracts or softens, it signals that bearish pressure is losing force, a possible early sign of reversal or accumulation.
⚪ Reversal Trading
Reversal trading with the Bellcurves is one of the most effective and visually intuitive strategies, especially when going long after a Negative Bellcurve. These events often occur quickly and sharply, and when combined with key price levels such as the previous day’s close, high, or low, they can provide high-probability entry opportunities.
To focus on only the most meaningful reversals, disable “Activate Sensitive Bellcurves”. This filters out minor impulses and displays only the most significant Bellcurves across the chart, helping you isolate genuine exhaustion or inflection points.
Note: Reversal trading is inherently more challenging due to the increased volatility and emotional intensity (fear and greed) surrounding turning points. Use the Bellcurves as a confirmation tool, not a standalone entry signal. Always consider the broader market context. In strong trending markets, Bellcurve peaks may reflect continued strength rather than reversal.
A Green Positive Bellcurve forming after a fast upward move and rejection from a resistance zone can indicate a potential bearish reversal.
A Red Negative Bellcurve appearing near a support level often acts as confirmation for a potential bullish reversal, suggesting downside exhaustion and renewed buying interest.
⚪ Momentum / Impulse Trading
Momentum (or Impulse) Trading is designed for traders looking to enter in the direction of a strong, ongoing move. The Bellcurves indicator helps identify significant impulses on a higher timeframe, moments where directional pressure expands decisively. Once those impulses are identified, traders can refine entries on a lower timeframe, using an opposite Bellcurve as a trigger signal. This multi-timeframe approach allows for precise entries within larger momentum phases.
Bullish Momentum Trading
Start by analyzing a higher timeframe, for example, the 15-minute chart.
Identify a Positive (Green) Bellcurve and mark the first impulse dot, signaling the beginning of upward momentum.
Drop down to a lower timeframe (such as the 1-minute chart).
Wait for a Negative (Red) Bellcurve to peak; this short-term counter-impulse serves as a pullback entry point.
Enter long as the lower timeframe Bellcurve fades, aligning your trade with the dominant bullish impulse seen on the higher timeframe.
This approach ensures that your long entries occur within an expanding bullish phase, rather than chasing late moves.
Bearish Momentum Trading
Begin on a higher timeframe, such as the 1-hour chart, and locate a Negative (Red) Bellcurve with a visible impulse dot, confirming strong bearish momentum.
Shift to a lower timeframe like the 15-minute chart.
Wait for a Positive (Green) Bellcurve to peak; this short-term upward counter-move acts as a setup for continuation.
Enter short as that green Bellcurve begins to decline, synchronizing with the dominant bearish impulse from the higher timeframe.
This ensures that short trades align with expanding downside momentum, entering at moments of retracement within a broader selling phase.
█ How It Works
⚪ Bellcurve Construction Framework
The indicator generates directional Bellcurves through an adaptive modeling process that measures price displacement and trend curvature over time. Each Bellcurve reflects the evolving balance between expansion and absorption in market flow, forming the characteristic “bell” structures that widen during directional acceleration and compress during consolidation.
Calculation: Employs a multi-layered smoothing and normalization process to enhance directional clarity while preserving overall balance within the signal field.
⚪ Momentum & Cluster Engine
Momentum dots are generated through a multi-stage transformation that identifies the initiation and termination points of impulse clusters. By scanning for statistically relevant minima and maxima within the Bellcurve stream, the system isolates bursts of meaningful directional activity.
Calculation: Applies recursive power mapping and localized clustering to detect temporal impulse boundaries and validate “first” and “last” bursts within each momentum sequence.
⚪ Divergence Module
The divergence framework maps relationships between price structure and Bellcurve dynamics to uncover weakening or strengthening flows beneath visible price action. It detects classical bullish and bearish divergences and projects them directly onto the chart as lines and markers.
Calculation: Uses anchored decline-state tracking, relative high–low comparison, and vector slope analysis to measure phase displacement between price and impulse flow, confirming divergence integrity without lag.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Script a pagamento
ATR Trend & ATR Top/Bottom (Zeiierman)█ Overview
ATR Trend & ATR Top/Bottom (Zeiierman) blends momentum, volatility, and adaptive trend analysis into a unified framework. It fuses a dynamic oscillator with ATR-based exhaustion detection to identify trend direction, impulses, and potential reversals within the same structure.
Rather than viewing volatility as noise, this tool interprets it as trend expansion, which represents directional conviction, while contraction signals absorption or exhaustion. By combining multi-phase smoothing, adaptive ATR scaling, and contextual trend filtering, the indicator delivers a complete picture of when a market is accelerating, stabilizing, or reversing.
It performs best once a trend has matured and volatility normalizes around a directional core, giving traders the confidence to participate in established moves while dynamically managing risk.
⚪ Why This One Is Unique
Traditional trend oscillators rely on fixed parameters that degrade across assets or timeframes. ATR Trend & ATR Top/Bottom instead employs adaptive weighting and volatility-normalized filtering that automatically aligns with the current market structure.
Its framework integrates three distinct components:
Adaptive Oscillator Core that reveals the internal rhythm of trend and momentum.
ATR Top/Bottom Layer that marks exhaustion and potential turning zones.
Trend Signal & Dynamic Trailing Stop Engine that highlights directional shifts, confirms alignment with the prevailing trend, and transforms trend data into a self-adjusting risk-management system.
█ Main Features
⚪ ATR Trend (The Main Oscillator)
The ATR Trend serves as the indicator’s primary oscillator, translating price and volatility dynamics into a smooth directional curve. When the oscillator line remains above its equilibrium, bullish momentum dominates; when it stays below, bearish momentum prevails. Color transitions reflect real-time trend bias, helping traders immediately recognize whether the market is strengthening or weakening.
This component forms the structural core of the tool, defining overall trend direction, momentum intensity, and transition zones.
It also visualizes trend expansion through the fast leading signal line. When this line crosses above the upper or below the lower boundary, it signals an expansive move within the active trend, often representing short-term overbought or oversold conditions, and can also indicate trend strength in the prevailing market direction.
⚪ ATR Top/Bottom
The ATR Top/Bottom layer highlights potential exhaustion zones within the trend. Green peaks reveal areas of buy-side saturation, suggesting a possible slowdown or reversal in bullish momentum, while red peaks mark sell-side extremes, often appearing before stabilization or renewed strength. These zones help traders identify when a move is becoming stretched or losing balance, offering valuable context for managing exits, scaling out, or anticipating reversals. However, these areas can extend for a prolonged period when price is in a strong, sustained trend, reflecting persistent directional pressure rather than immediate exhaustion.
⚪ Trend Channel Hits
The Trend Channel Hits feature visualizes moments when the price interacts with the projected internal trend channel boundaries of the prevailing trend.
Green arrows appear when the price touches the upper boundary of the trend channel. This can indicate two possible outcomes:
A potential breakout from a negative trend into a developing bullish trend, as price breaks above the upper boundary of the descending channel.
A take-profit zone within an established bullish trend, as price reaches the upper channel where mean reversion is likely to occur.
Red arrows appear when the price touches the lower boundary of the trend channel. This can indicate:
A potential breakout from a positive trend into a developing bearish trend, as price breaks below the lower boundary of the rising channel.
A take-profit opportunity within an established bearish trend, as price reaches the lower channel where mean reversion or short-term recovery is likely to occur.
These signals provide early visual confirmation of trend exhaustion, continuation, or structural breakout, helping traders refine entries, exits, and profit-taking within the broader market context.
█ How to Use
⚪ Trend Following
When the oscillator line remains above the mid-level, the market is in a bullish phase. When it stays below the mid-level, the trend is bearish. Periods where the oscillator holds close to its upper or lower limits indicate strong, sustained momentum in that direction. Watch for color changes or crossovers near the mid-level, as these often signal an upcoming shift in trend control.
Bullish Trend
Bearish Trend
⚪ Trend Signals
To help traders identify and participate in trend trades, the indicator includes pre-built Trend Signals that highlight optimal entry conditions within confirmed market trends. These signals are designed to activate only once the market shows established directional momentum, ensuring higher reliability and filtering out noise from short-term fluctuations.
In addition, the indicator includes built-in take-profit markers for each signal. These serve as suggested partial exit levels, helping traders systematically secure profits while allowing the remaining position to follow the trend with the dynamic trailing stop.
Before relying on the signals, always confirm that the market has been trending for a sustained period. This ensures that entries align with genuine long-term directional strength rather than temporary volatility.
Bullish Trend Signals
Bullish Trend Signals appear during an established uptrend when the indicator detects confirmed positive momentum and stable directional structure. These signals mark potential continuation points where buyers regain control after short-term pauses or pullbacks.
The objective is to follow the trend signals, manage trades with the dynamic trailing stop, and consider taking partial profits at the inbuilt take-profit levels plotted by the indicator.
This setup works best when the market is trending clearly upward and has demonstrated consistent buying strength over time.
Bearish Trend Signals
Bearish Trend Signals occur during a confirmed downtrend, indicating that selling momentum remains dominant and the trend structure is intact. They typically appear after short-term corrective rallies, signaling that sellers are reasserting control within the broader bearish environment.
As with bullish signals, the goal is to follow the trend signals and trailing stop to capture sustained downside movement, while using the inbuilt take-profit levels to lock in partial gains as the move progresses. This approach performs best when the market is in a clear, mature downtrend with persistent selling pressure and expanding downside momentum.
⚪ Trend Impulses
Impulses represent short bursts of directional acceleration within the active trend.
A surge above the upper band reflects bullish expansion.
A move below the lower band marks bearish acceleration.
These impulses often precede short consolidations before the trend resumes. Traders can use them to scale into strong phases or take partial profits at temporary extremes.
⚪ Reversals
Enable ATR Top/Bottom to monitor momentum peaks:
Red peaks show strong selling momentum. When these peaks start to fade, it can signal that selling pressure is weakening and a potential recovery may be forming.
Green peaks show strong buying momentum. As their size shrinks, it may signal that buying pressure is slowing, and a possible pullback or reversal could follow.
⚪ Extended Trends
For traders who want to visualize intense, extended trend phases, enable the ATR Top/Bottom feature and increase the Length setting to around 30, with Sensitivity set between 40 and 50. Consider reducing the ATR Trend Length to 50 to gain clearer signals of when a trend begins and ends.
This configuration extends the ATR Top/Bottom zones across the entire duration of a major trend, making it easier to identify sustained directional strength and long-lasting momentum phases.
█ How It Works
⚪ Adaptive Oscillator Engine
The oscillator interprets directional flow through a combination of momentum mapping and volatility weighting. It continuously re-centers its equilibrium to reflect evolving market structure, producing a stable yet responsive representation of underlying trend force.
Calculation: Applies multi-domain smoothing and adaptive normalization to align amplitude with volatility while maintaining directional coherence.
⚪ ATR Top/Bottom Detection
The exhaustion layer isolates high-magnitude deviations from the current volatility envelope, identifying potential top and bottom regions where expansion may stall.
Calculation: Uses proportional volatility thresholds and dynamic range modeling to highlight statistically elevated momentum extremes without over-reacting to noise.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Script a pagamento


