3 EMA cross overThis Pine Script displays the 3 EMA trend status for a list of popular stocks in a dynamic table. It calculates and monitors 13 EMA, 48 EMA, and 200 EMA for each ticker to detect bullish or bearish alignment.
Best Use:
Use this script to quickly scan market trends across multiple stocks and identify potential trade opportunities based on EMA alignment.
Trend Analysis
Momentum Commitment Delta (MCD)What it is
M C D fuses five micro-structure clues into one 0-to-1 score that says, “how hard are traders actually leaning on this move?”
1. Body-Delta Momentum – average net candle body direction.
2. Volume Commitment – up-volume ÷ down-volume over the same window.
3. Wick Compression – shrinking upper/lower wicks = clean conviction.
4. Candle Sequencing – rewards orderly, staircase-style body growth.
5. Pin Ratio – where the close pins inside each candle’s range.
The five factors are multiplied, then auto-normalized so extremes always land near 0 / 1 on any symbol or timeframe.
I recommend tweaking the settings to fit your edge, the pre-loaded settings may not be suitable for most traders. The MCD works on all timeframes as well :)
⸻
How to read basic signals
• Fresh cross above 0.70 → often the birth of a real breakout.
• Cluster of > 0.70 bars → “commitment lock,” pull-backs usually shallow.
• Price makes new high while M C D doesn’t → beware...
• Cross back below 0.30 after a run → momentum is out of fuel.
⸻
Because M C D is multiplicative, it’s hard to hit the extremes—so when the bars light lime green, the print is usually telling the truth.
I personally use the MCD to identify the peak of a high-conviction range, NOT a breakout. If a bar prints over 0.70 (green) and then a range forms off of the bar which exceeded 0.70, the breakout has a high chance to be explosive, regardless of what MCD reads at the breakout inflection point.
Play around with it, im sure there are plenty of other patterns.
Disclaimer: The Momentum Commitment Delta (MCD) indicator is provided strictly for educational and informational purposes. It does not constitute financial or investment advice, nor is it a recommendation to buy or sell any security. Trading involves substantial risk, and you should always perform your own due diligence and consult a qualified financial professional before making any trading decisions. Past performance is not indicative of future results.
Opaline Color ChangeONLY USE for serious full time trading strategy, or running away from Military/City.
Multi Kernel Regression with Alert.
ENTRY CONFIRMATION V2An indicator from candle man. Helps determine whether supply and demand zone are truly supply or demand.
Manual 1H Trend BackgroundThis TradingView Pine Script v6 indicator allows you to manually set the trend direction (based on your analysis of the 1-hour timeframe), and it will change the background color of your chart based on that input:
"Buy" → chart background turns green
"Sell" → chart background turns red
"Neutral" → no background color (transparent)
Ghost Month HighlighterGhost Month and Trading: Understanding the Phenomenon
Ghost Month (鬼月) is the seventh month of the lunar calendar in Chinese culture, typically falling between late July and September. During this period, it's believed that the gates of the afterlife open and spirits roam the earth. This deeply rooted cultural belief has significant implications for Asian markets, particularly in regions with large Chinese populations like Taiwan, Hong Kong, Singapore, and mainland China.
Why Markets Often Decline or Stay Flat During Ghost Month:
Reduced Business Activity : Many businesses avoid launching new products, signing major contracts, or making significant investments during this period, believing it brings bad luck.
Property Market Slowdown : Real estate transactions drop significantly as people avoid moving homes or making large purchases. In some markets, property sales can decline by 20-30%.
IPO and M&A Drought : Companies often delay IPOs and merger announcements until after Ghost Month, reducing market catalysts.
Retail Spending Drops : Consumer spending on big-ticket items decreases, though spending on offerings and religious items increases.
Self-Fulfilling Prophecy : Many traders and investors reduce positions or stay on the sidelines, creating lower volumes and increased volatility. This becomes a self-fulfilling prophecy where expectation of poor performance leads to actual underperformance.
Tourism and Entertainment Impact : Travel and entertainment sectors see reduced activity as people avoid unnecessary trips and celebrations.
Historical data shows that Asian equity markets often underperform during Ghost Month, with some studies indicating average returns can be 2-5% lower than other months. However, this also creates opportunities for contrarian investors who buy during the seasonal weakness.
Inspired by @honey_xbt
Zero Lag Moving AverageThis indicator is a trend detection tool that highlights significant momentum shifts with reduced lag. It uses two smoothed moving averages—fast and medium ZLEMAs—optionally enhanced with a Kalman filter to reduce noise. The indicator defines a bullish trend when the price is above both ZLEMAs, and bearish when it is below both. Rather than signaling every crossover, it focuses on trend changes, triggering buy or sell signals only when the trend flips (e.g., from bearish to bullish) and confirms those shifts with two filters: rising volume (above the 20-bar average) and a strong trend based on the ADX indicator. Visual features include optional candle coloring to reflect trend direction and signal markers (triangles) plotted only during a user-defined trading session. This setup helps traders act only on confirmed, high-quality momentum shifts, reducing false positives in low-volume or ranging markets.
SMC TimingThis indicator (“SMC Timing”) visually marks the exact moments when the market typically experiences large liquidity injections—moments that often trigger strong directional moves. By plotting dashed vertical lines and labels at key session boundaries and news events (Frankfurt open, London open, EU mid-session pause, Pre-US, US open, 14:30 U.S. news releases, 15:00 breakout window, and the London close), it draws your attention to the times when stop-runs and institutional orders tend to pile into the market.
Traders can use these timing zones to:
Anticipate liquidity sweeps where smart-money often liquidates weak positions or hunts stops.
Plan higher-probability entries just before or directly after these injections, reducing slippage and improving execution.
Improve win-rate consistency by aligning your trades with the natural ebb and flow of institutional flow rather than fading it.
With customizable session toggles, a “today-only” filter, and a small vertical offset to keep markers clear of price bars, this tool seamlessly integrates into any chart. Positioning yourself around these highlighted times helps you capture the bulk of intraday moves and avoids getting caught in low-liquidity chop.
BERLIN-MAX 1V.5BERLIN-MAX 1V.5 is a comprehensive trading indicator designed for TradingView that combines multiple advanced strategies and tools. It integrates EMA crossover signals, UT Bot logic with ATR-based trailing stops, customizable stop-loss and target multipliers per timeframe, Hull Moving Averages with color-coded trends, linear regression channels for support and resistance, and a multi-timeframe RSI and volume signal table. This script aims to provide clear entry and exit signals for scalping and swing trading, enhancing decision-making across different market conditions.
Linear Mean Reversion Strategy📘 Strategy Introduction: Linear Mean Reversion with Fixed Stop
This strategy implements a simple yet powerful mean reversion model that assumes price tends to oscillate around a dynamic average over time. It identifies statistically significant deviations from the moving average using a z-score, and enters trades expecting a return to the mean.
🧠 Core Logic:
A z-score is calculated by comparing the current price to its moving average, normalized by standard deviation, over a user-defined half-life window.
Trades are entered when the z-score crosses a threshold (e.g., ±1), signaling overbought or oversold conditions.
The strategy exits positions either when price reverts back near the mean (z-score close to 0), or if a fixed stop loss of 100 points is hit, whichever comes first.
⚙️ Key Features:
Dynamic mean and volatility estimation using moving average and standard deviation
Configurable z-score thresholds for entry and exit
Position size scaling based on z-score magnitude
Fixed stop loss to control risk and avoid prolonged drawdowns
🧪 Use Case:
Ideal for range-bound markets or assets that exhibit stationary behavior around a mean, this strategy is especially useful on assets with mean-reverting characteristics like currency pairs, ETFs, or large-cap stocks. It is best suited for traders looking for short-term reversions rather than long-term trends.
Wx2 Treasure Box – Enter like Institutional Wx2 Treasure Box – Enter like Institutional
✅ Green Treasure Box- Institutional Entry Logic
The core entry signal is based on institutional price action—detecting strong bullish or bearish momentum using custom volume and candle structure logic, revealing when smart money steps into the market.
✅ Orange Treasure Box – Missed Move Entry
Missed the main entry (Green Treasure Box- Institutional Entry Logic)?
Don't worry—this strategy intelligently marks late entry opportunities using the Orange Treasure Box, allowing you to catch high-probability trades even after the initial impulse.
• Designed for retracement-based entries
• Still offers favorable RRR (Risk-Reward Ratio)
• Ideal for traders who miss the first trigger
Note: If you miss the main move, you can enter via the Orange Treasure Box after the market confirms continuation.
🔍 Core Logic
• Identifies Institutional Entry with Institutional Bars (IBs) based on wide-body candles with high momentum
• Detects ideal entry zones where Triggers a Green / Orange Treasure Box for high-probability entries
🎯 Entry Rules
• Buy / Long entry
Plan : Above the Treasure Box (green / orange Box) and bullish candle appears
• Sell /Short entry
Plan : Below the Treasure Box (green / orange Box) and bearish candle appears
• Enter1: (2Lot Size)
Entry with 2 lots: Above Treasure Box (Green / Orange)
• Risk-to-Reward Ratio (RRR):
Target RRR of 1:2 is recommended
Stop Entries are placed using stop orders slightly above / below the Treasure Box
🎯 Add-On Entry on First Pullback
(Optional for Beginners / Compulsory for experienced)
After the first entry, the strategy allows one intelligent add-on position on the first valid pullback, defined by a color change candle followed by a continuation of the trend.
• Detects pullbacks dynamically
• Add-on only triggers once per original entry
• Improves position sizing with trend continuation
💰 Exit Strategy
o TP1 : 1:2
Exit 50% of position (1.5Lot)
Trail SL to entry
o TP2 : 1:3
50% of Remaining Quantity (0.75Lot)
Remaining 25% is trailed
Trailing Stop Loss (SL) using:
8 SMA trailing OR
Bar-by-Bar logic
(whichever is tighter, ensuring maximum profit protection without sacrificing momentum.)
✅ Use Cases
⚙ Best For:
• Scalpers and intraday traders
• Traders who follow Smart Money Concepts (SMC)
• Anyone looking to automate structured trade management
• Works well on crypto, stocks, indices, Forex.
• Works well on any time frame
Central Pivot Range DWMCentral pivot range with camarilla cpr along with previous day high low
you can use the indicator for daily weekly monthly and future ranges
change the setting to get your desire ranges
Buy Sell Sniper Entry Background (based on EP Script by RedK)
Is this one of the most precise Buy Sell Indicators?
Only you can tell!
Based on the EP script by RedK EVEREX this indicator will color your background directly in your chart. Clean, easy, simple.
I did not alter any of their logic, nothing.
Looking for an even more precise entry option?
How about combining it with my first Background Indicator based on Williams Alligator.
The Candle coloring is based on this TUE ADX script
Happy Sniper Trading!
Time-Price Velocity [QuantAlgo]🟢 Overview
The Time-Price Velocity indicator uses advanced velocity-based analysis to measure the rate of price change normalized against typical market movement, creating a dynamic momentum oscillator that identifies market acceleration patterns and momentum shifts. Unlike traditional momentum indicators that focus solely on price change magnitude, this indicator incorporates time-weighted displacement calculations and ATR normalization to create a sophisticated velocity measurement system that adapts to varying market volatility conditions.
This indicator displays a velocity signal line that oscillates around zero, with positive values indicating upward price velocity and negative values indicating downward price velocity. The signal incorporates acceleration background columns and statistical normalization to help traders identify momentum shifts and potential reversal or continuation opportunities across different timeframes and asset classes.
🟢 How It Works
The indicator's key insight lies in its time-price velocity calculation system, where velocity is measured using the fundamental physics formula:
velocity = priceChange / timeWeight
The system normalizes this raw velocity against typical price movement using Average True Range (ATR) to create market-adjusted readings:
normalizedVelocity = typicalMove > 0 ? velocity / typicalMove : 0
where "typicalMove = ta.atr(lookback)" provides the baseline for normal price movement over the specified lookback period.
The Time-Price Velocity indicator calculation combines multiple sophisticated components. First, it calculates acceleration as the change in velocity over time:
acceleration = normalizedVelocity - normalizedVelocity
Then, the signal generation applies EMA smoothing to reduce noise while preserving responsiveness:
signal = ta.ema(normalizedVelocity, smooth)
This creates a velocity-based momentum indicator that combines price displacement analysis with statistical normalization, providing traders with both directional signals and acceleration insights for enhanced market timing.
🟢 How to Use
1. Signal Interpretation and Threshold Zones
Positive Values (Above Zero): Time-price velocity indicating bullish momentum with upward price displacement relative to normalized baseline
Negative Values (Below Zero): Time-price velocity indicating bearish momentum with downward price displacement relative to normalized baseline
Zero Line Crosses: Velocity transitions between bullish and bearish regimes, indicating potential trend changes or momentum shifts
Upper Threshold Zone: Area above positive threshold (default 1.0) indicating strong bullish velocity and potential reversal point
Lower Threshold Zone: Area below negative threshold (default -1.0) indicating strong bearish velocity and potential reversal point
2. Acceleration Analysis and Visual Features
Acceleration Columns: Background histogram showing velocity acceleration (the rate of change of velocity), with green columns indicating accelerating velocity and red columns indicating decelerating velocity. The interpretation depends on trend context: red columns in downtrends indicate strengthening bearish momentum, while red columns in uptrends indicate weakening bullish momentum
Acceleration Column Height: The height of each column represents the magnitude of acceleration, with taller columns indicating stronger acceleration or deceleration forces
Bar Coloring: Optional price bar coloring matches velocity direction for immediate visual trend confirmation
Info Table: Real-time display of current velocity and acceleration values with trend arrows and change indicators
3. Additional Features:
Confirmed vs Live Data: Toggle between confirmed (closed) bar analysis for stable signals or current bar inclusion for real-time updates
Multi-timeframe Adaptability: Velocity normalization ensures consistent readings across different chart timeframes and asset volatilities
Alert System: Built-in alerts for threshold crossovers and direction changes
🟢 Examples with Preconfigured Settings
Default : Balanced configuration suitable for most timeframes and general trading applications, providing optimal balance between sensitivity and noise filtering for medium-term analysis.
Scalping : High sensitivity setup with shorter lookback period and reduced smoothing for ultra-short-term trades on 1-15 minute charts, optimized for capturing rapid momentum shifts and frequent trading opportunities.
Swing Trading : Extended lookback period with enhanced smoothing and higher threshold for multi-day positions, designed to filter market noise while capturing significant momentum moves on 1-4 hour and daily timeframes.
Mara JPY Strength (USDJPY+EURJPY+GBPJPY)/3 + DXYJPY, USDJPY, EURJPY, GBPJPY, smart money, bias, index, forex indicator, DXY, strength meter, professional, trading tool, price action
Mara JPY Bias ProMara JPY Bias Pro™ is a precision tool built for serious traders who focus on JPY and USD pairs.
This synthetic index combines USDJPY + EURJPY + GBPJPY, generating a smooth and dynamic representation of JPY strength or weakness. When the line turns green, JPY is weakening — time to look for LONG setups on XXX/JPY pairs. When red, JPY is strengthening — ideal moment for SHORT trades.
Built-in bias logic with adjustable MA-based trend detection or slope/momentum view lets you customize signals based on your strategy.
Plus, we’ve included a normalized DXY overlay, so you can track USD strength in parallel — perfect for traders working with EUR/USD, GBP/USD, USD/JPY and JPY crosses.
💡 Designed for day traders, scalpers, and smart money traders looking for clean confluence.
✅ Features:
Visual color-coded JPY bias (Green = Long / Red = Short)
Optional USD (DXY) strength overlay
Customizable MA length and bias logic
Built-in alerts for bias shifts & momentum flips
🔔 Alert-ready – never miss a reversal.
Trade smarter. Cut the noise. Stay on the right side of the move.
X1 newbie code trying to create
✅ Script Behavior on Other Stocks
• If you’re on a chart for SYM, it calculates indicators using SYM’s data.
• If you switch to NVDA, AVGO, CRDO, etc., it will automatically update to reflect that ticker’s:
• Price
• 50-day moving average
• Volume
• MACD
• RSI
• Index comparison
with 1. 📊 Volume shows in its own pane
2. ✅ MACD and RSI are included in separate panes (as promised)
3. 🎯 Script works cleanly with any ticker
Price Widget on ScreenSimple yet useful script, to see the PRICE/CHANGE of the chart you are on. I use it in my 6/8 charts screen, so you can see the graph and the price.
Range Filter Strategy [Real Backtest]Range Filter Strategy - Real Backtesting
# Overview
Advanced Range Filter strategy designed for realistic backtesting with precise execution timing and comprehensive risk management. Built specifically for cryptocurrency markets with customizable parameters for different assets and timeframes.
Core Algorithm
Range Filter Technology:
- Smooth Average Range calculation using dual EMA filtering
- Dynamic range-based price filtering to identify trend direction
- Anti-noise filtering system to reduce false signals
- Directional momentum tracking with upward/downward counters
Key Features
Real-Time Execution (No Delay)
- Process orders on tick: Immediate execution without waiting for bar close
- Bar magnifier integration for intrabar precision
- Calculate on every tick for maximum responsiveness
- Standard OHLC bypass for enhanced accuracy
Realistic Price Simulation
- HL2 entry pricing (High+Low)/2 for realistic fills
- Configurable spread buffer simulation
- Random slippage generation (0 to max slippage)
- Market liquidity validation before entry
Advanced Signal Filtering
- Volume-based filtering with customizable ratio
- Optional signal confirmation system (1-3 bars)
- Anti-repetition logic to prevent duplicate signals
- Daily trade limit controls
Risk Management
- Fixed Risk:Reward ratios with precise point calculation
- Automatic stop loss and take profit execution
- Position size management
- Maximum daily trades limitation
Alert System
- Real-time alerts synchronized with strategy execution
- Multiple alert types: Setup, Entry, Exit, Status
- Customizable message formatting with price/time inclusion
- TradingView alert panel integration
Default Parameters
Optimized for BTC 5-minute charts:
- Sampling Period: 100
- Range Multiplier: 3.0
- Risk: 50 points
- Reward: 100 points (1:2 R:R)
- Spread Buffer: 2.0 points
- Max Slippage: 1.0 points
Signal Logic
Long Entry Conditions:
- Price above Range Filter line
- Upward momentum confirmed
- Volume requirements met (if enabled)
- Confirmation period completed (if enabled)
- Daily trade limit not exceeded
Short Entry Conditions:
- Price below Range Filter line
- Downward momentum confirmed
- Volume requirements met (if enabled)
- Confirmation period completed (if enabled)
- Daily trade limit not exceeded
Visual Elements
- Range Filter line with directional coloring
- Upper and lower target bands
- Entry signal markers
- Risk/Reward ratio boxes
- Real-time settings dashboard
Customization Options
Market Adaptation:
- Adjust Sampling Period for different timeframes
- Modify Range Multiplier for various volatility levels
- Configure spread/slippage for different brokers
- Set appropriate R:R ratios for trading style
Filtering Controls:
- Enable/disable volume filtering
- Adjust confirmation requirements
- Set daily trade limits
- Customize alert preferences
Performance Features
- Realistic backtesting results aligned with live trading
- Elimination of look-ahead bias
- Proper order execution simulation
- Comprehensive trade statistics
Alert Configuration
Alert Types Available:
- Entry signals with complete trade information
- Setup alerts for early preparation
- Exit notifications for position management
- Filter direction changes for market context
Message Format:
Symbol - Action | Price: XX.XX | Stop: XX.XX | Target: XX.XX | Time: HH:MM
Usage Recommendations
Optimal Settings:
- Bitcoin/Major Crypto: Default parameters
- Forex: Reduce sampling period to 50-70, multiplier to 2.0-2.5
- Stocks: Reduce sampling period to 30-50, multiplier to 1.0-1.8
- Gold: Sampling period 60-80, multiplier 1.5-2.0
TradingView Configuration:
- Recalculate: "On every tick"
- Orders: "Use bar magnifier"
- Data: Real-time feed recommended
Risk Disclaimer
This strategy is designed for educational and analytical purposes. Past performance does not guarantee future results. Always test thoroughly on paper trading before live implementation. Consider market conditions, broker execution, and personal risk tolerance when using any automated trading system.
Best Settings Found for Gold 15-Minute Timeframe
After extensive testing and optimization, these are the most effective settings I've discovered for trading Gold (XAUUSD) on the 15-minute timeframe:
Core Filter Settings:
Sampling Period: 100
Range Multiplier: 3.0
Professional Execution Engine:
Realistic Entry: Enabled (HL2)
Spread Buffer: 2 points
Dynamic Slippage: Enabled with max 1 point
Volume Filter: Enabled at 1.7x ratio
Signal Confirmation: Enabled with 1 bar confirmation
Risk Management:
Stop Loss: 50 points
Take Profit: 100 points (2:1 Risk-Reward)
Max Trades Per Day: 5
These settings provide an excellent balance between signal accuracy and realistic market execution. The volume filter at 1.7x ensures we only trade during periods of sufficient market activity, while the 1-bar confirmation helps filter out false signals. The spread buffer and slippage settings account for real trading costs, making backtest results more realistic and achievable in live trading.
EMA Trend Confirmation with Alerts此脚本是基于EMA 200周期 50周期 20周期加以合并并进行改进的一个脚本指标,主要作用是用于观察趋势走向,其中有上升下降和震荡趋势,经过多数测试,此指标适用于短线交易,推荐周期为20或15,大周期和长线交易详见RSI+EMA结合指标
This script is an improved script indicator based on the EMA 200 period, 50 period, and 20 period. Its main function is to observe the trend direction, including up, down, and oscillating trends. After many tests, this indicator is suitable for short-term trading, and the recommended period is 20 or 15. For large-cycle and long-term trading, please refer to the RSI+EMA combination indicator.