Băng tần và kênh
Weekly Period Separator [Adjustable History]Features:
Adjustable History: Shows weekly separators for a configurable number of weeks back (1-100 weeks)
Customizable Appearance:
Choose line color, width, and style (solid, dotted, dashed)
Defaults to showing 10 weeks of historical data
Accurate Week Detection: Properly handles week boundaries regardless of timezone
Clean Implementation: Uses lines that extend from bottom to top of chart
Artharjan Intraday Trading ZonesArtharjan Intraday Trading Zones (AITZ)
Overview
The AITZ indicator is designed to visually mark intraday trading zones on a chart by using the current day’s High (DH) and Low (DL) as reference points. It creates three distinct market zones:
Bullish Zone: Near the daily high, suggesting strength.
Bearish Zone: Near the daily low, suggesting weakness.
Neutral / No-Trade Zone: Between the bullish and bearish thresholds, where price movement is less directional.
These zones are highlighted with color-fills for quick visual identification, and the indicator automatically resets at the start of each new trading day.
Key Features
Daily Reference Levels: Automatically fetches Day High, Day Low, and uses them to calculate intraday zones.
Configurable Zone Depth: Traders can set the percentage distance from High/Low to define bullish and bearish zones.
Conditional Zone Coloring: Option to highlight zones only when price is actively trading inside them.
Dynamic Updates: Zone coloring adjusts in real time as the day progresses.
Customizable Appearance: Line thickness and zone colors can be adjusted to match chart preferences.
Inputs
Parameter Type Default Description
Level Thickness Integer 1 Thickness of all plotted levels (1–10).
(DH-DL)% below Day High Float 25 Distance from daily high (as % of DH–DL range) to define bullish threshold.
(DH-DL)% above Day Low Float 25 Distance from daily low (as % of DH–DL range) to define bearish threshold.
Plot Zone Colors (Conditional)? Boolean true If enabled, zones are colored only when price trades inside them. Otherwise, they remain visible regardless of price position.
Bullish Zone Color Color Teal (90% transparent) Fill color for bullish zone.
Neutral Zone Color Color Blue (90% transparent) Fill color for neutral/no-trade zone.
Bearish Zone Color Color Maroon (90% transparent) Fill color for bearish zone.
Core Calculations
Zones:
Bullish Zone = between DH and LTL
Bearish Zone = between DL and STL
Neutral Zone = between LTL and STL
Reset Behavior: At the start of each new daily session, old lines are deleted and fresh ones are drawn.
Usage Example
A trader sets:
(DH–DL)% below High = 20%
(DH–DL)% above Low = 20%
If today’s DH = 1000 and DL = 900 (Range = 100):
Bullish threshold = 1000 – (100 × 20%) = 980
Bearish threshold = 900 + (100 × 20%) = 920
Zones:
Bullish Zone: 980 → 1000
Neutral Zone: 920 → 980
Bearish Zone: 900 → 920
This creates clear trade zones for scalpers or intraday directional traders.
Practical Application
Trend Confirmation: If price sustains in the bullish zone, bias stays long.
Weakness Detection: Price falling into the bearish zone signals short opportunities.
Neutral Play: Avoid trades or expect sideways action inside the neutral zone.
Limitations
Works on instruments with clear daily highs/lows (equities, futures, FX).
May repaint levels intraday until the daily high/low is confirmed.
Zones depend on daily volatility—very narrow ranges may cause zones to overlap.
RSI Crossover AlertRSI Crossover Alert Indicator - User Guide
The RSI Crossover Alert Indicator is a comprehensive technical analysis tool that detects multiple types of RSI crossovers and generates real-time alerts. It combines traditional RSI analysis with signal lines, divergence detection, and multi-level crossing alerts.
1. Multiple Crossover Detection
- RSI/Signal Line Cross: Signals a primary trend change.
- RSI/Second Signal Cross: Confirmation signals for stronger trends.
- Level Crossings: Crosses of Overbought 70, Oversold 30, and Midline 50.
- Divergence Detection: Hidden and regular divergences for reversal signals.
2. Alert Types
- Alert: RSI > Signal
Description: Bullish momentum is building.
Signal: Consider long positions.
- Alert: RSI < Signal
Description: Bearish momentum is building.
Signal: Consider short positions.
- Alert: RSI > 70
Description: Entering the overbought zone.
Signal: Prepare for a potential reversal.
- Alert: RSI < 30
Description: Entering the oversold zone.
Signal: Watch for a bounce opportunity.
- Alert: RSI crosses 50
Description: A shift in momentum.
Signal: Trend confirmation.
3. Visual Components
- Lines: RSI blue, Signal orange, Second Signal purple
- Histogram: Visualizes momentum by showing the difference between RSI and the Signal line.
- Background Zones: Red overbought, Green oversold
- Markers: Up/down triangles to indicate crossovers.
- Info Table: Real-time RSI values and status.
Strategy 1: Classic Crossover
- Entry Long: RSI crosses above the Signal Line AND RSI is below 50.
- Entry Short: RSI crosses below the Signal Line AND RSI is above 50.
- Take Profit: On the opposite signal.
- Stop Loss: At the recent swing high/low.
Strategy 2: Extreme Zone Reversal
- Entry Long: RSI is below 30 and crosses above the Signal Line.
- Entry Short: RSI is above 70 and crosses below the Signal Line.
- Risk Management: Higher win rate but fewer signals. Use a minimum 2:1 risk-reward ratio.
Strategy 3: Divergence Trading
- Setup: Enable divergence alerts and look for price/RSI divergence. Wait for an RSI crossover for confirmation.
- Entry: Enter on the crossover after the divergence appears. Place the stop loss beyond the starting point of the divergence.
Strategy 4: Multi-Timeframe Confirmation
1. Check the higher timeframe e.g. Daily to identify the main trend.
2. Use the current timeframe e.g. 4H/1H for your entry.
3. Only enter in the direction of the main trend.
4. Use the RSI crossover as the entry trigger.
Optimal Settings by Market
- Forex Major Pairs
RSI Length: 14, Signal Length: 9, Overbought/Oversold: 70/30
- Crypto High Volatility
RSI Length: 10-12, Signal Length: 6-8, Overbought/Oversold: 75/25
- Stocks Trending
RSI Length: 14-21, Signal Length: 9-12, Overbought/Oversold: 70/30
- Commodities
RSI Length: 14, Signal Length: 9, Overbought/Oversold: 80/20
Risk Management Rules
1. Position Sizing: Never risk more than 1-2% on a single trade. Reduce size in ranging markets.
2. Stop Loss Placement: Place stops beyond the recent swing high/low for crossovers. Using an ATR-based stop is also effective.
3. Profit Taking: Take partial profits at a 1:1 risk-reward ratio. Switch to a trailing stop after reaching 2:1.
1. Filtering Signals
- Combine with volume indicators.
- Confirm the trend on a higher timeframe.
- Wait for candlestick pattern confirmation.
2. Avoid Common Mistakes
- Don't trade every single crossover.
- Avoid taking signals against a strong trend.
- Do not ignore risk management.
3. Market Conditions
- Trending Market: Focus on midline 50 crosses.
- Ranging Market: Look for reversals from overbought/oversold levels.
- Volatile Market: Widen the overbought/oversold levels.
- If you get too many false signals:
Increase the signal line period, add other confirmation indicators, or use a higher timeframe.
- If you are missing major moves:
Decrease the RSI length, shorten the signal line period, or check your alert settings.
Recommended Combinations
1. RSI + MACD: For dual momentum confirmation.
2. RSI + Bollinger Bands: For volatility-adjusted signals.
3. RSI + Volume: To confirm the strength of a signal.
4. RSI + Moving Averages: To use as a trend filter.
This indicator provides a comprehensive RSI analysis. Success depends on proper configuration, risk management, and combining signals with the overall market context. Start with the default settings, then optimize based on your trading style and market conditions.
ORB with Fib Levels - TradingbrockOpening Range (OR) Indicator Overview
This TradingView indicator analyzes and displays the Opening Range - a popular day trading concept that tracks price movement during the first 30-60 minutes of the trading session.
Core Functionality:
Opening Range Detection: By default, it monitors the 9:30-10:00 AM ET period and tracks the highest high and lowest low during this time frame, creating upper and lower boundaries.
Fibonacci Retracement Levels: Inside the opening range, it displays five key Fibonacci levels:
0.236 (23.6% - shallow retracement)
0.382 (38.2% - standard retracement)
0.500 (50% - halfway point)
0.618 (61.8% - golden ratio)
0.786 (78.6% - deep retracement)
Extension Levels: The indicator projects additional levels beyond the opening range:
1x extension above/below the range
2x extension levels that only appear when price breaks the first extension
Trading Applications:
Support & Resistance: The opening range high/low often act as key levels throughout the trading day
Breakout Trading: Many traders watch for price to break above or below the opening range
Mean Reversion: The Fibonacci levels within the range can serve as potential reversal points
Risk Management: Helps define clear levels for stop losses and profit targets
The indicator essentially gives traders a framework to understand how price is behaving relative to the early session's established range, which often sets the tone for the entire trading day.
MTF MidpointsOverview :
The MTF Midpoints indicator provides comprehensive multi-timeframe analysis by displaying mid points that act as support / resistance. It also comes with the ability to view trend strength across multiple timeframes.
Key Features :
1) Multi-Timeframe Support -
- 1 Minute, 5 Minute, 15 Minute, 1 Hour, and 4 Hour timeframes.
- Each timeframe displays its calculated midpoint level.
- Toggle individual timeframes on/off as needed.
2) Dynamic Trend Calculation
- Calculates trend direction based on configurable lookback period (default: 30 bars).
- Identifies swing highs and lows to determine trend changes.
- Computes midpoint levels as the average between current swing high and low.
- Tracks price action relative to midpoint to gauge trend strength.
3) Visual Elements -
- Colored Lines : Each timeframe displays as a distinct colored line.
- Fill Areas : Main timeframe shows colored fills above and below midpoint.
- Info Table : Real-time summary of all timeframe data with trend percentages.
4) Customization Options -
- Colors : Individual color settings for each timeframe.
- Display : Adjustable line width, label sizes, and positioning.
- Labels : Toggle price display in labels, customize text color and size.
- Info Table: Configurable info table with trend strength indicators.
How It Works :-
The indicator uses a proprietary algorithm that:
1. Monitors price action over a specified lookback period.
2. Identifies trend direction changes based on new highs/lows.
3. Calculates dynamic support/resistance levels (midpoints).
4. Tracks closes above/below midpoint to determine trend bias.
5. Displays trend strength as a percentage in both table and candle colors.
Trading Applications :-
- Confluence Analysis : Identify where multiple timeframe midpoints align.
- Support/Resistance : Use midpoints as dynamic S/R levels.
- Trend Assessment : Gauge trend strength across different timeframes.
- Entry/Exit Points : Look for price reactions at key midpoint levels.
- Risk Management : Use midpoints to set stop losses and profit targets.
Disclaimer :
This indicator is for educational and analysis purposes. It does not constitute financial advice. Always conduct your own research and consider your risk tolerance before making trading decisions. Past performance does not guarantee future results.
Mean-Reversion Indicator_V2_SamleeOverview
This is the second version of my mean reversion indicator. It combines a moving average with adaptive standard deviation bands to detect when the price deviates significantly from its mean. The script provides automatic entry/exit signals, real-time PnL tracking, and shaded trade zones to make mean reversion trading more intuitive.
Core Logic
Mean benchmark: Simple Moving Average (MA).
Volatility bands: Standard deviation of the spread (close − MA) defines upper and lower bands.
Trading rules:
Price breaks below the lower band → Enter Long
Price breaks above the upper band → Enter Short
Price reverts to MA → Exit position
What’s different vs. classic Bollinger/Keltner
Bandwidth is based on the standard deviation of the price–MA spread, not raw closing prices.
Entry signals use previous-bar confirmation to reduce intrabar noise.
Exit rule is a mean-touch condition, rather than fixed profit/loss targets.
Enhanced visualization:
A shaded box dynamically shows the distance between entry and current/exit price, making it easy to see profit/loss zones over the holding period.
Instant PnL labels display current position side (Long/Short/Flat) and live profit/loss in both pips and %.
Entry and exit points are clearly marked on the chart with labels and exact prices.
These visualization tools go beyond what most indicators provide, giving traders a clearer, more practical view of trade evolution.
Key Features
Automatic detection of position status (Long / Short / Flat).
Chart labels for entries (“Entry”) and exits (“Exit”).
Real-time floating PnL calculation in both pips and %.
Info panel (top-right) showing entry price, current price, position side, and PnL.
Dynamic shading between entry and current/exit price to visualize profit/loss zones.
Usage Notes & Risk
Mean reversion may underperform in strong trending markets; parameters (len_ma, len_std, mult) should be validated per instrument and timeframe.
Works best on relatively stable, mean-reverting pairs (e.g., AUDNZD).
Risk management is essential: use independent stop-loss rules (e.g., limit risk to 1–2% of equity per trade).
This script is provided for educational purposes only and is not financial advice.
Mean Reversion Channel [QuantAlgo]🟢 Overview
The Mean Reversion Channel indicator is a range-bound trading system that combines dynamic price channels with momentum-weighted analysis to identify optimal mean reversion opportunities. It creates adaptive upper and lower reversion zones based on recent price action and volatility, while incorporating a momentum-biased equilibrium line that shifts based on volume-weighted price momentum. This creates a three-tier system where traders and investors can identify overbought and oversold conditions within established ranges, detect momentum exhaustion points, and anticipate channel breakouts or breakdowns. This indicator is particularly valuable for strategic dollar cost averaging (DCA) strategies, as it helps identify optimal accumulation zones during oversold conditions and provides tactical risk management levels for systematic investment approaches across different market conditions and asset classes.
🟢 How It Works
The indicator employs a four-stage calculation process that transforms raw price and volume data into actionable mean reversion signals. First, it establishes the base channel by calculating the highest high and lowest low over a user-defined lookback period, creating the foundational price range for mean reversion analysis. This channel adapts continuously as new price data becomes available, ensuring the system remains relevant to current market conditions.
In the second stage, the system calculates volume-weighted momentum by combining price momentum with volume activity. The momentum calculation takes the price change over a specified period and multiplies it by the volume ratio (current volume versus 20-period average volume, for instance) and a volume factor multiplier. This creates momentum readings that are more significant during high-volume periods and less influential during low-volume conditions.
The third stage creates the dynamic reversion zones using Average True Range (ATR) calculations. The upper reversion zone is positioned below the channel high by an ATR-based distance, while the lower reversion zone is positioned above the channel low. These zones contract when momentum is negative (upper zone) or positive (lower zone), creating asymmetric reversion bands that adapt to momentum conditions.
The final stage establishes the momentum-biased equilibrium line by calculating the midpoint between the reversion zones and adjusting it based on momentum bias. When momentum is positive, the equilibrium shifts upward; when negative, it shifts downward. This creates a dynamic reference level that helps identify when price action is moving against the prevailing momentum trend, signaling potential mean reversion opportunities.
🟢 How to Use
1. Mean Reversion Signal Identification
Lower Reversion Zone Signals: When price reaches or falls below the lower reversion zone with bearish momentum, the system generates potential long/buy entry signals indicating oversold conditions within the established range.
Upper Reversion Zone Signals: When price reaches or exceeds the upper reversion zone with bullish momentum, the system generates potential short/sell entry signals indicating overbought conditions.
2. Equilibrium Line Analysis and Momentum Exhaustion
Equilibrium Breaks: The dynamic equilibrium line serves as a momentum bias indicator within the channel. Price crossing above equilibrium suggests shifting to bullish bias, while breaks below indicate bearish bias development within the mean reversion framework.
Momentum Exhaustion Signals: The system identifies momentum exhaustion when price breaks through the equilibrium line opposite to the prevailing momentum direction. Bullish exhaustion occurs when price falls below equilibrium despite positive momentum, while bearish exhaustion happens when price rises above equilibrium during negative momentum periods.
3. Channel Expansion and Breakout Detection
Channel Boundary Breaks: When price breaks above the upper reversion zone or below the lower reversion zone, it signals potential channel expansion or false breakout conditions. These events often precede significant trend changes or range expansion phases.
Range Expansion Alerts: Breaks above the channel high or below the channel low indicate potential breakout from the mean reversion range, suggesting trend continuation or new directional movement beyond the established boundaries.
🟢 Pro Tips for Trading and Investing
→ Strategic DCA Optimization: Use the lower reversion zone as primary accumulation levels for dollar cost averaging strategies. When price reaches oversold conditions with bearish momentum exhaustion signals, it often represents optimal entry points for systematic investment programs, allowing investors to accumulate positions at statistically favorable price levels within the established range.
→ DCA Pause and Acceleration Signals : Monitor equilibrium line breaks to adjust DCA frequency and amounts. When price consistently trades below equilibrium with momentum exhaustion signals, consider accelerating DCA intervals or increasing investment amounts. Conversely, when price reaches upper reversion zones, consider pausing or reducing DCA activity until more favorable conditions return.
→ Momentum Divergence Detection: Watch for divergences between price action and momentum readings within the channel. When price makes new lows but momentum shows improvement, or price makes new highs with deteriorating momentum, these signal high-probability mean reversion setups ideal for contrarian investment approaches.
→ Alert-Based Systematic Investing/Trading: Utilize the comprehensive alert system for automated DCA triggers. Set up alerts for lower reversion zone touches combined with momentum exhaustion signals to create systematic entry points that remove emotional decision-making from long-term investment strategies, particularly effective for volatile assets where timing improvements can significantly impact overall returns.
4-Hour Range HighlighterThe 4-Hour Range Highlighter is a powerful visual analysis tool designed for traders operating on lower timeframes (like 5m, 15m, or 1H). It overlays the critical price range of the 4-hour (4H) candlestick onto your chart, providing immediate context from a higher timeframe. This helps you align your intraday trades with the dominant higher-timeframe structure, identifying key support and resistance zones, breakouts, and market volatility at a glance.
Key Features:
Visual Range Overlay: Draws a semi-transparent colored background spanning the entire High and Low of each 4-hour period.
Trend-Based Coloring: Automatically colors the range based on the 4H candle's direction:
Green: Bullish 4H candle (Close > Open)
Red: Bearish 4H candle (Close < Open)
Blue: Neutral 4H candle (Close = Open)
Customizable High/Low Lines: Optional, subtle lines plot the exact high and low of the 4H bar, acting as dynamic support/resistance levels.
Fully Customizable: Easily change colors and toggle visual elements on/off in the settings to match your chart's theme.
How to Use It:
Identify Key Levels: The top and bottom of the shaded area represent significant intraday support and resistance. Watch for price reactions at these levels.
Trade in Context: Use the trend color to gauge sentiment. For example, look for buy opportunities near the low of a bullish (green) 4H range.
Spot Breakouts: A strong candle closing above the high or below the low of the current 4H range can signal a continuation or the start of a new strong move.
Gauge Volatility: A large shaded area indicates a high-volatility 4H period. A small area suggests consolidation or low volatility.
Settings:
Visual Settings: Toggle the background and choose colors for Bullish, Bearish, and Neutral ranges.
Line Settings: Toggle the high/low lines and customize their colors.
Note: This is a visual aid, not a standalone trading system. It provides context but does not generate buy/sell signals. Always use it in conjunction with your own analysis and risk management.
Perfect for Day Traders, Swing Traders, and anyone who needs higher-timeframe context on their chart!
How to Use / Instructions:
After adding the script to your chart, open the settings menu (click on the indicator's name and then the gear icon).
In the "Inputs" tab, you will find two groups: "Visual Settings" and "Line Settings".
In Visual Settings, you can:
Toggle Show 4H Range Background on/off.
Change the Bullish Color, Bearish Color, and Neutral Color for the transparent background.
In Line Settings, you can:
Toggle Show High/Low Lines on/off.
Change the line colors for each trend type.
Adjust the colors to your preference. The default settings use transparency for a clean look that doesn't clutter the chart.
Machine Learning-Inspired Supply & Demand Zones [AlgoPoint]This indicator is a Smart Supply & Demand Zone tool, developed with principles inspired by Machine Learning (ML). It intelligently filters out market noise, allowing you to focus only on the most significant zones where institutional order flow is likely present.
💡 How It Works: Why Is This Indicator "Smart"?
Unlike traditional indicators that only measure simple price movements, this script uses an algorithm that asks the same critical questions an experienced market analyst would to qualify a zone:
- 1. Price Imbalance: How fast and aggressively did the price leave the zone? Our algorithm measures the body size of the "departure candle" relative to the current market volatility (ATR). A zone is only considered if it was formed by an explosive move that is statistically significant, indicating a major imbalance between buyers and sellers.
- 2. Volume Confirmation: Did the "smart money" participate in this move? The script checks if the volume on the departure candle was significantly higher than the recent average volume. A spike in volume confirms that the move was backed by institutional interest, adding strength and validity to the zone.
- 3. Valid Pivot Structure: Did the zone originate from a meaningful swing high or low? The algorithm first identifies a valid pivot structure, ensuring that zones are not drawn from insignificant or random price fluctuations.
Only when a potential zone passes these three critical tests—our "quality filter"—is it drawn on your chart.
🚀 Features & How to Use
Using the indicator is straightforward. You will see two primary types of boxes on your chart:
* 🟥 Red Box (Supply Zone): An area of potential resistance where selling pressure is likely to be strong. Look for potential shorting opportunities as the price approaches this zone.
* 🟩 Green Box (Demand Zone): An area of potential support where buying pressure is likely to be strong. Look for potential long opportunities as the price pulls back into this zone.
Dynamic Zone Management
This indicator is not static; it lives and breathes with the market:
- Fresh Zone: A newly formed zone appears in its full, vibrant color. These are the highest-probability zones as they have not yet been re-tested.
- Broken / Flipped Zone: You have full control over what happens when a zone is broken! In the settings, you can choose:
- Delete Zone: The zone will be removed completely when the price closes through it.
- Show as Broken (Flip): When broken, the zone will turn gray, stop extending, and remain on your chart. This is extremely useful for identifying Support/Resistance Flips, where a broken demand zone becomes new resistance, or a broken supply zone becomes new support.
⚙️ Settings & Customization
Fine-tune the indicator to match your personal trading style via the settings menu:
- Breakout Behavior: The most powerful feature. Choose between Delete Zone and Show as Broken (Flip) to customize your chart.
- Zone Finding Logic: Control the indicator's sensitivity.
- Selective: Requires both strong imbalance and high volume. Finds fewer, but higher-quality, zones.
- Moderate: Requires either strong imbalance or high volume. Finds more potential zones.
- Sensitivity Settings: Adjust the ATR Multiplier and Volume Multiplier to make the criteria for a "strong" zone stricter or looser.
News Volatility Bracketing StrategyThis is a news-volatility bracketing strategy. Five seconds before a scheduled release, the strategy brackets price with a buy-stop above and a sell-stop below (OCO), then converts the untouched side into nothing while the filled side runs with a 1:1 TP/SL set the same distance from entry. Distances are configurable in USD or %, so it scales to the instrument and can run on 1-second data (or higher TF with bar-magnifier). The edge it’s trying to capture is the immediate, one-directional burst and liquidity vacuum that often follows market-moving news—entering on momentum rather than predicting direction. Primary risks are slippage/spread widening and whipsaws right after the print, which can trigger an entry then snap back to the stop.
Volatility % Bands (O→C)Volatility % Bands (O→C) is an indicator designed to visualize the percentage change from Open to Close of each candle, providing a clear view of short-term momentum and volatility.
**Histogram**: Displays bar-by-bar % change (Close vs Open). Green bars indicate positive changes, while red bars indicate negative ones, making momentum shifts easy to identify.
**Moving Average Line**: Plots the Simple Moving Average (SMA) of the absolute % change, helping traders track the average volatility over a chosen period.
**Background Bands**: Based on the user-defined Level Step, ±1 to ±5 zones are highlighted as shaded bands, allowing quick recognition of whether volatility is low, moderate, or extreme.
**Label**: Shows the latest candle’s % change and the current SMA value as a floating label on the right, making it convenient for real-time monitoring.
This tool can be useful for volatility breakout strategies, day trading, and short-term momentum analysis.
BTC Power-Law Decay Channel Oscillator (0–100)🟠 BTC Power-Law Decay Channel Oscillator (0–100)
This indicator calculates Bitcoin’s position inside its long-term power-law decay channel and normalizes it into an easy-to-read 0–100 oscillator.
🔎 Concept
Bitcoin’s long-term price trajectory can be modeled by a log-log power-law channel.
A baseline is fitted, then an upper band (excess/euphoria) and a lower band (capitulation/fear).
The oscillator shows where the current price sits between those bands:
0 = near the lower band (historical bottoms)
100 = near the upper band (historical tops)
📊 How to Read
Oscillator > 80 → euphoric excess, often cycle tops
Oscillator < 20 → capitulation, often cycle bottoms
Works best on weekly or bi-weekly timeframes.
⚙️ Adjustable Parameters
Anchor date: starting point for the power-law fit (default: 2011).
Smoothing days: moving average applied to log-price (default: 365 days).
Upper / Lower multipliers: scale the bands to align with historical highs and lows.
✅ Best Use
Combine with other cycle signals (dominance ratios, macro indicators, sentiment).
Designed for long-term cycle analysis, not intraday trading.
Day Range Breakout Strategy + Trend Structure Filter🚀 Enhanced Strategy for Breaking Previous Day’s Extremes with Market Structure-Based Trend
The strategy focuses on breakouts of previous day’s highs and lows, filtered by trend direction based on market structure.
🔑 Key Improvements
1️⃣ Solved the repainting issue.
There are similar strategies in the community, but the historical results of those algorithms do not correspond to the results of real backtesting.
2️⃣ Added a trend filter.
In most cases, this makes it possible to achieve higher profitability. It works as follows:
The script determines market structure based on a defined number of previous candles.
If there are higher highs and higher lows, this is considered an uptrend structure.
If there are lower highs and lower lows, this is considered a downtrend structure.
The trend filter is adjusted using the Lookback Period setting.
3️⃣ Choice of entry principle.
Implemented the ability to choose whether trades are opened based on closing prices or by high/low breakout, which allows finding the optimal settings for a specific instrument.
4️⃣ Improved entry/exit logic.
When an opposite signal appears, before entering a trade, the script first closes the previous position.
✅ This makes the strategy fully ready for algorithmic trading via webhook on any exchange that supports this function.
5️⃣ Better visualization.
🟥 Red and 🟩 green backgrounds indicate the trend direction.
⚙️ How It Works
The principle of the strategy as follows:
Wait for the breakout of the previous day’s high or low.
Enter long on a breakout of the high, or short on a breakout of the low in the market structure trend direction.
Exit occurs on the breakout of the opposite extreme.
📈 This allows capturing long trends.
⚠️ But, like all similar strategies, in a sideways market it produces losing trades.
⚙️ Default Settings
Breakout Confirmation:
The breakout is determined by the candle close.
You can also choose high/low, but this often gives more false signals. However, on some assets, it may show higher profitability in backtesting.
Trend Structure Period:
The default value is 15.
This means the script analyzes the last 15 candles on the selected timeframe to determine market structure as described above.
Position Size:
Fixed at $1,000, which is 1% of the initial capital of $100,000 to keep risks under control.
Commission:
Set to 0.1%, which is sufficient for most cryptocurrency exchanges.
Slippage:
Configured at 1 tick.
Funding Note:
Keep in mind that funding is not included in this strategy.
It’s impossible to predict whether it will be positive or negative, and it can vary significantly across exchanges, so it is not part of the default settings.
🕒 Recommended Settings
Timeframe: 1H and higher
On lower timeframes → significant discrepancies may occur between historical and real backtesting data.
On higher timeframes → minor differences are possible, related to slippage, sharp moves, and other unpredictable situations.
⚠️ Important Notes
Always remember: Strategy results may not repeat in the future.
The market constantly changes, so:
✅ Monitor the situation
✅ Backtest regularly
✅ Adjust settings for each asset
Also remember about possible bugs in any algorithmic trading strategy.
Even if a script is well-tested, no one knows what unpredictable events the market may bring tomorrow.
⚠️ Risk Management:
Do not risk more than 1% of your deposit per trade, otherwise you may lose your account balance, since this strategy works without stop losses.
⚠️ Disclaimer
The author of the strategy does not encourage anyone to use this algorithm and bears no responsibility for any possible financial losses resulting from its application!
Any decision to use this strategy is made personally by the owners of TradingView accounts and cryptocurrency exchange accounts.
📝 Final Notes
This is not the final version. I already have ideas on how to improve it further, so follow me to not miss updates.
🐞 Bug Reports
If you notice any bugs or inconsistencies in my algorithm,
please let me know — I will try to fix them as quickly as possible.
💬 Feedback & Suggestions
If you have any ideas on how this or any of my other strategies can be improved, feel free to write to me. I will try to implement your suggestions in the script.
Wishing everyone good luck and stable profits! 🚀💰
Commodity Channel Index DualThe CCI Dual is a custom TradingView indicator built in Pine Script v5, designed to help traders identify potential buy and sell signals using two Commodity Channel Index (CCI) oscillators. It combines a shorter-period CCI (default: 14) for quick momentum detection with a longer-period CCI (default: 50) for confirmation, focusing on mean-reversion opportunities in overbought or oversold conditions.
This setup is particularly suited for volatile markets like cryptocurrencies on higher timeframes (e.g., 3-day charts), where it highlights reversals by requiring both CCIs to cross out of extreme zones within a short window (default: 3 bars).
The indicator plots the CCIs, customizable bands (inner: 100, OB/OS: 175, outer: 200), dynamic fills for visual emphasis, background highlights for signals, and alert conditions for notifications.
How It Works
The indicator calculates two CCIs based on user-defined lengths and source (default: close price):
CCI Calculation: CCI measures price deviation from its average, using the formula: CCI = (Typical Price - Simple Moving Average) / (0.015 * Mean Deviation). The short CCI reacts faster to price changes, while the long CCI provides smoother, trend-aware confirmation.
Overbought/Oversold Levels: Customizable thresholds define extremes (Overbought at +175, Oversold at -175 by default). Bands are plotted at inner (±100), mid (±175 dashed), and outer (±200) levels, with gray fills for the outer zones.
Dynamic Fills: The longer CCI is used to shade areas beyond OB/OS levels in red (overbought) or green (oversold) for quick visual cues.
Signals:
Buy Signal: Triggers when both CCIs cross above the Oversold level (-175) within the signal window (3 bars). This suggests a potential upward reversal from an oversold state.
Sell Signal: Triggers when both cross below the Overbought level (+175) within the window, indicating a possible downward reversal.
Visuals and Alerts: Buy signals highlight the background green, sells red. Separate alertconditions allow setting TradingView alerts for buys or sells independently.
Customization: Adjust lengths, levels, and window via inputs to fit your timeframe or asset—e.g., higher OB/OS for crypto volatility.
This logic reduces noise by requiring dual confirmation, but like all oscillators, it can produce false signals in strong trends where prices stay extended.
To mitigate false signals (e.g., in trending markets), layer the CCI Dual with MACD (default: 12,26,9) and RSI (default: 14) for multi-indicator confirmation:
With MACD: Only take CCI buys if the MACD line is above the signal line (or histogram positive), confirming bullish momentum. For sells, require MACD bearish crossover. This filters counter-trend signals by aligning with trend strength—e.g., ignore CCI sells if MACD shows upward momentum.
With RSI: Confirm CCI oversold buys only if RSI is below 30 and rising (or shows bullish divergence). For overbought sells, RSI above 70 and falling. This adds overextension validation, reducing whipsaws in crypto trends.
I made this customizable for you to find what works best for your asset you are trading. I trade the 6 hour and 3 day timeframe mainly on major cryptocurrency pairs. I hope you enjoy this script and it serves you well.
Peak Reversal v3# Peak Reversal v3
## Summary
Peak Reversal v3 adds new configurability, clearer visuals, and a faster trader workflow. The release introduces a new Squeeze Detector , expanded Keltner Channels , and streamlined Momentum signals , with no repaints and improved performance. The menus have been reorganized and simplified. Color swatches have been added for better customization. All other colors will be derived from these swatches.
## Highlights
New Squeeze Detector to mark low-volatility periods and prepare for breakouts.
New: Bands are now fully configurable with independent MA length, ATR length, and multipliers.
Five moving average bases for bands: EMA (from v2), SMA, RMA, VMA, HMA.
Simplified color system: three swatches drive candles, on-chart marks, and band fill.
Reorganized menu with focused sections and tooltips for each parameter making the entire trader experience more intuitive.
No repaints and faster performance across calculations.
## Overview
Configuration : Pick from three color swatches and apply them to candles, plotted characters, and band fill for consistent chart context. Use the reorganized menu to reach Keltner settings, momentum signals, and squeeze detection without extra clicks; tooltips clarify each input.
Bands and averages: Choose the band basis from EMA, SMA, RMA, VMA, or HMA to match your strategy. Configure two bands independently by setting MA length, ATR length, and band multipliers for the inner and outer envelopes.
Signals : Select the band responsible for momentum signals. Choose wick or close as the price source for entries and exits. Control the window for extreme momentum with “Max Momentum Bars,” a setting now exposed in v3 for direct tuning.
Squeeze detection : The Squeeze Detector normalizes band width and uses percentile ranking to highlight volatility compression. When the market falls below a user-defined threshold, the indicator colors the region with a gradient to signal potential expansion.
## Details about major features and changes
### New
Squeeze Detector to highlight low-volatility conditions.
Five MA bases for bands: EMA, SMA, RMA, VMA, HMA.
“Max Momentum Bars” to cap the bars used for extreme momentum.
### Keltner channel improvements
Refactored Keltner settings for flexible inner and outer band control.
MA type selection added; band calculations updated for consistency.
Removed the third Keltner band to reduce noise and simplify setup.
### Display and signals
Gradient fills for band breakouts, mean deviations, and squeeze periods.
“Show Mean EMA?” set to true and default “Signal Band” set to “Inner.”
Clearer tooltips and input descriptions.
### Reliability and performance
No more repaints. The indicator waits for confirmation before drawing occurs.
Faster execution through targeted refactors.
All algorithms have been reviewed and now use a consistent logic, naming, and structure.
BBMA Enhanced Pro - Multi-Timeframe Band Breakout StrategyShort Title : BBMA Pro
Overview
The BBMA Enhanced Pro is a professional-grade trading indicator that builds on the Bollinger Bands Moving Average (BBMA) strategy, pioneered by Omar Ali , a Malaysian forex trader and educator. Combining Bollinger Bands with Weighted Moving Averages (WMA) , this indicator identifies high-probability breakout and reversal opportunities across multiple timeframes. With advanced features like multi-timeframe Extreme signal detection, eight professional visual themes, and a dual-mode dashboard, it’s designed for traders seeking precision in trending and consolidating markets. Optimized for dark chart backgrounds, it’s ideal for forex, stocks, and crypto trading.
History
The BBMA strategy was developed by Omar Ali (BBMA Oma Ally) in the early 2010s, gaining popularity in the forex trading community, particularly in Southeast Asia. Building on John Bollinger’s Bollinger Bands, Omar Ali integrated Weighted Moving Averages and a multi-timeframe approach to create a structured system for identifying reversals, breakouts, and extreme conditions. The BBMA Enhanced Pro refines this framework with modern features like real-time dashboards and customizable visualizations, making it accessible to both novice and experienced traders.
Key Features
Multi-Timeframe Extreme Signals : Detects Extreme signals (overbought/oversold conditions) on both current and higher timeframes simultaneously, a rare feature that enhances signal reliability through trend alignment.
Professional Visual Themes : Eight distinct themes (e.g., Neon Contrast, Fire Gradient) optimized for dark backgrounds.
Dual-Mode Dashboard : Choose between Full Professional (detailed metrics) or Simplified Trader (essential info with custom notes).
Bollinger Band Squeeze Detection : Identifies low volatility periods (narrow bands) signaling potential sideways markets or breakouts.
Confirmation Labels : Displays labels when current timeframe signals align with recent higher timeframe signals, highlighting potential consolidations or squeezes.
Timeframe Validation : Prevents selecting the same timeframe for current and higher timeframe analysis.
Customizable Visualization : Toggle signal dots, EMA 50, and confirmation labels for a clean chart experience.
How It Works
The BBMA Enhanced Pro combines Bollinger Bands (20-period SMA, ±2 standard deviations) with WMA (5 and 10 periods) to generate trade signals:
Buy Signal : WMA 5 Low crosses above the lower Bollinger Band, indicating a recovery from an oversold condition (Extreme buy).
Sell Signal : WMA 5 High crosses below the upper Bollinger Band, signaling a rejection from an overbought condition (Extreme sell).
Extreme Signals : Occur when prices or WMAs move significantly beyond the Bollinger Bands (±2σ), indicating statistically rare overextensions. These often coincide with Bollinger Band Squeezes (narrow bands, low standard deviation), signaling potential sideways markets or impending breakouts.
Multi-Timeframe Confirmation : The indicator’s unique strength is its ability to detect Extreme signals on both the current and higher timeframe (HTF) within the same chart. When the HTF generates an Extreme signal (e.g., buy), and the current timeframe follows with an identical signal, it suggests the lower timeframe is aligning with the HTF’s trend, increasing reliability. Labels appear only when this alignment occurs within a user-defined lookback period (default: 50 bars), highlighting periods of band contraction across timeframes.
Bollinger Band Squeeze : Narrow bands (low standard deviation) indicate reduced volatility, often preceding consolidation or breakouts. The indicator’s dashboard tracks band width, helping traders anticipate these phases.
Why Multi-Timeframe Extremes Matter
The BBMA Enhanced Pro’s multi-timeframe approach is rare and powerful. When the higher timeframe shows an Extreme signal followed by a similar signal on the current timeframe, it suggests the market is following the HTF’s trend or entering a consolidation phase. For example:
HTF Sideways First : If the HTF Bollinger Bands are shrinking (low volatility, low standard deviation), it signals a potential sideways market. Waiting for the current timeframe to show a similar Extreme signal confirms this consolidation, reducing the risk of false breakouts.
Risk Management : By requiring HTF confirmation, the indicator encourages traders to lower risk during uncertain periods, waiting for both timeframes to align in a low-volatility state before acting.
Usage Instructions
Select Display Mode :
Current TF Only : Shows Bollinger Bands and WMAs on the chart’s timeframe.
Higher TF Only : Displays HTF bands and WMAs.
Both Timeframes : Combines both for comprehensive analysis.
Choose Higher Timeframe : Select from 1min to 1D (e.g., 15min, 1hr). Ensure it differs from the current timeframe to avoid validation errors.
Enable Signal Dots : Visualize buy/sell Extreme signals as dots, sourced from current, HTF, or both timeframes.
Toggle Confirmation Labels : Display labels when current timeframe Extremes align with recent HTF Extremes, signaling potential squeezes or consolidations.
Customize Dashboard :
Full Professional Mode : View metrics like BB width, WMA trend, and last signal.
Simplified Trader Mode : Focus on essential info with custom trader notes.
Select Visual Theme : Choose from eight themes (e.g., Ice Crystal, Royal Purple) for optimal chart clarity.
Trading Example
Setup : 5min chart, HTF set to 1hr, signal dots and confirmation labels enabled.
Buy Scenario : On the 5min chart, WMA 5 Low crosses above the lower Bollinger Band (Extreme buy), confirmed by a recent 1hr Extreme buy signal within 50 bars. The dashboard shows narrow bands (squeeze), and a green label appears.
Action : Enter a long position, targeting the middle band, with a stop-loss below the recent low. The HTF confirmation suggests a strong trend or consolidation phase.
Sell Scenario : WMA 5 High crosses below the upper Bollinger Band on the 5min chart, confirmed by a recent 1hr Extreme sell signal. The dashboard indicates a squeeze, and a red label appears.
Action : Enter a short position, targeting the middle band, with a stop-loss above the recent high. The aligned signals suggest a potential reversal or sideways market.
Customization Options
BBMA Display Mode : Current TF Only, Higher TF Only, or Both Timeframes.
Higher Timeframe : 1min to 1D.
Visual Theme : Eight professional themes (e.g., Neon Contrast, Forest Glow).
Line Style : Smooth or Step Line for HTF plots.
Signal Dots : Enable/disable, select timeframe source (Current, Higher, or Both).
Confirmation Labels : Toggle and set lookback window (1-100 bars).
Dashboard : Enable/disable, choose mode (Full/Simplified), and set position (Top Right, Bottom Left, etc.).
Notes
Extreme Signals and Squeezes : Extreme signals often occur during Bollinger Band contraction (low standard deviation), signaling potential sideways markets or breakouts. Use HTF confirmation to filter false signals.
Risk Management : If the HTF shows a squeeze (narrow bands), wait for the current timeframe to confirm with an Extreme signal to reduce risk in choppy markets.
Limitations : Avoid trading Extremes in highly volatile markets without additional confirmation (e.g., volume, RSI).
Author Enhanced Professional Edition, inspired by Omar Ali’s BBMA strategy
Version : 6.0 Pro - Simplified
Last Updated : September 2025
License : Mozilla Public License 2.0
We’d love to hear your feedback! Share your thoughts or questions in the comments below.
Session & Swing Levels + Smart AlertsMulti-Timeframe Level Tracker with Advanced Alert System
This comprehensive indicator combines session-based trading levels with multi-timeframe swing analysis, for key level identification and alert management.
Key Features:
Session Analysis:
Asia Session (7:00 PM - 4:00 AM ET) - Tracks high/low levels during Asian market hours
London Session (3:00 AM - 11:00 AM ET) - Identifies key European session levels
Previous Day Levels - Displays prior day's high and low levels
Visual session backgrounds and customizable timezone support
Multi-Timeframe Swing Detection:
Up to 5 configurable timeframes (default: 15m, 1h, 4h, 1D, 1W)
Intelligent swing high/low identification using customizable pivot strength
Each timeframe uses distinct colors for easy identification
Advanced Alert System:
Anti-repainting protection - Alerts only trigger on confirmed bars for reliable live trading
Specific alert messages for each level type (Asia High, London Low, Previous Day levels, etc.)
Individual alert toggles for each session and timeframe
Timestamps in Eastern Time for consistency
Visual Customization:
Independent color schemes for sessions and timeframes
Configurable line styles (solid, dashed, dotted) and widths
Separate styling for active vs. mitigated levels
Optional line extension past mitigation points
📊 How It Works:
Level Creation: Automatically identifies and draws key levels at session closes
Mitigation Detection: Monitors price interaction with levels in real-time
Visual Updates: Changes line appearance when levels are crossed
Smart Alerts: Sends targeted notifications with level-specific information
Anchorman - EMA Channel + EMA + MTF Status Table PRICE BREAKOUTUses a high/low EMA Channel to tell you when strong price breakouts are happening plus comes with a EMA to help follow the trend if you like. I designed it so it can alert you when a single TF touch happens or a breakout alignment on MTF happens (I recommend this) its up to you also its single alert so no need to do bullish or bearish signals just one signal will alert you when a breakout happens in EITHER direction.
Yaso- Structural Signals: Buy/Sell (Clean v5)//@version=5
indicator("Structural Signals: Buy/Sell (Clean v5)", overlay=true)
//===================== Inputs =====================
grpCtx = "Context (Structure)"
lenDon = input.int(20, "Donchian Lookback (S/R proxy)", minval=5, group=grpCtx)
ema20On = input.bool(true, "Show EMA 20", group=grpCtx)
ema50On = input.bool(true, "Show EMA 50", group=grpCtx)
ema200On = input.bool(true, "Show EMA 200", group=grpCtx)
grpVol = "Volume Confirmation"
volLen = input.int(20, "Volume SMA Length", minval=2, group=grpVol)
volMult = input.float(1.5, "Volume Spike × SMA", minval=1.0, step=0.1, group=grpVol)
grpCand = "Candlestick Reversal (at Structure)"
useHammer = input.bool(true, "BUY: Hammer/Bottoming Tail near Support", group=grpCand)
useStar = input.bool(true, "SELL: Shooting Star/Topping Tail near Resistance", group=grpCand)
srNearPct = input.float(0.004, "‘Near’ S/R tolerance (0.004=0.4%)", step=0.001, minval=0.0, group=grpCand)
grpBreak = "Breakouts / Breakdowns"
useBO = input.bool(true, "BUY: Breakout above Resistance (Donchian High)", group=grpBreak)
useBD = input.bool(true, "SELL: Breakdown below Support (Donchian Low)", group=grpBreak)
grpPats = "Double Tops / Bottoms (pivots)"
useDB = input.bool(true, "BUY: Double Bottom / Higher Low", group=grpPats)
useDT = input.bool(true, "SELL: Double Top / Lower High", group=grpPats)
pvLeft = input.int(3, "Pivot Left Bars", minval=2, group=grpPats)
pvRight = input.int(3, "Pivot Right Bars", minval=2, group=grpPats)
matchTolPct = input.float(0.0075, "Price Match Tolerance (0.75%)", step=0.0005, minval=0.0, group=grpPats)
grpXover = "Trend Filters (Crosses)"
useGolden = input.bool(true, "BUY: Golden Cross (EMA50 > EMA200)", group=grpXover)
useDeath = input.bool(true, "SELL: Death Cross (EMA50 < EMA200)", group=grpXover)
grpGap = "Gap Fills (Daily preferred)"
useGapUpRev = input.bool(true, "SELL: Gap-Up Fill & Reversal (close < prior close)", group=grpGap)
useGapDnRev = input.bool(true, "BUY: Gap-Down Fill & Reversal (close > prior close)", group=grpGap)
minGapPct = input.float(0.01, "Min Gap % (1% = 0.01)", minval=0.0, step=0.001, group=grpGap)
grpAgg = "Alert Controls"
aggregateAlerts = input.bool(true, "Enable Aggregate BUY/SELL Alerts", group=grpAgg)
//===================== Context =====================
ema20 = ta.ema(close, 20)
ema50 = ta.ema(close, 50)
ema200 = ta.ema(close, 200)
donHi = ta.highest(high, lenDon)
donLo = ta.lowest(low, lenDon)
plot(ema20On ? ema20 : na, "EMA 20", color=color.new(color.teal, 0), linewidth=2)
plot(ema50On ? ema50 : na, "EMA 50", color=color.new(color.orange, 0), linewidth=2)
plot(ema200On ? ema200 : na, "EMA 200", color=color.new(color.blue, 0), linewidth=2)
plot(donHi, "Donchian High", color=color.new(color.red, 40))
plot(donLo, "Donchian Low", color=color.new(color.green,40))
volSMA = ta.sma(volume, volLen)
volSpike = volume > volSMA * volMult
//===================== Helpers =====================
near(val, ref, pct) =>
// true if |val - ref| / ref <= pct (with nz guard)
math.abs(val - ref) / nz(ref, val) <= pct
lowerWick() =>
(open < close ? open : close) - low
upperWick() =>
high - (open > close ? open : close)
bodySize() =>
math.abs(close - open)
isHammer() =>
lw = lowerWick()
uw = upperWick()
bd = bodySize()
lw >= bd * 2 and uw <= bd * 0.6 and close > open
isShootingStar() =>
lw = lowerWick()
uw = upperWick()
bd = bodySize()
uw >= bd * 2 and lw <= bd * 0.6 and close < open
nearSupport = near(low, donLo, srNearPct) or near(low, ema200, srNearPct)
nearResist = near(high, donHi, srNearPct) or near(high, ema200, srNearPct)
//===================== Signals =====================
// Breakouts / Breakdowns
buyBreakout = useBO and ta.crossover(close, donHi ) and (volSpike or close > donHi )
sellBreakdown = useBD and ta.crossunder(close, donLo ) and (volSpike or close < donLo )
// Pivots → Double Bottom / Top
pL = ta.pivotlow(low, pvLeft, pvRight)
pH = ta.pivothigh(high, pvLeft, pvRight)
lastLow = ta.valuewhen(pL, low , 0)
prevLow = ta.valuewhen(pL, low , 1)
lastHigh = ta.valuewhen(pH, high , 0)
prevHigh = ta.valuewhen(pH, high , 1)
priceMatch(a, b, tol) =>
not na(a) and not na(b) and math.abs(a - b) / b <= tol
doubleBottom = useDB and priceMatch(lastLow, prevLow, matchTolPct) and nz(lastLow) > nz(prevLow)
doubleTop = useDT and priceMatch(lastHigh, prevHigh, matchTolPct) and nz(lastHigh) < nz(prevHigh)
// Crosses (trend)
goldenCross = useGolden and ta.crossover(ema50, ema200)
deathCross = useDeath and ta.crossunder(ema50, ema200)
// Gap fill reversals (daily)
isDaily = timeframe.isdaily
gapUp = isDaily and open > close * (1 + minGapPct)
gapDown = isDaily and open < close * (1 - minGapPct)
gapUpFillRev = useGapUpRev and gapUp and high >= close and close < close
gapDnFillRev = useGapDnRev and gapDown and low <= close and close > close
// Candles at structure
hammerAtSupport = useHammer and isHammer() and nearSupport
starAtResist = useStar and isShootingStar() and nearResist
// Aggregate booleans (no arrays, no loops)
anyBuy = hammerAtSupport or buyBreakout or doubleBottom or goldenCross or gapDnFillRev
anySell = starAtResist or sellBreakdown or doubleTop or deathCross or gapUpFillRev
//===================== Plots =====================
plotshape(hammerAtSupport, title="BUY: Hammer @ Support", style=shape.triangleup, color=color.new(color.lime, 0), size=size.tiny, location=location.belowbar, text="Hammer@S")
plotshape(buyBreakout, title="BUY: Breakout", style=shape.triangleup, color=color.new(color.green, 0), size=size.tiny, location=location.belowbar, text="BO")
plotshape(doubleBottom, title="BUY: Double Bottom", style=shape.triangleup, color=color.new(color.teal, 0), size=size.tiny, location=location.belowbar, text="DB")
plotshape(goldenCross, title="BUY: Golden Cross", style=shape.triangleup, color=color.new(color.aqua, 0), size=size.tiny, location=location.belowbar, text="GC")
plotshape(gapDnFillRev, title="BUY: Gap-Down Reversal",style=shape.triangleup, color=color.new(color.fuchsia,0), size=size.tiny, location=location.belowbar, text="GapDnREV")
plotshape(starAtResist, title="SELL: Star @ Resistance",style=shape.triangledown, color=color.new(color.red, 0), size=size.tiny, location=location.abovebar, text="Star@R")
plotshape(sellBreakdown, title="SELL: Breakdown", style=shape.triangledown, color=color.new(color.maroon, 0), size=size.tiny, location=location.abovebar, text="BD")
plotshape(doubleTop, title="SELL: Double Top", style=shape.triangledown, color=color.new(color.orange, 0), size=size.tiny, location=location.abovebar, text="DT")
plotshape(deathCross, title="SELL: Death Cross", style=shape.triangledown, color=color.new(color.purple, 0), size=size.tiny, location=location.abovebar, text="DC")
plotshape(gapUpFillRev, title="SELL: Gap-Up Reversal", style=shape.triangledown, color=color.new(color.yellow, 0), size=size.tiny, location=location.abovebar, text="GapUpREV")
plotshape(aggregateAlerts and anyBuy, title="BUY (Aggregate)", style=shape.labelup, color=color.new(color.green, 70), textcolor=color.black, text="BUY", location=location.belowbar, size=size.tiny)
plotshape(aggregateAlerts and anySell, title="SELL (Aggregate)", style=shape.labeldown, color=color.new(color.red, 70), textcolor=color.black, text="SELL", location=location.abovebar, size=size.tiny)
//===================== Alerts =====================
alertcondition(hammerAtSupport, "BUY: Hammer @ Support", "Hammer/Bottoming Tail at support on {{ticker}} {{interval}}")
alertcondition(buyBreakout, "BUY: Breakout", "Breakout above Donchian High on {{ticker}} {{interval}}")
alertcondition(doubleBottom, "BUY: Double Bottom", "Double Bottom/Higher Low on {{ticker}} {{interval}}")
alertcondition(goldenCross, "BUY: Golden Cross", "EMA50 crosses above EMA200 on {{ticker}} {{interval}}")
alertcondition(gapDnFillRev, "BUY: Gap-Down Reversal","Gap-down filled & reversed on {{ticker}} {{interval}}")
alertcondition(starAtResist, "SELL: Star @ Resistance","Shooting Star/Topping Tail at resistance on {{ticker}} {{interval}}")
alertcondition(sellBreakdown, "SELL: Breakdown", "Breakdown below Donchian Low on {{ticker}} {{interval}}")
alertcondition(doubleTop, "SELL: Double Top", "Double Top/Lower High on {{ticker}} {{interval}}")
alertcondition(deathCross, "SELL: Death Cross", "EMA50 crosses below EMA200 on {{ticker}} {{interval}}")
alertcondition(gapUpFillRev, "SELL: Gap-Up Reversal", "Gap-up filled & reversed on {{ticker}} {{interval}}")
// Aggregate
alertcondition(aggregateAlerts and anyBuy, "BUY: Aggregate", "Structural BUY signal on {{ticker}} {{interval}}")
alertcondition(aggregateAlerts and anySell, "SELL: Aggregate", "Structural SELL signal on {{ticker}} {{interval}}")
B@dshah Indicator🚀 Advanced Multi-Indicator Trading System
A comprehensive trading indicator that combines multiple technical analysis tools for high-probability signal generation:
📊 CORE FEATURES:
- EMA Trend Analysis (Fast/Slow crossovers)
- RSI Momentum Detection
- MACD Signal Confirmation
- Bollinger Bands (Squeeze & Mean Reversion)
- Fibonacci Retracement Levels
- Volume & ATR Filtering
- Multi-Confluence Scoring System (0-10 scale)
🎯 SIGNAL QUALITY:
- Non-repainting signals (confirmed at bar close)
- Minimum 60% strength threshold for trades
- Dynamic TP/SL based on market structure
- Real-time win rate tracking
- Signal strength percentage display
⚙️ UNIQUE FEATURES:
- BB Squeeze detection for volatility breakouts
- Fibonacci level confluence analysis
- Smart position sizing recommendations
- Visual TP/SL lines with outcome tracking
- Comprehensive statistics table
🔔 ALERTS INCLUDED:
- Buy/Sell signals with strength ratings
- TP/SL hit notifications
- BB squeeze/expansion alerts
- Fibonacci level touches
Best used on 1H+ timeframes for optimal results.
Perfect for swing trading and position entries.
Trap Zone Lite – Shinobi LabThis indicator is designed for day traders, especially on lower timeframes such as the 2-minute chart. It highlights the Trap Zone: an area of congestion created by the 20-period moving average, the 200-period moving average, and the previous day’s closing price. This zone often acts as a heavy area of support or resistance where price can stall or trap participants.
What it shows:
A shaded Trap Zone box (congestion zone).
Two boundary lines that extend outward from the zone:
Zone + (above the trap) → context for bullish confirmation. A long signal forming here has stronger reliability.
Zone – (below the trap) → context for bearish confirmation. A short signal forming here has stronger reliability.
How to use:
The Trap Zone is meant as context, not signals. Traders should avoid taking setups inside the zone due to congestion. The value comes from using the boundaries:
Avoid shorting in Zone + (too much overhead resistance from prior day close + MAs).
Avoid longing in Zone – (too much downward pressure).
Focus on confirmations that occur outside the trap zone for higher-quality setups.