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!
Dalga Analizi
Stratégie Scalp HA SMA9 & SMA30 (Oracle))✨ Overview
This scalp strategy combines two simple moving averages (SMA9 and SMA30) applied to Heikin Ashi candles with the rapid reversal pattern detection:
Doji on the previous candle
First no-wick candle immediately afterward
Bullish or bearish confirmation against the SMA9
It aims to capture small intraday moves with very precise entries.
🔧 Inputs
Parameter Description Default
Fast SMA Period (lenFast) Length of the fast SMA on Heikin Ashi close 9
Slow SMA Period (lenSlow) Length of the slow SMA on Heikin Ashi close 30
Doji Threshold (dojiThresh) Maximum body size to qualify as a doji (% of candle range) 0.30
Wick Threshold (wickThresh) Maximum wick size to qualify as “no-wick” (% of range) 0.30
⚙️ How It Works
Heikin Ashi Series
Fetches HA open/high/low/close for your chart’s timeframe.
Moving Averages
Plots SMA9 (“Fast”) and SMA30 (“Slow”) on the HA close to gauge short-term momentum.
Doji Detection
Marks the previous candle as a doji if its body ≤ dojiThresh × (range).
No-Wick Candle
The next HA candle qualifies if both its upper and lower wicks ≤ wickThresh × (range).
Entry Conditions:
Long: previous doji + no-wick bullish candle + HA close > SMA9
Short: previous doji + no-wick bearish candle + HA close < SMA9
Order Execution:
Closes any opposing position before entering the new trade.
Draws green/red arrows for visual confirmation of each signal.
📈 Usage Tips:
Recommended Timeframes: M1, M5 or M15 depending on asset volatility.
Suitable Markets: Forex pairs (EURUSD, GBPUSD), crypto (BTCUSDT, ETHUSDT), indices (NAS100), etc.
Optimization:
Tweak dojiThresh/wickThresh for sensitivity (e.g. 0.10–0.50).
Add fixed or dynamic stops/take-profits (ATR, pivots).
Thoroughly backtest and forward-test to confirm robustness.
⚠️ Disclaimers
Backtest Only: Always validate live performance in paper trading before using real capital.
Fees & Slippage: Can significantly affect scalp results.
Risk Management: Adjust position sizing to your risk tolerance and market conditions.
Configure your stops/TPs to match your personal trading style. Happy scalping! 🐇
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.
Gestión Visual Interactiva + Línea Arrastrable🧠 Interactive Trade Management + Smart Take Profit
This script is designed to manage trades visually and intuitively, combining the best of day trading and swing trading strategies.
✅ Key Features:
Entry and Stop Loss can be configured from the panel or by directly dragging the lines on the chart.
Automatic Take Profit levels calculated based on multiples of Risk (TP1, TP2, TP3).
Smart trailing stop system that activates from a defined level and adjusts dynamically.
Support for both LONG and SHORT trades with adaptive logic.
Integrated alerts for TP1, TP2, Trailing Stop, and Stop Loss.
🎯 Ideal for:
Traders who want to let part of their position run beyond the first target.
Trades where you want to turn a day trade into a swing trade partially.
Those who seek a visual and practical control of their trade management directly on the chart.
💡 Recommendation: Use the configuration panel to define initial values and adjust visually with the interactive lines for maximum flexibility.
EUR/USD Entry/Exit Strategy//@version=5
strategy("EUR/USD Entry/Exit Strategy", overlay=true)
// Parameters
length = input.int(14, title="RSI Length")
rsi_overbought = input.int(70, title="RSI Overbought Threshold")
rsi_oversold = input.int(30, title="RSI Oversold Threshold")
// Calculate RSI
rsi_value = ta.rsi(close, length)
// Define trend conditions
longCondition = rsi_value < rsi_oversold
shortCondition = rsi_value > rsi_overbought
// Entry Logic
if (longCondition)
if (strategy.position_size <= 0)
strategy.entry("Long", strategy.long)
if (shortCondition)
if (strategy.position_size >= 0)
strategy.entry("Short", strategy.short)
// Exit Logic
if (strategy.position_size > 0 and shortCondition)
strategy.close("Long")
if (strategy.position_size < 0 and longCondition)
strategy.close("Short")
Double MA CrossoverThis versatile indicator uses 2 moving average cross overs that can be adapted for SMA, EMA, or WMA moving averages.
You can fill the moving average gaps to better visualize convergence/divergence with the ability to adjust opacity, so as to minimize distractions.
The crossover indicators can also be turned on or off and color adjusted.
you have up to 4 independent moving averages, or 2 sets of 2.
very useful.
ATS LOGIC CHART 云超级数字净量主图 V5.0In complex market environments, the Delta Net Volume chart provides you with clear directional guidance. Whether it's capturing trends, avoiding risks, optimizing strategies, or enhancing returns, it is an indispensable tool for you. Let the data speak and make trends clearly visible—the Delta Net Volume chart helps you navigate the market steadily and confidently!
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.
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
Tolga's EMA Scalper – Buy / SellEMA line – Calculates a 20‑period Exponential Moving Average (EMA) of the chosen price series (close by default) and plots it in blue.
8‑bar range – Finds the highest and lowest closing prices over the last 8 bars and plots them as a red upper band and a green lower band, giving you a mini‑range reference.
Buy / Sell signals –
Sell: When price crosses the EMA and the current close is lower than the previous close, a red “Sell” arrow appears above the bar.
Buy: When price crosses the EMA and the current close is higher than the previous close, a green “Buy” arrow appears below the bar.
Alerts – Two alertcondition rules let TradingView fire alerts whenever a buy or sell signal is generated.
CoffeeShopCrypto Supply Demand PPO AdvancedCoffeeShopCrypto PPO Advanced is a structure-aware momentum oscillator and price-trend overlay designed to help traders interpret momentum strength, exhaustion, and continuation across evolving market conditions. It’s not a “buy/sell” signal tool — it's a momentum context tool that helps confirm trend intent.
Original Code derived from the Price Oscillator Indicators (PPO) found in the TradingView Technical Indicators categories. You can view the info and calculation for the original PPO here
www.tradingview.com
Much like the MACD, the PPO uses a couple lagging indicators to present Momentum as a percentage. But it lacks context to market structure.
What It’s Based On
This tool is based on a dual-moving-average PPO oscillator structure (Percentage Price Oscillator) enhanced by:
Oscillator pivot structure: detection of Lower Highs (LH) and Higher Lows (HL) inside the oscillator.
Detection of Supply and Demand Trends via Market Absorption
Ability to transfer its average plots to price action
Detection of Trend Exhaustion
Real-time price-based exhaustion levels: projecting potential future supply and demand using trendlines from weakening momentum.
Integrated fast and slow Moving Averages on price using the same inputs as the oscillator, to visualize alignment between short- and long-term trends.
These elements combine momentum context with price action in a visual, intuitive system.
How It Works
1. Oscillator Structure
LHs (above zero): momentum weakening in uptrends.
HLs (below zero): momentum strengthening in downtrends.
Only valid pivots are shown (e.g., an LH must be preceded by a valid LL).
2. Exhaustion Levels
Green demand lines: price is making new lows, but oscillator prints HL → potential exhaustion.
Red supply lines: price is making new highs, but oscillator prints LH → potential exhaustion.
These lines are future-facing, projecting likely reaction zones based on momentum weakening.
3. Moving Averages on Price
Two MAs are drawn on the price chart:
Fast MA (same length as PPO short input)
Slow MA (same length as PPO long input)
These are not signal lines — they're visual guides for trend alignment.
MA crossover = PO crosses zero. This indicates short- and long-term momentum are syncing — a powerful signal of trend conviction.
When price is above both MAs, and the PO is rising above zero, bullish momentum is dominant.
When price is below both MAs, and the PO is falling below zero, bearish momentum dominates.
How Traders Can Use It
✅ Spot Trend Initiation
Wait for clear trend confirmation in price.
Use PPO Momentum+ to confirm momentum structure is aligned (e.g., HH/HL in oscillator + price above both MAs).
🔁 Track Continuations
In uptrends, look for oscillator HH and HL sequences with price holding above both MAs.
In downtrends, seek LL and LH sequences with price below both MAs.
⚠️ Watch for Exhaustion
Price breaking below red (supply) lines after oscillator LH = bearish exhaustion signal.
Price breaking above green (demand) lines after oscillator HL = bullish exhaustion signal.
These levels act like pre-mapped S/R zones, showing where momentum previously failed and price may react.
Why This Is Different
Momentum tools often lag or mislead when used blindly. This tool visualizes structural failure in momentum and maps potential outcomes. The integration of oscillator and price-based tools ensures traders are always reading context, not just raw signals.
Demand Trendlines
Demand trendlines show us Wykoff's law of "Absorbed Supply Reversal" In real time.
When aggressive selling pressure is persistently absorbed by passive buying interest without significant downward price continuation, and supply becomes exhausted, the market structure shifts as demand regains control—resulting in a directional reversal to the upside.
This commonly happens in a 3 phase interaction of price.
1. Selling pressure is absorbed quickly by buyers.
This PPO tool will calculate the trend of this absorption process
2. After there is a notable Bearish Exhaustion of price action, the PPO tool will draw a trendline of this absorption showing us the potential future prices where aggressive buyers will want to step in at lower prices.
3. After higher lows are defined in the oscillator, you'll see prices react in a strong bullish pattern at this trendline where aggressive buyers stepped in to reverse price action to the upside.
Supply Trendlines
Supply trendlines show us Wykoff's law of "Absorbed Demand Reversal" In real time.
When aggressive buying pressure is persistently absorbed by passive selling interest without significant downward price continuation, and demand becomes exhausted, the market structure shifts as supply regains control—resulting in a directional reversal to the downside.
This commonly happens in a 3 phase interaction of price.
1. Buying pressure is absorbed quickly by sellers.
This PPO tool will calculate the trend of this absorption process.
2. After there is a notable Bullish Exhaustion of price action, the PPO tool will draw a trendline of this absorption showing us the potential future prices where aggressive sellers will want to step in at higher prices.
3. After lower highs are defined in the oscillator, you'll see prices react in a strong bearish pattern at this trendline where aggressive sellers stepped in to reverse price action to the downside.
Lower High and Higher Low Signals
When the oscillator signals Lower Highs or High Lows its only noting that momentum in that trend direction is slowing. THis indicates a coming pause in the market and the proceeding longs of an uptrend or shorts of a downtrend should be taken with caution.
**These LH and HL markers are not reading as divergences in price vs momentum.**
They are simply registering against the highs and lows of itself..
Moving Averages on Price Action
The Oscillator will cross over its ZERO level the same time your Short and Long MAs cross each other. This will indicate that the short term average trend is moving ahead of the long term.
Crossovers are not an entry signal. It's a method in determining you current timeframe trend strength. Always observe price action as it passes through each of your moving averages and compare it to the positioning and direction of the oscillator.
If price dips in between the moving averages while the oscillator still shows a strong trend strength, you can wait for price to move ahead of your fast moving average.
Bar Colors and Signal Line for Trend Strength
Good Bullish Trend = Oscillator above zero + Signal rising below Oscillator
Weak Bullish Trend = Oscillator above zero + Signal above Oscillator
Good Bearish Trend = Oscillator below zero + Signal falling above Oscillator
Weak Bearish Trend = Oscillator below zero + Signal below Oscillator
Bar Colors
Bars are colored to match Oscillator Momentum Strength. Colors are set by user.
Why alter the known PPO (Percentage Price Oscillator) in this manner?
The PPO tool is great for measuring the strength as percentage of price action over and average amount of candles however, with these changes,
you know have the ability to correlate:
Wycoff theory of supply and demand,
Measure the depth of reversals and pullback by price positioning against moving averages,
Project potential reversal and exhaustion pricing,
Visibly note the structure of momentum much like you would note market structure,
Its not enough to know there is momentum. Its better to know
A) Is it enough
B) Is there something in the way which will cause price to push back
C) Does this momentum correlate to the prevailing trend
TTM Squeeze Overlay (Wave A/B/C Visible)This script overlays three MACD-based wave structures directly on the price chart — giving you a clear, time-based view of market momentum without needing a sub-panel.
🔴 Wave A (Short-Term) – fast reactions, shows immediate price pressure
⚫ Wave B (Mid-Term) – smoother movements, ideal for swing context
🔵 Wave C (Long-Term) – area-style macro trend overlay
All waves are dynamically scaled and centered around price action, so you don’t need to manually stretch or shift anything.
Built for traders who want trend clarity at a glance — right where it matters.
TTM Squeeze Overlay (Wave A/B/C Visible)This script overlays three MACD-based wave structures directly on the price chart — giving you a clear, time-based view of market momentum without needing a sub-panel.
🔴 Wave A (Short-Term) – fast reactions, shows immediate price pressure
⚫ Wave B (Mid-Term) – smoother movements, ideal for swing context
🔵 Wave C (Long-Term) – area-style macro trend overlay
All waves are dynamically scaled and centered around price action, so you don’t need to manually stretch or shift anything.
Built for traders who want trend clarity at a glance — right where it matters.
INDICATOR RENKO LONG/SHORT Fair Value Gap (FVG) Zones • Auto Entry & Exit Signals • Built-in Risk Management
Overview
This Pine Script® indicator automatically identifies and highlights Fair Value Gaps—price imbalances created when consecutive bars leave a “gap” between them—and offers on-chart mock entries, stop-losses, take-profits, and customizable alerts. Use it to visually spot high-probability imbalance zones, refine your entries, and maintain disciplined risk management, all without cluttering your chart.
🔍 Key Features
Dynamic FVG Detection
Scans for bullish and bearish gaps based on your lookback period and minimum size.
Automatically plots filled zones in semi-transparent green (bullish) or red (bearish).
Automated Entry & Exit Labels
BUY / SELL markers trigger when price re-enters an active FVG.
Long Exit / Short Exit markers show when your mock stop-loss or take-profit is hit.
Risk-Reward Management
Define your preferred Risk : Reward ratio (e.g. 1 : 2) and watch the script calculate targets.
Optional “Mid-Gap” entry: choose to fill at the midpoint of the gap for better average price.
Configurable Alerts
Four built-in alertconditions let you hook into TradingView alerts for:
FVG Buy
FVG Sell
Exit Long
Exit Short
⚙️ Inputs & Parameters
Setting Default Description
FVG gap lookback (bars) 2 Bars to look back when measuring gaps (min 2, max 5)
Min FVG Size (points) 2.0 Minimum gap size in price units (step 0.25)
Risk : Reward Ratio 2.0 Multiplier for target distance vs. stop-loss distance
Use Mid-Gap Entry? false If enabled, entry price = midpoint of the FVG rather than edge
📈 How to Use
Add to Chart
Copy & paste the script into TradingView’s Pine Editor (Version 6).
Adjust the inputs to match your trading style and instrument volatility.
Interpret the Zones
Green rectangles mark bullish FVGs—potential demand areas.
Red rectangles mark bearish FVGs—potential supply areas.
Follow the Labels
When price re-enters an active gap, a BUY or SELL label appears.
A Long Exit or Short Exit label appears once your mock stop or target is reached.
Set Alerts
Create alerts on any of the four conditions to receive real-time notifications.
🔔 Alerts & Automation
Use the built-in alert conditions to automate your monitoring:
FVG Buy Signal: "Fair Value Gap Buy Triggered"
FVG Sell Signal: "Fair Value Gap Sell Triggered"
FVG Exit Long: "Fair Value Gap – Long Position Exited"
FVG Exit Short: "Fair Value Gap – Short Position Exited"
⚠️ Disclaimer
This indicator is provided “as is” under the Mozilla Public License 2.0. It is intended for educational purposes and to aid in technical analysis. It is not financial advice. Always backtest and paper-trade before applying to live capital, and never risk more than you can afford to lose.
Smart Crypto Entry - 3 Trades x 1%🧠 Smart Crypto Entry - 3 Trades x 1%
Pine Script v6 Strategy & Visual Alert System
This indicator is designed to help crypto traders make high-probability entries, targeting 3 successful trades per day, each aiming for 1% profit with intelligent stop-loss protection. It combines multiple trend-following, momentum, and confirmation indicators into one powerful tool.
✅ Core Concept
The strategy looks for bullish alignment across trend and momentum indicators to identify smart BUY entry points. It aims to find high-confluence trades where at least 5 out of 6 signals are green, filtering out low-confidence setups.
This tool is especially helpful for:
Scalpers or intraday crypto traders
Traders using the 1-hour chart (or lower timeframes)
Automated alert systems
Manual trading with high conviction setups
🔍 Indicators Used & Strategy Logic
1. Trend Filters:
EMA Stack (8, 20, 50, 100, 200) – Classic trend strength confirmation. All EMAs must be stacked upward.
EMA Conditions – Close must be above key EMAs (20, 50, 200).
2. Momentum Filters:
RSI (25 & 100) – Both short-term and long-term RSI must be above 50 (indicating bullish momentum).
ADX (14) – Custom-coded ADX must be above 20 to confirm trending environment.
3. Smoothing Filters:
TEMA (13, 21, 55) – Triple Exponential Moving Average stack must slope upward.
ZLEMA (50) – Price must be above Zero-Lag EMA to confirm smoothed bullish price action.
🟢 Buy Signal Criteria
A BUY label appears below the candle when:
5 or more out of the 6 signals are TRUE
The current candle is bullish (close > open)
EMAs are in an upward alignment (trendUp)
A plotted label "BUY" shows up under the entry candle, with take-profit and stop-loss lines.
🎯 Target & Risk Management
Take Profit (TP): 1% above the entry price
Stop Loss (SL): 1.5% below the entry price
This ensures a risk/reward ratio of approximately 1:1.5, favoring winning trades with minimal downside.
Developed by AI.
Mikael Ultimate OscillatorMikael Ultimate Oscillator
A custom-built oscillator combining multiple moving averages and price pressure dynamics.
Green = Buy Signal
Red = Sell Signal
Based on smoothed crossover logic for early trend detection
Built by Mikael, optimized for XRP and other crypto pairs on 15m–1h charts.
For access or custom use, contact: [Mikael_2021}
BLCKBOX MACD IndicatorThis indicator is based on the standard Trading View MACD Indicator with added visual prompts to take the guess work out of buying and selling. Only use this indicator when you decide to get in or get out. Used in conjunction with "BLCKBOX Buying / Selling Sentiment" indicator.
Stochastic Monitor [NT-DIGITALS]Stochastic Monitor is a visual multi-timeframe indicator that displays the Stochastic RSI (%K) across 11 timeframes, from 30 seconds to 1 day.
Each cell shows the current StochRSI value and changes color:
Green if the value is below 20 (oversold)
Red if the value is above 80 (overbought)
Black otherwise
It helps spot price extremes and potential reversals across multiple time horizons.
Sine Swing OscillatorThe Sine Swing Oscillator (SSO) is a custom momentum indicator that transforms price movement into a sine-based oscillator ranging from -1 to +1. It does this by measuring the deviation of the current price from a reference price, which is updated at fixed bar intervals. The price deviation is normalized using the Average True Range (ATR) over the same interval, then mapped through a sine transformation to create a bounded oscillator. This transformation helps identify cyclical price behavior in a consistent range.
The resulting sine values are smoothed using a Simple Moving Average (SMA), and a signal line is derived by applying an Exponential Moving Average (EMA) to the smoothed oscillator. Traders can use signal line crossovers, or moves through the zero line, to help identify potential entry or exit signals based on cyclical momentum shifts.
The oscillator and signal line are plotted in a separate pane, with user-configurable smoothing lengths and colors. The zero line is also included for reference.
MoMoExtradeKey Features:
核心功能:
Buy/Sell Signals: Displays "B" (Buy) and "S" (Sell) signals on the chart, pinpointing optimal entry and exit points.
Take-Profit (TP) Markers: Automatically identifies TP levels and shows "TP+price" (e.g., "TP+101.50"), with customizable percentage targets.
Dynamic Background Colors: Green for bullish conditions, red for bearish conditions, providing instant market trend visibility.
Customizable Settings: Adjust signal sensitivity and TP targets to match your trading style and market.
Clean & User-Friendly: Green for Buy, red for Sell, and orange for TP, with clear labeling and chart-friendly design.
买卖信号:在图表上标注“B”(买入)和“S”(卖出)信号,精准提示潜在的入场和出场点。
止盈(TP)标记:自动识别止盈点并显示“TP”,支持自定义止盈百分比,省去繁琐计算。
动态背景色:通过绿色(买入有利)和红色(卖出有利)背景色,直观呈现市场状态,助力快速决策。
灵活调整:提供多个可调参数,轻松适配不同交易风格和市场环境。
美观易用:信号和止盈标记采用醒目配色(绿色买入、红色卖出、橙色止盈),布局清晰,图表整洁。
How to Use:
使用方法:
Gain access to the indicator (see Author’s Note below).
Add the indicator to your chart and tweak parameters (signal period, TP percentage, etc.).
Watch for "B" signals to enter long positions and "S" signals to exit or go short.
Monitor "TP+price" markers to track profit targets.
Use green/red backgrounds to confirm market conditions.
将指标添加到您的图表。
根据交易需求调整参数(信号敏感度、止盈百分比等)。
关注“B”信号入场做多,关注“S”信号平仓或做空。
关注“TP”标记,可选择止盈或等待S信号。
利用绿色/红色背景色判断市场趋势,增强信号可靠性。
Best For:
适用场景:
Day trading, swing trading, or longer-term positions.
Stocks, forex, cryptocurrencies, futures, and more.
Any timeframe (1-minute, 5-minute, daily, etc.).
适合日内交易、波段交易或中长期持仓的交易者。
适用于股票、外汇、加密货币、期货等多种市场。
支持任意时间框架(1分钟、5分钟、日线等)。
Settings:
参数设置:
Signal Period: Default suits most markets, adjustable for signal frequency.
Buy/Sell Thresholds: Default fits typical volatility, customizable for precision.
TP Percentage: Default 1%, set your desired profit target.
信号周期:默认值适合大多数市场,可调整以优化信号频率。
买卖阈值:默认值适配常见波动,可根据市场特性调整。
止盈百分比:默认1%,可设置您的盈利目标。
Note:
注意事项:
This indicator is designed to assist trading decisions. Combine with other tools and risk management strategies. Always backtest signals in your market and timeframe.
本指标旨在辅助交易决策,建议结合其他分析工具和风险管理策略使用。请在您的市场和时间框架上进行充分回测,确保信号效果。