ATR Tablosu (ozanbey)The purpose of this code is to display the **ATR (Average True Range)** indicator and to visually display this value on **charts and tables**. ATR is an indicator that measures price movement and shows volatility (price currency). For investors and traders, ATR helps them understand volatility in the market and is used in trading strategies such as risk management, determining stop-loss. ### Purpose and Usage of Code: 1. **ATR Calculation**: - ATR value is calculated according to the period recorded by the user. 14-period ATR is used, but this value can be changed. - ATR measures how volatile (fluctuating) the price is. This is a popular indicator used to use volatility.
Bu kodun amacı, **ATR (Average True Range)** göstergesinin gösterilmesi ve bu değerin görsel olarak **grafikte ve tabloda** belirtilmesidir. ATR, fiyat hareketliliğini ölçen bir göstergedir ve volatiliteyi (fiyat para birimini) gösterir. Yatırımcılar ve traderlar için ATR, piyasadaki volatiliteyi anlamalarına yardımcı olur ve ticaret stratejilerinde risk yönetimi, stop-loss'un belirlenmesinin belirlenmesi gibi kullanılır. ### Kodun Amacı ve Kullanımı: 1. **ATR Hesaplama**: - Kullanıcı tarafından kaydedilen periyoda göre ATR değeri hesaplanır. 14 periyotluk ATR kullanılır, ancak bu değer değiştirilebilir. - ATR, fiyatın ne kadar değişken olduğunu (dalgalandığını) ölçer. Bu, volatiliteyi kullanmak için kullanılan popüler bir göstergedir.
متذبذبات
RSI Squared (Normal - Cutlers)Cutler's RSI calculation based on regular RSI derived from price.
Credit to @TanHef for Cutler's RSI source code used within this script.
Advanced RSI Divergence with Smoothing MAThis script combines RSI Divergence detection with a Smoothing Moving Average (MA) overlay on the RSI, offering traders a powerful tool to identify potential trend reversals and confirm signals. By smoothing the RSI line, the script reduces noise and provides clearer visualization of market conditions, making it easier to spot high-probability trading opportunities.
The script is designed to detect both Regular and Hidden Divergences, which are key indicators of potential trend reversals or continuations. Additionally, it includes a customizable MA overlay on the RSI line, along with optional Bollinger Bands for added volatility insights.
Key Features:
1. RSI Divergence Detection:
Identifies Regular Bullish and Bearish Divergences (potential trend reversals).
Detects Hidden Bullish and Bearish Divergences (potential trend continuations).
Plots clear labels and trendlines on the chart to highlight divergence signals.
2. Smoothing Moving Average (MA):
Adds a customizable MA overlay on the RSI line to smooth out noise and improve signal clarity.
Supports multiple MA types: SMA, EMA, SMMA (RMA), WMA, VWMA.
Optional Bollinger Bands around the MA for additional volatility insights.
3. Customizable Inputs:
Adjustable RSI period, source, and divergence lookback settings.
Configurable MA type, length, and Bollinger Bands settings.
4. Visual Enhancements:
Plots RSI with overbought/oversold levels (70/30).
Adds gradient fills for overbought and oversold regions for better visualization.
Displays the smoothing MA as a yellow line for easy identification.
5. Alerts:
Built-in alerts for Regular Bullish/Bearish Divergences and Hidden Bullish/Bearish Divergences.
Why This Script is Unique:
While RSI divergence detection is a common concept, this script stands out by combining it with a smoothing MA overlay and optional Bollinger Bands on the RSI line. This unique combination:
Reduces noise and false signals by smoothing the RSI line.
Provides additional confirmation of divergence signals through the MA overlay.
Offers flexibility with multiple MA types and customizable settings to adapt to different trading styles and market conditions.
The integration of Bollinger Bands around the MA further enhances the script by providing insights into RSI volatility, which is not commonly available in open-source RSI divergence scripts.
Why Closed-Source:
This script uses a proprietary combination of RSI divergence detection, smoothing MA overlays, and Bollinger Bands to create a unique and highly effective trading tool. The specific logic and calculations used to combine these elements are the result of extensive research and backtesting, and the source code is protected to maintain its competitive edge.
How to Use:
Apply the script to your chart and adjust the RSI and MA settings to suit your trading strategy.
Look for divergence signals (Regular or Hidden) confirmed by the smoothing MA.
Use the Bollinger Bands (if enabled) to gauge RSI volatility and filter out low-probability signals.
Set up alerts for divergence signals to stay informed of potential trading opportunities.
RSI with Moving AveragesThis Indicator can be used in tandem to other indicators since this one moves with the price and it will help spot divergences when you use another indicator that is susceptible to divergence
The 2 EMA closely follows Price, the 7 EMA represents a short term trend change and the 21 represents a medium term trend change
TradingCircuit EMA Cloud Features
✅ EMA Clouds for Better Visualization
Short-Term Cloud (10 & 21 EMA) → Captures short-term momentum
Medium-Term Cloud (44 & 63 EMA) → Confirms trend strength
Long-Term EMA (200 EMA) → Acts as the main trend filter
✅ Dynamic Trend Coloring
The clouds change color based on EMA crossovers, providing instant visual trend identification.
Green Cloud = Bullish Momentum
Red/Orange Cloud = Bearish Momentum
✅ 📊 Trend Dashboard with 7-Class Trend Detection
A trend label appears on the chart based on the alignment of EMAs:
1️⃣ 🔥 Strong Uptrend → All EMAs aligned upwards (10 > 21 > 44 > 63 > 200)
2️⃣ 📈 Mild Uptrend → Short and Medium EMAs above the 200 EMA but not perfectly aligned
3️⃣ 🟢 Weak Uptrend → Only Short-Term EMA Cloud is above 200 EMA
4️⃣ 🟡 Sideways Market → Mixed EMA alignment, no clear trend
5️⃣ 🔴 Weak Downtrend → Short-Term EMA Cloud is below the 200 EMA, but Medium-Term isn’t
6️⃣ 📉 Mild Downtrend → Both Short and Medium EMA Clouds below 200 EMA
7️⃣ 🚨 Strong Downtrend → All EMAs aligned downward (10 < 21 < 44 < 63 < 200)
✅ Fully Customizable
Enable/Disable individual EMA clouds
Toggle Trend Dashboard ON/OFF
Transparent clouds for a clean look
Long-Term 200 EMA plotted as a black line for clear reference
🔧 How to Use?
1️⃣ Add this indicator to your chart on TradingView
2️⃣ Observe EMA Clouds for trend confirmation
3️⃣ Follow the Trend Dashboard for easy decision-making
4️⃣ Use in combination with other indicators like RSI or Volume for better confirmation
⚡ Best Suited For?
✅ Day Traders & Swing Traders – Quickly spot reversals and trend shifts
✅ Trend Followers – Stay in sync with the dominant trend
✅ Algo Traders – Can be used as a base for automated strategies
📌 Notes
⚠️ This indicator does not generate buy/sell signals! It is meant to enhance trend visualization.
🚀 Best results when used with other confluence factors like price action, support/resistance, and volume analysis.
👉 If you find this indicator useful, don’t forget to like & comment! 🚀
Happy Trading! 📊🔥
Combined WMA and ADX//@version=6
indicator("Combined WMA and ADX", shorttitle="WMA & ADX", overlay=true, timeframe="", timeframe_gaps=true)
// --- WMA Inputs ---
lenWMA = input.int(9, minval=1, title="WMA Length")
src = input(close, title="WMA Source")
offset = input.int(title="WMA Offset", defval=0, minval=-500, maxval=500, display=display.data_window)
// --- ADX Inputs ---
adxlen = input(14, title="ADX Smoothing")
dilen = input(14, title="DI Length")
// --- WMA Calculation ---
outWMA = ta.wma(src, lenWMA)
// --- ADX and DI Calculation ---
dirmov(len) =>
up = ta.change(high)
down = -ta.change(low)
plusDM = na(up) ? na : (up > down and up > 0 ? up : 0)
minusDM = na(down) ? na : (down > up and down > 0 ? down : 0)
truerange = ta.rma(ta.tr, len)
plus = fixnan(100 * ta.rma(plusDM, len) / truerange)
minus = fixnan(100 * ta.rma(minusDM, len) / truerange)
adx(dilen, adxlen) =>
= dirmov(dilen)
sum = plus + minus
adx = 100 * ta.rma(math.abs(plus - minus) / (sum == 0 ? 1 : sum), adxlen)
adx
sigADX = adx(dilen, adxlen)
// --- Plot WMA and ADX ---
plot(outWMA, title="WMA", color=color.blue, offset=offset)
plot(sigADX, title="ADX", color=color.red)
Volume Delta & RSIVolume Delta & Cumulative Volume Delta (CVD)
Volume Delta: Calculates buy and sell volumes based on price movements. Plots these volumes as columns.
Cumulative Volume Delta: Uses lower timeframe data to calculate and plot cumulative volume delta (CVD) candles. Includes error-checking for missing volume data.
Volume Delta Table (Optional): Displays buy, sell, and cumulative volumes in a table.
RSI & Divergence
RSI Calculation: Computes the RSI based on price changes and plots it with upper, middle, and lower bands.
Smoothing MA (Optional): Adds various moving averages (SMA, EMA, etc.) and Bollinger Bands to the RSI plot.
Divergence Calculation (Optional): Identifies and plots bullish and bearish divergences based on RSI and price pivots. Sets alerts for these divergences.
RSI Table (Optional): Displays the current RSI value in a table.
Crypto Fear & Greed Score [Underblock]Crypto Fear & Greed Score - Methodology & Functioning
Introduction
The Crypto Fear & Greed Score is a comprehensive indicator designed to assess market sentiment by detecting extreme conditions of panic (fear) and euphoria (greed). By combining multiple technical factors, it helps traders identify potential buying and selling opportunities based on the emotional state of the market.
This indicator is highly customizable, allowing users to adjust weight parameters for RSI, volatility, Bitcoin dominance, and trading volume, making it adaptable to different market conditions.
Key Components
The indicator consists of two primary sub-scores:
Fear Score (Panic) - Measures the intensity of fear in the market.
Greed Score (Euphoria) - Measures the level of overconfidence and excessive optimism.
The difference between these two values results in the Net Score, which indicates the dominant market sentiment at any given time.
1. Relative Strength Index (RSI)
The indicator utilizes multiple RSI timeframes to measure momentum and overbought/oversold conditions:
RSI 1D (Daily) - Captures medium-term sentiment shifts.
RSI 4H (4-hour) - Identifies short-term market movements.
RSI 1W (Weekly) - Helps detect long-term overbought/oversold conditions.
2. Volatility Analysis
High volatility is often associated with fear and panic-driven selling.
Low volatility in bullish markets may indicate complacency and overconfidence.
3. Bitcoin Dominance (BTC.D)
Bitcoin dominance provides insights into capital flow between Bitcoin and altcoins:
Rising BTC dominance suggests fear as investors move into BTC for safety.
Declining BTC dominance indicates increased risk appetite and potential market euphoria.
4. Buying and Selling Volume
The indicator analyzes both buying and selling volume, ensuring a clearer confirmation of market sentiment.
High buying volume in uptrends reinforces bullish momentum.
Spikes in selling volume indicate panic and possible market bottoms.
Calculation Methodology
The indicator allows users to adjust weight parameters for each component, making it adaptable to different trading strategies. The formulas are structured as follows:
Fear Score (Panic Calculation)
Fear Score = (1 - RSI_1D) * W_RSI1D + (1 - RSI_4H) * W_RSI4H + (1 - Dominance) * W_Dominance + Volatility * W_Volatility + Sell Volume * W_SellVolume
Greed Score (Euphoria Calculation)
Greed Score = RSI_1D * W_RSI1D + RSI_4H * W_RSI4H + Dominance * W_Dominance + (1 - Volatility) * W_Volatility + Buy Volume * W_BuyVolume
Net Fear & Greed Score
Net Score = (Greed Score - Fear Score) * 100
Interpretation:
Above 70: Extreme greed -> possible overbought conditions.
Below -70: Extreme fear -> potential buying opportunity.
Near 0: Neutral market sentiment.
Trend Reversal Detection
The indicator includes two moving averages for enhanced trend detection:
Short-term SMA (50-periods) - Reacts quicklier to changes in sentiment.
Long-term SMA (200-periods) - Captures broader trend reversals.
How Crossovers Work:
Short SMA crossing above Long SMA -> Potential bullish reversal.
Short SMA crossing below Long SMA -> Possible bearish trend shift.
Alerts for SMA crossovers help traders act on momentum shifts in real-time.
Customization and Visualization
The Net Score dynamically changes color: green for greed, red for fear.
Users can adjust weightings directly from settings, avoiding manual script modifications.
Reference levels at 70 and -70 provide clarity on extreme market conditions.
Conclusion
The Crypto Fear & Greed Score provides a powerful and objective measure of market sentiment, helping traders navigate extreme conditions effectively.
🟢 If the Net Score is below -70, panic may present a buying opportunity.
🔴 If the Net Score is above 70, excessive euphoria may indicate a selling opportunity.
⚖️ Neutral values suggest a balanced market sentiment.
By customizing weight parameters and utilizing trend reversal alerts, traders can gain a deeper insight into market psychology and make more informed trading decisions. 🚀
Enhanced BarUpDn StrategyEnhanced BarUpDn Strategy
The Enhanced BarUpDn Strategy is a refined price action-based trading approach that identifies market trends and reversals using bar formations. It focuses on detecting bullish and bearish momentum by analyzing consecutive price bars and key support/resistance levels.
Key Features:
✅ Trend Confirmation – Uses a combination of bar patterns and indicators (e.g., moving averages, RSI) to confirm momentum shifts.
✅ Entry Signals – A buy signal is triggered when an "Up Bar" (higher high, higher low) follows a bullish setup; a sell signal when a "Down Bar" (lower high, lower low) confirms bearish momentum.
✅ Enhanced Filters – Incorporates volume analysis and additional conditions to reduce false signals.
✅ Stop-Loss & Risk Management – Uses recent swing highs/lows for stop placement and dynamic trailing stops for maximizing gains.
Options Scalping IndicatorUsed RSI, Volume Surge Calculation, and EMA to scalp potential Binary Trades.
Mansi Rahi Financial Freedom RSI DH✅ Avoids strict crossovers (which rarely happen)
✅ Checks if RSI enters the required range instead of requiring a crossover
✅ Prevents excessive signals by ensuring RSI was not already in the same range
This should now display buy/sell signals correctly on a 1-hour chart.
AN_B_EMACrossEMA crossover (short-term EMA crossing above long-term EMA).
Positive MACD (MACD line greater than the signal line).
RSI above 55.
A "B" label is plotted below the candle when conditions are satisfied.
RSI & MACDRSI & MACD combined for tradingview users
RSI & MACD combined for tradingview users
RSI & MACD combined for tradingview users
Advanced RSI Buy/Sell with FiltersAdvanced RSI Strategy with Multi-Timeframe Support, Extra Trend Filters & Auto Stop-Loss Calculation
This script adds:
✅ Multi-Timeframe Support → Confirms trend using a higher timeframe RSI
✅ More Trend Filters → Uses both EMA (50) & Supertrend for stronger confirmation
✅ Auto Stop-Loss Calculation → Sets SL based on ATR (Adaptive to volatility)
MACD Crossover Trend Line Zones BUY/SELLIt's cool. It shows the MACD crossovers as zones, so you can tell the direction of the trend. Buy/Sell signals are just something extra, don't solely rely on them.
Custom TABI Model with Layers📊 Custom TABI Model with Layered RSI 🚀
(Color-Coded Overbought/Oversold Tracker for Market Cycles)
🔹 A Smoothed RSI Model Designed for Bitcoin & Broader Market Cycle Analysis
🟢 What This Indicator Does
This script enhances traditional RSI analysis by applying a smoothed RSI and a layered color-coded model to visually highlight potential tops and bottoms in market cycles.
Unlike standard RSI, this model reduces noise and improves trend clarity using a 14-period SMA applied to RSI(14). It then categorizes RSI values into distinct color-coded zones, making overbought/oversold conditions more intuitive.
🔹 How It Works
✅ Applies a 14-period SMA to RSI(14) for smoother signals and less noise.
✅ Color-codes RSI values into 7 distinct zones for quick market interpretation.
✅ Highlights extreme overbought/oversold conditions with Red (90+) & Blue (0-30).
✅ Helps detect Bitcoin & broader market cycle tops/bottoms.
🎨 Color-Coded RSI Zones (Visual Guide)
🔵 Blue Zone (0-30) → Oversold Conditions (Potential Market Bottoms).
🟢 Green/Yellow Zones (30-70) → Neutral or Trending Markets.
🟠 Orange Zone (70-80) → Caution Zone: Strong Momentum, but Potential Exhaustion.
🔴 Red Zone (90+) → Extreme Overbought Conditions (High Risk of Market Top).
🚀 How Traders Can Use This Effectively
✅ Bitcoin & Crypto Market Cycle Tracking → Historically, RSI above 90 has signaled local market tops.
✅ Trend Confirmation & Reversals → Combine with moving averages, volume analysis, MACD for stronger signals.
✅ Scalping & Swing Trading → Lower timeframes (1H, 4H, Daily) for short-term entries/exits.
✅ Long-Term Holding Decisions → Weekly RSI reaching red zones may indicate profit-taking opportunities.
🔹 Why This Script is Unique & Original
✔️ Not just another RSI indicator—this model smooths RSI values for clearer trends.
✔️ Layered color zones visually separate RSI conditions, making analysis easier.
✔️ Inspired by InvestAnswers' color-coded model but fully built from scratch.
✔️ AI-assisted development for structured logic and enhanced customization.
📌 How to Apply This to Your Charts
1️⃣ Add the script to your TradingView chart.
2️⃣ Adjust RSI zone levels based on your market preferences (default settings optimized for crypto & stocks).
3️⃣ Use alongside support/resistance levels, volume spikes, and trend indicators to confirm signals.
✅ Final Notes for TradingView Moderators
✔️ This script is fully original and enhances RSI with unique smoothing & color-coding techniques.
✔️ Meets all originality & usefulness criteria—provides a structured RSI enhancement, not just a rehash.
✔️ No misleading claims—clearly explains how the model works and how traders can use it effectively.
🚀 Custom TABI Model: A Smarter Way to Track Market Cycles Using RSI! 🎯
Stop Loss with ATR Buffer1. Core Logic
Long Positions: Places a stop-loss below the previous bar's low by a buffer of ATR * bufferMultiplier.
Short Positions: Places a stop-loss above the previous bar's high by the same ATR-based buffer.
2. Key Features
ATR Volatility Adjustment:
Uses the Average True Range (ta.atr()) to adapt stop distances to market volatility. Larger ATR values widen the stop buffer during volatile markets.
User-Defined Buffer:
The bufferMultiplier lets you fine-tune how tightly/loosely stops follow price (e.g., 0.5 uses half the ATR value).
3. Visualization
Dynamic Lines:
Plots two lines on the chart:
Green for long stop levels.
Red for short stop levels.
Lines update on every bar to reflect new price action.
Historical Levels:
Optional trailing lines show only the most recent stop levels (avoysluttering the chart).
4. Use Cases
Trailing Stop-Loss: Track price momentum while maintaining a volatility-based safety margin.
Entry Confirmation: Identify potential reversal zones where price breaks through the ATR-buffered stops.
Risk Management: Size stops proportionally to market volatility, avoiding fixed-price thresholds.
Example Scenario:
If the previous candle’s low is $100, ATR is $2, and bufferMultiplier = 0.5:
Long Stop = 100 - (2 * 0.5) = $99.
Price must drop below $99 to trigger the stop, giving trades breathing room.
Supertrend + EMA (20,100) + Pivot Points@ganiSupertrend Indicator
Purpose: Identifies the overall trend of the market.
Logic
If the price is above the Supertrend line, the market is in an uptrend (green).
If the price is below the Supertrend line, the market is in a downtrend (red).
Uses ATR (Average True Range) to calculate the Supertrend.
Green Line → Uptrend.
Red Line → Downtrend.
EMA (Exponential Moving Averages: 20 & 100)
Purpose:
20 EMA – Short-term trend (faster-moving).
100 EMA – Long-term trend (slower-moving).
Logic:
When 20 EMA crosses above 100 EMA, it signals a bullish trend.
When 20 EMA crosses below 100 EMA, it signals a bearish trend.
Pivot Points (Support & Resistance)
Purpose: Identify potential reversal zones.
Logic:
If the price reaches a Pivot High, it may act as resistance.
If the price reaches a Pivot Low, it may act as support.
Red Circles → Resistance (Price may struggle to go higher).
Green Circles → Support (Price may find buying interest).
Trendchange Zones Indicator | iSolani
Spotting Reversals Before They Happen: The iSolani Trendshift System
Where RSI Meets Smart Volume Analysis - Your Visual Guide to Market Turns
Core Methodology
RSI-Powered Zones
Identifies critical levels using:
14-period RSI (default) with 70/30 thresholds
Semi-transparent boxes marking overbought (red) and oversold (green) territories
Zone persistence until RSI returns to neutral range
Dynamic Level Tracking
Plots evolving support/resistance using:
Pivot highs/lows with 15-bar lookback (default)
Auto-extending lines that adapt to new price extremes
Volume-Confirmed Breakouts
Flags significant moves with:
5/10 EMA volume oscillator
20% volume threshold (default) for confirmation
Technical Innovation
Three-Layer Confirmation
Unique combination of:
Classic RSI extremes
Price structure through pivot points
Volume-fueled momentum shifts
Adaptive Visualization
Zones maintain historical context at 33% transparency
Dynamic lines extend indefinitely until invalidated
Discreet labels for breakout events
System Workflow
Calculates RSI values in real-time
Draws colored zones when RSI crosses 70/30
Marks pivot points every 15 bars (default)
Updates support/resistance lines on new pivots
Triggers alerts when price breaks levels with volume confirmation
Standard Configuration
RSI Settings : 14-period length
Pivot Detection : 15-bar left/right lookback
Visuals : 33% transparency zones with thin borders
Volume Threshold : 20% oscillator difference
Alerts : Breakout signals with "B" labels
This system transforms the classic RSI into a spatial analysis tool - not just showing when markets are overextended, but where they're likely to reverse. The dynamic lines act as moving barriers that adapt to market structure, while the volume filter ensures only high-conviction breaks get flagged. By layering momentum, price action, and volume dynamics, it creates a multi-spectrum view of potential trend changes.
DK STRATSStrategy is based on the RSI and stochastic RSI to enter and exit trades based on overbought or oversold conditions, variable lookback and optimization features included.