Multi BB (3/4/5 SD) - Separate AlertsGives alert when Price touches Bollinger Band 3 or 4 or 5 on either higher or lower sides.
Göstergeler ve stratejiler
Q Impulse EntryQ Impulse Entry
A directional entry system combining impulse breakouts, Elder's momentum confirmation, and ADX trend validation. Designed for clean trade setups with multi-step filtering, entry markers, and real-time alerts.
🔧 Core Logic
This is not a basic mashup — each filter plays a distinct technical role:
1. Impulse Breakout Engine
• Detects sharp directional price breaks using ATR-adjusted dynamic zones
• Impulse window controls sensitivity to local highs/lows
2. Elder Momentum Filter
• Confirms signal using MACD histogram and EMA alignment
• Blocks entries when internal momentum contradicts price move
3. ADX Trend Strength Filter
• Uses threshold-based ADX logic to validate trend power
• Filters out noise in flat or weak markets
The system requires all three filters to agree before confirming an entry.
📈 Visual Feedback
• ⇑ / ⇓ arrows mark confirmed entry signals
• Colored entry dots plotted at signal price help confirm timing and aid in multi-position layering
• Impulse breakout zones and EMA are displayed for directional context
• Clean layout, no repainting, designed for real-time use
⚙️ Configurable Inputs
• Impulse Window — controls breakout signal sensitivity
• ATR Multiplier — defines width of impulse breakout zones
(Elder and ADX filters are embedded and fine-tuned)
✨ Highlights
• Triple-filter signal logic = fewer false positives
• Entry dots + arrows for visual clarity and scaling in
• Lightweight, non-repainting, and alert-ready
• Best suited for Forex and all timeframes
• Ideal for breakout, trend-following, or hybrid systems
• Built-in alerts and customizable zones
• Always apply risk management suited to your capital and strategy
Trade with clarity — stay for quality.
Index Futures vs Cash ArbitrageThis indicator measures the statistical spread between major stock index futures and their corresponding cash indices (e.g., ES vs SPX, NQ vs NDX) using Z-score normalization. It automatically detects commonly traded index pairs (S&P 500, Nasdaq, Dow Jones, Russell 2000) and calculates a smoothed spread between futures and spot prices. A Z-score is then derived from this spread to highlight potential overpricing or underpricing conditions.
Traders can use customizable thresholds to identify mean-reversion opportunities where the futures contract may be temporarily overvalued or undervalued relative to the index. The histogram highlights the direction of the Z-score (green = futures > index, red = futures < index), while built-in alerts notify users of key threshold breaches or zero-line crosses.
This tool is designed for discretionary traders, pairs traders, or anyone exploring statistical arbitrage strategies between futures and spot markets. It is not a buy/sell signal by itself and should be used with additional confluence or risk management techniques.
Custom WT Price Signals with MomentumThis script provides modified signals fine-tuned for QQQ on the daily timeframe. It combines WaveTrend crossovers with momentum confirmation and bull/bear trend filtering.
• Yellow: Potential buy signal
• Orange: Accumulation/load signal (optional)
• Purple: Sell signal
Note:
• Some buy signals can be misleading. It’s recommended to use them alongside other indicators.
• Sell signals tend to be more reliable. However, if the fast and slow WaveTrend lines are nearly parallel, false signals may occur.
• While this script is tuned for QQQ daily data, I did not use automated parameter search to avoid overfitting. Recent backtests have shown promising results.
Enjoy and use responsibly!
Liquidity stop huntThis tool identifies key liquidity zones where stop hunts are likely to occur.
**How it works:**
- Detects swing highs/lows on your selected timeframe.
- Marks levels where "liquidity sweeps" (fakeouts) often happen.
- Plots these zones as dotted lines for visual reference.
**How to use:**
1. Look for price rejections near marked levels.
2. Avoid placing stops too close to obvious liquidity zones.
3. Combine with price action for confirmation.
**Settings:**
- Timeframe: Choose the historical period for analysis (e.g., 1D, 1W).
- Sweep Type: "Wick Only" for precise tails, "Regular" for all breaks.
- Colors/Style: Customize appearance.
Note: Works best in trending markets. Not a standalone strategy — always confirm with additional analysis.
Seasonality DOW CombinedOverall Purpose
This script analyzes historical daily returns based on two specific criteria:
Month of the year (January through December)
Day of the week (Sunday through Saturday)
It summarizes and visually displays the average historical performance of the selected asset by these criteria over multiple years.
Step-by-Step Breakdown
1. Initial Settings:
Defines minimum year (i_year_start) from which data analysis will start.
Ensures the user is using a daily timeframe, otherwise prompts an error.
Sets basic display preferences like text size and color schemes.
2. Data Collection and Variables:
Initializes matrices to store and aggregate returns data:
month_data_ and month_agg_: store monthly performance.
dow_data_ and dow_agg_: store day-of-week performance.
COUNT tracks total number of occurrences, and COUNT_POSITIVE tracks positive-return occurrences.
3. Return Calculation:
Calculates daily percentage change (chg_pct_) in price:
chg_pct_ = close / close - 1
Ensures it captures this data only for the specified years (year >= i_year_start).
4. Monthly Performance Calculation:
Each daily return is grouped by month:
matrix.set updates total returns per month.
The script tracks:
Monthly cumulative returns
Number of occurrences (how many days recorded per month)
Positive occurrences (days with positive returns)
5. Day-of-Week Performance Calculation:
Similarly, daily returns are also grouped by day-of-the-week (Sunday to Saturday):
Daily return values are summed per weekday.
The script tracks:
Cumulative returns per weekday
Number of occurrences per weekday
Positive occurrences per weekday
6. Visual Display (Tables):
The script creates two visual tables:
Left Table: Monthly Performance.
Right Table: Day-of-the-Week Performance.
For each table, it shows:
Yearly data for each month/day.
Summaries at the bottom:
SUM row: Shows total accumulated returns over all selected years for each month/day.
+ive row: Shows percentage (%) of times the month/day had positive returns, along with a tooltip displaying positive occurrences vs total occurrences.
Cells are color-coded:
Green for positive returns.
Red for negative returns.
Gray for neutral/no change.
7. Interpreting the Tables:
Monthly Table (left side):
Helps identify seasonal patterns (e.g., historically bullish/bearish months).
Day-of-Week Table (right side):
Helps detect recurring weekday patterns (e.g., historically bullish Mondays or bearish Fridays).
Practical Use:
Traders use this to:
Identify patterns based on historical data.
Inform trading strategies, e.g., avoiding historically bearish days/months or leveraging historically bullish periods.
Example Interpretation:
If the table shows consistently green (positive) for March and April, historically the asset tends to perform well during spring. Similarly, if the "Friday" column is often red, historically Fridays are bearish for this asset.
India VIX TableThis indicator gives you the India Vix value in real time on your chart. You can change the position on the chart as per your preference.
Swing Data - ADR% / RVol / PVol / Float % / Avg $ VolThis indicator provides a comprehensive table displaying essential swing trading metrics directly on your chart. Designed for traders who need a quick overview of stock volatility, liquidity, and volume dynamics at a glance.
Key Features:
✅ ADR% (Average Daily Range Percentage)
✅ Relative Volume (RVol)
✅ Projected Intraday Volume
✅ Average Daily $ Volume (AD NYSE:V )
✅ Float Percentage
✅ Market Capitalization
✅ LoD Distance (Low of Day distance in ATR%)
✅ Volume Buzz (current volume deviation from average)
✅ Sector & Industry classification
Customization Options:
➤ Table size (tiny to large)
➤ Adjustable position: Top-Left, Top-Right, Bottom-Left, Bottom-Right
➤ Dark Mode friendly colors
➤ Toggle each metric on/off
➤ Option to add a spacing row for clear visibility
Usage:
This script is ideal for intraday and swing traders who monitor volume surges, float dynamics, and volatility patterns to assess tradable setups. It combines key price and volume insights with fundamentals in one clean table — saving screen space while enhancing situational awareness.
Inspired by professional trading dashboards and adapted for TradingView charts.
HiLo EMA Custom bandsHILo Ema custom bands
This advanced technical indicator is a powerful variation of "HiLo Ema squeeze bands" that combines the best elements of Donchian channels and EMAs. It's specially designed to identify price squeezes before significant market moves while providing dynamic support/resistance levels and predictive price targets.
Indicator Concept:
The indicator initializes EMAs at each new high or low - the upper EMA tracks highs while the lower EMA tracks lows. It draws maximum of 6 custom bands based on percentage, fixed value or Atr
Upper EM bands are drawn below uper ema, Lower EMA bands are drawn above lower ema
Customizable Options:
Ema length: 200 default
Calculation type: Ema (Default), HILO
Calculation type: Percent,Fixed Value, ATR
Band Value: Percent/Value/ATR multiple This is value to use for calculation type
Band Selection: Both,Upper,Lower
Key Features:
You can choose to draw either of one or both, the latter can be overwhelming initially but as you get used to it, it becomes a powerful tool.
When both bands are selected, upper and lower bands provide provides dual references and intersections
This creates a more trend-responsive alternative to traditional Donchian channels with clearly defined zones for trade planning.
If you select percaentage, note that the calulation is based FROM the respective EMA bands. So bands from lower EMA band will appear narrower compared to the those drawn from upper EMA band
Price targets or reversals:
Look of alignment of lines and price. The current level of one order could align with that of previous level of a different order because often markets move in steps
Settings Guide:
Recommended Settings:
Ema length: 200
Use one of the bands (not both) if using large length of say 1000
Calculation type: EMA
HILO will draw donchian like bands, this is useful if you only want flat price levels. In a rising market use upper and vise versa
Calculation type:
percentage for indices : 5, for symbols 10 or higher based on symbol volatility
Fixed value: about 10% of symbol value converted to value
Atr: 2 ideally
Perfect for swing traders and position traders looking for a more sophisticated volatility-based overlay that adapts to changing market conditions and provides predictive reversal levels.
Note: This indicator works well across multiple timeframes but is especially effective on H4, Daily and Weekly charts for trend trading.
[blackcat] L2 Z-Score of PriceOVERVIEW
The L2 Z-Score of Price indicator offers traders an insightful perspective into how current prices diverge from their historical norms through advanced statistical measures. By leveraging Z-scores, it provides a robust framework for identifying potential reversals in financial markets. The Z-score quantifies the number of standard deviations that a data point lies away from the mean, thus serving as a critical metric for recognizing overbought or oversold conditions. 🎯
Key benefits encompass:
• Precise calculation of Z-scores reflecting true price deviations.
• Interactive plotting features enhancing visual clarity.
• Real-time generation of buy/sell signals based on crossover events.
STATISTICAL ANALYSIS COMPONENTS
📉 Mean Calculation:
Utilizes Simple Moving Averages (SMAs) to establish baseline price references.
Provides smooth representations filtering short-term noise preserving long-term trends.
Fundamental for deriving subsequent deviation metrics accurately.
📈 Standard Deviation Measurement:
Quantifies dispersion around established means revealing underlying variability.
Crucial for assessing potential volatility levels dynamically adapting strategies accordingly.
Facilitates precise Z-score derivations ensuring statistical rigor.
🕵️♂️ Z-SCORE DETECTION:
Measures standardized distances indicating relative positions within distributions.
Helps pinpoint extreme conditions signaling impending reversals proactively.
Enables early identification of trend exhaustion phases prompting timely actions.
INDICATOR FUNCTIONALITY
🔢 Core Algorithms:
Integrates SMAs along with standardized deviation formulas generating precise Z-scores.
Employs Arithmetic Mean Line Algorithm (AMLA) smoothing techniques improving interpretability.
Ensures consistent adherence to predefined statistical protocols maintaining accuracy.
🖱️ User Interface Elements:
Dedicated plots displaying real-time Z-score markers facilitating swift decision-making.
Context-sensitive color coding distinguishing positive/negative deviations intuitively.
Background shading highlighting proximity to key threshold activations enhancing visibility.
STRATEGY IMPLEMENTATION
✅ Entry Conditions:
Confirm bullish/bearish setups validated through multiple confirmatory signals.
Validate entry decisions considering concurrent market sentiment factors.
Assess alignment between Z-score readings and broader trend directions ensuring coherence.
🚫 Exit Mechanisms:
Trigger exits upon hitting predetermined thresholds derived from historical analyses.
Monitor continuous breaches signifying potential trend reversals promptly executing closures.
Execute partial/total closes contingent upon cumulative loss limits preserving capital efficiently.
PARAMETER CONFIGURATIONS
🎯 Optimization Guidelines:
Length: Governs responsiveness versus smoothing trade-offs balancing sensitivity/stability.
Price Source: Dictates primary data series driving Z-score computations selecting relevant inputs accurately.
💬 Customization Recommendations:
Commence with baseline defaults; iteratively refine parameters isolating individual impacts.
Evaluate adjustments independently prior to combined modifications minimizing disruptions.
Prioritize minimizing erroneous trigger occurrences first optimizing signal fidelity.
Sustain balanced risk-reward profiles irrespective of chosen settings upholding disciplined approaches.
ADVANCED RISK MANAGEMENT
🛡️ Proactive Risk Mitigation Techniques:
Enforce strict compliance with pre-defined maximum leverage constraints adhering strictly to guidelines.
Mandatorily apply trailing stop-loss orders conforming to script outputs reinforcing discipline.
Allocate positions proportionately relative to available capital reserves managing exposures prudently.
Conduct periodic reviews gauging strategy effectiveness rigorously identifying areas needing refinement.
⚠️ Potential Pitfalls & Solutions:
Address frequent violations arising during heightened volatility phases necessitating manual interventions judiciously.
Manage false alerts warranting immediate attention avoiding adverse consequences systematically.
Prepare contingency plans mitigating margin call possibilities preparing proactive responses effectively.
Continuously assess automated system reliability amidst fluctuating conditions ensuring seamless functionality.
PERFORMANCE AUDITS & REFINEMENTS
🔍 Critical Evaluation Metrics:
Assess win percentages consistently across diverse trading instruments gauging reliability.
Calculate average profit ratios per successful execution measuring profitability efficiency accurately.
Measure peak drawdown durations alongside associated magnitudes evaluating downside risks comprehensively.
Analyze signal generation frequencies revealing hidden patterns potentially skewing outcomes uncovering systematic biases.
📈 Historical Data Analysis Tools:
Maintain comprehensive records capturing every triggered event meticulously documenting results.
Compare realized profits/losses against backtested simulations benchmarking actual vs expected performances accurately.
Identify recurrent systematic errors demanding corrective actions implementing iterative refinements steadily.
Document evolving performance metrics tracking progress dynamically addressing identified shortcomings proactively.
PROBLEM SOLVING ADVICE
🔧 Frequent Encountered Challenges:
Unpredictable behaviors emerging within thinly traded markets requiring filtration processes.
Latency issues manifesting during abrupt price fluctuations causing missed opportunities.
Overfitted models yielding suboptimal results post-extensive tuning demanding recalibrations.
Inaccuracies stemming from incomplete/inaccurate data feeds necessitating verification procedures.
💡 Effective Resolution Pathways:
Exclude low-liquidity assets prone to erratic movements enhancing signal integrity.
Introduce buffer intervals safeguarding major news/event impacts mitigating distortions effectively.
Limit ongoing optimization attempts preventing model degradation maintaining optimal performance levels consistently.
Verify reliable connections ensuring uninterrupted data flows guaranteeing accurate interpretations reliably.
USER ENGAGEMENT SEGMENT
🤝 Community Contributions Welcome
Highly encourage active participation sharing experiences & recommendations!
[blackcat] L3 Mean Reversion ATR Stop Loss OVERVIEW
The L3 Mean Reversion ATR Stop Loss indicator is meticulously crafted to empower traders by offering statistically-driven stop-loss levels that adapt seamlessly to evolving market dynamics. By harmoniously blending mean reversion concepts with Advanced True Range (ATR) metrics, it delivers a robust framework for managing risks more effectively. 🌐 The primary objective is to furnish traders with intelligent exit points grounded in both short-term volatility assessments and long-term trend evaluations.
Key highlights encompass:
• Dynamic calculation of Z-scores to evaluate deviations from established means
• Adaptive stop-loss pricing leveraging real-time ATR measurements
• Clear visual cues enabling swift decision-making processes
TECHNICAL ANALYSIS COMPONENTS
📉 Z-SCORE CALCULATION
Measures how many standard deviations an asset's current price lies away from its average
Facilitates identification of extreme conditions indicative of impending reversals
Utilizes simple moving averages and standard deviation computations
📊 STANDARD DEVIATION MEASUREMENT
Quantifies dispersion of closing prices around the mean
Provides insights into underlying price distribution characteristics
Crucial for assessing potential volatility levels accurately
🕵️♂️ ADAPTIVE STOP-LOSS DETECTION
Employs ATR as a proxy for prevailing market volatility
Modulates stop-loss placements dynamically responding to shifting trends
Ensures consistent adherence to predetermined risk management protocols
INDICATOR FUNCTIONALITY
🔢 Core Algorithms
Integrate Smooth Moving Averages (SMAs) alongside standardized deviation formulas
Generate precise Z-scores reflecting true price deviations
Leverage ATR-derived multipliers for fine-grained stop-loss adjustments
🖱️ User Interface Elements
Interactive plots displaying real-time stop-loss markers
Context-sensitive color coding enhancing readability
Background shading indicating proximity to stop-level activations
STRATEGY IMPLEMENTATION
✅ Entry Conditions
Confirm bullish/bearish setups validated through multiple confirmatory signals
Ensure alignment between Z-score readings and broader trend directions
Validate entry decisions considering concurrent market sentiment factors
🚫 Exit Mechanisms
Trigger exits upon hitting predefined ATR-based stop-loss thresholds
Monitor continuous breaches signifying potential trend reversals
Execute partial/total closes contingent upon cumulative loss limits
PARAMETER CONFIGURATIONS
🎯 Optimization Guidelines
Period Length: Governs responsiveness versus smoothing trade-offs
ATR Length: Dictates the temporal scope for volatility analysis
Stop Loss ATR Multiplier: Tunes sensitivity towards stop-trigger activations
💬 Customization Recommendations
Commence with baseline defaults; iteratively refine parameters
Evaluate impacts independently prior to combined adjustments
Prioritize minimizing erroneous trigger occurrences first
Sustain balanced risk-reward profiles irrespective of chosen settings
ADVANCED RISK MANAGEMENT
🛡️ Proactive Risk Mitigation Techniques
Enforce strict compliance with pre-defined maximum leverage constraints
Mandatorily apply trailing stop-loss orders conforming to script outputs
Allocate positions proportionately relative to available capital reserves
Conduct periodic reviews gauging strategy effectiveness rigorously
⚠️ Potential Pitfalls & Solutions
Address frequent violations arising during heightened volatility phases
Manage false alerts warranting manual interventions judiciously
Prepare contingency plans mitigating margin call possibilities
Continuously assess automated system reliability amidst fluctuating conditions
PERFORMANCE AUDITS & REFINEMENTS
🔍 Critical Evaluation Metrics
Assess win percentages consistently across diverse trading instruments
Calculate average profit ratios per successful execution
Measure peak drawdown durations alongside associated magnitudes
Analyze signal generation frequencies revealing hidden patterns
📈 Historical Data Analysis Tools
Maintain comprehensive records capturing every triggered event
Compare realized profits/losses against backtested simulations
Identify recurrent systematic errors demanding corrective actions
Implement iterative refinements bolstering overall efficacy steadily
PROBLEM SOLVING ADVICE
🔧 Frequent Encountered Challenges
Unpredictable behaviors emerging within thinly traded markets
Latency issues manifesting during abrupt price fluctuations
Overfitted models yielding suboptimal results post-extensive tuning
Inaccuracies stemming from incomplete or delayed data inputs
💡 Effective Resolution Pathways
Exclude low-liquidity assets prone to erratic movements
Introduce buffer intervals safeguarding major news/event impacts
Limit ongoing optimization attempts preventing model degradation
Verify seamless connectivity ensuring uninterrupted data flows
USER ENGAGEMENT SEGMENT
🤝 Community Contributions Welcome
Highly encourage active participation sharing experiences & recommendations!
THANKS
A heartfelt acknowledgment extends to all developers contributing invaluable insights about adaptive stop-loss strategies using statistical measures! ✨
Green/Red Volume Ratio (rolling)This indicator calculates the ratio between the total volume of bullish candles (where the close is higher than the open) and the total volume of bearish candles (where the close is lower than the open) over a user-defined rolling window (default: 50 days).
A value above 1 means buying volume dominates selling volume over the period, signaling bullish pressure.
A value below 1 means selling volume dominates, indicating bearish pressure.
A value of 1 means the total buying and selling volumes are equal.
The indicator helps traders quickly gauge whether buyers or sellers are in control over recent history, assisting in trend confirmation and sentiment analysis.
Weekly ManipulationUnderstanding the "Weekly Manipulation" Indicator
The "Weekly Manipulation" indicator is a powerful tool designed to identify false breakouts in the market—moments. Let me explain how it works in simple terms.
What This Indicator Detects
This indicator spots two specific market behaviors that often indicate manipulation:
1. Single-Day Manipulation (Red/Green Labels)
This occurs when price briefly breaks through a significant daily level but fails to maintain the momentum:
Bearish Manipulation (Red): Price pushes above the previous day's high, but then reverses and closes below that high.
Bullish Manipulation (Green): Price drops below the previous day's low), but then reverses and closes above that low.
2. Two-Day Manipulation (Black Labels)
This is a more complex version of the same pattern, but occurring over a 2-day period. These signals can indicate even stronger manipulation attempts and potentially more powerful reversals.
Why This Matters for Your Trading
By identifying these patterns, you can:
- Avoid getting caught in false breakouts
- Find potential entry points after the manipulation is complete
- Understand when market action might not be genuine price discovery
How to Use This Indicator
1. Look for Red Markers: These appear when price has attempted to break higher but failed. This often suggests bearish potential going forward.
2. Look for Green Markers: These appear when price has attempted to break lower but failed. This often suggests bullish potential going forward.
3. Pay Attention to Black Markers: These 2-day patterns can signal stronger reversals and might be worth giving extra weight in your analysis.
The indicator labels these patterns clearly as "Manipulation" right on your chart, giving you an immediate visual cue when these potential setups occur.
Consecutive Candles Above/Below EMADescription:
This indicator identifies and highlights periods where the price remains consistently above or below an Exponential Moving Average (EMA) for a user-defined number of consecutive candles. It visually marks these sustained trends with background colors and labels, helping traders spot strong bullish or bearish market conditions. Ideal for trend-following strategies or identifying potential trend exhaustion points, this tool provides clear visual cues for price behavior relative to the EMA.
How It Works:
EMA Calculation: The indicator calculates an EMA based on the user-specified period (default: 100). The EMA is plotted as a blue line on the chart for reference.
Consecutive Candle Tracking: It counts how many consecutive candles close above or below the EMA:
If a candle closes below the EMA, the "below" counter increments; any candle closing above resets it to zero.
If a candle closes above the EMA, the "above" counter increments; any candle closing below resets it to zero.
Highlighting Trends: When the number of consecutive candles above or below the EMA meets or exceeds the user-defined threshold (default: 200 candles):
A translucent red background highlights periods where the price has been below the EMA.
A translucent green background highlights periods where the price has been above the EMA.
Labeling: When the required number of consecutive candles is first reached:
A red downward arrow label with the text "↓ Below" appears for below-EMA streaks.
A green upward arrow label with the text "↑ Above" appears for above-EMA streaks.
Usage:
Trend Confirmation: Use the highlights and labels to confirm strong trends. For example, 200 candles above the EMA may indicate a robust uptrend.
Reversal Signals: Prolonged streaks (e.g., 200+ candles) might suggest overextension, potentially signaling reversals.
Customization: Adjust the EMA period to make it faster or slower, and modify the candle count to make the indicator more or less sensitive to trends.
Settings:
EMA Length: Set the period for the EMA calculation (default: 100).
Candles Count: Define the minimum number of consecutive candles required to trigger highlights and labels (default: 200).
Visuals:
Blue EMA line for tracking the moving average.
Red background for sustained below-EMA periods.
Green background for sustained above-EMA periods.
Labeled arrows to mark when the streak threshold is met.
This indicator is a powerful tool for traders looking to visualize and capitalize on persistent price trends relative to the EMA, with clear, customizable signals for market analysis.
Explain EMA calculation
Other trend indicators
Make description shorter
Linear Regression Trendline on Close
This indicator draws a linear regression trendline that connects the closing prices of the last N candles, where N is a user-defined input.
🔹 Key Features:
Uses least-squares linear regression to fit a straight line to recent closes
Automatically adapts to any timeframe (5min, 1h, daily, etc.)
Input lets you select how many recent candles to include
Helps identify short-term trend direction and momentum
🔸 How to Use:
Set the "Number of Candles" input to choose how far back the regression line should look
The line updates in real time as new candles form
Use it to gauge short-term bias, or combine with support/resistance/zones for confirmation
🧠 Tip: Increase the number of candles for smoother trends; decrease for more reactive trendlines.
动态止损趋势指标Trend indicators edited by Happy in Chiang Mai,When the K-line is above the stop loss line, go long; when the K-line is below the stop loss line, go short. The stop loss line stops loss, which is applicable to the two-minute cycle.
38-Ticker Volume Alertcompares ticker volume with its volume moving average and sends alert in case of volume surprise
Minervini Trend Template (EMA)📄 Description:
This script is inspired by Mark Minervini’s SEPA (Specific Entry Point Analysis) strategy and adapts his famous Trend Template using Exponential Moving Averages (EMAs). It helps traders visually identify technically strong stocks that are in ideal buy conditions based on Minervini's rules.
📈 Strategy Logic:
This script scans for momentum breakouts by filtering stocks with the following characteristics:
✅ Buy Criteria (All Conditions Must Be Met):
Price above 50-day EMA
Price above 150-day EMA
Price above 200-day EMA
50-day EMA above 150-day EMA
150-day EMA above 200-day EMA
200-day EMA trending upward (greater than it was 20 days ago)
Price within 25% of its 52-week high
Price at least 30% above its 52-week low
If all 8 conditions are satisfied, the script triggers a SEPA Setup Signal. This is visually indicated by:
✅ A green background on the chart
✅ A label saying “SEPA Setup” under the bar
🛒 When to Buy:
Wait for the stock to break out above a recent base or consolidation pattern (like a cup-with-handle or flat base) on strong volume.
The ideal entry is within 5% of the breakout point.
Confirm that the SEPA conditions are met on the breakout day.
📉 When to Sell:
Place a stop-loss 5–8% below your entry price.
Exit if the breakout fails and price falls back below the pivot or the 50-day EMA.
Take partial profits after a 20–25% gain, and move your stop-loss up to breakeven or trail it using moving averages like the 21 or 50 EMA.
Exit fully if price closes below the 50-day or 150-day EMA on volume.
🧠 Why EMAs?
EMAs react faster to recent price action than SMAs, helping you catch earlier signals in fast-moving markets. This makes it especially useful for growth and momentum traders following Minervini’s high-performance approach.
📊 How to Use:
Apply the script to any stock chart (daily timeframe recommended).
Look for a green background + SEPA Setup label.
Combine with price/volume analysis, base patterns, and market context to time your entries.
🚨 Optional Alerts:
You can set an alert on the condition minerviniPass == true to notify you when a SEPA-compliant setup appears.
📚 This tool is meant for educational and research purposes. Always validate with your own due diligence and consult your risk plan before making any trades.
Triple Moving Average by XeodiacThis script, "Triple Moving Average Indicator", is a simple yet powerful tool designed to help traders track trends and detect potential market reversals. Here’s what it does:
What It Does:
Plots three moving averages on your chart.
Customizable to suit your trading style with options for the type of moving average, the period, color, and thickness of the lines.
Alerts you when important crossovers occur, helping you stay on top of potential trading opportunities.
Features:
Customizable Moving Averages (MAs):
Choose from four types of MAs:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Smoothed Moving Average (SMMA)
Weighted Moving Average (WMA)
Set individual periods, colors, and line thickness for each moving average.
Alerts:
Notifies you when:
The price crosses above or below any moving average.
One moving average crosses another (e.g., short-term crosses above long-term).
Visual Clarity:
Plots three distinct lines on the chart for easy comparison and interpretation.
Why Use It?
Track Trends: See the direction of short, medium, and long-term trends at a glance.
Spot Crossovers: Identify golden crosses (bullish) or death crosses (bearish) to refine entry and exit points.
Stay Informed: With alerts, you’ll never miss a key market movement.
ATR and Stochastics by XeodiacThis script combines two popular indicators, the Average True Range (ATR) and the Stochastic Oscillator, into a single chart for enhanced trading insights. Here’s a breakdown of how it works and what it does:
What It Does:
Average True Range (ATR):
Measures market volatility by calculating the average range of price movement over a specified period.
The ATR is plotted in blue on its natural scale, helping you assess how volatile the market is.
Stochastic Oscillator:
A momentum indicator that compares a security's closing price to its price range over a specific period.
It calculates two lines:
%K Line (Green): Tracks the raw Stochastic value.
%D Line (Red): A smoothed moving average of the %K line.
These values are plotted on a percentage scale (0-100) to indicate overbought or oversold conditions.
Inputs:
ATR Length: Specifies the number of periods used for ATR calculation (default is 14).
Stochastic %K Length: Determines the period for finding the highest high and lowest low for the %K calculation (default is 14).
Stochastic %D Smoothing: Sets the smoothing factor for the %D line (default is 3).
Visual Output:
Blue Line: Represents the ATR, showing how much price moves on average over the given period.
Green Line: The %K line of the Stochastic Oscillator, showing momentum shifts in the market.
Red Line: The %D line of the Stochastic Oscillator, providing a smoothed perspective on momentum.
Use Case:
This script is useful for:
Assessing Market Volatility: Use the ATR to understand how active the market is.
Identifying Overbought/Oversold Levels: Use the Stochastic Oscillator to identify potential reversal points.
Combining Signals: Analyze both indicators together to align volatility and momentum for better trading decisions.
🔥 Hybrid VWAP-Market ProfileHybrid VWAP + Market Profile + Delta Zones
This advanced intraday indicator fuses the power of VWAP, Rolling Market Profile, and a Candle Delta Proxy to give traders a highly visual, real-time edge across breakout and mean-reversion environments.
🧠 Features
✅ Dynamic VWAP
Institutional anchor that helps identify trend bias
Acts as a dynamic mean for pullbacks or breakouts
✅ Rolling Market Profile Zones
POC (Point of Control): Most traded price of the session (pink line)
VAH / VAL (Value Area High/Low): Upper and lower 70% volume extremes (green/red lines)
Updates live every bar using volume bucketing logic
✅ Candle-Based Delta Proxy
Uses volume × (close - open) to approximate buying vs. selling pressure per candle
Cumulative Delta plotted internally (optional visibility)
✅ Auto-Color Trade Zones
🟢 Breakout Buy Zone: Price > VAH + strong delta
🔴 Breakout Sell Zone: Price < VAL + strong negative delta
🔵 Mean Reversion Zone: Price inside value area + neutral delta
🧪 Use Cases
Fade extremes in range-bound markets
Join momentum in breakout conditions
Avoid chop when delta doesn’t confirm price
Identify traps where delta and price diverge
⚙️ Settings
Toggle VWAP visibility
All market profile logic resets daily
Uses syminfo.mintick for adaptive volume bucket sizing
🚀 Ideal For:
Scalpers, intraday traders, and volume-based strategists looking for an edge based on price + value + flow dynamics.