[TABLE] Moving Average Stage Indicator Table📈 MA Stage Indicator Table
🧠 Overview:
This script analyzes market phases based on moving average (MA) crossovers, classifying them into 6 distinct stages and displaying statistical summaries for each.
🔍 Key Features:
• Classifies market condition into Stage 1 to Stage 6 based on the relationship between MA1 (short), MA2 (mid), and MA3 (long)
• Provides detailed stats for each stage:
• Average Duration
• Average Width (MA distance)
• Slope (Angle) - High / Low / Average
• Shows current stage details in real-time
• Supports custom date range filtering
• Choose MA type: SMA or EMA
• Optional background coloring for stages
• Clean summary table displayed on the chart
مؤشرات اتساع النطاق
Bi Trend signalauto bot MT5 for XAU, BTC ETH, liên hệ tôi để biết thêm chi tiết cho các hạng mục coppy trade
ADR Nivele Horizontale dhe EMAThe user provided a Pine Script code for an indicator called "ADR Nivele Horizontale dhe EMA". The task is to explain how this code works. Hmm, first, I need to understand what this indicator does. The title mentions ADR levels and EMA, so it's probably combining horizontal lines based on Average Daily Range and some Exponential Moving Averages.
Looking at the code, the first part is the indicator declaration with version 6. The settings include an ADR period, levels above and below the mid, and line style. Then there's a section for calculations. They request daily high and low to compute the daily range. The ADR is the SMA of the daily range over the specified period. The mid is the average of daily high and low. The adr_val is half of ADR, maybe to create symmetrical levels around the mid.
Next, they create arrays for lines and labels above and below the mid. The loops go from 1 to levels_above/below, calculate each level, draw lines and labels. The mid line is also drawn with a different color. Then, there are several EMAs plotted: 13, 50, 200, 400, 600, 800, each with different colorsWait, but in Pine Script, when you use arrays to store lines and labels, you have to manage them properly to avoid repainting or memory issues. The code uses array.concat to add new lines and labels each bar. However, since this code is running on each bar, the for loops might be creating multiple lines each time, leading to too many objects. Oh right, but they use var to initialize the arrays, so they are only initialized once. Wait, no. The var keyword initializes the variable once, but in each iteration, they are concatenating new lines. Wait, no: the for loops are inside the main script, which runs on each bar. So every time a new bar is processed, the loops will run again, adding new lines and labels. That's a problem because each bar would create new lines, leading to an ever-increasing number of lines, which could hit the maximum limit (max_lines_count is set to 20, but maybe they have more bars). Oh, the indicator has max_lines_count=20, but the code might be creating multiple lines per bar. So maybe the code isn't handling the line management correctly. For example, if levels_above is 2, then each bar would create 2 new lines above and 2 below, plus the mid line. Over 20 bars, that's way over 20 lines. So this could cause the indicator to stop drawing after 20 lines. The user might not have realized that the lines are being recreated every bar, leading to a buildup. But perhaps the original code intended to have the lines update each bar, extending to the current bar. Let's see: in line.new, they use bar_index as the starting x1 and bar_index as x2. So each line is drawn from the previous bar's index to the current one. But since this is done on every bar, each line is only one bar long. Wait, no. Because on each new bar, the code creates a new line from the previous bar's index (bar_index , which is now the bar before the current one) to the current bar_index. So each line is just a segment from the previous bar to the current bar. But when the next bar comes, a new line is created again. So the result is that each level line is a series of one-bar-length segments, which might not be intended. The user probably wants continuous lines that extend from the left to the right, not just per bar. So this approach is incorrect. The correct way would be to have a line that starts at the first bar of the calculation and extends to the right, updating each bar. But the current code creates a new line each bar, leading to multiple short lines instead of one continuous line. That's a mistake.
So the main issue here is that the code is generating a new line segment for each bar, which is not efficient and would quickly hit the line limit. To fix this, instead of creating a new line every bar, they should create the line once and then update its position each bar. But in Pine Script, you can't directly update a line after it's created; instead, you need to track the line ID and use line.set_xy() to extend it. However, the current code uses array.concat to add new lines each bar, which isn't the right approach.
Therefore, the code as written will create multiple short lines instead of continuous horizontal lines. The correct approach for horizontal levels that extend to the right is to create the line once, starting at a certain bar and extending indefinitely, or to update the line's end point each new bar. But in Pine Script, you can't extend lines infinitely; you have to manage them each bar. Alternatively, using the 'line.extend' style might help, but I think the original code's logic is flawed here.
Additionally, the EMA part is straightforward: plotting multiple EMAs with different periods. That part should work as expected.
So the explanation should mention that the ADR levels are calculated based on the daily high and low, then the code attempts to draw horizontal lines above and below the mid-point. However, the way the lines are drawn may lead to multiple short segments instead of continuous lines, potentially causing performance issues or hitting the maximum line count. The EMAs are plotted correctly with various periods..
McClellan Oscillator - IRUS Optimized🧠 McClellan Oscillator (IRUS Index)
Type: Market Breadth Indicator
Category: Breadth, Momentum
Purpose: Gauge the internal strength of the IRUS index and anticipate trend reversals
📌 Based on
This indicator is built on the concept of advancing vs. declining issues — the number of stocks rising vs. falling each day within the IRUS index (a custom group of 40 Russian stocks).
It calculates the net advances (advancers minus decliners), then applies two exponential moving averages (EMA):
java
Copy
Edit
McClellan Oscillator = EMA_19(Net Advances) - EMA_39(Net Advances)
Where:
Net Advances = Number of advancing stocks - Number of declining stocks
Calculated from a fixed set of 40 IRUS stocks
🧭 What it shows
Above 0 → more stocks are rising: market is internally strong.
Below 0 → more stocks are falling: underlying weakness.
Rising from below -100 → oversold breadth, possible bullish reversal.
Falling from above +100 → overbought breadth, possible correction.
🎯 How to use it
1. Buy/Sell Signals
Buy: Oscillator drops below -100 and turns up → oversold, potential rally.
Sell: Oscillator rises above +100 and turns down → overbought, risk of pullback.
2. Trend Strength Confirmation
Sustained above 0 → confirms bullish trend.
Crosses below 0 → early warning of weakening market breadth.
3. Divergences with IRUS Price
IRUS rises, but Oscillator falls → narrowing leadership, bearish divergence.
IRUS falls, but Oscillator rises → improving breadth, bullish divergence.
⚠️ Notes
The oscillator measures participation, not price.
Works best with daily timeframe.
Does not account for volume or magnitude of price moves.
Use with price action or other indicators for confirmation.
⚙️ Custom Implementation
This version is specifically adapted for the IRUS index, using a fixed list of 40 component stocks.
Optimized for Pine Script v6 and complies with TradingView's request limits (max 40).
MOEX Sectors: % Above MA 50/100/200 (EMA/SMA)🧠 Name:
MOEX Sectors: % Above MA 50/100/200 (EMA/SMA)
📋 Description (for TradingView “Description” tab):
This indicator shows the percentage of Moscow Exchange sectoral indices trading above the selected moving average (SMA or EMA) with periods of 50, 100, or 200.
It uses 10 official MOEX sector indices:
MOEXOG (Oil & Gas)
MOEXCH (Chemicals)
MOEXMM (Metals & Mining)
MOEXTN (Transport)
MOEXCN (Consumer)
MOEXFN (Financials)
MOEXTL (Telecom)
MOEXEU (Utilities)
MOEXIT (IT)
MOEXRE (Real Estate)
The indicator plots up to 3 lines representing the % of sectors trading above MA 50, 100, and/or 200. The MA type is user-selectable: EMA (default) or SMA.
Horizontal reference levels (90, 50, 10) help interpret market conditions:
🔼 >90% — Overbought zone, potential market exhaustion
⚖️ ~50% — Neutral state
🔽 <10% — Oversold zone, possible rebound
📈 How to Use in Strategy:
✅ 1. Trend Filter
If >50% of sectors are above MA 200 → market in long-term uptrend
If <50% → avoid long bias, bearish regime likely
✅ 2. Bottom Detection
When <10% of sectors are above MA 200, the market is heavily oversold — often a bottoming signal
✅ 3. Trend Confirmation
If the main index is rising and % of sectors above MA is growing, the trend is supported by breadth
If the index rises while breadth declines → bearish divergence
✅ 4. Contrarian Setups
>90% of sectors above MA 50 → market may be overheated, watch for pullback
<20% above MA 50 → potential local bottom
⚙️ Tips:
Overlay this indicator on the IMOEX index chart to detect narrow leadership
Combine with other breadth metrics or RSI on the index
Use the EMA/SMA toggle to fine-tune sensitivity
London Session 15-min Range – Clean AEST Timestamp Fix (w/ EMAs)London Session 15-min Range – Clean AEST Timestamp Fix (with EMAs)
What it does:
This script is made for traders who want to track the high and low of the first 15-minute candle of the London session, using AEST (UTC+10) as the time reference. It also plots the 50 EMA and 200 EMA to help identify trend direction.
How it works:
Session Timing:
The London session is defined as starting at 6:00 PM AEST.
The session ends at 2:00 AM AEST the next day.
Detects the first 15 minutes of the London session:
During this time, it records the highest and lowest price.
Draws lines once the 15-minute window is over:
A red horizontal line is drawn at the session high.
A green horizontal line is drawn at the session low.
These lines extend 50 bars into the future.
It only draws these once per day/session.
Includes EMAs:
A 50-period EMA is calculated and plotted in yellow.
A 200-period EMA is calculated and plotted in white.
Why use it:
It helps visualise important price levels from the start of the London session and pairs that with moving averages to spot trends or potential breakouts.
Supply & Demand Zones + Order Block (Pro Fusion) - Auto Order Strategy Title:
Smart Supply & Demand Zones + Order Block Auto Strategy with ScalpPro (Buy-Focused)
📄 Strategy Description:
This strategy combines the power of Supply & Demand Zone analysis, Order Block detection, and an enhanced Scalp Pro momentum filter, specifically designed for automated decision-making based on high-volume breakouts.
✅ Key Features:
Auto Entry (Buy Only) Based on Breakouts
Automatically enters a Buy position when the price breaks out of a valid demand zone, confirmed by EMA 50 trend and volume spike.
Order Block Logic
Identifies bullish and bearish order blocks using consecutive candle structures and significant price movement.
Dynamic Stop Loss & Trailing Stop
Implements a trailing stop once price moves in profit, along with static initial stop loss for risk management.
Clear Visual Labels & Alerts
Displays BUY/SELL, Demand/Supply, and Order Block labels directly on the chart. Alerts trigger on valid breakout signals.
Scalp Pro Momentum Filter (Optimized)
Uses a modified MACD-style momentum indicator to confirm trend strength and filter out weak signals.
Supply & Demand Zones + Order Block (Pro Fusion) SuroLevel up your trading edge with this all-in-one Supply and Demand Zones + Order Block TradingView indicator, built for precision traders who focus on price action and smart money concepts.
🔍 Key Features:
Automatic detection of Supply & Demand Zones based on refined swing highs and lows
Dynamic Order Block recognition with customizable thresholds
Highlights Breakout signals with volume confirmation and trend filters
Built-in EMA 50 trend detection
Take Profit (TP1, TP2, TP3) projection levels
Clean visual labels for Demand, Supply, and OB zones
Uses smart box plotting with long extended zones for better zone visibility
🔥 Ideal for:
Traders who follow Smart Money Concepts (SMC)
Supply & Demand strategy practitioners
Breakout & Retest pattern traders
Scalpers, swing, and intraday traders using Order Flow logic
📈 Works on all markets: Forex, Crypto, Stocks, Indices
📊 Recommended timeframes: M15, H1, H4, Daily
✅ Enhance your trading strategy using this powerful zone-based script — bringing structure, clarity, and automation to your chart.
#SupplyAndDemand #OrderBlock #TradingViewScript #SmartMoney #BreakoutStrategy #TPProjection #ForexIndicator #SMC
Custom Opening Range FillThis TradingView indicator visualizes a customizable opening range. Users define the start hour, minute (UTC), and range duration. It calculates the high and low prices within this period and fills the area between them on the chart. The range resets daily. This highlights a specific trading window, aiding in identifying potential breakout or breakdown levels. Traders can adjust the time parameters to analyze various market sessions or strategies. It's useful for those focusing on price action within a defined timeframe, simplifying the observation of key price levels.
Arbitrage Spot-Futures Don++Strategy: Spot-Futures Arbitrage Don++
This strategy has been designed to detect and exploit arbitrage opportunities between the Spot and Futures markets of the same trading pair (e.g. BTC/USDT). The aim is to take advantage of price differences (spreads) between the two markets, while minimizing risk through dynamic position management.
[Operating principle
The strategy is based on calculating the spread between Spot and Futures prices. When this spread exceeds a certain threshold (positive or negative), reverse positions are opened simultaneously on both markets:
- i] Long Spot + Short Futures when the spread is positive.
- i] Short Spot + Long Futures when the spread is negative.
Positions are closed when the spread returns to a value close to zero or after a user-defined maximum duration.
[Strategy strengths
1. Adaptive thresholds :
- Entry/exit thresholds can be dynamic (based on moving averages and standard deviations) or fixed, offering greater flexibility to adapt to market conditions.
2. Robust data management :
- The script checks the validity of data before executing calculations, thus avoiding errors linked to missing or invalid data.
3. Risk limitation :
- A position size based on a percentage of available capital (default 10%) limits exposure.
- A time filter limits the maximum duration of positions to avoid losses due to persistent spreads.
4. Clear visualization :
- Charts include horizontal lines for entry/exit thresholds, as well as visual indicators for spread and Spot/Futures prices.
5. Alerts and logs :
- Alerts are triggered on entries and exits to inform the user in real time.
[Points for improvement or completion
Although this strategy is functional and robust, it still has a few limitations that could be addressed in future versions:
1. [Limited historical data :
- TradingView does not retrieve real-time data for multiple symbols simultaneously. This can limit the accuracy of calculations, especially under conditions of high volatility.
2. [Lack of liquidity management :
- The script does not take into account the volumes available on the order books. In conditions of low liquidity, it may be difficult to execute orders at the desired prices.
3. [Non-dynamic transaction costs :
- Transaction costs (exchange fees, slippage) are set manually. A dynamic integration of these costs via an external API would be more realistic.
4. User-dependency for symbols :
- Users must manually specify Spot and Futures symbols. Automatic symbol validation would be useful to avoid configuration errors.
5. Lack of advanced backtesting :
- Backtesting is based solely on historical data available on TradingView. An implementation with third-party data (via an API) would enable the strategy to be tested under more realistic conditions.
6. [Parameter optimization :
- Certain parameters (such as analysis period or spread thresholds) could be optimized for each specific trading pair.
[How can I contribute?
If you'd like to help improve this strategy, here are a few ideas:
1. Add additional filters:
- For example, a filter based on volume or volatility to avoid false signals.
2. Integrate dynamic costs:
- Use an external API to retrieve actual costs and adjust thresholds accordingly.
3. Improve position management:
- Implement hedging or scalping mechanisms to maximize profits.
4. Test on other pairs:
- Evaluate the strategy's performance on other assets (ETH, SOL, etc.) and adjust parameters accordingly.
5. Publish backtesting results :
- Share detailed analyses of the strategy's performance under different market conditions.
[Conclusion
This Spot-Futures arbitrage strategy is a powerful tool for exploiting price differentials between markets. Although it is already functional, it can still be improved to meet more complex trading scenarios. Feel free to test, modify and share your ideas to make this strategy even more effective!
[Thank you for contributing to this open-source community!
If you have any questions or suggestions, please feel free to comment or contact me directly.
[blackcat] L2 Risk Assessment for Trend StrengthOVERVIEW
This script provides an advanced technical analysis tool combining real-time **Risk Assessment** and **Trend Strength Indicators**, displayed independently from price charts. It calculates multi-layered metrics using weighted algorithms and visualizes risk thresholds via dynamically-colored zones.
FEATURES
- Dual ** RISKA ** calculations ( RSVA1 / RSVA2 ) across 9-period cycles
- Smoothed outputs via proprietary **boldWeighted Moving Averages (WMAs)**
- Dynamic **Current Safety Level Plot** (fuchsia area-style visualization)
- Color-coded **Trend Strength Line** reacting to real-time shifts across four danger/optimism tiers
- Automated threshold validation mechanism using last-valid-value logic
- Visually distinct risk zones (blue/green/yellow/red/fuchsia) filling background areas
HOW TO USE
1. Add to your chart to observe two core elements:
- Area plot showing current risk tolerance buffer
- Thick line indicating momentum strength direction
2. Interpret values relative to vertical thresholds:
• Above 100 = Ultra-safe zone (light blue)
• 80–100 = Safe zone (green)
• 20–80 = Moderate/high-risk zones (yellow)
• Below 20 = Extreme risk (red)
3. Monitor trend confidence shifts using the colored line:
> **Blue**: Strong bullish momentum (>80%)
> **Green/Yellow**: Neutral/moderate trends (50%-80%)
> **Red**: Bearish extremes (<20%)
LIMITATIONS
• Relies heavily on prior 33-period low and 21-period high volatility patterns
• WMA smoothing introduces minor backward-looking bias
• Not optimized for intraday timeframe sub-hourly usage
• Excessive weighting parameters may amplify noise during sideways markets
RSI-Colored Price Candles with BackgroundThis Pine Script indicator visually enhances price candles based on **RSI (Relative Strength Index)** behavior, helping traders quickly assess momentum directly on the price chart.
**RSI Calculation:**
The RSI is computed using a traditional 14-period lookback. It uses `ta.rma()` to smooth average gains and losses, and then transforms the result into an RSI value between 0 and 100. This value is used to determine both **candle color** and optional **background shading**.
**Candle Coloring:**
Each price candle is recolored based on the current RSI value:
- If RSI is **greater than or equal to 50**, the candle is **bright green**, indicating bullish momentum.
- If RSI is **less than 50**, the candle is **bright red**, indicating bearish momentum.
The actual OHLC values of the candles remain unchanged. Only their color is modified to reflect RSI strength.
**Optional Background Highlighting:**
A user setting called `Show Overbought/Oversold Background` lets traders toggle background shading on or off. When enabled:
- If RSI is **above 70**, a soft **green** background appears, signaling overbought conditions.
- If RSI is **below 30**, a soft **red** background appears, signaling oversold conditions.
This provides an intuitive visual cue that highlights potential reversal or exhaustion zones based on RSI extremes.
**Custom Settings:**
- The RSI length and source are customizable.
- Background highlighting is turned **off by default**, giving users a clean chart unless they choose to enable it.
**Purpose and Use:**
This script is designed for traders who want to visually integrate RSI momentum directly into their chart candles, reducing the need to look away from price action. It's clean, responsive, and adjustable — perfect for intraday or swing traders who value simplicity backed by momentum data.
M2SL/DXY RatioThis is the ratio of M2 money supply (M2SL) to the U.S. dollar index (DXY), taking into account the impact of U.S. dollar strength and weakness on liquidity.
M2SL/DXY better represents the current impact of the United States on cryptocurrency prices.
Min-Max | Buy-Sell Alert with LevelsMin-Max | Buy-Sell Alert with Levels
Description:
The Min-Max | Buy-Sell Alert with Levels indicator is a powerful tool designed to help traders identify key levels of support and resistance based on the previous day's high and low prices. It plots horizontal lines for the previous day's minimum (Min) and maximum (Max) prices, along with four intermediate levels (Stop Loss 1 to Stop Loss 4) calculated as equal percentage steps between the Min and Max.
This indicator is perfect for traders who want to:
Identify potential entry points when the price returns within the Min-Max range.
Set stop-loss levels based on the calculated intermediate levels.
Receive alerts for buy, sell, and stop-loss conditions.
Key Features:
Previous Day's Min and Max Lines:
Automatically plots the Min (red line) and Max (green line) of the previous day.
These levels act as dynamic support and resistance zones.
Intermediate Stop Loss Levels:
Calculates and plots four intermediate levels (Stop Loss 1 to Stop Loss 4) between the Min and Max.
Each level is equally spaced, representing potential stop-loss or take-profit zones.
Customizable Alerts:
Buy Alert: Triggered when the price returns within the Min-Max range after breaking below the Min.
Sell Alert: Triggered when the price returns within the Min-Max range after breaking above the Max.
Stop Loss Alerts: Triggered when the price reaches any of the four intermediate levels (Stop Loss 1 to Stop Loss 4).
Customizable Appearance:
Adjust the thickness, color, and style (solid, dashed, dotted) of the lines.
Customize the colors of the Stop Loss labels for better visualization.
Labels on the Chart:
Displays "Buy" and "Sell" labels on the chart when the respective conditions are met.
Labels for Stop Loss levels are also displayed for easy reference.
How to Use:
Add the indicator to your chart.
Customize the settings (line colors, thickness, and alert preferences) in the indicator's settings panel.
Use the Min and Max lines as dynamic support and resistance levels.
Monitor the intermediate levels (Stop Loss 1 to Stop Loss 4) for potential stop-loss or take-profit zones.
Set up alerts for Buy, Sell, and Stop Loss conditions to stay informed about key price movements.
Why Use This Indicator?
Simple and Effective: Focuses on the most important levels from the previous day.
Customizable: Tailor the indicator to match your trading style and preferences.
Alerts: Never miss a trading opportunity with customizable alerts for key conditions.
Settings:
Line Thickness: Adjust the thickness of the Min, Max, and intermediate lines.
Line Colors: Customize the colors of the Min, Max, and intermediate lines.
Line Style: Choose between solid, dashed, or dotted lines.
Stop Loss Label Colors: Customize the colors of the Stop Loss labels.
Alerts: Enable or disable alerts for Buy, Sell, and Stop Loss conditions.
Ideal For:
Day traders and swing traders.
Traders who rely on support and resistance levels.
Anyone looking for a clear and customizable tool to identify key price levels.
Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice. Always conduct your own analysis and trade responsibly.
Get Started Today!
Add the Min-Max | Buy-Sell Alert with Levels indicator to your chart and take your trading to the next level. Customize it to fit your strategy and never miss a key trading opportunity again!
Gerald Appel's Percentage of New HighsThis is the original Gerald Appel's Percentage of new High Indicator.
10 day moving avg. of new highs divided by the total of highs plus lows. This ratio gives a good job at identifying both when a rally is weakening (when indicator breaks below from above 70%) as well as good spots to identifying spots to buy bottoms. (When Indicator moves back up through 30% from below)
Support & Resistance with RSI BreakoutsThe script is a TradingView Pine Script (v5) indicator that identifies support and resistance levels using RSI (Relative Strength Index) breakouts. Here’s a breakdown of what it does:
Features:
RSI Calculation:
The script calculates the 14-period RSI (default) using the closing price.
The user can modify the RSI period through an input setting.
Buy and Sell Signals:
A buy signal is triggered when RSI drops below 20 (indicating oversold conditions).
A sell signal is triggered when RSI rises above 80 (indicating overbought conditions).
Visual Representation:
Buy signals are marked with a green upward arrow (↑) below the price bars.
Sell signals are marked with a red downward arrow (↓) above the price bars.
The arrows help traders easily spot potential trade opportunities.
Usage:
This script is useful for traders looking to buy at oversold conditions and sell at overbought conditions based on RSI.
It works best when combined with other indicators or price action strategies to confirm signals.
5-Min ORB with Volume SpikeThis indicator identifies Opening Range Breakouts (ORB) based on the high and low of the first 5 minutes of the trading day and confirms the breakout with a volume spike.
🔍 What It Does:
Automatically captures the Opening Range High and Low from 9:30 AM to 9:35 AM (configurable).
Plots green (high) and red (low) lines across the chart once the opening range is set.
Highlights long breakout signals when price breaks above the OR High with above-average volume.
Highlights short breakout signals when price breaks below the OR Low with above-average volume.
Volume confirmation is based on a customizable 20-period simple moving average (SMA) of volume.
⚙️ Best Used On:
5-minute or lower intraday charts (e.g., SPY, QQQ, futures, etc.)
Highly liquid, high-volatility instruments
U.S. equity market open (customizable for other sessions)
📈 Trading Edge: This strategy helps traders identify strong, momentum-driven breakouts early in the trading session — especially when confirmed by increased institutional activity (volume spike).
Daily & Multi-Day High/LowDaily & Multi-Candle High/Low Indicator
This indicator clearly highlights essential price levels directly on your chart, significantly improving your trading decisions:
First Candle High/Low (Session Open):
Quickly identify the high and low of the first candle each trading day, ideal for session-open traders.
Previous Day's High/Low:
Automatically plots the highest and lowest prices from the previous trading day, crucial for daily breakout or reversal strategies.
Multi-Candle High/Low (Customizable Period):
Easily track the highest and lowest points of the last X candles (default: 108 candles). Perfect for spotting key support and resistance zones.
Customization Options:
Adjust colors, line styles (solid, dashed, dotted), and line thickness directly from the settings for personalized visibility.
Ideal for day traders, swing traders, and price-action traders looking for clear and actionable daily levels on their charts.
Ehlers Adaptive RSIThe Ehlers Adaptive RSI improves on the traditional RSI by dynamically adjusting its period based on market conditions.
Problem with the Classic RSI:
The traditional Relative Strength Index (RSI) uses a fixed period (e.g., 14), making it slow to react in volatile markets and too sensitive in stable conditions.
How the Adaptive RSI Solves This:
Instead of a fixed period, this version automatically adapts based on market volatility using a combination of ATR (Average True Range) and EMA (Exponential Moving Average).
Key Benefits:
More Responsive – Quickly adapts to market shifts, reducing lag.
Less Noise – Filters out unnecessary fluctuations in stable trends.
Self-Adjusting – No need to manually change RSI settings for different market conditions.
Better Signal Accuracy – Helps detect real trend reversals without false alarms.
This script is for informational and educational purposes only. It does not constitute financial advice, and past performance does not guarantee future results. Use it at your own risk.
Support and Resistance LevelsSupport and Resistance Levels with Breaks – Amin & Taufik
The Support and Resistance Levels with Breaks indicator is designed to automatically detect support and resistance levels based on pivots (high and low points within a given period). It also highlights breakouts of these levels, confirmed by increased volume for additional validation.
Key Features:
✅ Automatic Support & Resistance Detection
Uses pivothigh and pivotlow to identify key support and resistance levels.
Red lines indicate resistance, while blue lines represent support.
✅ Breakout Confirmation with Volume
The indicator generates breakout signals when price breaks support or resistance with high volume.
A downside breakout is marked with a red "B" label above the candlestick.
An upside breakout is marked with a green "B" label below the candlestick.
✅ Bullish & Bearish Wick Detection (Rejections)
Additional signals for long wicks (candlestick shadows) indicating possible price reversals.
Bullish Wick (rejection at support) is marked with a green label.
Bearish Wick (rejection at resistance) is marked with a red label.
✅ Automatic Breakout Alerts
The indicator can send automatic notifications when support or resistance is broken with high volume.
How to Use:
1️⃣ Adjust the Left Bars and Right Bars parameters to fine-tune pivot sensitivity for detecting support & resistance.
2️⃣ Enable the Show Breaks option to see breakout confirmations with high volume.
3️⃣ Use this indicator alongside price action analysis and other indicators to confirm trade decisions.
🚀 Ideal for:
✔️ Scalping & Intraday Trading
✔️ Swing Trading & Trend Following
✔️ Breakout & Retest Confirmation
ℹ️ Note:
This indicator does not provide direct buy or sell signals. It is recommended to use it alongside other technical analysis tools, such as candlestick patterns, moving averages, and RSI, for more accurate decision-making.
📌 Developed by: Amin & Taufik
🔗 License: Attribution-NonCommercial-ShareAlike 4.0 (CC BY-NC-SA 4.0)
💬 If you find this indicator useful, don’t forget to like and comment on TradingView! 🚀
Mswing HommaThe Mswing is a momentum oscillator that calculates the rate of price change over 20 and 50 periods (days/weeks). Apart from quantifying momentum, it can be used for assessing relative strength, sectoral rotation & entry/exit signals.
Quantifying Momentum Strength
The Mswing's relationship with its EMA (e.g., 5-period or 9-period) is used for momentum analysis:
• M Swing >0 and Above EMA: Momentum is positive and accelerating (ideal for entries).
• M Swing >0 and Below EMA: Momentum is positive but decelerating (caution).
• M Swing <0 and Above EMA: Momentum is negative but improving (watch for reversals).
• M Swing <0 and Below EMA: Momentum is negative and worsening (exit or avoid).
Relative Strength Scanning (M Score)
Sort stocks by their M Swing using TradingView’s Pine scanner.
Compare the Mswing scores of indices/sectors to allocate capital to stronger groups (e.g., renewables vs. traditional energy).
Stocks with strong Mswing scores tend to outperform during bullish phases, while weak ones collapse faster in downtrends.
Entry and Exit Signals
Entry: Buy when Mswing crosses above 0 + price breaks key moving averages (50-day SMA). Use Mswing >0 to confirm valid breakouts. Buy dips when Mswing holds above EMA during retracements.
Exit: Mswing can be used for exiting a stock in 2 ways:
• Sell in Strength: Mswing >4 (overbought).
• Sell in Weakness: Mswing <0 + price below 50-day SMA.
Multi-Timeframe Analysis
• Daily: For swing trades.
• Weekly: For trend confirmation.
• Monthly: For long-term portfolio adjustments.
FOMO Indicator - % of Stocks Above 5-Day AvgThe FOMO Indicator plots the breadth indicators NCFD and S5FD below the price chart, representing the percentage of stocks in the Nasdaq Composite (NCFD) or S&P 500 (S5FD) trading above their respective 5-day moving averages.
This indicator identifies short-term market sentiment and investor positioning. When over 85% of stocks exceed their 5-day averages, it signals widespread buying pressure and potential FOMO (Fear Of Missing Out) among investors. Conversely, levels below 15% may indicate oversold conditions. By analyzing these breadth metrics over a short time window, the FOMO Indicator helps traders gauge shifts in investor sentiment and positioning.