Smart Money Cheat Code StrategyOrderblock scalps based strategy! BB is used to detects liquidity sweep with volume spikes. Confirmation for frequent trades.
Wave Analysis
Custom WT Price Signals with MomentumThis script provides modified signals fine-tuned for QQQ on the daily timeframe. It combines WaveTrend crossovers with momentum confirmation and bull/bear trend filtering.
• Yellow: Potential buy signal
• Orange: Accumulation/load signal (optional)
• Purple: Sell signal
Note:
• Some buy signals can be misleading. It’s recommended to use them alongside other indicators.
• Sell signals tend to be more reliable. However, if the fast and slow WaveTrend lines are nearly parallel, false signals may occur.
• While this script is tuned for QQQ daily data, I did not use automated parameter search to avoid overfitting. Recent backtests have shown promising results.
Enjoy and use responsibly!
EMA CCI SSL Buy Sell Signal [THANHCONG]📘 Full Description
🔍 Overview
This indicator combines three key technical elements to generate trend-based buy/sell signals:
EMA (Exponential Moving Averages), CCI (Commodity Channel Index), and the SSL Channel.
📊 Key Features:
✅ Multi-timeframe EMA alignment (8, 21, 89) to confirm trend direction
✅ CCI to detect short-term momentum shifts
✅ Higher Time Frame (HTF) SSL Channel integration for trend filtering
✅ Automatic HTF detection (Auto Mode) or manual timeframe selection
✅ On-chart visual signals with labels and clear color cues
✅ Signal info panel displaying real-time profit/loss percentage since entry
⚙️ Signal Logic
Buy Signal:
EMA 8 > EMA 21 > EMA 89 (strong uptrend)
Turbo CCI > 50 (bullish momentum)
Price crosses above HTF SSL upper band
Sell Signal:
EMA 8 < EMA 21 < EMA 89 (strong downtrend)
Turbo CCI < -50 (bearish momentum)
Price crosses below HTF SSL lower band
💡 Highlights:
Early signals: Displayed immediately once conditions are met (no candle close required)
Flexible HTF filtering (Auto/Manual option)
Optimized for use on 15-minute to 4-hour or daily charts
📌 How to Use:
Apply the indicator on charts from 15-minute timeframe and above
Watch for "Buy Signal" or "Sell Signal" labels to appear on the chart
Combine with your own analysis and trade management strategy
Optional: backtest on historical data for confirmation
⚠️ Disclaimer (as per TradingView policy):
This tool does not constitute financial advice or guarantee profits.
Users should test thoroughly and manage risk appropriately.
Past performance does not guarantee future results.
This script is original and manually coded, inspired by well-known methods, without direct copying from any other public or private source.
✅ Author & License:
Author: @ThanhCong_
License: Mozilla Public License 2.0
🙏 Thank you for using this indicator!
If you find it helpful, feel free to leave a comment, share it with others, or follow me for future updates and tools.
Happy and safe trading! 🚀📈..
VWAP Support/Resistance Strategy - EnhancedVWAP Enhanced Strategy for Gold (15-Min Precision Trading)
Hello Traders,
This strategy is built for traders who demand precision and consistency in their gold trades. Combining the power of VWAP (Volume Weighted Average Price) with price action, liquidity zones, and supply-demand imbalances, this setup helps identify high-probability trade entries with minimal noise.
📌 Key Features:
Anchored VWAP for intraday trend bias
Real-time Supply & Demand Zones
Liquidity sweep and Fair Value Gap detection
Clean Buy/Sell signals only at premium setups
Optimized for 15-minute charts
🎯 Ideal for:
Traders who take 1–2 quality trades per day, aiming for 2x–3x reward-to-risk setups with tight stop losses and clearly defined targets.
🔒 Risk Management Integrated
Follow the smart money flow with calculated risk—no overtrading, just disciplined execution.
RSI and Trend Signals - MaximusDesigned to signal a warning when RSI crosses a threshold (red/green dots) implying overheated (pay attention).
Signal a red/green triangle when RSI crosses a threshold to imply sell/buy (you may want to take profit or make an entry).
Trend tool is for analysis to minimize false signals on RSI. Eg, stay in or out of a trend even if there are signals).
Works best for swing trading such as 3d, 1w, 2w, and 1M. Can be used on smaller time frames though more noise.
NFA - use as a 2nd opinion
Parsifal.Swing.CompositeThe Parsifal.Swing.Composite indicator is a module within the Parsifal Swing Suite, which includes a set of swing indicators such as:
• Parsifal Swing TrendScore
• Parsifal Swing Composite
• Parsifal Swing RSI
• Parsifal Swing Flow
Each module serves as an indicator facilitating judgment of the current swing state in the underlying market.
________________________________________
Background
Market movements typically follow a time-varying trend channel within which prices oscillate. These oscillations—or swings—within the trend are inherently tradable.
They can be approached:
• One-sidedly, aligning with the trend (generally safer), or
• Two-sidedly, aiming to profit from mean reversions as well.
Note: Mean reversions in strong trends often manifest as sideways consolidations, making one-sided trades more stable.
________________________________________
The Parsifal Swing Suite
The modules aim to provide additional insights into the swing state within a trend and offer various trigger points to assist with entry decisions.
All modules in the suite act as weak oscillators, meaning they fluctuate within a range but are not bounded like true oscillators (e.g., RSI, which is constrained between 0% and 100%).
________________________________________
The Parsifal.Swing.Composite – Specifics
This module consolidates multiple insights into price swing behavior, synthesizing them into an indicator reflecting the current swing state.
It employs layered bagging and smoothing operations based on standard price inputs (OHLC) and classical technical indicators. The module integrates several slightly different sub-modules.
Process overview:
1. Per candle/bin, sub-modules collect directional signals (up/down), with each signal casting a vote.
2. These votes are aggregated via majority counting (bagging) into a single bin vote.
3. Bin votes are then smoothed, typically with short-term EMAs, to create a sub-module vote.
4. These sub-module votes are aggregated and smoothed again to generate the final module vote.
The final vote is a score indicating the module’s assessment of the current swing state. While it fluctuates in a range, it's not a true oscillator, as most inputs are normalized via Z-scores (value divided by standard deviation over a period).
• Historically high or low values correspond to high or low quantiles, suggesting potential overbought or oversold conditions.
• The chart displays a fast (orange) and slow (white) curve against a solid background state.
• Extreme values followed by curve reversals may signal upcoming mean-reversions.
Background Value:
• Value > 0: shaded green → bullish mode
• Value < 0: shaded red → bearish mode
• The absolute value indicates confidence in the mode.
________________________________________
How to Use the Parsifal.Swing.Composite
Several change points in the indicator serve as potential entry triggers:
• Fast Trigger: change in slope of the fast curve
• Trigger: fast line crossing the slow line or change in the slow curve’s slope
• Slow Trigger: change in sign of the background value
These are illustrated in the introductory chart.
Additionally, market highs and lows aligned with swing values may act as pivot points, support, or resistance levels for evolving price processes.
________________________________________
As always, supplement this indicator with other tools and market information. While it provides valuable insights and potential entry points, it does not predict future prices. It reflects recent tendencies and should be used judiciously.
________________________________________
Extensions
All modules in the Parsifal Swing Suite are simple yet adaptable, whether used individually or in combination.
Customization options:
• Weights in EMAs for smoothing are adjustable
• Bin vote aggregation (currently via sum-of-experts) can be modified
• Alternative weighting schemes can be tested
Advanced options:
• Bagging weights may be historical, informational, or relevance-based
• Selection algorithms (e.g., ID3, C4.5, CAT) could replace the current bagging approach
• EMAs may be generalized into expectations relative to relevance-based probability
• Negative weights (akin to wavelet transforms) can be incorporated
KogumaTaisa IndicatorSince TradingView's free plan allows only two indicators to be used at the same time, we have created a set of several commonly used indicators.
Moving Avarage : SMA, EMA, SMMA(RMA), WMA, VWMA
Blinger Band
Pivots
ZigZag
IchimokuKinkohyo(Ichimoku Cloud)
HeikinAshi / Smoothed HeikinAshi
ABC Trading ConceptThe ABC Trading Concept indicator analyzes the market through waves, impulses, and trends, helping identify key reversal and trend-change points. It automatically detects waves A, B, and C, along with stop-loss and take-profit levels. A reliable tool to enhance the accuracy and efficiency of your trading.
Key Features of the Indicator:
1. Wave and Trend Identification:
- Automatic detection of waves based on moving average (MA) crossings and ATR indicator values.
- Filtering out false signals by considering market movement ranges.
2. Trend Analysis:
- Determination of trend directions (uptrend or downtrend).
- Setting trend change points (g-points) and tracking their breakout to confirm trend reversals.
3. Impulses and Corrections:
- Automatic division of trend movements into impulses and corrections.
- Calculation of dynamic and fixed extremums for precise market structure tracking.
4. Reversal Points:
- Establishing the reversal point level within the range of a completed correction.
- Flexible settings to prevent the appearance of overly weak points.
5. Waves A, B, and C:
- Identification of wave A when the correction breaks the reversal point.
- Identification of wave B considering counter-trends or alternative parameters.
6. Correction Boost:
- Calculation of correction boosts to determine their significance.
- Automatic update of reversal points based on boosted corrections.
7. Vic Sperandeo’s Trendline:
- Construction of a trendline between the trend’s fixed extremum and the last correction’s extremum.
- Utilizing the Vic line as an additional condition for forming waves A and B.
8. Stop-Loss and Take-Profit Levels:
- Upon the appearance of a new trend, the indicator automatically plots potential stop-loss and take-profit levels.
- Levels are calculated based on the extremums of wave A or wave B (settable in the indicator’s input settings).
Advantages of Using the Indicator:
- Enhances the accuracy of market structure analysis.
- Reduces the impact of false signals by filtering market noise.
- Offers flexible parameter settings to adapt to your trading style.
- Clearly displays entry and exit points on the chart.
The ABC Trading Concept is ideal for both beginner and professional traders looking to improve their trading by leveraging clear market structures and key analysis points.
Additional Information:
For optimal performance, the indicator requires the user to input key parameters, including moving average lengths, ATR coefficient for wave identification, and levels for reversal points and correction boosts. All settings can be adjusted to fit your trading preferences.
Elliott Wave Noise FilterElliott Wave Noise Filter
Overview
The Elliott Wave Noise Filter is a specialized indicator for TradingView, designed to solve one of the biggest challenges in Elliott Wave analysis on lower timeframes: the identification of market noise. By combining multiple advanced filtering techniques, this indicator helps distinguish meaningful price action from random fluctuations.
The Problem
On lower timeframes—especially below 15 minutes—Elliott Wave analysis is significantly impacted by excessive market noise. This noise can lead to misinterpretation of wave structures, making it difficult to execute reliable trading decisions.
The Solution
The Elliott Wave Noise Filter utilizes four powerful methods to detect and filter noise:
ATR-Based Volatility Analysis: Identifies price movements too small to be structurally meaningful
Volume Confirmation: Filters out price moves that occur with insufficient volume
Trend Strength Measurement (ADX): Detects periods of weak trend activity, where noise tends to dominate
Fractal Pattern Recognition: Marks significant turning points that could be relevant for Elliott Wave analysis
Features
Visual Indicators
Background Coloring: Red indicates noise; green signifies a clear signal
Hull Moving Average: Smooths price action and highlights the prevailing trend
Fractal Markers: Triangles mark significant highs and lows
Status Panel: Displays current noise status and ADX value
Customization Options
ATR Period: Adjust the lookback period for ATR calculations
Noise Threshold: Defines the percentage of ATR below which a movement is considered noise
Volume Filter: Can be enabled or disabled
Volume Threshold: Sets the ratio to average volume for a move to be deemed significant
Hull MA Display and Length: Configure the moving average settings
ADX Parameters: Adjust trend strength sensitivity
Use Cases
For Elliott Wave Analysis
Eliminate noise to identify cleaner wave structures
Use fractal markers as potential wave endpoints
Reference the Hull MA for determining the broader trend
For General Trading
Identify high-noise periods to avoid low-quality setups
Spot clearer market phases for better entries
Assess price action quality through visual cues
Multi-Timeframe Approach
Apply the indicator across different timeframes for a comprehensive view
Prefer trading when both higher and lower timeframes align with consistent signals
Optimal Settings
For Very Short Timeframes (1–5 minutes)
Higher Noise Threshold (0.4–0.5)
Longer ATR Period (20–30)
Higher Volume Threshold (1.0–1.2)
For Medium Timeframes (15–60 minutes)
Medium Noise Threshold (0.2–0.3)
Standard ATR Period (14)
Standard Volume Threshold (0.8)
For Higher Timeframes (4h and above)
Lower Noise Threshold (0.1–0.2)
Shorter ATR Period (10)
Lower Volume Threshold (0.6–0.7)
Conclusion
The Elliott Wave Noise Filter is an essential tool for any Elliott Wave analyst or trader working on lower timeframes. By reducing noise and emphasizing significant market movements, it enables more precise analysis and potentially more profitable trading decisions.
Note: As with any technical indicator, the Elliott Wave Noise Filter should be used as part of a broader trading strategy and not as a standalone signal for trade execution.
【SY】AI量化指标Description:
This is a trend-following quantitative trading strategy that combines Supertrend, multiple EMAs, and MACD indicators to identify optimal entry and exit points. It uses the 88-period SMA as a major trend filter and a 15-period EMA as a noise filter to reduce false signals. Entry signals are generated when price and trend indicators align for bullish or bearish momentum.
Stop-loss is dynamically set using Supertrend, and trailing stop-loss protects profits. MACD signal crosses provide additional take-profit alerts. The strategy supports configurable parameters for MACD cycles, trailing stops, and position sizing, allowing users to tailor risk and performance.
Suitable for swing trading on mid to long-term timeframes across various markets including crypto, stocks, and futures. Designed to reduce noise and capture medium-term trends effectively while managing risk within sustainable levels.
SSS (Smati Sati Swing) v0.2SSS (Smati Sati Swing) v0.2 – อินดิเคเตอร์เทรดสั้นที่ออกแบบมาเพื่อเทรดเดอร์ที่ต้องการ “สติ” บนความผันผวน
🔹 EMA89 + สีบอกเทรนด์แบบ Real-time
แสดงเส้น EMA89 พร้อมเปลี่ยนสีตามสถานะเทรนด์ เพื่อให้เข้าใจภาพรวมได้ชัดเจน
🔹 ปัก Label Candlestick พิเศษ (Doji / Hammer)
ช่วยระบุจุดกลับตัวหรือความลังเลของตลาดแบบอัตโนมัติ
🔹 แสดงกล่อง Session (Asia / London / USA)
วาดกล่องช่วงเวลา Session แบบ Real-time ไม่ต้องรอ Session จบ
เพื่อดูพฤติกรรมราคาตามเวลาที่มี Volume สูง
🔹 Dashboard Multi-Timeframe
ดูสถานะเทรนด์ (Uptrend / Sideway / Downtrend)
ของแต่ละ TF ได้ในที่เดียว – ครอบคลุม TF: 1m, 5m, 15m, 30m, 1h, 4h
🔹 แสดง Lot Size & Margin Size แนะนำ
เพียงกรอกขนาดพอร์ต ระบบจะแสดงคำแนะนำ
ถ้าเลือก "Crypto" จะคำนวณ Margin ประมาณ 5%
ถ้าเลือก "FX" จะคำนวณ Lot Size โดยอิงจากพอร์ต $10,000 = 1 Lot
สามารถเปิด/ปิดการแสดงผลได้ตามต้องการ
SSS (Smati Sati Swing) v0.2 – A short-term trading indicator that brings mindfulness to the chaos.
🔹 EMA89 + Real-time Trend Color
Displays EMA89 with color-coded logic to help you instantly see trend direction.
🔹 Special Candlestick Labels (Doji / Hammer)
Automatically highlights potential reversal or indecision candles.
🔹 Real-Time Session Boxes (Asia / London / USA)
Visually shows session ranges live as they form — no delay or waiting for session to end.
Perfect for spotting behavior during high-volume market hours.
🔹 Multi-Timeframe Trend Dashboard
Instantly check trend status (Uptrend / Sideway / Downtrend)
across multiple timeframes: 1m, 5m, 15m, 30m, 1h, 4h – all in one place.
🔹 Lot Size & Margin Size Suggestions
Enter your account size and the system will suggest:
For Crypto: estimated Margin (5% of your balance)
For FX: suggested Lot Size (based on $10,000 = 1 Lot)
Toggle display on/off as needed.
CF Custom Cycle Marker🔁 CF Custom Cycle Marker
The CF Custom Cycle Marker is a lightweight visual tool that lets you define and explore your own market cycles. This indicator gives you full control to place cycle low markers and overlay custom sine waves — helping you visualize market timing based on your strategy.
What it does:
📍 Marks custom cycle lows to define cycle turning points
🌊 Plots customizable sine waves between those lows
🧭 Lets you choose your own cycle spacing (bars between points)
✨ Includes clean toggles for icons, waves, background shading, and even a camel logo 🐪
🎨 Personalize your chart with color, width, line style, and fill opacity
⚠️ Note: This is a manual/visual cycle tool. For real-time cycle low detection based on price action, use the full CF Cycle Trading Indicator.
Tradecademy CandlesThe script highlights high-volume candles.
Upward candles with significantly increased volume = green
Upward candles with moderately increased volume = blue
Downward candles with significantly increased volume = red
Downward candles with moderately increased volume = pink
IU Mean Reversion SystemDESCRIPTION
The IU Mean Reversion System is a dynamic mean reversion-based trading framework designed to identify optimal reversal zones using a smoothed mean and a volatility-adjusted band. This system captures price extremes by combining exponential and running moving averages with the Average True Range (ATR), effectively identifying overextended price action that is likely to revert back to its mean. It provides precise long and short entries with corresponding exit conditions, making it ideal for range-bound markets or phases of low volatility.
USER INPUTS :
Mean Length – Controls the smoothness of the mean; default is 9.
ATR Length – Defines the lookback period for ATR-based band calculation; default is 100.
Multiplier – Determines how wide the upper and lower bands are from the mean; default is 3.
LONG CONDITION :
A long entry is triggered when the closing price crosses above the lower band, indicating a potential upward mean reversion.
A position is taken only if there is no active long position already.
SHORT CONDITION :
A short entry is triggered when the closing price crosses below the upper band, signaling a potential downward mean reversion.
A position is taken only if there is no active short position already.
LONG EXIT :
A long position exits when the high price crosses above the mean, implying that price has reverted back to its average and may no longer offer favorable long risk-reward.
SHORT EXIT :
A short position exits when the low price crosses below the mean, indicating the mean reversion has occurred and the downside opportunity has likely played out.
WHY IT IS UNIQUE:
Uses a double smoothing approach (EMA + RMA) to define a stable mean, reducing noise and false signals.
Adapts dynamically to volatility using ATR-based bands, allowing it to handle different market conditions effectively.
Implements a state-aware entry system using persistent variables, avoiding redundant entries and improving clarity.
The logic is clear, concise, and modular, making it easy to modify or integrate with other systems.
HOW USER CAN BENEFIT FROM IT :
Traders can easily identify reversion opportunities in sideways or mean-reverting environments.
Entry and exit points are visually labeled on the chart, aiding in clarity and trade review.
Helps maintain discipline and consistency by using a rule-based framework instead of subjective judgment.
Can be combined with other trend filters, momentum indicators, or higher time frame context for enhanced results.
Aggregated VolumeThis is the volume for crypto instruments. The volume in crypto instruments is different from the volume in stock or forex instruments. Because in crypto instrument at the same coin, for example bitcoin, there are differences in volume appearing on chart in Tradingview between exchanges. For example the exchanges on Binance and OKX, and between the spot market and the future or perpetual market, even though the transaction is in the same coin, bitcoin, there are differences in volume appearing on chart.
For those of us who trade relying on base volume as the main analysis in trading or investing, it is important to see the differences in volume between exchanges on Bitget, Binance, Bybit, and others, that Tradingview does not display the total transaction volume on the chart, but only the transaction volume per exchange, that does not describe the reality of the transaction volume. Therefore we need an indicator that totals volume on all exchanges, both spot and future / perpetual markets.
This indicator is called Aggregated Volume, which is the total volume of the exchanges: Binance, Bybit, OKX, Coinbase, Bitget, Kukoin, Kraken, Cryptocom, and Mexc. We chose these exchanges because they are the top 9 exchanges in the world that dominate the crypto market.
Therefore, this indicator appearing the total volume of transactions made on the 9 exchanges, both spot and perpetual, and will be summed into one volume indicator called " Aggregated Volume ".
Money Flow: In & Out Detector[THANHCONG]Indicator Name:
Money Flow: In & Out Detector
Indicator Description:
The Money Flow: In & Out Detector indicator uses technical indicators such as RSI (Relative Strength Index), MFI (Money Flow Index), and volume analysis to determine money inflow and outflow in the market.
This indicator helps traders identify changes in money flow, allowing them to detect buy and sell signals based on the combination of the following factors:
RSI > 50 and MFI > 50: Money inflow, indicating a buy signal.
RSI < 50 and MFI < 50: Money outflow, indicating a sell signal.
Volume increase/decrease relative to the average: Identifies strong market behavior changes.
Adjustable Parameters:
RSI Length: The number of periods to calculate the RSI (default is 14).
MFI Length: The number of periods to calculate the MFI (default is 14).
Volume MA Length: The number of periods to calculate the moving average of volume (default is 20).
Volume Increase/Decrease (%): The percentage threshold for volume change compared to the moving average (default is 20%).
Look Back Period: The number of periods used to identify peaks and troughs (default is 20).
How to Use the Indicator:
Money Inflow: When both RSI and MFI are above 50, and volume increases significantly relative to the moving average, the indicator shows a Buy signal.
Money Outflow: When both RSI and MFI are below 50, and volume decreases significantly relative to the moving average, the indicator shows a Sell signal.
Identifying Peaks and Troughs: The indicator also helps identify market peaks and troughs based on technical conditions.
Note:
This indicator assists in decision-making, but does not replace comprehensive market analysis.
Use this indicator in conjunction with other technical analysis methods to increase the accuracy of trade signals.
Steps for Publishing the Indicator on TradingView:
Log in to TradingView:
Go to TradingView and log into your account.
Access Pine Script Editor:
Click on Pine Editor from the menu under the chart.
Paste your Pine Script® code into the editor window.
Check the Source Code:
Ensure your code is error-free and running correctly.
Review the entire source code and add the MPL-2.0 license notice if necessary.
Save and Publish:
After testing and confirming the code works correctly, click Add to Chart to try the indicator on your chart.
If satisfied with the result, click Publish Script at the top right of the Pine Editor.
Provide a name for the indicator and then enter the detailed description you’ve prepared.
Ensure you specify the MPL-2.0 license in the description if required.
Choose the Access Type:
You can choose either Public or Private access for your indicator depending on your intention.
Submit for Publication:
Wait for TradingView to review and approve your indicator. Typically, this process takes a few working days for verification and approval.
User Guide:
You can share detailed instructions for users on how to use the indicator on TradingView, including how to adjust the parameters and interpret the signals. For example:
Set RSI Length: Experiment with different RSI Length values to find the sensitivity that suits your strategy.
Interpreting In/Out Signals: When there is strong money inflow (In), consider entering a buy order. When there is strong money outflow (Out), consider selling.
VWAP Double Touch Alert (Timeframe-Aware)📌 VWAP Double Touch Alert — Smart Re-entry Signal for Precision Traders
Take your VWAP trading to the next level with this intelligent indicator that filters out the noise and zeroes in on high-probability re-entry setups.
💡 How it works:
This script tracks every time price touches the VWAP line and alerts you when it happens twice within a defined window of time (adjustable per your timeframe). This is often a sign of smart money accumulation, potential reversals, or explosive breakouts.
🔍 Why Traders Love It:
✅ Filters out weak signals — only alerts on confirmed double touches
✅ Fully adjustable VWAP zone sensitivity
✅ Selectable timeframe profiles or custom window (1m, 5m, 15m, 30m, etc.)
✅ Clean visual cues with minimal chart clutter
✅ Perfect for scalping, intraday reversals, or VWAP mean-reversion strategies
⚙️ Customization:
VWAP zone width (in %)
Time window in bars or automatic based on timeframe
Custom alert messages
Alert only triggers once per double-touch event to avoid spamming
🎯 Best For:
Crypto scalpers & day traders
VWAP bounce and mean-reversion traders
Traders who want clean, conclusive entry alerts without lag
Long Short dom📊 Long Short dom (VI+) — Custom Vortex Trend Strength Indicator
This indicator is a refined version of the Vortex Indicator (VI) designed to help traders identify trend direction, momentum dominance, and potential long/short opportunities based on VI+ and VI– dynamics.
🔍 What It Shows:
• VI+ (Green Line): Measures upward trend strength.
• VI– (Red Line): Measures downward trend strength.
• Histogram (optional): Displays the difference between VI+ and VI–, helping visualize which side is dominant.
• Background Coloring: Highlights bullish or bearish dominance zones.
• Zero Line: A visual baseline to enhance clarity.
• Highest/Lowest Active Lines: Real-time markers for the strongest directional signals.
⸻
🛠️ Inputs:
• Length: Vortex calculation period (default 14).
• Show Histogram: Enable/disable VI+–VI– difference bars.
• Show Trend Background: Toggle colored zones showing trend dominance.
• Show Below Zero: Decide whether to display values that fall below 0 (for advanced use).
⸻
📈 Strategy Insights:
• When VI+ crosses above VI–, it indicates potential long momentum.
• When VI+ crosses below VI–, it signals possible short pressure.
• The delta histogram (VI+ – VI–) helps you quickly see shifts in momentum strength.
• The background shading provides an intuitive visual cue to assess trend dominance at a glance.
⸻
🚨 Built-in Alerts:
• Bullish Cross: VI+ crosses above VI– → possible entry long.
• Bearish Cross: VI+ crosses below VI– → possible entry short.
⸻
✅ Ideal For:
• Trend-following strategies
• Identifying long/short bias
• Confirming entries/exits with momentum analysis
⸻
This tool gives you clean, real-time visual insight into trend strength and shift dynamics, empowering smarter trade decisions with clarity and confidence.
Vietnamese Market Structure With CountersThis indicator is designed to track Market Structure with Swing-Low Breakdowns and Swing-High Breakups specifically tailored for the Vietnamese stock market, though it can be applied elsewhere too. By default, it uses a 10-period EMA to dynamically detect key turning points in price action and count significant breakdowns or breakups from previous swing levels.
As an open source, you can modify the source code to match your needs.
What it does:
Detects when price breaks below previous swing lows or above previous swing highs.
Plots swing levels for both highs and lows.
Displays labeled counters on the chart to show how many consecutive breakdowns or breakups have occurred.
Helps traders identify trend shifts and possible exhaustion in moves.
Why it's useful:
This tool is great for visually tracking market momentum and structure changes — especially in trending or volatile environments. It emphasizes structure over indicators, helping you understand price behavior in a simplified, intuitive way.
License:
This script is published under the Mozilla Public License 2.0. Feel free to use, modify, and contribute!
Created with care by @doqkhanh.
If you find it useful, consider leaving a comment or sharing it with others!
Parsifal.Swing.TrendScoreThe Parsifal.Swing.TrendScore indicator is a module within the Parsifal Swing Suite, which includes a set of swing indicators such as:
• Parsifal Swing TrendScore
• Parsifal Swing Composite
• Parsifal Swing RSI
• Parsifal Swing Flow
Each module serves as an indicator facilitating judgment of the current swing state in the underlying market.
________________________________________
Background
Market movements typically follow a time-varying trend channel within which prices oscillate. These oscillations—or swings—within the trend are inherently tradable.
They can be approached:
• One-sidedly, aligning with the trend (generally safer), or
• Two-sidedly, aiming to profit from mean reversions as well.
Note: Mean reversions in strong trends often manifest as sideways consolidations, making one-sided trades more stable.
________________________________________
The Parsifal Swing Suite
The modules aim to provide additional insights into the swing state within a trend and offer various trigger points to assist with entry decisions.
All modules in the suite act as weak oscillators, meaning they fluctuate within a range but are not bounded like true oscillators (e.g., RSI, which is constrained between 0% and 100%).
________________________________________
The Parsifal.Swing.TrendScore – Specifics
The Parsifal.Swing.TrendScore module combines short-term trend data with information about the current swing state, derived from raw price data and classical technical indicators. It provides an indication of how well the short-term trend aligns with the prevailing swing, based on recent market behavior.
________________________________________
How Swing.TrendScore Works
The Swing.TrendScore calculates a swing score by collecting data within a bin (i.e., a single candle or time bucket) that signals an upside or downside swing. These signals are then aggregated together with insights from classical swing indicators.
Additionally, it calculates a short-term trend score using core technical signals, including:
• The Z-score of the price's distance from various EMAs
• The slope of EMAs
• Other trend-strength signals from additional technical indicators
These two components—the swing score and the trend score—are then combined to form the Swing.TrendScore indicator, which evaluates the short-term trend in context with swing behavior.
________________________________________
How to Interpret Swing.TrendScore
The trend component enhances Swing.TrendScore’s ability to provide stronger signals when the short-term trend and swing state align.
It can also override the swing score; for example, even if a mean reversion appears to be forming, a dominant short-term trend may still control the market behavior.
This makes Swing.TrendScore particularly valuable for:
• Short-term trend-following strategies
• Medium-term swing trading
Unlike typical swing indicators, Swing.TrendScore is designed to respond more to medium-term swings rather than short-lived fluctuations.
________________________________________
Behavior and Chart Representation
The Swing.TrendScore indicator fluctuates within a range, as most of its components are range-bound (though Z-score components may technically extend beyond).
• Historically high or low values may suggest overbought or oversold conditions
• The chart displays:
o A fast curve (orange)
o A slow curve (white)
o A shaded background representing the market state
• Extreme values followed by curve reversals may signal a developing mean reversion
________________________________________
TrendScore Background Value
The Background Value reflects the combined state of the short-term trend and swing:
• > 0 (shaded green) → Bullish mode: swing and short-term trend both upward
• < 0 (shaded red) → Bearish mode: swing and short-term trend both downward
• The absolute value represents the confidence level in the market mode
Notably, the Background Value can remain positive during short downswings if the short-term trend remains bullish—and vice versa.
________________________________________
How to Use the Parsifal.Swing.TrendScore
Several change points can act as entry triggers or aids:
• Fast Trigger: change in slope of the fast signal curve
• Trigger: fast line crosses slow line or the slope of the slow signal changes
• Slow Trigger: change in sign of the Background Value
Examples of these trigger points are illustrated in the accompanying chart.
Additionally, market highs and lows aligning with the swing indicator values may serve as pivot points in the evolving price process.
________________________________________
As always, this indicator should be used in conjunction with other tools and market context in live trading.
While it provides valuable insight and potential entry points, it does not predict future price action.
Instead, it reflects recent tendencies and should be used judiciously.
________________________________________
Extensions
The aggregation of information—whether derived from bins or technical indicators—is currently performed via simple averaging. However, this can be modified using alternative weighting schemes, based on:
• Historical performance
• Relevance of the data
• Specific market conditions
Smoothing periods used in calculations are also modifiable. In general, the EMAs applied for smoothing can be extended to reflect expectations based on relevance-weighted probability measures.
Since EMAs inherently give more weight to recent data, this allows for adaptive smoothing.
Additionally, EMAs may be further extended to incorporate negative weights, akin to wavelet transform techniques.
Parsifal.Swing.FlowThe Parsifal.Swing.Flow indicator is a module within the Parsifal Swing Suite, which includes a set of swing indicators such as:
• Parsifal Swing TrendScore
• Parsifal Swing Composite
• Parsifal Swing RSI
• Parsifal Swing Flow
Each module serves as an indicator facilitating judgment of the current swing state in the underlying market.
________________________________________
Background
Market movements typically follow a time-varying trend channel within which prices oscillate. These oscillations—or swings—within the trend are inherently tradable.
They can be approached:
• One-sidedly, aligning with the trend (generally safer), or
• Two-sidedly, aiming to profit from mean reversions as well.
Note: Mean reversions in strong trends often manifest as sideways consolidations, making one-sided trades more stable.
________________________________________
The Parsifal Swing Suite
The modules aim to provide additional insights into the swing state within a trend and offer various trigger points to assist with entry decisions.
All modules in the suite act as weak oscillators, meaning they fluctuate within a range but are not bounded like true oscillators (e.g., RSI, which is constrained between 0% and 100%).
________________________________________
The Parsifal.Swing.Flow – Specifics
The Parsifal.Swing.Flow module aggregates price and trading flow data per bin (a "bin" refers to a single candle or time bucket) and smooths this information over recent historical data to reflect ongoing market dynamics.
________________________________________
How Swing.Flow Works
For each bin, individual data points—called "bin-infolets"—are collected. Each infolet reflects the degree and direction of trading flow, offering insight into buying and selling pressure.
The module processes this data in two steps:
1. Aggregation:
All bin-infolet values within a bin are averaged to produce a single bin-flow value.
2. Smoothing:
The resulting bin-flow values are then smoothed across multiple bins, typically using short-term EMAs.
The outcome is a dynamic representation of the current swing state based on recent trading flow activity.
________________________________________
How to Interpret Swing.Flow
• Range-bound but not a true oscillator:
While individual bin-infolets are range-bound, the Swing.Flow indicator itself is not a classical oscillator.
• Overbought/Oversold Signals:
Historically high or low values in Swing.Flow may signal overbought or oversold conditions.
• Chart Representation:
o A fast curve (orange)
o A slow curve (white)
o A shaded background that illustrates overall market state
• Mean Reversion Signals:
Extreme curve values followed by reversals may indicate the onset of a mean reversion in price.
________________________________________
Flow Background Value
The Flow Background Value represents the net state of trading flow:
• > 0 (green shading) → Bullish mode
• < 0 (red shading) → Bearish mode
• The absolute value reflects the confidence level in the current trend direction
________________________________________
How to Use the Parsifal.Swing.Flow
Several change points can act as entry point triggers:
• Fast Trigger:
A change in the slope of the fast signal curve
• Trigger:
The fast line crossing the slow line or a change in the slope of the slow signal
• Slow Trigger:
A change in the sign of the Background Value
These triggers are visualized in the accompanying chart.
Additionally, market highs and lows that align with the swing indicator values can serve as pivot points for the ongoing price process.
________________________________________
As always, this indicator is best used in conjunction with other indicators and market information.
While Parsifal.Swing.Flow offers valuable insight and potential entry points, it does not predict future price action.
Rather, it reflects the most recent market tendencies, and should therefore be applied with discretion.
________________________________________
Extensions
• Aggregation Method:
The current approach—averaging all infolets—can be replaced by alternative weighting schemes, adjusted according to:
o Historical performance
o Relevance of data
o Specific market conditions
• Smoothing Period:
The EMA-based smoothing period can be varied. In general, EMAs can be enhanced to reflect relevance-weighted probability measures, giving greater importance to recent data for a more adaptive and dynamic response.
• Advanced Smoothing:
EMAs can be further extended to include negative weights, similar to wavelet transform techniques, allowing even greater flexibility in smoothing methodologies.
Parsifal.Swing.RSIThe Parsifal.Swing.RSI indicator is a module within the Parsifal Swing Suite, which includes a set of swing indicators:
• Parsifal Swing TrendScore
• Parsifal Swing Composite
• Parsifal Swing RSI
• Parsifal Swing Flow
Each module facilitates judgment of the current swing state in the underlying market.
________________________________________
Background
Market movements typically follow a time-varying trend channel within which prices oscillate. These swings within the trend are inherently tradable.
They can be approached:
• One-sidedly, in alignment with the trend (generally safer), or
• Two-sidedly, aiming to profit from mean reversions.
Note: In strong trends, mean reversions often appear as sideways consolidations, making one-sided trades more robust.
________________________________________
The Parsifal Swing Suite
The suite provides insights into current swing states and offers various entry point triggers.
All modules act as weak oscillators, meaning they fluctuate within a range but are not bounded like true oscillators (e.g., the RSI, which ranges from 0 to 100%).
________________________________________
The Parsifal.Swing.RSI – Specifics
The Parsifal.Swing.RSI is the simplest module in the suite. It uses variations of the classical RSI, explicitly combining:
• RSI: 14-period RSI of the market
• RSIMA: 14-period EMA of the RSI
• RSI21: 14-period RSI of the 21-period EMA of the market
• RSI21MA: 14-period EMA of RSI21
Component Behavior:
• RSI: Measures overbought/oversold levels but reacts very sensitively to price changes.
• RSIMA: Offers smoother directional signals, making it better for assessing swing continuation. Its slope and sign changes are more reliable indicators than pure RSI readings.
• RSI21: Based on smoothed prices. In strong trends, it reaches higher levels and reacts more smoothly than RSI.
• RSI21MA: Further smooths RSI21, serving as a medium-term swing estimator and a signal line for RSI21.
When RSI21 exceeds RSI, it indicates trend strength.
• In uptrends, RSI21 > RSI, with larger exceedance = stronger trend
• In downtrends, the reverse holds
________________________________________
Indicator Construction
The Swing RSI combines:
• RSI and RSIMA → short-term swings
• RSI21 and RSI21MA → medium-term swings
This results in:
• A fast swing curve, derived from RSI and RSI21
• A slow swing curve, derived from RSIMA and RSI21MA
This setup is smoother than RSI/RSIMA alone but more responsive than using RSI21/RSI21MA alone.
________________________________________
Background Value
The Background Value reflects the overall market state, derived from RSI21:
• > 0: shaded green → bullish mode
• < 0: shaded red → bearish mode
• The absolute value reflects confidence in the current mode
________________________________________
How to Use the Parsifal.Swing.RSI
Several change points can act as entry triggers:
• Fast Trigger: change in slope of the fast signal curve
• Trigger: fast line crossing slow line or change in slow signal's slope
• Slow Trigger: change in sign of the Background Value
Examples of these triggers are shown in the chart.
Additionally, market highs and lows aligned with swing values can serve as pivot points in evolving price movements.
________________________________________
As always, this indicator should be used alongside other tools and information in live trading.
While it provides valuable insights and potential entry points, it does not predict future price action.
It reflects the latest tendencies and should be used judiciously.
Nifty Sectoral Performance ComparisonThis Pine Script indicator tracks and compares the percentage performance of Indian sectoral and thematic indices (e.g., Nifty 50, Nifty Bank, Nifty IT) relative to their starting price in a user-defined timeframe. Performance is plotted as colored lines on the chart, with transparent labels showing percentage changes. A user-configurable label offset ensures clarity. Ideal for analyzing sectoral trends in the Indian market.
Features
Multi-Index Tracking:
Monitors up to 21 indices in five groups:
Core/Large Cap: Nifty 50, Nifty Bank, Nifty Auto, Nifty IT, Nifty FMCG, Nifty Fin Services
Thematic/Sectoral: SENSEX, Nifty Healthcare, Nifty Metal, Nifty Pharma
Bank Sub-Indices & Realty: Nifty Pvt Bank, Nifty PSU Bank, Nifty Realty
Consumption & Energy: Nifty ConsDurables, Nifty Oil & Gas
MidSmall Cap Thematic: Nifty MidSmFinSrv, S&P BSE Healthcare, Nifty MidSmIT&Tel
Calculates performance as the percentage change from the first valid close in the timeframe.
Customizable Display:
Toggle each index on/off via boolean inputs.
Define ticker symbols and colors for each index (e.g., Blue for Nifty 50, Green for Nifty Fin Services).
Colors are preset but editable for clear differentiation.
Labeling:
Displays index name and performance (e.g., "Nifty 50: 12.34%") with transparent labels (no background).
Labels match the plot color and are positioned using a user-defined offset (in bars) to avoid overlap.
Precision and Timeframe:
Shows performance with two decimal places.
Supports custom timeframes (e.g., daily, weekly) for flexible analysis.
Overlay Mode:
Plots performance lines on the price chart for direct comparison with price movements.
Inputs
Label Offset (Bars): Set label position left of the current bar (default: 5, min: 0).
Show : Enable/disable each index’s plot and label.
Ticker : Specify ticker symbols (e.g., NSE:NIFTY).
Color : Choose plot and label colors.
How It Works
Performance Calculation:
Fetches closing prices via request.security for the specified ticker and timeframe.
Captures the first valid close as the starting price.
Computes performance: ((current_price / start_price) - 1) * 100.
Handles invalid data (e.g., na or zero start price) by returning na.
Plotting:
Plots enabled indices with valid performance as lines (linewidth: 1) in user-defined colors.
Labeling:
Creates labels for enabled indices with valid performance at bar_index - label_offset and the performance value.
Labels show the index name and percentage (e.g., "Auto: 5.67%") in the plot’s color, with no background.
Usage
Setup: Apply to a TradingView chart and set the desired timeframe.
Customize:
Enable relevant indices, adjust tickers, and modify colors.
Set Label Offset to position labels clearly.
Analyze:
Compare lines to spot outperforming/underperforming sectors.
Use labels for precise performance values.
Pair with price action or other indicators for trading insights.