Market Internal Strength (DJI/Nasdaq/S&P)Market Health Dow, Nasdaq & S\&P 500 Breadth
Track the true internal health of the US market's three most important indices the Dow Jones Industrial Average (DJI), the Nasdaq 100 (NDX), and the S\&P 500 (SPX).
Price action alone can be deceiving. A rising index might be driven by only a handful of mega-cap stocks, masking underlying weakness. This indicator provides a crucial look "under the hood" to measure the market's true breadth.
It visualizes the percentage of stocks within each index that are trading above their key moving averages (5, 20, 50, 100, 150, and 200-day). This allows you to instantly gauge whether a market trend is broadly supported by the majority of its constituent stocks.
Key Features
* Covers 3 Major US Indices Seamlessly switch your analysis between the Dow Jones, Nasdaq 100, and S\&P 500.
* Complete Breadth Picture Six MA periods offer a full view, from short-term momentum (5D, 20D) to the long-term institutional trend (150D, 200D).
* Fully Customizable Toggle the visibility of any line and adjust overbought/oversold levels to fit your personal strategy.
How to Use
1. Extreme Readings (Overbought/Oversold)
* Above 80% Signals a very strong, potentially overbought market. Caution is advised as a pullback could be near.
* Below 20% Signals a deeply oversold market, often indicating capitulation and potential buying opportunities.
2. Divergence (Powerful Warning Signal)
* Bearish The index price makes a new high, but this indicator makes a lower high. This warns that the rally is not broad-based and may be losing steam.
* Bullish The index price makes a new low, but this indicator makes a higher low. This suggests internal strength is building and a bottom may be forming.
3. Trend Confirmation
When the long-term lines (150D, 200D) remain high (e.g., \> 50%), the primary market trend is healthy and confirmed.
Media mobile semplice (SMA)
FUMO 200 MagnetWhat it does
FUMO Magnet measures how far price has stretched away from its long-term “magnet” — a blended EMA/SMA moving average (200 by default).
It plots a logarithmic deviation (optionally normalized) as an oscillator around zero.
Above 0** → price is above the magnet (stretched up)
Below 0** → price is below the magnet (stretched down)
Guide levels** highlight potential overbought/oversold zones
---
Why log deviation?
Log returns make extremes comparable across cycles and compress exponential trends — especially useful for BTC and other crypto assets.
Normalization modes further adjust the scale, keeping the oscillator readable on any chart.
---
Inputs
**Base**
* Source (default: Close)
* Base Length (default: 200 EMA/SMA)
* EMA vs SMA weight (%) — 0% = pure SMA, 100% = pure EMA, 50% = blended
* EMA smoothing of deviation — acts as a noise filter
**Normalization**
* None (Log Deviation) — raw log stretch in % terms
* Z-score — deviation in standard deviations (σ)
* Robust Z (MAD) — deviation vs median absolute deviation, resistant to outliers
* Tanh squash — smooth nonlinear squash of extremes for compact scale
* Normalization window (for Z / MAD)
* Tanh scale (lower = stronger squash)
* Clamp after normalization — hard cap at ±X
**Levels**
* Guide levels (Upper / Lower) — visual thresholds (default ±12)
* Zero line toggle
---
### How to read it
* **Trend bias**: sustained time above 0 = uptrend, below 0 = downtrend
* **Stretch / mean reversion**: the farther from 0, the higher the reversion risk
* **Cross-checks**: combine with structure (HH/HL, LH/LL), volume, or momentum (RSI, MACD)
---
### Recommended settings by timeframe
**Long-term (1D / 1W)**
* Normalization: None (Log Deviation)
* Base Length: 200
* EMA vs SMA weight: 50% (adjust 35–65% for faster/slower magnet)
* Deviation smoothing: 20 (10–30 range)
* Guide levels: ±12 to ±20
* Use case: cycle extremes, portfolio rebalancing, trim/add logic
**Swing (4H – 1D)**
* Normalization: Z-score
* Window: 200 (100–250)
* Smoothing: 14–20
* Guide levels: ±2σ to ±3σ
* Use case: stretched conditions across regimes; ±3σ is rare, often mean-reverts
**Intraday / Active swing (1H – 4H)**
* Normalization: Robust Z (MAD)
* Window: 200 (150 for faster response)
* Smoothing: 10–16
* Guide levels: ±3 to ±4 (robust units)
* Use case: handles spikes better than σ, fewer false overbought/oversold signals
**Scalping / Universal readability (15m – 1H)**
* Normalization: Tanh squash
* Tanh scale: 6–10 (start with 8)
* Smoothing: 8–12
* Guide levels: ±8 to ±12
* Use case: compact panel across assets and timeframes; not % or σ, but visually consistent
---
### Optional
* Clamp: enable ±20 (or ±25) for strict bounded range (useful for public charts)
---
### Quick setups
**BTC Daily (“cycle view”)**
* Normalization: None
* Blend: 50%
* Smooth: 20
* Levels: ±12–15
**BTC 4H (“swing”)**
* Normalization: Z-score
* Window: 200
* Smooth: 16
* Levels: ±2.5σ to ±3σ
**Alts 1H (“volatile”)**
* Normalization: Robust Z (MAD)
* Window: 200
* Smooth: 12
* Levels: ±3.5 to ±4.5
**Mixed assets 15m (“compact panel”)**
* Normalization: Tanh squash
* Scale: 8
* Smooth: 10
* Levels: ±8–12
* Clamp: ±20
BPS Multi-MA 5 — 22/30, SMA/WMA/EMA# Multi-MA 5 — 22/30 base, SMA/WMA/EMA
**What it is**
A lightweight 5-line moving-average ribbon for fast visual bias and trend/mean-reversion reads. You can switch the MA type (SMA/WMA/EMA) and choose between two ways of setting lengths: by monthly “session-based” base (22 or 30) with multipliers, or by entering exact lengths manually. An optional info table shows the effective settings in real time.
---
## How it works
* Calculates five moving averages from the selected price source.
* Lengths are either:
* **Multipliers mode:** `Base × Multiplier` (e.g., base 22 → 22/44/66/88/110), or
* **Manual mode:** any five exact lengths (e.g., 10/22/50/100/200).
* Plots five lines with fixed legend titles (MA1…MA5); the **info table** displays the actual type and lengths.
---
## Inputs
**Length Mode**
* **Multipliers** — choose a **Base** of **22** (≈ trading sessions per month) or **30** (calendar-style, smoother) and set **×1…×5** multipliers.
* **Manual** — enter **Len1…Len5** directly.
**MA Settings**
* **MA Type:** SMA / WMA / EMA
* **Source:** any series (e.g., `close`, `hlc3`, etc.)
* **Use true close (ignore Heikin Ashi):** when enabled, the MA is computed from the underlying instrument’s real `close`, not HA candles.
* **Show info table:** toggles the on-chart table with the current mode, type, base, and lengths.
---
## Quick start
1. Add the indicator to your chart.
2. Pick **MA Type** (e.g., **WMA** for faster response, **SMA** for smoother).
3. Choose **Length Mode**:
* **Multipliers:** set **Base = 22** for session-based monthly lengths (stocks/FX), or **30** for heavier smoothing.
* **Manual:** enter your exact lengths (e.g., 10/22/50/100/200).
4. (Optional) On **Heikin Ashi** charts, enable **Use true close** if you want the lines based on the instrument’s real close.
---
## Tips & notes
* **1 month ≈ 21–22 sessions.** Using 30 as “monthly” yields a smoother, more delayed curve.
* **WMA** reacts faster than **SMA** at the same length; expect earlier signals but more whipsaws in chop.
* **Len = 1** makes the MA track the chosen source (e.g., `close`) almost exactly.
* If changing lengths doesn’t move the lines, ensure you’re editing fields for the **active Length Mode** (Multipliers vs Manual).
* For clean comparisons, use the **same timeframe**. If you later wrap this in MTF logic, keep `lookahead_off` and handle gaps appropriately.
---
## Use cases
* Trend ribbon and dynamic bias zones
* Pullback entries to the mid/slow lines
* Crossovers (fast vs slow) for confirmation
* Volatility filtering by spreading lengths (e.g., 22/44/88/132/176)
---
**Credits:** Built for clarity and speed; designed around session-based “monthly” lengths (22) or smoother calendar-style (30).
Gravity Trend Line with ±10% Bands_QianYu🌌 Law of Gravity in Stock Trading — by Hu Liyang (胡立阳)—often called the “Godfather of Asian Stock Markets”
✦ Conceptual Origin
The “Law of Gravity” was developed by Mr. Hu Liyang, drawing an analogy between the gravitational pull in physics and the relationship between stock prices and moving averages. It is a medium-term mean reversion theory that helps traders identify rebound opportunities when prices deviate too far from their trend lines.
📈 Indicator Summary: Gravity Trend Line with ±10% Bands
🔧 How It's Calculated:
Gravity Trend Line = Average of SMA(30) and SMA(70)
Represents the fair value zone or center of gravity for price over a medium-term period.
Upper Band = Gravity Line + 10%
Lower Band = Gravity Line - 10%
A shaded zone shows the space between the upper and lower bands — your "gravity channel."
🧭How to Use It for Swing Trading (1H and 4H Charts)
1. Trend Bias Filter
If price is consistently above the Gravity Line, the trend bias is bullish.
If price is below the Gravity Line, the bias is bearish.
Use this to align your trades with the prevailing direction on 4H (macro view) and fine-tune entries on 1H.
2.Trade Entry Zones
Long Setup (buy):
Look for price near or just below the lower band (oversold zone).
Combine with bullish candles or reversal indicators (e.g., MACD bullish crossover, RSI < 30 turning up).
Confirmation: price reclaims the lower band or moves toward gravity line.
Short Setup (sell):
Look for price near or just above the upper band (overbought zone).
Combine with bearish confirmation (e.g., MACD bearish crossover, RSI > 70 turning down).
Confirmation: price starts rejecting from upper band toward gravity line.
3. Take Profit / Exit Zones
Partial TP: At the Gravity Line (mean reversion level).
Final TP: At opposite band (if price has strong momentum).
Alternatively, exit on crossback below gravity line after a long, or above it after a short.
4. Avoiding Traps
Avoid entering trades in the middle of the band (around the Gravity Line) unless there's strong breakout confirmation.
Use 4H for trend context, and 1H for entry precision.
Avoid trading against the broader gravity slope:
If gravity line is clearly sloping up, favor longs.
If sloping down, favor shorts.
📘 Example Strategy Workflow:
Timeframe:
Use 4H for directional bias
Use 1H for entries and exits
Example Long Setup (1H Chart):
Price dips below lower band while 4H trend is up.
Bullish candle forms or RSI/MACD confirms momentum shift.
Entry: price closes back above the lower band.
TP1: near gravity line.
TP2: near upper band.
Or, exit when gain hits +8% to +15%, depending on risk appetite.
📌 Final Notes:
This is a mean-reversion + trend confirmation tool — best used with additional confluence (candlestick patterns, volume, divergence).
It works well in ranging to gently trending markets — not ideal for sharp breakouts unless combined with breakout filters.
This indicator is for educational and reference purposes only.
It is not intended to be a recommendation or signal to buy or sell any security.
Use at your own discretion. Always perform your own due diligence before trading.
EMA21/SMA21 + ATR Bands SuiteThe EMA/SMA + ATR Bands Suite is a powerful technical overlay built around one of the most universally respected zones in trading: the 21-period moving average. By combining both the EMA21 and SMA21 into a unified framework, this tool defines the short-term mean with greater clarity and reliability, offering a more complete picture of trend structure, directional bias, and price equilibrium. These two moving averages serve as the central anchor — and from them, the script dynamically calculates adaptive ATR bands that expand and contract with market volatility. Whether you trade breakouts, pullbacks, or reversion setups, the 21 midline combined with ATR extensions offers a powerful lens for real-time market interpretation — adaptable to any timeframe or asset.
🔍 What's Inside?
✅ EMA21 + SMA21 Full Plots and Reduced-History Segments using arrays:
Enable full plots or segmented lines for the most recent candles only with automatic color coding. The reduced-history plots are perfect for reducing clutter on your chart.
✅ ATR Bands (2.5x & 5x):
Adaptive ATR-based volatility envelopes plotted around the midline (EMA21 + SMA21) to indicate:
🔸Potential reversion zones.
🔸Trend continuation breakouts.
🔸Dynamic support/resistance levels.
🔸 Expanding or contracting volatility states
🔸 Trend-aware color changes — yellow when both bands are rising, purple when falling, and gray when direction is mixed
✅ Dual MA Fills (EMA21/SMA21):
Visually track when short-term momentum shifts using a fill between EMA21 and SMA21
✅ EMA5 & EMA200 Labels:
Display anchored labels with rounded values + % difference from price, helping you track short-term + macro trends in real-time.
✅ Intelligent Bar Coloring
Bars are automatically colored based on both price direction and position relative to the EMA/SMA. This provides instant visual feedback on trend strength and structural alignment — no need to second-guess the market tone.
✅ Dynamic Close Line Tools:
Track recent price action with flexible close-following lines
✅ RSI Overlay on Candles:
Optional RSI + RSI SMA displayed above the current bar, with automatic color logic.
🎯 Use Cases
➖Trend Traders can identify when price is stacked bullishly across moving averages and breaking above ATR zones.
➖Mean Reversion Traders can fade extremes at 2.5x or 5x ATR zones.
➖Scalpers get immediate trend insight from colored bar overlays and close-following lines.
➖Swing Traders can combine multi-timeframe EMAs with volatility thresholds for higher confluence.
📌 Final Note:
As powerful as this script can be, no single indicator should be used in isolation. For best results, combine it with price action analysis, higher-timeframe context, and complementary tools like trendlines, moving averages, or support/resistance levels. Use it as part of a well-rounded trading approach to confirm setups — not to define them alone.
Coloured Multi Moving Averages by Fin VirajColoured Multi Moving Averages by Fin Viraj
📊 Overview
A comprehensive and clean moving averages indicator that supports 9 different types of moving averages with dynamic visual feedback. Perfect for both short-term trading and long-term analysis.
✨ Key Features
🔄 Multiple Moving Average Types
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume Weighted Moving Average)
HMA (Hull Moving Average)
DEMA (Double Exponential Moving Average)
TEMA (Triple Exponential Moving Average)
ZLEMA (Zero Lag Exponential Moving Average)
RMA (Rolling Moving Average/Wilder's Smoothing)
🎨 Dynamic Visual Feedback
Smart Color Change: MA1 automatically changes color based on price position (green when price above, red when price below)
Candle Highlighting: Candles change color when price crosses MA1
Individual Visibility Controls: Show/hide each MA independently
Customizable Styling: Adjust colors and line thickness
⚙️ Flexible Configuration
3 Independent MAs: Each can be set to different types and periods
Default Settings: 9-period, 21-period, and 50-period (commonly used in trading)
Easy Customization: Quick dropdown selection for MA types
Clean Interface: Organized settings groups for easy navigation
📈 How to Use
For Day Trading:
Set MA1 to HMA(9) for quick signals
Set MA2 to EMA(21) for medium-term trend
Set MA3 to SMA(50) for overall trend direction
For Swing Trading:
Set MA1 to EMA(9) for entry signals
Set MA2 to EMA(21) for trend confirmation
Set MA3 to EMA(50) for major trend
For Long-term Investing:
Use SMA(20), SMA(50), SMA(200) combination
Focus on price position relative to MA1 color changes
🚨 Alert System
Price crossing above MA1
Price crossing below MA1
Customizable alert messages with ticker symbols
🎯 Perfect For:
✅ Trend identification
✅ Entry and exit timing
✅ Multi-timeframe analysis
✅ Support and resistance levels
✅ Clean chart analysis without clutter
💡 Pro Tips:
Color Coding: Use the dynamic MA1 color change to quickly identify trend direction
MA Hierarchy: Arrange faster MA above slower MA for better trend visualization
Candle Colors: Enable candle color change for immediate visual confirmation of MA1 crosses
Mix & Match: Experiment with different MA combinations (e.g., HMA + EMA + SMA)
🔧 Default Configuration:
MA1: EMA(9) - Fast trend detection
MA2: EMA(21) - Medium-term trend
MA3: EMA(50) - Long-term trend
Dynamic colors enabled for instant visual feedback
No complex tables, no cluttered signals - just clean, professional moving averages with smart visual enhancements.
Compatible with all markets: Stocks, Forex, Crypto, Commodities, and Indices.
MA44 StrategyMA-44 Strategy
• The previous candle closes below the 44-day MA,
• The current candle closes just above or immediately above the 44-day MA,
• Followed by a green candle,
• With the 44-day MA above the 50-day MA (indicating an uptrend).
All-in-One EMA & BBThis script combines Bollinger Bands and multiple EMAs into one powerful tool. It includes:
1) Bollinger Bands with customizable MA type and colors.
2) EMA 21 on Daily and Weekly timeframes.
3) EMA 21, 50, 100, 200 on current chart timeframe.
4) Toggle options for each indicator for a clean, flexible view.
Ideal for traders seeking multi-timeframe trend analysis and volatility insights.
Market Internal Strength (Nasdaq/S&P 500)### Summary
This indicator is a versatile tool designed to measure the "internal health" or "market breadth" of a major stock index. Instead of just looking at the index's price, it analyzes the percentage of its constituent stocks that are participating in the trend. Users can easily switch between the **Nasdaq 100** and the **S&P 500** directly from the settings.
The data is displayed as an oscillator (scaled 0-100), similar to the RSI, making it intuitive to identify broad market **Overbought** and **Oversold** conditions and spot potential **Divergences** against the index price.
---
### What does it measure?
The indicator plots three lines based on the selected index's market breadth data:
* **% > 20D MA (Blue Line):** The percentage of stocks trading above their 20-day moving average (short-term trend).
* **% > 50D MA (Orange Line):** The percentage of stocks trading above their 50-day moving average (medium-term trend).
* **% > 200D MA (Red Line):** The percentage of stocks trading above their 200-day moving average (long-term trend).
---
### How to Use and Interpret
**1. Overbought / Oversold Conditions:**
* **Approaching the Overbought Zone (Value > 80):** This indicates that a very high number of stocks are in an uptrend, suggesting the market may be overheated or in a state of "Greed." This can signal a potential pullback or consolidation ahead.
* **Approaching the Oversold Zone (Value < 20):** This indicates that a large number of stocks have been sold off heavily, suggesting the market may be in a state of "Extreme Fear." This could present an opportunity for a technical rebound.
**2. Trend Confirmation:**
* When an index (e.g., QQQ or SPY) is making new highs and the **% > 200D MA** line is also rising, it confirms that the uptrend is healthy and broadly supported by the majority of stocks.
**3. Divergence Signals:**
* **Bearish Divergence:** If the index price reaches a new high but the indicator (especially the 50D and 200D lines) forms a lower high, it's a warning sign. This suggests that fewer stocks are participating in the rally and the trend's foundation is weakening, which could precede a reversal.
* **Bullish Divergence:** Conversely, if the index price makes a new low but the indicator forms a higher low, it signals that selling pressure is exhausting. Fewer stocks are making new lows, which could be an early sign of a potential bottom and a reversal to the upside.
---
### Settings
* **Index:** Choose between the "Nasdaq 100" and "S&P 500" as your data source.
* **Timeframe:** Allows you to select the data's timeframe (Daily "D" is recommended as the minimum).
* **Overbought/Oversold Level:** Lets you customize the threshold for the OB/OS zones.
* **Line Visibility:** You can toggle the visibility of each of the three lines.
Nasdaq 100 Internal Strength### Summary
This indicator is designed to measure the "health" or "internal strength" of the Nasdaq 100 index. Instead of just looking at the index's price, it analyzes whether the majority of its constituent stocks are participating in the trend. The data is displayed as an oscillator (scaled 0-100), similar to the RSI, making it easy to identify broad market Overbought and Oversold conditions.
This tool is ideal for traders and investors who want a deeper perspective on market dynamics, helping to confirm trend strength or spot early warning signs of a potential reversal.
---
### What does it measure?
The indicator plots three lines based on the market breadth data for the Nasdaq 100 index:
* **% > 20D MA (Blue Line):** The percentage of Nasdaq 100 stocks trading above their 20-day moving average (short-term trend).
* **% > 50D MA (Orange Line):** The percentage of Nasdaq 100 stocks trading above their 50-day moving average (medium-term trend).
* **% > 200D MA (Red Line):** The percentage of Nasdaq 100 stocks trading above their 200-day moving average (long-term trend).
---
### How to Use and Interpret
**Overbought / Oversold Conditions:**
* **Approaching the Overbought Zone (Value > 80):** This indicates that a very high number of stocks are in an uptrend, suggesting the market may be overheated or in a state of "Greed." This can signal a potential pullback or consolidation ahead.
* **Approaching the Oversold Zone (Value < 20):** This indicates that a large number of stocks have been sold off heavily, suggesting the market may be in a state of "Extreme Fear." This could present an opportunity for a technical rebound.
**Trend Confirmation:**
* When the index (e.g., QQQ) is making new highs, and the `% > 200D MA` line is also rising and making new highs, it confirms that the uptrend is healthy and broadly supported by the majority of stocks.
**Divergence Signals:**
* **Bearish Divergence:** If the index price reaches a new high, but the indicator (especially the 50D and 200D lines) fails to reach a new high and forms a lower high instead, it's a warning sign. This suggests that fewer stocks are participating in the rally, and the trend's foundation is weakening, which could precede a reversal.
* **Bullish Divergence:** Conversely, if the index price makes a new low, but the indicator forms a higher low, it signals that selling pressure is exhausting. Fewer stocks are making new lows, which could be an early sign of a potential bottom and a reversal to the upside.
---
### Settings
* **Timeframe:** Allows you to select the data's timeframe (using the Daily "D" timeframe is recommended).
* **Overbought/Oversold Level:** Lets you customize the threshold for the OB/OS zones.
* **Show Lines:** You can toggle the visibility of each of the three lines.
TrendLines with ATR and MA [KoTa]The "TrendLines with ATR and MA " indicator combines trend lines, breakout signals, ATR-based trend tracking, and moving averages (MA).
Input Settings and Customization:
After adding the indicator, click on its name at the top of the chart and open the "Settings" tab.
Main sections:
Trend Lines and Breakouts (Periods 1-5):
General Usage Tips:
Chart Timeframe: Works on any timeframe (from 1 minute to weekly). Shorter timeframes (e.g., 5-minute) generate more signals, while longer timeframes (e.g., daily) produce fewer but more reliable signals.
Compatibility: Overlay=true, meaning it is drawn directly on the candlestick chart. It can be combined with other indicators (e.g., RSI, MACD).
Advantages
This indicator outperforms standard trend line tools due to its automated, multi-period, and integrated features:
Automated Trend Line Drawing: Instead of manual drawing, it creates trend lines based on pivot highs/lows. Different periods (3-50) enable multi-timeframe analysis, allowing you to see short- and long-term trends on the same chart.
Breakout Detection and Labeling: Detects breakouts in real-time using dotted extensions. B (Buy) and S (Sell) labels (e.g., B1 for period1 up breakout) clarify signals. Historical breakouts are shown in gray for context.
ATR Integration: Volatility-based trend tracking (similar to SuperTrend). Calculates channel deviation to adapt to market volatility. Arrows highlight trend reversals quickly.
Moving Averages Integration: Flexible MA types (e.g., VWMA for volume-weighted analysis) for trend filtering. No Bollinger Bands option, but MAs can validate breakouts.
Performance and Visuals: Limits line count with max_lines_count for memory efficiency. Colors and line widths are customizable, and old elements are automatically managed (deleted or grayed out). Precision=0 ensures clean price formatting.
Flexibility: All components (trend lines, ATR, MA) can be toggled on/off, allowing for simple or complex usage.
Benefits Provided
This indicator speeds up trading decisions and reduces errors:
Trend and Support/Resistance Detection: Pivot-based lines provide automatic support (green, lows) and resistance (red, highs) levels. Benefit: Reduces manual analysis time, saving effort in scalping or swing trading.
Breakout Signals: Signals are triggered when the close price crosses over/under the extended line. Benefit: Catches potential trend starts early; ATR can filter false breakouts. B/S labels provide visual alerts, simplifying alert setup.
Volatility Adaptation (ATR): Adjusts trend lines based on market fluctuations. Benefit: Wider channels in high-volatility periods (e.g., crypto) and narrower in low volatility, reducing whipsaws (false signals). Arrows clearly show trend changes, ideal for position management.
MA Validation: MAs measure trend strength (e.g., EMA20 above indicates uptrend). Benefit: Filtering breakouts with MA crossovers improves accuracy. VWMA offers volume-based analysis to eliminate weak trends.
General Benefits:
Risk Management: Breakout levels can be used for stop-loss placement (e.g., below breakout).
Profit Potential: When tested on historical data (backtesting), it can be optimized by period—shorter periods for quick entries, longer for holding.
Educational Value: Visualizes fractal, pivot, and ATR concepts for new traders.
Time Savings: Automation eliminates hours of chart analysis; updates in real-time.
Multi-Asset Compatibility: Works for stocks, forex, and crypto; ATR shines in volatile assets.
Possible Strategies
This indicator supports various strategies, primarily focused on breakouts and trend following, enhanced by MA and ATR filtering.
Breakout Trading Strategy:
Rules: Enter long on B (Buy) label (crossover up line), short on S (Sell). For example, enter on B3 (period10), with stop-loss below the previous pivot low.
Filtering: Confirm with ATR arrow up (trend=0). Ensure price is above MA1 (20).
Exit: Profit target at ATR*2 or exit on reverse breakout (S).
Advantage: Ideal for scalping (p1-p2) or swing trading (p4-p5). Benefit: High win rate in volatile markets.
Trend Following Strategy:
Rules: Hold long if ATR trend line is green (up) and MA1 > MA2. Strengthen entry with breakout B.
Filtering: Use only larger period breakouts (p3-p5) with ATR in slow mode.
Exit: Exit on ATR arrow down (reversal) or MA crossover.
Advantage: Captures long-term trends with low drawdown. Benefit: Suitable for passive trading, especially on weekly charts.
Pullback Strategy:
Rules: In an uptrend (green ATR line), enter long when price pulls back to the downtrend line (green pivot low line).
Filtering: No breakout, supported by MA (price above MA). Set stop using ATR deviation.
Exit: New high breakout or ATR reversal.
Advantage: Low-risk entries, captures trend continuations. Benefit: Effective in range-bound markets.
Multi-Timeframe Combination:
Rules: Match short-period (p1) breakouts with long-period (p5) trends (e.g., p5 up + p1 B = long).
Filtering: ATR in medium mode, MAs in golden cross (20>50).
Advantage: Reduces false signals, validates H4 breakouts with D1 trends. Benefit: Suitable for professional traders, with backtesting showing 60%+ win rates.
Risk and Optimization Tips:
Position Sizing: Calculate using ATR (stop-loss distance / 1% risk).
Backtesting: Test in strategy mode; short periods may overtrade, while longer ones may miss opportunities.
Previous Day Fibonacci + Opening RangePrev Day Fibonacci & Opening Range Levels
This indicator is designed for professional traders who want to combine yesterday’s market structure with today’s intraday levels.
🔹 Features:
Automatic Fibonacci Retracements: Draws customizable Fibonacci retracement/extension levels based on the previous day’s High & Low.
Full Customization: Users can adjust the Fibonacci ratios and colors directly in settings.
Opening Range Levels: Plots today’s first candle High & Low (user-selectable timeframe for OR).
Clear Visuals: Helps identify key reversal zones, breakout levels, and confluence areas between higher timeframe structure and intraday moves.
🔹 Usage Ideas:
Spot potential reversal zones when price reacts to previous-day Fib levels.
Combine Opening Range breakout strategies with daily Fib levels for high-probability setups.
Use as confluence levels with your existing price action or indicator-based strategy.
⚡ Pro Tip: Look for overlaps between the Opening Range and Fibonacci retracements — these zones often act as strong support/resistance areas.
Close Just Above 44MA with Uptrendpine editor code for indicator to identify stocks whose price closes just above MA 44 with MA 44 trending up on a daily chart for swing trading
Wolf of crypto MA Cross & Price Cross this indicator by Wolf of crypto is helping you spot the price action crossing the 200MA or the 50MA crossing the 200MA (Golden cross or Death cross)
SMA with Month GapsA simple moving average indicator that displays gaps in between months. There is no need for a different 'month separator' indicator
MultiMA fxG v2 Indicateur permettant de centralier 3 moving average :
- Moving average Simple 8 (bleu)
- Moving average Exponentielle 21 (rouge)
- Moving average Exponentielle 50 (Orange)
====================================================
Simple Moving Average (SMA) 8: Displayed in blue, this line provides a quick view of short-term price trends.
Exponential Moving Average (EMA) 21: Shown in red, this average is more sensitive to recent price changes and highlights medium-term momentum.
Exponential Moving Average (EMA) 50: Marked in orange, this line tracks longer-term price movements for overall trend direction.
Traders can use the combination of these moving averages to identify potential crossover signals, trend strength, and possible reversal points.
Michalke Momentum IndexMichalke Momentum Index (MMI) is an indicator I made with the aim of predicting Gold prices. I built it around the 8h chart but it can be applied to any chart.
I hope using this will help you significantly.
[teachershim] draw sma 9/25/50/100/200/400📌 Description — draw sma 9/25/50/100/200/400
This indicator displays Simple Moving Averages (SMA) for periods 9, 25, 50, 100, 200, and 400 on the chart.
It also marks the last confirmed bar’s SMA values with circular dots positioned to the right by a user-defined offset,
and labels each dot with the SMA period number for quick visual reference.
🔹 Features
SMA Lines
Plots SMA lines for periods 9 / 25 / 50 / 100 / 200 / 400 in distinct colors and thickness.
Last Value Markers
Adds circular markers (dots) at the SMA value of the last confirmed bar, shifted right by the specified offset.
SMA Period Labels
Displays the SMA period number (e.g., "9", "25", "50") just above each dot.
Customizable Parameters
Right offset for marker placement.
Vertical gap between marker and label (in percentage of chart range).
🔹 Parameters
Right Offset: Number of bars to place the marker/label to the right of the last bar.
Text Vertical Gap (%): Percentage offset to position the label above the dot.
🔹 Colors & Line Thickness
SMA 9 → Teal, thickness 1
SMA 25 → Orange, thickness 2
SMA 50 → Blue, thickness 2
SMA 100 → Purple, thickness 1
SMA 200 → Red, thickness 2
SMA 400 → Gray, thickness 1
🔹 Use Cases
Quickly identify key support/resistance levels across multiple SMA periods.
Instantly see the current SMA values without hovering over the chart.
Monitor SMA alignment and spacing for trend analysis or trading setups.
💡 Notes
If the right offset is too large, ensure your chart’s right margin is wide enough to display the markers.
max_labels_count in Pine Script limits how many labels can be displayed at once.
If you want, I can also make you a shorter, more concise “marketplace style” version for TradingView’s public library so it’s punchier and attracts more clicks.
Do you want me to prepare that?
Trend+Volume Confluence IndicatorScalper and swing trading signals: use the 15–30 minute charts for scalps and the 4–8 hour charts for swings. Add the Money Flow Index (MFI) for extra confluence. In an uptrend, if the MFI is at or above the halfway mark and rising, take the long. In a downtrend, if the MFI is at or below the halfway mark and falling, take the short.
MK_OSFT - Multi-timeframe MA Lines with labelsProvides SMA/EMA levels on a chart for the 5m, 15m, 1H and 4H timeframes. It does not draw the full MA's on the chart but provides 'only' the actual MA values at the current candle as a horizontal line with a label.
Gold MA55 Cross Alerts (3m) NavThis helps to find the best setup under the London and New York sessions.