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!
Penunjuk dan strategi
maLibrary "ma"
So I remember what moving averages "ta" has.
ma(data, length, technique)
Parameters:
data (float)
length (simple int)
technique (simple string)
t3(data, length, vf)
Parameters:
data (float)
length (float)
vf (simple float)
alma(data, length, offset, sigma)
Parameters:
data (float)
length (simple int)
offset (simple int)
sigma (simple float)
Supertrend - PineConnectorThis strategy uses the Supertrend indicator to identify trend-based buy and sell opportunities. A trade is entered when the price crosses over or under the Supertrend line:
Buy Entry: Triggered when the price crosses above the Supertrend line.
Sell Entry: Triggered when the price crosses below the Supertrend line.
Exit Conditions: Opposite crossover signals indicate a potential trend reversal and are used to close positions.
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.
MarketCap_FreeFloatGive you market cap and free float instantly..
Considers TOTAL_SHARES_OUTSTANDING & FLOAT_SHARES_OUTSTANDING
Multiplies by
// Calculate metrics in crores
MarketCap = Outstanding * close
FreeFloat = free_float * close
Values are in INR (Crores)
Breakout Swing High LowThis open-source indicator identifies swing high and swing low breakouts, providing clear visual signals for potential trend entries. It is designed for traders who use price action to spot breakout opportunities in trending markets.
How It Works
Swing Detection: The indicator uses a user-defined lookback period (default: 4 candles) to identify swing highs (peaks) and swing lows (troughs). A swing high is confirmed when a candle's high is higher than the surrounding candles, and a swing low is confirmed when a candle's low is lower.
Breakout Signals: A green triangle below the candle signals a breakout above the most recent swing high, indicating a potential buy opportunity. A red triangle above the candle signals a breakout below the most recent swing low, indicating a potential sell opportunity. Each swing level triggers only one breakout signal to avoid clutter.
Visualization: Swing high levels are drawn as green dashed lines, and swing low levels as red dashed lines, extending 15 candles for clarity. Breakout signals are marked with small triangles.
How to Use
Apply the Indicator: Add the indicator to your TradingView chart.
Adjust Lookback: Set the "Lookback Candles" input (default: 4) to control the sensitivity of swing detection. Smaller values detect shorter-term swings, while larger values identify more significant levels.
Interpret Signals:
Green triangle (below candle): Consider a buy opportunity when price breaks above a swing high.
Red triangle (above candle): Consider a sell opportunity when price breaks below a swing low.
Combine with Other Tools: Use in conjunction with trend indicators (e.g., 50-period EMA) or support/resistance levels to filter signals in trending markets.
Timeframes: Works best on higher timeframes (e.g., 1H, 4H) in trending markets to avoid false breakouts in sideways conditions.
Uptrend Filter: Price > 50 & 200 MA + Upward SlopeThis indicator is designed to help traders instantly identify strong uptrend conditions based on two simple yet powerful criteria:
Price is above both the 50-day and 200-day moving averages
Both moving averages are sloping upward (positive momentum)
When both conditions are met, the indicator plots a green “UP” label below the candle, signaling a valid uptrend setup. This filter is ideal for asset selection in strategy-building, portfolio rotation, or trend-following systems.
🧠 Why it works:
The 50-day MA reflects medium-term momentum.
The 200-day MA represents the long-term trend.
When both are aligned and sloping upward, it confirms strong market structure and trend health.
🧰 Best used for:
Token screening (e.g., filtering altcoins)
Momentum-based entries
Trend confirmation
Risk filtering in strategy backtesting
[blackcat] L3 Smart Money FlowCOMPREHENSIVE ANALYSIS OF THE L3 SMART MONEY FLOW INDICATOR
🌐 OVERVIEW:
The L3 Smart Money Flow indicator represents a sophisticated multi-dimensional analytics tool combining traditional momentum measurements with advanced institutional investor tracking capabilities. It's particularly effective at identifying large-scale capital movement dynamics that often precede significant price shifts.
Core Objectives:
• Detect subtle but meaningful price action anomalies indicating major player involvement
• Provide clear entry/exit markers based on multiple validated criteria
• Offer risk-managed positioning strategies suitable for various account sizes
• Maintain operational efficiency even during high volatility regimes
THEORETICAL BACKDROP AND METHODOLOGY
🎓 Conceptual Foundation Principles:
Utilizes Time-Varying Moving Averages (TVMA) responding adaptively to changing market states
Implements Extended Smoothing Algorithm (XSA) providing enhanced filtration characteristics
Employs asymmetric weight distribution favoring recent price observations over historical ones
→ Analyzes price-weighted closing prices incorporating volume influence indirectly
← Applies Asymmetric Local Maximum (ALMA) filters generating institution-specific trends
⟸ Combines multiple temporal perspectives producing robust directional assessments
✓ Calculates normalized momentum ratios comparing current state against extended range extremes
✗ Filters out insignificant fluctuations via double-stage verification process
⤾ Generates actionable alerts upon exceeding predefined significance boundaries
CONFIGURABLE PARAMETERS IN DEPTH
⚙️ Input Customization Options Detailed Explanation:
Temporal Resolution Control:
→ TVMA Length Setting:
Minimum value constraint ensuring mathematical validity
Higher numbers increase smoothing effect reducing reaction velocity
Lower intervals enhance responsiveness potentially increasing noise exposure
Validation Threshold Definition:
↓ Bull-Bear Boundary Level:
Establishes fundamental acceptance/rejection zones
Typically set near extreme values reflecting rare occurrence probability
Can be adjusted per instrument liquidity profiles if necessary
ADVANCED ALGORITHMIC PROCEDURES BREAKDOWN
💻 Internal Operation Architecture:
Base Calculations Infrastructure:
☑ Raw Data Preparation and Normalization
☐ High/Low/Closing Aggregation Processes
☒ Range Estimation Algorithms
Intermediate Transform Engine:
📈 Momentum Ratio Computation Workflow
↔ First Pass XSA Application Details
➖ Second Stage Refinement Mechanics
Final Output Synthesis Framework:
➢ Composite Reading Compilation Logic
➣ Validation Status Determination Process
➤ Alert Trigger Decision Making Structure
INTERACTIVE VISUAL INTERFACE COMPONENTS
🎨 User Experience Interface Elements:
🔵 Plotting Series Hierarchy:
→ Primary FundFlow Signal: White trace marking core oscillator progression
↑ Secondary Confirmation Overlay: Orange/Yellow highlighting validation status
🟥 Risk/Reward Boundaries: Aqua line delineating strategic areas requiring attention
🏷️ Interactive Marker System:
✔ "BUY": Green upward-pointing labels denoting confirmed long entries
❌ "SELL": Red downward-facing badges signaling short setups
PRACTICAL APPLICATION STRATEGY GUIDE
📋 Operational Deployment Instructions:
Strategic Planning Initiatives:
• Define precise profit targets considering realistic reward/risk scenarios
→ Set maximum acceptable loss thresholds protecting available resources adequately
↓ Develop contingency plans addressing unexpected adverse developments promptly
Live Trading Engagement Protocols:
→ Maintaining vigilant monitoring of label placement activities continuously
↓ Tracking order fill success rates across implemented grids regularly
↑ Evaluating system effectiveness compared alternative methodologies periodically
Performance Optimization Techniques:
✔ Implement incremental improvements iteratively throughout lifecycle
❌ Eliminate ineffective component variations systematically
⟹ Ensure proportional growth capability matching user needs appropriately
EFFICIENCY ENHANCEMENT APPROACHES
🚀 Ongoing Development Strategy:
Resource Management Focus Areas:
→ Minimizing redundant computation cycles through intelligent caching mechanisms
↓ Leveraging parallel processing capabilities where feasible efficiently
↑ Optimizing storage access patterns improving response times substantially
Scalability Consideration Factors:
✔ Adapting to varying account sizes/market capitalizations seamlessly
❌ Preventing bottlenecks limiting concurrent operation capacity
⟹ Ensuring balanced growth capability matching evolving requirements accurately
Maintenance Routine Establishment:
✓ Regular codebase updates incorporation keeping functionality current
↓ Periodic performance audits conducting verifying continued effectiveness
↑ Documentation refinement updating explaining any material modifications made
SYSTEMATIC RISK CONTROL MECHANISMS
🛡️ Comprehensive Protection Systems:
Position Sizing Governance:
∅ Never exceed predetermined exposure limitations strictly observed
± Scale entries proportionally according to available resources carefully
× Include slippage allowances within planning stages realistically
Emergency Response Procedures:
↩ Well-defined exit strategies including trailing stops activation logic
🌀 Contingency plan formulation covering worst-case scenario contingencies
⇄ Recovery procedure documentation outlining restoration steps methodically
NY Open Market Condition Analyzer – TTR & RINY Open Market Condition Analyzer – TTR & RI (Dynamic Edition)
Built for MNQ/NQ scalpers using 1-minute charts , this upgraded analyzer continuously reevaluates structural quality during the NY Open, and now includes optional divergence detection between MNQ and MES.
📊 Core Strategy Filters
TTR = Total Trading Range (2:00–6:30AM PST premarket movement)
RI = Reactive Impulse (body of current 5-min candle)
VWAP Clearance = Confirms directional momentum
VWAP Slope Alignment = Confirms trend context (optional)
MNQ/MES Divergence Filter = Detects structural disagreement (optional)
🎯 Primary Objective
This tool helps you:
Avoid low-conviction sessions and false breakouts
React to structure as it evolves between 6:30–8:30AM PST
Confirm ideal trading windows based on clear, aligned structure
✅ Features
🔁 Dynamic Evaluation Logic
Starts at 6:34AM PST (after first 5-min bar)
Reevaluates every 5 minutes until 8:30AM PST
Signal (GOOD or SKIP) updates dynamically based on latest structure
Once structure improves, you'll know — in real-time
📊 Condition Checks
Premarket Range ≥ threshold (default: 15 pts)
5-min Candle Body ≥ threshold (default: 10 pts)
Distance from VWAP ≥ threshold (default: 5 pts)
VWAP Slope alignment (optional)
MNQ/MES Directional Divergence (optional)
📋 Visual Output
📦 Icon above bar for every 5-min window
🏷 Label displays “GOOD SETUP” or “SKIP”
📊 Dashboard panel shows:
- Premarket Range
- 5-min Candle Size
- VWAP Distance
- VWAP Slope Status
- Divergence Check Result
- Final Verdict
🛠️ Configurable Settings
Minimum Range / Candle / VWAP thresholds
Toggle VWAP Slope Filter
Toggle MNQ/MES Divergence Filter
Custom Colors for:
- GOOD/Skip Session
- Divergence Alert
- Dashboard Panel
🔔 How to Add the Alert
Load on a 1-minute MNQ chart
Click the Alerts tab (🔔 icon)
Click + Create Alert
Condition: NY Open Market Condition Analyzer – TTR & RI → Good Setup Alert
Set to: “Only Once Per Bar Close”
🧪 Best For
Scalpers trading 10–30 pt MNQ/NQ setups
Traders filtering out low-structure sessions (especially Mondays & Fridays)
Discretionary traders who want real-time structure confirmation
🧠 Pro Tip
Pair with:
Opening Range Breakout strategies
Session VWAP
Pre-market S/R zones
MAS Capital RI confirmation for trade entry
This tool adapts with the market — because setups aren’t static, and neither is your edge.
FA Dashboard: Valuation, Profitability & SolvencyFundamental Analysis Dashboard: A Multi-Dimensional View of Company Quality
This script presents a structured and customizable dashboard for evaluating a company’s fundamentals across three key dimensions: Valuation, Profitability, and Solvency & Liquidity.
Unlike basic fundamental overlays, this dashboard consolidates multiple financial indicators into visual tables that update dynamically and are grouped by category. Each ratio is compared against configurable thresholds, helping traders quickly assess whether a company meets certain value investing criteria. The tables use color-coded checkmarks and fail marks (✔️ / ❌) to visually signal pass/fail evaluations.
▶️ Key Features
Valuation Ratios:
Earnings Yield: EBIT / EV
EV / EBIT and EV / FCF: Enterprise value metrics for profitability
Price-to-Book, Free Cash Flow Yield, PEG Ratio
Profitability Ratios:
Return on Invested Capital (ROIC), ROE, Operating, Net & Gross Margins, Revenue Growth
Solvency & Liquidity Ratios:
Debt to Equity, Debt to EBITDA, Current Ratio, Quick Ratio, Altman Z-Score
Each of these metrics is calculated using request.financial() and can be viewed using either annual (FY) or quarterly (FQ) data, depending on user preference.
🧠 How to Use
Add the script to any stock chart.
Select your preferred data period (FY or FQ).
Adjust thresholds if desired to match your personal investing strategy.
Review the visual dashboard to see which metrics the company passes or fails.
💡 Why It’s Useful
This tool is ideal for traders or long-term investors looking to filter stocks using fundamental criteria. It draws inspiration from principles used by Benjamin Graham, Warren Buffett, and Joel Greenblatt, offering a fast and informative way to screen quality businesses.
This is not a repackaged built-in or autogenerated script. It’s a custom-built, interactive tool tailored for fundamental analysis using official financial data provided via Pine Script’s request.financial().
[NIC] Volatility Anomaly Indicator (Inspired by Jeff Augen)Volatility Anomaly Indicator (Inspired by Jeff Augen)
The Volatility Anomaly Indicator, inspired by Jeff Augen’s The Volatility Edge in Options Trading, helps traders spot price distortions by analyzing volatility imbalances. It compares short-term (10-day) and long-term (30-day) historical volatility (HV), plotting the ratio in a subgraph with clusters of dots to highlight anomalies—red for volatility spikes (potential sells) and green for calm periods (potential buys).
Originality: This indicator uniquely adapts Augen’s volatility concepts into a visual tool, focusing on relative volatility distortions rather than absolute levels, making it ideal for volatile assets like $TQQQ.
Features:
Calculates the ratio of short-term to long-term volatility.
Detects spikes (ratio > 1.5) and calm periods (ratio < 0.67) with customizable thresholds.
Plots volatility ratio as a blue line, with red/green dots for anomalies.
Includes optional buy/sell signals on the main chart (if overlay is enabled).
How It Works
The indicator computes historical volatility using log returns, then calculates the short-term to long-term volatility ratio. Spikes and calm periods are marked with dots in the subgraph, and threshold lines (1.5 and 0.67) provide context. Buy signals (green triangles) trigger during calm periods, and sell signals (red triangles) during spikes.
How to Use
Apply to any chart (e.g., NASDAQ:TQQQ daily).
Adjust inputs: Short Volatility Period (10), Long Volatility Period (30), Volatility Spike Threshold (1.5).
Watch for red dot clusters (spikes, potential sells) and green dot clusters (calm, potential buys).
Combine with price action or RSI for confirmation.
Why Use This Indicator?
Focuses on volatility-driven price inefficiencies.
Clear visualization with dot clusters.
Customizable for different assets and timeframes.
Limitations
Not a standalone system; requires confirmation.
May give false signals in choppy markets.
Asian Session Standard DeviationA configurable standard deviation indicator for showing the standard deviation from specific session times. Typically useful for measuring Asian session as setup for later sessions.
Hourly FVG with Swing Signals + Alertshighlights fair value gaps at the top of each hour during New york session. buy and sell signals with swing highs/ lows in the FVG.
Money Flow based probabilityMoney Flow based probability
This indicator provides a comprehensive correlation and momentum analysis between your main asset and up to three selected correlated assets. It combines correlation, trend, momentum, and overbought/oversold signals into a single, easy-to-read table directly on your chart.
Correlated Asset Selection :
You can select up to three correlated assets (e.g., indices, currencies, bonds) to compare with your main chart symbol. Each asset can be toggled on or off.
Correlation Calculation :
The indicator uses the native Pine Script ta.correlation function to measure the statistical relationship between the closing prices of your asset and each selected pair over a user-defined period.
Technical Analysis Integration :
For each asset (including the main one), the indicator calculates:
Trend direction using EMA (Exponential Moving Average) – optional
Momentum using MACD – optional
Overbought/oversold status using RSI – optional
Probability Scoring :
A weighted scoring system combines correlation, trend, MACD, RSI, and trend exhaustion signals to produce buy and sell probabilities for the main asset.
Visual Table Output :
A customizable table is displayed on the chart, showing:
Asset name
Correlation (as a percentage, -100% to +100%)
Trend (Bullish/Bearish)
MACD status (Bullish/Bearish)
RSI value and status
Buy/Sell probability (with fixed-width formatting for stability)
User Customization :
You can adjust:
Table size, color, and position
Correlation period
EMA, MACD, and RSI parameters
Which assets to display
This indicator is ideal for traders who want to quickly assess the influence of major correlated markets and technical signals on their trading instrument, all in a single glance.
---
Example: Correlation Calculation
corrCurrentAsset1 = ta.correlation(close, asset1Data, correlationPeriod)
Example: Table Output (Buy/Sell %)
buyStr = f_formatPercent(buyProbability) + "%"
sellStr = f_formatPercent(sellProbability) + "%"
cellStr = buyStr + " / " + sellStr
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.
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.
MTF Reversal & Momentum Signal [w/ Alerts + TP/SL]I created a momentum and take-profit indicator to keep me from crashing out. This is not financial advice; use your own best judgment.
Liquidity Sniper + VWAP ProfileVWAP: Daily recalculated anchored VWAP.
Volume Profile POC: The most-traded price zone (basic profile using volume bins).
Trade Logic: Executes trades when price deviates from VWAP and POC, supported by high volume and RSI confirmation.
Plots: VWAP, POC, and signal markers help you visually confirm logic.
₿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
Native MTF - Money Flow Index + Alerts - By DreamsDefined Same as DreamsDefined's MFI + Alerts but with native MTF all built into it natively without duplicating the indicator.
Intraday Trading IndicatorIndicator Overview
Moving Averages: Uses a fast EMA (9-period) and a slow EMA (21-period) to determine the trend direction.
Market Profile Approximation: Utilizes VWAP (Volume Weighted Average Price) as a simplified proxy for value area, acting as a dynamic support/resistance level.
SMC: Incorporates the concept of trend confirmation and price interaction with key levels, focusing on pullbacks to the fast EMA within a trending market.
Signals: Generates buy and sell signals when price crosses the fast EMA, filtered by the trend (fast EMA vs. slow EMA) and VWAP position, aiming for high-probability setups.
This design ensures responsiveness on short timeframes while filtering out noise, aligning with the goal of accurate signals for intraday trading.
MACD + SMA 200 Indicator v6🔹 Overview
This advanced indicator combines MACD components with a 200-period SMA to identify high-probability trend directions. It provides:
✅ Multi-timeframe trend analysis (Fast, Slow, and Very Slow MAs)
✅ Visual alerts when the 200 SMA changes direction (bullish/bearish)
✅ Customizable display options (toggle MAs on/off individually)
✅ Clean, professional visuals with color-coded trend confirmation
Perfect for swing traders and investors who want to align with the dominant trend while avoiding false signals.
📊 Key Features
1. Triple Moving Average System
Fast MA (12-period) – Short-term momentum
Slow MA (26-period) – Medium-term trend
Very Slow MA (200-period) – Long-term trend filter (bullish/bearish market)
2. Smart Trend Detection
200 SMA Color Shift: Automatically changes color when trend reverses (green = bullish, red = bearish).
Visual Labels ("BU" / "SD"): Marks where the 200 SMA confirms a new trend direction.
3. Fully Customizable
Toggle each MA on/off (reduce clutter if needed).
Enable/disable colors for cleaner charts.
Adjustable lengths for all moving averages.
4. Built-in Alerts
🔔 "Very Slow MA Turned Green" – Signals potential bullish reversal.
🔔 "Very Slow MA Turned Red" – Signals potential bearish reversal.
🎯 How to Use This Indicator
📈 Bullish Confirmation (Long Setup)
✔ Price above 200 SMA (Very Slow MA turns green)
✔ Fast MA (12) > Slow MA (26) (MACD momentum supports uptrend)
✔ "BU" label appears (confirms trend shift)
📉 Bearish Confirmation (Short Setup)
✔ Price below 200 SMA (Very Slow MA turns red)
✔ Fast MA (12) < Slow MA (26) (MACD momentum supports downtrend)
✔ "SD" label appears (confirms trend shift)
⚙️ Settings & Customization
MA Visibility: Turn individual MAs on/off.
Colors: Disable if you prefer a minimal chart.
Alerts: Enable to get notifications when the 200 SMA changes trend.
📌 Why This Indicator?
Avoid false signals by combining MACD with the 200 SMA.
Clear visual cues make trend identification effortless.
Works on all timeframes (best on 1H, 4H, Daily for swing trades).
🔗 Try it now and trade with the trend! 🚀
📥 Get the Indicator
👉 Click "Add to Chart" and customize it to your trading style!
💬 Feedback? Let me know in the comments how it works for you!