MACD_magistraturaCustom Indicator "MACD Magistratura" — Precision in Momentum, Clarity in Structure
🔹 Why trade with outdated MACD settings?
— Classic MACD is useful, but limited:
→ One timeframe, one signal, one view,
→ Often noisy, lagging, and hard to contextualize.
— Most traders use it blind — without knowing when it works, and when it misleads.
🔹 What is MACD Magistratura?
— A custom-built evolution of the classic MACD,
— Engineered for multi-timeframe clarity,
— Designed to show not just momentum — but its hierarchy across timeframes.
🔹 Key advantages:
✅ No more clutter — one indicator replaces 2+ classic MACDs,
✅ No repaint — values are stable, based on closed candles,
✅ Clear divergence detection — compare price vs. multi-TF MACD perpendicularly,
✅ Perfect for trend confirmation — especially when combined with SMA Magistratura.
Осцилляторы
RSI_magistratura⚜️ Custom Indicator "RSI_Magistratura" — Combining the Best Oscillators in One Tool
🔹 What we’re learning:
— The difference between classic oscillators (MACD, RSI, Stochastic) and our custom RSI Magistratura indicator,
— Why using three indicators is inefficient,
— How one single tool can replace an entire arsenal.
🔹 Classic indicators: what do they show?
— MACD — convergence/divergence of moving averages,
— RSI — relative strength of price movement,
— Stochastic — price level within the current range.
📌 Common features:
→ All three show similar dynamics:
Smoothed lines,
Divergences,
Crossovers.
→ But each has its own nuances.
🔹 Why do traders combine them?
— Some use:
MACD + Stochastic → to confirm signals,
RSI + Stochastic → to assess overbought/oversold conditions,
Or all three at once — to "not miss" a signal.
📌 The problem:
— The more indicators you add — the more noise you get,
— Less space left for the actual price chart,
— Decisions become emotional, not systematic.
🔹 How many indicators are needed?
— Just for trend analysis:
→ 3–4 Moving Averages (SMA),
— Plus 3 oscillators: MACD, RSI, Stochastic,
→ Total: 7 indicators.
📌 This clutters the chart and makes it hard to see the real picture.
And it often requires a paid TradingView subscription.
🔹 How did we solve this?
— We created the custom RSI Magistratura indicator,
— It combines:
Key features of MACD, RSI, and Stochastic,
Data from all timeframes in one place.
🔹 Advantage #1: Color-coded system
— Colors match those in SMA Magistratura:
1 hour — purple,
4 hours — black/white,
1 day — aqua,
1 week — peach,
1 month — maroon,
3 months — brown.
→ Easy to remember, easy to navigate.
🔹 Advantage #2: Universality
— On any timeframe, you see:
Current,
Higher,
And up to 5 higher timeframes.
→ For example: on 15-minute chart — you see 1H, 4H, 1D,
→ On 1H — you see 4H, 1D, 1W,
→ No need to switch between multiple indicators.
🔹 Advantage #3: Precision and speed
— You see simultaneously:
Short-term fluctuations,
Mid-term trends,
Long-term context,
→ Without switching charts or timeframes.
🔹 Example: RSI across timeframes
— On Daily — RSI moves slowly,
— On 4H — faster,
— On 1H — even more responsive,
→ But crossovers and divergences remain consistent — just scaled.
📌 Important:
— You don’t need all timeframes at once,
— Enough to track: current, senior, and next one,
→ This is the perfect balance between information and clarity.
🔹 Conclusion:
— Classic indicators are good — but inefficient when used in bulk,
— The RSI Magistratura is:
A system, not a toolkit,
Simplification, not clutter,
Quality analysis, not guesswork.
💡 Use it — and you’ll see the market clearer, make decisions with more confidence.
Matts Moving Average's The 50,62,100moving average's
I use them for direction and strength also trend is easy to see
waiting for them to cross offer the best opportunities
Swing or Investment TheorySwing or Investment Theory for generating Buy & Sell signals at strong levels
📖 EMA Retracement Theory
The 200 EMA (on multiple timeframes – 4H, Daily, Weekly) is treated as a backbone trend line.
When price pulls back (retraces) to the 200 EMA after a rally or fall, it often acts as a decision point:
Either support (in an uptrend) → bounce = Buy signal.
Or resistance (in a downtrend) → rejection = Sell signal.
✅ Buy Signal (Strong Level)
Market is in uptrend (price above 200 EMA).
Price retraces down to touch or slightly break below EMA 200. and RSI shows oversold zone.
A bullish candle pattern or reversal confirms.
👉 Enter Buy with stop loss just below EMA.
❌ Sell Signal (Strong Level)
Market is in downtrend (price below 200 EMA).
Price retraces up to touch or slightly break above EMA 200. and RSI shows overbought zone.
A bearish candle pattern or rejection confirms.
👉 Enter Sell with stop loss just above EMA.
LRSlope - Linear Regression SlopeI modified UCSgears version by simply smoothing regression curve to reduce noise a little bit.
As it mentioned originally "Good way to see if the trend is accelarating or decelarating."
RSI Plus – Divergence + EMA/WMARSI Plus – Divergence + EMA/WMA
This is an advanced RSI indicator designed for traders who want to maximize the power of RSI.
Beyond the standard RSI plot, this tool adds extra features to help analyze trends and identify better entry signals.
Key Features:
Standard RSI with highlighted zones (20–30, 30–40, 40–60, 60–70, 70–80)
Multiple smoothing options: SMA, EMA, SMMA, WMA, VWMA
Bullish/Bearish divergence detection with labels and alerts
WMA(45) on RSI for mid-term trend confirmation
EMA vs WMA45 color-fill (green for bullish, red for bearish)
Multi-timeframe support (Daily, H4, H1)
How to use:
Spot potential reversals with RSI divergence
Confirm trend direction when RSI EMA > WMA45 (bullish) or EMA < WMA45 (bearish)
RSI Plus – Divergence + EMA/WMAThis is an advanced RSI indicator with multi-timeframe dashboard support.
Features:
Customizable Moving Averages (EMA, WMA, SMA, VWMA, SMMA)
Divergence detection
RSI zones with background highlights
Clear buy/sell signals with visual alerts
Perfect for traders who want both classic RSI analysis and cross-timeframe confirmation in one tool.
Nearest Rank For Loop - [JTCAPITAL]Nearest Rank For Loop is used for trend-following using the median of the data.
The indicator works by calculating in the following steps:
1. The median is calculated using the ranking length of the source and using "percentile nearest rank" to determine the middle value. This is done with the original length and the length devided by 3, averaged out to eliminate false signals from extremely fast and temporary market movements.
2. Over the length of the loop values get added based on the median being higher than the previous median.
3. The results of the for loop segment get smoothed out using an EMA.
--Buy and sell conditions--
-When the for loop values get above the long threshold we enter a buying condition, we dont exit the buying condition until the for loop values get below the short condition. Which signals a short.
-When the values stay between the thresholds the signal doesnt change. This and smoothing out the for loop values is used to eliminate false signals as much as possible.
--Features and Parameters--
-Allows the changing of the length of the ranking (median)
-Allows the usage of different sources
-Allows changing of the paramaters over the start and end of the for loop segment
-Allows changing the thresholds for longs and shorts
-Allows changing the parameter for the smoothing using an EMA
--Details--
Both the wide thresholds and the use of an EMA over the for loop values are used to eliminate as much false signals as possible. Aswell as deviding the length by 3 and taking the average from the medians. From testing this indicator we have found that using a very small value for the shorting gives the overall best performance. Since a fast market move wont immediately trigger a false signal, but it also wont massively delay entries and exits.
It is recommended to change the parameter settings for different asset classes and timeframes based off volatility and fast and confusing market movements.
Enjoy!
Big Mo’s Glaskugel — Macro Drawdown Risk (v1.1.2)What it does / what you see
An at-a-glance drawdown-risk oscillator that blends several macro US signals.
• A smooth, color-blended line (green→orange→red) shows the scaled risk score (0–100).
• Subtle shading marks “re-steepen warning windows” (starts when the yield curve re-steepens after an inversion; ends on normalization/cool-down).
• A compact status table summarizes: overall risk level, Yield Curve (10y–3m), Credit Stress (Baa–10y), Economy (LEI), and Valuation (CAPE).
Data used & why
Yield Curve (10y–3m) — FRED:T10Y3M. Inversions and subsequent re-steepens often precede recessions/equity drawdowns.
Credit Stress — FRED:BAA10Y vs its 1-year average (deviation in bps). Widening credit spreads flag tightening financial conditions.
Economy (LEI) — ECONOMICS:USLEI. 6-month annualized growth below a cutoff highlights macro deterioration.
Valuation (CAPE) — SHILLER_PE_RATIO_MONTH. Elevated valuations can amplify downside risk.
VIX spikes — optional boost that recognizes sudden risk repricings.
Important disclaimer
This is not a reliable or predictive indicator in all regimes. No guarantees or warranties of any kind are provided. It is not financial advice. Signals can be early, late, or wrong.
That said, it leans on well-studied warning factors (yield-curve dynamics, credit spreads, LEI weakness, valuation extremes) that have flagged major market downturns in the past.
Key customization / tweaks
Weights for each component (Yield, Credit, LEI, VIX, CAPE).
Thresholds: yield inversion months, re-steepen lookback, credit-stress bps, LEI cutoff, CAPE level, VIX spike levels.
Re-steepen boost: enable/disable, base points, half-life decay.
Shading behavior: cool-down bars to “unwarn,” max warning duration, only shade when risk ≠ green.
Scaling & smoothing: dynamic rolling max, EMA length, yellow/red thresholds.
Status table: position, and a snapshot mode to view values at a chosen historical time.
Standardized Cumulative Deltas [LuxAlgo]The Standardized Cumulative Deltas tool allows traders to compare the cumulative standardized open-close difference for up to 10 different tickers, allowing them to visualize the general sentiment for all selected tickers.
These results allow the construction of two areas showing the average or extreme bullish and bearish cumulative change for all enabled tickers, providing a summarized view of the overall ticker group sentiment.
🔶 USAGE
This tool is meant to give a full picture of the individuals and/or overall selected tickers, and unlike classical indicators, the displayed series of values is not meant to be directly interpreted over time.
Given the selected lookback period, a majority of observations being above 0 indicate an overall bullish market for the asset.
By default, the auto lookback period feature is enabled, allowing the tool to use all the visible bars for its calculations. Traders can also set the lookback period manually. The above chart uses a fixed lookback period of 500.
Up to 10 tickers can be used. While major cryptocurrencies are set by default, the users can set a specific basket of assets, such as US equities, forex pairs, commodities, etc.
🔹 Densities
The provided areas, here called densities, can be used to get an overall sentiment of the selected tickers. The upper density (bullish) processes positive deltas, while the lower one (bearish) processes negative ones.
Interpretation is subject to the selected "Density Mode".
Average: Densities track the average bullish/bearish cumulative deltas for the selected tickers. For example, a more prominent bullish density would indicate that, on average, cumulative deltas were positive across the tickers.
Envelope: Densities track the extreme values made by bullish/bearish cumulative deltas for the selected tickers. Here, a more prominent density would indicate more volatile bullish/bearish movements, depending on the density.
🔹 Dashboard
The tool features a dashboard with active tickers and their respective colors for traders' convenience.
🔶 DETAILS
🔹 Densities
Densities are obtained by applying a forward-backward exponential moving average on the average, or the highest/lowest cumulative series, depending on the selected Density Mode.
The resulting densities are smoothed by the "Smoothing" parameter located in the Settings panel, with higher values returning smoother envelopes with less variability.
Do note that the smoothing method used here is subject to repainting.
🔶 SETTINGS
Lookback: Select the lookback period and enable/disable the Auto Lookback feature
Tickers: Enable/disable and select up to 10 tickers and their colors
Density Mode: Determine how densities are calculated
🔹 Dashboard
Show Dashboard: Enable/disable the dashboard
Position: Select the dashboard position
Size: Select the dashboard size
🔹 Style
Density: Enable/disable the density areas
Bullish Density: Select the color of the top density area
Bearish Density: Select the color of the bottom density area
Smoothing: Select the smoothing constant for the EMA calculation
Swing Points - Liquidity DR📌 Description
This indicator highlights swing points and liquidity levels with clean visuals and flexible options. It automatically detects significant highs and lows, then plots liquidity zones using customizable lines, boxes, and labels. Volume and Open Interest Δ (OI Δ) filters are integrated to validate the strength of each level.
⚙️ Features
Liquidity boxes plotted at swing highs and lows with customizable colors and styles.
Toggle visibility for lines, boxes, and labels to keep charts clean.
Filter swing levels using Volume thresholds and Open Interest Δ polarity (positive/negative).
Multi-exchange OI data support: Binance, BitMEX, Kraken.
Extend until fill or auto-remove levels once price interacts with them.
Dark/Light theme support with full text/label styling controls.
Lookback filter (days) to limit displayed levels for clarity.
🎯 Use Cases
Identify liquidity pools where price is likely to react.
Track smart money behavior around highs and lows.
Combine volume + OI confirmation to focus only on high-value zones.
Adaptive Valuation [BackQuant]Adaptive Valuation
What this is
A composite, zero-centered oscillator that standardizes several classic indicators and blends them into one “valuation” line. It computes RSI, CCI, Demarker, and the Price Zone Oscillator, converts each to a rolling z-score, then forms a weighted average. Optional smoothing, dynamic overbought and oversold bands, and an on-chart table make the inputs and the final score easy to inspect.
How it works
Components
• RSI with its own lookback.
• CCI with its own lookback.
• DM (Demarker) with its own lookback.
• PZO (Price Zone Oscillator) with its own lookback.
Standardization via z-score
Each component is transformed using a rolling z-score over lookback bars:
z = (value − mean) ÷ stdev , where the mean is an EMA and the stdev is rolling.
This puts all inputs on a comparable scale measured in standard deviations.
Weighted blend
The z-scores are combined with user weights w_rsi, w_cci, w_dm, w_pzo to produce a single valuation series. If desired, it is then smoothed with a selected moving average (SMA, EMA, WMA, HMA, RMA, DEMA, TEMA, LINREG, ALMA, T3). ALMA’s sigma input shapes its curve.
Dynamic thresholds (optional)
Two ways to set overbought and oversold:
• Static : fixed levels at ob_thres and os_thres .
• Dynamic : ±k·σ bands, where σ is the rolling standard deviation of the valuation over dynLen .
Bands can be centered at zero or around the valuation’s rolling mean ( centerZero ).
Visualization and UI
• Zero line at 0 with gradient fill that darkens as the valuation moves away from 0.
• Optional plotting of band lines and background highlights when OB or OS is active.
• Optional candle and background coloring driven by the valuation.
• Summary table showing each component’s current z-score, the final score, and a compact status.
How it can be used
• Bias filter : treat crosses above 0 as bullish bias and below 0 as bearish bias.
• Mean-reversion context : look for exhaustion when the valuation enters the OB or OS region, then watch for exits from those regions or a return toward 0.
• Signal confirmation : use the final score to confirm setups from structure or price action.
• Adaptive banding : with dynamic thresholds, OB and OS adjust to prevailing variability rather than relying on fixed lines.
• Component tuning : change weights to emphasize trend (raise DM, reduce RSI/CCI) or range behavior (raise RSI/CCI, reduce DM). PZO can help in swing environments.
Why z-score blending helps
Indicators often live on different scales. Z-scoring places them on a common, unitless axis, so a one-sigma move in RSI has comparable influence to a one-sigma move in CCI. This reduces scale bias and allows transparent weighting. It also facilitates regime-aware thresholds because the dynamic bands scale with recent dispersion.
Inputs to know
• Component lookbacks : rsilb, ccilb, dmlb, pzolb control each raw signal.
• Standardization window : lookback sets the z-score memory. Longer smooths, shorter reacts.
• Weights : w_rsi, w_cci, w_dm, w_pzo determine each component’s influence.
• Smoothing : maType, smoothP, sig govern optional post-blend smoothing.
• Dynamic bands : dyn_thres, dynLen, thres_k, centerZero configure the adaptive OB/OS logic.
• UI : toggle the plot, table, candle coloring, and threshold lines.
Reading the plot
• Above 0 : composite pressure is positive.
• Below 0 : composite pressure is negative.
• OB region : valuation above the chosen OB line. Risk of mean reversion rises and momentum continuation needs evidence.
• OS region : mirror logic on the downside.
• Band exits : leaving OB or OS can serve as a normalization cue.
Strengths
• Normalizes heterogeneous signals into one interpretable series.
• Adjustable component weights to match instrument behavior.
• Dynamic thresholds adapt to changing volatility and drift.
• Transparent diagnostics from the on-chart table.
• Flexible smoothing choices, including ALMA and T3.
Limitations and cautions
• Z-scores assume a reasonably stationary window. Sharp regime shifts can make recent bands unrepresentative.
• Highly correlated components can overweight the same effect. Consider adjusting weights to avoid double counting.
• More smoothing adds lag. Less smoothing adds noise.
• Dynamic bands recalibrate with dynLen ; if set too short, bands may swing excessively. If too long, bands can be slow to adapt.
Practical tuning tips
• Trending symbols: increase w_dm , use a modest smoother like EMA or T3, and use centerZero dynamic bands.
• Choppy symbols: increase w_rsi and w_cci , consider ALMA with a higher sigma , and widen bands with a larger thres_k .
• Multiday swing charts: lengthen lookback and dynLen to stabilize the scale.
• Lower timeframes: shorten component lookbacks slightly and reduce smoothing to keep signals timely.
Alerts
• Enter and exit of Overbought and Oversold, based on the active band choice.
• Bullish and bearish zero crosses.
Use alerts as prompts to review context rather than as stand-alone trade commands.
Final Remarks
We created this to show people a different way of making indicators & trading.
You can process normal indicators in multiple ways to enhance or change the signal, especially with this you can utilise machine learning to optimise the weights, then trade accordingly.
All of the different components were selected to give some sort of signal, its made out of simple components yet is effective. As long as the user calibrates it to their Trading/ investing style you can find good results. Do not use anything standalone, ensure you are backtesting and creating a proper system.
Pi Cycle OscillatorThis oscillator combines the Pi Cycle Top indicator with a percentile-based approach to create a more precise and easy to read market timing tool.
Instead of waiting for moving average crossovers, it shows you exactly how close you are to a potential market top.
Orange background means you should start preparing for a potential top and look into taking profits.
Red background means that the crossover has happened on the original Pi Cycle Indicator and that you should have already sold everything. (Crossover of the gray line aka 100)
Thank you
Bollinger Band Width Percentile - The_Caretaker
Pi Cycle Top - megasyl20
SMC - Institutional Confidence Oscillator [PhenLabs]📊 Institutional Confidence Oscillator
Version: PineScript™v6
📌 Description
The Institutional Confidence Oscillator (ICO) revolutionizes market analysis by automatically detecting and evaluating institutional activity at key support and resistance levels using our own in-house detection system. This sophisticated indicator combines volume analysis, volatility measurements, and mathematical confidence algorithms to provide real-time readings of institutional sentiment and zone strength.
Using our advanced thin liquidity detection, the ICO identifies high-volume, narrow-range bars that signal institutional zone formation, then tracks how these zones perform under market pressure. The result is a dual-wave confidence oscillator that shows traders when institutions are actively defending price levels versus when they’re abandoning positions.
The indicator transforms complex institutional behavior patterns into clear, actionable confidence percentiles, helping traders align with smart money movements and avoid common retail trading pitfalls.
🚀 Points of Innovation
Automated thin liquidity zone detection using volume threshold multipliers and zone size filtering
Dual-sided confidence tracking for both support and resistance levels simultaneously
Sigmoid function processing for enhanced mathematical accuracy in confidence calculations
Real-time institutional defense pattern analysis through complete test cycles
Advanced visual smoothing options with multiple algorithmic methods (EMA, SMA, WMA, ALMA)
Integrated momentum indicators and gradient visualization for enhanced signal clarity
🔧 Core Components
Volume Threshold System: Analyzes volume ratios against baseline averages to identify institutional activity spikes
Zone Detection Algorithm: Automatically identifies thin liquidity zones based on customizable volume and size parameters
Confidence Lifecycle Engine: Tracks institutional defense patterns through complete observation windows
Mathematical Processing Core: Uses sigmoid functions to convert raw market data into normalized confidence percentiles
Visual Enhancement Suite: Provides multiple smoothing methods and customizable display options for optimal chart interpretation
🔥 Key Features
Auto-Detection Technology: Automatically scans for institutional zones without manual intervention, saving analysis time
Dual Confidence Tracking: Simultaneously monitors both support and resistance institutional activity for comprehensive market view
Smart Zone Validation: Evaluates zone strength through volume analysis, adverse excursion measurement, and defense success rates
Customizable Parameters: Extensive input options for volume thresholds, observation windows, and visual preferences
Real-Time Updates: Continuously processes market data to provide current institutional confidence readings
Enhanced Visualization: Features gradient fills, momentum indicators, and information panels for clear signal interpretation
🎨 Visualization
Dual Oscillator Lines: Support confidence (cyan) and resistance confidence (red) plotted as percentage values 0-100%
Gradient Fill Areas: Color-coded regions showing confidence dominance and strength levels
Reference Grid Lines: Horizontal markers at 25%, 50%, and 75% levels for easy interpretation
Information Panel: Real-time display of current confidence percentiles with color-coded dominance indicators
Momentum Indicators: Rate of change visualization for confidence trends
Background Highlights: Extreme confidence level alerts when readings exceed 80%
📖 Usage Guidelines
Auto-Detection Settings
Use Auto-Detection
Default: true
Description: Enables automatic thin liquidity zone identification based on volume and size criteria
Volume Threshold Multiplier
Default: 6.0, Range: 1.0+
Description: Controls sensitivity of volume spike detection for zone identification, higher values require more significant volume increases
Volume MA Length
Default: 15, Range: 1+
Description: Period for volume moving average baseline calculation, affects volume spike sensitivity
Max Zone Height %
Default: 0.5%, Range: 0.05%+
Description: Filters out wide price bars, keeping only thin liquidity zones as percentage of current price
Confidence Logic Settings
Test Observation Window
Default: 20 bars, Range: 2+
Description: Number of bars to monitor zone tests for confidence calculation, longer windows provide more stable readings
Clean Break Threshold
Default: 1.5 ATR, Range: 0.1+
Description: ATR multiple required for zone invalidation, higher values make zones more persistent
Visual Settings
Smoothing Method
Default: EMA, Options: SMA/EMA/WMA/ALMA
Description: Algorithm for signal smoothing, EMA responds faster while SMA provides more stability
Smoothing Length
Default: 5, Range: 1-50
Description: Period for smoothing calculation, higher values create smoother lines with more lag
✅ Best Use Cases
Trending market analysis where institutional zones provide reliable support/resistance levels
Breakout confirmation by validating zone strength before position entry
Divergence analysis when confidence shifts between support and resistance levels
Risk management through identification of high-confidence institutional backing
Market structure analysis for understanding institutional sentiment changes
⚠️ Limitations
Performs best in liquid markets with clear institutional participation
May produce false signals during low-volume or holiday trading periods
Requires sufficient price history for accurate confidence calculations
Confidence readings can fluctuate rapidly during high-impact news events
Manual fallback zones may not reflect actual institutional activity
💡 What Makes This Unique
Automated Detection: First Pine Script indicator to automatically identify thin liquidity zones using sophisticated volume analysis
Dual-Sided Analysis: Simultaneously tracks institutional confidence for both support and resistance levels
Mathematical Precision: Uses sigmoid functions for enhanced accuracy in confidence percentage calculations
Real-Time Processing: Continuously evaluates institutional defense patterns as market conditions change
Visual Innovation: Advanced smoothing options and gradient visualization for superior chart clarity
🔬 How It Works
1. Zone Identification Process:
Scans for high-volume bars that exceed the volume threshold multiplier
Filters bars by maximum zone height percentage to identify thin liquidity conditions
Stores qualified zones with proximity threshold filtering for relevance
2. Confidence Calculation Process:
Monitors price interaction with identified zones during observation windows
Measures volume ratios and adverse excursions during zone tests
Applies sigmoid function processing to normalize raw data into confidence percentiles
3. Real-Time Analysis Process:
Continuously updates confidence readings as new market data becomes available
Tracks institutional defense success rates and zone validation patterns
Provides visual and numerical feedback through the oscillator display
💡 Note:
The ICO works best when combined with traditional technical analysis and proper risk management. Higher confidence readings indicate stronger institutional backing but should be confirmed with price action and volume analysis. Consider using multiple timeframes for comprehensive market structure understanding.
Moving Average Adaptive RSI [BackQuant]Moving Average Adaptive RSI
What this is
A momentum oscillator that reshapes classic RSI into a zero-centered column plot and makes it adaptive. It builds RSI from two parts:
• A sensitivity window that scans several recent bars to capture the strongest up and down impulses.
• A selectable moving average that smooths those impulses before computing RSI.
The output ranges roughly from −100 to +100 with 0 as the midline, with optional extra smoothing and built-in divergence detection.
How it works
Impulse extraction
• For each bar the script inspects the last rsi_sen bars and collects upward and downward price changes versus the current price.
• It keeps the maximum upward change and maximum downward change from that window, emphasizing true bursts over single-bar noise.
MA-based averaging
• The up and down impulse series are averaged with your chosen MA over rsi_len bars.
• Supported MA types: SMA, EMA, DEMA, WMA, HMA, SMMA (RMA), TEMA.
Zero-centered RSI transform
• RS = UpMA ÷ DownMA, then mapped to a symmetric scale: 100 − 200 ÷ (1 + RS) .
• Above 0 implies positive momentum bias. Below 0 implies negative momentum bias.
Optional extra smoothing
• A second smoothing pass can be applied to the final oscillator using smoothing_len and smooth_type . Toggle with “Use Extra Smoothing”.
Visual encoding
• The oscillator is drawn as columns around the zero line with a gradient that intensifies toward extremes.
• Static bands mark 80 to 100 and −80 to −100 for extreme conditions.
Key inputs and what they change
• Price Source : input series for momentum.
• Calculation Period (rsi_len) : primary averaging window on up and down components. Higher = smoother, slower.
• Sensitivity (rsi_sen) : how many recent bars are scanned to find max impulses. Higher = more responsive to bursts.
• Calculation Type (ma_type) : MA family that shapes the core behavior. HMA or DEMA is faster, SMA or SMMA is slower.
• Smoothing Type and Length : optional second pass to calm noise on the final output.
• UI toggles : show or hide the oscillator, candle painting, and extreme bands.
Reading the oscillator
• Midline cross up (0) : momentum bias turning positive.
• Midline cross down (0) : momentum bias turning negative.
• Positive territory :
– 0 to 40: constructive but not stretched.
– 40 to 80: strong momentum, continuation more likely.
– Above 80: extreme risk of mean reversion grows.
• Negative territory : mirror the same levels for the downside.
Divergence detection
The script plots four divergence types using pivot highs and lows on both price and the oscillator. Lookbacks are set by lbL and lbR .
• Regular bullish : price lower low, oscillator higher low. Possible downside exhaustion.
• Hidden bullish : price higher low, oscillator lower low. Bias to trend continuation up.
• Regular bearish : price higher high, oscillator lower high. Possible upside exhaustion.
• Hidden bearish : price lower high, oscillator higher high. Bias to trend continuation down.
Labels: ℝ for regular, ℍ for hidden. Green for bullish, red for bearish.
Candle coloring
• Optional bar painting: green when the oscillator is above 0, red when below 0. This is for visual scanning only.
Strengths
• Adaptive sensitivity via a rolling impulse window that responds to genuine bursts.
• Configurable MA core so you can match responsiveness to the instrument.
• Zero-centered scale for simple regime reads with 0 as a clear bias line.
• Built-in regular and hidden divergence mapping.
• Flexible across symbols and timeframes once tuned.
Limitations and cautions
• Trends can remain extended. Treat extremes as context rather than automatic reversal signals.
• Divergence quality depends on pivot lookbacks. Short lookbacks give more signals with more noise. Long lookbacks reduce noise but add lag.
• Double smoothing can delay zero-line transitions. Balance smoothness and timeliness.
Practical usage ideas
• Regime filter : only take long setups from your separate method when the oscillator is above 0, shorts when below 0.
• Pullback confirmation : in uptrends, look for dips that hold above 0 or turn up from 0 to 40. Reverse for downtrends.
• Divergence as a heads-up : wait for a zero-line cross or a price trigger before acting on divergence.
• Sensitivity tuning : start with rsi_sen 2 to 5 on faster timeframes, increase slightly on slower charts.
Alerts
• MA-A RSI Long : oscillator crosses above 0.
• MA-A RSI Short : oscillator crosses below 0.
Use these as bias or timing aids, not standalone trade commands.
Settings quick reference
• Calculation : Price Source, Calculation Type, Calculation Period, Sensitivity.
• Smoothing : Smoothing Type, Smoothing Length, Use Extra Smoothing.
• UI : Show Oscillator, Paint Candles, Show Static High and Low Levels.
• Divergences : Pivot Lookback Left and Right, Div Signal Length, Show Detected Divergences.
Final thoughts
This tool reframes RSI by extracting strong short-term impulses and averaging them with a moving-average model of your choice, then presenting a zero-centered output for clear regime reads. Pair it with your structure, risk and execution process, and tune sensitivity and smoothing to the market you trade.
AekFreedom Trading OscillatorAekFreedom Trading Oscillator: User Guide
Overview
The AekFreedom Trading Oscillator is a comprehensive, all-in-one technical analysis tool designed for TradingView. It consolidates a powerful suite of essential indicators into a single, highly customizable indicator pane. The primary goal is to reduce chart clutter and provide traders with a multi-faceted view of the market, combining momentum, trend strength, volatility, and divergence signals in one place.
Core Features & Indicators
This script includes the following fully customizable indicators:
Relative Strength Index (RSI): A core momentum oscillator used to measure the speed and change of price movements. It features gradient fills for overbought (70-100) and oversold (0-30) zones, along with an optional smoothing moving average.
Stochastic Oscillator: Another momentum indicator that compares a particular closing price of a security to a range of its prices over a certain period of time to identify overbought and oversold conditions.
MACD (Moving Average Convergence Divergence): A trend-following momentum indicator that shows the relationship between two exponential moving averages (EMAs). It includes the MACD line, Signal line, and Histogram.
Awesome Oscillator (AO): A momentum indicator that measures the market's driving force by comparing recent momentum with general momentum over a wider timeframe.
ADX (Average Directional Index): An indicator used to quantify the strength of a trend, regardless of its direction (up or down). An ADX value over 25 typically suggests a strong trend.
ATR (Average True Range): A key indicator for measuring market volatility.
Advanced Divergence Engine
One of the most powerful features of this script is its built-in Divergence Engine. It can automatically detect and display both Regular Bullish and Regular Bearish divergences.
Supported Indicators: Divergence detection is available for RSI, Awesome Oscillator (AO), and the MACD Line.
Visual Signals: When a divergence is found, the script will:
Draw a line on the oscillator connecting the relevant pivot points.
Display a "Bull" or "Bear" label directly below or above the signal for easy identification.
Alerts: You can set up alerts in TradingView that will trigger whenever a new divergence signal appears.
How to Use: Settings Panel
The indicator is fully customizable via the settings panel.
Indicator Visibility
This is your main control panel for toggling visuals on and off to keep your chart clean.
Show...: Check or uncheck any indicator (e.g., Show RSI & MA, Show Stochastic, Show ATR) to display or hide it instantly.
Show... Divergence: Use these checkboxes (e.g., Show RSI Divergence) to control the visibility of the divergence lines and labels on the chart.
Indicator-Specific Settings
Each indicator has its own group of settings for fine-tuning its parameters.
RSI / AO / MACD Settings:
Here you can adjust standard parameters like Length, Source, etc.
IMPORTANT: Each of these has a Calculate Divergence checkbox. You must enable this checkbox for the script to perform the resource-intensive calculation for that indicator's divergence.
Stochastic Settings: Adjust the %K Length, %K Smoothing, and %D Smoothing.
ADX Settings: Adjust the ADX Smoothing and DI Length.
ATR Settings: Adjust the Length for the ATR calculation.
📌 How to Enable Divergence Signals (2 Steps):
To see divergence for an indicator (e.g., MACD), you must do two things:
Go to "MACD Settings" and check the box for Calculate Divergence.
Go to "Indicator Visibility" and ensure the box for Show MACD Divergence is also checked.
AekFreedom All-in-OneIndicator Description: All-in-One Technical Analysis Suite
This indicator is an "All-in-One" tool designed to combine multiple popular technical analysis instruments into a single script. It allows traders to perform comprehensive chart analysis, reduce the number of indicators needed, and customize everything in one place.
The core concept of this indicator is to display all elements as an overlay on the main price chart, providing a clear view of the relationship between the various tools and the price action.
💡 Key Features
The indicator consists of 6 primary modules, each of which can be independently enabled, disabled, and customized through the Settings menu (⚙️).
1. Automatic Candle Pattern Coloring
What it does: Detects significant reversal candlestick patterns and changes their color for easy identification.
Patterns Detected:
Engulfing (Bullish/Bearish): Identifies engulfing candles with a special condition that the "body must be larger than the wicks" to filter for only strong momentum candles.
Pin Bar (Bullish/Bearish): Highlights candles with long wicks, indicating price rejection.
Best for: Identifying potential reversal or continuation signals at key support and resistance levels.
2. FVG (Fair Value Gap) with Auto-Mitigation
What it does: Detects price imbalances created by strong buying or selling pressure and draws them as price zones.
Special Feature: When the price returns to "fill" or mitigate the gap, the FVG box is automatically deleted from the chart. This keeps the chart clean and displays only the currently relevant zones.
Best for: Identifying key support and resistance zones where the price is likely to return and react.
3. VWAP and Standard Deviation Bands
What it does: Displays the VWAP (Volume Weighted Average Price) line, which is the average price weighted by volume, along with Standard Deviation Bands.
Customization: The VWAP calculation can be anchored to reset every Session (Day), Week, Month, or Year.
Best for: Determining the intraday trend, identifying "fair value" zones, and serving as significant support and resistance levels.
4. Parabolic SAR (Stop and Reverse)
What it does: Plots dots on the chart that trail the price to indicate trend direction.
Application:
Dots below price: Indicate an uptrend.
Dots above price: Indicate a downtrend.
Best for: Confirming trend direction and providing dynamic Trailing Stop points to protect profits.
5. 3 Customizable EMAs (Exponential Moving Averages)
What it does: Displays three separate EMA lines, which are powerful, fundamental tools for trend analysis.
Customization: The Length and Color of each of the three EMAs can be fully customized.
Best for: Confirming trend strength, identifying pullback entry opportunities, and acting as dynamic support and resistance.
6. Bollinger Bands (BB)
What it does: Displays a price channel that measures market volatility, consisting of a middle basis line (SMA) and upper/lower bands.
Application:
Squeezing Bands: Signal a period of low volatility and a potential for a strong breakout.
Price touching outer bands: Can indicate short-term overbought or oversold conditions.
Best for: Gauging volatility and identifying potential mean-reversion opportunities in ranging markets.
⚙️ How to Use and Customize
The core strength of this indicator is its flexibility. Users can go to the indicator's Settings (⚙️) panel, where all functions are organized into clear groups. You can:
Enable or Disable each tool independently.
Customize all parameters, such as EMA lengths, band multipliers, colors, and more.
Combine tools to fit your specific trading style. For example, you might use only FVG + VWAP for intraday trading, or EMAs + Candle Patterns for trend-following strategies.
This indicator is like a "Swiss Army Knife" for traders, combining essential tools into one package to make chart analysis faster and more efficient.
Sorry Cryptoface Market Cypher B//@version=5
indicator("Sorry Cryptoface Market Cypher B", shorttitle="SorryCF B", overlay=false)
// 🙏 Respect to Cryptoface
// Market Cipher is the brainchild of Cryptoface, who popularized the
// combination of WaveTrend, Money Flow, RSI, and divergence signals into a
// single package that has helped thousands of traders visualize momentum.
// This script is *not* affiliated with or endorsed by him — it’s just an
// open-source educational re-implementation inspired by his ideas.
// Whether you love him or not, Cryptoface deserves credit for taking complex
// oscillator theory and making it accessible to everyday traders.
// -----------------------------------------------------------------------------
// Sorry Cryptoface Market Cypher B
//
// ✦ What it is
// A de-cluttered, optimized rework of the popular Market Cipher B concept.
// This fork strips out repaint-prone code and redundant signals, adds
// higher-timeframe and trend filters, and introduces volatility &
// money-flow gating to cut down on the "confetti signals" problem.
//
// ✦ Key Changes vs. Original MC-B
// - Non-repainting security(): switched to request.security(..., lookahead_off)
// - Inputs updated to Pine v5 (input.int, input.float, etc.)
// - Trend filter: EMA or HTF WaveTrend required for alignment
// - Volatility filter: minimum ADX & ATR % threshold to avoid chop
// - Money Flow filter: signals require minimum |MFI| magnitude
// - WaveTrend slope check: reject flat or contra-slope crosses
// - Cooldown filter: prevents multiple signals within N bars
// - Bar close confirmation: dots/alerts only fire once a candle is closed
// - Hidden divergences + “second range” divergences disabled by default
// (to reduce noise) but can be toggled on
//
// ✦ Components
// - WaveTrend oscillator (2-line system + VWAP line)
// - Money Flow Index + RSI overlay
// - Stochastic RSI
// - Divergence detection (WT, RSI, Stoch)
// - Optional Schaff Trend Cycle
// - Optional Sommi flags/diamonds (HTF confluence markers)
//
// ✦ Benefits
// - Fewer false positives in sideways markets
// - Signals aligned with trend & volatility regimes
// - Removes repaint artifacts from higher-timeframe sources
// - Cleaner chart (reduced “dot spam”)
// - Still flexible: all original toggles/visuals retained
//
// ✦ Notes
// - This is NOT the official Market Cipher.
// - Educational / experimental use only. Do your own testing.
// - Best tested on 2H–4H timeframes; short TFs may still look choppy
//
// ✦ Credits
// Original open-source inspirations by LazyBear, RicardoSantos, LucemAnb,
// falconCoin, dynausmaux, andreholanda73, TradingView community.
// This fork modified by Lumina+Thomas (2025).
// -----------------------------------------------------------------------------
Mean Reversion IndicatorMean Reversion Indicator
This indicator generates buy and sell signals based on a mean reversion framework.
Buy signals appear when price conditions suggest oversold levels with confirmation filters applied.
Sell signals appear when price conditions suggest overbought levels or profit-taking opportunities.
Includes background shading to highlight the backtest window.
Alerts are available for both Buy and Sell signals, so users can receive notifications in real-time.
⚠️ This indicator is for analysis and alerts only. It does not include strategy backtesting or trade execution.
MasterEdge v4 — Trend & Momentum Presets with Filters & ATR RiskMasterEdge v4 — Trend & Momentum with Filters & ATR Risk
MasterEdge v4 is a multi‑timeframe trend and momentum indicator designed to help you stay on the right side of the market while controlling risk. It combines two classic signal engines—Donchian channel breakouts (à la Turtle Traders) and moving‑average crosses—with a suite of filters and risk tools to reduce false signals and keep you disciplined.
## Core features
- **Auto/manual presets:** Automatically adjusts look‑back lengths and thresholds based on the instrument (crypto, forex, indices, etc.) and chart timeframe, or lets you set them manually.
- **Higher‑timeframe bias:** Uses a non‑repainting higher‑timeframe EMA to determine whether the market is trending up or down and gates signals accordingly. You can choose the HTF yourself or let the auto‑engine pick one.
- **Dual signal modes:**
- *Donchian (Turtle)* mode enters on breakouts of an N‑bar channel and exits on a shorter channel.
- *MA Cross* mode buys when a fast EMA/SMA crosses above a slow EMA/SMA and sells on the opposite cross.
- **Advanced filters:** RSI momentum and ADX trend‑strength filters help avoid trades during choppy conditions. Optional volume and HTF‑slope filters require participation and higher‑timeframe momentum. A configurable **quality score** combines these filters so you only take higher‑probability setups.
- **ATR risk rails & position sizing:** Visual stop‑loss and target rails are calculated from ATR to adapt to volatility. An optional position‑size suggestion uses your account size and risk percentage to estimate how much to trade (for informational purposes only).
- **Session gating & status table:** Restrict signals to specific trading sessions. A live table shows your current settings, filter status, quality score and recommended position size, so you always know why a signal fired—or didn’t.
- **Alerts:** Separate long and short alerts with static JSON payloads let you hook the indicator into your notification or webhook workflow.
## How to use
1. **Select auto or manual:** Use the *Preset Mode* input. Auto mode adjusts lengths and thresholds to the ticker and timeframe; manual mode lets you set them explicitly.
2. **Choose a signal mode:** Pick between Donchian breakout or MA cross. Donchian is often better for lower‑timeframe breakouts; MA crosses smooth out noise on higher timeframes.
3. **Enable filters:** Turn on RSI, ADX, volume and/or slope filters and set your desired quality‑score threshold. Higher thresholds yield fewer, cleaner signals.
4. **Define risk:** If you want visual risk guides and position‑size suggestions, leave ATR rails on and input your account size, risk percentage and value per point.
5. **Timeframe pairing:** For intraday trading, try a 5 min chart with a 60 min bias; for swing trading, use a 1 h chart with a 4 h bias. The auto‑engine selects sensible higher‑timeframe defaults, but you can override them.
6. **Confirm signals:** The indicator plots green triangles below bars for long signals and red triangles above bars for short signals. The status table updates each bar with filter states and whether a signal is active.
**Disclaimer:** This script is for educational and analysis purposes only and is not financial advice. Always test on a demo account before trading live and tailor the settings to your strategy, risk tolerance and market behaviour.
Inverse Fisher Transform COMBO XThis is a vastly improved version of the indicator "Inverse Fisher Transform COMBO STO+RSI+CCIv2" by KIVANÇ fr3762 and updated previously by lordofcodes.
This script includes all the original oscillators included in the original script including CCI, CCIv2, MFI, RSI, Stochastic, and SMI oscillators. In Inverse Fisher Transform, one looks for the indicator lines of your choosing to be either above or below the centerline as with all oscillators. In addition it has many new features that greatly enhance the variety of uses for this very helpful indicator.
-Updated the script to indicator in pinescript v6.
-An Inverse Fisher Transform of the Heikin Ashi Calculation has been included in the script, with
both a raw Heikin Ashi signal output as well as a smoothed Heikin Ashi calculation are included.
-In addition, bar coloring according to the raw Heikin Ashi calculation is included in order to
allow for a standard bar chart to also give the visual indication of the Heikin Ashi chart type
This allows the trader to maintain the accuracy of price information on the chart that standard candles provide while still being able to reference the smoothed trend calculation of Heikin Ashi candles.
-Updated the script to add smoothing method and length inputs for each indicator.
-Smoothing methods available include the original wma smoothing, as well as sma, ema, dema,
tema, rma, hma, vwma, and t3 moving average calculations.
-Now you can also select the method for calculating the Inverse Fisher Transform using either
the default method of whether the oscillator is above or below the centerline, or to be based
on the oscillator's position in relation to a signal line instead, which can potentially give more
timely and accurate signals.
-The signal line's length and moving average calculation method are also adjustable according to
the same variety as the oscillators themselves. For simplicity the same signal line calculation
will be applied to all oscillators except for the Heikin Ashi since Heikin Ashi is not an oscillator.
In general, a low smoothing input works best for a slower moving average types such as rma and t3 which are my personal preference, while a larger number works better for the faster moving average calculations such as wma, hma, ema, dema, or tema. Though in practice, the combination of different smoothing methods and lengths across the variety of included indicators are greatly variable and can offer a complete trading strategy including long and short term trend analysis as well as volume analysis and Heikin Ashi candle analysis with just this one indicator.
As always, one indicator never guarantees results, which is a problem this script seeks to address, but it still benefits one to look for confirmation from other indicators and methods.
I hope you are able to find this indicator an effect addition to your trading strategy.
Aroon ADX/DIUnified trend-strength (ADX/DI) + trend-age (Aroon) with centered scaling, gated signals, regime tints, and a compact readout.
What is different about this script:
- Purpose-built mashup of ADX/DI tells trend strength and side, while Aroon Oscillator tracks trend emergence/aging. Combining them into a scaled chart creates a way to separate “strong-but-late” trends from “newly-emerging” ones.
- Unified scale: Centering the maps into a common +/- 100 range so all lines are directly comparable at a glance (no units mismatch or fumbling with scales).
- Signal quality gating: DI cross signals can be gated by minimum ADX so crosses in chop are filtered out.
- Regime context: Background tints show low-strength chop, developing, and strong regimes using your ADX thresholds.
- Operator-focused UI: Clean fills, color-blind palette, and a two-column table summarizing DI+, DI−, ADX, Aroon, and a plain-English Bias/Trend status.
How it works:
- DI+/DI−/ADX: Wilder’s DI is smoothed; DX → ADX via SMA smoothing.
- Aroon Oscillator: highlights new highs/lows frequency to infer trend
- Centering: Maps DI/ADX from 5-95 and ±100, with your Midpoint controlling where “0” sits in raw mode.
- Signals:
- Bullish/Bearish DI crosses, optionally allowed only when ADX ≥ Min.
- ADX crosses of your Low/High thresholds.
- Aroon crosses of 0, +80, −80 (fresh trend thresholds).
- Display aids: Optional fill between DI+/DI−; thin guides for thresholds; single-pane table summary.
How to use:
- For this to be useful, centering should stay on, modify ADX Low/High and monitor DI crosses with ADX.
- Interpretations:
Bias: DI+ above DI− = bull; below = bear.
Strength level: ADX < Low = chop, Low–High = developing, > High = strong.
Freshness: Aroon > +80 or crossing up 0 suggests new or continued bull push; < −80 or crossing down 0 suggests new or continued bear push.
- Alerts: Use built-ins for DI crosses, ADX regime changes, and Aroon thresholds.