Trend Gauge [BullByte]Trend Gauge
Summary
A multi-factor trend detection indicator that aggregates EMA alignment, VWMA momentum scaling, volume spikes, ATR breakout strength, higher-timeframe confirmation, ADX-based regime filtering, and RSI pivot-divergence penalty into one normalized trend score. It also provides a confidence meter, a Δ Score momentum histogram, divergence highlights, and a compact, scalable dashboard for at-a-glance status.
________________________________________
## 1. Purpose of the Indicator
Why this was built
Traders often monitor several indicators in parallel - EMAs, volume signals, volatility breakouts, higher-timeframe trends, ADX readings, divergence alerts, etc., which can be cumbersome and sometimes contradictory. The “Trend Gauge” indicator was created to consolidate these complementary checks into a single, normalized score that reflects the prevailing market bias (bullish, bearish, or neutral) and its strength. By combining multiple inputs with an adaptive regime filter, scaling contributions by magnitude, and penalizing weakening signals (divergence), this tool aims to reduce noise, highlight genuine trend opportunities, and warn when momentum fades.
Key Design Goals
Signal Aggregation
Merged trend-following signals (EMA crossover, ATR breakout, higher-timeframe confirmation) and momentum signals (VWMA thrust, volume spikes) into a unified score that reflects directional bias more holistically.
Market Regime Awareness
Implemented an ADX-style filter to distinguish between trending and ranging markets, reducing the influence of trend signals during sideways phases to avoid false breakouts.
Magnitude-Based Scaling
Replaced binary contributions with scaled inputs: VWMA thrust and ATR breakout are weighted relative to recent averages, allowing for more nuanced score adjustments based on signal strength.
Momentum Divergence Penalty
Integrated pivot-based RSI divergence detection to slightly reduce the overall score when early signs of momentum weakening are detected, improving risk-awareness in entries.
Confidence Transparency
Added a live confidence metric that shows what percentage of enabled sub-indicators currently agree with the overall bias, making the scoring system more interpretable.
Momentum Acceleration Visualization
Plotted the change in score (Δ Score) as a histogram bar-to-bar, highlighting whether momentum is increasing, flattening, or reversing, aiding in more timely decision-making.
Compact Informational Dashboard
Presented a clean, scalable dashboard that displays each component’s status, the final score, confidence %, detected regime (Trending/Ranging), and a labeled strength gauge for quick visual assessment.
________________________________________
## 2. Why a Trader Should Use It
Main benefits and use cases
1. Unified View: Rather than juggling multiple windows or panels, this indicator delivers a single score synthesizing diverse signals.
2. Regime Filtering: In ranging markets, trend signals often generate false entries. The ADX-based regime filter automatically down-weights trend-following components, helping you avoid chasing false breakouts.
3. Nuanced Momentum & Volatility: VWMA and ATR breakout contributions are normalized by recent averages, so strong moves register strongly while smaller fluctuations are de-emphasized.
4. Early Warning of Weakening: Pivot-based RSI divergence is detected and used to slightly reduce the score when price/momentum diverges, giving a cautionary signal before a full reversal.
5. Confidence Meter: See at a glance how many sub-indicators align with the aggregated bias (e.g., “80% confidence” means 4 out of 5 components agree ). This transparency avoids black-box decisions.
6. Trend Acceleration/Deceleration View: The Δ Score histogram visualizes whether the aggregated score is rising (accelerating trend) or falling (momentum fading), supplementing the main oscillator.
7. Compact Dashboard: A corner table lists each check’s status (“Bull”, “Bear”, “Flat” or “Disabled”), plus overall Score, Confidence %, Regime, Trend Strength label, and a gauge bar. Users can scale text size (Normal, Small, Tiny) without removing elements, so the full picture remains visible even in compact layouts.
8. Customizable & Transparent: All components can be enabled/disabled and parameterized (lengths, thresholds, weights). The full Pine code is open and well-commented, letting users inspect or adapt the logic.
9. Alert-ready: Built-in alert conditions fire when the score crosses weak thresholds to bullish/bearish or returns to neutral, enabling timely notifications.
________________________________________
## 3. Component Rationale (“Why These Specific Indicators?”)
Each sub-component was chosen because it adds complementary information about trend or momentum:
1. EMA Cross
o Basic trend measure: compares a faster EMA vs. a slower EMA. Quickly reflects trend shifts but by itself can whipsaw in sideways markets.
2. VWMA Momentum
o Volume-weighted moving average change indicates momentum with volume context. By normalizing (dividing by a recent average absolute change), we capture the strength of momentum relative to recent history. This scaling prevents tiny moves from dominating and highlights genuinely strong momentum.
3. Volume Spikes
o Sudden jumps in volume combined with price movement often accompany stronger moves or reversals. A binary detection (+1 for bullish spike, -1 for bearish spike) flags high-conviction bars.
4. ATR Breakout
o Detects price breaking beyond recent highs/lows by a multiple of ATR. Measures breakout strength by how far beyond the threshold price moves relative to ATR, capped to avoid extreme outliers. This gives a volatility-contextual trend signal.
5. Higher-Timeframe EMA Alignment
o Confirms whether the shorter-term trend aligns with a higher timeframe trend. Uses request.security with lookahead_off to avoid future data. When multiple timeframes agree, confidence in direction increases.
6. ADX Regime Filter (Manual Calculation)
o Computes directional movement (+DM/–DM), smoothes via RMA, computes DI+ and DI–, then a DX and ADX-like value. If ADX ≥ threshold, market is “Trending” and trend components carry full weight; if ADX < threshold, “Ranging” mode applies a configurable weight multiplier (e.g., 0.5) to trend-based contributions, reducing false signals in sideways conditions. Volume spikes remain binary (optional behavior; can be adjusted if desired).
7. RSI Pivot-Divergence Penalty
o Uses ta.pivothigh / ta.pivotlow with a lookback to detect pivot highs/lows on price and corresponding RSI values. When price makes a higher high but RSI makes a lower high (bearish divergence), or price makes a lower low but RSI makes a higher low (bullish divergence), a divergence signal is set. Rather than flipping the trend outright, the indicator subtracts (or adds) a small penalty (configurable) from the aggregated score if it would weaken the current bias. This subtle adjustment warns of weakening momentum without overreacting to noise.
8. Confidence Meter
o Counts how many enabled components currently agree in direction with the aggregated score (i.e., component sign × score sign > 0). Displays this as a percentage. A high percentage indicates strong corroboration; a low percentage warns of mixed signals.
9. Δ Score Momentum View
o Plots the bar-to-bar change in the aggregated score (delta_score = score - score ) as a histogram. When positive, bars are drawn in green above zero; when negative, bars are drawn in red below zero. This reveals acceleration (rising Δ) or deceleration (falling Δ), supplementing the main oscillator.
10. Dashboard
• A table in the indicator pane’s top-right with 11 rows:
1. EMA Cross status
2. VWMA Momentum status
3. Volume Spike status
4. ATR Breakout status
5. Higher-Timeframe Trend status
6. Score (numeric)
7. Confidence %
8. Regime (“Trending” or “Ranging”)
9. Trend Strength label (e.g., “Weak Bullish Trend”, “Strong Bearish Trend”)
10. Gauge bar visually representing score magnitude
• All rows always present; size_opt (Normal, Small, Tiny) only changes text size via text_size, not which elements appear. This ensures full transparency.
________________________________________
## 4. What Makes This Indicator Stand Out
• Regime-Weighted Multi-Factor Score: Trend and momentum signals are adaptively weighted by market regime (trending vs. ranging) , reducing false signals.
• Magnitude Scaling: VWMA and ATR breakout contributions are normalized by recent average momentum or ATR, giving finer gradation compared to simple ±1.
• Integrated Divergence Penalty: Divergence directly adjusts the aggregated score rather than appearing as a separate subplot; this influences alerts and trend labeling in real time.
• Confidence Meter: Shows the percentage of sub-signals in agreement, providing transparency and preventing blind trust in a single metric.
• Δ Score Histogram Momentum View: A histogram highlights acceleration or deceleration of the aggregated trend score, helping detect shifts early.
• Flexible Dashboard: Always-visible component statuses and summary metrics in one place; text size scaling keeps the full picture available in cramped layouts.
• Lookahead-Safe HTF Confirmation: Uses lookahead_off so no future data is accessed from higher timeframes, avoiding repaint bias.
• Repaint Transparency: Divergence detection uses pivot functions that inherently confirm only after lookback bars; description documents this lag so users understand how and when divergence labels appear.
• Open-Source & Educational: Full, well-commented Pine v6 code is provided; users can learn from its structure: manual ADX computation, conditional plotting with series = show ? value : na, efficient use of table.new in barstate.islast, and grouped inputs with tooltips.
• Compliance-Conscious: All plots have descriptive titles; inputs use clear names; no unnamed generic “Plot” entries; manual ADX uses RMA; all request.security calls use lookahead_off. Code comments mention repaint behavior and limitations.
________________________________________
## 5. Recommended Timeframes & Tuning
• Any Timeframe: The indicator works on small (e.g., 1m) to large (daily, weekly) timeframes. However:
o On very low timeframes (<1m or tick charts), noise may produce frequent whipsaws. Consider increasing smoothing lengths, disabling certain components (e.g., volume spike if volume data noisy), or using a larger pivot lookback for divergence.
o On higher timeframes (daily, weekly), consider longer lookbacks for ATR breakout or divergence, and set Higher-Timeframe trend appropriately (e.g., 4H HTF when on 5 Min chart).
• Defaults & Experimentation: Default input values are chosen to be balanced for many liquid markets. Users should test with replay or historical analysis on their symbol/timeframe and adjust:
o ADX threshold (e.g., 20–30) based on instrument volatility.
o VWMA and ATR scaling lengths to match average volatility cycles.
o Pivot lookback for divergence: shorter for faster markets, longer for slower ones.
• Combining with Other Analysis: Use in conjunction with price action, support/resistance, candlestick patterns, order flow, or other tools as desired. The aggregated score and alerts can guide attention but should not be the sole decision-factor.
________________________________________
## 6. How Scoring and Logic Works (Step-by-Step)
1. Compute Sub-Scores
o EMA Cross: Evaluate fast EMA > slow EMA ? +1 : fast EMA < slow EMA ? -1 : 0.
o VWMA Momentum: Calculate vwma = ta.vwma(close, length), then vwma_mom = vwma - vwma . Normalize: divide by recent average absolute momentum (e.g., ta.sma(abs(vwma_mom), lookback)), clip to .
o Volume Spike: Compute vol_SMA = ta.sma(volume, len). If volume > vol_SMA * multiplier AND price moved up ≥ threshold%, assign +1; if moved down ≥ threshold%, assign -1; else 0.
o ATR Breakout: Determine recent high/low over lookback. If close > high + ATR*mult, compute distance = close - (high + ATR*mult), normalize by ATR, cap at a configured maximum. Assign positive contribution. Similarly for bearish breakout below low.
o Higher-Timeframe Trend: Use request.security(..., lookahead=barmerge.lookahead_off) to fetch HTF EMAs; assign +1 or -1 based on alignment.
2. ADX Regime Weighting
o Compute manual ADX: directional movements (+DM, –DM), smoothed via RMA, DI+ and DI–, then DX and ADX via RMA. If ADX ≥ threshold, market is considered “Trending”; otherwise “Ranging.”
o If trending, trend-based contributions (EMA, VWMA, ATR, HTF) use full weight = 1.0. If ranging, use weight = ranging_weight (e.g., 0.5) to down-weight them. Volume spike stays binary ±1 (optional to change if desired).
3. Aggregate Raw Score
o Sum weighted contributions of all enabled components. Count the number of enabled components; if zero, default count = 1 to avoid division by zero.
4. Divergence Penalty
o Detect pivot highs/lows on price and corresponding RSI values, using a lookback. When price and RSI diverge (bearish or bullish divergence), check if current raw score is in the opposing direction:
If bearish divergence (price higher high, RSI lower high) and raw score currently positive, subtract a penalty (e.g., 0.5).
If bullish divergence (price lower low, RSI higher low) and raw score currently negative, add a penalty.
o This reduces score magnitude to reflect weakening momentum, without flipping the trend outright.
5. Normalize and Smooth
o Normalized score = (raw_score / number_of_enabled_components) * 100. This yields a roughly range.
o Optional EMA smoothing of this normalized score to reduce noise.
6. Interpretation
o Sign: >0 = net bullish bias; <0 = net bearish bias; near zero = neutral.
o Magnitude Zones: Compare |score| to thresholds (Weak, Medium, Strong) to label trend strength (e.g., “Weak Bullish Trend”, “Medium Bearish Trend”, “Strong Bullish Trend”).
o Δ Score Histogram: The histogram bars from zero show change from previous bar’s score; positive bars indicate acceleration, negative bars indicate deceleration.
o Confidence: Percentage of sub-indicators aligned with the score’s sign.
o Regime: Indicates whether trend-based signals are fully weighted or down-weighted.
________________________________________
## 7. Oscillator Plot & Visualization: How to Read It
Main Score Line & Area
The oscillator plots the aggregated score as a line, with colored fill: green above zero for bullish area, red below zero for bearish area. Horizontal reference lines at ±Weak, ±Medium, and ±Strong thresholds mark zones: crossing above +Weak suggests beginning of bullish bias, above +Medium for moderate strength, above +Strong for strong trend; similarly for bearish below negative thresholds.
Δ Score Histogram
If enabled, a histogram shows score - score . When positive, bars appear in green above zero, indicating accelerating bullish momentum; when negative, bars appear in red below zero, indicating decelerating or reversing momentum. The height of each bar reflects the magnitude of change in the aggregated score from the prior bar.
Divergence Highlight Fill
If enabled, when a pivot-based divergence is confirmed:
• Bullish Divergence : fill the area below zero down to –Weak threshold in green, signaling potential reversal from bearish to bullish.
• Bearish Divergence : fill the area above zero up to +Weak threshold in red, signaling potential reversal from bullish to bearish.
These fills appear with a lag equal to pivot lookback (the number of bars needed to confirm the pivot). They do not repaint after confirmation, but users must understand this lag.
Trend Direction Label
When score crosses above or below the Weak threshold, a small label appears near the score line reading “Bullish” or “Bearish.” If the score returns within ±Weak, the label “Neutral” appears. This helps quickly identify shifts at the moment they occur.
Dashboard Panel
In the indicator pane’s top-right, a table shows:
1. EMA Cross status: “Bull”, “Bear”, “Flat”, or “Disabled”
2. VWMA Momentum status: similarly
3. Volume Spike status: “Bull”, “Bear”, “No”, or “Disabled”
4. ATR Breakout status: “Bull”, “Bear”, “No”, or “Disabled”
5. Higher-Timeframe Trend status: “Bull”, “Bear”, “Flat”, or “Disabled”
6. Score: numeric value (rounded)
7. Confidence: e.g., “80%” (colored: green for high, amber for medium, red for low)
8. Regime: “Trending” or “Ranging” (colored accordingly)
9. Trend Strength: textual label based on magnitude (e.g., “Medium Bullish Trend”)
10. Gauge: a bar of blocks representing |score|/100
All rows remain visible at all times; changing Dashboard Size only scales text size (Normal, Small, Tiny).
________________________________________
## 8. Example Usage (Illustrative Scenario)
Example: BTCUSD 5 Min
1. Setup: Add “Trend Gauge ” to your BTCUSD 5 Min chart. Defaults: EMAs (8/21), VWMA 14 with lookback 3, volume spike settings, ATR breakout 14/5, HTF = 5m (or adjust to 4H if preferred), ADX threshold 25, ranging weight 0.5, divergence RSI length 14 pivot lookback 5, penalty 0.5, smoothing length 3, thresholds Weak=20, Medium=50, Strong=80. Dashboard Size = Small.
2. Trend Onset: At some point, price breaks above recent high by ATR multiple, volume spikes upward, faster EMA crosses above slower EMA, HTF EMA also bullish, and ADX (manual) ≥ threshold → aggregated score rises above +20 (Weak threshold) into +Medium zone. Dashboard shows “Bull” for EMA, VWMA, Vol Spike, ATR, HTF; Score ~+60–+70; Confidence ~100%; Regime “Trending”; Trend Strength “Medium Bullish Trend”; Gauge ~6–7 blocks. Δ Score histogram bars are green and rising, indicating accelerating bullish momentum. Trader notes the alignment.
3. Divergence Warning: Later, price makes a slightly higher high but RSI fails to confirm (lower RSI high). Pivot lookback completes; the indicator highlights a bearish divergence fill above zero and subtracts a small penalty from the score, causing score to stall or retrace slightly. Dashboard still bullish but score dips toward +Weak. This warns the trader to tighten stops or take partial profits.
4. Trend Weakens: Score eventually crosses below +Weak back into neutral; a “Neutral” label appears, and a “Neutral Trend” alert fires if enabled. Trader exits or avoids new long entries. If score subsequently crosses below –Weak, a “Bearish” label and alert occur.
5. Customization: If the trader finds VWMA noise too frequent on this instrument, they may disable VWMA or increase lookback. If ATR breakouts are too rare, adjust ATR length or multiplier. If ADX threshold seems off, tune threshold. All these adjustments are explained in Inputs section.
6. Visualization: The screenshot shows the main score oscillator with colored areas, reference lines at ±20/50/80, Δ Score histogram bars below/above zero, divergence fill highlighting potential reversal, and the dashboard table in the top-right.
________________________________________
## 9. Inputs Explanation
A concise yet clear summary of inputs helps users understand and adjust:
1. General Settings
• Theme (Dark/Light): Choose background-appropriate colors for the indicator pane.
• Dashboard Size (Normal/Small/Tiny): Scales text size only; all dashboard elements remain visible.
2. Indicator Settings
• Enable EMA Cross: Toggle on/off basic EMA alignment check.
o Fast EMA Length and Slow EMA Length: Periods for EMAs.
• Enable VWMA Momentum: Toggle VWMA momentum check.
o VWMA Length: Period for VWMA.
o VWMA Momentum Lookback: Bars to compare VWMA to measure momentum.
• Enable Volume Spike: Toggle volume spike detection.
o Volume SMA Length: Period to compute average volume.
o Volume Spike Multiplier: How many times above average volume qualifies as spike.
o Min Price Move (%): Minimum percent change in price during spike to qualify as bullish or bearish.
• Enable ATR Breakout: Toggle ATR breakout detection.
o ATR Length: Period for ATR.
o Breakout Lookback: Bars to look back for recent highs/lows.
o ATR Multiplier: Multiplier for breakout threshold.
• Enable Higher Timeframe Trend: Toggle HTF EMA alignment.
o Higher Timeframe: E.g., “5” for 5-minute when on 1-minute chart, or “60” for 5 Min when on 15m, etc. Uses lookahead_off.
• Enable ADX Regime Filter: Toggles regime-based weighting.
o ADX Length: Period for manual ADX calculation.
o ADX Threshold: Value above which market considered trending.
o Ranging Weight Multiplier: Weight applied to trend components when ADX < threshold (e.g., 0.5).
• Scale VWMA Momentum: Toggle normalization of VWMA momentum magnitude.
o VWMA Mom Scale Lookback: Period for average absolute VWMA momentum.
• Scale ATR Breakout Strength: Toggle normalization of breakout distance by ATR.
o ATR Scale Cap: Maximum multiple of ATR used for breakout strength.
• Enable Price-RSI Divergence: Toggle divergence detection.
o RSI Length for Divergence: Period for RSI.
o Pivot Lookback for Divergence: Bars on each side to identify pivot high/low.
o Divergence Penalty: Amount to subtract/add to score when divergence detected (e.g., 0.5).
3. Score Settings
• Smooth Score: Toggle EMA smoothing of normalized score.
• Score Smoothing Length: Period for smoothing EMA.
• Weak Threshold: Absolute score value under which trend is considered weak or neutral.
• Medium Threshold: Score above Weak but below Medium is moderate.
• Strong Threshold: Score above this indicates strong trend.
4. Visualization Settings
• Show Δ Score Histogram: Toggle display of the bar-to-bar change in score as a histogram. Default true.
• Show Divergence Fill: Toggle background fill highlighting confirmed divergences. Default true.
Each input has a tooltip in the code.
________________________________________
## 10. Limitations, Repaint Notes, and Disclaimers
10.1. Repaint & Lag Considerations
• Pivot-Based Divergence Lag: The divergence detection uses ta.pivothigh / ta.pivotlow with a specified lookback. By design, a pivot is only confirmed after the lookback number of bars. As a result:
o Divergence labels or fills appear with a delay equal to the pivot lookback.
o Once the pivot is confirmed and the divergence is detected, the fill/label does not repaint thereafter, but you must understand and accept this lag.
o Users should not treat divergence highlights as predictive signals without additional confirmation, because they appear after the pivot has fully formed.
• Higher-Timeframe EMA Alignment: Uses request.security(..., lookahead=barmerge.lookahead_off), so no future data from the higher timeframe is used. This avoids lookahead bias and ensures signals are based only on completed higher-timeframe bars.
• No Future Data: All calculations are designed to avoid using future information. For example, manual ADX uses RMA on past data; security calls use lookahead_off.
10.2. Market & Noise Considerations
• In very choppy or low-liquidity markets, some components (e.g., volume spikes or VWMA momentum) may be noisy. Users can disable or adjust those components’ parameters.
• On extremely low timeframes, noise may dominate; consider smoothing lengths or disabling certain features.
• On very high timeframes, pivots and breakouts occur less frequently; adjust lookbacks accordingly to avoid sparse signals.
10.3. Not a Standalone Trading System
• This is an indicator, not a complete trading strategy. It provides signals and context but does not manage entries, exits, position sizing, or risk management.
• Users must combine it with their own analysis, money management, and confirmations (e.g., price patterns, support/resistance, fundamental context).
• No guarantees: past behavior does not guarantee future performance.
10.4. Disclaimers
• Educational Purposes Only: The script is provided as-is for educational and informational purposes. It does not constitute financial, investment, or trading advice.
• Use at Your Own Risk: Trading involves risk of loss. Users should thoroughly test and use proper risk management.
• No Guarantees: The author is not responsible for trading outcomes based on this indicator.
• License: Published under Mozilla Public License 2.0; code is open for viewing and modification under MPL terms.
________________________________________
## 11. Alerts
• The indicator defines three alert conditions:
1. Bullish Trend: when the aggregated score crosses above the Weak threshold.
2. Bearish Trend: when the score crosses below the negative Weak threshold.
3. Neutral Trend: when the score returns within ±Weak after being outside.
Good luck
– BullByte
Osilatörler
MM + MACD [RSI Filter]MM + MACD Trend Follower with RSI Filter
Pedro Canto - Portfolio Manager | CGA/CGE
OVERVIEW
The MM + MACD Trend Follower with RSI Filter is a multi-layered trend-following indicator designed to help traders identify high-probability trend continuation setups while avoiding low-quality entries caused by overbought or oversold market conditions.
This tool combines the power of Moving Averages (MA), the MACD Histogram, and a visual RSI-based filter to validate both trend direction and timing for entries. Its goal is simple: filter out noise and highlight only the most technically relevant buy and sell signals based on objective momentum and trend criteria.
USE CASES
- Identifying trend continuation setups
- Filtering false signals during consolidation phases
- Avoiding trades in overbought or oversold zones
- Enhancing entry timing for both swing and intraday strategies
- Providing visual confirmation of trend strength and momentum alignment
KEY FEATURES
1. Dual Moving Average Setup
The indicator allows full customization of two moving averages (MA1 and MA2), supporting both EMA and SMA types. The slope of the longer MA (MA2) acts as an essential trend filter, ensuring signals are only generated when the market shows clear directional bias.
2. MACD Histogram Trend Confirmation
A classic MACD Histogram calculation is used to validate the momentum of the prevailing trend.
- Bullish Trend: Histogram > 0
- Bearish Trend: Histogram < 0
This step filters out counter-trend signals and ensures trades are aligned with momentum.
3. Intrabar Price Trigger
Unlike standard crossover systems, this indicator waits for intrabar price action to trigger entries:
- Buy Signal: Price crosses below one of the MAs during an uptrend (dip-buy logic)
- Sell Signal: Price crosses above one of the MAs during a downtrend (rally-sell logic)
This intrabar trigger improves entry timing and helps capture retracement-based opportunities.
4. RSI Visual Filter
A short-term RSI is plotted and color-coded to visually highlight overbought and oversold conditions, acting as a discretionary filter for users to avoid low-probability trades during exhaustion points.
5. Dynamic Coloring System
Bar Colors:
- Blue: Bullish trend
- Red: Bearish trend
- Orange: RSI Overbought/Oversold zones
MA Colors:
- Blue for bullish conditions
- Red for bearish conditions
- Gray for neutral/no-trend phases
6. Signal Markers and Alerts
Clear visual buy and sell markers are plotted directly on the chart.
Additionally, the indicator includes real-time alerts for both Buy and Sell signals, helping traders stay informed even when away from the screen.
INPUTS AND CUSTOMIZATION OPTIONS
- Moving Average Types: EMA or SMA for both MA1 and MA2.
- MACD Settings: Customizable fast, slow, and signal periods.
- RSI Settings: Source, length, and overbought/oversold levels fully adjustable.
- Color Customization: Adjust RSI zone colors to suit your chart theme.
---
DISCLAIMER
This indicator is a technical analysis tool designed for educational and informational purposes only. It should not be used as a standalone trading system. Always combine it with sound risk management, price action analysis, and, where applicable, fundamental context.
Past performance does not guarantee future results.
Gorgo's Hybrid Oscillator STrategy**Indicator Name:** Gorgo's Hybrid Oscillator STrategy (G.H.O.S.T.)
**Purpose:**
The Gorgo's Hybrid Oscillator STrategy (G.H.O.S.T.) is a multi-component technical analysis tool designed to identify overbought and oversold market conditions, assess trend strength, and signal potential buy and sell opportunities. By combining elements from RSI, Ultimate Oscillator, Stochastic CCI, and ADX, this custom indicator provides a comprehensive view of momentum, trend intensity, and volume context to enhance decision-making.
---
**Components and Logic:**
1. **RSI (Relative Strength Index):**
* Calculated using a customizable period (default: 14) and based on the hlc3 price source.
* Measures recent price changes to evaluate overbought/oversold conditions.
* Incorporated in the final oscillator average.
2. **Ultimate Oscillator:**
* Combines three timeframes (7, 14, 28 by default) to smooth out price movements.
* Uses true range and buying pressure for multi-frame momentum analysis.
* Averaged together with RSI to create the main oscillator signal.
3. **Stochastic CCI:**
* Applies a stochastic process to the Commodity Channel Index (CCI).
* Smooths the %K and %D lines (default: 3 each) to detect subtle reversals.
* Generates oversold (<35) and overbought (>69) signals, plotted as yellow circles.
4. **ADX + DI (Average Directional Index):**
* Determines trend strength using ADX and directional movement indicators (DI).
* ADX threshold is set at 24 by default to filter weak trends.
* Colored histogram columns:
* Green: Strong bullish trend.
* Red: Strong bearish trend.
* Gray: Weak/no trend.
5. **Volume Analysis:**
* Calculates a 9-period SMA of volume.
* Detects significant volume spikes (2.7× the average by default) to validate breakouts or fakeouts.
6. **Oscillator Output ("osc") and Levels:**
* The main plotted oscillator line is the average of the RSI and Ultimate Oscillator.
* Important horizontal lines:
* Overbought (69.0)
* Oversold (35.0)
* Midline (52.0): Neutral reference point.
* ADX threshold line (24.0)
---
**Signals:**
1. **Buy Signal Conditions:**
* Close is less than or equal to open (candle is red).
* Oscillator is decreasing and below oversold level.
* Stochastic CCI is below midline.
* Volume is above average, or excessive volume with oscillator falling below 40.
* ADX confirms trend presence (either above 15 or meeting threshold).
2. **Sell Signal Conditions:**
* ADX increasing and confirming trend.
* Oscillator is increasing and above overbought level.
* Stochastic CCI is above midline.
* Volume is above average, or very high with oscillator above 60.
3. **Visual Feedback:**
* Yellow dots highlight oversold/overbought Stochastic CCI.
* Oscillator line in cyan.
* Background colors:
* Light red for buy signals.
* White for sell signals.
4. **Alerts:**
* Built-in `alertcondition()` calls allow automated alerts for buy and sell events.
---
**Usage Guide:**
* **Best Use Cases:** Trend-following and reversal strategies on any timeframe.
* **Avoid Using Alone:** Use G.H.O.S.T. in conjunction with price action, support/resistance, and other confluence tools.
* **Customization:** All thresholds, periods, and volumes are user-editable from the settings panel.
---
**Interpretation Summary:**
G.H.O.S.T. excels at filtering out noise by combining different oscillators and volume signals to offer contextually valid entries and exits. A bullish (buy) signal typically suggests a market under pressure but potentially bottoming out, while a bearish (sell) signal highlights likely exhaustion after a strong upward push.
This hybrid approach makes the G.H.O.S.T. a reliable ally in volatile or choppy conditions where single-indicator strategies might fail.
RSI+MFI+RVI+stoch+BBAn indicator that displays five technical indicators in one code.
The technical indicators are:
RSI, MFI, RVI, Stoch, and BB.
RSI Combo: Buy + Sell + COMBOONLY FOR CRYPTO ASSETS!
This script generates RSI-based Buy and Sell signals for the current asset, with optional confirmation from the USDT Dominance index (USDT.D).
🔍 Logic Overview:
A Buy signal is triggered when:
RSI is below a defined threshold (default: 21)
Price is below the EMA (default: 100)
A Sell signal is triggered when:
RSI is above a defined threshold (default: 80)
Price is above the EMA
🔁 Combo Signals:
If a signal on the main asset is confirmed by an opposite signal on USDT.D (inverse logic), the script replaces the standard signal with a "combo" version:
combo buy = Buy signal on asset + Sell signal on USDT.D
combo sell = Sell signal on asset + Buy signal on USDT.D
This confirms a risk-off to risk-on (or vice versa) shift in the market.
✅ Features:
Works on any timeframe and any ticker
Inputs for custom RSI/EMA parameters
Alerts for all signal types:
Regular buy / sell
Enhanced combo buy / combo sell
Designed for overlay on the chart
USDT.D ticker can be customized
GCM Price Boost📌 GCM Price Boost (GCMPB) – by
📈 Overview:
The GCM Price Boost indicator combines Volume Rate of Change (VROC) with a modified RSI Histogram to detect early momentum surges and potential reversal zones — giving you a powerful dual-momentum edge in all markets.
This tool is built for traders who want to spot strong price bursts (boosts) backed by volume and momentum, with visual clarity.
🔍 What It Includes:
✅ VROC Histogram:
Tracks how quickly volume is increasing alongside price.
Helps spot "pump" scenarios — surges in buying or selling pressure.
Color-coded for trend:
🟢 Green when price is rising
🔴 Red when price is falling
⚪ Gray when neutral
Two thresholds:
Small Pump (default 0.5)
Big Pump (default 10.0)
✅ RSI Histogram:
Based on RSI deviations from 50 (mid-level), scaled by a user-defined multiplier.
Color-coded histogram fill for momentum strength:
🟢 Positive = bullish pressure
🔴 Negative = bearish pressure
Histogram line color:
Above zero: 🟢 #2dff00 (bullish)
Below zero: 🔴 #ff0000 (bearish)
✅ Customizable Settings:
Adjustable VROC lookback and thresholds.
Custom RSI period and multiplier.
Amplify VROC histogram height visually via scaling multiplier.
✅ Alerts Built-in:
🔔 GCM Small Pump Detected
🔔 GCM Big Pump Detected
🔔 RSI Buy Signal
🔔 RSI Sell Signal
⚙️ Best Used For:
Spotting volume-backed momentum shifts
Surfing strong price waves (breakouts, pumps)
Timing buy/sell zones using RSI momentum
Combining with other confirmation tools (trend filters, S/R zones, etc.)
🚀 How to Use:
Add this indicator to your chart.
Watch for:
VROC bars crossing pump levels
RSI Histogram entering buy/sell zones
Use alerts to stay notified of key shifts.
Combine with price action or trend filters for higher confidence.
🧠 Pro Tip:
For aggressive traders: Enter when RSI crosses buy/sell level with a matching VROC boost.
For swing traders: Use this as an early warning of upcoming strength or exhaustion.
💬 Feedback & Upgrades:
If you’d like:
Buy/sell arrows
A strategy version for backtesting
Multi-timeframe enhancements
Drop a comment or message — I’m actively maintaining and improving this tool 💪
KDJ```
**KDJ Indicator - Enhanced Stochastic Oscillator**
The KDJ indicator is an advanced technical analysis tool that extends the traditional stochastic oscillator with an additional J line, providing enhanced momentum analysis for trading decisions.
**What is KDJ?**
KDJ consists of three lines:
- **K Line (Blue)**: Fast stochastic line showing short-term momentum
- **D Line (Orange)**: Smoothed version of K line, representing medium-term trend
- **J Line (White)**: Divergence line calculated as (3×K - 2×D), showing momentum acceleration
**Key Features:**
- Fully customizable parameters for optimal strategy adaptation
- Independent signal smoothing for K and D lines
- Visual background coloring for quick trend identification
- Standard overbought (80) and oversold (20) levels
- Clean, professional chart presentation
**Parameters:**
- **Period**: Lookback period for highest/lowest calculations (default: 42)
- **Signal K**: Smoothing factor for K line (default: 4)
- **Signal D**: Smoothing factor for D line (default: 4)
**Trading Signals:**
- **Bullish**: J line crosses above D line (green background)
- **Bearish**: J line crosses below D line (red background)
- **Overbought**: Values above 80 level
- **Oversold**: Values below 20 level
**Best Use:**
Ideal for identifying trend reversals, momentum shifts, and entry/exit points across all timeframes and markets. The J line provides early signals compared to traditional stochastic indicators.
Perfect for swing trading, scalping, and trend following strategies.
```
Stochastic Momentum TrackerStochastic momentum Oscillator with accurate settings to show overbought and oversold regions of price action, with a conditionally colored background that shows overbought(RED) and oversold(green).
Ultimate Williams %RUltimate Williams %R
The most advanced Williams %R indicator available - featuring multi-timeframe analysis, zero-lag processing, volatility adaptivity, and intelligent extreme zone detection.
Key Improvements Over Standard Williams %R
Multi-Timeframe: Combines short, medium, and long-term Williams %R calculations with Ultimate Oscillator-style weighting for superior signal quality
Zero-Lag Implementation: Utilizes Ehler's Zero-Lag EMA with error correction, eliminating traditional oscillator lag while maintaining smoothness
Volatility Adaptive: Automatically adjusts periods based on ATR volatility analysis for optimal performance in all market conditions
Z-Score Normalization: Provides consistent, statistically-based extreme level detection across different market environments
Perfect For
Overbought/Oversold Identification: Instantly spot extreme market conditions with visual intensity that scales with signal strength
Divergence Analysis: Enhanced responsiveness and smooth operation make divergence patterns clearer and more reliable
Multi-Timeframe Confirmation: Built-in timeframe combination eliminates the need for multiple Williams %R indicators
Entry/Exit Timing: Zero-lag processing provides earlier signals without sacrificing accuracy
Customizable Settings
Timeframe Periods: Adjustable short (7), medium (14), and long (28) periods
Volatility Adaptation: Configurable ATR-based period adjustment
Zero-Lag Processing: Toggle and fine-tune the smoothing system
Z-Score Normalization: Adjustable lookback period for statistical analysis
Extreme Levels: Customizable threshold for extreme signal detection
Donchian + EMA + T3 (RR 1:2) with 1H EMA FilterFinalized Trend Catcher Ema and T3 confirmation with 1h content table
RedAndBlue Indicator LightsRedAndBlue Indicator Lights — RSI, MFI, and Bollinger Band Sentiment Table
This indicator provides a multi-timeframe sentiment dashboard using RSI , MFI , and Bollinger Bands , visualized in a compact color-coded table.
What it does:
Evaluates RSI and MFI values across multiple timeframes: 5m, 15m, 30m, 1h, 2h, 4h, and 1D
Analyzes Bollinger Bands in two ways:
BB = compares candle body position relative to Bollinger Bands
BBw = checks whether candle wicks pierce above or below the bands
Each cell displays the indicator value or a symbolic label (↓↓, ↓, –, ↑, ↑↑)
Color-coded backgrounds reflect overbought/oversold zones
All thresholds and colors are fully customizable in the input settings
Color meanings:
Green : Strong oversold (value < low1)
Light blue : Slightly oversold (value < low2)
White : Neutral zone (between low2 and high2)
Yellow : Slightly overbought (value > high2)
Red : Strong overbought (value > high1)
BB and BBw label meanings:
↓↓ = Price (or wick) pierced below the lower Bollinger Band
↓ = Candle body is between lower band and midline
– = Candle body crosses the midline (neutral)
↑ = Candle body is between midline and upper band
↑↑ = Price (or wick) pierced above the upper Bollinger Band
How to use it effectively:
If RSI, MFI, BB, and BBw all show oversold signals (green or light blue) across multiple timeframes, especially on 1h, 4h, or 1D, it may signal a good buying opportunity
If the indicators all show overbought signals (red or yellow), it may indicate a potential exit or short zone
BBw shows wick-based signals and can act as an early warning; BB confirms with the candle body
Use this table to spot sentiment confluence across timeframes before entering a trade
If most cells are white, the market is likely in a sideways or neutral state
This indicator helps you quickly identify multi-timeframe sentiment shifts and potential reversal points through a clean, structured visual layout.
RSI Distance+Here’s a Pine Script that highlights when the RSI line is significantly far from its moving average, just like in your marked image:
🔍 How It Works:
Calculates RSI and its SMA.
Measures absolute distance between the two.
If that distance exceeds your chosen threshold (e.g. 4.0), it:
Colors the background behind the RSI.
Marks it with a small red circle on the RSI line.
You can adjust the distanceThreshold input to fine-tune sensitivity based on your preference.
Stochastic Momentum TrackerStochastic Momentum Indicator with colored background highlighting overbought (red) and Oversold (green) with the conditionally colored background. Great for gauging Momentum pivots for price action.
Volumetric Expansion/Contraction### Indicator Title: Volumetric Expansion/Contraction
### Summary
The Volumetric Expansion/Contraction (PCC) indicator is a comprehensive momentum oscillator designed to identify high-conviction price moves. Unlike traditional oscillators that only look at price, the PCC integrates four critical dimensions of market activity: **Price Change**, **Relative Volume (RVOL)**, **Cumulative Volume Delta (CVD)**, and **Average True Range (ATR)**.
Its primary purpose is to help traders distinguish between meaningful, volume-backed market expansions and noisy, unsustainable price action. It gives more weight to moves that occur in a controlled, low-volatility environment, highlighting potential starts of new trends or significant shifts in market sentiment.
### Key Concepts & Purpose
The indicator's unique formula synthesizes the following concepts:
1. **Price Change:** Measures the magnitude and direction of the primary move.
2. **Relative Volume (RVOL):** Confirms that the move is backed by significant volume compared to its recent average, indicating institutional participation.
3. **Cumulative Volume Delta (CVD):** Measures the underlying buying and selling pressure, confirming that the price move is aligned with the net flow of market orders.
4. **Inverse Volatility (ATR):** This is the indicator's unique twist. It normalizes the signal by the inverse of the Average True Range. This means the indicator's value is **amplified** when volatility (ATR) is low (signifying a controlled, confident expansion) and **dampened** when volatility is high (filtering out chaotic, less predictable moves).
The goal is to provide a single, easy-to-read oscillator that signals when price, volume, and order flow are all in alignment, especially during a breakout from a period of contraction.
### Features
* **Main Oscillator Line:** A single line plotted in a separate pane that represents the calculated strength of the volumetric expansion or contraction.
* **Zero Line:** A dotted reference line to easily distinguish between bullish (above zero) and bearish (below zero) regimes.
* **Visual Threshold Zones:** The background automatically changes color to highlight periods of significant strength:
* **Bright Green:** Indicates a "Strong Up Move" when the oscillator crosses above the user-defined upper threshold.
* **Bright Fuchsia:** Indicates a "Strong Down Move" when the oscillator crosses below the user-defined lower threshold.
### Configurable Settings & Filters
The indicator is fully customizable to allow for extensive testing and adaptation to different assets and timeframes.
#### Main Calculation Inputs
* **Price Change Lookback:** Sets the period for calculating the primary price change.
* **CVD Normalization Length:** The lookback period for normalizing the Cumulative Volume Delta.
* **RVOL Avg Volume Length:** The lookback for the simple moving average of volume, used to calculate RVOL.
* **RVOL Normalization Length:** The lookback period for normalizing the RVOL score.
* **ATR Length & Normalization Length:** Sets the periods for calculating the ATR and its longer-term average for normalization.
#### Weights
* Fine-tune the impact of each core component on the final calculation, allowing you to emphasize what matters most to your strategy (e.g., give more weight to CVD or RVOL).
#### External Market Filter (Powerful Feature)
* **Enable SPY/QQQ Filter for Up Moves?:** A checkbox to activate a powerful regime filter.
* **Symbol:** A dropdown to choose whether to filter signals based on the trend of **SPY** or **QQQ**.
* **SMA Period:** Sets the lookback period for the Simple Moving Average (default is 50).
* **How it works:** When enabled, this filter will **only allow "Strong Up Move" signals to appear if the chosen symbol (SPY or QQQ) is currently trading above its specified SMA**. This is an excellent tool for aligning your signals with the broader market trend and avoiding bullish entries in a bearish market.
#### Visuals
* **Upper/Lower Threshold:** Allows you to define what level the oscillator must cross to trigger the colored background zones, letting you customize the indicator's sensitivity.
***
**Disclaimer:** This tool is designed for market analysis and confluence. It is not a standalone trading system. Always use this indicator in conjunction with your own trading strategy, risk management, and other forms of analysis.
RSI Rangebound AreaRSI Rangebound Area is a Pine Script v6 indicator that automatically detects consolidation zones where both price and RSI stay within user-defined thresholds. During a rangebound period it:
Shades the background to highlight consolidation
Places “Range Start” and “Range End” labels at the beginning and end
Displays an info table (RSI value, price range %, RSI range, current state: Rangebound/Trending)
Key Inputs
RSI Length
Overbought / Oversold Levels
Range Detection Period
Max Price Range (%)
Max RSI Range
Toggle for “Please add RSI(14) indicator” reminder
Ideal for spotting flat markets and refining breakout or mean-reversion entries. Free and open-source—feel free to customize and contribute!
NCrypt30 Combined RSI (Auto Timeframe)I have combined the RSI on all of the top 30 coins on Coinbase excluding BTC, ETH & Stables. I have then used this to plot good value zones.
Traders can use this on multiple timeframes and be used in conjuction with the breadth strategy for added confluence on deep value zones.
GWA 15min Strategy (Relaxed with TP/SL)Long Entry Conditions (Relaxed)
You enter a long position when all three of the following are true:
Stochastic Crossover Below 30
%K crosses above %D,
and %K is less than 30 (mildly oversold).
MACD Bullish Crossover (Relaxed)
MACD Line is just slightly greater than Signal Line:
macdLine > signalLine * 0.995
This allows for weaker bullish momentum entries.
Soft Trend Filter (Near EMA)
Price is above 98% of the 20-period EMA:
close > emaFilter * 0.98
Allows buying even slightly below the EMA, rather than strictly above.
📉 Long Exit Conditions
You exit the long position when both of the following are true:
Stochastic Overbought Reversal
%K is above 70 and crosses below %D.
MACD Bearish Crossover
MACD Line falls below the Signal Line.
🛠️ Notes
Relaxation Points:
Standard entries would require more strict crossovers (e.g., K < 20 for buy, or MACD > signalLine strictly).
You're allowing signals to trigger earlier and more often to catch quicker price action.
Labeling:
Long entries and exits are visually marked on the chart using label.new().
GWA 15min Strategy (Relaxed)Long Entry Conditions (Relaxed)
You enter a long position when all three of the following are true:
Stochastic Crossover Below 30
%K crosses above %D,
and %K is less than 30 (mildly oversold).
MACD Bullish Crossover (Relaxed)
MACD Line is just slightly greater than Signal Line:
macdLine > signalLine * 0.995
This allows for weaker bullish momentum entries.
Soft Trend Filter (Near EMA)
Price is above 98% of the 20-period EMA:
close > emaFilter * 0.98
Allows buying even slightly below the EMA, rather than strictly above.
📉 Long Exit Conditions
You exit the long position when both of the following are true:
Stochastic Overbought Reversal
%K is above 70 and crosses below %D.
MACD Bearish Crossover
MACD Line falls below the Signal Line.
🛠️ Notes
Relaxation Points:
Standard entries would require more strict crossovers (e.g., K < 20 for buy, or MACD > signalLine strictly).
You're allowing signals to trigger earlier and more often to catch quicker price action.
1M/2M Scalping BUY/SELL IndicatorScript Name: CHN BUY SELL v5 — Multi-Timeframe EMA + RSI + Candlestick Patterns
This script is a powerful multi-signal trading tool designed for scalping and trend-based strategies, combining multi-timeframe EMA, RSI-based conditions, and classic candlestick patterns to generate buy/sell signals.
🔧 Key Features:
Multi-Timeframe EMA 200:
Plots the EMA 200 from multiple timeframes (2m, 5m, 10m, 15m) to visualize higher timeframe trends on the current chart.
RSI Analysis:
Calculates RSI using configurable length.
Highlights Overbought and Oversold zones.
Custom bar coloring based on RSI level (e.g., orange when overbought, purple when oversold).
Candlestick Pattern Detection:
Bullish/Bearish Engulfing
Hammer & Shooting Star
Two Consecutive Green or Red Bars
Buy/Sell Signal Logic:
Generates buy/sell labels when RSI aligns with engulfing candle patterns or other configurations.
Optional pattern detection can be enabled/disabled via settings (e.g., hammer signals or two-bar confirmations).
Visuals:
Clear labels and shapes on chart for each signal type.
Multiple EMA lines help identify trend direction across timeframes.
Alerts:
Built-in alert conditions for:
General RSI signal
Buy/Sell signals
Hammer or Shooting Star detections
🧠 How to Use:
Apply this script to a low timeframe chart (e.g., 1m, 2m).
Example : Trade 2M chart - Use EMA 200 at 10M timeframes.
Use the higher timeframe EMA to trade in the direction of the major trend.
Watch for RSI + pattern confluence signals for higher probability entries.
Let me know if you'd like a shorter version or one tailored for publishing to the TradingView public library.
Bitcoin Macro Oscillator | [DeV]The Bitcoin Macro Oscillator (BMO) is a sophisticated fundamental indicator designed to provide a comprehensive view of Bitcoin’s market conditions by combining four key on-chain metrics: the Market Value to Realized Value (MVRV) Ratio, Volume-Weighted Average Price (VWAP) Ratio, Cumulative Value-Days Destroyed (CVDD) Ratio, and Sharpe Ratio. These metrics are individually z-scored and weighted according to user-defined preferences, then averaged to produce a single oscillating value, the BMO Z-score. This helps users identify whether Bitcoin is in a bullish (above zero) or bearish (below zero) phase, offering insights into potential market tops, bottoms, and overall trend strength. Inspired and reverse engineered from the BMO of Woonomics, this indicator is enhanced with a customizable moving average.
Market Value to Realized Value (MVRV) Ratio
The MVRV Ratio compares Bitcoin’s current market capitalization (price multiplied by circulating supply) to its realized capitalization (the value of all coins at the price they were last moved on the blockchain). Calculated as MVRV = Market Cap / Realized Cap, it is then z-scored over a user-defined lookback period (default 120 days). This metric tracks whether Bitcoin is overvalued (high MVRV, suggesting a market top) or undervalued (low MVRV, indicating a potential bottom), providing a gauge of investor profitability and market sentiment.
Volume-Weighted Average Price (VWAP) Ratio
The VWAP Ratio measures Bitcoin’s current price against its volume-weighted average price, which is computed by summing the product of price and volume over a lookback period (default 120 days) and dividing by total volume, with a fallback to the current price if volume is zero. The ratio is z-scored to standardize it. This tracks the relationship between price and the average price paid with volume consideration, helping identify overbought or oversold conditions—high values may signal tops, while low values suggest bottoms.
Cumulative Value-Days Destroyed (CVDD) Ratio
The CVDD Ratio is based on the CVDD metric, which estimates the total value of Bitcoin that has been “destroyed” (spent at a loss) over time, approximated here using a longer-term simple moving average (SMA) of the price over twice the lookback period. The ratio is calculated as the current price divided by this CVDD price, then z-scored. It tracks the accumulation of value destruction, with low values indicating bearish exhaustion and high values suggesting bullish momentum.
Sharpe Ratio
The Sharpe Ratio assesses Bitcoin’s risk-adjusted return by comparing the average return (calculated as the natural log of the price change) to its volatility (standard deviation of returns) over a user-defined Sharpe lookback period (default 180 days). If volatility is zero, it defaults to zero to avoid errors. This z-scored value tracks whether Bitcoin’s price movements offer a favorable return for the risk taken—positive values indicate good risk-adjusted performance, while negative values suggest caution.
Together, the MVRV, VWAP, CVDD, and Sharpe Ratio metrics provide a multi-faceted view of Bitcoin’s market health, with each contributing unique insights into valuation, volume, value destruction, and risk-adjusted performance. Their weighted combination into the BMO Z-score balances these inputs to offer a unified signal, enhanced by a customizable moving average (default 90-period EMA) that smooths the Z-score for trend confirmation—rising when bullish, falling when bearish. Credit to Woonomics for inspiring this robust framework, which adapts their BMO concept into a flexible, user-tailored tool.
Killzone - StradercommunityKillzone indicator - Stradercommunity V 0.1
New York (Blue)
London (Red)
Japan (Yellow)
MA Cloud with Custom MAs, RSI, Trendlines and S&R [deepakks444]Overview
This indicator combines an EMA-based cloud, customizable moving averages, RSI with divergence detection, trendlines, and support/resistance levels to provide a comprehensive tool for identifying buy and sell opportunities. Designed for trend-following and momentum-based strategies, it generates clear entry/exit signals, visualizes key market levels, and tracks performance statistics, making it suitable for stocks, forex, cryptocurrencies, and other markets.
Originality and Component Integration
The indicator’s originality lies in its synergistic integration of multiple technical analysis tools to create a robust, multi-faceted system. Unlike single-indicator tools, it combines:
EMA Cloud: Captures short-term momentum for immediate trend insights.
Moving Averages: Confirm broader trend direction with customizable periods.
RSI with Divergence: Detects momentum shifts and potential reversals.
Trendlines: Highlights dynamic support/resistance for breakout signals.
Support/Resistance: Marks static price zones for context.
These components were merged to:
Enhance Reliability: Requiring confluence (e.g., green cloud, MA crossover, and volume surge) reduces false signals.
Adapt to Market Conditions: The mix of trend-following (MAs, trendlines) and momentum (cloud, RSI) tools ensures versatility across trending or ranging markets.
Improve Visualization: Colored clouds, trendlines, and labeled zones simplify complex market dynamics.
Support Decision-Making: Performance metrics and alerts enable data-driven trading.
This unique combination offers traders a holistic view of price action, momentum, and key levels, distinguishing it from standard indicators like basic RSI or MA crossovers.
Usage
Apply the indicator to a chart and adjust settings to match your trading style. Signals are marked with "L" (buy) or "S" (sell) labels. Use the EMA Cloud’s color, MA alignment, and trendline/support-resistance breakouts to confirm trades. Set alerts for RSI, breakouts, or signals to stay informed.
Features
EMA Cloud: Plots a green (bullish), red (bearish), or yellow (neutral) band based on price versus short-term EMAs.
Moving Averages: Short (20-period), medium (50-period), and long-term (200-period) MAs with customizable types and crossover signals.
RSI Panel: Displays RSI with smoothing, Bollinger Bands, and divergence labels for overbought/oversold conditions.
Trendlines: Draws short-, medium-, and long-term lines connecting pivot highs/lows, with breakout alerts.
Support/Resistance: Visualizes key price zones as boxes, with breakout/retest labels.
Performance Table: Shows total trades and win rate for strategy evaluation.
Alerts: Notifies for RSI thresholds, breakouts, retests, divergences, and signals.
Settings
EMA Cloud: Adjust EMA length (default: 9) and volume MA period (default: 20).
Moving Averages: Set periods (20, 50, 200) and types (SMA, EMA, WMA).
RSI: Configure period (default: 14), bands (40/60), and smoothing.
Trendlines: Modify pivot lookback and minimum touches (default: 3).
Support/Resistance: Adjust lookback period for pivot detection.
Signal Logic
Buy Signal: Triggered when at least one condition is met:
Green EMA Cloud.
Short-term MA crosses above medium-term MA or is above it.
Price breaks above medium/long-term resistance trendline.
Confirmed by price above 9-period EMA and volume above 20-period MA.
Sell Signal: Triggered when:
Red EMA Cloud.
Short-term MA crosses below medium-term MA or is below it.
Price breaks below medium/long-term support trendline.
Confirmed by price below 9-period EMA and volume above 20-period MA.
Exits: Close buy when price falls below 9-period EMA; close sell when price rises above it.
Notes
Best used on higher timeframes (e.g., 4H, daily) for reliable signals.
Test thoroughly before live trading, as signals are for reference only.
Credits: Open-source code/libraries were used.
Limitations: May produce fewer signals in choppy markets; adjust settings for sensitivity.
Disclaimer
Signals are not guaranteed to be profitable. Backtest and validate before use in live trading.
Nikko Vortex StrategyWelcome to My Vortex Strategy for Pine Script v6
Results may vary depending on the timeframe, asset, and configuration.
📘 Strategy Overview
This strategy is powered by the Vortex Indicator (VI) — a tool developed by Etienne Botes and Douglas Siepman, introduced in Technical Analysis of Stocks & Commodities in 2010.
The VI is designed to identify trend initiations and confirm ongoing trends, making it ideal for momentum-based strategies.
⚙️ Strategy Characteristics
This system is best suited for moderately volatile coins, where it helps smooth out gains while maintaining steady growth.
🛠️ Key Parameters
Bar Multiple:
Controls how frequently new positions are opened/closed in an uptrend/downtrend.
Close All When Bearish:
When enabled, this forces the strategy to close all open positions as soon as the trend turns bearish. When disabled, it allows for pyramiding in both directions, depending on your risk tolerance.
Disclaimer:
This strategy is provided for educational and informational purposes only. Trading involves risk, and results may vary depending on configuration and market conditions. Always backtest thoroughly over a significant number of trades and monitor live performance carefully before considering any real trading. I am not offering financial advice.