RSI Divergence Indicator + TrendlinesThe RSI Divergence Indicator with Trendlines is a technical analysis tool that combines the Relative Strength Index (RSI) with price and RSI trendlines to identify potential trend reversals or continuations. It highlights bullish and bearish divergences by comparing the movement of price action against the RSI oscillator, and plots automatic trendlines for visual clarity.
Göstergeler ve stratejiler
M2 Liquidity Divergence ModelM2 Liquidity Divergence Model
The M2 Liquidity Divergence Model is a macro-aware visualization tool designed to compare shifts in global liquidity (M2) against the performance of a benchmark asset (default: Bitcoin). This script captures liquidity flows across major global economies and highlights whether price action is aligned ("Agreement") or diverging ("Divergence") from macro trends.
🔍 Core Features
M2 Global Liquidity Index (GLI):
Aggregates M2 money supply from major global economies, FX-adjusted, including extended contributors like India, Brazil, and South Africa. The slope of this composite is used to infer macro liquidity trends.
Lag Offset Control:
Allows the M2 signal to lead benchmark asset price by a configurable number of days (Lag Offset), useful for modeling the forward-looking nature of macro flows.
Gradient Macro Context (Background):
Displays a color-gradient background—aqua for expansionary liquidity, fuchsia for contraction—based on the slope and volatility of M2. This contextual backdrop helps users visually anchor price action within macro shifts.
Divergence Histogram (Optional):
Plots a histogram showing dynamic correlation or divergence between the liquidity index and the selected benchmark.
Agreement Mode: M2 and asset are moving together.
Divergence Mode: Highlights break in expected macro-asset alignment.
Adaptive Transparency Scaling:
Histogram and background gradients scale their visual intensity based on statistical deviation to emphasize stronger signals.
Toggle Options:
Show/hide the M2 Liquidity Index line.
Show/hide divergence histogram.
Enable/disable visual offset of M2 to benchmark.
🧠 Suggested Usage
Macro Positioning: Use the background context to align directional trades with macro liquidity flows.
Disagreement as Signal: Use divergence plots to identify when price moves against macro expectations—potential reversal or exhaustion zones.
Time-Based Alignment: Adjust Lag Offset to synchronize M2 signals with asset price behavior across different market conditions.
⚠️ Disclaimer
This indicator is designed for educational and analytical purposes only. It does not constitute financial advice or an investment recommendation. Always conduct your own research and consult a licensed financial advisor before making trading decisions.
Tableau Niveaux High/Low avec Lignes de Prix (Paris)Description for publication: High/Low Levels Chart with Price Lines (Paris)
Discover a complete TradingView indicator designed to display in real time the High and Low levels of key market periods and sessions, directly on your charts. This Pine Script, designed for the Paris market, offers clear, customizable visualization of key levels, essential for technical analysis and decision-making.
**Main features:**
- Automatic display of High/Low for the previous day, week and month
- Monday-specific levels for a better understanding of the start of the week
- Detection and display of session extremes: Asia, London, New York
- Real-time indication of currently active sessions, with distinctive color coding
- Summary table can be positioned on screen (top right corner by default), with choice of text size for optimal readability
- Option to hide the table on mobile, guaranteeing a smooth user experience on all media
**Technical highlights:**
- Dynamic calculation of levels with each new candle, without unnecessary visual overload
- Clean interface: only essential values are displayed, without superfluous lines or background areas
- Automatic adaptation of the number of lines in the table according to the options selected and the periods available
- Intelligent management of sessions passing through minu
VSA Simplified (Volume Spread Analysis)This indicator implements a simplified version of Volume Spread Analysis (VSA) to help traders identify key volume-based signals used by professional market participants.
It detects classic VSA patterns such as:
Climactic Volume: unusually high volume with wide price spread indicating potential buying/selling climax
No Demand / No Supply: low volume and small spreads signaling lack of interest or exhaustion
Stopping Volume: high volume with long wicks and neutral closes showing absorption or rejection
The indicator plots distinct shapes on the chart to highlight these conditions, assisting traders to read market intent and potential turning points.
Best used alongside market structure and support/resistance zones for confluence.
RSI & EMA/WMA trạng thái đa khung (nâng cấp)🧠 Main Function
This indicator helps you track the relationship between RSI, EMA, and WMA across multiple timeframes, all displayed in a visual table overlayed on the price chart.
📋 Displayed Components
Row Content
🟦 Row 1 Timeframe labels: 1m, 5m, 15m, 1h, 4h, 1D, 4D
🟩 Row 2 Colored dot for RSI status:
– 🟢 RSI is above both EMA and WMA
– 🔴 RSI is below both EMA and WMA
– 🟡 RSI is between EMA and WMA
📈 Row 3 Actual RSI value on that timeframe
🟠 Row 4 Colored dot for EMA vs WMA position:
– 🟢 EMA is above WMA
– 🔴 EMA is below WMA
– ⚪ EMA is nearly equal to WMA
🔤 Row 5 Which moving average is on top: shows "EMA" or "WMA"
⚙️ Custom Inputs
In the input panel, you can adjust:
RSI length (default: 14)
EMA length (default: 9) → Treated as fast MA
WMA length (default: 45) → Treated as slow MA
Custom colors for all status dots (RSI position & EMA/WMA position)
⏱️ Supported Timeframes
1m, 5m, 15m, 1h, 4h, 1D, 4D
→ You can modify these as needed.
✅ Practical Uses
Quickly monitor RSI trends across multiple timeframes
Identify when RSI is trending strong or weakening
Visually track crossovers between fast and slow MAs
Supports faster, clearer trading decisions
MNQ/NQ Risk Management ToolThis tool helps MNQ and NQ futures traders automatically calculate position size based on either a fixed dollar risk or a percentage of account balance.
Simply enter your stop loss level and choose whether to risk a set dollar amount or a percentage of your account. The script will display how many contracts to trade based on your setup.
Features:
Calculates contracts based on stop loss and risk size
Toggle between dollar-based or percent-of-account risk
Works with both MNQ ($2/point) and NQ ($20/point)
Automatically updates based on current price and direction (long or short)
Displays a clean info box on your chart with risk, contracts, and settings
This tool is ideal for intraday or swing traders who want to stay consistent with risk management across trades.
NCrypt30 Combined RSI (Auto Timeframe)I have combined the RSI on all of the top 30 coins on Coinbase excluding BTC, ETH & Stables. I have then used this to plot good value zones.
Traders can use this on multiple timeframes and be used in conjuction with the breadth strategy for added confluence on deep value zones.
豪豪均//@version=5
indicator("豪豪均", overlay=true)
// 偵測新的一天開盤
isNewDay = ta.change(time("D")) != 0
// 宣告變數儲存 VWAP 計算資料
var float cumPV = na // 價格 * 量 累積
var float cumVol = na // 成交量累積
// 每天重新初始化
if isNewDay
cumPV := hlc3 * volume
cumVol := volume
else
cumPV += hlc3 * volume
cumVol += volume
vwapToday = cumPV / cumVol
plot(vwapToday, title="當日 VWAP", color=color.orange, linewidth=2)
DP_MoneyFlow_Osc_V4**DP_Moneyflow_Osc_V4** is a custom, volume‐weighted momentum oscillator built around the classic Money Flow Index (MFI), with a few twists to help you spot more reliable reversal points:
***Best way to use it is to take the signals as alert points, to understand when money is starting to flow in or starting to flow out. It is not intended to be a Buy or Sell signal at the point of entry where the label is printed.***
1. **Core Calculation**
* Computes the standard MFI on your chart’s native timeframe:
* Money Flow = typical price (H+L+C)/3 × volume
* Segregates positive vs. negative flow based on whether price rose or fell on each bar
* Smooths each with an N-bar SMA, forms the ratio, and maps it into a 0–100 scale
2. **Inversion & Smoothing**
* You can **invert** the oscillator around 50 (so peaks become troughs and vice versa) with the **Reverse MFI** toggle.
* Applies two layers of smoothing (one for raw noise reduction, another for longer-term trend stability).
3. **Dynamic Coloring**
* Above Overbought (OB) threshold → solid red; below Oversold (OS) → solid green.
* In between, it linearly fades from red/green toward black as it approaches the 50 midpoint.
* **Invert Colors** flips the hue logic (red ↔ green) if you prefer.
4. **Overbought/Oversold Zones**
* Plots horizontal lines at your chosen OB/OS levels.
* Optionally fills the zone between them for quick visual reference.
5. **Peak/Trough Signal Labels**
* Detects **true extremes** by finding when the oscillator reverses direction right at or beyond your OB/OS levels.
* Prints a tiny “OB” or “OS” label **exactly at that pivot bar**, so you see the high or low of the swing.
6. **Alternation Toggle**
* Prevents two consecutive “OS” or “OB” labels by enforcing strict Buy/Sell alternation—turn this on or off via **Enable Signal Alternation**.
---
**Use-Case**: This oscillator excels at pinpointing the *tops* and *bottoms* of strong volume‐backed moves, giving you clear pivot markers rather than every threshold crossover. Tweak the smoothing and threshold inputs to calibrate sensitivity to your market and timeframe.
CypherB Money Flow (Approximation)Just a quick and dirty script to estimate money for from CipherB free.
LMAsLibrary "LMAs"
Credits
Thank you to @QuantraSystems for dynamic calculations.
Introduction
This lightweight library offers dynamic implementations of popular moving averages that adapt their length automatically as new bars are added to the chart.
Each function is built on a dynamic length formula:
len = math.min(maxLength, bar_index + 1)
This approach ensures that calculations begin as early as the first bar, allowing for smoother initialization and more consistent behavior across all timeframes. It’s especially useful in custom scripts that run from bar 0 or when historical data is limited.
Usage
You can use this library as a drop-in replacement for standard moving averages. It provides more flexibility and stability in live or backtesting environments where fixed-length indicators may delay or fail to initialize properly.
Why Use This?
• Works from the very first bar
• Avoids na values during early bars
• Great for real-time indicators, strategies, and bar-replay
• Clean and efficient code with dynamic behavior
How to Use
Import the library into your script and call any of the included functions just like you would with their native counterparts.
Summary
A lightweight Pine Script™ library offering dynamic moving averages that work seamlessly from the very first bar. Ideal for strategies and indicators requiring robust initialization and adaptive behavior.
SMA(sourceData, maxLength)
Dynamic SMA
Parameters:
sourceData (float)
maxLength (int)
EMA(src, length)
Dynamic EMA
Parameters:
src (float)
length (int)
DEMA(src, length)
Dynamic DEMA
Parameters:
src (float)
length (int)
TEMA(src, length)
Dynamic TEMA
Parameters:
src (float)
length (int)
WMA(src, length)
Dynamic WMA
Parameters:
src (float)
length (int)
HMA(src, length)
Dynamic HMA
Parameters:
src (float)
length (int)
VWMA(src, volsrc, length)
Dynamic VWMA
Parameters:
src (float)
volsrc (float)
length (int)
SMMA(src, length)
Dynamic SMMA
Parameters:
src (float)
length (int)
LSMA(src, length, offset)
Dynamic LSMA
Parameters:
src (float)
length (int)
offset (int)
RMA(src, length)
Dynamic RMA
Parameters:
src (float)
length (int)
ALMA(src, length, offset_sigma, sigma)
Dynamic ALMA
Parameters:
src (float)
length (int)
offset_sigma (float)
sigma (float)
ZLSMA(src, length)
Dynamic ZLSMA
Parameters:
src (float)
length (int)
FRAMA(src, length)
Parameters:
src (float)
length (int)
KAMA(src, length)
Dynamic KAMA
Parameters:
src (float)
length (int)
JMA(src, length, phase)
Dynamic JMA
Parameters:
src (float)
length (int)
phase (float)
T3(src, length, volumeFactor)
Dynamic T3
Parameters:
src (float)
length (int)
volumeFactor (float)
均线Based on the pulu script used by Gogo, 4 SMA switches have been added for ease of use
基于果子哥使用的pulu脚本,增加了4个均线开关,方便使用
Auto Trend Channel MTF | TCMasterAuto Trend Channel MTF
The Auto Trend Channel MTF is a dynamic price channel indicator that automatically identifies and draws trendlines based on recent swing highs and lows. It helps traders visualize the prevailing trend direction and potential support/resistance zones by connecting pivot points on a customizable timeframe.
This tool uses pivot-based logic to detect two recent highs and lows, calculates their slopes, and draws an upper and lower trendline — forming a real-time channel that extends into the future.
⚙️ How It Works
1. Pivot Sensitivity
The length input determines how sensitive the pivot detection is.
A lower value makes the indicator react faster; a higher value smooths out smaller fluctuations.
2. Higher Timeframe (HTF) Option
You can specify a higher timeframe (HTF) to base the channel calculations on.
Leave blank to use the current chart timeframe.
3. Auto-Detection of Trendlines
The indicator continuously detects the two latest pivot highs and pivot lows from the selected timeframe.
It calculates the slope between these pivot points.
Trendlines are extended into the future by a user-defined number of bars (extendBars).
4. Visual Output
Upper Trendline (from pivot highs): Red
Lower Trendline (from pivot lows): Green
Channel Fill (area between lines): Light blue (optional)
✅ How to Use
Setup Instructions
Add the script to your TradingView chart.
Choose your preferred pivot sensitivity and future extension length.
(Optional) Select a higher timeframe for more macro-level channeling.
Trading Applications
Trend Confirmation: Use the direction of the channel to confirm trend bias.
Support & Resistance: The upper and lower bounds can serve as dynamic support/resistance zones.
Breakout Detection: Watch for price to break above/below the channel.
Scalping & Swinging: Adjust sensitivity depending on your trading style.
🟥 Tips
For scalping, use lower sensitivity and current timeframe.
For trend-following, use a higher timeframe and smoother pivot detection.
📝 Notes
The channel automatically updates when new valid pivot points appear.
Trendlines are always drawn using the most recent confirmed pivot pairs.
This indicator is non-repainting once pivot points are confirmed.
Smart Reversal Signal Indicator | TCMasterSmart Reversal Signal Indicator| TCMaster
The Smart Reversal Signal Indicator is a multi-factor technical indicator designed to detect potential market reversal points. It combines three powerful components:
Stochastic Oscillator (%K, %D)
Relative Strength Index (RSI)
Candlestick Reversal Patterns + Equal High/Low (EQH/EQL) zones
When these elements align, the indicator generates a buy or sell signal and highlights the chart background (green for buy, red for sell).
Technical Breakdown
1. Stochastic Oscillator
%K is calculated with a user-defined length and smoothed using a moving average.
%D is the SMA of %K with customizable smoothing.
Buy Signal (Stochastic): %K crosses above %D while below 20.
Sell Signal (Stochastic): %K crosses below %D while above 80.
2. RSI (Relative Strength Index)
Uses a customizable length and overbought/oversold levels.
Buy Signal (RSI): RSI crosses above the oversold threshold.
Sell Signal (RSI): RSI crosses below the overbought threshold.
3. EQH / EQL Zones (from Higher Timeframe)
Pulls high/low data from a higher timeframe (eq_tf) and checks the last eq_lookback bars.
EQH (Equal High): Price is near a recent high within eqh_tolerance %.
EQL (Equal Low): Price is near a recent low within eql_tolerance %.
4. Candlestick Reversal Patterns
Bullish Patterns:
Hammer
Morning Star
Bearish Patterns:
Hanging Man
Shooting Star
Evening Star
Signal Conditions
Buy Signal:
Stochastic bullish crossover
RSI crosses up from oversold
Price near EQL zone
Bullish candlestick reversal pattern
Sell Signal:
Stochastic bearish crossover
RSI crosses down from overbought
Price near EQH zone
Bearish candlestick reversal pattern
✅ Usage Guide
Step 1: Add to Chart
Open a chart on TradingView.
Choose your desired timeframe (e.g., 15m, 1h).
Paste the Pine Script into the Pine Editor.
Click “Add to Chart”.
Step 2: Customize Settings
Adjust input values for RSI, Stochastic, and EQH/EQL according to your strategy.
Tune the sensitivity for scalping, intraday, or swing trading.
Step 3: Trade the Signals
Green background: A strong confluence for a BUY signal — consider entering a long trade.
Red background: A strong confluence for a SELL signal — consider entering a short trade.
Combine with support/resistance zones or trendlines for greater accuracy.
Step 4: Set Alerts
Use TradingView Alerts with the conditions:
Buy Alert: when a buy signal is generated.
Sell Alert: when a sell signal is generated.
📌 Notes
This is an advanced reversal detection tool. It works best when used with price action or supply/demand zones.
More reliable in sideways or range-bound markets, or at major support/resistance areas.
Avoid using it alone in strong trending markets without confirmation from multiple timeframes.
CandleThis script detects key candlestick reversal patterns such as Bullish/Bearish Engulfing, Doji Reversal, Pin Bar, and Morning/Evening Star. Ideal for swing traders using candle-based price action. Alerts included.
Pi Cycle Top (Overlay)EN – A minimal Pi-Cycle Top overlay. When the 111-day SMA crosses above the 350-day SMA × 2 it flashes a red warning. All four historical signals caught the cycle top within ±3 days. Includes on-chart lines, triangle markers, optional background highlight, alertcondition, and fully adjustable lengths. Your built-in market airbag for BTC. 🚀
中文 – 超简洁的 Pi Cycle 顶部指标:111 日均线上穿 350 日均线×2 即触发红色警报,历史 4 次均在牛市顶前后 3 天内命中。脚本叠加于主图,提供均线、三角标记、可选背景高亮与预警条件,参数可自定义。把这只“安全气囊”装进每一张 BTC 图表。
AMT Regime-Switch Long/ShortAMT Switch Long / Short.
Pos. Taking
Up‑triangles (green) = Long entry signals
Down‑triangles (red) = Short entry signals
Green background = Trending regime (ATR above its MA and volatility in top 40 %).
Orange background = Ranging regime (ATR below MA and vol in bottom 40 %).
No shading = Transition zone (mixed regime).
This tells you which sub‑strategy is active.
Pos. Taking
Up‑triangles (green) = Long entry signals
Down‑triangles (red) = Short entry signals
LUCY Fixed Candle ColorsBULL and BEAR CHRONICLES BY LUCIFER – Fixed Candle Colors is a unique visual enhancement tool that colors each candle based on specific market behavior, helping traders quickly interpret price momentum and potential sentiment shifts.
🎨 Candle Color Logic:
🟡 Yellow Candle:
Current candle is bullish (close > open)
Previous candle was bearish (close < open )
→ Suggests bullish reversal or breakout attempt.
✅ Green Candle:
Bullish candle (close > open)
Closes above previous high
→ Indicates strong upward momentum.
🔻 Red Candle:
Bearish candle (close < open)
Closes below previous low
→ Suggests strong bearish pressure.
🔵 Blue Candle:
Bearish candle (close < open)
Volume is 1.5x greater than previous candle
→ Highlights high-volume sell-off, often seen in panic selling or breakdowns.
⚙️ Use Case:
This color-coded system acts as a psychological and technical cue, useful for:
Spotting momentum shifts
Identifying exhaustion or volume spikes
Enhancing trend continuation or reversal signals
🧠 Best For:
Price action traders
Volume/momentum traders
Anyone who prefers clean, visual market storytelling over indicator clutter
🔥 Combine this script with the full BULL and BEAR CHRONICLES BY LUCIFER suite for a complete narrative-driven trading system.
MA Crossover with EmojisMA CROSS SIMPLE
Set up for 10 and 40 but you can update to any two moving averages you want
10/40 works good for bitcoin
5/20 a good fast signal
20/100 a good slow signal
Thats why we go with teh 10/40 its in the middle!!!
Multi Symbol RSI Monitor (Miu)This script is built for traders who monitor a large number of assets and need a fast, clear way to identify overbought or oversold conditions using the RSI (Relative Strength Index).
With support for up to 40 user-defined symbols, the Multi Symbol RSI Monitor displays a real-time RSI dashboard directly on the chart, highlighting key signals and enabling alert-based monitoring — perfect for multi-asset or multi-screen setups.
What it does:
- Calculates the RSI (default 14 periods) for up to 40 customizable symbols.
- Displays RSI values in a clean, adjustable table overlay, color-coded based on overbought/oversold thresholds.
- Optionally shows live prices next to each symbol’s RSI.
- Triggers real-time alerts when RSI crosses above or below defined thresholds.
Key Features:
- Monitor up to 40 assets simultaneously.
- Color-coded alerts in the table:
- Red for overbought (RSI > 70)
- Green for oversold (RSI < 30)
- Fully customizable layout:
- Column width
- Table position on screen
- Toggle price column
- Alert system works even when the script is not visible on the active chart.
- Enable/disable any symbol independently.
How to use:
1) Add the indicator to your chart.
2) Open the settings menu:
- Choose your 40 preferred symbols.
- Set RSI length and overbought/oversold levels.
- Toggle price display and table position.
3) Click “Create Alert” to configure alerts per your strategy.
4) When triggered, you’ll receive alert messages like:
- ▲ ETH | RSI 70 | 3462.15
- ▼ DOGE | RSI 30 | 0.1256
Technical Note:
This script uses request.security() to fetch RSI, price, and tick size data in real time for each selected symbol. Custom alerts are generated for each RSI crossover event.
Feedback and suggestions are welcome!
If you find this tool helpful, feel free to leave a comment or a thumbs up.
Enjoy!
Opening Range Breakout - India Market [UkutaLabs]█ OVERVIEW
** This script was designed to work specifically with the India Markets
The Opening Range Breakout is a powerful trading tool that indicates a strong range based on the high and low of the first fifteen or thirty minutes after market open. This range serves as a potential area of Support or Resistance that traders should be aware of during their trading. Because of this, the Opening Range Breakout is a versatile trading tool that can be included in a wide variety of trading strategies.
The aim of this script is to simplify the trading experience of users by automatically identifying and displaying price levels that they should be aware of.
█ USAGE
When the India Market opens each day, the script will automatically identify and label the opening range in real time. The user can control whether the script measures the first 15 or 30 minutes of each trading day to fit each trader’s trading style.
Because there tends to be a spike in volume during this period, the range that is identified can serve as a powerful indication of overall market strength. Once the price breaks out of this range, it then can be used as an area of support or resistance depending on the direction of the breakout.
█ SETTINGS
Configuration
• Display Mode: Determines the number of days the script should load.
• Apply DST: Adjusts the opening to Daylight Savings Time.
Label Settings
• Show Labels: Determines whether labels are drawn within the range.
• Label Size: Determines the size of font for the labels.
• Label Alignment: Determines the font alignment for the labels.
Line Settings
• Line Width: Determines the thickness of the lines.
• Label Style: Determines the style to draw the lines.
Range Settings
• 15 Minute: Determines whether or not the 15 minute range is drawn.
• 15 Minute Color: Determines the color of the 15 minute range and labels.
• 30 Minute: Determines whether or not the 30 minute range is drawn.
• 30 Minute Color: Determines the color of the 30 minute range and labels.