Distancia entre EMAs con UmbralIt's used to display the threshold between two EMAs for different assets. By having separate thresholds, you can configure:
An absolute value suitable for higher-priced assets (such as BTC)
A percentage value that will work correctly regardless of the asset price
Moving Averages
Fib BB on VWMA*ATRThis TradingView Pine Script is designed to plot Fibonacci Bollinger Bands on a Volume Weighted Moving Average (VWMA) using the Average True Range (ATR). The script takes a higher timeframe (HTF) approach, allowing traders to analyze price action and volatility from a broader market perspective.
🔹 How It Works
Higher Timeframe Data Integration
Users can select a specific timeframe to calculate the VWMA and ATR.
This allows for a more macro perspective, avoiding the noise of lower timeframes.
Volume Weighted Moving Average (VWMA)
Unlike the Simple Moving Average (SMA), VWMA gives higher weight to price movements with larger volume.
Calculation Formula:
𝑉𝑊𝑀𝐴=∑(𝐶𝑙𝑜𝑠𝑒×𝑉𝑜𝑙𝑢𝑚𝑒) / ∑𝑉𝑜𝑙𝑢𝑚𝑒
Since VWMA accounts for volume, it is more reactive to price zones with high buying or selling activity, making it useful for identifying liquidity zones.
ATR-Based Fibonacci Bollinger Bands
The Average True Range (ATR) is used to measure market volatility.
Instead of standard deviation-based Bollinger Bands, Fibonacci multipliers (2.618, 3.0, 3.414) are applied to ATR.
These bands adjust dynamically with market volatility.
🔹 Key Findings from Exploration
Through testing and analysis, this indicator seems to effectively detect supply and demand zones, particularly at the Fibonacci levels of 2.618 to 3.414.
Price frequently reacts at these bands, indicating that they capture key liquidity zones.
Potential Order Block Detection:
The ends of the Fibonacci Bollinger Bands (especially at 2.618, 3.0, and 3.414) tend to align with order blocks—areas where institutional traders previously accumulated or distributed positions.
This is particularly useful for order flow traders who focus on unfilled institutional orders.
🔹 How to Use This Indicator?
Identifying Order Blocks
When price reaches the upper or lower bands, check if there was a strong reaction (rejection or consolidation).
If price rapidly moves away from a band, that level might be an order block.
Spotting Liquidity Pools
VWMA’s nature enhances liquidity detection since it emphasizes high-volume price action.
If a price level repeatedly touches the band without breaking through, it suggests institutional orders may be absorbing liquidity there.
Trend Confirmation
If VWMA is trending upwards and price keeps rejecting the lower bands, it confirms a strong bullish trend.
Conversely, constant rejection from the upper bands suggests a bearish market.
This script is designed for open-source publication and offers traders a refined approach to detecting order blocks and liquidity zones using Fibonacci-based volatility bands.
📌 한글 설명 (상세 설명)
이 트레이딩뷰 파인스크립트는 거래량 가중 이동평균(VWMA)과 평균 실제 범위(ATR)를 활용하여 피보나치 볼린저 밴드를 표시하는 지표입니다.
또한, 고차 타임프레임(HTF) 데이터를 활용하여 시장의 큰 흐름을 분석할 수 있도록 설계되었습니다.
🔹 지표 작동 방식
고차 타임프레임(HTF) 데이터 적용
사용자가 원하는 타임프레임을 선택하여 VWMA와 ATR을 계산할 수 있습니다.
이를 통해 더 큰 시장 흐름을 분석할 수 있으며, 저타임프레임의 노이즈를 줄일 수 있습니다.
거래량 가중 이동평균(VWMA) 적용
VWMA는 단순 이동평균(SMA)보다 거래량이 많은 가격 움직임에 더 큰 가중치를 부여합니다.
계산 공식:
𝑉𝑊𝑀𝐴=∑(𝐶𝑙𝑜𝑠𝑒×𝑉𝑜𝑙𝑢𝑚𝑒) / ∑𝑉𝑜𝑙𝑢𝑚𝑒
거래량이 많이 발생한 가격 구간을 강조하는 특성이 있어, 시장의 유동성 구간을 더 정확히 포착할 수 있습니다.
ATR 기반 피보나치 볼린저 밴드 생성
ATR(Average True Range)를 활용하여 변동성을 측정합니다.
기존의 표준편차 기반 볼린저 밴드 대신, 피보나치 계수(2.618, 3.0, 3.414)를 ATR에 곱하여 밴드를 생성합니다.
이 밴드는 시장 변동성에 따라 유동적으로 조정됩니다.
🔹 탐구 결과: 매물대 및 오더블록 감지
테스트를 통해 Fibonacci 2.618 ~ 3.414 구간에서 매물대 및 오더블록을 포착하는 경향이 있음을 확인했습니다.
가격이 피보나치 밴드(특히 2.618, 3.0, 3.414)에 닿을 때 반응하는 경우가 많음
VWMA의 특성을 통해 오더블록을 감지할 가능성이 높음
🔹 오더블록(Order Block) 감지 원리
Fibonacci 밴드 끄트머리(2.618 ~ 3.414)에서 가격이 강하게 반응
이 영역에서 가격이 강하게 튀어 오르거나(매수 압력) 급락하는(매도 압력) 경우,
→ 기관들이 포지션을 청산하거나 추가 매집하는 구간일 가능성이 큼.
과거에 대량 주문이 체결된 가격 구간(= 오더블록)일 수 있음.
VWMA를 통한 유동성 감지
VWMA는 거래량이 집중된 가격을 기준으로 이동하기 때문에, 기관 주문이 많이 들어온 가격대를 강조하는 특징이 있음.
따라서 VWMA와 피보나치 밴드가 만나는 지점은 유동성이 높은 핵심 구간이 될 가능성이 큼.
매물대 및 청산 구간 분석
가격이 밴드에 도달했을 때 강한 반등이 나오는지를 확인 → 오더블록 가능성
가격이 밴드를 여러 번 테스트하면서 돌파하지 못한다면, 해당 지점은 강한 매물대일 가능성
🔹 활용 방법
✅ 오더블록 감지:
가격이 밴드(2.618~3.414)에 닿고 강하게 튕긴다면, 오더블록 가능성
해당 지점에서 거래량 증가 및 강한 반등 발생 시 매수 고려
✅ 유동성 풀 확인:
VWMA와 피보나치 밴드가 만나는 구간에서 반복적으로 거래량이 터진다면, 해당 지점은 기관 유동성 구간일 가능성
✅ 추세 확인:
VWMA가 상승하고 가격이 밴드 하단(지지선)에서 튕긴다면 강한 상승 추세
VWMA가 하락하고 가격이 밴드 상단(저항선)에서 거부당하면 하락 추세 지속
Multi-Timeframe RSI-SMA Strategy [EB]Here's a concise English explanation of the optimized multi-timeframe RSI-SMA strategy:
---
### **Strategy Overview**
A dynamic trading system combining **RSI-SMA crossovers** with adaptive parameters for all timeframes (1min to monthly). Automatically adjusts indicators, risk levels, and filters based on chart timeframe.
---
### **Key Features**
1. **Auto-Adjusting Parameters**
- *RSI/SMA Periods*: Shrink on lower TFs (10/20 for 1min), expand on higher TFs (28/200 for monthly)
- *ATR Multipliers*: 1.5x (1min) → 4.5x (monthly)
- *Volume Filters*: 2x avg volume (1min) → 0.5x (monthly)
2. **Entry Conditions**
- RSI crosses above SMA
- Price > 5-period high
- Bullish candle close
- Volume > dynamic threshold
- Uptrend confirmed (Fast EMA > Slow EMA)
3. **Risk Management**
- **Stop Loss**: ATR-based (1.5-4.5x volatility)
- **Take Profit**: 3-10% targets (scales with timeframe)
- Emergency exit on RSI reversal or 5-period low break
4. **Visual Tools**
- Green "LONG" labels below bars
- Red stop-loss line
- Green take-profit line
- Auto-adjusted alert messages
---
### **Timeframe-Specific Optimization**
| TF | RSI | SMA | ATR Mult | TP% |
|---------|------|------|----------|------|
| 1min | 10 | 20 | 1.5x | 3% |
| 1hr | 18 | 50 | 2.5x | 5% |
| Daily | 22 | 100 | 3.5x | 7% |
| Monthly | 28 | 200 | 4.5x | 10% |
---
### **Usage Notes**
1. **Chart Setup**
- Works on any US market instrument (stocks, ETFs, indices)
- Default: 2% risk per trade (adjust via `default_qty_value`)
2. **Best Applications**
- Scalping: 1-15min TFs
- Swing Trading: 4hr-daily TFs
- Position Trading: Weekly-monthly TFs
3. **Critical Filters**
- NYSE market hours for daily+ TFs
- Weekend trading blocked
- Low-volume symbols auto-filtered
---
### **Alert Examples**
```pine
Entry: "TSLA 15min LONG - Entry: $250.50, SL: $245.30, TP: $263.00"
Exit: "AAPL 1hr EXIT - Price: $185.40 (4.2% Profit)"
```
**Backtest Recommendation:** Test across 3 market cycles (bull/bear/sideways) with 0.1% commission simulation before live trading.
This self-adapting system combines technical indicators with volatility-adjusted risk management for consistent cross-TF performance.
4H EMA Crossover with Confirmed EntryEMA Strategy using the 14,50 & 200 EMA....patiently wait on a break in trend along with a cross 0f the 14 & 50 ema with a confirmation retracement of price not passing back over the 14 ema will confirm your entry into the market
EMA Clouds with Strict Buy/Sell SignalsEMA Clouds with Strict Buy/Sell Signals - Precision Trading Unleashed
Unlock the power of trend-following precision with the EMA Clouds with Strict Buy/Sell Signals indicator, a sophisticated tool built for traders who demand reliability and clarity in their decision-making. Inspired by the legendary Ripster EMA Clouds, this indicator takes the classic cloud concept to the next level by incorporating stricter, high-confidence signals—perfect for navigating the markets on 15-minute or higher timeframes.
Why You’ll Want This on Your Chart:
Dual EMA Clouds for Crystal-Clear Trends: Watch as two dynamic clouds—formed by carefully paired Exponential Moving Averages (8/21 and 34/50)—paint a vivid picture of market momentum. The green short-term cloud and red long-term cloud provide an intuitive, at-a-glance view of trend direction and strength.
Stricter Signals, Fewer False Moves: Tired of chasing weak signals? This indicator only triggers buy and sell signals when the stars align: a cloud crossover (short-term crossing above or below long-term) and price confirmation above or below both clouds. The result? Fewer trades, higher conviction, and a cleaner chart.
Customizable Timeframe Power: Whether you’re a scalper on the 15-minute chart or a swing trader on the daily, tailor the clouds to your preferred higher timeframe (15min, 30min, 1hr, 4hr, or daily) for seamless integration into your strategy.
Visual Mastery Meets Actionable Alerts: Green buy triangles below the bars and red sell triangles above them make spotting opportunities effortless. Pair this with built-in alerts, and you’ll never miss a high-probability trade again.
How It Works:
Buy Signal: Triggers when the short-term cloud crosses above the long-term cloud and the price surges above both, signaling a robust bullish breakout.
Sell Signal: Activates when the short-term cloud dips below the long-term cloud and the price falls beneath both, confirming bearish dominance.
Cloud Visualization: The green cloud (8/21 EMA) tracks fast-moving trends, while the red cloud (34/50 EMA) anchors the broader market direction—together, they filter noise and spotlight tradable moves.
Why Traders Will Love It:
Designed for those who value precision over guesswork, this indicator cuts through market clutter to deliver signals you can trust. Whether you’re trading stocks, forex, crypto, or futures, its adaptability and strict logic make it a must-have tool for serious traders. Customize the EMA lengths, tweak the timeframe, and watch your edge sharpen.
Add EMA Clouds with Strict Buy/Sell Signals to your chart today and experience the confidence of trading with a tool that’s as disciplined as you are. Your next big move is waiting—don’t let it slip away.
Choppiness IndicatorE.W. Dreiss, an Australian commodity trader, developed the Choppiness Index in 1993, drawing upon chaos theory to analyze financial markets. This technical indicator helps traders determine whether a market is trending or experiencing sideways (choppy) price action.
#Hint: The Market is considered TRENDING when the index is below 38.2 The Market is considered CHOPPY when the index is above 61.8. A move above the 38.2 Level indicates a possible end to a trend, and a move below 61.8 indicates a possible breakout from a period of consolidation.
Mobius constructed this in Thinkscript V001.03.2012, and Claude 3.7 Sonnet converted it to Pinescript V002. 03.2025
The Market is considered TRENDING when the index is below 38.2 The Market is considered CHOPPY when the index is above 61.8. A move above the 38.2 Level indicates a possible end to a trend, and a move below 61.8 indicates a potential breakout from a period of consolidation.
MA CloudThis indicator plots a Moving Average (MA) cloud with ultra-smooth visuals, designed to help traders identify trend direction, momentum, and volatility in a clear and intuitive way.
Features:
Multiple MA types: choose between EMA, SMA, WMA, or RMA
Adaptive cloud width: based on standard deviation of price to visualize volatility
Smoothing controls: post-processed smoothing gives a silky, curved appearance
Multi-Timeframe (MTF) support: default to chart timeframe, or override to any custom timeframe (e.g. 1H, 1D, etc.)
Custom styling: adjustable colours, line thickness, and cloud opacity
Use cases:
Quickly assess trend strength and direction
Use cloud thickness as a volatility proxy
Spot pullback entries during trending conditions
Combine with price action or support/resistance for confluence
Settings:
MA Type – select your preferred moving average method
MA Length – period for the average
Cloud Width Factor – adjusts the distance of the cloud edges
Smoothing Length – softens the output for a polished look
Timeframe – optional override to analyse data from a higher or lower timeframe
Liquidity Grab + Smart Money Divergence StrategyLiquidity Grab + Smart Money Divergence Strategy, best so far
Multi-Indicator Trading DashboardMulti-Indicator Trading Dashboard: Comprehensive Analysis and Actionable Signals
This Pine Script indicator, "Multi-Indicator Trading Dashboard," provides a comprehensive overview of key market indicators and generates actionable trading signals, all presented in a clear, easy-to-read table format on your TradingView chart.
Key Features:
Real-time Indicator Analysis: The dashboard displays real-time values and signals for:
RSI (Relative Strength Index): Tracks overbought and oversold conditions.
MACD (Moving Average Convergence Divergence): Identifies trend changes and momentum.
ADX (Average Directional Index): Measures trend strength.
Volatility (ATR-based): Estimates volatility as a percentage, acting as a VIX proxy for single-symbol charts.
Trend Determination: Analyzes 20, 50, and 200-period EMAs to provide a clear trend assessment (Strong Bullish, Cautious Bullish, Cautious Bearish, Strong Bearish).
Combined Trading Signals: Integrates signals from RSI, MACD, ADX, and trend analysis to generate a combined "Buy," "Sell," or "Neutral" action signal.
User-Friendly Table Display: Presents all information in a neatly organized table, positioned at the top-right of your chart.
Visual Chart Overlays: Plots 20, 50, and 200-period EMAs directly on the chart for visual trend confirmation.
Background Color Alerts: Colors the chart's background based on the "Buy" or "Sell" action signal for quick visual cues.
Customizable Inputs: Allows you to adjust key parameters like RSI lengths, MACD settings, ADX thresholds, and EMA periods.
How It Works:
Indicator Calculations: The script calculates RSI, MACD, ADX, and a volatility proxy (ATR) using standard Pine Script functions.
Trend Analysis: It compares 20, 50, and 200-period EMAs to determine the overall trend direction.
Individual Signal Generation: It generates individual "Buy," "Sell," or "Neutral" signals based on RSI, MACD, and ADX values.
Combined Signal Logic: It combines the individual signals and trend analysis, assigning a "Buy" or "Sell" action only when at least two indicators align.
Table Display: It creates a table and populates it with the calculated values, signals, and trend information.
Chart Overlays: It plots the EMAs on the chart and colors the background based on the combined action signal.
Use Cases:
Quick Market Overview: Get a snapshot of key market indicators and trend direction at a glance.
Confirmation Tool: Use the combined signals to confirm your existing trading strategies.
Educational Purpose: Learn how different indicators interact and influence trading decisions.
Automated Alerting: Set up alerts based on the "Buy" or "Sell" action signals.
Customization:
Adjust the input parameters to fine-tune the indicator's sensitivity to your trading style and the specific market you're analyzing.
Disclaimer:
This indicator is for informational and educational purposes only and should not be considered financial advice. Always conduct thorough research and consult with 1 a qualified professional before making any 2 trading decisions.
SMIIOLThis indicator generates long signals.
The operation of the indicator is as follows;
First, true strength index is calculated with closing prices. We call this the "ergodic" curve.
Then the average of the ergodic (ema) is calculated to obtain the "signal" curve.
To calculate the "oscillator", the signal is subtracted from ergodic (oscillator = ergodic - signal).
The last variable to be used in the calculation is the average volume, calculated with sma.
Calculation for long signal;
- If the ergodic curve cross up the lower band and,
- If the hma slope is positive,
If all the above conditions are fullfilled, the long input signal is issued with "Buy" label.
Candle Momentum ColorThis Indicator show the actual momentum based on the Simple Moving Average.
This Indicator show the actual momentum based on the closed price of the candle stick.
Up Trend Candle Sticks are colored green
Down Trend Candle Sticks are colored red
You can use this indicator to spot a trend Break in price shifts.
See Charts the Way Algorithm look at it.
My Settings to run it.
SMA Period 20 (you can choose your own)
Disable SMA
Disable Cloud Up
Disable Cloud Down
Disable Cloud Down
Disable Cloud Up
Enable Bar Color
Enable Plot Candle
Disable Plots Background
Disable Plots Background
Daily ranges + 2MA- Marks highs and lows of the current and previous day, as well as 50% of the current day
- 2 moving averages
VIDYA Auto-Trading(Reversal Logic)Overview
This script is a dynamic trend-following strategy based on the Variable Index Dynamic Average (VIDYA). It adapts in real time to market volatility, aiming to enhance entry precision and optimize risk management.
---
Strategy Objectives
The objective of this strategy is to respond swiftly to sudden price movements and trend reversals, providing consistent and reliable trade signals. It is designed to be intuitive and efficient for traders of all levels.
---
Key Features
- **Momentum Sensitivity via VIDYA**: Reacts quickly to momentum shifts, allowing for accurate trend-following entries.
- **Volatility-Based ATR Bands**: Automatically adjusts stop levels and entry conditions based on current market volatility.
- **Intuitive Trend Visualization**: Uptrends are marked with green zones, and downtrends with red zones, giving traders clear visual guidance.
---
Trading Rules
- **Long Entry**: Triggered when price crosses above the upper band. Any existing short position is closed.
- **Short Entry**: Triggered when price crosses below the lower band. Any existing long position is closed.
- **Exit Conditions**: Positions are reversed based on signal changes, using a position reversal strategy.
---
Risk Management Parameters
- ETHUSD
- Account Size: $7,000
- Commission: 1 pips per round-trip trade
- Slippage: 1 pip
- Risk per Trade: 10% of account equity (adjustable)
- Number of trades: 262
---
### Trading Parameters & Considerations
- **VIDYA Length**: Defines the trend calculation period (e.g., 14)
- **Momentum Period**: Used for Chande Momentum Oscillator (CMO) calculation
- **ATR Band Distance**: Coefficient to adjust band width (e.g., 1.5)
- **Price Source**: Select from close, open, high, or low
- **Trend Colors**: Customizable colors for uptrend and downtrend zones
- **Display Options**: Toggle visibility of trend lines, bands, and other visuals
---
### Visual Support
Trend zones, entry points, and directional shifts are clearly plotted on the chart. These visual cues enhance the analytical experience and support faster decision-making.
---
### Strategy Improvements & Uniqueness
Inspired by the public work of BigBeluga, this script evolves the original concept with meaningful enhancements. By combining VIDYA and ATR bands, it offers greater adaptability and practical value compared to conventional trend-following strategies.
---
### Summary
This strategy offers a responsive and adaptive approach to trend trading, built on momentum detection and volatility-adjusted risk management. It balances clarity, precision, and practicality—making it a powerful tool for traders seeking reliable trend signals.
BULL Moving Average Ribbon 6 LINESSimulating the MA Lines ribbon of a APP's User interface.
The original version which has only 4 lines provided by trading view
I alter it by adding 2 more MA lines, this is my first script, hope you like it!
Thief TrendThiefTrend is one of the maximum commonplace ATR based totally trailing prevent indicators.
on this version you could trade the ATR calculation method from the settings. Default method is EMA,
The indicator is easy to use and gives an accurate reading approximately an ongoing trend. it's far built with two parameters, particularly length and multiplier. The default values used while building a superindicator are 89 for average real variety or trading duration and 14 for its multiplier.
The common actual variety (ATR) plays an crucial role in 'Thieftrend' because the indicator makes use of ATR to calculate its price. The ATR indicator indicators the degree of charge volatility.
The buy and promote signals are generated whilst the indicator starts offevolved plotting either on top of the closing price or under the closing price. A purchase signal is generated when the ‘Thieftrend’ closes above the fee and a promote signal is generated when it closes under the closing rate.
It additionally shows that the fashion is transferring from descending mode to ascending mode. contrary to this, whilst a ‘Thieftrend’ closes above the rate, it generates a sell sign as the colour of the indicator adjustments into pink.
A ‘Thieftrend’ indicator may be used on equities, futures or forex, Indices or maybe crypto markets and additionally on day by day, weekly and hourly charts as well, but usually, it fails in a sideways-transferring market.
MA 21, 50, 100, 200 (Moving Averages, simple and exponential)MA 21, 50, 100, 200 (Moving Averages, simple and exponential)
MA 21, 50, 100, 200 (Moving Averages, simple and exponential)MA 21, 50, 100, 200 (Moving Averages, simple and exponential)
DYNAMIC LEVELS PROThis indicator dynamically plots support and resistance levels based on recent price actions, allowing traders to decide when to buy, sell, or hold as the price interacts with these critical zones. It is designed for traders who rely on price structure and breakout or breakdown strategies, simplifying decision-making by highlighting actionable opportunities directly on the chart. These levels are derived from a proprietary formula and price action. When the price stays near the light blue line, you will take action to enter or exit.
If the slow ema (fuchsia colour) is above the very slow ema(black colour) plan for long and vice versa.
In settings, you can add or subtract a correction value, examining how much point the price overshoots the line in early trade. Since it is a minor value, you can avoid it.
another field Range is for future use.
ema values can be changed as per your desirable values.
ATR Trailing Stoploss + MA RibbonA combination of "ATR Trailing Stop Loss" and "MA Ribbon" indicators
Dual Volume Divergence LineDual Volume Divergence Line (DVD/Line)
🔹 Overview
The Dual Volume Divergence Line (DVD/Line) is a custom Pine Script™ indicator designed to identify potential trend reversals and continuations by analyzing volume and price divergences. This script is inspired by the original concept of the Dual Volume Divergence Index (DVDI) by DonovanWall and has been modified and enhanced by keremertem. Special thanks to DonovanWall for the original concept. The indicator combines volume-based calculations with price action to generate signals for bullish and bearish divergences, both normal and hidden. Below is a detailed breakdown of its components and functionality.
🔹 Key Features of the DVD/Line Indicator
1. Dual Volume Divergence Calculation:
- The indicator calculates two primary volume-based indices: the Positive Volume Index (PVI) and the Negative Volume Index (NVI).
- PVI measures the impact of volume on price when the price increases, while NVI measures the impact when the price decreases.
- These indices are used to detect divergences between volume and price, which can signal potential reversals or continuations.
2. Customizable Inputs:
- DVD Sampling Period: Adjusts the sensitivity of the indicator by controlling the lookback period for calculating the volume-weighted moving averages (VWMA) of PVI and NVI.
- Band Width: Defines the range for calculating the upper and lower bands, which act as dynamic support and resistance levels.
- Source: Allows users to select the price source (e.g., `hlc3`, `close`, etc.) for calculations.
3. Volume-Weighted Moving Averages (VWMA):
- Instead of using traditional moving averages, the script employs VWMA to smooth the PVI and NVI signals. This ensures that the indicator is more responsive to changes in volume.
4. Upper and Lower Bands:
- The upper and lower bands are calculated using the Root Mean Square (RMS) of the highest and lowest values of the DVD line over a user-defined period. These bands help identify overbought and oversold conditions.
5. Divergence Detection:
- The script identifies four types of divergences:
- Normal Bullish Divergence: Occurs when price makes a lower low, but the DVD line makes a higher low.
- Hidden Bullish Divergence: Occurs when price makes a higher low, but the DVD line makes a lower low.
- Normal Bearish Divergence: Occurs when price makes a higher high, but the DVD line makes a lower high.
- Hidden Bearish Divergence: Occurs when price makes a lower high, but the DVD line makes a higher high.
- These divergences are visually highlighted on the chart using labels.
6. Customizable Divergence Selection:
- Users can choose between two types of divergence calculations:
- DVDI: Based on the raw divergence values.
- DVD Line: Based on the smoothed DVD line.
7. Visual Enhancements:
- The DVD line is plotted with a color-coded scheme: blue when the DVD line is above its signal line (bullish) and pink when it is below (bearish).
- The upper and lower bands are displayed as step lines, making it easier to identify key levels.
🔹 How the Indicator Works
1. Volume-Based Calculations:
- The script starts by calculating the PVI and NVI based on the selected price source and volume data.
- PVI increases when the price rises, while NVI decreases when the price falls. These indices are then smoothed using VWMA to generate signals.
2. DVD Line Calculation:
- The DVD line is derived by combining the divergences of PVI and NVI. It is further smoothed using a Weighted Moving Average (WMA) and a linear regression line for trend analysis.
3. Divergence Detection:
- The script identifies pivot points in the DVD line and compares them with price action to detect divergences.
- Normal divergences indicate potential reversals, while hidden divergences suggest trend continuations.
4. Dynamic Bands:
- The upper and lower bands are calculated using RMS, which provides a more accurate representation of volatility compared to standard deviation or fixed-width bands.
5. Labeling:
- Divergences are labeled directly on the chart with clear text and color coding:
🟢 Bullish Divergence: Green label with "Bull".
🟩 Bearish Divergence: Red label with "Bear".
🔴 Hidden Bullish Divergence: Lime label with "hid.".
🟧 Hidden Bearish Divergence: Orange label with "hid.".
🔹 Unique Aspects of This Script
1. Volume-Weighted Smoothing:
- Unlike traditional divergence indicators that rely on simple moving averages, this script uses VWMA and WMA to ensure that volume plays a significant role in signal generation.
2. Dynamic Bands with RMS:
- The use of RMS for calculating bands provides a more adaptive and accurate representation of market conditions, especially in volatile markets.
3. Flexible Divergence Selection:
- Users can choose between raw divergence values (DVDI) or smoothed values (DVD Line), allowing for greater customization based on trading style.
4. Comprehensive Divergence Detection:
- The script detects both normal and hidden divergences, providing a complete picture of potential trend reversals and continuations.
5. User-Friendly Visuals:
- The color-coded DVD line and cross-style bands make it easy to interpret the indicator at a glance.
🔹 How to Use the Indicator
1. Trend Identification:
- Use the Middle Band and its color to identify the current trend. A green line suggests bullish momentum, while a red line indicates bearish momentum. Additionally, a bullish momentum may be indicated when the DVD line crosses up, and a bearish momentum may be indicated when it crosses down the Middle Band.
2. Divergence Trading:
- Look for divergences between the DVD line and price action. Normal divergences can be used for counter-trend trades, while hidden divergences can confirm trend continuations.
3. Band Breakouts:
- Monitor the upper and lower bands for potential breakout or reversal signals. A break above the upper band may indicate overbought conditions, while a break below the lower band may suggest oversold conditions.
4. Customization:
- Adjust the sampling period and band width to suit different timeframes and trading strategies. Shorter periods are more sensitive, while longer periods provide smoother signals.
🔹 Conclusion
The Dual Volume Divergence Line (DVD/Line) is a powerful and versatile indicator that combines volume analysis with price action to generate actionable trading signals. Its unique use of volume-weighted smoothing, dynamic bands, and comprehensive divergence detection sets it apart from traditional divergence indicators. Whether you're a day trader or a long-term investor, this tool can help you identify high-probability trading opportunities with greater accuracy and confidence.
📌 Disclaimer: This script is for educational purposes only and does not constitute financial advice. Always conduct your own analysis before making trading decisions.
EMA Selectable Crossing TriggerEMA Crossover Signal Indicator
This Pine Script creates a customizable Exponential Moving Average (EMA) crossover indicator designed for traders to identify potential "call" or "put" signals on a chart. The script plots four adjustable EMA lines and generates a signal when two specific EMAs—the "Target" and "Trigger" lines—cross each other. The direction of the crossover determines whether a "call" (bullish) or "put" (bearish) signal is displayed.
Features:
Target EMA (EMA 5):
A fast-moving EMA with a default length of 5 periods.
This line serves as the primary signal generator when it crosses the Trigger EMA.
Fully adjustable via input settings.
Trigger EMA (EMA 15):
A slightly slower EMA with a default length of 15 periods.
Acts as the reference line for the Target EMA crossover.
Fully adjustable via input settings.
Support/Resistance EMA (EMA 90):
A medium-term EMA with a default length of 90 periods.
Provides a visual guide for potential support or resistance levels on the chart.
Fully adjustable via input settings.
Support/Resistance EMA (EMA 180):
A long-term EMA with a default length of 180 periods.
Offers additional context for major support or resistance zones.
Fully adjustable via input settings.
Signal Logic:
Call Signal: Generated when the Target EMA (e.g., EMA 5) crosses above the Trigger EMA (e.g., EMA 15), indicating potential bullish momentum.
Put Signal: Generated when the Target EMA crosses below the Trigger EMA, signaling potential bearish momentum.
Signals are plotted directly on the chart at the point of crossover for easy identification.
Customization:
All four EMA lengths (Target, Trigger, EMA 90, and EMA 180) are user-adjustable through the script’s input settings, allowing flexibility to adapt the indicator to different timeframes or trading strategies.
The script plots each EMA line in distinct colors for clear visualization.
Usage:
This indicator is ideal for traders using EMA crossovers to spot entry points for options trading (calls or puts) or trend-following strategies. The additional EMA 90 and EMA 180 lines provide context for key support and resistance levels, enhancing decision-making. Adjust the EMA lengths based on your preferred trading style or asset volatility.
BCVC - Volume & Big Candle ColorThe BCVC (Volume & Big Candle Color) indicator helps traders identify significant price movements accompanied by unusual volume activity. By dynamically coloring bars based on volume spikes and candle size, it highlights potential momentum shifts, breakouts, or reversals. This tool is ideal for traders who want to:
Spot institutional buying/selling activity.
Confirm trend strength using volume and price volatility.
Filter noise by focusing on high-impact bars.
Key Features
Volume Spike Detection:
Compares current volume to a moving average (EMA) of volume.
Highlights bars where volume exceeds the average by a user-defined multiplier.
Big Candle Detection:
Identifies bars with a range (high-low) larger than the historical average range (EMA of candle ranges).
Thresholds for "big candles" are customizable.
Color-Coded Logic:
White Bars: High volume + Big candle + Bullish (close > open).
Orange Bars: High volume + Big candle + Bearish (close < open).
Blue Bars: High volume + Regular candle + Bullish.
Maroon Bars: High volume + Regular candle + Bearish.
Input Parameters
Volume Settings:
Volume Period: EMA length for average volume calculation (default: 20).
Volume Multiplier: Threshold multiplier for volume spikes (e.g., 1.25 = 25% above average).
Candle Size Settings:
Lookback Period: EMA length for average candle range (default: 7).
Big Candle Multiplier: Threshold multiplier for large candles (e.g., 1.3 = 30% above average range).
How It Works
Volume Analysis:
The indicator calculates an EMA of volume over the specified period.
If the current bar’s volume exceeds Average Volume × Volume Multiplier, it’s flagged as a high-volume bar.
Candle Range Analysis:
The average candle range (high-low) is calculated using an EMA over the lookback period.
A "big candle" is identified when the current bar’s range exceeds Average Range × Big Candle Multiplier.
Combined Signals:
High-volume bars are colored based on whether they are bullish/bearish and whether their range exceeds the big-candle threshold.
Example: A white bar (high volume + big candle + bullish) suggests strong buying pressure with institutional participation.
Usage Scenarios
Breakout Confirmation: A white/orange bar at a support/resistance level may validate a breakout.
Reversal Signals: A maroon/orange bar after a long trend could indicate exhaustion and potential reversal.
Trend Strength: Clusters of blue/white bars during uptrends (or maroon/orange in downtrends) confirm momentum.
Benefits
Visual Clarity: Instantly spot high-impact bars without manually scanning volume or candle size.
Customizable Sensitivity: Adjust multipliers to filter noise (e.g., increase for fewer signals).
Universal Application: Works on all timeframes and instruments (stocks, forex, crypto).
Notes
Best Paired With: Trendlines, support/resistance levels, or momentum oscillators (e.g., RSI).
Avoid False Signals: Use higher multipliers (e.g., 1.5) on lower timeframes to reduce noise.
Trend Catcher SwiftEdgeTrend Catcher SwiftEdge
Overview
The Trend Catcher SwiftEdge is a simple yet effective tool designed to help traders identify potential trend directions using two Simple Moving Averages (SMAs). It plots two SMAs based on the high and low prices of the chart, visually highlights trend conditions, and provides buy/sell labels to assist with trade entries. This indicator is best used as part of a broader trading strategy and should not be relied upon as a standalone signal generator.
How It Works
Two SMAs: The indicator calculates two SMAs: one based on the lowest price (Low) and one based on the highest price (High) over a user-defined period (default: 20).
Dynamic Colors:
Green: When the price is above both SMAs (indicating a potential uptrend).
Red: When the price is below both SMAs (indicating a potential downtrend).
Purple: When the price is between the SMAs (indicating consolidation).
The SMAs and the background between them change color dynamically to reflect the current trend condition.
Buy/Sell Labels:
A "Buy" label appears when an entire candlestick (including its low) crosses above both SMAs, marking the start of a potential uptrend.
A "Sell" label appears when an entire candlestick (including its high) crosses below both SMAs, marking the start of a potential downtrend.
To reduce noise, only one label is shown per trend direction. The indicator resets when the price enters the consolidation zone (purple), allowing for a new signal when the next trend begins.
Settings
SMA Length: Adjust the period of the SMAs (default: 20). A longer period smooths the SMAs and focuses on larger trends, while a shorter period makes the indicator more sensitive to price changes.
How to Use
Add the indicator to your chart.
Look for "Buy" labels to consider potential long entries during uptrends (green zone).
Look for "Sell" labels to consider potential short entries during downtrends (red zone).
Use the purple consolidation zone to prepare for potential breakouts.
Always combine this indicator with other forms of analysis (e.g., support/resistance, volume, or other indicators) to confirm signals.
Important Notes
This indicator is a tool to assist with identifying trend directions and potential entry points. It does not guarantee profits and should be used as part of a comprehensive trading strategy.
False signals can occur, especially in choppy or ranging markets. Consider using additional filters or confirmations to improve reliability.
Backtest the indicator on your chosen market and timeframe to understand its behavior before using it in live trading.
Feedback
If you have suggestions or feedback, feel free to leave a comment. Happy trading!
Standard Deviation SMA RSI | mad_tiger_slayerOverview of the Script
The Standard Deviation SMA RSI is a custom TradingView indicator that enhances the Relative Strength Index (RSI) by incorporating a Simple Moving Average (SMA) and Standard Deviation bands . This approach smooths RSI calculations while factoring in volatility to provide clearer trend signals . Additionally, the indicator includes overbought and oversold thresholds, trend-coded RSI signals , and dynamic volatility bands for improved market analysis. This indicator is designed for swing traders and long-term investors looking to capture high-probability trend shifts.
How Do Traders Use the Standard Deviation SMA RSI?
In the provided chart image, the indicator is displayed on a price chart. Each visual component serves a distinct function in identifying trend conditions and volatility levels .
INTENDED USES
⚠️ NOT INTENDED FOR SCALPING
With the smoothing nature of the SMA-based RSI , this indicator is not designed for low-timeframe scalping. It works best on timeframes above 1-hour , with optimal performance in 12-hour, daily, and higher timeframes.
📈 TREND-FOLLOWING & MEAN REVERSION
The Standard Deviation SMA RSI functions as both a trend-following and mean-reverting indicator:
Trend-Following: Identifies strong, sustained trends using RSI signals and SMA confirmation.
Mean Reversion: Detects overbought/oversold conditions based on standard deviation bands and RSI thresholds .
A VISUAL REPRESENTATION OF INTENDED USES
RSI Line (Green/Pink/Gray): The RSI line dynamically changes color based on trend conditions .
Green RSI → Strong uptrend, RSI above the uptrend threshold.
Pink RSI → Downtrend, RSI below the downtrend threshold.
Gray RSI → Neutral state or consolidation.
If the SMA of RSI is above Long Threshold , the market is in a bullish trend.
If it’s below Short Threshold, bearish conditions prevail.
Threshold Lines (Teal/Purple):
Green Line → Long Entry Threshold
Red Line → Short Entry Threshold
Standard Deviation Bands:
Upper Band → Measures bullish volatility expansion
Lower Band → Measures bearish volatility expansion
Colored Candles: Price candles adjust color based on RSI conditions , visually aligning price action with market trends.
Indicator's Primary Elements
Input Parameters
The script includes several configurable settings, allowing users to tailor the indicator to different market environments:
RSI Length: Controls the number of periods for RSI calculations.
SMA Length: Defines the period for the SMA applied to RSI , creating a smoothed trend line.
Standard Deviation Period: Determines the length for volatility calculations.
Overbought and Oversold Levels:
Can be adjusted to customize sensitivity.
Standard Deviation SMA RSI Calculation
The SMA-based RSI smooths fluctuations while the standard deviation bands measure price volatility.
Upper and Lower Bands: Calculated by adding/subtracting standard deviation to/from the SMA-based RSI.
Trend Signal Calculation:
RSI is compared to uptrend and downtrend thresholds to determine buy/sell conditions.
Long and Short Conditions
Buy and sell conditions are determined by RSI relative to key thresholds :
Bullish Signal: RSI above long threshold & SMA confirms trend .
Bearish Signal: RSI below short threshold & SMA confirms downtrend .
Reversals: RSI entering overbought/oversold areas suggests possible trend reversals.
Conclusion
The Standard Deviation SMA RSI is a powerful trend-following and mean-reverting tool , offering enhanced insights into RSI movements, volatility, and market strength . By combining SMA smoothing, standard deviation bands, and dynamic thresholds , traders can better identify trend confirmations, reversals, and overextended conditions .
✅ Customizable settings allow traders to optimize sensitivity.
✅ Works best on high timeframes (12H, Daily, Weekly).
✅ Ideal for swing traders and long-term investors.