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.
Simple Moving Average (SMA)
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.
Breakout Range Signal with Quality Analysis [Dova Lazarus]📌 Breakout Range Signal with Quality Analysis
🎓 Training-focused indicator for breakout logic, SL & TP behavior and signal quality assessment
🔷 PURPOSE
This tool identifies breakout candles from a calculated channel range and visually simulates entries, stop losses, and take profits, providing live and historical performance metrics.
⚙️ MAIN SETTINGS
1️⃣ Channel Setup
channel_length = 10 → how many candles are averaged to form channel boundaries
channel_multiplier = 0.0 → adds expansion above/below the base channel
channel_smoothing_type = SMA → smoothing method for high/low averaging
📊 The channel consists of two moving averages: one from highs, the other from lows. When expanded (via multiplier), it creates a buffer range for breakout validation.
2️⃣ Signal Detection
Body > Channel % = 50 → a breakout candle's body must exceed 150% of the channel width
Signal Mode:
• Weak → every valid breakout candle is highlighted
• Strong → only the first signal in a sequence is shown (helps reduce noise)
🟦 Bullish signals (blue):
• Candle opens inside the channel
• Closes above the channel
• Body is large enough
• Optional: confirms with trend (if enabled)
🟨 Bearish signals (yellow):
• Candle opens inside the channel
• Closes below the channel
• Body is large enough
• Optional: confirms with trend
3️⃣ Trend Filter (optional)
Enabled via checkbox
Uses a higher timeframe MA to filter signals
Bullish signals are allowed only if price is below the trend MA
Bearish signals only if price is above it
⏱️ trend_timeframe = 1D (typically set higher than the chart's timeframe)
🟢 Trend line is plotted if enabled
🎯 ENTRY, STOP LOSS & TAKE PROFIT LOGIC
SL and TP are based on channel width, not fixed pip/tick size:
📍 Entry Price = close of the breakout candle
🛑 Stop Loss:
• Bullish → below the lower channel border (minus offset)
• Bearish → above the upper channel border (plus offset)
🎯 Take Profit:
• Bullish → entry + channel width × profit multiplier
• Bearish → entry − channel width × profit multiplier
You can control:
Profit Target Multiplier (e.g., 1.0 → TP = 1×channel width)
Stop Loss Target Multiplier (e.g., 0.5 → SL = 0.5×channel width)
Signals to Show = how many historical SL/TP setups to display
📈 Lines and labels ("TP", "SL") are drawn on the chart for clarity.
🧪 QUALITY ANALYSIS MODULE
If enabled, the indicator will:
Track each new signal (entry, SL, TP)
Analyze outcomes:
• Win = TP hit before SL
• Loss = SL hit before TP
• Expired = signal unresolved after N bars
Display statistics in a table (top-right corner):
📋 Table fields:
✅ Overall win rate
📈 Bullish win rate
📉 Bearish win rate
🔢 Total signals
🕓 Pending (still active trades)
Maximum bars to wait for outcome is customizable (max_bars_to_analyze).
📐 VISUALIZATION TOOLS
TP / SL lines per signal
Labels “TP” and “SL”
Optional channel lines and trendline for better context
Colored bars for valid signals (blue/yellow)
📌 BEST USE CASES
Understand how breakout signals are formed
Learn SL/TP logic based on dynamic range
Test how volatility affects trade outcomes
Use as a visual simulation of trade behavior over time
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.
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
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.
[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.
Average VolatilityThis script offers a unique and practical approach to visualizing average volatility by calculating a simple moving average of the daily high-low ranges, directly reflecting price fluctuations over a user-defined period. Unlike standard volatility indicators, it provides customizable options such as adjustable period length, display of absolute and percentage volatility values, and flexible text formatting for clear and tailored insights. This makes it a valuable tool for traders seeking to better understand market volatility trends and manage risk more effectively. Its straightforward visualization supports informed decision-making across various instruments and timeframes.
The indicator displays the average volatility over a configurable period as a bar chart (originally designed for daily intervals). It visualizes the price range (difference between high and low) across a selectable number of periods, as well as its ratio to the closing price, offering various customization options.
For many traders, assets with daily moves of 1% or more may offer greater profit opportunities, especially for short-term trading strategies. Instruments with lower volatility are generally less favored and often not recommended in such approaches due to reduced trading potential. Please note that higher volatility also implies increased risk, and potential losses can be significant. Always use proper risk management.
Detailed description:
The script calculates average volatility as a simple moving average of the high-low ranges (default: 5 periods, intended for daily timeframes). Volatility can be shown as either a bar or line chart. Users can choose to display the absolute volatility values and/or the volatility expressed as a percentage of the closing price. Text size and spacing between labels are adjustable to ensure readability across different instruments. Additionally, the last (unconfirmed) bar can be shown or hidden, since its value depends on the current price. Overall, the script provides a flexible and clear visualization of an instrument’s volatility.
---
Russian:
Индикатор отображает среднюю волатильность как простое скользящее среднее диапазонов «максимум-минимум» (по умолчанию 5 периодов, предназначено для дневных таймфреймов). Волатильность может отображаться в виде столбчатой или линейной диаграммы. Пользователи могут выбрать отображение абсолютных значений волатильности и/или волатильности, выраженной в процентах от цены закрытия. Размер текста и расстояния между надписями регулируются для удобочитаемости на разных инструментах. Кроме того, последний (неподтверждённый) столбец можно показать или скрыть, так как его значение зависит от текущей цены. В общем, скрипт обеспечивает гибкое и наглядное отображение волатильности инструмента.
Активы с волатильностью от 1% и выше дают больше возможностей для краткосрочной торговли, но риск также выше. Инструменты с низкой волатильностью не рекомендуются для таких подходов из-за ограниченного торгового потенциала и сложности в реализации прибыльных сделок. Всегда применяйте риск-менеджмент.
---
Spanish:
El script calcula la volatilidad promedio como un promedio móvil simple de las diferencias entre máximos y mínimos (por defecto 5 periodos, pensado para intervalos diarios). La volatilidad puede mostrarse como gráfico de barras o de líneas. El usuario puede elegir mostrar los valores absolutos de la volatilidad y/o los valores expresados en porcentaje respecto al precio de cierre. El tamaño del texto y el espacio entre las etiquetas son ajustables para garantizar la legibilidad en diferentes instrumentos. Además, se puede mostrar u ocultar la última barra (no confirmada), ya que su valor depende del precio actual. En conjunto, el script proporciona una visualización flexible y clara de la volatilidad del instrumento.
Los activos con una volatilidad del 1% o más ofrecen mayores oportunidades para el trading a corto plazo, pero también conllevan un mayor riesgo. Los instrumentos con baja volatilidad no se recomiendan para este tipo de estrategias debido a su limitado potencial de trading y la dificultad para obtener ganancias. Siempre utilice una gestión de riesgos adecuada.
Bishop Chicken Biryani RibbonChicken Biryani is great and the greatest dish out there, if you havent had it you should defitinitley try it out at your local indian resturaunt
EMA SMA Ribbon IRB IndicatorUsing EMA and SMA to show support and resistance area instead of lines.
And Show Rob Hoffman's IRB indicator for choosing entry point.
AutoTune MA - with crossover alertsThis indicator adapts the length of an EMA based on how far the adaptive MA itself is from the price, normalized by volatility (ATR%). The adaptive length shortens when the MA moves further from price, making the MA more responsive, and lengthens when closer, smoothing the MA. The base SMA is shown for reference only.
How to Use:
Watch the adaptive MA lines for dynamic smoothing that reacts to market volatility and price movement.
Use crossovers of the smallest and medium adaptive MAs for potential entry signals.
The base MA provides a stable benchmark for trend context.
Adjust inputs for base length, minimum length, and effect multiplier to fit your preferred responsiveness and market conditions.
Multi-Timeframe MA 200Multi-Timeframe MA 200
This powerful tool plots the 200-period Moving Average across multiple timeframes (5m, 15m, 30m, 1h, 4h, Daily) directly on your active chart. You can switch between SMA (Simple Moving Average) and EMA (Exponential Moving Average) for all timeframes at once.
Key features:
✅ 100% accurate calculation using the original timeframe
✅ Option to choose SMA or EMA
✅ Visual smoothing for cleaner display
✅ Floating labels showing the origin timeframe
✅ Clean interface – no clutter or legends
✅ Ideal for scalping, intraday, and swing traders
Developed by BELOTTO TRADER, founder of the CLUBE DO GAIN – one of the most engaged trading communities in the Portuguese-speaking world.
Multi Averages - CustomizableThis script adds up to 5 moving averages to your plot!
Both type and length are customizable.
Multi EMA & SMA IndicatorDraws EMA 5/20/50/100 and SMA 200 in different colors and thickness in a single indicator
EMA 10,20 SMA 50, 200This indicator is very helpful for swing traders who plan their trades using EMAs and SMAs. It is used on the daily chart and displays the 10- and 20-EMA, as well as the 50- and 200-SMA.
Adjustable Percentage Range Moving Average - Add'l LinesThe Adjustable Percentage Range Moving Average (APRMA), originally developed by @ReallyWendy, is a versatile PineScript indicator designed for traders and market analysts to analyze market volatility and identify trends dynamically. Building on the original concept, this updated version plots a central moving average (MA) with four customizable percentage-based range bands around it. Users can select the MA type (SMA, EMA, HMA, RMA, SWMA, TMA, WMA, VWMA), timeframe, and length, tailoring the indicator to their trading style. Each range band (upper and lower) is calculated as a percentage offset from the MA, with adjustable colors and transparency settings for enhanced visual clarity. Extension lines project the latest values forward, with customizable styles (solid, dashed, dotted). The indicator includes toggleable display options for the MA and each range pair, making it an effective tool for identifying price ranges, support/resistance levels, and trend dynamics.
Credit to @ReallyWendy for the foundational concept.
RSI SMA 7 Signal Strategy (No 50 Level)Script uses SMA 7 Perio and 14 Period RSI
If SMA crosses 40 RSI level from below consider it a buy zone or buy signal, if SMA crosses from below 60 RSI level, then super bullish, IF SMA crosses 60 RSI level from above its a profit taking time and Sell zone, if SMA crosses 40 level from above then super bearish sell signal.