6F Signals (With Labels)6F Signals (With Labels)
This TradingView indicator plots potential buy and sell signals.
Signals
- Buy signals: "Buy: " labels appear below the bar.
- Sell signals: "Sell: " labels appear above the bar.
Perfect for traders looking for straightforward, labeled entry and exit points directly on their price chart!
Hareketli Ortalamalar
EMA 200 Price Deviation AlertsThis script is written in Pine Script v5 and is designed to monitor the difference between the current price and its 200-period Exponential Moving Average (EMA). Here’s a quick summary:
200 EMA Calculation: It calculates the 200-period EMA of the closing prices.
Threshold Input: Users can set a threshold (default is 65) that determines when an alert should be triggered.
Price Difference Calculation: The script computes the absolute difference between the current price and the 200 EMA.
Alert Condition: If the price deviates from the 200 EMA by more than the specified threshold, an alert condition is activated.
Visual Aids: The 200 EMA is plotted on the chart for reference, and directional arrows are drawn:
A sell arrow appears above the bar when the price is above the EMA.
A buy arrow appears below the bar when the price is below the EMA.
This setup helps traders visually and programmatically identify significant price movements relative to a key moving average.
Mr. Laz's Fibonacci MASmoothed Fibonacci Moving Average
This indicator plots six Fibonacci retracement levels overlaid on the chart, with each level smoothly adjusted using an Exponential Moving Average (EMA). The Fibonacci levels are calculated based on the highest high and lowest low over a user-defined period, and they represent key support and resistance zones that traders often watch for price reversals.
The six Fibonacci retracement levels plotted are:
0% (Fib 0): Top level (representing the highest point in the range).
23.6% (Fib 23.6%)
38.2% (Fib 38.2%)
50% (Fib 50%)
61.8% (Fib 61.8%)
100% (Fib 100): Bottom level (representing the lowest point in the range).
These levels are smoothed using a user-defined Smoothing Length, which helps reduce the "zig-zag" nature of the lines and provides a more gradual, smoother appearance as they follow the price movement. The indicator allows you to adjust the smoothing factor to control how sensitive the lines are to price changes.
The colors of the Fibonacci levels are customizable and are plotted from top to bottom as:
Red (for Fib 100%)
Green (for Fib 23.6%)
Orange (for Fib 38.2%)
White (for Fib 50%)
Blue (for Fib 61.8%)
Purple (for Fib 0%)
This indicator is useful for identifying key support and resistance zones based on Fibonacci retracement levels, with the added benefit of smoothing to make the lines more visually appealing and less prone to sudden shifts.
POC-Candle-EMA-ATR-LongShadow-50percCandleThis is a script for those who trade based on volume and smart money strategies.
Some of the features of this script:
- Display "Time Price Opportunity Chart". These points help traders to identify price opportunities over time and have a better analysis of the market.
- Mark candles that have traded more volume than previous candles.
- Mark candles whose body is at least and not more than 50% of the total candle size, these candles can be found more easily in smart money strategies.
- Mark spike candles to find FVG faster
- Mark candles that have a shadow of at least more than 380 points and can be good reversal points.
- EMA indicator to check the market trend
- DonchianChannel indicator to check the price trend on the chart
Regards
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. 🚀
Anchored Powered KAMA [LuxAlgo]The Anchored Powered KAMA tool is a new flavor of the famous Kaufman's Adaptive Moving Average (KAMA).
It adds 5 different anchoring periods, a power exponent to the original KAMA calculation to increase the degree of filtering during ranging trends, and standard deviation bands calculated against the KAMA itself.
🔶 USAGE
In the image above we can see the different parts of the tool, it displays the Anchored Powered KAMA surrounded by standard deviation bands at 2x (solid) and 1x (dashed) by default.
This tool provides a simple and easy way to determine if the current market is ranging or trending and where the market extremes are in the current period.
As a rule of thumb, traders may want to trade extremes in ranges and pullbacks in trends.
When the KAMA is flat, a range is in place, so traders may want to wait for the price to reach an extreme before opening a trade in the other direction.
Conversely, if the KAMA is moving up or down, a trend is in place and traders may want to wait for the price to pull back to the KAMA before opening a trade in the direction of the trend.
🔹 Anchor Period
On the above chart, we can see different anchor periods on different chart timeframes.
This option is very useful for those traders who use multi-timeframe analysis, allowing them to see how the market behaves over different timeframes.
The valid values for this parameter are:
Hourly
Daily
Weekly
Monthly
Yearly
The tool has a built-in Auto feature for traders convenience, it automatically selects the optimal Anchor Period in function of the chart timeframe.
timeframes up to 2m: Hourly
timeframes up to 15m: Daily
timeframes up to 1H: Weekly
timeframes up to 4H: Monthly
larger timeframes: Yearly
🔹 Choosing the Right Anchor Period
In the chart above we can see the custom error message that the tool displays when the Auto feature is disabled and the Anchor Period is too large for the current chart timeframe.
Traders can select a smaller Anchor Period or a larger chart timeframe for the tool to display correctly.
🔶 DETAILS
The tool uses Welford's algorithm to calculate the KAMA's standard deviation, then plots the outer bands at the multiplier specified in the settings panel, and the inner bands at the multiplier specified minus 1.
🔹 Power Exponent
The graph above shows how different values of this parameter can affect the output.
To display the original KAMA a value of 1 must be set, by default this parameter is set to 2.
The higher the value, the better the tool's ability to detect ranges.
🔶 SETTINGS
Anchor Period: Select up to 5 different time periods from Hourly, Daily, Weekly, Monthly, and Yearly.
Source: Choose the source for all calculations.
Power Exponent: Fine-tune the KAMA calculation, a value of 1 will output the original KAMA, and is set to 2 by default.
Band Multiplier: Select the multiplier for the standard deviation bands.
Dynamic Trend & Levels by VikOpineThis indicator combines the best aspects of trend-following, volume and price action to help traders make informed decisions and can be used with other indicators for confluence. 🚀
Key Features and Concepts:
Volume-Weighted Moving Average (VWMA):
Unlike a simple moving average, the VWMA gives more weight to price action with higher volume, helping traders identify strong trends backed by significant market participation.
It helps distinguish between low-volume price fluctuations and meaningful market moves.
Volume-Weighted Average Price (VWAP):
Used by institutional traders, VWAP serves as a benchmark to gauge whether the current price is overbought or oversold relative to the average price weighted by volume.
The indicator tracks VWAP levels dynamically, offering insights into price reversion opportunities and breakout confirmations.
Fibonacci Levels (Dynamic Support & Resistance):
The script dynamically plots Fibonacci retracement and extension levels based on recent price swings, allowing traders to identify potential reversal and continuation zones. These levels change colors individually based on them becoming support or resistance.
Fibonacci levels help in setting stop-loss levels and profit targets based on natural market cycles.
Ichimoku Cloud (Trend Confirmation & Market Sentiment):
Provides a multi-dimensional view of trend strength, momentum, and potential reversals.
The Kumo (cloud) helps traders identify support and resistance zones, while the Tenkan-Sen and Kijun-Sen lines confirm trend direction. I prefer to remove the lines and only keep the clouds to anticipate upcoming trend.
How the Indicator Works:
The script dynamically calculates and overlays VWMA and VWAP to give a clear view of volume-backed trends.
Fibonacci levels are recalculated based on recent swing highs and lows, ensuring they remain relevant to current price action. This feature avoids to re-draw Fibs manually.
The Ichimoku Cloud adjusts in real-time to provide trend and momentum signals.
The session volume profile updates dynamically to highlight high-liquidity zones and potential breakout areas.
Alerts can be set up in Tradingview allowing traders to know the price action in real time.
How to Use This Indicator in Trading:
Trend Confirmation: Use VWMA, VWAP, and the Ichimoku Cloud to determine the prevailing trend and avoid trading against market momentum. Go with the trend.
Reversals: Look at the dynamic Fibonacci levels to find key support and resistance areas where price may reverse or consolidate. These levels change color as they become support or resistance.
Breakout & Continuation Trading: Monitor VWAP deviations and Ichimoku signals to identify strong trend continuation setups.
Mean Reversion: Use VWAP re-tests to spot potential pullback entries in established trends.
Alerts: Customize alerts to stay ahead of market moves.
Take advantage of paper trading feature available in Tradingview to familiarize yourself with this indicator. Experience is the best teacher as in any other case.
Ideal for:
✅ Traders looking to capitalize on VWAP trend and level.
✅ Traders utilizing Fibonacci levels and Ichimoku trends for structured trades.
✅ Scalpers leveraging levels and trends for quick entries/exits.
✅ Traders who rely on volume-backed trend confirmations.
No indicator is perfect so take everything with a pinch of salt.
Drop a comment below with your feedback or if you have any question.
Kulahli - KLSIDynamic Price Levels & Trend Tracker
Description
This indicator focuses on identifying dynamically changing price levels and determining the trend direction.
Key Features:
Dynamic Level Calculation: Price levels are continuously recalculated in a way that is sensitive to market conditions.
Trend Indicator: Based on how long the price stays above or below a certain level, the indicator shows the trend direction (uptrend or downtrend).
Color Coding: Price levels and trend direction are coded with different colors for easy visual identification.
Customizable Sensitivity: Offers sensitivity settings to adjust how quickly the indicator reacts to price changes.
Alert Options: Can be configured to receive alerts when the price crosses a specific level or when the trend direction changes.
How to Use:
Disclaimer:
This indicator is for educational and informational purposes only and should not be considered financial advice.
Past performance is not indicative of future results.1
Use at your own risk.
Feel free to adjust this draft according to the specific features and functions of your indicator.
Re-Accumulation & Re-Distribution ZonesHighlights re-accumulation and re-distribution zones based off the idea that price will cross an EMA continue for awhile, retrace for additional orders, and then cross back over.
The EMA length and the number of candles above/below the EMA as configurable parameters.
For Re-Accumulation, the price must first cross above the EMA and then remain above for the set number of candles.
For Re-Distribution, the price must first cross below the EMA and then remain below for the set number of candles.
Volume Trend Signals | iSolani
Volume Trend Signals | iSolani: Syncing Price Momentum with Volume Confirmation
In the dance between price action and volume, discerning true trend commitment requires seeing how institutional players vote with their capital. The Volume Trend Signals | iSolani illuminates this interplay by generating precise crossover signals when volume-accelerated price movements gain sustained traction. Unlike conventional volume oscillators, it employs a two-layered confirmation system —blending volatility-adjusted thresholds with adaptive smoothing—to spotlight high-probability entries aligned with smart-money activity.
Core Methodology
The indicator executes a five-phase process to filter meaningful trends:
Logarithmic Price Scaling: Measures percentage-based price changes via HLC3 typical price, reducing large-value bias in volatile markets.
Volatility Dynamic Filter: Uses a 30-bar standard deviation of price changes, scaled by user sensitivity (default 2x), to set momentum thresholds.
Volume Governance: Caps raw volume at 3x its 40-bar SMA, neutralizing outlier spikes while preserving institutional footprints.
Directional Flow Accumulation: Sums volume as positive/negative based on whether price movement breaches volatility-derived boundaries.
Signal Refinement: Smooths the Volume Flow Indicator (VFI) with a 3-bar SMA, then triggers alerts via crosses over a 20-bar EMA signal line.
Breaking New Ground
This tool introduces three evolutionary improvements over traditional volume indicators:
EMA Convergence Signals: Unlike basic zero-cross systems, it requires VFI to overtake its own EMA, confirming sustained momentum shifts.
Context-Aware Volume: The 3x volume cap adapts to current market activity, preventing false signals during news-driven liquidity spikes.
Minimalist Visual Alerts: Uses and symbols below/above candles, reducing chart clutter while emphasizing pivotal moments.
Engine Under the Hood
The script’s logic flows through four computational stages:
Data Conditioning: Computes HLC3 and its log-based rate of change for normalized price analysis.
Threshold Calibration: Derives dynamic entry/exit levels from 30-period volatility multiplied by user sensitivity.
Volume Processing: Filters and signs volume based on price meeting threshold criteria.
Signal Generation: Triggers buy/sell labels when the 3-bar SMA of cumulative flow crosses the 20-bar EMA.
Standard Configuration
Optimized defaults balance responsiveness and reliability:
VFI Length: 40-bar accumulation window
Sensitivity: 2.0 (double the volatility-derived threshold)
Signal Smoothing: 20-bar EMA
Volume Cap: 3x average (hidden parameter)
Smoothing: Enabled (3-bar SMA on VFI)
By fusing adaptive volume filtering with EMA-confirmed momentum, the Volume Trend Signals | iSolani cuts through market noise to reveal institutional-grade trend inflection points. Its unique crossover logic—prioritizing confirmation over speed—makes it particularly effective in swing trading and trend-following strategies across equities, commodities, and forex markets.
ZenAlgo - DetectorThis script combines multiple volume data sources, calculates several forms of volume-based metrics, displays a table for Spot vs. Perpetual volumes, and visualizes several technical elements (such as cumulative delta, divergences, fractals, and specialized moving averages). The primary objective is to help analyze volume activity across different exchanges, compare Spot vs. Perpetual markets, and observe how shifting volumes may coincide with price action characteristics. This description aims to clarify each component, explain how the calculations are performed, and show you how to interpret the various chart markings.
Why Combine These Metrics in One Script?
Many publicly available volume-related tools focus only on a single exchange or a single type of volume (like spot or futures). This script merges multiple exchange sources for spot and perpetual data into a unified view. By doing so, users can detect discrepancies or confirm alignment between different markets without juggling multiple indicators. It also processes volume-derived signals (delta, divergences, fractals, etc.) in one place, sparing you from manually combining various standalone scripts. Through this integration, it becomes easier to observe how price and volume interact across different market segments.
Core Concept: Aggregated Volume
The script begins by collecting volumes from multiple exchanges in two categories:
Spot volumes – Typically aggregated under symbols ending with "USDT" or a user-selected currency, and
Perpetual volumes – From perpetual futures contracts (e.g., symbols ending in "USD.P" or "USDT.P").
All these exchange volumes are requested via the built-in request.security() function in a single line for each exchange. The user can enable or disable each exchange in the inputs. The script then calculates an "aggregated volume" for Spot, an aggregated volume for Perpetual, and an overall combined total.
This aggregated volume is used later to break down how much of each bar's volume can be considered "buy" or "sell" based on the bar's candle structure (body vs. wicks).
Volume-Based Calculations: Buy vs. Sell Volume and Delta
For each bar, the script estimates how much of the aggregated volume can be associated with a "buy side" and a "sell side."
Volume Buy is computed if the bar's close is above the open , giving more weight to the candle's body and allocating some portion of volume to the wicks as well.
Volume Sell is similarly computed if the bar's close is below the open .
This results in a Delta value: Delta = (Buy Volume) – (Sell Volume).
Additionally, the script accumulates these values over a user-defined "lookback length" to provide Cumulative Delta . This can help show longer-term directional volume bias.
Table: Spot vs. Perpetual Comparison
There is a toggle ("Show Spot vs Perpetual Table") that displays an on-chart table comparing volumes:
Buy Volume and Sell Volume for each aggregated category (Spot, Perp, and their sum).
Delta (the difference between Buy and Sell).
Percentage breakdowns of buy vs. sell portions.
This table only appears on the most recent bar and helps users quickly assess how Spot and Perpetual volumes compare, plus the overall total.
PVSRA Color Coding
A "PVSRA-style" color approach classifies each bar based on volume and candle range:
Climax Up (lime) or Climax Down (red) occurs if volume is extremely high relative to a simple moving average of volume and range.
Above-Average Up (blue) or Down (fuchsia) occurs if volume is moderately higher than average.
Otherwise, colors fall back to neutral up/down colors.
This allows you to spot potentially high-volume "climax" bars vs. bars with only moderate or typical volume levels.
Fractals and Divergences
The script detects certain fractal points on the aggregated volumes (sum of buy or sell volumes). It looks for a 5-bar pattern (with the current bar in the middle for top or bottom fractals).
When a fractal is confirmed on buy volume, the script checks if new higher price highs coincide with lower buy-volume peaks (or vice versa) to highlight regular or hidden divergences.
Similar logic is applied on the sell-volume side if new lower price lows occur alongside higher sell-volume troughs (or the opposite).
If enabled in the settings, lines and labels may appear on the chart to mark these divergence points.
"Delta Dot" Events
This script draws small circles above or below bars when the total delta changes magnitude relative to the previous bar by certain user-defined multipliers. It segregates "tiny," "small," "large," and "extra" expansions in bullish or bearish delta.
Bullish Dots : Appear above the bar when the new positive delta is multiple times bigger than the previous positive delta.
Bearish Dots : Appear below the bar in a similar fashion for negative delta.
These dots emphasize large or sudden shifts in buy/sell pressure from one bar to the next.
Delta MA and its Direction
A moving average is calculated on the total delta and optionally multiplied by a factor (in the code, by 4) to make it visually prominent. The user can pick from SMA, EMA, WMA, RMA, or HMA as the smoothing technique.
Delta MA Direction : The script compares the current delta MA to a short SMA of itself to define whether it is rising or falling.
A color is assigned—blue if rising, orange if falling, gray if they're roughly equal.
This helps quickly visualize longer-term momentum in the net delta metric.
Divergences on the Delta MA
After computing the "Delta MA" line, the script detects pivot highs or lows on that line. If the price makes a new high but the Delta MA pivot is lower (and vice versa), it draws lines and small labels indicating potential divergence.
Bearish Divergence : Price makes a higher high, while the Delta MA pivot forms a lower high.
Bullish Divergence : Price makes a lower low, while the Delta MA pivot forms a higher low.
RSI + MFI Computation
The script also calculates a simplified form of RSI+MFI by comparing (close – open) / (high – low) * a multiplier , then smoothing it with a simple average. This is purely for an optional observational measure to see if the price action is leaning bullish or bearish in terms of these combined indicators.
EMA Overlay and Diamond Shapes
There are two standard EMAs (13 and 21). The script checks whether price is above or below these EMAs, in addition to other conditions (like changes in delta, volume, or RSI+MFI direction) to draw diamond shapes at the top or bottom of the chart:
Green Diamonds near the bottom if the conditions line up to suggest that the environment is more favorable for bullish pressure.
Red Diamonds near the top if the environment suggests more bearish pressure.
These diamonds come in two sizes:
Normal – More pronounced, typically plotted if RSI+MFI result is above/below zero.
Small – Plotted if RSI+MFI is on the other side of that threshold.
An optional "Hardcore Mode" adds special tiny diamonds under specific delta color/condition mismatches.
How to Interpret the Chart Elements
Line Plots of Buy and Sell Volumes : A positive line for buy volume, a negative line for sell volume, and a zero-line for reference. This provides at-a-glance perspective on how buy or sell volumes add up per bar.
Histogram "Total Delta" : A color-coded bar that quickly shows whether overall buy vs. sell volume is dominant. The color is governed by the PVSRA logic (e.g., potential climax or above-average conditions).
Volume Table (when enabled): Summarizes volumes in numeric and percentage form for Spot, Perp, and total categories on the last bar.
Delta Dots : Small circles highlighting abrupt changes in delta magnitude. Larger multiples indicate bigger jumps compared to the previous bar.
Fractals & Divergence Lines : Connect pivot points in buy/sell volume or in the Delta MA line with price highs/lows to indicate potential divergences.
Delta MA Plot : Smooth curve (scaled up x4) to reflect longer-term accumulation or distribution in the delta. Colored by whether the MA is above or below a short average of itself.
Diamonds : Appear when certain volume, price, RSI+MFI, and delta conditions converge. Green diamonds near the bottom typically coincide with bullish conditions, red diamonds near the top with bearish conditions.
Practical Usage Notes
Use the Spot vs. Perp breakdown to see if these two market segments differ significantly in their contributions to total volume. This can be informative when a certain type of market (futures vs. spot) might be "driving" price action.
The PVSRA color scheme highlights "climax" or "above-average" volume bars, which can sometimes appear around major reversals or breakouts.
Observing divergences in aggregated buy/sell volume (or in the Delta MA line) can provide additional context on whether certain price moves are backed by strong volume involvement.
The script's fractal divergences rely on short pivot detection. Signals will appear only after enough bars have passed for confirmation, so these are effectively "after-the-fact" notations to illustrate possible volume/price divergences.
The diamonds do not necessarily instruct any buy/sell action; rather, they mark conditions where multiple volume and momentum criteria line up in one direction.
Important Considerations
This script displays aggregated volumes from potentially multiple exchanges. Each exchange or pair might have different time zones, liquidity, or data availability, which can occasionally result in incomplete or zero values.
All references to "buy" or "sell" volume are approximate breakdowns based on candle structure. They are not absolute measures of real-time order flow.
Divergences and fractal points are provided strictly for analytical insight. They can repaint or shift if the fractal conditions were not fully confirmed in real time.
The color-coded lines, histograms, diamonds, and tables are strictly to guide analysis of volume fluctuations and do not claim to predict future price performance.
If you enable "Hardcore Mode," you will see additional diamond markers. This mode is mainly intended as an extra highlight of certain "contradictory" delta conditions.
Summary
The "ZenAlgo - Detector" script brings together a variety of volume-based analyses:
Aggregated volumes from multiple exchanges
A breakdown into Spot vs. Perpetual activity
Delta calculations, fractal divergences, and a specialized Delta Moving Average
Color-coded bars reflecting possible PVSRA concepts
A table to highlight numeric differences and percentages
Additional overlays (e.g., diamonds, RSI+MFI synergy, etc.)
In contrast to many free, single-exchange indicators, this script centralizes multiple exchange volumes in one place, making it easier to observe and compare volume flows across different market types (spot vs. perpetual). Users no longer need to rely on scattered tools or separate overlays to check volume divergences, fractals, or specialized MA calculations—everything is unified here. By carefully monitoring the table, Delta histogram, color-coded bars, divergence lines, and diamond markers, traders can more comprehensively evaluate how volume and price interact. Each plot is designed to showcase different aspects of volume flow—such as whether spot or derivatives markets dominate, if volume is skewed toward buying or selling, and if there are divergences between volume momentum and price movement.
All computations are displayed to help you carry out a more informed market analysis. It is strongly advised to combine these observations with other risk management or analytical methods, rather than relying on any single indicator alone.
Preferred Stock Yield AverageYour Preferred Stock Yield Average Indicator helps you identify buy and sell opportunities based on how the current yield compares to its historical average.
SMA Strategy Builder: Create & Prove Profitability📄 Pine Script Strategy Description (For Publishing on TradingView)
🎯 Strategy Title:
SMA Strategy Builder: Create & Prove Profitability
✨ Description:
This tool is designed for traders who want to build, customize, and prove their own SMA-based trading strategies. The strategy tracks capital growth in real-time, providing clear evidence of profitability after each trade. Users can adjust key parameters such as SMA period, take profit levels, and initial capital, making it a flexible solution for backtesting and strategy validation.
🔍 Key Features:
✅ SMA-Based Logic:
Core trading logic revolves around the Simple Moving Average (SMA).
SMA period is fully adjustable to suit various trading styles.
🎯 Customizable Take Profit (TP):
User-defined TP percentages per position.
TP line displayed as a Step Line with Breaks for clear segmentation.
Visual 🎯TP label for quick identification of profit targets.
💵 Capital Tracking (Proof of Profitability):
Initial capital is user-defined.
Capital balance updates after each closed trade.
Shows both absolute profit/loss and percentage changes for every position.
Darker green profit labels for better readability and dark red for losses.
📈 Capital Curve (Performance Visualization):
Capital growth curve available (hidden by default, can be enabled via settings).
📏 Dynamic Label Positioning:
Label positions adjust dynamically based on the price range.
Ensures consistent visibility across low and high-priced assets.
⚡ How It Works:
Long Entry:
Triggered when the price crosses above the SMA.
TP level is calculated as a user-defined percentage above the entry price.
Short Entry:
Triggered when the price crosses below the SMA.
TP level is calculated as a user-defined percentage below the entry price.
TP Execution:
Positions close immediately once the TP level is reached (no candle close confirmation needed).
🔔 Alerts:
🟩 Long Signal Alert: When the price crosses above the SMA.
🟥 Short Signal Alert: When the price crosses below the SMA.
🎯 TP Alert: When the TP target is reached.
⚙️ Customization Options:
📅 SMA Period: Choose the moving average period that best fits your strategy.
🎯 Take Profit (%): Adjust TP percentages for flexible risk management.
💵 Initial Capital: Set the starting capital for realistic backtesting.
📈 Capital Curve Toggle: Enable or disable the capital curve to track overall performance.
🌟 Why Use This Tool?
🔧 Flexible Strategy Creation: Adjust core parameters and create tailored SMA-based strategies.
📈 Performance Proof: Capital tracking acts as real proof of profitability after each trade.
🎯 Immediate TP Execution: No waiting for candle closures; profits lock in as soon as targets are hit.
💹 Comprehensive Performance Insights: Percentage-based and absolute capital tracking with dynamic visualization.
🏦 Clean Visual Indicators: Strategy insights made clear with dynamic labeling and adjustable visuals.
⚠️ Disclaimer:
This script is provided for educational and informational purposes only. Trading financial instruments carries risk, and past performance does not guarantee future results. Always perform your own due diligence before making any trading decisions.
Smart Buy/Sell Signal IndicatorOverview
The Smart Buy/Sell Signal Indicator is a multi-factor trading tool that i ntegrates Supertrend, Bollinger Bands, RSI, ADX, and Moving Averages to generate high-probability buy and sell signals. Unlike simple crossover-based strategies, this indicator leverages multiple layers of confirmation to reduce false signals and improve trade execution accuracy.
This indicator is designed for trend-following traders, scalpers, and swing traders, helping them identify key reversal points and momentum shifts with precise breakout conditions.
How It Works
The Smart Buy/Sell Signal Indicator filters out weak trade signals by combining trend, volatility, momentum, and strength indicators in the following manner:
✅ Supertrend-Based Trend Filtering:
• The script checks if the price is above or below the Supertrend level before confirming a buy or sell signal.
• Buy signals occur below the Supertrend Down level, confirming support.
• Sell signals occur above the Supertrend Up level, confirming resistance.
✅ Bollinger Bands for Overbought & Oversold Conditions:
• Buy signals are confirmed when price touches the Bollinger Lower Band (suggesting oversold conditions).
• Sell signals are confirmed when price touches the Bollinger Upper Band (suggesting overbought conditions).
• This ensures that trades occur at high-probability reversal zones, rather than random price action.
✅ RSI Momentum Confirmation:
• Buy trades trigger when RSI is below 50 (indicating strength building from an oversold region).
• Sell trades trigger when RSI is above 50 (indicating weakness forming in an overbought region).
• This ensures signals are momentum-backed and not counter-trend moves.
✅ ADX Strength Confirmation:
• The script filters signals using the ADX (Average Directional Index) to ensure that only trades with sufficient market strength are executed.
• If the ADX value is below a threshold (default: 15), the signal is ignored to prevent false breakouts in choppy markets.
✅ Confirmation Moving Average (MA) for Trend Validation:
• The script applies an additional confirmation filter using a Moving Average (SMA/EMA).
• Buy signals trigger only when the price is above the MA, aligning with trend direction.
• Sell signals trigger only when the price is below the MA, ensuring alignment with the broader market structure.
✅ Trade Cooldown Mechanism (Minimum Bars Between Signals):
• To avoid frequent signals in sideways markets, a cooldown period is implemented.
• Default: 5 bars between signals (adjustable).
• Prevents rapid consecutive trades, reducing false entries.
Key Features
✔️ Supertrend & Moving Average Confirmation – Ensures trades are taken only in the correct trend direction.
✔️ Bollinger Bands Integration – Helps identify high-probability reversal zones.
✔️ ADX Strength Filtering – Ensures trades are only executed when the market has enough strength.
✔️ Momentum-Based RSI Filtering – Avoids counter-trend trades and confirms directional strength.
✔️ Trade Cooldown Mechanism – Reduces overtrading and noise in sideways markets.
✔️ Webhook Alerts for Automation – Auto-execute trades or receive real-time notifications.
✔️ Customizable Inputs – Adjustable thresholds, EMA/SMA length, ADX filter, cooldown period for flexibility.
✔️ Works Across Multiple Timeframes – Suitable for scalping (5m, 15m), swing trading (1H, 4H), and position trading (Daily).
How to Use
📌 Scalping & Intraday Trading:
• Use on 5m, 15m, or 30m timeframes.
• Look for Bollinger Band touch + RSI confirmation + Supertrend support/resistance validation before entering trades.
📌 Swing Trading:
• Use on 1H or 4H timeframes.
• Enter only when ADX is strong and price aligns with Supertrend direction.
📌 Webhook Automation:
• Set up TradingView Alerts to auto-execute trades via Webhook-compatible platforms.
Why This Combination?
This indicator is not just a simple moving average crossover tool.
It is designed to filter out weak breakouts and only execute trades that have:
✅ Trend confirmation (Supertrend + Moving Average)
✅ Volatility filtering (Bollinger Bands for overbought/oversold confirmation)
✅ Momentum validation (RSI threshold filtering)
✅ Market strength requirement (ADX ensures sufficient momentum)
This multi-layered approach ensures that only the highest-quality setups are executed, improving both win rate and reliability.
Why It’s Worth Using?
🚀 Reduces False Breakouts – Avoids weak breakouts by requiring ADX confirmation.
🚀 Works in All Market Conditions – Trend-following logic for trending markets, volatility-based entries for reversals.
🚀 Customizable to Any Trading Style – Adjustable parameters for trend, momentum, and strength filtering.
🚀 Seamless Webhook Automation – Execute trades automatically with TradingView alerts.
🚀 Ready to trade smarter?
✅ Add the Smart Buy/Sell Signal Indicator to your TradingView chart today! 🎯🔥
Balance Price Range (BPR) IndicatorOverview
The BPR with Directional Momentum-Filtered Breakouts indicator is designed to identify Balanced Price Ranges (BPR) and d etect high-probability breakouts and breakdowns with directional momentum confirmation . By leveraging historical BPR structures, EMA-based momentum filtering , and a trade cooldown mechanism , this script provides a structured approach to identifying potential trading opportunities while reducing false signals.
This invite-only indicator is ideal for traders who seek precise breakout confirmation, reduced noise, and trend-following logic while maintaining flexibility through adjustable parameters.
How It Works
The script follows a multi-step breakout detection process by integrating multiple key technical components:
1. Balanced Price Range (BPR) Detection:
• A Balanced Candle is identified when the price remains within a specific percentage of its range midpoint.
• These BPR zones represent areas of equilibrium , where a breakout or breakdown is likely to occur.
• The script historically tracks BPR levels across the entire chart to monitor price action around key areas.
2. Momentum-Filtered Breakout & Breakdown Logic:
• Bullish Breakout: Occurs when the price breaks above the historical BPR high with bullish momentum.
• Bearish Breakdown: Occurs when the price breaks below the historical BPR low with bearish momentum.
• Momentum Confirmation: Each breakout requires a strong directional move, measured against the Exponential Moving Average (EMA) .
• Only confirmed breakouts are marked, reducing the likelihood of false signals in choppy markets.
3. Candle-Based Background Visualization:
• Grey Background: Represents a Balanced Price Range (BPR), indicating potential breakout zones.
• Green Background: Indicates a Bullish Breakout when the price successfully breaks and holds above the BPR high.
• Red Background: Indicates a Bearish Breakdown when the price drops below the BPR low.
4. Trade Cooldown Mechanism:
• Prevents consecutive signals from triggering too frequently.
• Default cooldown period: 5 bars (adjustable).
• Ensures that trades are not clustered, improving signal quality.
5. EMA for Trend Direction & Confirmation:
• A 20-period EMA (default, adjustable) is used to confirm trade direction.
• Breakouts above the EMA align with uptrend continuation.
• Breakdowns below the EMA align with downtrend momentum.
Key Features
✔️ Historical BPR Detection – Tracks past BPR levels across the entire chart for structured breakout zones.
✔️ Momentum-Based Breakouts – Ensures breakouts are confirmed by directional price movement before generating signals.
✔️ Candle-Based Background Logic – Subtle candle highlights rather than full background fills, for better chart clarity.
✔️ Trade Cooldown Period – Prevents consecutive buy/sell signals within a defined period, improving signal efficiency.
✔️ Dynamic EMA Confirmation – Ensures trades align with the overall trend, reducing counter-trend trades.
✔️ Customizable Inputs – Adjust breakout thresholds, EMA length, and cooldown periods as per trading style.
✔️ Works Across Multiple Timeframes – Can be applied to intraday, swing, and positional trading strategies.
How to Use
1. Look for Balanced Price Ranges ( BPR )
• These zones highlight equilibrium areas where price is likely to break out.
• Grey-shaded candles indicate potential breakout zones.
2. Monitor for Bullish or Bearish Breakouts
• A green candle background signals a bullish breakout above BPR.
• A red candle background signals a bearish breakdown below BPR.
• The EMA filter helps confirm whether the breakout aligns with the prevailing trend.
3. Follow the Cooldown Logic
• After a breakout signal, wait for the cooldown period before another trade is allowed.
• This helps filter out noisy price action and prevents excessive trading.
4. Use Alongside Other Indicators
• Works well with volume analysis, support/resistance levels, and price action strategies.
• Can be combined with other momentum indicators for further trade confirmation.
Why This Combination?
Unlike generic breakout indicators, this script uniquely combines:
• BPR historical structures for defining potential breakout zones.
• Momentum-based breakout filtering using EMA confirmation.
• Trade cooldown logic to avoid excessive trading signals.
• Subtle candle-based highlights instead of cluttered full-background fills.
This structured approach makes the indicator more robust, adaptive, and reliable in different market conditions.
Why It’s Worth Using?
🔹 Avoid False Breakouts: Built-in momentum confirmation prevents weak or fake breakouts.
🔹 Clean Visualization: No excessive overlays—just precise, meaningful background coloring for breakouts.
🔹 Works in Any Market: Use on stocks, crypto, forex, indices, and commodities across different timeframes.
🔹 User-Friendly & Customizable: Fine-tune parameters to match individual trading styles.
⚠️ Note: This is an Invite-Only script. Access is granted to selected users.
✅ If you find it useful, consider incorporating it into your trend-following & breakout trading strategies.
🚀 Optimize your trading with structured breakout detection! 🚀
G-VIDYA | QuantEdgeBIntroducing G-VIDYA by QuantEdgeB
____
🔹 Overview
The G-VIDYA | QuantEdgeB is a dynamic trend-following indicator that enhances market trend detection using Gaussian smoothing and an adaptive Variable Index Dynamic Average (VIDYA). It is designed to reduce noise, improve responsiveness, and adapt to volatility, making it a powerful tool for traders looking to capture long-term trends efficiently.
By integrating ATR-based filtering, the indicator creates a dynamic support and resistance band around VIDYA, allowing for more accurate trend confirmations. Additionally, traders have the option to enable trade labels for clearer visual signals.
This indicator is well-suited for medium to long-term trend traders, combining mathematical precision with market adaptability for robust trading strategies.
_____
🚀 Key Features
1. Gaussian Smoothing → Reduces market noise and smoothens price action.
2. VIDYA Adaptive Calculation → Adjusts dynamically based on market volatility.
3. ATR-Based Filtering → Creates a volatility-driven range around VIDYA.
4. Dynamic Trend Confirmation → Identifies bullish and bearish momentum shifts.
5. Trade Labels (Optional) → Can display Long/Cash labels on chart for better clarity.
6. Customizable Color Modes → Offers multiple visual themes for personalized experience.
7. Automated Alerts → Sends buy/sell alerts for crossover trend changes.
_____
📊 How It Works
1. Gaussian Smoothing is applied to the closing price to remove noise and improve signal clarity.
2. VIDYA Calculation dynamically adjusts to price movements, making it more reactive during high-volatility periods and stable in low-volatility environments.
3. ATR-Based Filtering establishes a dynamic range (Upper & Lower ATR Bands) around VIDYA:
- If price breaks above the upper ATR band, it signals a potential long trend.
- If price breaks below the lower ATR band, it signals a potential short trend.
4. The indicator assigns color-coded candles based on trend direction:
- Bullish Trend → Blue/Green (Uptrend)
- Bearish Trend → Red/Maroon (Downtrend)
5. Labels & Alerts (Optional)
- Users can activate Long/Cash labels to mark buy/sell opportunities.
- Built-in alerts trigger automatic notifications when trend direction changes.
_____
🎨 Visual Representation
- VIDYA Line → A smooth, trend-following line that dynamically adjusts to market conditions.
- Upper & Lower ATR Bands → Establishes a volatility-based corridor around VIDYA.
- Bar Coloring → Candles change color according to the detected trend.
- Long/Short Labels (Optional) → Displays trade entry/exit signals (can be enabled/disabled).
- Alerts → Generates trade notifications based on trend reversals.
______
⚙️ Default Settings
- Gaussian Smoothing
- Length: 4
- Sigma: 2.0
- VIDYA Settings
- VIDYA Length: 46
- Standard Deviation Length: 28
- ATR Settings
- ATR Length: 14
- ATR Multiplier: 1.3
____
💡 Who Should Use It?
✅ Trend Traders → Those who rely on medium-to-long-term trends for trading decisions.
✅ Swing Traders → Ideal for traders who want to capture trend reversals and ride momentum.
✅ Quantitative Analysts → Provides statistically driven smoothing and adaptive trend detection.
✅ Risk-Averse Traders → ATR filtering helps manage market volatility effectively.
_____
Conclusion
The G-VIDYA | QuantEdgeB is an advanced trend-following indicator that combines Gaussian smoothing, adaptive VIDYA filtering, and ATR-based dynamic trend analysis to deliver robust and reliable trade signals.
✅ Key Takeaways
📌 Adaptive & Dynamic: Adjusts to market conditions, making it effective for trend-following strategies.
📌 Noise Reduction: Gaussian smoothing helps filter out short-term fluctuations, improving signal clarity.
📌 Volatility Awareness: ATR-based filtering ensures better handling of market swings and trend reversals.
By blending mathematical precision and quantitative market analysis, G-VIDYA | QuantEdgeB offers a powerful edge in trend trading strategies.
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
VIDYA For-Loop | QuantEdgeB Introducing VIDYA For-Loop by QuantEdgeB
Overview
The VIDYA For-Loop indicator by QuantEdgeB is a dynamic trend-following tool that leverages Variable Index Dynamic Average (VIDYA) along with a rolling loop function to assess trend strength and direction. By utilizing adaptive smoothing and a recursive loop for threshold evaluation, this indicator provides a more responsive and robust signal framework for traders.
______
Key Components & Features
📌 VIDYA (Variable Index Dynamic Average)
- Adaptive Moving Average that adjusts its responsiveness based on market volatility.
- Uses a dynamic smoothing constant based on standard deviations.
- Allows for better trend detection compared to static moving averages.
📌 Loop Function (Rolling Calculation)
- A for-loop algorithm continuously compares VIDYA values over a defined lookback range.
- Measures the number of times price trends higher or lower within the rolling window.
- Generates a momentum-based score that helps quantify trend persistence.
📌 Trend Signal Calculation
- A long signal is triggered when the loop score exceeds the upper threshold.
- A short signal is triggered when the loop score falls below the lower threshold.
- The result is a clear directional bias that adapts to changing market conditions.
______
How It Works in Trading
✅ Detects Trend Strength – By measuring cumulative movements within a window.
✅ Filters Noise – Uses adaptive smoothing to avoid whipsaws.
✅ Dynamic Thresholds – Enables customized entry & exit conditions.
✅ Color-Coded Candles – Provides visual clarity for traders.
______
Visual Representation
Trend Signals:
🔵 Blue Candles – Strong Uptrend
🔴 Red Candles – Strong Downtrend
Thresholds:
📈 Long Threshold – Upper bound for bullish confirmation.
📉 Short Threshold – Lower bound for bearish confirmation.
Labels & Annotations (Optional):
✅ Long & Short Labels can be turned on or off for trade signal clarity.
📊 Display of entry & exit points based on loop calculations.
______
Settings:
VIDYA Length: 2 → Number of bars for VIDYA calculation.
SD Length: 5 → Standard deviation length for VIDYA calculation.
Source: Close → Defines the input data source (Close price).
Start Loop: 1 → Initial lookback period for the loop function.
End Loop: 60 → Maximum lookback range for trend scoring.
Long Threshold: 40 → Upper bound for a long signal.
Short Threshold: 10 → Lower bound for a short signal.
Extra Plots: True → Enables additional moving averages for visualization.
______
Conclusion
The VIDYA For-Loop by QuantEdgeB is a next-gen adaptive trend filter that combines dynamic smoothing with recursive trend evaluation, making it an invaluable tool for traders seeking precision and consistency in their strategies.
🔹 Who should use VIDYA For Loop :
📊 Trend-Following Traders – Helps identify sustained trends.
⚡ Momentum Traders – Captures strong price swings.
🚀 Algorithmic & Systematic Trading – Ideal for automated entries & exits.
🔹 Disclaimer: Past performance is not indicative of future results. No trading strategy can guarantee success in financial markets.
🔹 Strategic Advice: Always backtest, optimize, and align parameters with your trading objectives and risk tolerance before live trading.
Volume Weighted SuperTrend | QuantumResearchQuantumResearch Volume Weighted Supertrend (VWST)
The Volume Adaptive Supertrend (VWST) is a dynamic trend-following tool that enhances traditional Supertrend calculations by incorporating volume-weighted market conditions.
This indicator adapts its trend signals based on volume-adjusted price action, allowing traders to refine their entries and exits with improved responsiveness. 🚀📊
1. Key Features
Volume-Weighted Adaptation: Uses various moving averages (VWMA, EMA, SMA, etc.) to adjust ATR bands based on market activity.
Customizable Trend Sensitivity: Adjusts ATR multipliers separately for bullish and bearish conditions.
Adaptive Supertrend Calculation: Dynamically recalculates trend direction based on volume-enhanced price movements.
Multi-Timeframe Compatibility: Can be applied across different assets and timeframes for versatile market analysis.
Visual Clarity & Alerts: Color-coded trend signals, shaded areas, and real-time alerts for trend shifts.
2. How It Works
A. Volume-Weighted Price Calculation
The indicator applies a user-selected moving average (EMA, VWMA, SMA, etc.) to price and volume data
This ensures that trend calculations are more reactive to strong volume surges and less influenced by low-liquidity fluctuations.
B. Adaptive ATR-Based Trend Filtering
ATR bands are dynamically adjusted based on volume-weighted price action.
Separate ATR multipliers for bullish and bearish conditions allow for refined sensitivity control.
The Supertrend line shifts dynamically to reflect these conditions.
C. Signal Generation
Bullish Trend: The price closes above the adaptive Supertrend line. ✅
Bearish Trend: The price closes below the adaptive Supertrend line. ❌
Long Entry: Triggered when trend direction switches from bearish to bullish.
Short Entry: Triggered when trend direction switches from bullish to bearish.
3. Visual Representation
A. Color-Coded Trend Signals
Green Trend Line: Indicates a bullish trend.
Red Trend Line: Indicates a bearish trend.
Gray Trend Line: Neutral phase.
B. Dynamic Background Fill
Shaded Green Areas: Confirmed uptrend zones.
Shaded Red Areas: Confirmed downtrend zones.
4. Customization & Parameters
ATR Length & Multipliers: Adjust trend sensitivity with separate multipliers for bullish and bearish phases.
Moving Average Type: Select from VWMA, EMA, SMA, HMA, WMA, DEMA, TEMA for volume-weighted calculations.
Volume Length: Modify how far back volume data is used to refine trend calculations.
Color Themes: Choose from 8 distinct color modes for clear visual representation.
5. Backtest & Market Applications
Backtest Summary :
The Volume Adaptive Supertrend (VWST) has been tested across multiple assets, including:
BTC/USD
ETH/USD
SOL/USD
📊 Key Observations:
Responsive Trend Detection: The volume-weighted adaptation helps minimize lag in trend shifts.
Versatile Across Market Conditions: Works well in both trending and consolidating phases with appropriate settings.
Customizable Risk Control: ATR multipliers can be adjusted to fine-tune signal sensitivity.
⚠️ Disclaimer: This indicator is designed to complement existing analysis techniques . Market conditions vary, and no tool can guarantee future performance. Always use proper risk management when trading.
6. Final Thoughts
The Volume Weighted Supertrend (VWST) enhances traditional Supertrend indicators by incorporating volume-adjusted trend detection.
Its dynamic ATR-based trend filtering ensures greater responsiveness to real market conditions.
Suitable for trend traders, breakout traders, and risk-conscious investors looking for volume-driven confirmations.
Use it alongside other confluences to build a robust trading system.
Important Reminder: No single indicator guarantees profitability. Always validate signals with additional market context. 📊
Bar Color - Moving Average Convergence Divergence [nsen]The Pine Script you've provided creates a custom indicator that utilizes the MACD (Moving Average Convergence Divergence) and displays various outputs, such as bar color changes based on MACD signals, and a table of data from multiple timeframes. Here's a breakdown of how the script works:
1. Basic Settings (Input)
• The script defines several user-configurable parameters, such as the MACD values, bar colors, the length of the EMA (Exponential Moving Average) periods, and signal smoothing.
• Users can also choose timeframes to analyze the MACD values, like 5 minutes, 15 minutes, 1 hour, 4 hours, and 1 day.
2. MACD Calculation
• It uses the EMA of the close price to calculate the MACD value, with fast_length and slow_length representing the fast and slow periods. The signal_length is used to calculate the Signal Line.
• The MACD value is the difference between the fast and slow EMA, and the Signal Line is the EMA of the MACD.
• The Histogram is the difference between the MACD and the Signal Line.
3. Plotting the Histogram
• The Histogram values are plotted with colors that change based on the value. If the Histogram is positive (rising), it is colored differently than if it's negative (falling). The colors are determined by the user inputs, for example, green for bullish (positive) signals and red for bearish (negative) signals.
4. Bar Coloring
• The bar color changes based on the MACD's bullish or bearish signal. If the MACD is bullish (MACD > Signal), the bar color will change to the color defined for bullish signals, and if it's bearish (MACD < Signal), the bar color will change to the color defined for bearish signals.
5. Multi-Timeframe Data Table
• The script includes a table displaying the MACD trend for different timeframes (e.g., 5m, 15m, 1h, 4h, 1d).
• Each timeframe will show a colored indicator: green (🟩) for bullish and red (🟥) for bearish, with the background color changing based on the trend.
6. Alerts
• The script has alert conditions to notify the user when the MACD shows a bullish or bearish entry:
• Bullish Entry: When the MACD turns bullish (crosses above the Signal Line).
• Bearish Entry: When the MACD turns bearish (crosses below the Signal Line).
• Alerts are triggered with custom messages such as "🟩 MACD Bullish Entry" and "🟥 MACD Bearish Entry."
Key Features:
• Customizable Inputs: Users can adjust the MACD settings, histogram colors, and timeframe options.
• Visual Feedback: The color changes of the histogram and bars provide instant visual cues for bullish or bearish trends.
• Multi-Timeframe Analysis: The table shows the MACD trend across multiple timeframes, helping traders monitor trends in different timeframes.
• Alert Conditions: Alerts notify users when key MACD crossovers occur.
3x Supertrend + EMA200 Signal Buy/Sell [nsen]The indicator uses signals from three Supertrend lines to determine whether to trade Buy or Sell, with the assistance of a moving average for bias.
Buy/Sell signals are generated when the conditions are met:
A Buy signal is triggered when all three Supertrend lines indicate a bullish trend and are above the EMA.
A Sell signal is triggered when all three Supertrend lines indicate a bearish trend and are below the EMA.
Indicator ใช้สัญญาณจาก Supertrend ทั้งหมด 3 เส้น โดยใช้ในการกำหนดว่าจะเลือกเทรด Buy หรือ Sell โดยการใช้ moveing average เข้ามาช่วยในการ bias
แสดงสัญญาณ Buy/Sell เมื่อเข้าเงื่อนไข
- Supertrend ทั้ง 3 เส้นเป็นสัญญาณ Bullish และอยู่เหนือเส้น EMA จะเปิดสัญญาณ Buy
- Supertrend ทั้ง 3 เส้นเป็นสัญญาณ Bearish และอยู่ใต้เส้น EMA จะเปิดสัญญาณ Sell
Multi-Timeframe VWAP DashboardMulti-Timeframe VWAP Dashboard with Advanced Customization**
Unlock the power of **Volume-Weighted Average Price (VWAP)** across multiple timeframes with this highly customizable and feature-rich Pine Script. Designed for traders who demand precision and flexibility, this script provides a **comprehensive VWAP dashboard** that adapts to your trading style and strategy. Whether you're a day trader, swing trader, or long-term investor, this tool offers unparalleled insights into market trends and price levels.
---
### **Key Features:**
1. **Multi-Timeframe VWAP Calculation:**
- Calculate VWAP across **12-minute, 48-minute, 96-minute, 192-minute, daily, weekly, monthly, and even yearly timeframes**.
- Supports **custom timeframes** for tailored analysis.
2. **Price Source Selection:**
- Choose from multiple price sources for VWAP calculation, including **Open, High, Low, Close, HL2, HLC3, HLCC4, and All**.
- Optimize VWAP for **uptrends and downtrends** by selecting the most relevant price source.
3. **Customizable Labels:**
- Add **dynamic labels** to each VWAP line for quick reference.
- Customize label **colors, sizes, and offsets** to suit your chart setup.
- Display **price values** and **session types** (e.g., "12 Min", "Daily", "Weekly") directly on the chart.
4. **Advanced Session Detection:**
- Automatically detect new sessions for **intraday, daily, weekly, monthly, and yearly timeframes**.
- Ensures accurate VWAP calculations for each session.
5. **Plot Visibility Control:**
- Toggle the visibility of individual VWAP plots to **reduce clutter** and focus on the most relevant timeframes.
- Includes options for **short-term, medium-term, and long-term VWAPs**.
6. **Comprehensive Timeframe Coverage:**
- From **12-minute intervals** to **12-month intervals**, this script covers all major timeframes.
- Perfect for traders who analyze markets across multiple horizons.
7. **User-Friendly Inputs:**
- Intuitive input options for **timeframes, colors, labels, and offsets**.
- Easily customize the script to match your trading preferences.
8. **Dynamic Label Positioning:**
- Labels adjust automatically based on price movements and session changes.
- Choose from **multiple offset options** to position labels precisely.
9. **Miscellaneous Customization:**
- Adjust **text color, label size, and price display settings**.
- Enable or disable **price values** and **session type labels** for a cleaner chart.
---
### **Why Use This Script?**
- **Versatility:** Suitable for all trading styles, including scalping, day trading, swing trading, and long-term investing.
- **Precision:** Accurate VWAP calculations across multiple timeframes ensure you never miss key price levels.
- **Customization:** Tailor the script to your specific needs with a wide range of input options.
- **Clarity:** Dynamic labels and customizable plots make it easy to interpret market trends at a glance.
---
### **How It Works:**
1. **Select Your Price Source:**
- Choose the price source (e.g., Open, Close, HL2) for VWAP calculation based on your trading strategy.
2. **Choose Timeframes:**
- Define the timeframes for VWAP calculation, from intraday to yearly intervals.
3. **Customize Labels and Plots:**
- Enable or disable labels and plots for each timeframe.
- Adjust colors, sizes, and offsets to match your chart setup.
4. **Analyze Market Trends:**
- Use the VWAP lines and labels to identify **support/resistance levels**, **trend direction**, and **potential reversal points**.
5. **Adapt to Market Conditions:**
- Switch between timeframes and price sources to adapt to changing market conditions.
---
### **Ideal For:**
- **Day Traders:** Use short-term VWAPs (e.g., 12-minute, 48-minute) to identify intraday trends and key levels.
- **Swing Traders:** Leverage medium-term VWAPs (e.g., 96-minute, daily) to spot swing opportunities.
- **Long-Term Investors:** Analyze long-term VWAPs (e.g., weekly, monthly) to gauge overall market direction.
---
### **How to Get Started:**
1. Add the script to your TradingView chart.
2. Customize the inputs to match your trading preferences.
3. Analyze the VWAP lines and labels to make informed trading decisions.
---
### **Pro Tip:**
Combine this script with other technical indicators (e.g., moving averages, RSI) for a **holistic view** of the market. Use the VWAP lines as dynamic support/resistance levels to enhance your entry and exit strategies.
This script is a must-have tool for traders who value precision, flexibility, and clarity. Share it with your audience to help them elevate their trading game. Whether they're beginners or seasoned professionals, this **Multi-Timeframe VWAP Dashboard** will become an essential part of their toolkit.
3 Period EMA Cloud [deepakks444]3 Period EMA Cloud Indicator
The 3EMA Cloud Indicator uses three key EMAs to capture trends and display the market's direction through a color-coded cloud. The EMAs used in this indicator are:
High EMA: The EMA of the high prices over a specified period.
Low EMA: The EMA of the low prices over a specified period.
Additional EMA: An extra EMA, typically based on the close prices, that serves as an independent confirmation tool for trend direction.
Indicator Logic and Cloud Visualization:
The cloud is drawn between the high EMA and the low EMA, and its color changes based on the price's relationship to the high EMA, low EMA, and additional EMA.
Cloud Color:
Green Cloud: When the price is above both the high EMA and the low EMA, it signals a bullish trend, and the cloud turns green.
Additionally, if the close price is above the Additional EMA, this further confirms the bullish trend.
Red Cloud: When the price is below both the high EMA and the low EMA, it signals a bearish trend, and the cloud turns red.
Additionally, if the close price is below the Additional EMA, this further confirms the bearish trend.
How the Indicator Captures Trends:
Bullish Market:
Price above both high EMA and low EMA: This indicates that the market is in an uptrend, and the cloud will turn green.
Confirmation with Additional EMA: When the close price is above the Additional EMA, this reinforces the bullish market sentiment.
The green cloud is the visual confirmation of a bullish trend, guiding traders to consider long positions.
Bearish Market:
Price below both high EMA and low EMA: This indicates that the market is in a downtrend, and the cloud will turn red.
Confirmation with Additional EMA: When the close price is below the Additional EMA, this confirms the bearish trend.
The red cloud is the visual confirmation of a bearish trend, guiding traders to consider short positions.
Key Components:
High EMA: Calculates the EMA based on high prices, which helps to determine the upper boundary of the cloud.
Low EMA: Calculates the EMA based on low prices, which helps to determine the lower boundary of the cloud.
Additional EMA: An extra EMA (often of the close prices) that acts as an independent trend confirmation. This is used to validate the market direction and filter out potential false signals.
Use Cases for the 3EMA Cloud:
Trend Identification:
The cloud helps to visually identify the prevailing trend. A green cloud suggests a bullish trend, while a red cloud indicates a bearish trend.
Confirmation Tool:
The Additional EMA serves as an additional confirmation tool. A close price above the Additional EMA signals a strong bullish trend, while a close below it signals a strong bearish trend.
Market Reversals:
When the price moves from above both the high EMA and low EMA to below them (or vice versa), this could indicate a trend reversal. Pay attention to cloud color changes and the movement of the close price relative to the Additional EMA for potential reversal signals.
Entry and Exit Signals:
Long Entry (Buy Signal):
Price is above both the high EMA and low EMA, confirming a bullish trend.
Close price is above the Additional EMA, confirming the bullish trend.
Enter a long position when the cloud turns green and the confirmation by the Additional EMA is in place.
Short Entry (Sell Signal):
Price is below both the high EMA and low EMA, confirming a bearish trend.
Close price is below the Additional EMA, confirming the bearish trend.
Enter a short position when the cloud turns red and the confirmation by the Additional EMA is in place.
Exit Signal:
Exit Long Position when the price moves below both the high EMA and low EMA (signaling a potential trend reversal), or if the close price falls below the Additional EMA.
Exit Short Position when the price moves above both the high EMA and low EMA (signaling a potential trend reversal), or if the close price rises above the Additional EMA.
How This Indicator Improves Trend Following:
The 3EMA Cloud indicator enhances trend-following strategies by:
Visual Clarity: The color-coded cloud provides immediate visual feedback on whether the market is in a bullish or bearish phase.
Price Confirmation: The indicator uses the relationship of price to three EMAs (high, low, and additional) to confirm trend strength, which can help reduce false signals.
Flexibility: The Additional EMA adds flexibility by serving as an independent confirmation tool for trend direction, ensuring that you don’t enter trades based on weak or choppy market conditions.
This 3EMA Cloud indicator is designed to help traders follow and confirm trends with precision, improving their ability to identify strong market movements and avoid getting caught in sideways or choppy conditions. It provides a clear visual cue for potential buy and sell opportunities based on price relative to multiple EMAs, ensuring that trend-following strategies are robust and effective.
Disclaimer:
This script and its associated indicators are for educational purposes only. The information provided does not constitute financial advice or a recommendation to buy or sell any financial instruments. Users are advised to conduct their own research and consult with a professional financial advisor before making any trading decisions. Trading and investing involve risk, and users should be aware of the risks involved in financial markets.
[GYTS] Filters ToolkitFilters Toolkit indicator
🌸 Part of GoemonYae Trading System (GYTS) 🌸
🌸 --------- 1. INTRODUCTION --------- 🌸
💮 Overview
The GYTS Filters Toolkit indicator is an advanced, interactive interface built atop the high‐performance, curated functions provided by the FiltersToolkit library . It allows traders to experiment with different combinations of filtering methods -— from smoothing low-pass filters to aggressive detrenders. With this toolkit, you can build custom indicators tailored to your specific trading strategy, whether you're looking for trend following, mean reversion, or cycle identification approaches.
🌸 --------- 2. FILTER METHODS AND TYPES --------- 🌸
💮 Filter categories
The available filters fall into four main categories, each marked with a distinct symbol:
🌗 Low Pass Filters (Smoothers)
These filters attenuate high-frequency components (noise) while allowing low-frequency components (trends) to pass through. Examples include:
Ultimate Smoother
Super Smoother (2-pole and 3-pole variants)
MESA Adaptive Moving Average (MAMA) and Following Adaptive Moving Average (FAMA)
BiQuad Low Pass Filter
ADXvma (Adaptive Directional Volatility Moving Average)
A2RMA (Adaptive Autonomous Recursive Moving Average)
Low pass filters are displayed on the price chart by default, as they follow the overall price movement. If they are combined with a high-pass or bandpass filter, they will be displayed in the subgraph.
🌓 High Pass Filters (Detrenders)
These filters do the opposite of low pass filters - they remove low-frequency components (trends) while allowing high-frequency components to pass through. Examples include:
Butterworth High Pass Filter
BiQuad High Pass Filter
High pass filters are displayed as oscillators in the subgraph below the price chart, as they fluctuate around a zero line.
🌑 Band Pass Filters (Cycle Isolators)
These filters combine aspects of both low and high pass filters, isolating specific frequency ranges while attenuating both higher and lower frequencies. Examples include:
Ehlers Bandpass Filter
Cyber Cycle
Relative Vigor Index (RVI)
BiQuad Bandpass Filter
Band pass filters are also displayed as oscillators in a separate panel.
🔮 Predictive Filter
Voss Predictive Filter: A special filter that attempts to predict future values of band-limited signals (only to be used as post-filter). Keep its prediction horizon short (1–3 bars) for reasonable accuracy.
Note that the the library contains elaborate documentation and source material of each filter.
🌸 --------- 3. INDICATOR FEATURES --------- 🌸
💮 Multi-filter configuration
One of the most powerful aspects of this indicator is the ability to configure multiple filters. compare them and observe their combined effects. There are four primary filters, each with its own parameter settings.
💮 Post-filtering
Process a filter’s output through an additional filter by enabling the post-filter option. This creates a filter chain where the output of one filter becomes the input to another. Some powerful combinations include:
Ultimate Smoother → MAMA: Creates an adaptive smoothing effect that responds well to market changes, good for trend-following strategies
Butterworth → Super Smoother → Butterworth: Produces a well-behaved oscillator with minimal phase distortion, John Ehlers also calls a "roofing filter". Great for identifying overbought/oversold conditions with minimal lag.
A bandpass filter → Voss Prediction filter: Attempts to predict future movements of cyclical components, handy to find peaks and troughs of the market cycle.
💮 Aggregate filters
Arguably the coolest feature: aggregating filters allow you to combine multiple filters with different weights. Important notes about aggregation:
You can only aggregate filters that appear on the same chart (price chart or oscillator panel).
The weights are automatically normalised, so only their relative values matter
Setting a weight to 0 (zero) excludes that filter from the aggregation
Filters don't need to be visibly displayed to be included in aggregation
💮 Rich visualisation & alerts
The indicator intelligently determines whether a filter is displayed on the price chart or in the subgraph (as an oscillator) based on its characteristics.
Dynamic colour palettes, adjustable line widths, transparency, and custom fill between any of enabled filters or between oscillators and the zero-line.
A clear legend showing which filters are active and how they're configured
Alerts for direction changes and crossovers of all filters
🌸 --------- 4. ACKNOWLEDGEMENTS --------- 🌸
This toolkit builds on the work of numerous pioneers in technical analysis and digital signal processing:
John Ehlers, whose groundbreaking research forms the foundation of many filters.
Robert Bristow-Johnson for the BiQuad filter formulations.
The TradingView community, especially @The_Peaceful_Lizard, @alexgrover, and others mentioned in the code of the library.
Everyone who has provided feedback, testing and support!