Smart Money Toolkit - PD Engine Bias Map [KedArc Quant]📄 Description
Smart Money Toolkit is an advanced multi-layer Smart Money Concepts framework that automatically detects structure shifts, premium-discount zones, and institutional order flow.
It’s built around the PD Engine, which calculates the midpoint of the most recent market swing and dynamically determines BUY or SELL bias based on where current price trades relative to that equilibrium. This toolkit visualizes structure, order blocks, and bias context in one clean map — giving traders an institutional-grade lens without signal clutter.
💡 Why It’s Unique
* Not a mashup of open-source scripts.
Every module — CHoCH/BOS logic, order-block zone detection, PD bias engine, and structure mapping — is written from scratch to ensure clean, consistent behavior in Pine Script v6.
* Bias engine with true equilibrium logic: The 50% PD (Premium-Discount) zone adapts in real time to the latest swing, giving a live institutional price map.
* Visual precision: Minimalist premium/discount shading, structured labeling (HH, HL, LH, LL, CHoCH), and context tables for clarity.
* Performance-optimized: Handles multiple visual layers (FVG, OB, CHoCH, BOS) efficiently without repainting.
🎯 Entry and Exit Logic (Discretionary Framework)
This toolkit is not a signal generator; it’s a contextual trading framework that guides your decisions.
BUY Bias (Discount Zone)
* Price trades below PD Mid → Market is in *discount*.
* Wait for a bullish CHoCH or rejection from demand OB/FVG before entering long.
* Target 1 = PD Mid; Target 2 = next opposing OB/FVG.
SELL Bias (Premium Zone)
* Price trades above PD Mid → Market is in *premium*.
* Wait for a bearish CHoCH or rejection from supply OB/FVG before shorting.
* Target 1 = PD Mid; Target 2 = next opposing OB/FVG.
This sequence enforces the institutional concept:
> Bias → Structure Shift → Confirmation → Execution
⚙️ Input Configuration
Setting Description
Swing Sensitivity Controls how far back to look for HH/LL pivots.
OB/FVG Detection Enable or disable visual order block or fair-value-gap zones.
PD Engine Toggles PD midpoint line, zone shading, and bias table.
Multi-TF Bias Sync Optionally reads higher-time-frame bias to confirm entries.
Color Themes Switch between Light / Dark / Institutional color sets.
All inputs are modular — you can show only the components you use (e.g., disable BOS/CHoCH labels or hide OB zones for a clean view).
🧮 Formula / Logic Summary
Concept Formula
PD Mid (Equilibrium) `(Recent Swing High + Recent Swing Low) / 2`
BUY Bias `close < PD Mid`
SELL Bias `close > PD Mid`
CHoCH / BOS Detected via pivot-based structure reversal: HH→LL or LL→HH
Order Block Last bullish/bearish candle before displacement.
Fair Value Gap (FVG) Gap between prior candle’s high/low and next candle’s range.
These formulas align with Smart Money Concepts taught in institutional trading frameworks.
🤝 How It Helps Traders
* Institutional Context: Instantly visualize premium vs. discount regions — see where smart money is likely accumulating or distributing.
* Bias Confidence: Removes guesswork — you know whether you should be a buyer or seller based on structure + PD bias.
* Cleaner Decision-Making: Combines all SMC elements (BOS, CHoCH, OB, FVG, PD) in one cohesive visual map.
* Timeframe Agnostic: Works seamlessly on any timeframe or instrument (Forex, Indices, Crypto, Equities).
📚 Glossary
PD Mid (Equilibrium) The midpoint between recent swing high and low — the market’s fair
value.
Premium Zone Price above PD Mid — sellers gain control.
Discount Zone Price below PD Mid — buyers gain control.
CHoCH (Change of Character) First structural signal of possible reversal.
BOS (Break of Structure) Continuation signal confirming trend direction.
OB (Order Block) Institutional candle marking accumulation/distribution.
FVG (Fair Value Gap) Imbalance zone where price moved too quickly — often
rebalanced.
❓ FAQ
Q: Is this a signal generator?
A: No — it’s a contextual framework for professional price-action trading.
Q: Does it repaint?
A: No. All structure points and bias logic are confirmed on bar close.
Q: Can it be used on any market or timeframe?
A: Yes. It’s structure-based, not instrument-specific.
Q: How often does bias change?
A: Only when a new swing high/low forms and PD recalculates — keeping the bias stable.
Q: Can I backtest it?
A: You can build an entry rule (e.g., CHoCH + OB + PD alignment) on top of it for strategy testing.
⚠️ Disclaimer
This script is provided for educational purposes only.
Past performance does not guarantee future results.
Trading involves risk, and users should exercise caution and use proper risk management when applying this strategy.
Indicateurs et stratégies
Daily MA + Guppy EMA Clouds + Bar HighlightsThis script is a modular strength dashboard combining:
- Multi-timeframe MAs
- Guppy clouds
- CPR pivots
- Momentum gauges
- Breakout flags
It’s ideal for traders who want layered confirmation across trend, volatility, and support/resistance zones.
Cycle VTLs – with Scaled Channels "Cycle VTLs – with Scaled Channels" for TradingView plots Valid Trend Lines (VTLs) based on Hurst's Cyclic Theory, connecting consecutive price peaks (downward VTLs) or troughs (upward VTLs) for specific cycles. It uses up to eight Simple Moving Averages (SMAs) (default lengths: 25, 50, 100, 200, 400, 800, 1600, 1600 bars) with customizable envelope bands to detect pivots and draw VTLs, enhanced by optional parallel channels scaled to envelope widths.
Key Features:
Valid Trend Lines (VTLs):
Upward VTLs: Connect consecutive cycle troughs, sloping upward.
Downward VTLs: Connect consecutive cycle peaks, sloping downward.
Hurst’s Rules:
Connects consecutive cycle peaks/troughs.
Must not cross price between points.
Downward VTLs:
No longer-cycle trough between peaks.
Invalid if slope is incorrect (upward VTL not up, downward VTL not down).
Expired VTLs: Historical VTLs (crossed by price) from up to three prior cycle waves.
SMA Cycles:
Eight customizable SMAs with envelope bands (offset × multiplier) for pivot detection.
Channels:
Optional parallel lines around VTLs, width set by channelFactor × envelope half-width.
Pivot Detection:
Fractal-based (pivotPeriod) on envelopes or price (usePriceFallback).
Customization:
Toggle cycles, VTLs, and channels.
Adjust SMA lengths, offsets, colors, line styles, and widths.
Enable centered envelopes, slope filtering, and limit stored lines (maxStoredLines).
Usage in Hurst’s Cyclic TheoryAnalysis:
VTLs identify cycle trends; upward VTLs suggest bullish momentum, downward VTLs bearish.
Price crossing below an upward VTL confirms a peak in the next longer cycle; crossing above a downward VTL confirms a trough.
Trading:
Buy: Price bounces off upward VTL or breaks above downward VTL.
Sell: Price rejects downward VTL or breaks below upward VTL.
Use channels for support/resistance, breakouts, or stop-loss/take-profit levels.
Workflow:
Add indicator on TradingView.
Enable desired cycles (e.g., 50-bar, 1600-bar), adjust pivotPeriod, channelFactor, and showOnlyCorrectSlope.
Monitor VTL crossings and channels for trade signals.
NotesOptimized for performance with line limits.
Ideal for cycle-based trend analysis across markets (stocks, forex, crypto).
Debug labels show pivot counts and VTL status.
This indicator supports Hurst’s Cyclic Theory for trend identification and trading decisions with flexible, cycle-based VTLs and channels.
Use global variable to scale to chart. best results use factors of 2 and double. try 2, 4, 8, 16...128, 256, etc until price action fits 95% in smallest cycle.
MNQ TopStep 50K | Ultra Quality v3.0MNQ TopStep 50K | Ultra Quality v3.0 - Publish Summary📊 OverviewA professional-grade trading indicator designed specifically for MNQ futures traders using TopStep funded accounts. Combines 7 technical confirmations with 5 advanced safety filters to deliver high-quality trade signals while managing drawdown risk.🎯 Key FeaturesCore Signal System
7-Point Confirmation: VWAP, EMA crossovers, 15-min HTF trend, MACD, RSI, ADX, and Volume
Signal Grading: Each signal is rated A+ through D based on 7 quality factors
Quality Threshold: Adjustable minimum grade requirement (A+, A, B, C, D)
Advanced Safety Filters (Customizable)
Mean Reversion Filter - Prevents chasing extended moves beyond VWAP bands
ATR Spike Filter - Avoids trading during extreme volatility events
EMA Spacing Filter - Ensures proper trend separation (optional)
Momentum Filter - Requires consecutive directional bars (optional)
Multi-Timeframe Confirmation - Aligns with 15-min trend (optional)
TopStep Risk Management
Real-time drawdown tracking
Position sizing calculator based on remaining cushion
Daily loss limit monitoring
Consecutive loss protection
Max trades per day limiter
Visual Components
VWAP with 1σ, 2σ, 3σ bands
EMA 9/21 with cloud fill
15-min EMA 50 for HTF trend
Comprehensive metrics dashboard
Risk management panel
Filter status panel
Detailed trade labels with entry, stops, and targets
⚙️ Default Settings (Balanced for Regular Signals)Technical Indicators
Fast EMA: 9 | Slow EMA: 21 | HTF EMA: 50 (15-min)
MACD: 10/22/9
RSI: 14 period | Thresholds: 52 (buy) / 48 (sell)
ADX: 14 period | Minimum: 20
ATR: 14 period | Stop: 2x | TP1: 2x | TP2: 3x
Volume: 1.2x average required
Session Settings
Default: 9:30 AM - 11:30 AM ET (adjustable)
Avoids first 15 minutes after market open
Customizable trading hours
Safety Filters (Default Configuration)
✅ Mean Reversion: Enabled (2.5σ max from VWAP)
✅ ATR Spike: Enabled (2.0x threshold)
❌ EMA Spacing: Disabled (can enable for quality)
❌ Momentum: Disabled (can enable for quality)
❌ MTF Confirmation: Disabled (can enable for quality)
Risk Controls
Minimum Signal Quality: C (adjustable to A+ for fewer/better signals)
Min Bars Between Signals: 10
Max Trades Per Day: 5
Stop After Consecutive Losses: 2
📈 Expected PerformanceWith Default Settings:
Signals per week: 10-15 trades
Estimated win rate: 55-60%
Risk-Reward: 1:2 (TP1) and 1:3 (TP2)
With Aggressive Settings (Min Quality = D, All Filters Off):
Signals per week: 20-25 trades
Estimated win rate: 50-55%
With Conservative Settings (Min Quality = A, All Filters On):
Signals per week: 3-5 trades
Estimated win rate: 65-70%
🚀 How to UseBasic Setup:
Add indicator to MNQ 5-minute chart
Adjust TopStep account settings in inputs
Set your risk per trade percentage (default: 0.5%)
Configure trading session hours
Set minimum signal quality (Start with C for balanced results)
Signal Interpretation:
Green Triangle (BUY): Long signal - all confirmations aligned
Red Triangle (SELL): Short signal - all confirmations aligned
Label Details: Shows entry, stop loss, take profit levels, position size, and signal grade
Signal Grade: A+ = Elite (6-7 points) | A = Strong (5) | B = Good (4) | C = Fair (3)
Dashboard Monitoring:
Top Right: Technical metrics and market conditions
Top Left: Filter status (which filters are passing/blocking)
Bottom Right: TopStep risk metrics and position sizing
⚡ Customization TipsFor More Signals:
Lower "Minimum Signal Quality" to D
Decrease ADX threshold to 18-20
Lower RSI thresholds to 50/50
Reduce Volume multiplier to 1.1x
Disable additional filters
For Higher Quality (Fewer Signals):
Raise "Minimum Signal Quality" to A or A+
Increase ADX threshold to 25-30
Enable all 5 advanced filters
Tighten VWAP distance to 2.0σ
Increase momentum requirement to 3-4 bars
For TopStep Compliance:
Adjust "Max Total Drawdown" and "Daily Loss Limit" to match your account
Update "Already Used Drawdown" daily
Monitor the Risk Panel for cushion remaining
Use recommended contract sizing
🛡️ Risk DisclaimerIMPORTANT: This indicator is for educational and informational purposes only.
Past performance does not guarantee future results
All trading involves substantial risk of loss
Use proper risk management and position sizing
Test thoroughly in paper trading before live use
The indicator does not guarantee profitable trades
Adjust settings based on your risk tolerance and trading style
Always comply with your broker's and TopStep's rules
Volume Weighted Average Price Band Extension## Volume Weighted Average Price Band Extension (VWAPb)
**Volume Weighted Average Price Band Extension** is an enhanced VWAP indicator that extends the traditional three-band system to include up to **five configurable standard deviation bands**, making it particularly well-suited for analyzing volatile market conditions where price action frequently extends beyond conventional boundaries.
### Key Features
**Extended Band System**
Unlike standard VWAP indicators that typically offer three bands, this indicator provides five independently configurable bands with customizable multipliers (default: 0.5x, 1.0x, 1.5x, 2.0x, and 3.0x). Each band can be toggled on or off, allowing traders to adapt the display to current market volatility and their specific trading strategy.
**Dual Calculation Modes**
The indicator offers flexibility in how bands are calculated:
- **Standard Deviation Mode**: Traditional statistical approach measuring price dispersion from the VWAP
- **Percentage Mode**: Distance calculated as a percentage of VWAP (1 multiplier = 1%), useful for comparing relative moves across different price levels
**Flexible Anchor Periods**
Calculate VWAP from multiple timeframes and events:
- Time-based: Session, Week, Month, Quarter, Year, Decade, Century
- Event-based: Earnings reports, Dividend announcements, Stock splits
- Customizable source (default: hlc3)
**Visual Clarity**
Color-coded bands with semi-transparent fills between upper and lower boundaries help identify key support and resistance zones at a glance. The indicator automatically hides on daily and higher timeframes when enabled, keeping charts clean.
### Ideal For
- **Volatile Markets**: The extended band system captures extreme price movements that often exceed traditional 2-3 standard deviation bounds
- **Scalping & Day Trading**: Multiple bands provide granular entry and exit zones for short-term trades
- **Mean Reversion Strategies**: Identify overextended price action relative to volume-weighted fair value
- **Institutional Order Flow Analysis**: VWAP remains a key benchmark for institutional execution
### How It Works
The Volume Weighted Average Price represents the average price weighted by volume throughout the selected anchor period. The surrounding bands act as dynamic support and resistance levels, with each successive band representing areas of increasing deviation from the volume-weighted mean. In volatile conditions, price may regularly test the outer bands (2.0x, 3.0x), which would be invisible on standard three-band implementations.
**Trading Applications:**
- Price near outer bands (±2.0x, ±3.0x) may signal exhaustion and potential reversal opportunities
- Price oscillating between inner bands (±0.5x, ±1.0x) indicates consolidation
- VWAP itself acts as a dynamic pivot point—bullish above, bearish below
### Settings Overview
- **VWAP Settings**: Anchor period selection, source input, offset capability, option to hide on D/W/M timeframes
- **Bands Settings**: Toggle each of the five bands independently, adjust multipliers, choose between Standard Deviation or Percentage calculation mode
---
**Note**: This indicator requires volume data to function properly. A runtime error will display if volume data is unavailable for the selected symbol.
**Disclaimer**: This indicator is designed for technical analysis and should be used in conjunction with other forms of analysis and proper risk management. Past performance and indicator signals do not guarantee future results.
Inside Days This script helps us to identify Inside days. Inside days are know as the best consolidation days.
365 DMA Based Multiplier Fibonacci BandsBitcoin Chart
365 DMA Based
Fibonacci 1.0 = Long term trend
Fibonacci 0.5/0.618 = Long term support
Fibonacci 1.618 = Mid term target
Fibonacci 2.618 = Long term target
1m Scalping ATR (with SL & Zones)A universal ATR indicator that anchors volatility to your stop-loss.
Read any market (FX, JPY pairs, Gold/Silver, indices, crypto) consistently—regardless of pip/point conventions and timeframe.
Why this indicator?
Classic ATR is absolute (pips/points) and feels different across markets/TFs. ATR Takeoff normalizes ATR to your stop-loss in pips and highlights clear zones for “quiet / ideal / too volatile,” so you instantly know if a 10-pip SL fits current conditions.
Key features
Auto pip detection (FX, JPY, XAU/XAG, indices, BTC/ETH).
Selectable ATR source: chart timeframe or fixed ATR TF (e.g., “15”, “30”, “60”).
Display modes:
Percent of SL – ATR relative to SL in %, great for M1 (typical 10–30%).
Multiple of SL – ATR as a multiple of SL (e.g., 0.6× / 1.0× / 1.2×).
Panel zones:
Green = “Ready for takeoff” (≤ Low), Yellow = reference (Mid), Red = too volatile (≥ High).
Status badge (top-right): Quiet / ATR ok / Wild, current ATR/SL value, ATR TF used.
Direction-agnostic: Works the same for longs and shorts.
Inputs (at a glance)
Length / Smoothing (RMA/SMA/EMA/WMA): ATR base settings.
Your Stop-Loss (Pips): Reference SL (e.g., 10).
ATR Timeframe (empty = chart): Use chart TF or a fixed TF.
Display Mode: “Percent of SL” or “Multiple of SL.”
Low/Mid/High (Percent Mode): Zone thresholds in % of SL.
Low/Mid/High (Multiple Mode): Zone thresholds in ×SL.
Recommended defaults
Length 14, Smoothing RMA, SL 10 pips
Display Mode: Percent of SL
Low/Mid/High (%): 15 / 20 / 25
ATR Timeframe: empty (= chart) for reactive, or “30” for smoother M30 context with M1 entries.
How to use
Set SL (pips). 2) Choose display mode. 3) Optionally pick ATR TF.
Interpretation:
≤ Low (green): setups allowed.
≈ Mid (yellow): neutral reference.
≥ High (red): too volatile → adjust SL/size or wait.
Note: Auto-pip relies on common ticker naming; verify on exotic symbols.
Disclaimer: For research/education. Not financial advice.
Dynamic Percentage High LowThis script gives a clear percentage wise view of visible high and low on all time frames in your view. It's dynamic.
RSI Core Analysis EngineHI traders
This tool employs a higher-sensitivity RSI than conventional settings to capture market shifts earlier.
When the Ultra Fast RSI (UF) approaches upper or lower extremes, short-term profit-taking or pullbacks tend to occur, and a crossover between UF and the Composite RSI can serve as a signal of a regime change.
However, in strong trends the RSI can remain pinned for extended periods, so combine it with ADX, volume, and volatility measures to improve accuracy.
While early detection is an advantage, it also increases noise. This tool uses a four-stage confirmation process (DMI/ADX → MACD/Stochastics/RSI acceleration → five-layer alignment) and quality/confidence scores to filter for higher-expectancy setups.
It will not be effective in every market condition. Use it with predefined stop-losses and prudent position sizing.
-------------------------------------------------------------------------------------------------------
Strongly recommended preset (because the indicator packs many features):
Step 1 — Inputs tab
Center Level: 50
OB1: 60, OB2: 70, OB3: 95
OS1: 40, OS2: 30, OS3: 5
Step 2 — Style tab
✅ Ultra Fast RSI — Thickest
✖ Fast RSI
✖ Medium RSI
✖ Standard RSI
✖ Slow RSI
✅ Composite RSI — Thickest
✅ Stage Indicator
✖ RSI Velocity
✖ RSI Acceleration
✅ Quality Score
✅ Bullish Cross
✅ Bearish Cross
✅ Strong Signal Background
Levels:
・✅ Center 50 — Thickest
・✅ OB1 60, OB2 70, OB3 95 (thicker)
・✅ OS1 40, OS2 30, OS3 5 (thicker)
-------------------------------------------------------------------------------------------------------------
thats enough
have a nice trade
MTRADE ATR SL FINDERAverage True Range Stop Loss Finder (ATR)
This indicator automatically calculates dynamic stop-loss levels based on market volatility using the Average True Range (ATR) formula.
It provides both Long and Short stop levels derived from ATR values and adapts them in real time as volatility changes.
🔍 Features
Adjustable ATR Length (default: 20)
Four smoothing methods: RMA, SMA, EMA, WMA
Configurable Multiplier (default: 1.5× ATR)
Real-time High (Short Stop) and Low (Long Stop) lines on the chart
A clean on-chart table displaying:
ATR value
High stop level (H)
Low stop level (L)
— all shown with 7-decimal precision for accurate readings
⚙️ Use Cases
Volatility-based stop-loss and take-profit placement
Risk management and trailing-stop automation
Intraday and swing trading systems using ATR-driven exits
🧠 Technical Details
Built in Pine Script v5
Supports up to 7 decimal precision (precision=7)
Works as an overlay, displaying ATR bands directly on price action
Fully customizable colors and smoothing logic
by fiyatherseydir
YM Sniper Overlay (Bias, Levels, VWAP) — Sweeps + R:RPDH/PDL/ONH/ONL that notifies you when breaking or retest
GLOBAL LIQUIDITY PROXY, G5 Total Liquidity (CBBS + M2) - USDG5 Total Liquidity (CBBS + M2) - USD
G5 (US, CN, EU, JP, GB)
Somma Balance Sheet Central Banks e M2 convertiti in USD
MACD-V - Volatility(ATR) normalized MACDThe MACD-V indicator modifies the traditional MACD formula by dividing the difference between the two Exponential Moving Averages (EMAs) by the Average True Range (ATR)
The key advantages of this indicator over MACD are:
Cross-market comparability: The classic MACD gives different readings for different instruments (like a stock versus a commodity) that are not directly comparable. MACD-V's normalization makes momentum readings comparable across different markets.
Time-based stability: Classic MACD readings can't be reliably compared over long periods of time due to changes in an asset's price and volatility. MACD-V's volatility adjustment creates more stable and consistent readings over time.
Reduction of false signals: In sideways or low-momentum markets, the traditional MACD can generate numerous false crossover signals near the zero line. MACD-V filters out these false signals by defining specific "neutral zones," typically between -50 and +50, where crossovers are ignored.
Consistent Thresholds : MACD-V overbought and oversold thresholds (e.g., +150 and -150) are independent of instrument price, allowing for a more objective framework for analyzing momentum.
Oscillator CandlesticksI've always wondered why we don't use candlesticks for oscillators...then I stopped wondering and made an oscillator with candlesticks.
The following oscillators are available as a proof of concept:
* Consumer Channel Index (CCI)
* Rate of Change (ROC)
* Relative Strength Index (RSI)
* Trend Strength Index (TSI)
You can add a moving average to the ohlc4 value of the oscillator and choose the type of the moving average and whether it should be influenced by volume.
EMA Candle ColorEMA Candle Color - Visual EMA-Based Candle Coloring System
Overview:
This indicator provides a visual approach to trend identification by coloring candles based on their relationship with an Exponential Moving Average (EMA). The script dynamically colors both the candle bars and plots custom candles to give traders an immediate visual representation of price momentum relative to the EMA.
How It Works:
The indicator calculates an EMA based on your chosen source (default: open price) and length (default: 10 periods). It then applies a simple yet effective rule:
When the source price is ABOVE the EMA → Candles turn GREEN (bullish)
When the source price is BELOW the EMA → Candles turn RED (bearish)
This instant visual feedback helps traders quickly identify:
Current trend direction
Potential support/resistance levels (the EMA line itself)
Momentum shifts when candles change color
Key Features:
Customizable EMA Parameters: Adjust the EMA length (1-500) and source (open, close, high, low, hl2, hlc3, ohlc4)
Custom Color Selection: Choose your preferred bullish and bearish colors to match your chart theme
Dual Visualization: Both bar coloring and custom plotcandle for enhanced visibility
Offset Capability: Shift the EMA line forward or backward for advanced analysis
Clean Design: Minimal overlay that doesn't clutter your chart
How to Use:
1. Add the indicator to your chart
2. Adjust the EMA Length based on your trading timeframe:
- Shorter periods (5-20) for day trading and scalping
- Medium periods (20-50) for swing trading
- Longer periods (50-200) for position trading
3. Watch for candle color changes as potential entry/exit signals
4. Combine with other indicators for confirmation
Trading Applications:
Trend Following: Stay in trades while candles remain the same color
Reversal Signals: Watch for color changes as early reversal warnings
Filter System: Only take long positions during green candles, shorts during red
Visual Clarity: Quickly assess market sentiment at a glance
Settings:
Length: EMA calculation period (default: 10)
Source: Price data used for EMA calculation (default: open)
Offset: Shift EMA line on chart (default: 0)
Bullish Color: Color for candles above EMA (default: green)
Bearish Color: Color for candles below EMA (default: red)
Technical Details:
The script uses Pine Script v6 and employs the standard ta.ema() function for smooth, responsive EMA calculations. The candle coloring is achieved through both barcolor() and plotcandle() functions, ensuring visibility across different chart settings.
Note:
This indicator works on all timeframes and instruments. For best results, combine with proper risk management and additional confirmation indicators. The EMA Candle Color system is designed to simplify trend identification, not as a standalone trading system.
Tips:
Use on higher timeframes for more reliable signals
Combine with volume analysis for confirmation
Consider using multiple EMA periods for confluence
Disable default candles if using the plotcandle feature to avoid overlap
This script is open-source. Feel free to use it as a foundation for your own trading system or modify it to suit your specific trading style.
DAMMU CANDEL TYPE🧩 Overview
Detects multiple bullish and bearish candlestick patterns.
Plots visual buy/sell signals and labels on chart.
Sends alerts when patterns appear.
Shows table of enabled/disabled patterns.
✅ Main Features
Bullish patterns: Hammer, Inverted Hammer, Bullish Engulfing, Morning Star, Piercing, Dragonfly Doji.
Bearish patterns: Hanging Man, Shooting Star, Bearish Engulfing, Evening Star, Dark Cloud, Gravestone Doji.
Visuals: Green/red arrows and labels.
Alerts: Optional alerts for bullish/bearish signals.
Table: Shows active pattern status.
⚙️ Improvements Suggested
Move table.new outside if block to prevent recreation every bar.
Adjust label position to avoid overlap.
Add “signal strength” (count multiple patterns same bar).
Add MA confirmation for better accuracy.
Upgrade to Pine Script v6 for better performance.
DeepSeek_Multi-Timeframe EMA Strategy BTC_1HStrategy Description: "DeepSeek_Multi-Timeframe EMA Strategy BTC_1H"
This is a trading strategy for TradingView that uses a multi-timeframe Exponential Moving Average (EMA) crossover system to generate trade signals on a 1-hour Bitcoin (BTC) chart.
Core Logic & Trading Rules
The strategy's logic is based on the alignment of two different EMA timeframes:
Higher Timeframe (HTF) Trend Filter: A slower EMA (default: 50) is calculated on a higher timeframe (default: 1D). This defines the primary, long-term trend.
Lower Timeframe (LTF) Signal Trigger: A faster EMA (default: 20) is calculated on the current chart timeframe (1H). This is used for precise entry and exit timing.
Long Entry Conditions (All must be true):
Trend Alignment: The LTF EMA (20) must be above the HTF EMA (50).
Price Position: The current closing price must be above the HTF EMA (50), confirming the bullish trend.
Entry Trigger: The closing price must cross above the LTF EMA (20).
Exit Condition (for Long Positions):
The strategy closes any open long position when:
The LTF EMA (20) is below the HTF EMA (50) (counter-trend), and
The closing price crosses below the LTF EMA (20).
Key Features & Configuration
Strategy Configuration: It uses a strategy script, which can perform backtesting and forward-testing.
Initial Capital: $1,000.
Order Sizing: 100% of equity per trade (default_qty_value = 100).
Pyramiding: Only 1 active position is allowed at a time (pyramiding = 1).
Commission: 0.1% is factored into calculations.
Order Execution: Orders are executed at the close of the 1-hour bar where the signal appears (process_orders_on_close=true).
Visualization:
The HTF EMA (50) is plotted as a thick purple line.
The LTF EMA (20) is plotted as an orange line.
Green upward triangles below the bar indicate Long Entry signals.
Red downward triangles above the bar indicate Exit (Short) signals.
Summary
In essence, this strategy aims to "buy the dip" within a larger uptrend. It waits for the higher timeframe to be bullish, and then enters on a short-term pullback to the faster moving average. It exits the trade when the shorter-term trend turns bearish relative to the longer-term trend. It does not take short/sell positions; it only goes long or is out of the market.
Combined Triggers Dashboard//@version=6
indicator("Combined Triggers Dashboard", overlay=true)
// ======================= INPUTS =======================
// Daily Trigger
shortDEMA_D = input.int(10, "Daily 10 DEMA")
longDEMA_D = input.int(20, "Daily 20 DEMA")
volAvgLen_D = input.int(20, "Daily 20-day Avg Volume")
volMultiplier_D = input.float(3, "Daily Volume Multiplier")
weekDEMAlen_D = input.int(10, "10-Week DEMA Reference for Daily Trigger")
// Weekly Trigger
shortDEMA_W = input.int(10, "Weekly 10 W DEMA")
longDEMA_W = input.int(20, "Weekly 20 W DEMA")
volAvgLen_W = input.int(50, "50-day Avg Volume for Weekly Trigger")
volMultiplier_W = input.float(3, "Weekly Volume Multiplier")
// Original Trigger (example)
shortDEMA_O = input.int(10, "Original 10 DEMA")
longDEMA_O = input.int(20, "Original 20 DEMA")
volAvgLen_O = input.int(20, "Original 20-day Avg Volume")
volMultiplier_O = input.float(3, "Original Volume Multiplier")
// ======================= FUNCTIONS =======================
f_dema(_src, _len) =>
ema1 = ta.ema(_src, _len)
ema2 = ta.ema(ema1, _len)
2 * ema1 - ema2
// ======================= DAILY TRIGGER =======================
dema10D = f_dema(close, shortDEMA_D)
dema20D = f_dema(close, longDEMA_D)
dailyVol = volume
avgVol20 = ta.sma(dailyVol, volAvgLen_D)
volCondition_D = dailyVol > volMultiplier_D * avgVol20
priceCondition_D = close > dema10D
demaCondition_D = dema10D > dema20D
weeklyClose_D = request.security(syminfo.tickerid, "W", close)
dema10W_D = ta.ema(weeklyClose_D, weekDEMAlen_D) * 2 - ta.ema(ta.ema(weeklyClose_D, weekDEMAlen_D), weekDEMAlen_D)
trigger_D = priceCondition_D and demaCondition_D and volCondition_D
plotshape(trigger_D, title="Daily Trigger", style=shape.triangleup, location=location.abovebar,
text="DTRG", textcolor=color.white, color=color.new(#FF4500, 0), size=size.small)
alertcondition(trigger_D, title="Daily DEMA Trigger Alert", message="Daily DEMA trigger detected")
// ======================= WEEKLY TRIGGER =======================
weeklyClose_W = request.security(syminfo.tickerid, "W", close)
dema10W = f_dema(weeklyClose_W, shortDEMA_W)
dema20W = f_dema(weeklyClose_W, longDEMA_W)
dailyVolW = volume
avgVol50 = ta.sma(dailyVolW, volAvgLen_W)
volCondition_W = dailyVolW > volMultiplier_W * avgVol50
priceCondition_W = close > dema20W
demaCondition_W = dema10W > dema20W
trigger_W = priceCondition_W and demaCondition_W and volCondition_W
plotshape(trigger_W, title="Weekly Trigger", style=shape.triangledown, location=location.abovebar,
text="WTRG", textcolor=color.white, color=color.new(#1E90FF, 0), size=size.small)
alertcondition(trigger_W, title="Weekly DEMA Trigger Alert", message="Weekly DEMA trigger detected")
// ======================= ORIGINAL TRIGGER =======================
dema10O = f_dema(close, shortDEMA_O)
dema20O = f_dema(close, longDEMA_O)
dailyVolO = volume
avgVolO = ta.sma(dailyVolO, volAvgLen_O)
volCondition_O = dailyVolO > volMultiplier_O * avgVolO
priceCondition_O = close > dema10O
demaCondition_O = dema10O > dema20O
trigger_Orig = priceCondition_O and demaCondition_O and volCondition_O
plotshape(trigger_Orig, title="Original Trigger", style=shape.labelup, location=location.belowbar,
text="TRG", textcolor=color.white, color=color.new(#32CD32, 0), size=size.small)
// ======================= COMBINED TABLE =======================
var table dash = table.new(position.top_right, 2, 20, border_width=1)
if barstate.islast
// --- DAILY TRIGGER (rows 0-4) ---
table.cell(dash, 0, 0, "Daily Trigger", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 0, trigger_D ? "YES ✅" : "NO ❌", text_color=color.white, bgcolor=trigger_D ? color.new(#FF4500, 0) : color.new(#555555, 50))
table.cell(dash, 0, 1, "CMP > 10D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 1, str.tostring(close, format.price), text_color=color.white, bgcolor=priceCondition_D ? color.new(#32CD32, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 2, "10D > 20D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 2, str.tostring(dema10D, format.price) + " > " + str.tostring(dema20D, format.price), text_color=color.white, bgcolor=demaCondition_D ? color.new(#FFFF00, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 3, "Daily Vol > 3x20D Avg", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 3, str.tostring(dailyVol, format.volume) + " / " + str.tostring(avgVol20, format.volume), text_color=color.white, bgcolor=volCondition_D ? color.new(#FF00FF, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 4, "10W DEMA Ref", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 4, str.tostring(dema10W_D, format.price), text_color=color.white, bgcolor=color.new(#00FFFF, 0))
// --- WEEKLY TRIGGER (rows 5-9) ---
table.cell(dash, 0, 5, "Weekly Trigger", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 5, trigger_W ? "YES ✅" : "NO ❌", text_color=color.white, bgcolor=trigger_W ? color.new(#1E90FF, 0) : color.new(#555555, 50))
table.cell(dash, 0, 6, "CMP > 20W DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 6, str.tostring(close, format.price), text_color=color.white, bgcolor=priceCondition_W ? color.new(#32CD32, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 7, "10W > 20W DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 7, str.tostring(dema10W, format.price) + " > " + str.tostring(dema20W, format.price), text_color=color.white, bgcolor=demaCondition_W ? color.new(#FFFF00, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 8, "Daily Vol > 3x50D Avg", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 8, str.tostring(dailyVolW, format.volume) + " / " + str.tostring(avgVol50, format.volume), text_color=color.white, bgcolor=volCondition_W ? color.new(#FF00FF, 0) : color.new(#AAAAAA, 50))
// --- ORIGINAL TRIGGER (rows 10-14) ---
table.cell(dash, 0, 10, "Original Trigger", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 10, trigger_Orig ? "YES ✅" : "NO ❌", text_color=color.white, bgcolor=trigger_Orig ? color.new(#32CD32, 0) : color.new(#555555, 50))
table.cell(dash, 0, 11, "CMP > 10D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 11, str.tostring(close, format.price), text_color=color.white, bgcolor=priceCondition_O ? color.new(#32CD32, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 12, "10D > 20D DEMA", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 12, str.tostring(dema10O, format.price) + " > " + str.tostring(dema20O, format.price), text_color=color.white, bgcolor=demaCondition_O ? color.new(#FFFF00, 0) : color.new(#AAAAAA, 50))
table.cell(dash, 0, 13, "Daily Vol > 3x20D Avg", text_color=color.white, bgcolor=color.new(#555555, 30))
table.cell(dash, 1, 13, str.tostring(dailyVolO, format.volume) + " / " + str.tostring(avgVolO, format.volume), text_color=color.white, bgcolor=volCondition_O ? color.new(#FF00FF, 0) : color.new(#AAAAAA, 50))
VIX Gauge Overlay (Table + Label + Alerts) by Carlos C.🚨 Official 2025 Update – Corrected VIX Ranges 🚨
This overlay shows the live VIX level with both a table and a large label, including alerts for HIGH FEAR and PANIC zones.
✅ Official ranges applied:
- LOW: 13 – 15
- LIGHT FEAR: 15 – 18
- TRANSITION: 18 – 21
- HIGH FEAR: 21 – 25
- PANIC: ≥ 25
Features:
- Table with VIX ranges and live highlight
- Large optional label with current value
- Color schemes (Normal / Inverted)
- Alerts when entering/exiting HIGH FEAR (21) and PANIC (25)
⚠️ Note: Previous version is deprecated. This v3.1 is the official and corrected release.
ATR SL 10/10 This indicator draws an ATR-based trailing stop on the main chart and shows two compact labels:
• Stop line = Low − (ATR × Multiplier).
• “Today” label: the current bar’s stop price.
• “5-bar Max” label: the highest stop value over the last N bars (rolling window). Labels auto-separate slightly if they overlap so both remain readable.
ATR selection logic
• On confirmed bars (after close): uses today’s ATR.
• In real-time (bar not confirmed): uses max(today’s ATR, yesterday’s ATR) to avoid under-estimating volatility early in the session.
Inputs
• Length: ATR period.
• Smoothing: RMA/SMA/EMA/WMA for ATR.
• Multiplier: stop distance in ATR units.
• Long Base: price source for the long stop (usually Low).
• Show Price Line: toggle the pink stop line.
• Lookback: window for the rolling 5-bar maximum label.
Notes
• Overlay = true; the line scales with the price chart.
• Prices/labels use mintick formatting for clean alignment.
• Works on any timeframe; ATR is computed from the active chart’s bars with the above real-time safeguard.
Larry Williams - Smash Day (SL/TP in %)This strategy implements Larry Williams’ “Smash Day” reversal concept on any symbol and timeframe (daily is the classic). A Smash Day is a bar that closes beyond a recent extreme and then potentially reverses on the next session.