תחזית ממוצע נע (4 ממוצעים)Visualize potential future movements of up to four Simple Moving Averages (SMAs) with this customizable forecasting tool for TradingView, built on Pine Script v4.
How It Works:
This indicator plots your chosen SMAs and then, from the most recent bar, projects their paths into the future. The projection is based on a single, global 'Future Price Change %' that you define. This allows you to model how the SMAs might react under different market scenarios (e.g., if the price is expected to rise by 10%, fall by 5%, or remain flat).
Key Features:
Four Configurable SMAs: Set distinct lengths and colors for up to four different SMAs.
Global Price Change Scenario: Input a single percentage (positive, negative, or zero) to simulate future price behavior, which then drives all SMA projections.
Adjustable Projection Horizon: Specify how many future bars to project the SMAs over.
Clear Visuals: Current SMAs are plotted as solid lines, while their future projections are displayed as corresponding dotted lines for easy differentiation.
Important Note (Pine Script v4):
Due to line drawing limitations in Pine Script v4 (max_lines_count=500), when all four SMAs are active, the 'Future Bars to Inspect' input is capped at 126. This ensures the script functions correctly within platform limits (drawing 125 segments * 4 SMAs = 500 lines).
Use Cases:
Anticipate potential future support and resistance levels based on projected SMA crossovers or positions.
Analyze how different SMAs might behave if the market trends up, down, or sideways by your assumed percentage.
Enhance your technical analysis by adding a forward-looking dimension to your SMA strategy.
This script is an extension of an idea by vladimir.kamba, modified to support four SMAs and provide future projections.
Bandas e Canais
ZenAlgo - AvengerThe ZenAlgo - Avenger indicator provides a multi-layered view of market behavior by combining volume delta analytics, trend-following EMAs, average price comparison, and price-volume profiling into a unified overlay. It is designed to visually assist traders in identifying areas of interest, momentum shifts, and potential reversals using cumulative data from both spot and perpetual markets.
Volume Delta Calculation
This indicator computes delta as the difference between estimated buy and sell volumes using volume data from multiple centralized exchanges. It distinguishes between spot and perpetual volumes, combining them into total volume.
To estimate buying and selling volume from raw volume data, candle structure is broken down into body and wicks. The body is interpreted as the core directional movement (buy/sell), while the wicks are treated as uncertain or counteraction. This segmentation helps infer the likely share of buying and selling within each bar.
The delta is calculated per bar and then aggregated over a lookback period (default 14 bars) to generate a cumulative delta. This approach provides a smoothed value of volume pressure trends over time.
A moving average is applied to the delta values (using selectable MA types like EMA or SMA) to define signal crossovers and suppress noise.
Delta Visualization
To contextualize delta within price action, the delta is scaled dynamically (by ATR or user-defined value) and plotted as a band around the closing price. Positive delta expands upward from price, negative delta downward. This provides a visual overlay that reflects net market pressure in context with price movement.
In cases of extreme delta (threshold set at 80% of recent maximum), the indicator marks spike bars using symbols to indicate significant directional pressure.
Identification of Noteworthy Conditions
The indicator highlights points on the chart where specific conditions are met based on the interaction between volume delta and its moving average. These conditions may align with moments of market pressure imbalance and directional movement, but they are not to be interpreted as trade signals in isolation.
Instead, these chart markers serve as visual flags for potential interest. They are intended to draw the user’s attention to scenarios where:
The delta crosses above or below its moving average, suggesting a potential shift in volume pressure.
The cumulative delta supports the direction of this crossover.
Optional filters can further restrict these markings to periods where:
The short-term trend (as inferred from EMA slope) supports the direction.
Volume is elevated relative to a recent average.
A user-defined cooldown period prevents multiple markings within short succession to avoid clutter.
It is essential to underscore that these markers do not constitute buy or sell advice . Their role is diagnostic , helping the trader to identify potential moments of interest which should be analyzed in conjunction with broader context, such as trend structure, price action, support/resistance levels, or external market data.
EMA Structure
Six EMAs with fixed lengths (13 to 56) are plotted and colored dynamically based on the most recent crossover between the fastest and slowest (EMA1 and EMA6). These EMAs help visualize short- to mid-term trends. The crossover itself is marked with symbols, with vertical offset based on ATR to maintain chart readability.
Average Line (AVG)
The indicator also calculates an average price based on a fixed window (100 bars). This is not a standard moving average but rather a raw average of recent prices stored in a circular buffer. The average is plotted, and its relative distance to the current price is labeled as a percentage. This feature serves as a simplified representation of fair value or mean reversion anchor.
EMA6 vs AVG Cross
Another layer of point of interest detection involves EMA6 crossing the AVG line. This crossover is only considered valid if EMA6 shows slope consistency in the crossing direction. These events are marked using symbols and offset vertically to avoid overlapping price action.
Divergence Detection
The script detects both regular and hidden divergences between price and delta:
Regular divergences are defined when price makes a higher high or lower low, while delta fails to confirm (makes a lower high or higher low).
Hidden divergences occur when price retraces (lower high or higher low), but delta moves against this retracement, indicating underlying strength or weakness.
Divergence points are labeled with "R" (regular) or "H" (hidden) and appear at local pivot highs or lows. The number of visible divergence labels can be limited for chart clarity.
POC and nPOC Calculations
The script includes a simplified volume profile implementation, calculating:
POC (Point of Control): the price level with the highest volume for the given period.
nPOC (non-tested POC): historical POCs that have not yet been revisited by price.
Price levels are bucketed into rows (user-defined), and volume per bucket is tracked to identify the POC. Upon a new period (e.g., day, week), a horizontal POC line is drawn. Once tested by price, the line’s appearance changes (color fades, label shrinks), helping users distinguish between untouched and touched levels.
Limits are enforced on the number of retained POCs and their maximum distance from current bars to optimize performance and chart readability.
Exchange Aggregation
Volume data is aggregated across major exchanges. This ensures that the delta calculation captures a broader market picture beyond a single venue, reducing exchange-specific noise.
How to Interpret Values
Delta Band: Wide bands indicate strong directional imbalance. Narrow bands suggest indecision or low volume.
EMA Crossover Symbols: Appear on directional shifts in moving averages. Multiple EMAs reinforcing the same slope typically indicate stronger trend.
AVG Line: Represents average price over recent history. Large deviations can indicate overextension or potential mean reversion.
Divergences: Regular ones may point to weakening momentum; hidden ones can suggest continuation despite corrective price action.
POC / nPOC: Key volume-based support/resistance levels. Untested nPOCs can act as magnets for price retests.
How to Best Use This Indicator
Use in conjunction with trend context (e.g., higher timeframe EMAs) to avoid counter-trend indications.
Treat delta spikes as caution zones—especially if they occur at known support/resistance.
Watch for divergences as early warning signs before price reverses.
Use POC/nPOC as target levels, especially if aligned with delta signals.
Apply volume and trend filters to reduce noise on shorter timeframes.
Added Value
Multi-exchange volume aggregation makes the delta calculation more robust.
Real-time cumulative delta overlaid directly on the price chart provides immediate context.
Points of interest on chart are conservative and filterable, intended to reduce false positives.
The combination of delta, trend-following EMAs, fair value line, and volume profile data is rarely found in one overlay script.
POC/nPOC visualization based on real traded volume helps identify high-interest zones for future price interaction.
Why Is It Worth Paying For
While free alternatives may provide partial insights (e.g., basic delta or single EMA crossovers), this indicator integrates multiple domains—delta, divergence, average price, trend overlays, and profile levels—into a coherent, optimized chart tool. The value lies not just in having these tools, but in how they are synchronized and visualized.
Furthermore, sourcing and synchronizing volume data from multiple exchanges for delta estimation is not straightforward in Pine Script and adds to the indicator's complexity and utility.
Disclaimers and Limitations
Delta estimation is based on candle structure and assumes wick/body distribution reflects buyer/seller activity, which may not always be precise.
Multi-exchange volume data relies on availability via TradingView’s request.security() function; if exchange data is missing or delayed, results may be incomplete.
Divergences do not guarantee reversals—should be used as part of a broader analysis framework.
On illiquid instruments or exotic pairs, the value of delta and volume-based analytics may be reduced due to unreliable volume.
Black Candle - First Sell/Buy Signalthis indicator gives you signals to buy and sell with high accuracy.
VOLATISPHEREVOLATISPHERE Band v1.0
An adaptive volatility-based channel system designed to spot overbought/oversold zones and potential price reversals.
Key Features:
Dynamic upper/mid/lower bands based on ATR and standard deviation
Mean reversion heatmap (normalized scale from -4 to +4)
Buy/Sell signals based on extreme price deviation
Visual cues: arrows, band shading, color-coded trend zones
Built-in alerts for price crossing bands or reversal signals
Opening Range and Market BoundariesOpening Range and Market Boundaries
This versatile and insightful indicator combines two powerful concepts frequently used by professional traders: Opening Range Analysis and Market Boundaries derived from previous high/low levels. It is specifically designed to support intraday trading strategies and helps you identify key price zones for entries, exits, and breakout confirmations.
🔍 Features & Utility
1. Opening Range Box
What it does:
Highlights the high and low of the first candle after market open (9:15 AM IST) with a shaded box. This box spans the full trading session, from 9:15 AM to 3:30 PM, representing the key price range where the initial balance is formed.
Timeframe Compatibility:
The Opening Range box is optimized for 1-minute to 1-hour charts. It is most effective on lower timeframes (1m, 5m, 15m, 30m) where intraday price movements and breakout patterns can be clearly observed.
Usage Tips:
Breakouts above or below the Opening Range box can signal potential directional bias for the rest of the trading day.
Price consolidating within the range may indicate a choppy or range-bound session.
Works well with volume and momentum indicators for confirmation.
2. Market Boundaries
What it does:
Plots horizontal lines at:
Previous Day High/Low
Previous Week High/Low
Previous Month High/Low
Why it matters:
These levels act as natural support and resistance zones, and are commonly watched by institutional traders, making them crucial for:
Spotting reversals or breakouts
Planning stop-loss and target zones
Avoiding trades around high-rejection areas
Customization Options:
Toggle ON/OFF for Daily, Weekly, and Monthly levels.
Independent colors and line thickness for each level, enabling you to distinguish between different timeframes easily.
🛠️ How to Use Effectively
Use during market open:
Switch to a 5-minute or 15-minute chart during the first few candles of the session. Observe the Opening Range box formation and plan trades based on breakout direction.
Confluence Trading:
Look for price action near previous session highs/lows in confluence with the Opening Range box edges. These intersections often become high-probability zones for breakouts or reversals.
Session Preparation:
Before the market opens, analyze where the price is relative to past high/low boundaries. If it's near a weekly/monthly level, be cautious — those areas can cause whipsaws or false breakouts.
Avoid low-volume breakouts:
Use this indicator in conjunction with volume tools or price action confirmation to validate the strength of a move outside the Opening Range or Market Boundaries.
📌 Summary
This indicator is designed for intraday traders, scalpers, and swing traders who want a reliable structure to guide their decisions. It visually marks the opening balance of the market and essential higher timeframe boundaries, helping you trade with discipline and precision.
SMA PLOTS & ANCHORED VWAP & CONSOLIDATION FINDERHi traders,
SMA Plots, Anchored VWAP & Consolidation Finder
This Pine Script indicator combines multiple technical analysis tools to provide traders with a comprehensive view of price trends, volume-weighted price levels, and consolidation periods. It includes Simple Moving Averages (SMAs) for daily and chart timeframes, an Anchored Volume-Weighted Average Price (VWAP) with standard deviation bands, and a consolidation detection system based on Bollinger Bands (BB), Average True Range (ATR), and Relative Strength Index (RSI). Designed for versatility, it caters to both trend-following and range-bound trading strategies.
Indicators and Logic
Simple Moving Averages (SMAs):
Daily SMAs: 50-period and 200-period SMAs are calculated on the daily timeframe, plotted on the chart for trend identification. These are ideal for long-term trend analysis, with the 50-SMA acting as a short-term trend indicator and the 200-SMA as a long-term trend indicator.
Chart SMAs: 50-period and 200-period SMAs are calculated on the current chart timeframe, offering flexibility for intraday or swing trading. These are toggleable and disabled by default to reduce chart clutter.
Labeling: Customizable labels for SMA lines and their values (toggleable) provide clear visual cues, showing the exact price levels of the SMAs on the chart.
Anchored VWAP with Standard Deviation Bands:
The VWAP is anchored to a user-defined date (default: March 20, 2020), calculating the volume-weighted average price from that point. It serves as a dynamic support/resistance level, reflecting the average price traders have paid.
Three standard deviation bands (1σ, 2σ, 3σ) are plotted around the VWAP, helping identify overbought/oversold conditions or potential breakout zones. These bands are toggleable for user convenience.
A 1-period EMA is included (toggleable, disabled by default) for traders who prefer a fast-moving average for short-term price tracking.
Consolidation Detection:
The consolidation finder uses three indicators to identify low-volatility periods, which often precede breakouts:
Bollinger Bands (BB): Measures price range tightness using the BB width (upper band - lower band / SMA). A low BB width (< user-defined threshold) indicates consolidation.
ATR (Average True Range): Assesses volatility as a percentage of the closing price. A low ATR % (< user-defined threshold) confirms reduced market activity.
RSI (Relative Strength Index): A low RSI (< user-defined threshold) suggests weak momentum, typical of consolidation phases.
Two consolidation signals are generated:
New Signal: Detects consolidation if at least a user-defined number of bars (default: 3) within a lookback period (default: 10) meet the criteria.
Standard Signal: Detects instant consolidation based on the current bar’s conditions.
A dynamic table displays historical data (min/max/average) for BB width, ATR %, and RSI within a user-defined date range, aiding in parameter optimization.
Trading Strategies
Trend-Following with SMAs:
Use the 50/200 SMA crossover on the daily timeframe to identify bullish (50 > 200) or bearish (50 < 200) trends.
On the chart timeframe, enable the 50/200 SMAs for shorter-term trend confirmation, aligning trades with the dominant trend.
Example: Enter long positions when the price is above both SMAs and short positions when below, using SMA value labels to confirm price proximity.
Mean-Reversion with Anchored VWAP:
Treat the VWAP as a mean price level. Enter long trades when the price dips to the lower 1σ/2σ bands and short trades when it rises to the upper 1σ/2σ bands, expecting a reversion to the VWAP.
Use the 3σ bands to identify extreme conditions for potential breakout or reversal trades.
Example: If the price touches the lower 2σ band and the RSI is oversold, consider a long trade targeting the VWAP.
Breakout Trading with Consolidation Detection:
Monitor the consolidation signals (new or standard) to identify low-volatility periods. These often precede significant price movements.
Enter breakout trades when the price breaks above/below key levels (e.g., VWAP, SMA, or BB bands) after a consolidation signal.
Example: If the “New Signal” is active and the price breaks above the VWAP with increasing volume, initiate a long trade targeting the upper BB band.
User-Friendly Features
Customizable Inputs: Users can adjust SMA lengths, VWAP anchor date, band multipliers, and consolidation thresholds to suit their trading style.
Toggleable Plots and Labels: Enable/disable SMAs, VWAP bands, EMA, and labels to declutter the chart and focus on relevant data.
Dynamic Table: Displays historical BB width, ATR %, and RSI metrics for the selected date range, helping users fine-tune parameters.
Alert Conditions: Two alert conditions (new and standard consolidation signals) allow users to set notifications for trading opportunities.
Visual Clarity: Color-coded plots (green for bullish, red for bearish) and clear labels enhance readability and decision-making.
How to Use
Add the indicator to your chart and adjust input parameters (e.g., SMA lengths, VWAP anchor date, consolidation thresholds) based on your trading preferences.
Enable/disable plots and labels to customize the chart display.
Monitor the dynamic table for historical data to optimize consolidation detection settings.
Set alerts for consolidation signals to stay informed of potential trading opportunities.
Combine SMA trends, VWAP levels, and consolidation signals to develop a robust trading strategy.
Notes
This indicator is best used in conjunction with other technical/fundamental analysis to confirm signals.
Backtest any strategy thoroughly before live trading, as past performance does not guarantee future results.
The default settings are optimized for general use but may require adjustment for specific markets or timeframes.
Disclaimer
This script is provided for educational purposes and should not be considered financial advice. Always conduct your own research and consult a financial advisor before trading.
Monday High/LowShows Monday High and Low throughout the week with tags to the trendlines. Updates every Monday and shows the two values constantly.
Last Candle Std Dev BandsStandard deviation bands created based on 20 previous closes of daily candle to find better entry and exit points for trades
AAPL Multi-Strategy (5 Strategies Beta)✅ Momentum Reversal
✅ Moving Average Crossover
✅ Heikin-Ashi Reversal
✅ Swing Day Trading
✅ Candlestick Patterns
Color Shape Signal Type Meaning
🟡 Yellow Circle Momentum Reversal Dot Stochastic overbought (>80) or oversold (<20) → possible trend reversal area
🟢 Green Triangle Up Moving Average Crossover → BUY EMA20 crossed above EMA50 AND price above EMA200 → bullish crossover confirmation
🔴 Red Triangle Down Moving Average Crossover → SELL EMA20 crossed below EMA50 AND price below EMA200 → bearish crossover confirmation
🟩 Lime Circle Heikin-Ashi Bull Heikin-Ashi candle closed bullish (HA close > HA open)
🟫 Maroon Circle Heikin-Ashi Bear Heikin-Ashi candle closed bearish (HA close < HA open)
🔵 Blue Flag Swing Day Trading BUY Price crosses above EMA20 from below → pullback BUY signal
🟠 Orange Flag Swing Day Trading SELL Price crosses below EMA20 from above → pullback SELL signal
🟢 Green Label Up Bullish Engulfing Pattern Classic bullish engulfing candlestick pattern detected → possible trend reversal up
🔴 Red Label Down Bearish Engulfing Pattern Classic bearish engulfing candlestick pattern detected → possible trend reversal down
Bollinger Bands with PercentageIt is a Bollinger Bands indicator with an added metric between its upper and lower bands to detect squeeze conditions
AAPL Multi-Strategy (5 Strategies Beta)AAPL Multi-Strategy (5 Strategies Beta)
✅ Momentum Reversal
✅ Moving Average Crossover
✅ Heikin-Ashi Reversal
✅ Swing Day Trading
✅ Candlestick Pattern
BB2/2.5ハイライトIndicator Name: **BB2/2.5 Highlight**
1. **Introduction**
BB2/2.5 Highlight displays two Bollinger Bands—inner at ±2 σ and outer at ±2.5 σ—while hiding the middle band. The space between the two bands is shaded gray to help you spot strong momentum or unusually large price movements at a glance.
2. **Key Features**
* **Double-Band Display**: Plots inner band (±2 σ) and outer band (±2.5 σ) simultaneously.
* **Zone Highlight**: Shades the area between the two bands to emphasize high-momentum zones.
* **Full Customization**: Adjust period, deviations, line colors, line transparency, and shading color directly via inputs.
3. **Parameters**
* **Length** (Period)
– The number of bars used to calculate the moving average. Default: 20
* **Std Dev 1** (Inner Band Deviation)
– Multiplier for standard deviation of the inner band. Default: 2.0
* **Std Dev 2** (Outer Band Deviation)
– Multiplier for standard deviation of the outer band. Default: 2.5
* **Color Band 1** (Inner Band Color)
– Color of the ±Std Dev 1 lines. Default: Blue
* **Color Band 2** (Outer Band Color)
– Color of the ±Std Dev 2 lines. Default: Orange
* **Line Transparency**
– Transparency of both band lines, 0 (opaque) to 100 (invisible). Default: 30
* **Shading Color**
– Color and transparency of the shaded area between bands. Default: Gray at 85% opacity
4. **How to Use & Interpretation**
* **Break above inner band (±2 σ)**
Indicates accelerating trend strength or strong momentum.
* **Break above outer band (±2.5 σ)**
Signals an extreme move—potential overbought/oversold condition and possible reversal points.
* **Shaded Zone (±2 σ to ±2.5 σ)**
Visually marks the range where price is exhibiting particularly strong momentum.
5. **Customization Examples**
* **Change deviations to ±1.5 / ±3.0**
Set Std Dev 1 = 1.5, Std Dev 2 = 3.0
* **Use green/red band colors**
Set Color Band 1 = #00FF00, Color Band 2 = #FF0000
* **Increase transparency to 50%**
Set Line Transparency = 50
* **Light-blue shading**
Set Shading Color = #ADD8E6 at 85% opacity
6. **Notes & Warnings**
* Bollinger Bands are based on historical volatility; they do not predict future price action.
* Always combine with other technical tools or fundamental analysis for confirmation.
* Behavior may vary across timeframes and instruments—backtest and paper-trade before going live.
7. **Conclusion**
BB2/2.5 Highlight makes “strong momentum” zones immediately visible by combining a ±2 σ/±2.5 σ double‐band with a shaded area. All inputs are adjustable, so tailor the settings to fit your trading style and use the indicator to time entries and exits more effectively.
Happy Trading!
Tango Rocket velas 1.5Tango Rocket Indicator:
Daily Volatility Range Projection
This indicator identifies the 3 largest-bodied candles from the last N daily bars and calculates a projected price range centered on the current day’s opening price. The projected channel is displayed for the current day and past days, helping visualize potential daily movement and historical volatility patterns.
RSI + RSI MA + Choppiness IndexThe indicator is an extension of the Chopiness & RSI Index but takes it one step further by adding the RSI based MA .
Strong uptrend occurs when the RSI is at least 15% above the RSI based MA and the choppiness index value is below the RSI based MA.
Strong downtrend occurs when the Choppiness index line is at least 15% above the RSI based MA and the RSI is below the RSI based MA.
When both the RSI and Chopiness index are above the RSI based MA, this can mean either an uptrend or approaching downtrend.
When both the RSI and Chopiness index are below the RSI based MA, this can mean either an downtrend or approaching uptrend.
*Use at own risk.
₿ober XM v1.3# ₿ober XM v1.3 Trading Bot Documentation
## Overview
The ₿ober XM v1.3 is an advanced dual-channel trading bot. It integrates multiple technical indicators, customizable risk management, and advanced order execution via webhook for automated trading. The bot's distinctive feature is its separate channel systems for long and short positions, allowing for asymmetric trade strategies that adapt to different market conditions.
### Key Features
- **Dual-Channel System**: Independent indicator settings for long and short positions
- **Multiple Entry Strategies**: Breakout, Pullback, and Mean Reversion options
- **Machine Learning Integration**: Predictive MLMA (Machine Learning Moving Average) for enhanced trend detection
- **Comprehensive Filtering**: Combines momentum, volatility, volume, and trend filters
- **Advanced Risk Management**: Dynamic position sizing, multiple stop-loss types, and trailing stops
- **Webhook Integration**: Direct connectivity to exchanges or third-party platforms
- **Configurable OBV MA Types**: Choose from multiple moving average types for OBV calculations
### General Settings
| Setting | Description | Default Value |
|---------|-------------|---------------|
| **Long Positions** | Enable or disable long trades | Enabled |
| **Short Positions** | Enable or disable short trades | Enabled |
| **Risk/Reward Area** | Visual display of stop-loss and take-profit zones | Enabled |
| **Long Entry Source** | Price data used for long entry signals | hl2 (High+Low/2) |
| **Short Entry Source** | Price data used for short entry signals | hl2 (High+Low/2) |
The bot allows you to trade long positions, short positions, or both simultaneously. Each direction has its own set of parameters, allowing for fine-tuned strategies that recognize the asymmetric nature of market movements.
### Webhook Configuration
| Setting | Description | Default Value |
|---------|-------------|---------------|
| **Long Entry Comment** | Webhook message for long entries | "ENTER-LONG" |
| **Short Entry Comment** | Webhook message for short entries | "ENTER-SHORT" |
| **Exit Comment** | Webhook message for position exits | "EXIT-ALL" |
| **Leverage** | Position size multiplier | 1.0 |
| **Reduce Only** | Restrict orders to reducing positions | Enabled |
| **Exchange Conditional Orders** | Place SL/TP directly on exchange | Disabled |
The webhook system allows for seamless integration with exchanges or third-party platforms:
- **Benefits**:
- Automated trade execution without manual intervention
- Immediate response to market conditions
- Consistent execution of your strategy
- **Implementation Notes**:
- Requires proper webhook configuration on your exchange or platform
- Test thoroughly with small position sizes before full deployment
- Consider latency between signal generation and execution
### Backtesting Period
Define a specific historical period to evaluate the bot's performance:
| Setting | Description | Default Value |
|---------|-------------|---------------|
| **Start Date** | Beginning of backtest period | January 1, 2025 |
| **End Date** | End of backtest period | December 31, 2026 |
- **Best Practice**: Test across different market conditions (bull markets, bear markets, sideways markets)
- **Limitation**: Past performance doesn't guarantee future results
## Entry and Exit Strategies
### Dual-Channel System
A key innovation of the Bober XM is its dual-channel approach:
- **Independent Parameters**: Each trade direction has its own channel settings
- **Asymmetric Trading**: Recognizes that markets often behave differently in uptrends versus downtrends
- **Optimized Performance**: Fine-tune settings for both bullish and bearish conditions
This approach allows the bot to adapt to the natural asymmetry of markets, where uptrends often develop gradually while downtrends can be sharp and sudden.
### Channel Types
#### 1. Keltner Channels
Traditional volatility-based channels using EMA and ATR:
| Setting | Long Default | Short Default |
|---------|--------------|---------------|
| **EMA Length** | 37 | 20 |
| **ATR Length** | 13 | 17 |
| **Multiplier** | 1.4 | 1.9 |
| **Source** | low | high |
- **Strengths**:
- Reliable in trending markets
- Less prone to whipsaws than Bollinger Bands
- Clear visual representation of volatility
- **Weaknesses**:
- Can lag during rapid market changes
- Less effective in choppy, non-trending markets
#### 2. Machine Learning Moving Average (MLMA)
Advanced predictive model using kernel regression (RBF kernel):
| Setting | Long Default | Short Default |
|---------|--------------|---------------|
| **Window Size** | 16 | 16 |
| **Forecast Length** | 3 | 3 |
| **Noise Parameter** | 0.43 | 0.44 |
| **Band Multiplier** | 0.6 | 0.5 |
| **Source** | low | high |
- **Strengths**:
- Predictive rather than reactive
- Adapts quickly to changing market conditions
- Better at identifying trend reversals early
- **Weaknesses**:
- More computationally intensive
- Requires careful parameter tuning
- Can be sensitive to input data quality
### Entry Strategies
| Strategy | Description | Ideal Market Conditions |
|----------|-------------|-------------------------|
| **Breakout** | Enters when price breaks through channel bands, indicating strong momentum | High volatility, emerging trends |
| **Pullback** | Enters when price retraces to the middle band after testing extremes | Established trends with regular pullbacks |
| **Mean Reversion** | Enters at channel extremes, betting on a return to the mean | Range-bound or oscillating markets |
#### Breakout Strategy (Default)
- **Implementation**: Enters long when price crosses above the upper band, short when price crosses below the lower band
- **Strengths**: Captures strong momentum moves, performs well in trending markets
- **Weaknesses**: Can lead to late entries, higher risk of false breakouts
- **Optimization Tips**:
- Increase channel multiplier for fewer but more reliable signals
- Combine with volume confirmation for better accuracy
#### Pullback Strategy
- **Implementation**: Enters long when price pulls back to middle band during uptrend, short during downtrend pullbacks
- **Strengths**: Better entry prices, lower risk, higher probability setups
- **Weaknesses**: Misses some strong moves, requires clear trend identification
- **Optimization Tips**:
- Use with trend filters to confirm overall direction
- Adjust middle band calculation for market volatility
#### Mean Reversion Strategy
- **Implementation**: Enters long at lower band, short at upper band, expecting price to revert to the mean
- **Strengths**: Excellent entry prices, works well in ranging markets
- **Weaknesses**: Dangerous in strong trends, can lead to fighting the trend
- **Optimization Tips**:
- Implement strong trend filters to avoid counter-trend trades
- Use smaller position sizes due to higher risk nature
### Confirmation Indicators
#### Pivot Point SuperTrend
Combines pivot points with ATR-based SuperTrend for trend confirmation:
| Setting | Default Value |
|---------|---------------|
| **Pivot Period** | 25 |
| **ATR Factor** | 2.2 |
| **ATR Period** | 41 |
- **Function**: Identifies significant market turning points and confirms trend direction
- **Implementation**: Requires price to respect the SuperTrend line for trade confirmation
#### Weighted Moving Average (WMA)
Provides additional confirmation layer for entries:
| Setting | Default Value |
|---------|---------------|
| **Period** | 15 |
| **Source** | ohlc4 (average of Open, High, Low, Close) |
- **Function**: Confirms trend direction and filters out low-quality signals
- **Implementation**: Price must be above WMA for longs, below for shorts
### Exit Strategies
#### On-Balance Volume (OBV) Based Exits
Uses volume flow to identify potential reversals:
| Setting | Default Value |
|---------|---------------|
| **Source** | ohlc4 |
| **MA Type** | HMA (Options: SMA, EMA, WMA, RMA, VWMA, HMA) |
| **Period** | 22 |
- **Function**: Identifies divergences between price and volume to exit before reversals
- **Implementation**: Exits when OBV crosses its moving average in the opposite direction
- **Customizable MA Type**: Different MA types provide varying sensitivity to OBV changes:
- **SMA**: Traditional simple average, equal weight to all periods
- **EMA**: More weight to recent data, responds faster to price changes
- **WMA**: Weighted by recency, smoother than EMA
- **RMA**: Similar to EMA but smoother, reduces noise
- **VWMA**: Factors in volume, helpful for OBV confirmation
- **HMA**: Reduces lag while maintaining smoothness (default)
#### ADX Exit Confirmation
Uses Average Directional Index to confirm trend exhaustion:
| Setting | Default Value |
|---------|---------------|
| **ADX Threshold** | 35 |
| **ADX Smoothing** | 60 |
| **DI Length** | 60 |
- **Function**: Confirms trend weakness before exiting positions
- **Implementation**: Requires ADX to drop below threshold or DI lines to cross
## Risk Management System
### Position Sizing
Automatically calculates position size based on account equity and risk parameters:
| Setting | Default Value |
|---------|---------------|
| **Risk % of Equity** | 50% |
- **Implementation**:
- Position size = (Account equity × Risk %) ÷ (Entry price × Stop loss distance)
- Adjusts automatically based on volatility and stop placement
- **Best Practices**:
- Start with lower risk percentages (1-2%) until strategy is proven
- Consider reducing risk during high volatility periods
### Stop-Loss Methods
Multiple stop-loss calculation methods with separate configurations for long and short positions:
| Method | Description | Configuration |
|--------|-------------|---------------|
| **ATR-Based** | Dynamic stops based on volatility | ATR Period: 14, Multiplier: 2.0 |
| **Percentage** | Fixed percentage from entry | Long: 1.5%, Short: 1.5% |
| **PIP-Based** | Fixed currency unit distance | 10.0 pips |
- **Implementation Notes**:
- ATR-based stops adapt to changing market volatility
- Percentage stops maintain consistent risk exposure
- PIP-based stops provide precise control in stable markets
### Trailing Stops
Locks in profits by adjusting stop-loss levels as price moves favorably:
| Setting | Default Value |
|---------|---------------|
| **Stop-Loss %** | 1.5% |
| **Activation Threshold** | 2.1% |
| **Trailing Distance** | 1.4% |
- **Implementation**:
- Initial stop remains fixed until profit reaches activation threshold
- Once activated, stop follows price at specified distance
- Locks in profit while allowing room for normal price fluctuations
### Risk-Reward Parameters
Defines the relationship between risk and potential reward:
| Setting | Default Value |
|---------|---------------|
| **Risk-Reward Ratio** | 1.4 |
| **Take Profit %** | 2.4% |
| **Stop-Loss %** | 1.5% |
- **Implementation**:
- Take profit distance = Stop loss distance × Risk-reward ratio
- Higher ratios require fewer winning trades for profitability
- Lower ratios increase win rate but reduce average profit
## Advanced Filtering System
### Momentum & Trend Filters
#### ADX Based Momentum Filter
| Setting | Default Value |
|---------|---------------|
| **Use Filter** | Enabled |
| **Apply D+/D- Check** | Enabled |
| **ADX Smoothing** | 34 |
| **DI Length** | 28 |
| **ADX Threshold** | 19 |
- **Function**: Ensures trades are taken only in strong trending conditions
- **Implementation**: Requires ADX above threshold for trade entry
#### RSI Filter
Uses Relative Strength Index to avoid overbought/oversold conditions:
| Setting | Default Value | Status |
|---------|---------------|--------|
| **RSI Period** | 14 | Disabled |
| **Overbought Level** | 70 | |
| **Oversold Level** | 30 | |
- **Function**: Prevents entries in potentially exhausted market conditions
- **Implementation**: Blocks long entries when RSI > 70, short entries when RSI < 30
### Volatility Filter
Controls trading during excessive market volatility:
| Setting | Default Value |
|---------|---------------|
| **Measure** | ATR |
| **Period** | 8 |
| **Threshold** | 1.3 |
| **Source** | ohlc4 |
- **Function**: Prevents trading during unpredictable market conditions
- **Implementation**: Blocks trades when current volatility exceeds threshold × average volatility
### Volume Filter
Ensures adequate market liquidity for trades:
| Setting | Default Value |
|---------|---------------|
| **Threshold** | 1.1× average |
| **Average Period** | 4 |
| **Smoothing Period** | 18 |
- **Function**: Prevents trading during low liquidity conditions
- **Implementation**: Requires current volume to exceed threshold × average volume
### Filter Combinations
The bot allows for simultaneous application of multiple filters:
- **Recommended Combinations**:
- Trending markets: ADX + Volume filters
- Ranging markets: Volatility + RSI filters
- All markets: Volume filter as minimum requirement
- **Performance Impact**:
- Each additional filter reduces the number of trades
- Quality of remaining trades typically improves
- Optimal combination depends on market conditions and timeframe
## Visual Indicators and Chart Analysis
The bot provides comprehensive visual feedback on the chart:
- **Channel Bands**: Keltner or MLMA bands showing potential support/resistance
- **Pivot SuperTrend**: Colored line showing trend direction and potential reversal points
- **Entry/Exit Markers**: Annotations showing actual trade entries and exits
- **Risk/Reward Zones**: Visual representation of stop-loss and take-profit levels
These visual elements allow for:
- Real-time strategy assessment
- Post-trade analysis and optimization
- Educational understanding of the strategy logic
## Implementation Guide
### TradingView Setup
1. Load the script in TradingView Pine Editor
2. Apply to your preferred chart and timeframe
3. Adjust parameters based on your trading preferences
4. Enable alerts for webhook integration
### Webhook Integration
1. Configure webhook URL in TradingView alerts
2. Set up receiving endpoint on your trading platform
3. Define message format matching the bot's output
4. Test with small position sizes before full deployment
### Optimization Process
1. Backtest across different market conditions
2. Identify parameter sensitivity through multiple tests
3. Focus on risk management parameters first
4. Fine-tune entry/exit conditions based on performance metrics
5. Validate with out-of-sample testing
## Performance Considerations
### Strengths
- Adaptability to different market conditions through dual channels
- Multiple layers of confirmation reducing false signals
- Comprehensive risk management protecting capital
- Machine learning integration for predictive edge
### Limitations
- Complex parameter set requiring careful optimization
- Potential over-optimization risk with so many variables
- Computational intensity of MLMA calculations
- Dependency on proper webhook configuration for execution
### Best Practices
- Start with conservative risk settings (1-2% of equity)
- Test thoroughly in demo environment before live trading
- Monitor performance regularly and adjust parameters
- Consider market regime changes when evaluating results
## Conclusion
The ₿ober XM v1.3 represents a sophisticated trading system combining traditional technical analysis with machine learning elements. Its dual-channel approach and comprehensive filtering system make it adaptable to various market conditions, while its risk management features help protect capital during adverse movements.
The addition of selectable OBV MA types in v1.3 provides further customization, allowing traders to fine-tune the exit strategy sensitivity according to market conditions and personal preferences. This enhancement offers more control over exit signals, potentially improving trade outcome profitability.
The bot is designed for traders who understand that no system is perfect, but that edge can be found through careful optimization and disciplined execution. With proper setup and realistic expectations, it provides a framework for systematic cryptocurrency trading across various market conditions.
2025 - Licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
NQ1! Scalping Indicator v6NQ1! Scalping Indicator v6 — Fast & Reliable Entry Signals
This custom scalping indicator is built for intraday traders who scalp the Nasdaq-100 E-mini Futures (NQ1!), especially on 1-minute and 5-minute charts.
It combines three powerful components to deliver high-probability entry signals:
✅ Key Features:
Trend Detection: Uses a fast/slow EMA crossover to identify trend direction.
Momentum Confirmation: A short-period RSI ensures signals align with momentum, filtering out weak entries.
Volatility Filter: ATR-based logic confirms the market is volatile enough to justify a scalp trade—reducing noise during sideways chop.
🟢 Buy Signal:
Fast EMA crosses above Slow EMA
RSI is rising (between 50–70)
ATR is above the threshold
🔴 Sell Signal:
Fast EMA crosses below Slow EMA
RSI is falling (between 50–30)
ATR is above the threshold
📍 Visuals:
Green ⬆ arrows for buy entries
Red ⬇ arrows for sell entries
Background shading highlights valid trade zones
🔔 Alerts:
Built-in alert conditions for Buy and Sell signals—perfect for real-time notifications.
Optimized for fast-paced scalping with discipline and clarity.
Pair it with proper risk management and you'll have a reliable assistant in volatile markets like NQ1!.
6 Moving Averages Difference TableIndicator Summary: 6 Moving Averages Difference Table (6MADIFF)
This TradingView indicator calculates and plots up to six distinct moving averages (MAs) directly on the price chart. Users have extensive control over each MA, allowing selection of:
Type: SMA, EMA, WMA, VWMA, HMA, RMA
Length: Any positive integer
Color: User-defined
Visibility: Can be toggled on/off
A core feature is the on-chart data table, designed to provide a quick overview of the relationships between the MAs and the price. This table displays:
$-MA Column: The absolute difference between the user-selected Input Source (e.g., Close, Open, HLC3) and the current value of each MA.
MA$ Column: The actual calculated price value of each MA for the current bar.
MA vs. MA Matrix: A grid showing the absolute difference between every possible pair of the calculated MAs (e.g., MA1 vs. MA2, MA1 vs. MA3, MA2 vs. MA5, etc.).
Customization Options:
Input Source: Select the price source (Open, High, Low, Close, HL2, HLC3, OHLC4) used for all MA calculations and the price difference column.
Table Settings: Control the table's visibility, position on the chart, text size, decimal precision for displayed values, and the text used for the column headers ("$-MA" and "MA$").
Purpose:
This indicator is useful for traders who utilize multiple moving averages in their analysis. The table provides an immediate, quantitative snapshot of:
How far the current price is from each MA.
The exact value of each MA.
The spread or convergence between different MAs.
This helps in quickly assessing trend strength, potential support/resistance levels based on MA clusters, and the relative positioning of short-term versus long-term averages.
Adaptive RSI | Lyro RSThe Adaptive RSI | 𝓛𝔂𝓻𝓸 𝓡𝓢 indicator enhances the traditional Relative Strength Index (RSI) by integrating adaptive smoothing techniques and dynamic bands. This design aims to provide traders with a nuanced view of market momentum, highlighting potential trend shifts and overbought or oversold conditions.
Key Features
Adaptive RSI Calculation: Combines fast and slow Exponential Moving Averages (EMAs) of the RSI to capture momentum shifts effectively.
Dynamic Bands: Utilizes a smoothed standard deviation approach to create upper and lower bands around the adaptive RSI, aiding in identifying extreme market conditions.
Signal Line: An additional EMA of the adaptive RSI serves as a signal line, assisting in confirming trend directions.
Customizable Color Schemes: Offers multiple predefined color palettes, including "Classic," "Mystic," "Accented," and "Royal," with an option for users to define custom colors for bullish and bearish signals.
How It Works
Adaptive RSI Computation: Calculates the difference between fast and slow EMAs of the RSI, producing a responsive oscillator that adapts to market momentum.
Band Formation: Applies a smoothing factor to the standard deviation of the adaptive RSI, generating dynamic upper and lower bands that adjust to market volatility.
Signal Line Generation: Computes an EMA of the adaptive RSI to act as a signal line, providing additional confirmation for potential entries or exits.
Visualization: Plots the adaptive RSI as color-coded columns, with colors indicating bullish or bearish momentum. The dynamic bands are filled to visually represent overbought and oversold zones.
How to Use
Identify Momentum Shifts: Observe crossovers between the adaptive RSI and the signal line to detect potential changes in trend direction.
Spot Overbought/Oversold Conditions: Monitor when the adaptive RSI approaches or breaches the dynamic bands, signaling possible market extremes.
Customize Visuals: Select from predefined color palettes or define custom colors to align the indicator's appearance with personal preferences or chart themes.
Customization Options
RSI and EMA Lengths: Adjust the lengths of the RSI, fast EMA, slow EMA, and signal EMA to fine-tune the indicator's sensitivity.
Band Settings: Modify the band length, multiplier, and smoothing factor to control the responsiveness and width of the dynamic bands.
Color Schemes: Choose from predefined color modes or enable custom color settings to personalize the indicator's appearance.
⚠️ DISCLAIMER ⚠️: This indicator alone is not reliable and should be combined with other indicator(s) for a stronger signal.
AWR_WaveTrend MutltitimeframeWaveTrend Oscillator is a port of a famous TS/MT indicator
The WT Multi-Timeframe indicator consists of several lines representing different time frames: monthly (red), weekly (yellow), daily (green), 4-hour (purple), and lower units (blue).
It helps analyze trends and potential turning points, allowing one to decide whether to follow the trend or take contrarian positions.
You can choose which timeframes you want to display for the current period or for the last period closed.
In a few seconds, you perfectly see the selected timeframes trends.
When the oscillator (WT1 designed as a line) is above the overbought band (53 to 63) and crosses down the WT2 (signaled by a x), it is usually a good SELL signal.
Similarly, when the oscillator crosses above the WT2 (signal = triangle) when below the Oversold band ( (-53 to -63)), it is a good BUY signal.
You can also check the cross between differents WT1 (daily and weekly seems to be very effective).
An wt1 of a lower timeframe can also be blocked by an higher timeframe WT.
I've also add small items down the graph that correspond at specific situation :
🌟 WT1 from 1H to D are below WT1 Weekly and below -50
🤿 WT1 from 1H to D are above WT1 Weekly and above 50
🌋WT1 daily is going up and crossing WT1 weekly
🪂 WT1 daily is going down and crossing WT1 weekly
Let's see some example :
1 : See the effect of a cross down between W and M (yellow and red)
2 : A yellow triangle (wt1 weekly cross up wt2 weekly) in a nice zone
3 : See the effect of a cross up between W and M (yellow and red)
4 : See the effect of a cross down between W and M (yellow and red) in a nice zone
5 : A yellow triangle (wt1 weekly cross up wt2 weekly) in a nice zone
Etc...
CRCRYPTOA clean, adaptive support & resistance tool to track price between recent highs/lows.
✅ Auto-adjusts for your timeframe
✅ Shows trend bias with color (green = up, red = down)
✅ Includes ATR bands for volatility zones
Perfect for spotting dynamic bounce/reject levels on any TF.
© 2025 CRCRYPTO. This script is proprietary. Do not copy, redistribute, or resell without explicit permission.
X: x.com
AWR_Oscillateur de DéviationThis indicator calculates linear regression index according to several configurable periods.
There are a total of eight configurable periods.
Each time, the indicator will calculate for each specified range the best linear regression line & then it will plot it as an oscillator.
For example, if the price is at 2 standard deviation of his linear regression line, it will plot it at 2 on the graph. etc...
It will currently be configured by default between 0 and 5000 UT, which provides both a short-term and a very long-term view.
You can set a specific color for each linear regression index.
As a reminder, the linear regression line is based on the least squares method, meaning: the more the price deviates from its regression line, the more statistically likely it is to return to its regression line. From two standard deviations or minus two standard deviations, it is generally statistically proven that we will trend towards the regression line over time.
Here are some key applications:
1. Trend Identification – you can use it to identify the general direction of each period by analysing the slope of linear regression index
2. Support and Resistance Levels – Regression channels help traders identify support and resistance zones, providing insight into optimal entry and exit points in a trend.
3. You can also use the short period linear regression index vs the long period linear regression index to identify important pivot points.
I've added red & blue color to help to identify excess points. Be careful, an excess can be more excessive than expected... ;-)
[blackcat] L3 Adaptive Trend SeekerOVERVIEW
The indicator is designed to help traders identify dynamic trends in various markets efficiently. It employs advanced calculations including Dynamic Moving Averages (DMAs) and multiple moving averages to filter out noise and provide clear buy/sell signals 📈✨. By utilizing innovative algorithms that adapt to changing market conditions, this tool enables users to make informed decisions across different timeframes and asset classes.
This versatile indicator serves both novice and experienced traders seeking reliable ways to navigate volatile environments. Its primary objective is to simplify complex trend analysis into actionable insights, making it an indispensable addition to any trader’s arsenal ⚙️🎯.
FEATURES
Customizable Dynamic Moving Average: Calculates an adaptive moving average tailored to specific needs using customizable coefficients.
Trend Identification: Utilizes multi-period moving averages (e.g., short-term, medium-term, long-term) to discern prevailing trends accurately.
Crossover Alerts: Provides visual cues via labels when significant crossover events occur between key indicators.
Adjusted MA Plots: Displays steplines colored according to the current trend direction (green for bullish, red for bearish).
Historical Price Analysis: Analyzes historical highs and lows over specified periods, ensuring robust trend identification.
Conditional Signals: Generates bullish/bearish conditions based on predefined rules enhancing decision-making efficiency.
HOW TO USE
Script Installation:
Copy the provided code and add it under Indicators > Add Custom Indicator within TradingView.
Choose an appropriate name and enable it on your desired charts.
Parameter Configuration:
Adjust the is_trend_seeker_active flag to activate/deactivate the core functionality as needed.
Modify other parameters such as smoothing factors if more customized behavior is required.
Interpreting Trends:
Observe the steppled lines representing the long-term/trend-adjusted moving averages:
Green indicates a bullish trend where prices are above the dynamically calculated threshold.
Red signifies a bearish environment with prices below respective levels.
Pay attention to labels marked "B" (for Bullish Crossover) and "S" (for Bearish Crossover).
Signal Integration:
Incorporate these generated signals within broader strategies involving support/resistance zones, volume data, and complementary indicators for stronger validity.
Use crossover alerts responsibly by validating them against recent market movements before execution.
Setting Up Alerts:
Configure alert notifications through TradingView’s interface corresponding to crucial crossover events ensuring timely responses.
Backtesting & Optimization:
Conduct extensive backtests applying diverse datasets spanning varied assets/types verifying robustness amidst differing conditions.
Refine parameters iteratively improving overall effectiveness and minimizing false positives/negatives.
EXAMPLE SCENARIOS
Swing Trading: Employ the stepline crossovers coupled with momentum oscillators like RSI to capitalize on intermediate trend reversals.
Day Trading: Leverage rapid adjustments offered by short-medium term MAs aligning entries/exits alongside intraday volatility metrics.
LIMITATIONS
The performance hinges upon accurate inputs; hence regular recalibration aligning shifting dynamics proves essential.
Excessive reliance solely on this indicator might lead to missed opportunities especially during sideways/choppy phases necessitating additional filters.
Always consider combining outputs with fundamental analyses ensuring holistic perspectives while managing risks effectively.
NOTES
Educational Resources: Delve deeper into principles behind dynamic moving averages and their significance in technical analysis bolstering comprehension.
Risk Management: Maintain stringent risk management protocols integrating stop-loss/profit targets safeguarding capital preservation.
Continuous Learning: Stay updated exploring evolving financial landscapes incorporating new methodologies enhancing script utility and relevance.
THANKS
Thanks to all contributors who have played vital roles refining and optimizing this script. Your valuable feedback drives continual enhancements paving way towards superior trading experiences!
Happy charting, and here's wishing you successful ventures ahead! 🌐💰!
AWR Optimized LR (Multiple)Attached you will find the indicator that calculates linear regression lines according to several configurable periods.
There are a total of eight configurable periods.
Each time, the indicator will calculate for each specified range the best linear regression line & channel (2 standard regressions) for that period and then plot it on the graph.
It will currently be configured by default between 0 and 5000 UT, which provides both a short-term and a very long-term view.
You can set a specific color for each linear regression channels.
As a reminder, the linear regression line is based on the least squares method, meaning: the more the price deviates from its regression line, the more statistically likely it is to return to its regression line. From two standard deviations or minus two standard deviations), it is generally statistically proven that we will trend towards the regression line over time.
Application of Regression Lines in Trading
Regression lines are widely used in trading and financial analysis to understand market trends and make informed predictions. Here are some key applications:
1. Trend Identification – Traders use regression lines to visualize the general direction of a stock or asset price, helping to confirm an upward or downward trend.
2. Price Predictions – Linear regression models assist in estimating future price movements based on historical data, allowing traders to anticipate changes.
3. Risk Assessment – By analyzing the slope and variation of a regression line, traders can gauge market volatility and potential risks.
4. Support and Resistance Levels – Regression channels help traders identify support and resistance zones, providing insight into optimal entry and exit points in a trend.
5. You can also use the short period linear regression channels vs the long period linear regression channels to identify important pivot points.