Market Structure [TFO]📊 Market Structure — Pine Script Indicator
Author: © tradeforopp
License: Mozilla Public License 2.0
Platform: TradingView
Type: Market structure analyzer (BOS/MSS, swings, bar color)
🧠 What It Does:
This indicator automatically identifies market structure shifts (MSS) and breaks of structure (BOS) based on pivot highs and lows. It detects when price violates previous swing points and visually marks the shift between bullish and bearish phases.
🔍 Key Features:
Swing Detection:
Uses pivot_strength to determine significant swing highs and lows.
Swings are tracked using a custom swing structure with index and value.
MSS & BOS Logic:
A Market Structure Shift (MSS) occurs when price changes direction (e.g., bullish to bearish).
A Break of Structure (BOS) happens when the price breaks the previous swing without changing trend direction.
Visual Markers:
Labels on chart showing MSS or BOS at break levels.
Optional pivot markers as small triangle shapes at swing points.
Dashed/solid/dotted lines between the break point and current candle.
Bar Coloring:
Turns candles green for bullish breaks, red for bearish breaks.
Controlled via the “Show Bar Colors” setting.
Alerts:
Alert conditions for all MSS/BOS events.
Can be used for automation or signals in TradingView.
⚙️ User Inputs:
Pivot Strength – How many candles left/right to confirm a high/low.
Show Pivots – Enables small triangle markers.
Show BOS/MSS – Toggles structure break visuals and labels.
Line Style – Customizes BOS/MSS line appearance.
Bar Colors – Enables green/red candle coloring on structure changes.
🧩 Use Cases:
Track structural shifts in real time on any asset.
Build smart money concept (SMC) strategies.
Filter entries/exits based on trend changes.
Combine with liquidity or volume-based tools for confirmation.
Indicators and strategies
Enhanced S/D Boring‑Explosive [v6]How to Use the Indicator
Boring Candle:
Yellow diamond below bar. Marks consolidation near S/D lines—watch for a breakout.
Explosive Candle:
Orange bar color and triangle above. Signals a potential move—entry on close (directional, filtered by MA).
Supply/Demand Zones:
Red (resistance/supply) and Lime (support/demand) dotted lines.
Look for signals near these levels.
Multi-TF Panel:
Label at top shows higher time frame status (Explosive/Boring/Neutral). Use for confluence.
Trading Logic Example:
Entry:
Buy: After a boring candle above EMA and near demand, next bar closes above boring high and EMA (explosive).
Sell: Opposite.
Stop-loss:
Below/above the boring candle wick or nearest S/D zone.
Take Profit:
Fixed RR, or at next S/D level.
🧘 Daily Mindset Reminder🧘 Daily Trading Mindset Reminder – Stay Calm, Stay Disciplined
📌 Description:
This simple yet powerful indicator is designed to help intraday and options traders start their trading day with clarity, discipline, and purpose. At exactly 9:15 AM, it displays a calming checklist label on your chart to reinforce essential trading principles and avoid emotional decision-making.
✅ Use it as a daily anchor to:
Stay emotionally centered and focused
Avoid overtrading or impulsive reactions
Remember your pre-trade plan and stop-loss rules
Trade with purpose – not prediction
📋 Checklist Included:
✅ Calm Mind
✅ No Predictions – Just Reactions
✅ Trade Setup Ready
✅ Risk Defined
✅ Journal On
✅ Goal: Trade Well, Not Just Profit
🛠️ Works on any timeframe and chart. Non-intrusive and customizable.
🌟 Who Is It For?
Intraday Traders
Options Buyers (Bank Nifty, Nifty, Fin Nifty)
Discretionary Traders who want mental clarity and discipline
🧭 Why You Need It
Most traders lose not because of lack of strategy, but due to lack of mindset control. This simple tool keeps you grounded and reminds you of what matters before you place that first trade.
✨ “Mindset is the real edge. Let this script be your daily compass.”
SHYY TFC Candles_Confirmation X 4TF)SHYY Real-Time FTC Confirmation is a multi-timeframe trend alignment tool designed to provide real-time confirmation of market direction across up to four configurable timeframes. Unlike traditional tools that rely on closed candles, this version uses in-progress bars to detect live momentum, allowing traders to respond as trends are forming rather than after they are confirmed.
This script checks the current price direction on each selected timeframe by comparing the current close to the open of the same candle. A timeframe is considered bullish if the close is above the open, bearish if below, and neutral if equal. If all enabled timeframes are aligned in the same direction, the current chart candle is colored accordingly.
White candles indicate that all selected timeframes are currently bullish. Yellow candles indicate that all selected timeframes are currently bearish. If the timeframes are not fully aligned, the candle remains uncolored.
Each of the four timeframes can be configured individually in the settings panel. Users can also enable or disable each timeframe independently using checkboxes, allowing flexibility in how the confirmation logic is applied.
The script uses a single request.security() call per timeframe with lookahead enabled, so that the information shown reflects the live status of each timeframe’s bar, not just completed ones. This makes it suitable for real-time decision-making and strategy filtering.
This tool can assist scalpers, trend followers, and breakout traders in aligning trades with broader market direction. It can be used as a standalone trend filter or in conjunction with other indicators and strategies.
No external dependencies or overlays are required.
This is an original script, built to provide real-time, multi-timeframe confirmation using a clean and efficient approach.
Oscilador de Sentimiento PROUser Manual: Indicator "Dinámicas de Mercado Pro" (DMP)
Author: @Profit_Quant
Created by: Gemini AI (2025)
User Manual (English):RSI Sentiment Oscillator PRO
1. General Concept
The "RSI Sentiment Oscillator PRO" is an advanced RSI-type indicator designed to measure the momentum and strength of market sentiment. Unlike a simple line oscillator, this indicator uses a dynamic-width band that visually expands and contracts with the intensity of the sentiment. Its most powerful feature is the automatic detection of four types of divergences, which are key signals for identifying potential trend reversals or continuations.
2. Main Components and Their Interpretation
a) The Oscillator Band (Dynamic Width)
What it is: The main representation of the indicator. It's not just a line, but a filled band.
Dynamic Width: This is its unique feature. The band widens as sentiment becomes more extreme (near overbought at 100 or oversold at 0) and narrows near the neutral zone (50). This gives you an immediate visual sense of the "pressure" or "strength" of the current sentiment.
Band Colors:
Green: The oscillator is in the oversold zone (below 30). Sentiment is extremely bearish, which could precede a bounce.
Red: The oscillator is in the overbought zone (above 70). Sentiment is extremely bullish, which could precede a correction.
Blue: The oscillator is in a neutral zone.
b) Divergence Detection (Key Signals)
Divergences occur when the price and the oscillator move in opposite directions. They are among the most powerful signals in technical analysis.
Regular Divergences (Trend Reversal Signals)
Regular Bullish Divergence (Green):
What to look for: The price makes a lower low, but the oscillator makes a higher low.
Meaning: The price is still falling, but the momentum of the fall is exhausting. It's a potential signal that the downtrend is ending and could reverse to the upside.
Label: Bull Div
Regular Bearish Divergence (Red):
What to look for: The price makes a higher high, but the oscillator makes a lower high.
Meaning: The price is still rising, but the momentum of the rise is weakening. It's a potential signal that the uptrend is losing steam and could reverse to the downside.
Label: Bear Div
Hidden Divergences (Trend Continuation Signals)
Hidden Bullish Divergence (Yellow):
What to look for: The price makes a higher low (a pullback in an uptrend), but the oscillator makes a lower low.
Meaning: The current pullback is a "buy the dip" opportunity to join the main uptrend. It indicates that the uptrend is likely to continue.
Label: Bull Hid
Hidden Bearish Divergence (Orange):
What to look for: The price makes a lower high (a rally in a downtrend), but the oscillator makes a higher high.
Meaning: The current rally is a "sell the rally" opportunity to join the main downtrend. It indicates that the downtrend is likely to continue.
Label: Bear Hid
3. Trading Strategies
Reversal Trading: Use Regular Divergences as your primary signal. A green Bull Div in the oversold zone is a powerful buy signal. A red Bear Div in the overbought zone is a powerful sell signal.
Continuation Trading: Use Hidden Divergences to enter in the direction of the trend. A yellow Bull Hid during a pullback in an uptrend confirms that it's a good time to buy.
Volume Filter: By default, the indicator requires the volume on the second pivot of a regular divergence to be lower. This increases the reliability of the signal, as it confirms the "loss of conviction" in the price move.
4. Final Disclaimer
Divergences are high-probability signals, not certainties. Always use this indicator in confluence with your own analysis of market structure, support, resistance, and strict risk management.
es.tradingview.com
🚀PriceAction & SmartMoney ∞ Galaxy [VNFlow]Contact and discussion to use advanced tools to support your trading strategy
Email: hasobin@outlook.com
Phone: 0373885338
See you,
👽 PriceAction & SmartMoney ∞ Galaxy [VNFlow]Contact and discussion to use advanced tools to support your trading strategy
Email: hasobin@outlook.com
Phone: 0373885338
See you,
Dinámicas de Mercado ProUser Manual: Indicator "Dinámicas de Mercado Pro" (DMP)
Author: @Profit_Quant
Created by: Gemini AI (2025)
1. General Concept
The "Dinámicas de Mercado Pro" indicator is an all-in-one technical analysis tool designed to be overlaid directly onto your price chart. Its goal is to provide a clear and concise view of the market structure by combining three crucial trading elements:
The Overall Trend: What is the main direction of the market?
Liquidity Zones: Where is the price likely to react (supports and resistances)?
Breakout Momentum: When is the price breaking out of a range with force and volume?
By integrating these components, the DMP helps you make more informed trading decisions by identifying high-probability zones for entering or exiting trades.
2. Essential Step! - Initial Chart Setup
For the indicator to work as designed, it is essential to hide the original candles of the TradingView chart.
The indicator already draws its own candles with the market sentiment colors. If you do not hide the original ones, you will see both sets of candles overlapping, which will make the chart confusing and unreadable.
How to hide the chart's candles?
There are two simple ways:
Method 1 (Recommended):
Once you have the "DMP" indicator on your chart, look for the symbol's name in the top-left corner of your screen (e.g., BTCUSD, EURUSD, etc.).
Right next to the name, you will see an eye icon (👁️).
Click that eye icon to hide the main symbol (the original candles, bars, or lines). The chart will become clean, showing only the candles drawn by the DMP indicator.
Method 2 (Alternative):
Click the gear icon (⚙️) for the chart settings.
Go to the "Symbol" tab.
Uncheck the boxes for "Body," "Borders," and "Wicks," or set their opacity to 0%.
3. Main Components and Their Interpretation
The indicator has 3 key visual components you need to understand.
a) Supply and Demand Zones (Order Blocks)
These are the colored rectangles drawn automatically on the chart.
What are they?: They represent zones where there was a strong imbalance between buyers and sellers, often caused by the activity of large institutions.
Demand Zone (Blue Rectangle): A potential support zone. When the price returns to this area, buying pressure is expected to increase, pushing the price up.
Supply Zone (Red Rectangle): A potential resistance zone. When the price reaches this area, selling pressure is expected to increase, pushing the price down.
Mitigated Zone (Gray Rectangle): When the price touches a supply or demand zone, it becomes "mitigated," meaning the liquidity in that zone has already been used. The zone turns gray to indicate that it is less reliable and the price is more likely to break through it in the future.
b) Candle Coloring (Market Sentiment)
The chart candles will change color based on a priority system to give you an instant read of market sentiment.
Green Candles (Uptrend): Indicate that the price is above the long-term Exponential Moving Average (EMA) (200 by default). This suggests the overall trend is bullish, and you should look for buying opportunities.
Red Candles (Downtrend): Indicate that the price is below the 200 EMA. This suggests the overall trend is bearish, and you should look for selling opportunities.
White Candles (Bullish Breakout): Alert! This occurs when the price breaks a recent range high AND is accompanied by above-average volume. It's a strong sign of bullish momentum.
Purple Candles (Bearish Breakout): Alert! This occurs when the price breaks a recent range low with high volume. It's a strong sign of bearish momentum.
Gray Candles (Neutral): Appear when the price is very close to the 200 EMA, indicating indecision or consolidation in the market. This is a time for caution.
c) Probability Paths (Price Targets)
These are the dashed lines projected from the last real-time candle.
Demand Path (Blue Dashed Line): Points from the current price to the center of the nearest unmitigated demand zone. It acts as a potential support target.
Supply Path (Red Dashed Line): Points from the current price to the center of the nearest unmitigated supply zone. It acts as a potential resistance target.
4. Basic Trading Strategies
Confluence Strategy: Look for buying opportunities when the price pulls back to a blue demand zone while the candles are green (uptrend). Look for selling opportunities when the price rallies to a red supply zone with red candles (downtrend).
Breakout Strategy: Use the white or purple candles as an aggressive entry signal in the direction of the breakout. The stop-loss could be placed on the other side of the breakout candle.
Range Strategy: When the price is trapped between a clear supply and demand zone (with no breakout candles), you can trade the bounces between them until one zone is broken with a white or purple candle, signaling the end of the range.
5. Indicator Settings (Parameters)
You can customize every aspect of the indicator in its settings panel (the options are self-explanatory in the indicator's menu).
👽 PriceAction & SmartMoney ∞ Galaxy [VNFlow]Contact and discussion to use advanced tools to support your trading strategy
Email: hasobin@outlook.com
Phone: 0373885338
See you,
Liquidity Rush (VWAP × Avg Daily Vol in Cr)dfsdfsdfsdfsdethrfgjnhgxnbfghshsrhdfhdfhgfhgsfhsdghsdghgfh
SOT & SA Detector ProSOT & SA Detector Pro- Advanced Reversal Pattern Recognition
OVERVIEW
The SOT & SA Detector is an educational indicator designed to identify potential market reversal points through systematic analysis of candlestick patterns, volume confirmation, and price wave structures. SOT (Shorting of Thrust) signals suggest potential bearish reversals after upward price movements, while SA (Selling Accumulation) signals indicate possible bullish reversals following downward trends. This tool helps traders recognize key market transition points by combining multiple technical criteria for enhanced signal reliability.
═══════════════════════════════════════════════════════════════
HOW IT WORKS
Technical Methodology
The indicator employs a multi-factor analysis approach that evaluates:
Wave Structure Analysis: Identifies minimum 2-bar directional waves (upward for SOT, downward for SA)
Price Delta Validation: Ensures closing price changes remain within specified percentage thresholds (default 0.3%) best 0.1.
Candlestick Tail Analysis: Measures rejection wicks using configurable tail multipliers
Volume Confirmation: Requires increased volume compared to previous periods
Pattern Confirmation: Validates signals through subsequent price action
Signal Generation Process
Pattern Recognition: Scans for qualifying candlestick formations with appropriate tail characteristics
Volume Verification: Confirms patterns with volume expansion using adjustable multiplier
Price Confirmation: Validates signals when price breaks and closes beyond pattern extremes
Signal Display: Places labeled markers and draws horizontal reference levels
Mathematical Foundation
Delta calculation: math.abs(close - close ) / close <= deltaPercent / 100
Tail analysis: (high - close ) >= tailMultiplier * (close - low ) for SOT
Volume filter: volume >= volume * volumeFactor
═══════════════════════════════════════════════════════════════
KEY FEATURES
Dual Pattern Recognition: Identifies both bullish (SA) and bearish (SOT) reversal candidates
Volume Integration: Incorporates volume analysis for enhanced signal validation
Customizable Parameters: Adjustable wave length, delta percentage, tail multiplier, and volume factor
Visual Clarity: Color-coded bar highlighting, labeled signals, and horizontal reference levels
Time-Based Filtering: Configurable analysis period to focus on recent market activity
Non-Repainting Signals: Confirmed signals remain stable and do not change with new price data
Alert System: Built-in notifications for both initial signals and subsequent confirmations
═══════════════════════════════════════════════════════════════
HOW TO USE
Signal Interpretation
Red SOT Labels: Appear above potential bearish reversal candles with downward-pointing markers
Green SA Labels: Display below potential bullish reversal candles with upward-pointing markers
Horizontal Lines: Extend from signal levels to provide ongoing reference points
Bar Coloring: Highlights qualifying pattern candles for visual emphasis
Trading Application
This indicator serves as an educational tool for pattern recognition and should be used in conjunction with additional analysis methods. Consider SOT signals as potential areas of selling pressure following upward moves, while SA signals may indicate buying interest after downward price action.
Best Practices
Combine with trend analysis and support/resistance levels
Consider overall market context and timeframe alignment
Use proper risk management techniques
Validate signals with additional technical indicators
═══════════════════════════════════════════════════════════════
SETTINGS
Analysis Days (Default: 20)
Controls the lookback period for signal detection. Higher values extend historical analysis while lower values focus on recent activity.
Minimum Bars in Wave (Default: 2)
Sets the minimum consecutive bars required to establish directional wave patterns. Increase for stronger trend confirmation.
Max Close Change % (Default: 0.3) best 0.1.
Defines acceptable closing price variation between consecutive bars. Lower values require tighter price consolidation.
Tail Multiplier (Default: 1.0) best 1.5 or more.
Adjusts sensitivity for candlestick tail analysis. Higher values require more pronounced rejection wicks.
Volume Factor (Default: 1.0)
Sets volume expansion threshold compared to previous period. Values above 1.0 require volume increases.
═══════════════════════════════════════════════════════════════
LIMITATIONS
Market Conditions
May produce false signals in highly volatile or low-volume conditions
Effectiveness varies across different market environments and timeframes
Requires sufficient volume data for optimal performance
Signal Timing
Signals appear after pattern completion, not in real-time during formation
Confirmation signals depend on subsequent price action
Historical signals do not guarantee future market behavior
Technical Constraints
Limited to analyzing price and volume data only
Does not incorporate fundamental analysis or external market factors
Performance may vary significantly across different trading instruments
═══════════════════════════════════════════════════════════════
IMPORTANT DISCLAIMERS
This indicator is designed for educational purposes and technical analysis learning. It does not constitute financial advice, investment recommendations, or trading signals. Past performance does not guarantee future results. Trading involves substantial risk of loss, and this tool should be used alongside proper risk management techniques and additional analysis methods.
Always conduct thorough analysis using multiple indicators and consider market context before making trading decisions. The SOT & SA patterns represent potential reversal points but do not guarantee price direction changes.
═══════════════════════════════════════════════════════════════
Credits: Original concept and Pine Script implementation by Everyday_Trader_X
Version: Pine Script v6 compatible
Category: Technical Analysis / Reversal Detection
Overlay: Yes (displays on price chart)
Market Cipher Style Divergence DetectorMarket Cipher B Divergence Indicator — Description
This indicator is a custom implementation inspired by Market Cipher B, focusing on detecting bullish and bearish divergences between price action and a composite oscillator.
Key Features:
Composite Oscillator: Combines WaveTrend, RSI, and Stochastic RSI to mimic Market Cipher B’s momentum oscillator.
Pivot Detection: Automatically identifies swing highs and lows in price to locate potential reversal points.
Divergence Signals:
Regular Bullish Divergence: Price forms lower lows while oscillator forms higher lows — indicating potential bullish reversal.
Hidden Bullish Divergence: Price forms higher lows while oscillator forms lower lows — signaling continuation of an uptrend.
Regular Bearish Divergence: Price forms higher highs while oscillator forms lower highs — signaling potential bearish reversal.
Hidden Bearish Divergence: Price forms lower highs while oscillator forms higher highs — indicating continuation of a downtrend.
Price Chart Alerts: Divergence signals are plotted directly on the price chart for easy visual identification.
Customizable Pivot Lookbacks: User inputs allow tuning sensitivity for pivot detection and signal frequency.
Oscillator Plot: The underlying oscillator is plotted for reference, providing insight into momentum strength.
Intended Use:
This tool is designed to help traders spot early trend reversals and continuations by identifying divergences, which are powerful signals often missed by simple momentum indicators alone.
Note:
As with any technical indicator, divergences should be confirmed with additional tools or price action analysis to reduce false signals.
9 EMA & 150 EMA Crossover Arrows//@version=5
indicator("9 EMA & 150 EMA Crossover Arrows", overlay=true)
// EMA definitions
ema9 = ta.ema(close, 9)
ema150 = ta.ema(close, 150)
// Candle conditions
isBullish = close > open
isBearish = close < open
// Crossover logic
bullishCross = ta.crossover(ema9, ema150)
bearishCross = ta.crossunder(ema9, ema150)
// Entry conditions
bullishSignal = bullishCross and isBullish and close >= ema9
bearishSignal = bearishCross and isBearish and close <= ema9
// Plot arrows
plotshape(bullishSignal, title="Bullish Entry", location=location.belowbar, color=color.green, style=shape.arrowup, size=size.small)
plotshape(bearishSignal, title="Bearish Entry", location=location.abovebar, color=color.red, style=shape.arrowdown, size=size.small)
// Plot EMAs
plot(ema9, color=color.orange, title="EMA 9")
plot(ema150, color=color.blue, title="EMA 150")
MACD-VWAP-BB Oscillator with DivergenceHow to Use the Indicator for Trading
Here’s how to interpret and use the indicator’s signals as a beginner:
Look for Buy Signals:
Green Triangle Up (“BUY”):
Appears when MACD, VWAP, and Bollinger Bands all signal a strong bullish trend.
The ribbon turns green, and the background fill is green.
Action: Consider buying the asset, as this is a strong signal the price may rise.
Example: If you see a green triangle on a 1-hour chart for BTC/USD, it suggests a potential upward move.
Green Circle (“Div Buy”):
Indicates a bullish divergence, where the price is dropping, but the indicator suggests the downtrend may weaken or reverse.
This is a weaker signal than the triangle but can be an early warning of a trend change.
Action: Watch closely or consider a smaller buy position, especially if followed by a triangle signal.
Look for Sell Signals:
Red Triangle Down (“SELL”):
Appears when all three indicators signal a strong bearish trend.
The ribbon turns red, and the background fill is red.
Action: Consider selling or shorting the asset, as the price may fall.
Example: A red triangle on a stock chart suggests it’s time to exit a long position or go short.
Red Circle (“Div Sell”):
Indicates a bearish divergence, where the price is rising, but the indicator suggests the uptrend may weaken or reverse.
Action: Be cautious with long positions or consider preparing to sell, especially if a triangle signal follows.
Check the Ribbon and Background:
Green Ribbon and Fill: Confirms a bullish trend. Feel more confident in buy signals.
Red Ribbon and Fill: Confirms a bearish trend. Feel more confident in sell signals.
The ribbon’s spread (how far apart the lines are) shows trend strength: wider = stronger trend, tighter = weaker trend.
Use Divergence Signals for Early Warnings:
Divergence signals (circles) often appear before triangle signals, hinting at potential reversals.
Example: A green circle (“Div Buy”) on a downtrending chart suggests the price might stop falling soon. Wait for a green triangle to confirm before acting.
Choose a Timeframe:
Short-term traders (day trading): Use shorter timeframes like 5-minute, 15-minute, or 1-hour charts.
Swing traders: Use 4-hour or daily charts for signals that last days or weeks.
Long-term investors: Use daily or weekly charts for bigger trends.
Example: On a 4-hour chart, a green triangle might signal a trend lasting hours to days.
Combine with Price Action:
Don’t rely on the indicator alone. Look at the candlesticks:
Are there support/resistance levels nearby?
Is the price near a key level (e.g., a moving average or trendline)?
Use the indicator to confirm what you see in the price chart.
Risk Management:
Set Stop-Losses: Place a stop-loss below recent lows for buys or above recent highs for sells to limit losses.
Position Sizing: Only risk a small portion of your account (e.g., 1-2%) per trade.
Wait for Confirmation: Triangle signals are stronger than divergence signals. Consider waiting for a triangle before entering a trade, especially as a beginner.
Example Trading Scenario
Let’s say you’re trading EUR/USD on a 1-hour chart:
You see a green circle (“Div Buy”) at the bottom of the indicator panel, and the price is near a support level (a price where it stopped falling before).
This suggests a potential reversal, but it’s not confirmed yet.
Action: Watch closely but don’t enter a trade yet.
A few candles later, a green triangle (“BUY”) appears, the ribbon turns green, and the background fill is green.
This confirms a strong bullish signal (MACD, VWAP, and Bollinger Bands all agree).
Action: Enter a buy trade, set a stop-loss below the recent low, and aim for a target near a resistance level or a 1:2 risk-reward ratio.
Later, you see a red circle (“Div Sell”) while the price is still rising.
This warns that the uptrend might weaken.
Action: Tighten your stop-loss or prepare to exit if a red triangle appears.
A red triangle (“SELL”) appears, with the ribbon and fill turning red.
Action: Exit the buy trade or consider a short position.
Tips for Beginners
Start with a Demo Account: Practice using the indicator on a TradingView paper trading account or a broker’s demo account to avoid risking real money.
Test on Different Assets: Try the indicator on stocks, forex, or crypto to see where it performs best.
Avoid Overtrading: Wait for clear triangle signals for stronger trades. Divergence signals (circles) are less reliable, so use them as warnings.
Learn Basic Chart Patterns: Combine the indicator with simple patterns like support/resistance or candlestick patterns (e.g., pin bars) for better results.
Adjust Settings Carefully: The default settings (e.g., MACD 12,26,9; ribbon 8,13,21,34) are balanced, but you can tweak them in the indicator settings to match your trading style.
Common Questions
What timeframe should I use?
It depends on your trading style. Day traders might use 5-minute or 1-hour charts; swing traders might use 4-hour or daily charts. Test different timeframes to find what suits you.
Are divergence signals reliable?
Divergence signals (green/red circles) are early warnings and less reliable than triangle signals. Use them to prepare for a trade but wait for triangles for confirmation.
Can I use this on any asset?
Yes! It works on stocks, forex, crypto, or commodities. Adjust settings like pivotLookback or smoothWavy for volatile assets like crypto.
What if I see conflicting signals?
If a green circle appears but no green triangle, the trend isn’t confirmed yet. Wait for alignment of all indicators (triangle signal) for stronger trades.
How to Customize (Optional)
If you want to tweak the indicator:
Open the indicator settings (double-click its name on the chart).
Adjust Pivot Lookback for Divergence (default 5) to make divergence signals more frequent (smaller number) or less frequent (larger number).
Change Signal Line Smoothing Period (default 9) for a smoother or wavier signal line.
Modify EMA Ribbon Periods (default 8,13,21,34) for a tighter or wider ribbon.
150 EMA Crossover with Confirmation Candle//@version=5
indicator("150 EMA Crossover with Confirmation Candle", overlay=true)
// Define EMAs
ema9 = ta.ema(close, 9)
ema150 = ta.ema(close, 150)
// Conditions
bullishCandle = close > open
bearishCandle = close < open
emaCrossUp = ta.crossover(ema9, ema150)
emaCrossDown = ta.crossunder(ema9, ema150)
// Buy Signal
buySignal = emaCrossUp and bullishCandle and close >= ema9
// Sell Signal
sellSignal = emaCrossDown and bearishCandle and close <= ema9
// Plot EMAs
plot(ema9, color=color.orange, title="EMA 9")
plot(ema150, color=color.blue, title="EMA 150")
// Plot signals
plotshape(buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.arrowup, size=size.small)
plotshape(sellSignal, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.arrowdown, size=size.small)
Adaptive Quadratic Kernel EnvelopeThis study draws a fair-value curve from a quadratic-weighted (Nadaraya-Watson) regression. Alpha sets how sharply weights decay inside the look-back window, so you trade lag against smoothness with one slider. Band half-width is ATRslow times a bounded fast/slow ATR ratio, giving an instant response to regime shifts without overshooting on spikes. Work in log space when an instrument grows exponentially, equal percentage moves then map to equal vertical steps. NearBase and FarBase define a progression of adaptive thresholds, useful for sizing exits or calibrating mean-reversion logic. Non-repaint mode keeps one-bar delay for clean back-tests, predictive mode shows the zero-lag curve for live decisions.
Key points
- Quadratic weights cut phase error versus Gaussian or SMA-based envelopes.
- Dual-ATR scaling updates width on the next bar, no residual lag.
- Log option preserves envelope symmetry across multi-decade data.
- Alpha provides direct control of curvature versus noise.
- Built-in alerts trigger on the first adaptive threshold, ready for automation.
Typical uses
Trend bias from the slope of the curve.
Entry timing when price pierces an inner threshold and momentum stalls.
Breakout confirmation when closes hold beyond outer thresholds while volatility expands.
Stops and targets anchored to chosen thresholds, automatically matching current noise.
Lọc nhiễu MACD [VNFlow]Contact and discuss to use advanced tools to support your trading strategy
Email: hasobin@outlook.com
Phone: 0373885338
See you,
EMA Touch with 9 EMA Filter//@version=5
indicator("EMA Touch with 9 EMA Filter", overlay=true)
ema9 = ta.ema(close, 9)
ema100 = ta.ema(close, 100)
ema150 = ta.ema(close, 150)
// Candle colors
isGreen = close > open
isRed = close < open
// Candle body or wick touching both EMA 100 and EMA 150
touchesBothEMAs = (low <= ema100 and high >= ema100) and (low <= ema150 and high >= ema150)
// Green arrow condition
greenArrowCond = isGreen and touchesBothEMAs and (ema9 > ema100 and ema9 > ema150)
// Red arrow condition
redArrowCond = isRed and touchesBothEMAs and (ema9 < ema100 and ema9 < ema150)
// Plotting arrows
plotshape(greenArrowCond, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="▲")
plotshape(redArrowCond, title="Sell Signal", location=location.abovebar, color=color.red, style=shape.labeldown, text="▼")
// Optional: Plot EMAs
plot(ema9, title="EMA 9", color=color.orange)
plot(ema100, title="EMA 100", color=color.blue)
plot(ema150, title="EMA 150", color=color.purple)
Triple-Filter ConfirmationTriple-Filter Confirmation System
This indicator generates high-probability trading signals based on a 3-layer filtering approach:
🔹 Trend Filter – Uses a 200-period EMA slope to confirm bullish or bearish bias.
🔹 Momentum Filter – Uses MACD histogram direction for secondary confirmation.
🔹 Volatility Filter – Filters out weak setups using ATR percentile rank (relative to last 100 bars).
✅ Signal appears only when all filters align, avoiding noise and low-confidence zones.
🚫 If any filter disagrees, no signal is shown — preserving capital through discipline.
💡 Works across any timeframe and asset. Use it alongside price action, support/resistance, and sound risk management.
Created for educational and research purposes — not financial advice.
Ultimate Synergy IndicatorA high-probability environment (the Zone)
A sharp rejection pattern inside that zone (the Trigger)
Only when both happen at the same moment does it flash a BUY or SELL arrow.
Volume VA with POC Based Percent DeviationsThis is a slightly different take on my previous version that plotted fibonacci retracement levels based on the POC to value area high/low.
This indicator is also based on the volume value area that plots developing POC, VAH, and VAL as well as historical levels. However, instead of plotting fib levels, this script automatically projects percentage deviation levels from the current POC. This can help identify potential overextensions, target areas, or mean-reversion setups.
Knowing where price is and the change in price relative to areas of interest can help identify true value and market imbalances. Hence the name VALUE AREA :)
The percent deviation levels are dynamically plotted in relation to the developing POC. As POC shifts so do the % levels.
Gradient Value Area Fill: Instead of a static color, the Value Area is filled with a dynamic gradient. The adjustable color and transparency shift is based on the current price's distance from the POC, giving you an intuitive feel for where price is relative to the POC.
Enjoy!
"May the fourth leaf bring you extra luck!" 🍀