Key Levels by MoneyTribe21This custom script provides real-time tracking of key market price levels, helping traders identify critical support and resistance zones. It dynamically updates throughout the trading session, making it ideal for intraday trading, breakout strategies, and market structure analysis.
Features:
Real-Time Tracking of Key Price Levels:
ATH (All-Time High): Tracks the highest price ever reached for the asset.
PDH (Previous Day High): Marks the high of the last trading day,
PDL (Previous Day Low): Marks the low of the last trading day, serving as dynamic support.
Resistance Level: Based on the current day’s high, signaling potential price rejection points.
Support Level: Based on the current day’s low, indicating potential price bounces.
Daily Open Price: Tracks the exact market open price at the start of the trading session.
Works Across All Timeframes:
Designed for intraday, swing, and long-term trading.
Automatically adjusts levels for Forex, Stocks, Crypto, and Indices.
Fully Customizable Settings:
Modify line colors, thickness, and styles for better chart readability.
Enable/disable specific levels based on trading preference.
Works on all TradingView-compatible brokers and platforms.
How to Use This Indicator:
Breakout & Reversal Trading:
If price breaks above PDH, it may indicate bullish momentum.
If price breaks below PDL, it may signal a bearish continuation.
ATH levels can act as strong resistance zones—watch for breakouts or rejection.
Dynamic Support & Resistance:
Resistance Level (Current Day High): If price fails to break, it may signal a reversal.
Support Level (Current Day Low): If price bounces off, it may confirm a strong uptrend.
Daily Open for Trend Confirmation:
Above Daily Open: Market sentiment is bullish.
Below Daily Open: Market sentiment is bearish.
Customization Options:
Toggle individual price levels ON/OFF for a clutter-free chart.
Customize colors, line styles, and alerts for better visualization.
Set alerts for breakouts & retests of key levels.
Ideal for Traders Who:
Want high-probability support & resistance zones in real-time.
Trade breakouts, reversals, or trend continuations.
Use market structure analysis for informed decision-making.
Need automatic price tracking instead of drawing levels manually.
Compatible with all TradingView timeframes & assets (Forex, Stocks, Crypto, Indices).
Designed for both beginner and advanced traders.
Add this indicator to your chart and start tracking key levels instantly.
Komut dosyalarını "track" için ara
Bubu VWEMA & VWAPVolume Weighted Exponential Moving Average gives additional support / resistance lines to track as well as giving confidence to there respective EMAs.
A VWEMA will act much faster to volume spikes.
Intraday, Daily, and Weekly VWAPs are also shown to give more support / resistance lines to track.
The normal EMA lines (Thick ones) have colours based on a matrix calculated in the back. The Fast EMA is using 20 RSI indicators tracking how many cross above 50. The slow EMA is using 40 MACDs histograms when they cross mid point.
The VWEMA and the fill is graded on 20(fast) and 40(slow) VWEMAs crossovers.
TIME-SPLT ACADEMY INDICATOR# TIME-SPLT ACADEMY CISD + FVG + TSM FRACTALS - Comprehensive Market Structure Analysis Tool
## Overview
This indicator combines three essential market structure analysis components into a unified trading tool: Change in State Direction (CISD), Fair Value Gaps (FVG), and TSM Fractals. This integration provides traders with a complete framework for identifying market structure breaks, price imbalances, and key pivot levels on any timeframe.
## Component 1: CISD (Change in State Direction)
**What it is:** CISD identifies significant breaks in market structure by tracking when price decisively breaks above previous swing highs (bullish CISD) or below previous swing lows (bearish CISD). This concept is fundamental to understanding trend changes and continuation patterns.
**How it works:**
- Monitors swing highs and lows using customizable pivot periods
- Tracks when price closes above a previous swing high (bullish structure break)
- Tracks when price closes below a previous swing low (bearish structure break)
- Draws horizontal lines from the pivot point to the break point with "CISD" labels
- Works on multiple timeframes simultaneously
**Trading Applications:**
- Identifies trend changes and continuation signals
- Provides entry signals on structure breaks
- Helps determine market bias and direction
## Component 2: FVG (Fair Value Gaps)
**What it is:** Fair Value Gaps are price imbalances that occur when there's a gap between the high of one candle and the low of another candle two periods later, with the middle candle not filling this gap. These represent areas where price moved inefficiently and often return to "fill" the gap.
**How it works:**
- Analyzes 3-candle patterns to identify gaps
- Bearish FVG: Gap between low and high where price dropped leaving unfilled space above
- Bullish FVG: Gap between high and low where price rose leaving unfilled space below
- Tracks 8 different candle body combinations for each direction (up, down, doji patterns)
- Monitors gap mitigation when price returns to fill the imbalance
- Changes color when gaps are partially or fully mitigated
**Gap Detection Logic:**
- Bearish FVG patterns: DDD, DDJ, JDD, UDJ, JDU, UDD, DDU, UDU
- Bullish FVG patterns: DUD, DUJ, JUD, UUJ, JUU, UUD, DUU, UUU
- (D=Down candle, U=Up candle, J=Doji candle)
**Trading Applications:**
- High-probability reversal zones when price returns to FVGs
- Support and resistance levels
- Target areas for limit orders
- Risk management reference points
## Component 3: TSM Fractals
**What it is:** TSM Fractals identify significant pivot highs and lows using Williams Fractal methodology. These mark potential reversal points and key support/resistance levels.
**How it works:**
- Identifies fractal highs: peaks where the center candle's high is higher than surrounding candles
- Identifies fractal lows: valleys where the center candle's low is lower than surrounding candles
- Uses customizable lookback periods (default 15) for fractal identification
- Displays horizontal lines with "$" symbols at fractal levels
- Maintains a configurable number of recent fractals on the chart
**Trading Applications:**
- Key support and resistance levels
- Potential reversal zones
- Confluence with other analysis tools
- Stop loss placement reference points
## Why This Combination Works
**Synergistic Analysis:** Each component provides different but complementary information:
1. **CISD** shows when market structure changes, indicating trend shifts or continuation
2. **FVGs** reveal where price has moved inefficiently and may return for rebalancing
3. **Fractals** highlight key pivot points that often act as support/resistance
**Trading Edge:** The combination allows for:
- **Entry Confirmation:** Wait for CISD breaks near unfilled FVGs at fractal levels
- **Risk Management:** Use FVG boundaries and fractal levels for stop placement
- **Target Selection:** Project moves to opposite FVGs or fractal levels
- **Market Context:** Understand whether you're trading with or against structure
## Key Features
**Multi-Timeframe CISD:**
- Customizable timeframe settings (Minute, Hour, Day, Week, Month)
- Adjustable swing length for pivot identification
- Customizable line styles, widths, and colors
- Optional alerts on structure breaks
**Advanced FVG Management:**
- Automatic gap size filtering
- Real-time mitigation tracking
- Color-coded active vs. mitigated gaps
- Optional pip value labels
- Large gap alerts for significant imbalances
**Intelligent Fractal Display:**
- Configurable fractal periods
- Maximum fractal count management
- Clean visual presentation
- Historical fractal preservation
## Settings & Customization
**CISD Settings:**
- Timeframe selection and multipliers
- Swing length adjustment (default 7)
- Line styling options
- Color customization for bullish/bearish breaks
- Alert toggle options
**FVG Settings:**
- Show/hide toggles for each direction
- Minimum gap size filtering
- Alert threshold for large gaps
- Color schemes for active and mitigated gaps
- Optional size labels in pips
**Fractal Settings:**
- Fractal period adjustment (default 15)
- Maximum display count (default 10)
- Show/hide toggle
## Educational Value
This indicator teaches traders to:
- Understand market structure concepts
- Recognize price inefficiencies
- Identify key pivot points
- Combine multiple analysis methods
- Develop systematic trading approaches
## Use Cases
**Swing Trading:** Identify major structure breaks with FVG confluence
**Day Trading:** Use lower timeframe CISDs with intraday FVGs
**Scalping:** Quick entries at FVG mitigation near fractal levels
**Position Trading:** Higher timeframe structure analysis with major FVGs
## Technical Implementation
- Utilizes Pine Script v6 for optimal performance
- Efficient array management for historical data
- Real-time calculations without repainting
- Memory-optimized box and line management
- Multi-timeframe data handling with proper security functions
This comprehensive tool eliminates the need for multiple separate indicators, providing everything needed for complete market structure analysis in one cohesive package. The educational component helps traders understand not just what the signals are, but why they work and how to use them effectively in different market conditions.
Kijun Shifting Band Oscillator | QuantMAC🎯 Kijun Shifting Band Oscillator | QuantMAC
📊 **Revolutionary Technical Analysis Tool Combining Ancient Ichimoku Wisdom with Cutting-Edge Statistical Methods**
🌟 Overview
The Kijun Shifting Band Oscillator represents a sophisticated fusion of traditional Japanese technical analysis and modern statistical theory. Built upon the foundational concepts of the Ichimoku Kinko Hyo system, this indicator transforms the classic Kijun-sen (base line) into a dynamic, multi-dimensional analysis tool that provides traders with unprecedented market insights.
This advanced oscillator doesn't just show you where price has been – it reveals the underlying momentum dynamics and volatility patterns that drive market movements, giving you a statistical edge in your trading decisions.
🔥 Key Features & Innovations
Dual Trading Modes for Maximum Flexibility: 🚀
Long/Short Mode: Full bidirectional trading capability for aggressive traders seeking to capitalize on both bullish and bearish market conditions
Long/Cash Mode: Conservative approach perfect for risk-averse traders, taking long positions during uptrends and moving to cash during downtrends (avoiding short exposure)
Advanced Visual Intelligence: 🎨
9 Professional Color Schemes: From classic blue/navy to vibrant orange/purple combinations, each optimized for different chart backgrounds and personal preferences
Dynamic Gradient Histogram: Color intensity reflects oscillator strength, providing instant visual feedback on momentum magnitude
Intelligent Overlay Bands: Semi-transparent fills create clear visual boundaries without cluttering your chart
Smart Candle Coloring: Real-time color changes reflect current market state and trend direction
Customizable Threshold Lines: Clearly marked entry and exit levels with contrasting colors
Professional-Grade Analytics: 📊
Real-Time Performance Metrics: Live calculation of 9 key performance indicators
Risk-Adjusted Returns: Sharpe, Sortino, and Omega ratios for comprehensive performance evaluation
Position Sizing Guidance: Half-Kelly percentage for optimal risk management
Drawdown Analysis: Maximum drawdown tracking for risk assessment
📈 Deep Technical Foundation
Kijun-Based Mathematical Framework: 🧮
The indicator begins with the traditional Kijun-sen calculation but extends it significantly:
Statistical Enhancements: 📉
Adaptive Volatility: Bands expand and contract based on market volatility
Momentum Filtering: EMA smoothing of oscillator for trend confirmation
State Management: Intelligent signal filtering prevents whipsaws and false signals
Multi-Timeframe Compatibility: Optimized algorithms work across all timeframes
⚙️ Comprehensive Parameter Control
Kijun Core Settings: 🎛️
Kijun Length (Default: 30): Controls the lookback period for the base calculation. Shorter periods = more responsive, longer periods = smoother signals
Source Selection: Choose from Close, Open, High, Low, or HL2. Close price recommended for most applications
Calculation Method: Uses traditional Ichimoku methodology ensuring compatibility with classic analysis
Advanced Oscillator Configuration: 📊
Standard Deviation Length (Default: 36): Determines volatility measurement period. Affects band width and sensitivity
SD Multiplier (Default: 2.1): Fine-tune band distance from basis line. Higher values = wider bands, lower values = tighter bands
Oscillator Multiplier (Default: 100): Scales the final oscillator output. Useful for matching other indicators or personal preference
Smoothing Algorithm: Built-in EMA smoothing prevents noise while maintaining responsiveness
Signal Threshold Optimization: 🎯
Long Threshold (Default: 83): Oscillator level that triggers long entries. Higher values = fewer but stronger signals
Short Threshold (Default: 42): Oscillator level that triggers short entries. Lower values = fewer but stronger signals
Threshold Logic: Crossover-based system with state management prevents signal overlap
Customization Range: Fully adjustable to match your trading style and risk tolerance
Precision Date Control: 📅
Start Date/Month/Year: Precise backtesting control down to the day
Historical Analysis: Test strategies on specific market periods or events
Strategy Validation: Isolate performance during different market conditions
📊 Professional Metrics Dashboard
Risk Assessment Metrics: 💼
Maximum Drawdown %: Largest peak-to-trough decline in portfolio value. Critical for understanding worst-case scenarios and position sizing
Sortino Ratio: Risk-adjusted return measure focusing only on downside volatility. Superior to Sharpe ratio for asymmetric return distributions
Sharpe Ratio: Classic risk-adjusted performance metric. Values above 1.0 considered good, above 2.0 excellent
Omega Ratio: Probability-weighted ratio capturing all moments of return distribution. More comprehensive than Sharpe or Sortino
Performance Analytics: 📈
Profit Factor: Gross Profit ÷ Gross Loss. Values above 1.0 indicate profitability, above 2.0 considered excellent
Win Rate %: Percentage of profitable trades. Consider alongside average win/loss size for complete picture
Net Profit %: Total return on initial capital. Accounts for compounding effects
Total Trades: Sample size for statistical significance assessment
Advanced Position Sizing: 🎯
Half Kelly %: Optimal position size based on Kelly Criterion, reduced by 50% for safety margin
Risk Management: Helps determine appropriate position size relative to account equity
Mathematical Foundation: Based on win probability and profit factor calculations
Practical Application: Directly usable percentage for position sizing decisions
🎨 Advanced Display Options
Flexible Interface Design: 🖥️
6 Positioning Options: Top/Bottom/Middle × Left/Right combinations for optimal chart organization
Toggle Functionality: Show/hide metrics table for clean chart presentation during analysis
Color Coordination: Metrics table colors match selected oscillator color scheme
Professional Styling: Clean, readable format with proper spacing and alignment
Visual Hierarchy: 🎭
Oscillator Histogram: Primary focus with gradient intensity showing momentum strength
Threshold Lines: Clear horizontal references for entry/exit levels
Zero Line: Neutral reference point for trend bias determination
Background Bands: Subtle overlay context without chart clutter
🚀 Advanced Signal Generation System
Multi-Layer Signal Logic: ⚡
Primary Signal Generation: Oscillator crossover above Long Threshold (default 83) triggers long entries
Exit Signal Processing: Oscillator crossunder below Short Threshold (default 42) triggers position exits
State Management System: Prevents duplicate signals and ensures clean position transitions
Mode-Specific Logic: Different behavior for Long/Short vs Long/Cash modes
Date Range Filtering: Signals only generated within specified backtesting period
Confirmation Requirements: Bar confirmation prevents false signals from intrabar price spikes
Intelligent Position Management: 🧠
Entry Tracking: Precise entry price recording for accurate P&L calculations
Position State Monitoring: Continuous tracking of long/short/cash positions
Automatic Exit Logic: Seamless position closure and new position initiation
Performance Calculation: Real-time P&L tracking with compounding effects
📉📈 Comprehensive Band Interpretation Guide
Dynamic Band Analysis: 🔍
Upper Band Function: Represents dynamic resistance based on recent volatility. Price approaching upper band suggests potential reversal or breakout
Lower Band Function: Represents dynamic support with volatility adjustment. Price near lower band indicates oversold conditions or support testing
Middle Line (Basis): Trend direction indicator. Price above = bullish bias, price below = bearish bias
Band Width Interpretation: Wide bands = high volatility, narrow bands = low volatility/potential breakout setup
Band Slope Analysis: Rising bands = strengthening trend, falling bands = weakening trend
Oscillator Interpretation: 📊
Values Above 50: Price in upper half of recent range, bullish momentum
Values Below 50: Price in lower half of recent range, bearish momentum
Extreme Values (>80 or <20): Overbought/oversold conditions, potential reversal zones
Momentum Divergence: Oscillator direction vs price direction for early reversal signals
Trend Confirmation: Oscillator direction confirming or contradicting price trends
💡 Strategic Trading Applications
Primary Trading Strategies: 🎯
Trend Following: Use threshold crossovers to capture major directional moves. Best in trending markets with clear directional bias
Mean Reversion: Identify extreme oscillator readings for counter-trend opportunities. Effective in range-bound markets
Breakout Trading: Monitor band compressions followed by expansions for breakout signals
Swing Trading: Combine oscillator signals with band interactions for swing position entries/exits
Risk Management: Use metrics dashboard for position sizing and risk assessment
Market Condition Optimization: 🌊
Trending Markets: Increase threshold separation for fewer, stronger signals
Choppy Markets: Decrease threshold separation for more responsive signals
High Volatility: Increase SD multiplier for wider bands
Low Volatility: Decrease SD multiplier for tighter bands and earlier signals
⚙️ Advanced Configuration Tips
Parameter Optimization Guidelines: 🔧
Kijun Length Adjustment: Shorter periods (10-20) for faster signals, longer periods (50-100) for smoother trends
SD Length Tuning: Match to your trading timeframe - shorter for responsive, longer for stability
Threshold Calibration: Backtest different levels to find optimal entry/exit points for your market
Color Scheme Selection: Choose schemes that provide best contrast with your chart background and other indicators
Integration with Other Indicators: 🔗
Volume Indicators: Confirm oscillator signals with volume spikes
Support/Resistance: Use key levels to filter oscillator signals
Momentum Indicators: RSI, MACD confirmation for signal strength
Trend Indicators: Moving averages for overall trend bias confirmation
⚠️ Important Usage Notes & Limitations
Indicator Characteristics: ⚡
Lagging Nature: Based on historical price data - signals occur after moves have begun
Best Practice: Combine with leading indicators and price action analysis
Market Dependency: Performance varies across different market conditions and instruments
Backtesting Essential: Always validate parameters on historical data before live implementation
Optimization Recommendations: 🎯
Parameter Testing: Systematically test different combinations on your preferred instruments
Walk-Forward Analysis: Regularly re-optimize parameters to maintain effectiveness
Market Regime Awareness: Adjust parameters for different market conditions (trending vs ranging)
Risk Controls: Implement maximum drawdown limits and position size controls
🔧 Technical Specifications
Performance Optimization: ⚡
Efficient Algorithms: Optimized calculations for smooth real-time operation
Memory Management: Smart array handling for metrics calculations
Visual Optimization: Balanced detail vs performance for responsive charts
Multi-Symbol Ready: Consistent performance across different assets
---
The Kijun Shifting Band Oscillator represents the evolution of technical analysis, bridging the gap between traditional methods and modern quantitative approaches. This indicator provides traders with a comprehensive toolkit for market analysis, combining the intuitive wisdom of Japanese candlestick analysis with the precision of statistical mathematics.
🎯 Designed for serious traders who demand professional-grade analysis tools with institutional-quality metrics and risk management capabilities. Whether you're a discretionary trader seeking visual confirmation or a systematic trader building quantitative strategies, this indicator provides the foundation for informed trading decisions.
⚠️ IMPORTANT DISCLAIMER
Past Performance Warning: 📉⚠️
PAST PERFORMANCE IS NOT INDICATIVE OF FUTURE RESULTS. Historical backtesting results, while useful for strategy development and parameter optimization, do not guarantee similar performance in live trading conditions. Market conditions change continuously, and what worked in the past may not work in the future.
Remember: Successful trading requires discipline, continuous learning, and adaptation to changing market conditions. No indicator or strategy guarantees profits, and all trading involves substantial risk of loss.
AMD Session Structure Levels# Market Structure & Manipulation Probability Indicator
## Overview
This advanced indicator is designed for traders who want a systematic approach to analyzing market structure, identifying manipulation, and assessing probability-based trade setups. It incorporates four core components:
### 1. Session Price Action Analysis
- Tracks **OHLC (Open, High, Low, Close)** within defined sessions.
- Implements a **dual tracking system**:
- **Official session levels** (fixed from the session open to close).
- **Real-time max/min tracking** to differentiate between temporary spikes and real price acceptance.
### 2. Market Manipulation Detection
- Identifies **manipulative price action** using the relationship between the open and close:
- If **price closes below open** → assumes **upward manipulation**, followed by **downward distribution**.
- If **price closes above open** → assumes **downward manipulation**, followed by **upward distribution**.
- Normalized using **ATR**, ensuring adaptability across different volatility conditions.
### 3. Probability Engine
- Tracks **historical wick ratios** to assess trend vs. reversal conditions.
- Calculates **conditional probabilities** for price moves.
- Uses a **special threshold system (0.45 and 0.03)** for reversal signals.
- Provides **real-time probability updates** to enhance trade decision-making.
### 4. Market Condition Classification
- Classifies market conditions using a **wick-to-body ratio**:
```pine
wick_to_body_ratio = open > close ? upper_wick / (high - low) : lower_wick / (high - low)
```
- **Low ratio (<0.25)** → Likely a **trend day**.
- **High ratio (>0.25)** → Likely a **range day**.
---
## Why This Indicator Stands Out
### ✅ Smarter Level Detection
- Uses **ATR-based dynamic levels** instead of static support/resistance.
- Differentiates **manipulation from distribution** for better decision-making.
- Updates probabilities **in real-time**.
### ✅ Memory-Efficient Design
- Implements **circular buffers** to maintain efficiency:
```pine
var float manipUp = array.new_float(lookbackPeriod, 0.0)
var float manipDown = array.new_float(lookbackPeriod, 0.0)
```
- Ensures **constant memory usage**, even over extended trading sessions.
### ✅ Advanced Probability Calculation
- Utilizes **conditional probabilities** instead of simple averages.
- Incorporates **market context** through wick analysis.
- Provides **actionable signals** via a probability table.
---
## Trading Strategy Guide
### **Best Entry Setups**
✅ Wait for **price to approach manipulation levels**.
✅ Confirm using the **probability table**.
✅ Check the **wick ratio for context**.
✅ Enter when **conditional probability aligns**.
### **Smart Exit Management**
✅ Use **distribution levels** as **profit targets**.
✅ Scale out **when probabilities shift**.
✅ Monitor **wick percentiles** for confirmation.
### **Risk Management**
✅ Size positions based on **probability readings**.
✅ Place stops at **manipulation levels**.
✅ Adjust position size based on **trend vs. range classification**.
---
## Configuration Tips
### **Session Settings**
```pine
sessionTime = input.session("0830-1500", "Session Hours")
weekDays = input.string("23456", "Active Days")
```
- Match these to your **primary trading session**.
- Adjust for different **market opens** if needed.
### **Analysis Parameters**
```pine
lookbackPeriod = input.int(50, "Lookback Period")
low_threshold = input.float(0.25, "Trend/Range Threshold")
```
- **50 periods** is a good starting point but can be optimized per instrument.
- The **0.25 threshold** is ideal for most markets but may need adjustments.
---
## Market Structure Breakdown
### **Trend/Continuation Days**
- **Characteristics:**
✅ Small **opposing wicks** (minimal counter-pressure).
✅ Clean, **directional price movement**.
- **Bullish Trend Day Example:**
✅ Small **lower wicks** (minimal downward pressure).
✅ Strong **closes near the highs** → **Buyers in control**.
- **Bearish Trend Day Example:**
✅ Small **upper wicks** (minimal upward pressure).
✅ Strong **closes near the lows** → **Sellers in control**.
### **Reversal Days**
- **Characteristics:**
✅ **Large opposing wicks** → Failed momentum in the initial direction.
- **Bullish Reversal Example:**
✅ **Large upper wick early**.
✅ **Strong close from the lows** → **Sellers failed to maintain control**.
- **Bearish Reversal Example:**
✅ **Large lower wick early**.
✅ **Weak close from the highs** → **Buyers failed to maintain control**.
---
## Summary
This indicator systematically quantifies market structure by measuring **manipulation, distribution, and probability-driven trade setups**. Unlike traditional indicators, it adapts dynamically using **ATR, historical probabilities, and real-time tracking** to offer a structured, data-driven approach to trading.
🚀 **Use this tool to enhance your decision-making and gain an objective edge in the market!**
Liquidations Zones [ChartPrime]The Liquidation Zones indicator is designed to detect potential liquidation zones based on common leverage levels such as 10x, 25x, 50x, and 100x. By calculating percentage distances from recent pivot points, the indicator shows where leveraged positions are most likely to get liquidated. It also tracks buy and sell volumes in these zones, helping traders assess market pressure and predict liquidation scenarios. Additionally, the indicator features a heat map mode to highlight areas where orders and stop-losses might be clustered.
⯁ KEY FEATURES AND HOW TO USE
⯌ Leverage Zones Detection :
The indicator identifies zones where positions with leverage ratios of 100x, 50x, 25x, and 10x are at risk of liquidation. These zones are based on percentage moves from recent pivots: a 1% move can liquidate 100x positions, a 4% move affects 25x positions, and so on.
⯌ Liquidated Zones and Volume Tracking :
The indicator displays liquidated zones by plotting gray areas where the price potentually liquidate positons. It calculates the volume needed to liquidate positions in these zones, showing volume from bullish candles if short positions were liquidated and volume from bearish candles for long positions. This feature helps traders assess the risk of liquidation as the price approaches these zones.
⯌ Buy/Sell Volume Calculation :
Buy and sell volumes are calculated from the most recent pivot high or low. For buy volume, only bullish candles are considered, while for sell volume, only bearish candles are summed. This data helps traders gauge the strength of potential liquidation in different zones.
Example of buy and sell volume tracking in active zones:
⯌ Liquidity Heat Map :
In heat map mode, the indicator visualizes potential liquidity areas where orders and stop-losses may be clustered. This map highlights zones that are likely to experience liquidations based on leverage ratios. Additionally, it tracks the highest and lowest price levels for the past 100 bars, while also displaying buy and sell volumes. This feature is useful for predicting market moves driven by liquidation events.
⯁ USER INPUTS
Length : Determines the number of bars used to calculate pivots for liquidation zones.
Extend : Controls how far the liquidation zones are extended on the chart.
Leverage Options : Toggle options to display zones for different leverage levels: 10x, 25x, 50x, and 100x.
Display Heat Map : Enables or disables the liquidity heat map feature.
⯁ CONCLUSION
The Liquidation Zones indicator provides a powerful tool for identifying potential liquidation zones, tracking volume pressure, and visualizing liquidity areas on the chart. With its real-time updates and multiple features, this indicator offers valuable insights for managing risk and anticipating market moves driven by leveraged positions.
Multi-Step FlexiMA - Strategy [presentTrading]It's time to come back! hope I can not to be busy for a while.
█ Introduction and How It Is Different
The FlexiMA Variance Tracker is a unique trading strategy that calculates a series of deviations between the price (or another indicator source) and a variable-length moving average (MA). Unlike traditional strategies that use fixed-length moving averages, the length of the MA in this system varies within a defined range. The length changes dynamically based on a starting factor and an increment factor, creating a more adaptive approach to market conditions.
This strategy integrates Multi-Step Take Profit (TP) levels, allowing for partial exits at predefined price increments. It enables traders to secure profits at different stages of a trend, making it ideal for volatile markets where taking full profits at once might lead to missed opportunities if the trend continues.
BTCUSD 6hr Performance
█ Strategy, How It Works: Detailed Explanation
🔶 FlexiMA Concept
The FlexiMA (Flexible Moving Average) is at the heart of this strategy. Unlike traditional MA-based strategies where the MA length is fixed (e.g., a 50-period SMA), the FlexiMA varies its length with each iteration. This is done using a **starting factor** and an **increment factor**.
The formula for the moving average length at each iteration \(i\) is:
`MA_length_i = indicator_length * (starting_factor + i * increment_factor)`
Where:
- `indicator_length` is the user-defined base length.
- `starting_factor` is the initial multiplier of the base length.
- `increment_factor` increases the multiplier in each iteration.
Each iteration applies a **simple moving average** (SMA) to the chosen **indicator source** (e.g., HLC3) with a different length based on the above formula. The deviation between the current price and the moving average is then calculated as follows:
`deviation_i = price_current - MA_i`
These deviations are normalized using one of the following methods:
- **Max-Min normalization**:
`normalized_i = (deviation_i - min(deviations)) / range(deviations)`
- **Absolute Sum normalization**:
`normalized_i = deviation_i / sum(|deviation_i|)`
The **median** and **standard deviation (stdev)** of the normalized deviations are then calculated as follows:
`median = median(normalized deviations)`
For the standard deviation:
`stdev = sqrt((1/(N-1)) * sum((normalized_i - mean)^2))`
These values are plotted to provide a clear indication of how the price is deviating from its variable-length moving averages.
For more detail:
🔶 Multi-Step Take Profit
This strategy uses a multi-step take profit system, allowing for exits at different stages of a trade based on the percentage of price movement. Three take-profit levels are defined:
- Take Profit Level 1 (TP1): A small, quick profit level (e.g., 2%).
- Take Profit Level 2 (TP2): A medium-level profit target (e.g., 8%).
- Take Profit Level 3 (TP3): A larger, more ambitious target (e.g., 18%).
At each level, a corresponding percentage of the trade is exited:
- TP Percent 1: E.g., 30% of the position.
- TP Percent 2: E.g., 20% of the position.
- TP Percent 3: E.g., 15% of the position.
This approach ensures that profits are locked in progressively, reducing the risk of market reversals wiping out potential gains.
Local
🔶 Trade Entry and Exit Conditions
The entry and exit signals are determined by the interaction between the **SuperTrend Polyfactor Oscillator** and the **median** value of the normalized deviations:
- Long entry: The SuperTrend turns bearish, and the median value of the deviations is positive.
- Short entry: The SuperTrend turns bullish, and the median value is negative.
Similarly, trades are exited when the SuperTrend flips direction.
* The SuperTrend Toolkit is made by @EliCobra
█ Trade Direction
The strategy allows users to specify the desired trade direction:
- Long: Only long positions will be taken.
- Short: Only short positions will be taken.
- Both: Both long and short positions are allowed based on the conditions.
This flexibility allows the strategy to adapt to different market conditions and trading styles, whether you're looking to buy low and sell high, or sell high and buy low.
█ Usage
This strategy can be applied across various asset classes, including stocks, cryptocurrencies, and forex. The primary use case is to take advantage of market volatility by using a flexible moving average and multiple take-profit levels to capture profits incrementally as the market moves in your favor.
How to Use:
1. Configure the Inputs: Start by adjusting the **Indicator Length**, **Starting Factor**, and **Increment Factor** to suit your chosen asset. The defaults work well for most markets, but fine-tuning them can improve performance.
2. Set the Take Profit Levels: Adjust the three **TP levels** and their corresponding **percentages** based on your risk tolerance and the expected volatility of the market.
3. Monitor the Strategy: The SuperTrend and the FlexiMA variance tracker will provide entry and exit signals, automatically managing the positions and taking profits at the pre-set levels.
█ Default Settings
The default settings for the strategy are configured to provide a balanced approach that works across different market conditions:
Indicator Length (10):
This controls the base length for the moving average. A lower length makes the moving average more responsive to price changes, while a higher length smooths out fluctuations, making the strategy less sensitive to short-term price movements.
Starting Factor (1.0):
This determines the initial multiplier applied to the moving average length. A higher starting factor will increase the average length, making it slower to react to price changes.
Increment Factor (1.0):
This increases the moving average length in each iteration. A larger increment factor creates a wider range of moving average lengths, allowing the strategy to track both short-term and long-term trends simultaneously.
Normalization Method ('None'):
Three methods of normalization can be applied to the deviations:
- None: No normalization applied, using raw deviations.
- Max-Min: Normalizes based on the range between the maximum and minimum deviations.
- Absolute Sum: Normalizes based on the total sum of absolute deviations.
Take Profit Levels:
- TP1 (2%): A quick exit to capture small price movements.
- TP2 (8%): A medium-term profit target for stronger trends.
- TP3 (18%): A long-term target for strong price moves.
Take Profit Percentages:
- TP Percent 1 (30%): Exits 30% of the position at TP1.
- TP Percent 2 (20%): Exits 20% of the position at TP2.
- TP Percent 3 (15%): Exits 15% of the position at TP3.
Effect of Variables on Performance:
- Short Indicator Lengths: More responsive to price changes but prone to false signals.
- Higher Starting Factor: Slows down the response, useful for longer-term trend following.
- Higher Increment Factor: Widens the variability in moving average lengths, making the strategy adapt to both short-term and long-term price trends.
- Aggressive Take Profit Levels: Allows for quick profit-taking in volatile markets but may exit positions prematurely in strong trends.
The default configuration offers a moderate balance between short-term responsiveness and long-term trend capturing, suitable for most traders. However, users can adjust these variables to optimize performance based on market conditions and personal preferences.
Heikin Ashi RSI + OTT [Erebor]Relative Strength Index (RSI)
The Relative Strength Index (RSI) is a popular momentum oscillator used in technical analysis to measure the speed and change of price movements. Developed by J. Welles Wilder, the RSI is calculated using the average gains and losses over a specified period, typically 14 days. Here's how it works:
Description and Calculation:
1. Average Gain and Average Loss Calculation:
- Calculate the average gain and average loss over the chosen period (e.g., 14 days).
- The average gain is the sum of gains divided by the period, and the average loss is the sum of losses divided by the period.
2. Relative Strength (RS) Calculation:
- The relative strength is the ratio of average gain to average loss.
The RSI oscillates between 0 and 100. Traditionally, an RSI above 70 indicates overbought conditions, suggesting a potential sell signal, while an RSI below 30 suggests oversold conditions, indicating a potential buy signal.
Pros of RSI:
- Identifying Overbought and Oversold Conditions: RSI helps traders identify potential reversal points in the market due to overbought or oversold conditions.
- Confirmation Tool: RSI can be used in conjunction with other technical indicators or chart patterns to confirm signals, enhancing the reliability of trading decisions.
- Versatility: RSI can be applied to various timeframes, from intraday to long-term charts, making it adaptable to different trading styles.
Cons of RSI:
- Whipsaws: In ranging markets, RSI can generate false signals, leading to whipsaws (rapid price movements followed by a reversal).
- Not Always Accurate: RSI may give false signals, especially in strongly trending markets where overbought or oversold conditions persist for extended periods.
- Subjectivity: Interpretation of RSI levels (e.g., 70 for overbought, 30 for oversold) is somewhat subjective and can vary depending on market conditions and individual preferences.
Checking RSIs in Different Periods:
Traders often use multiple timeframes to analyze RSI for a more comprehensive view:
- Fast RSI (e.g., 8-period): Provides more sensitive signals, suitable for short-term trading and quick decision-making.
- Slow RSI (e.g., 32-period): Offers a smoother representation of price movements, useful for identifying longer-term trends and reducing noise.
By comparing RSI readings across different periods, traders can gain insights into the momentum and strength of price movements over various timeframes, helping them make more informed trading decisions. Additionally, divergence between fast and slow RSI readings may signal potential trend reversals or continuation patterns.
Heikin Ashi Candles
Let's consider a modification to the traditional “Heikin Ashi Candles” where we introduce a new parameter: the period of calculation. The traditional HA candles are derived from the open 01, high 00 low 00, and close 00 prices of the underlying asset.
Now, let's introduce a new parameter, period, which will determine how many periods are considered in the calculation of the HA candles. This period parameter will affect the smoothing and responsiveness of the resulting candles.
In this modification, instead of considering just the current period, we're averaging or aggregating the prices over a specified number of periods . This will result in candles that reflect a longer-term trend or sentiment, depending on the chosen period value.
For example, if period is set to 1, it would essentially be the same as traditional Heikin Ashi candles. However, if period is set to a higher value, say 5, each candle will represent the average price movement over the last 5 periods, providing a smoother representation of the trend but potentially with delayed signals compared to lower period values.
Traders can adjust the period parameter based on their trading style, the timeframe they're analyzing, and the level of smoothing or responsiveness they prefer in their candlestick patterns.
Optimized Trend Tracker
The "Optimized Trend Tracker" is a proprietary trading indicator developed by TradingView user ANIL ÖZEKŞİ. It is designed to identify and track trends in financial markets efficiently. The indicator attempts to smooth out price fluctuations and provide clear signals for trend direction.
The Optimized Trend Tracker uses a combination of moving averages and adaptive filters to detect trends. It aims to reduce lag and noise typically associated with traditional moving averages, thereby providing more timely and accurate signals.
Some of the key features and applications of the OTT include:
• Trend Identification: The indicator helps traders identify the direction of the prevailing trend in a market. It distinguishes between uptrends, downtrends, and sideways consolidations.
• Entry and Exit Signals: The OTT generates buy and sell signals based on crossovers and direction changes of the trend. Traders can use these signals to time their entries and exits in the market.
• Trend Strength: It also provides insights into the strength of the trend by analyzing the slope and momentum of price movements. This information can help traders assess the conviction behind the trend and adjust their trading strategies accordingly.
• Filter Noise: By employing adaptive filters, the indicator aims to filter out market noise and false signals, thereby enhancing the reliability of trend identification.
• Customization: Traders can customize the parameters of the OTT to suit their specific trading preferences and market conditions. This flexibility allows for adaptation to different timeframes and asset classes.
Overall, the OTT can be a valuable tool for traders seeking to capitalize on trending market conditions while minimizing false signals and noise. However, like any trading indicator, it is essential to combine its signals with other forms of analysis and risk management strategies for optimal results. Additionally, traders should thoroughly back-test the indicator and practice using it in a demo environment before applying it to live trading.
The following types of moving average have been included: "SMA", "EMA", "SMMA (RMA)", "WMA", "VWMA", "HMA", "KAMA", "LSMA", "TRAMA", "VAR", "DEMA", "ZLEMA", "TSF", "WWMA". Thanks to the authors.
Thank you for your indicator “Optimized Trend Tracker”. © kivancozbilgic
Thank you for your programming language, indicators and strategies. © TradingView
Kind regards.
© Erebor_GIT
Heikin Ashi TSI and OTT [Erebor]TSI (True Strength Index)
The TSI (True Strength Index) is a momentum-based trading indicator used to identify trend direction, overbought/oversold conditions, and potential trend reversals in financial markets. It was developed by William Blau and first introduced in 1991.
Here's how the TSI indicator is calculated:
• Double Smoothed Momentum (DM): This is calculated by applying double smoothing to the price momentum. First, the single smoothed momentum is calculated by subtracting the smoothed closing price from the current closing price. Then, this single smoothed momentum is smoothed again using an additional smoothing period.
• Absolute Smoothed Momentum (ASM): This is calculated by applying smoothing to the absolute value of the price momentum. Similar to DM, ASM applies a smoothing period to the absolute value of the difference between the current closing price and the smoothed closing price.
• TSI Calculation: The TSI is calculated as the ratio of DM to ASM, multiplied by 100 to express it as a percentage. Mathematically, TSI = (DM / ASM) * 100.
The TSI indicator oscillates around a centerline (typically at zero), with positive values indicating bullish momentum and negative values indicating bearish momentum. Traders often look for crossovers of the TSI above or below the centerline to identify shifts in momentum and potential trend reversals. Additionally, divergences between price and the TSI can signal weakening trends and potential reversal points.
Pros of the TSI indicator:
• Smoothed Momentum: The TSI uses double smoothing techniques, which helps to reduce noise and generate smoother signals compared to other momentum indicators.
• Versatility: The TSI can be applied to various financial instruments and timeframes, making it suitable for both short-term and long-term trading strategies.
• Trend Identification: The TSI is effective in identifying the direction and strength of market trends, helping traders to align their positions with the prevailing market sentiment.
Cons of the TSI indicator:
• Lagging Indicator: Like many momentum indicators, the TSI is a lagging indicator, meaning it may not provide timely signals for entering or exiting trades during rapidly changing market conditions.
• False Signals: Despite its smoothing techniques, the TSI can still produce false signals, especially during periods of low volatility or ranging markets.
• Subjectivity: Interpretation of the TSI signals may vary among traders, leading to subjective analysis and potential inconsistencies in trading decisions.
Overall, the TSI indicator can be a valuable tool for traders when used in conjunction with other technical analysis tools and risk management strategies. It can help traders identify potential trading opportunities and confirm trends, but it's essential to consider its limitations and incorporate additional analysis for more robust trading decisions.
Heikin Ashi Candles
Let's consider a modification to the traditional “Heikin Ashi Candles” where we introduce a new parameter: the period of calculation. The traditional HA candles are derived from the open , high low , and close prices of the underlying asset.
Now, let's introduce a new parameter, period, which will determine how many periods are considered in the calculation of the HA candles. This period parameter will affect the smoothing and responsiveness of the resulting candles.
In this modification, instead of considering just the current period, we're averaging or aggregating the prices over a specified number of periods . This will result in candles that reflect a longer-term trend or sentiment, depending on the chosen period value.
For example, if period is set to 1, it would essentially be the same as traditional Heikin Ashi candles. However, if period is set to a higher value, say 5, each candle will represent the average price movement over the last 5 periods, providing a smoother representation of the trend but potentially with delayed signals compared to lower period values.
Traders can adjust the period parameter based on their trading style, the timeframe they're analyzing, and the level of smoothing or responsiveness they prefer in their candlestick patterns.
Optimized Trend Tracker
The "Optimized Trend Tracker" is a proprietary trading indicator developed by TradingView user ANIL ÖZEKŞİ. It is designed to identify and track trends in financial markets efficiently. The indicator attempts to smooth out price fluctuations and provide clear signals for trend direction.
The Optimized Trend Tracker uses a combination of moving averages and adaptive filters to detect trends. It aims to reduce lag and noise typically associated with traditional moving averages, thereby providing more timely and accurate signals.
Some of the key features and applications of the OTT include:
• Trend Identification: The indicator helps traders identify the direction of the prevailing trend in a market. It distinguishes between uptrends, downtrends, and sideways consolidations.
• Entry and Exit Signals: The OTT generates buy and sell signals based on crossovers and direction changes of the trend. Traders can use these signals to time their entries and exits in the market.
• Trend Strength: It also provides insights into the strength of the trend by analyzing the slope and momentum of price movements. This information can help traders assess the conviction behind the trend and adjust their trading strategies accordingly.
• Filter Noise: By employing adaptive filters, the indicator aims to filter out market noise and false signals, thereby enhancing the reliability of trend identification.
• Customization: Traders can customize the parameters of the OTT to suit their specific trading preferences and market conditions. This flexibility allows for adaptation to different timeframes and asset classes.
Overall, the OTT can be a valuable tool for traders seeking to capitalize on trending market conditions while minimizing false signals and noise. However, like any trading indicator, it is essential to combine its signals with other forms of analysis and risk management strategies for optimal results. Additionally, traders should thoroughly back-test the indicator and practice using it in a demo environment before applying it to live trading.
The following types of moving average have been included: "SMA", "EMA", "SMMA (RMA)", "WMA", "VWMA", "HMA", "KAMA", "LSMA", "TRAMA", "VAR", "DEMA", "ZLEMA", "TSF", "WWMA". Thanks to the authors.
Thank you for your indicator “Optimized Trend Tracker”. © kivancozbilgic
Thank you for your programming language, indicators and strategies. © TradingView
Kind regards.
© Erebor_GIT
lib_mathLibrary "lib_math"
a collection of functions calculating without history operator to avoid max_bars_back errors
mean(value, reset)
Parameters:
value (float) : series to track
reset (bool) : flag to reset tracking
@return returns average/mean of value since last reset
vwap(value, reset)
Parameters:
value (float) : series to track
reset (bool) : flag to reset tracking
@return returns vwap of value and volume since last reset
variance(value, reset)
Parameters:
value (float) : series to track
reset (bool) : flag to reset tracking
@return returns variance of value since last reset
trend(value, reset)
Parameters:
value (float) : series to track
reset (bool) : flag to reset tracking
@return where slope is the trend direction, correlation is a measurement for how well the values fit to the trendline (positive means ), stddev is how far the values deviate from the trend, x1 would be the time where reset is true and x2 would be the current time
Z Algo (Expo)█ Overview
Z Algo (Expo) is a sophisticated and user-friendly trading tool designed to meet the needs of both novice and seasoned traders. With its real-time signals, trend analysis, and risk management capabilities, this tool can be a valuable addition to any trader's toolkit.
█ Main Features & How to Use
Buy/Sell signals: Z Algo provides real-time buy and sell signals, which assist traders in identifying the most opportune moments to enter or exit a trade.
Strong Buy/Sell signals: In addition to regular buy and sell signals, the tool also offers strong buy and sell signals. These are generated when the market conditions align with a higher probability of a significant price movement.
Sniper Signals: This feature is specifically designed for contrarian traders who look to exploit temporary market inefficiencies or take advantage of price reversals. When enabled, Sniper Signals identify potential market turning points, offering traders the opportunity to profit from sharp price fluctuations.
Reversal Cloud: The Reversal Cloud is a unique visual representation of the market's potential trend reversals. It offers traders an easy-to-understand display of changing market dynamics, enabling them to quickly identify potential entry and exit points based on trend reversals.
Support and Resistance (S/R) Levels: Z Algo automatically calculates and displays support and resistance levels on the chart. These are crucial price points where buying or selling pressure may change, providing valuable insights for traders looking to enter or exit positions based on these levels.
Trend Tracker: This feature helps traders monitor and analyze the prevailing market trend. Trend Tracker identifies and highlights the direction of the trend, allowing traders to align their strategies accordingly and increase their chances of success.
Trend Background Color: To improve the user experience and simplify the interpretation of market data, Z Algo changes the chart's background color based on the identified trend direction. This visual cue makes it easier for traders to recognize bullish or bearish trends at a glance.
Bar Coloring: In addition to the trend background color, Z Algo also provides bar coloring for both contrarian and trend bars. This feature helps traders visualize price movements and trends more effectively, enabling them to identify potential opportunities for both trend-following and contrarian trading strategies.
Risk Management: The tool incorporates risk management features that help traders to protect their capital and maximize potential returns. Users can set stop-loss and take-profit levels, as well as customize their risk exposure according to their individual preferences and trading style.
█ Calculations
█ What are the Buy/Sell signals based on?
The Buy/Sell signals use volatility and price range with a weighting function that can help reduce lag and respond faster to recent price changes. The function gives more weight to the most recent volatility values and absolute price changes, making the algorithm more responsive to changes in volatility and price moves. Using a model that factors in both price changes and volatility gives a bias toward more recent data. This advanced approach to trading signal generation incorporates the concepts of trend following and mean reversion while accounting for changing market volatility.
Traditional systems often use fixed parameters, which may not adapt quickly to changes in market conditions. This can lead to late entries or exits, potentially reducing profitability or increasing risk. Our algorithm uses a weighting function to give more importance to recent volatility values, and absolute price changes can make these signals more responsive. This is especially useful in dynamic markets where price swings and volatility can change rapidly.
Adapting to Recent Price Changes: Markets can often exhibit trending behavior over certain periods. By weighing recent price changes more heavily, the model can quickly identify and react to the emergence of new trends. This can lead to earlier entries in a new trend, potentially increasing profitability.
Adapting to Recent Volatility Changes: Markets can shift from low to high volatility regimes (and vice versa) quite rapidly. A model that gives more weight to recent volatility can adapt its signals to these changing conditions. For example, in high volatility conditions, the model might generate fewer signals to reduce the risk of false breakouts. Conversely, in low volatility conditions, the model might generate more signals to capitalize on trending behavior.
Adaptive Trading: The approach inherently leads to an adaptive trading system. Rather than using fixed parameters, the system can adjust its behavior based on recent market activity. This can lead to a more robust system that performs well across different market conditions.
█ What are the Sniper signals (contrarian signals) based on?
Our contrarian signals are based on deviation from the expected value. The algorithm quantifies the amount of variation or dispersion in a set of values. Non-expected values are the fundamental core of the signal generation process.
█ Reversal Cloud Calculation
The cloud uses the information of how much the price fluctuates over a specific time period and updates its equilibrium value automatically at new price changes. The price changes are used to predict what will happen next, and the band adapts accordingly. The algorithm assumes that past price changes can predict future market behavior.
█ Support and Resistance (S/R) Levels Calculation
The support and resistance levels use historical overbought and oversold levels combined with a weighted atr function to predict future support and resistance areas. This calculation can potentially give traders a great heads-up on where the price may find support and resistance at.
█ Trend & Bar coloring Calculation
Trend calculations with dynamic events are key in ever-changing markets. The main idea of the calculation method is to find the mathematical function that best fits the data points, by minimizing the sum of the squares of the vertical distances of each data point from the equilibrium. The outcome is a function that finds the best mathematical description of that data. Hence the trend output may vary depending on the asset and timeframe. A unique approach where the same settings can give different results.
█ Risk Management Calculation
The risk management system is not unique in itself and contains everything that can help traders to manage their risk, such as different types of stop losses, Take Profits calculations.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
FlashTrade 20 Asset ScreenerThe FlashTrade 20 Asset Screener is a powerful screening tool written in Pinescript and designed for use in Tradingview. It simultaneously monitors a combination of seven (7) lagging and three (3) leading indicators for twenty (20) assets, such as; stocks, cryptocurrencies, or forex pairs.
The screener sends summarized numeric data as an alert to external programs that specialize in automated trading. This proprietary technology developed by the algorithmic trading firm known as FlashTrade.AI is now integrated with the rules-based trading platform TradeLab.AI.
The lagging indicators tracked by the screener are as follows:
1. The 8 Period Exponential Moving Average (8EMA): It determines whether it is over or under the 21 Period Exponential Moving Average (21EMA).
2. Two Closes of the 8 Period Exponential Average (8EMA): This confirms a trend as either bullish or bearish when it occurs over or under the 21 Period Exponential Moving Average (21EMA).
3. Ichimoku Cloud: This indicator identifies whether the price is above or below the cloud, indicating bullish or bearish trends.
4. Ichimoku Cloud: Conversion Line Above Base or Conversion Line Below Base: This measures the trend strength based on the distance between the conversion line and the base line.
5. Ichimoku Cloud: Lag Line Above Price or Lag Line Below Price: This tracks the lag line's position relative to the current price to confirm trend direction.
6. Ichimoku Cloud: Leading Cloud Green or Leading Cloud Red: This identifies the trend based on the color of the leading cloud.
7. MACD: This oscillator tracks the difference between two exponential moving averages and helps identify bullish or bearish momentum in the market.
The screener also tracks three leading indicators that primarily measure trading volume and momentum. These leading indicators are:
1. The Relative Strength Index (RSI): This oscillator measures the speed and change of price movements to identify overbought or oversold conditions in the market.
2. The Stochastic: This oscillator measures the momentum of price movements and helps identify potential trend reversals in the market.
3. The relative Vigor Index (RVGI): This indicator measures the strength of price movements by comparing the closing price to the trading range and helps identify trend reversals.
Overall, the FlashTrade 20 Asset Screener is a powerful tool for traders looking to automate their trading strategies. By monitoring multiple indicators for multiple assets simultaneously, it can identify trends and capitalize on opportunities when they present themselves.
Portfolio_Tracking_TRThis is a portfolio tracker that will track individual, overall and daily profit/loss for up. You can set the size of your buys and price of your buys for accurate, up to date profit and loss data right on your chart. It works on all markets and timeframes.
Next we get into setting up your , order size and price. Each ticker lets you set which stock you bought, then set how much you purchased and then what price you purchased them at.
FEATURES
Top Section
The portfolio tracker has 2 sections. The top section shows each ticker in your portfolio individually with the following data:
- Ticker Name
- Weight of that asset compared to your total portfolio in %
- Current value of that position in TL
- Profit or loss value from purchase price in %
- Todays change in value from yesterday’s close in %
Bottom Section
The bottom section of the tracker will give you info for your portfolio as a whole. It has the following data:
- Total cost of your entire portfolio in TL
- Current value of your entire portfolio in TL
- Current profit or loss of your entire portfolio in TL
- Current profit or loss of your entire portfolio in %
- Todays change of your entire portfolio value compared to yesterday’s close in %
This indicator was compiled from FriendOfTheTrend's indicator named Portfolio Tracker For Stocks & Crypto.
Prophit Ninja: Hidden ScrollStay ahead of the markets moves with "Prophit Ninja: Hidden Scroll".
Our legendary senseis have mastered the arts of wielding the Katana and Shuriken over many decades of focused practice and distilled their systems and techniques down to their most vital form- storing their knowledge in this ancient scroll for easy adoption by any ninja practiced enough to be able to decipher it.
═════════════════════════════════════════════════════════════════════════
█ INTERPRETATION
Each sub-indicator in this package can be used as a confirmation tool to check your bias and give you a more informed decision as they all take into account every reading shown and not shown being calculated across all Prophit Ninja packages. A sentiment rating below the candle shows bullish bias while a green color emphasizes bullish strength- a sentiment rating above the candle shows bearish bias while a red color emphasizes bearish strength- gold color signifies a strong turn in the market while grey/dark grey is a weak reading. A green trend sensei reading is bullish- while a red trend sensei reading is bearish. A green bull trade sensei label signifies a possible bullish trade set up, while a red bear label trade sensei signifies a possible bearish trade set up. Stat sensei gives you tick by tick multi-time frame readings to always keep you aware of the exact environment you're in. Lastly risk sensei will give you the most optimal least risk trade set-up based on user defined variables and give you tick by tick readings of your trade status. This can be used as a standalone decision-maker, or used in confluence with other indicator packages in our Prophit Ninja bundle to get higher precision.
═════════════════════════════════════════════════════════════════════════
█ OVERVIEW
1 — Sentiment Sensei: A toggle-able tick by tick rating system (0-100%) for each candle based on over 100 individual readings .
2 — Trend Sensei: A toggle-able background coloring that easily shows you the trend bias behind the moves.
3 — Trade Sensei: A toggle-able trade finder that finds confluent trade set-ups to give you the upper hand.
4 — Stat Sensei: A toggle-able multi-time frame candle progress tracker with a built in trend bias and price/volume/momentum change/ratio trackers.
5 — Risk Sensei: A toggle-able risk manager with two variations of auto profit target zones , three variations of trailing stop losses , a win/loss tracker , trade duration timer and all the information you need to stay updated with the status of your trade at a glance whether long or short.
═════════════════════════════════════════════════════════════════════════
█ EASY CUSTOMIZATION
i.imgur.com
With a fully customizable and easy-to-use input menu , this indicator gives you the ability to tailor your trading experience to your needs and see as much (or as little) information as you want to; presented in the manner you deem most viable with the following options in just a few clicks:
Indicator Package- This option allows you to switch between the four display modes available so in any moment you can completely change the metrics you’re reading in just two clicks. This allows you the ability to make decisions based on not only what you’re comfortable with; but also to find confirmation or disagreement with other systems instantly.
Color Theme- There are four color themes available which include original, colorful, monochrome and solid. These not only allow you a quick and easy way to change the colors to suit your style; they also make it so you can challenge your bias in an instant by viewing the data in a completely different way.
Dual Attack Modes- Whether you’re a scalper, day trader, swing trader, or investor; this option allows you to see the chart based on four different risk tolerance/time expectancy mentalities for the Katana and Shuriken separately in just two clicks. Investors can see what the scalpers are thinking and vice/versa to broaden their decision making and/or hone in when optimal.
Dual Sharpness Levels- This algorithm allows the user to display the data on five different smoothness levels for the Katana and Shuriken separately without suffering the inherent lag that accompanies most other indicators. Whether you like to see every tick of a choppy movement, or filter out the false signals into smooth readings, you can do so at any moment.
═════════════════════════════════════════════════════════════════════════
█ RISK SENSEI EXAMPLE
═════════════════════════════════════════════════════════════════════════
█ PRE-BUILT ALERTS
With Prophit Ninja: Hidden Scroll's built-in alerts you can enable alerts for any piece of the Hidden Scrollin just a few clicks. These alerts are way more specific and optimized than you can possibly achieve with the custom alert settings. Each checking for multiple possible activation triggers instead of one and populating the message field automatically so you can just click create.
═════════════════════════════════════════════════════════════════════════
As you can see; this ancient scroll has the ability to adapt to any reader or adversary and give those in control of its power the upper hand. Any mode of battle, any opponent, any circumstance- 'Prophit Ninja: Hidden Scroll' was polished by our finest artists to inform any reader and make sure they know when to attack, defend or simply allow the fight to play out by its easy-to-read coloring system. As long as you learn the techniques you'll have a much better chance of making the right decision than when you didn't.
This state-of-the-art tool is great for experienced traders, those who just started learning to trade, or anyone in between- truly made to suit the needs of any trader, in any moment, with any mindset (along with the other indicators in our Prophit Ninja bundle) you'll notice an immediate improvement in your market dexterity after learning it.
═════════════════════════════════════════════════════════════════════════
*everything displayed is part of the Prophit Ninja indicator bundle; this is an otherwise blank chart*
[blackcat] L5 Whale Jump Screener 12 AlertsLinkage Authorization:
When you obtain any one of the following technical indicators authorization, the other one will automatically obtain a free authorization for the same length of time:
1. L5 Whale Jump Screener 25 NoAlerts
2. L5 Whale Jump Screener 12 Alerts
Discount Authorization:
While you are authorized for any of the following technical indicators, this indicator will only need to pay 200TVC (not per month) but you obtain the authorization length as long as your longest one among all invited-only indicators .
1. L5 Whales Jump Out of Ocean X
2. L5 Zen Master
Level: 5
Background:
L5 Whale Jump Screener 12 Alerts is a screeener which is based on principle of L5 Whales Jump Out of Ocean X, but it has its own scheme to work as a screener with alerts, which can track 12 trading pairs at the same time. With this indicator, you can track target in your list with remote alerts from TV to your mobile or emails.
At beginning, I want to incorporate this function to "L5 Whale Jump Screener 25 NoAlerts". However, I found it rather difficult to make it happen. One reason is that adding alerts will further increase computing power of it so that TV will not be functional for overloaded indicators. The only way to make a screen plus alerts happen is to reduce the number of targets allowed in the screener until TV rules are in compliance. The other reason is that I found alerts were conflicting with screener function in TV system during my testing. Because if you put many trading pairs that are highly correlated into inputs of the screener indicator. Huge amount of alerts may be produced at the same time, and TV system has its own protection scheme. If too many alerts happened at the same time, it will block and stop the alert scheme immediately. Therefore, I build this one for anyone who need alert function. But, remember, make input tikerids as NOT correlated as possible to prevent TV to shut down your alert for this indicator.
Function:
By tracking multiple targets with alerts, you will own the capability to tracking multiple markets. This ability will let you know the specific situation of the unconnected market and the trading targets in time in the rotating transaction. The alert function will remind you of the current status of multiple markets via mobile phones and emails.
Inputs:
12 tickerids for your customization
Key Signal:
Long Whales / Banker Pump--> fuchsia color area with 0% transparency
Close Long Whales / Close Banker Pump--> red color area with 0% transparency
Short Whales / Banker Dump --> yellow color area with 0% transparency
Close Short Whales / Close Banker Dump --> green color area with 0% transparency
Long Waves Start--> fuchsia color area with 50% transparency
Short Waves Start --> yellow color area with 50% transparency
No Whale or Wave Signal --> gray color rea with 50% transparency
Pros and Cons:
ONLY suitable for discretionary trading, and does NOT support automatic trading system/bots with alerts.
Intuitive and effective, the output signal is more reliable after multi-indicator resonance
For who does not alert function but track more targets, you can choose anther indicator: L5 Whale Jump Screener 25 NoAlerts.
Why 12 Targets are Supported?
From the principle of TV principle, it should be possible to track up to 40 targets at the same time. However, TV has another condition that restricts server computing resources. When the two condition work at the same time, for the whale jump algorithm, the number of targets it can track at the same time will drop from 40 to about 26~27! In addition, this indicator needs to support the display function from the daily time frame to the 1min time frame. Therefore, the requirements for computing resources have further deteriorated. In the end, the maximum tracking number I obtained by compromise is 25 to ensure that this indicator can support 1min or second level normal display without report an error. Based on above fact, adding alerts will further increase computing power needed for this indicator. To prevent TV shutdown this indicator w/ alerts, only 12 tickerids are supported based on this algorithm. Also, due to quite different user scenarios between these two screeners, two versions are published for different group of traders with a linkage authorization schmeme.
Remarks:
My fourth L5 indicator published
Closed-source
Invite-only
Redeem Fee Life Lock Guarantee
Although I take the efforts to inform the script requesters that the best way to promote trading skills is to learn from the open source scripts I released by themself and to improve their PNIE script programming skills, there are still many people asking how to obtain or pay to use BLACKCAT L4/L5 private scripts. In fact, I do not encourage people to use Tradingview Coins ( TVC ) / Cryptocurrency to redeem the right to use BLACKCAT L4/L5 scripts. However, redeeming private script usage rights through TV Coins/ Cryptocurrency may be an effective way to force more people to learn PINE script programming seriously. And then I can concentrate on answering more valuable community questions instead of being overwhelmed by L4/L5 scripting permission reqeusts.
I would like to announce a ‘Redeem Fee Lock Guarantee’ program to further simplify the L4/L5 indicator/strategy utility offering and distinguish itself from the competition. ‘Redeem Fee lock guarantee’ is one of the major initiatives by BLACKCAT as a part of overall value packaging designed to guard BLACKCAT’s followers’ against cost-overruns and operational risks usually borne by them when it comes to PINE script innovation ecosystem. The TVCs redeemed for L4/L5 a follower signs up for with BLACKCAT is their guaranteed lifetime locked in TVC Quantity/ cryptocurrency, with no special conditions, exclusions and fine print whatsoever. Based on this scheme, I can constantly refine, expand, upgrade and improve PINE script publishing to ensure the very best experiences for my followers. The 'Redeem Fee Lock Guarantee' is a step in the direction of rewarding the valuable followers. NOTE: Every L4/L5 script redeeming service is ONLY limited to TVC or Cryptocurrency ("Win$ & Donate w/ This" Addresses displayed on script page) redeeming which the 1st signed up TVC Qty/ equivalent cryptocurrency is the lifetime offered TVC Qty/ equivalent crypto.
How to subscrible this indicator?
The script subscription period only has two options of one month or one year, and its price is floating. The latest price of the script subscription is proportional to the number of likes/agrees this script has already received. Therefore, the price of subscribing to this script shows an increasing trend, and the earliest subscribers can enjoy the price of lifetime lock to this script. As the number of likes / agrees of this script increases, the subscription fee for one month and one year will also increase linearly. Whatever, the first subscription price of the use will be locked for life.
Monthly subscription and annual subscription can be done either by tradingview coins ( TVC ) or by converting into equivalent cryptocurrency at the exchange rate (1TVC=0.01USD) for redeem.
TVC payment needs to pay TVC directly in the comments under this script. Every time I authorize a new user, I will update the latest number of subscribed users and latest price for next subscription under the script comment. If there are any conflicting scenario happened to the rules and my update. My updated price based on the rule will be the final price for next subscription. The following subscribers need to pay the corresponding amount of TVC or cryptocurrency in accordance with the latest number of users and price announced by me in accordance with the rules published.
TVC redemption is the method I strongly recommend, and I hope you can complete the redemption in the comment area of this script. This is like a blockchain structure, each comment is a block, each subscription is a chain, which is conducive to open and transparent publicity and traceability to avoid unnecessary disputes.
Monthly Subscription Charges
500TVC <50 Agrees (A)
50A<850TVC<100A
100A<1000TVC<150A
150A<1350TVC<200A
200A<1500TVC<250A
250A<1850TVC<300A
300A<2000TVC<350A
350A<2350TVC<400A
400A<2500TVC<450A
450A<2850TVC<500A
500A<3000TVC<550A
550A<3350TVC<600A
600A<3500TVC<650A
650A<3850TVC<700A
700A<4000TVC<750A
750A<4350TVC<800A
800A<4500TVC<850A
850A<4850TVC<900A
900A<5000TVC<950A
950A<5350TVC<1000A
1000A<5500TVC<1050A
And so on...
Annual Subscription Charges
5000TVC <50 Agrees (A)
50A<8500TVC<100A
100A<10000TVC<150A
150A<13500TVC<200A
200A<15000TVC<250A
250A<18500TVC<300A
300A<20000TVC<300A
350A<23500TVC<400A
400A<25000TVC<450A
500A<28500TVC<550A
500A<30000TVC<550A
550A<33500TVC<600A
600A<35000TVC<650A
650A<38500TVC<700A
700A<40000TVC<750A
750A<43500TVC<800A
800A<45000TVC<850A
850A<48500TVC<900A
900A<50000TVC<950A
950A<53500TVC<1000A
1000A<55000TVC<1050A
And so on...
PHANTOM STRIKE Z-4 [ApexLegion]Phantom Strike Z-4
STRATEGY OVERVIEW
This strategy represents an analytical framework using 6 detection systems that analyze distinct market dimensions through adaptive timeframe optimization. Each system targets specific market inefficiencies - automated parameter adjustment, market condition filtering, phantom strike pattern detection, SR exit management, order block identification, and volatility-aware risk management - with results processed through a multi-component scoring calculation that determines signal generation and position management decisions.
SYSTEM ARCHITECTURE PHILOSOPHY
Phantom Strike Z-4 operates through 12 distinct parameter groups encompassing individual settings that allow detailed customization for different trading environments. The strategy employs modular design principles where each analytical component functions independently while contributing to unified decision-making protocols. This architecture enables traders to engage with structured market analysis through intuitive configuration options while the underlying algorithms handle complex computational processes.
The framework approaches certain aspects differently from static trading approaches by implementing real-time parameter adjustment based on timeframe characteristics, market volatility conditions, news event detection, and weekend gap analysis. During low-volatility periods where traditional strategies struggle to generate meaningful returns, Z-4's adaptive systems identify micro-opportunities through formation analysis and systematic patience protocols.
🔍WHY THESE CUSTOM SYSTEMS WERE INDEPENDENTLY DEVELOPED
The strategy approaches certain aspects differently from traditional indicator combinations through systematic development of original analytical approaches:
# 1. Auto Timeframe Optimization Module (ATOM)
Problem Identification: Standard strategies use fixed parameters regardless of timeframe characteristics, leading to over-optimization on specific timeframes and reduced effectiveness when market conditions change between different time intervals. Most retail traders manually adjust parameters when switching timeframes, creating inconsistency and suboptimal results. Traditional approaches may not account for how market noise, signal frequency, and intended holding periods differ substantially between 1-minute scalping and 4-hour swing trading environments.
Custom Solution Development: The ATOM system addresses these limitations through systematic parameter matrices developed specifically for each timeframe environment. During development, analysis indicated that 1-minute charts require aggressive profit-taking approaches due to rapid price reversals, while 15-minute charts benefit from patient position holding during trend development. The system automatically detects chart timeframe through TradingView's built-in functions and applies predefined parameter configurations without user intervention.
Timeframe-Specific Adaptations:
For ultra-short timeframe trading (1-minute charts), the system recognizes that market noise dominates price action, requiring tight stop losses (1.0%) and rapid profit realization (25% at TP1, 35% at TP2, 40% at TP3). Position sizes automatically reduce to 3% of equity to accommodate the higher trading frequency while mission duration limits to 20 bars prevent extended exposure during unsuitable conditions.
Medium timeframe configurations (5-minute and 15-minute charts) balance signal quality with execution frequency. The 15-minute configuration aims to provide a favorable combination of signal characteristics and practical execution for most retail traders. Formation thresholds increase to 2.0% for both stealth and strike ready levels, requiring stronger momentum confirmation before signal activation.
Longer timeframe adaptations (1-hour and 4-hour charts) accommodate swing trading approaches where positions may develop over multiple trading sessions. Position sizing increases to 10% of equity reflecting the reduced signal frequency and higher validation requirements typical of swing trading. Take profit targets extend considerably (TP1: 2.0%, TP2: 4.0%, TP3: 8.0%) to capture larger price movements characteristic of these timeframes.
# 2. Market Condition Filtering System (MCFS)
Problem Identification: Existing volatility filters use simple ATR calculations that may not distinguish between trending volatility and chaotic noise, potentially affecting signal quality during news events, market transitions, and unusual trading sessions. Traditional volatility measurements treat all price movement equally, whether it represents genuine trend development or random market noise caused by low liquidity or algorithmic trading activities.
Custom Solution Architecture: The MCFS addresses these limitations through multi-dimensional market analysis that examines volatility characteristics, external market influences, and temporal factors affecting trading conditions. Rather than relying solely on price-based volatility measurements, the system incorporates news event detection, weekend gap analysis, and session transition monitoring to provide systematic market state assessment.
Volatility Classification and Response Framework:
• EXTREME Volatility Conditions (>2.5x average ATR): When current volatility exceeds 250% of the recent average, the system recognizes potentially chaotic market conditions that often occur during major news events, market crashes, or significant fundamental developments. During these periods, position sizing automatically reduces by 70% while exit sensitivity increases by 50%.
• HIGH Volatility Conditions (1.8-2.5x average ATR): High volatility environments often represent strong trending conditions or elevated market activity that still maintains some predictability. Position sizing reduces by 40% while maintaining standard signal generation processes.
• NORMAL Volatility Conditions (1.2-1.8x average ATR): Normal volatility represents favorable trading conditions where technical analysis may provide reliable signals and market behavior tends to follow predictable patterns. All strategy parameters operate at standard settings.
• LOW Volatility Conditions (0.8-1.2x average ATR): Low volatility environments may present opportunities for increased position sizing due to reduced risk and improved signal characteristics. Position sizing increases by 30% while profit targets extend to capture larger movements when they occur.
• DEAD Volatility Conditions (<0.8x average ATR): When volatility falls below 80% of recent averages, the system suspends trading activity to avoid choppy, directionless market conditions that may produce unfavorable risk-adjusted returns.
# 3. Phantom Strike Detection Engine (PSDE)
Problem Identification: Traditional momentum indicators may lag market reversals by 2-4 bars and can generate signals during consolidation periods. Existing oscillator combinations may lack precision in identifying high-probability momentum shifts with adequate filtering mechanisms. Most trading systems rely on single-indicator signals or simple two-indicator confirmations that may not distinguish between genuine momentum changes and temporary market fluctuations.
Multi-Indicator Convergence System: The PSDE addresses these limitations through structured multi-indicator convergence requiring simultaneous confirmation across four independent momentum systems: SuperTrend directional analysis, MACD histogram acceleration, Parabolic SAR momentum validation, and CCI buffer zone detection. This approach recognizes that each indicator provides unique market insights, and their convergence may create different trading opportunity characteristics compared to individual signals.
Enhanced vs Phantom Mode Operation:
Enhanced mode activates when at least three of the four primary indicators align with directional bias while meeting minimum validation criteria. Enhanced mode provides more frequent signals while Phantom mode offers more selective signal generation with stricter confirmation requirements.
Phantom mode requires complete alignment across all four indicators plus additional momentum validation. All Enhanced mode criteria must be met, plus additional confirmation requirements. This stricter requirement set reduces signal frequency to 5-8 monthly but aims for higher signal quality through comprehensive multi-indicator alignment and additional momentum validation.
# 4. Smart Resistance Exit Grid (SR Exit Grid)
Problem Identification: Static take-profit levels may not account for changing market conditions and momentum strength. Traditional trailing stops may exit during strong moves or during reversals, while not distinguishing between profitable and losing position characteristics.
Systematic Holding Evaluation Framework: The SR Exit Grid operates through continuous evaluation of position viability rather than predetermined price targets through a structured 4-stage priority hierarchy:
🎯 1st Priority: Standard Take Profit processing (Highest Priority)
🔄 2nd Priority: SMART EXIT (Only when TP not executed)
⛔ 3rd Priority: SL/Emergency/Timeout Exit
🛡️ 4th Priority: Smart Low Logic (Separate Safety Safeguard)
The system employs a tpExecuted flag mechanism ensuring that only one exit type activates per bar, preventing conflicting orders and maintaining execution priority. Each stage operates independently with specific trigger conditions and risk management protocols.
Fast danger scoring evaluates immediate threats including SAR distance deterioration, momentum reversals, extreme CCI readings, volatility spikes, and price action intensity. When combined scores exceed specified thresholds (8.0+ danger with <2.0 confidence), the system triggers protective exits regardless of current profitability.
# 5. Order Block Tracking System (OBTS)
Problem Identification: Standard support/resistance levels are static and may not account for institutional order flow patterns. Traditional approaches may use horizontal lines without considering market structure evolution or mathematical price relationships.
Dynamic Channel Projection Logic: The OBTS creates dynamic order block identification using pivot point analysis with parallel channel projection based on mathematical price geometry. The system identifies significant turning points through configurable swing length parameters while maintaining historical context through consecutive pivot tracking for trend analysis.
Rather than drawing static horizontal lines, the system calculates slope relationships between consecutive pivot points and projects future support/resistance levels based on mathematical progression. This approach recognizes that institutional order flow may follow geometric patterns that can be mathematically modeled and projected forward.
# 6. Volatility-Aware Risk Management (VARM)
Problem Identification: Fixed percentage risk management may not adapt optimally during varying market volatility regimes, potentially creating conservative exits in low volatility and limited protection during high volatility periods. Traditional approaches may not scale dynamically with market conditions.
Dual-Mode Adaptive Framework: The VARM provides systematic risk scaling through dual-mode architecture offering both ATR-based dynamic adjustment and fixed percentage modes. Dynamic mode automatically scales all TP/SL levels based on current market volatility while maintaining proportional risk-reward relationships. Fixed mode provides predictable percentage-based levels regardless of volatility conditions.
Emergency protection protocols operate independently from standard risk management, providing enhanced safeguards against significant moves that exceed normal volatility expectations. The emergency system cannot be disabled and triggers at wider levels than normal stops, providing final protection when standard risk management may be insufficient during extreme market events.
## Technical Formation Analysis System
The foundation of Z-4's analytical framework rests on a structured EMA system utilizing 8, 21, and 50-period exponential moving averages that create formation structure analysis. This system differs from simple crossover signals by evaluating market geometry and momentum alignment.
Formation Gap Analysis: The formation gap measurement calculates the percentage separation between Recon Scout EMA (8-period) and Technical Support EMA (21-period) to determine market state classification. When gap percentage falls below the Stealth Mode Threshold (default 1.5%), the market enters consolidation phase requiring enhanced patience. When gap exceeds Strike Ready Threshold (1.5%), conditions become favorable for momentum-based entries.
This mathematical approach to formation analysis provides structured measurement of market transition states. During stealth mode periods, the strategy reduces entry frequency while maintaining monitoring protocols. Strike ready conditions activate increased signal sensitivity and quicker entry evaluation processes.
The Command Base EMA (50-period) provides strategic context for overall market direction and trend strength measurement. Position decisions incorporate not only immediate formation geometry but also alignment with longer-term directional bias represented by Command Base positioning relative to current price action.
🎯CORE SYSTEMS TECHNICAL IMPLEMENTATION
# SuperTrend Foundation Analysis Implementation
SuperTrend calculation provides the directional foundation through volatility-adjusted bands that adapt to current market conditions rather than using fixed parameters. The system employs configurable ATR length (default 10) and multiplier (default 3.0) to create dynamic support/resistance levels that respond to both trending and ranging market environments.
Volatility-Adjusted Band Calculation:
st_atr = ta.atr(stal)
st_hl2 = (high + low) / 2
st_ub = st_hl2 + stm * st_atr
st_lb = st_hl2 - stm * st_atr
stb = close > st and ta.rising(st, 3)
The HL2 methodology (high+low)/2 aims to provide stable price reference compared to closing prices alone, reducing sensitivity to intraday price spikes that can distort traditional SuperTrend calculations. ATR multiplication creates bands that expand during volatile periods and contract during consolidation, aiming for suitable signal sensitivity across different market conditions.
Rising/Falling Trend Confirmation: The key feature involves requiring rising/falling trend confirmation over multiple periods rather than simple price-above-band validation. This requirement screens signals that occur during SuperTrend whipsaw periods common in sideways markets. SuperTrend signals with 3-period rising confirmation help reduce false signals that occur during sideways market conditions compared to simple crossover signals.
Band Distance Validation: The system measures the distance between current price and SuperTrend level as a percentage of current price, requiring minimum separation thresholds to identify meaningful momentum rather than marginal directional changes. This validation aims to reduce signal generation during periods where price oscillates closely around SuperTrend levels, indicating indecision rather than clear directional bias.
# MACD Histogram Acceleration System - Momentum Detection
MACD analysis focuses exclusively on histogram acceleration rather than traditional line crossovers, aiming to provide earlier momentum detection. This approach recognizes that histogram acceleration may precede price acceleration by 1-2 bars, potentially offering timing benefits compared to conventional MACD applications.
Acceleration-Based Signal Generation:
mf = ta.ema(close, mfl)
ms = ta.ema(close, msl)
ml = mf - ms
msg = ta.ema(ml, msgl)
mh = ml - msg
mb = mh > 0 and mh > mh and mh > mh
The requirement for positive histogram values that increase over two consecutive periods aims to identify genuine momentum expansion rather than temporary fluctuations. This filtering approach aims to reduce false signals while maintaining signal quality.
Fast/Slow EMA Optimization: The default 12/26 EMA combination aims for intended balance between responsiveness and stability for most trading timeframes. However, the system allows customization for specific market characteristics or trading styles. Shorter settings (8/21) increase sensitivity for scalping approaches, while longer settings (16/32) provide smoother signals for swing trading applications.
Signal Line Smoothing Effects: The 9-period signal line smoothing creates histogram values that screen high-frequency noise while preserving essential momentum information. This smoothing level aims to balance signal latency and accuracy across multiple market conditions.
# Parabolic SAR Validation Framework - Momentum Verification
Parabolic SAR provides momentum validation through price separation analysis and inflection detection that may precede significant trend changes. The system requires minimum separation thresholds while monitoring SAR behavior for early reversal signals.
Separation-Based Validation:
sar = ta.sar(ss, si, sm)
sarb = close > sar and (close - sar) / close > 0.005
sardp = math.abs(close - sar) / close * 100
sariu = sarm > 0 and sarm < 0 and math.abs(sarmc) > saris
The 0.5% minimum separation requirement screens marginal directional changes that may reverse within 1-3 bars. The 0.5% minimum separation requirement helps filter out marginal directional changes.
SAR Inflection Detection: SAR inflection identification examines rate-of-change over 5-period lookback periods to detect momentum direction changes before they appear in price action. Inflection sensitivity (default 1.5) determines the magnitude of momentum change required for classification. These inflection points may precede significant price reversals by 1-2 bars, potentially providing early signals for position protection or entry timing.
Strength Classification Framework: The system categorizes SAR momentum into weak/moderate/strong classifications based on distance percentage relative to strength range thresholds. Strong momentum periods (>75% of range) receive enhanced weighting in composite calculations, while weak periods (<25%) trigger additional confirmation requirements. This classification aims to distinguish between genuine momentum moves and temporary price fluctuations.
# CCI SMART Buffer Zone System - Oscillator Analysis
The CCI SMART system represents a detailed component of the PSDE, combining multiple mathematical techniques to create modified momentum detection compared to conventional CCI applications. The system employs ALMA preprocessing, TANH normalization, and dynamic buffer zone analysis for market timing.
ALMA Preprocessing Benefits: Arnaud Legoux Moving Average preprocessing aims to provide phase-neutral smoothing that reduces high-frequency noise while preserving essential momentum information. The configurable offset (0.85) and sigma (6.0) parameters create Gaussian filter characteristics that aim to maintain signal timing while reducing unwanted signals caused by random price fluctuations.
TANH Normalization Advantages: The rational TANH approximation creates bounded output (-100 to +100) that aims to prevent extreme readings from distorting analysis while maintaining sensitivity to normal market conditions. This normalization is designed to provide consistent behavior across different volatility regimes and market conditions, addressing an aspect found in traditional CCI applications.
Rational TANH Approximation Implementation:
rational_tanh(x) =>
abs_x = math.abs(x)
if abs_x >= 4.0
x >= 0 ? 1.0 : -1.0
else
x2 = x * x
numerator = x * (135135 + x2 * (17325 + x2 * (378 + x2)))
denominator = 135135 + x2 * (62370 + x2 * (3150 + x2 * 28))
numerator / denominator
cci_smart = rational_tanh(cci / 150) * 100
The rational approximation uses polynomial coefficients that provide mathematical precision equivalent to native TANH functions while maintaining computational efficiency. The 4.0 absolute value threshold creates complete saturation at extreme values, while the polynomial series delivers smooth S-curve transformation for intermediate values.
Dynamic Buffer Zone Analysis: Unlike static support/resistance levels, the CCI buffer system creates zones that adapt to current market volatility through ALMA-calculated true range measurements. Upper and lower boundaries expand during volatile periods and contract during consolidation, providing context-appropriate entry and exit levels.
CCI Buffer System Implementation:
cci = ta.cci(close, ccil)
cci_atr = ta.alma(ta.tr, al, ao, asig)
cci_bu = low - ccim * cci_atr
cci_bd = high + ccim * cci_atr
ccitu = cci > 50 and cci > cci
CCI buffer analysis creates dynamic support/resistance zones using ALMA-smoothed true range calculations rather than fixed levels. Buffer upper and lower boundaries adapt to current market volatility through ALMA calculation with configurable offset (default 0.85) and sigma (default 6.0) parameters.
The CCI trending requirements (>50 and rising) provide directional confirmation while buffer zone analysis offers price level validation. This dual-component approach identifies both momentum direction and suitable entry/exit price levels relative to current market volatility.
# Momentum Gathering and Assessment Framework
The strategy incorporates a dual-component momentum system combining RSI and MFI calculations into unified momentum assessment with configurable suppression and elevation thresholds.
Composite Momentum Calculation:
ri = ta.rsi(close, mgp)
mi = ta.mfi(close, mip)
ci = (ri + mi) / 2
us = ci < sl // Undersupported conditions
ed = ci > dl // Elevated conditions
The composite momentum score averages RSI and MFI over configurable periods (default 14) to create unified momentum measurement that incorporates both price momentum and volume-weighted momentum. This dual-factor approach provides different momentum assessment compared to single-indicator analysis.
Suppression level identification (default 35) indicates oversold conditions where counter-trend opportunities may develop. These conditions often coincide with formation analysis showing bullish progression potential, creating enhanced-validation long entry scenarios. Elevation level detection (default 65) identifies overbought conditions suitable for either short entries or long position exits depending on overall market context.
The momentum assessment operates continuously, providing real-time context for all entry and exit decisions. Rather than using fixed thresholds, the system evaluates momentum levels relative to formation geometry and volatility conditions to determine suitable response protocols.
Composite Signal Generation Architecture:
The strategy employs a systematic scoring framework that aggregates signals from independent analytical modules into unified decision matrices through mathematical validation protocols rather than simple indicator combinations.
Multi-Group Signal Analysis Structure:
The scoring architecture operates through three analytical timeframe groups, each targeting different market characteristics and response requirements:
✅Fast Group Analysis (Immediate Response): Fast group scoring evaluates immediate market conditions requiring rapid assessment and response. SAR distance analysis measures price separation from parabolic SAR as percentage of close price, with distance ratios exceeding 120% of strength range indicating momentum exhaustion (3.0 points). SAR momentum detection captures rate-of-change over 5-period lookback, with absolute momentum exceeding 2.0% indicating notable acceleration or deceleration (1.0 point).
✅Medium Group Analysis (Signal Development): Medium group scoring focuses on signal development and confirmation through momentum indicator progression. Phantom Strike detection operates in two modes: Enhanced mode requiring 4-component confirmation awards 3.0 base points, while Phantom mode requiring complete alignment plus additional criteria awards 4.0 base points.
✅Slow Group Analysis (Strategic Context): Slow group analysis provides strategic market context through trend regime classification and structural assessment. Trend classification scoring awards top points (3.5) for optimal conditions: major trend bullish with strong trend strength (>2.0% EMA spread), 2.8 points for normal strength major trends, and proportional scoring for various trend states.
Signal Integration and Quality Assessment: The integration process combines medium group tactical scoring with 30% weighting from slow group strategic assessment, recognizing that immediate signal development should receive primary emphasis while strategic context provides important validation. Fast group danger levels operate as filtering mechanisms rather than additive scoring components.
Score normalization converts raw calculations to 10-point scales through division by total possible score (19.6) and multiplication by 10. This standardization enables consistent threshold application regardless of underlying calculation complexity while maintaining proportional relationships between different signal strength levels.
Conflict Resolution and Priority Logic:
sc = math.abs(cs_les - cs_ses) < 1.5
hqls = sql and not sc and (cs_les > cs_ses * 1.15)
hqss = sqs and not sc and (cs_ses > cs_les * 1.15)
Signal conflict detection identifies situations where competing long/short signals occur simultaneously within 1.5-point differential. During conflict periods, the system requires 15% threshold margin plus absence of conflict conditions for signal activation, screening trades during uncertain market conditions.
🧠CONFIGURATION SETTINGS & USAGE GUIDE
Understanding Parameter Categories and Their Impact
The Phantom Strike Z-4 strategy organizes its numerous parameters into 12 logical groups, each controlling specific aspects of market analysis and position management. Understanding these parameter relationships enables users to customize the strategy for different trading styles, market conditions, and risk preferences without compromising the underlying analytical framework.
Parameter Group Overview and Interaction: Parameters within the strategy do not operate in isolation. Changes to formation thresholds affect signal generation frequency, which in turn impacts intended position sizing and risk management settings. Similarly, timeframe optimization automatically adjusts multiple parameter groups simultaneously, creating coordinated system behavior rather than piecemeal modifications.
Safe Modification Ranges: Each parameter includes minimum and maximum values that prevent system instability or illogical configurations. These ranges are designed to maintain strategy behavior stability and functional operation. Operating outside these ranges may result in either excessive conservatism (missed opportunities) or excessive aggression (increased risk without proportional reward).
# Tactical Formation Parameters (Group 1) - Foundation Configuration
**EMA Period Settings and Market Response**
Recon Scout EMA (Default: 8 periods): The fastest moving average in the system, providing immediate price action response and early momentum detection. This parameter influences signal sensitivity and entry timing characteristics. Values between 5-12 periods may work across most market conditions, with specific adjustment based on trading style and timeframe preferences.
-Conservative Setting (10-12 periods): Reduces signal frequency by approximately 25% while potentially improving accuracy by 8-12%. Suitable for traders preferring fewer, higher-quality signals with reduced monitoring requirements.
-Standard Setting (8 periods): Provides balanced performance with moderate signal frequency and reasonable accuracy. Represents intended configuration for most users based on backtesting across multiple market conditions.
-Aggressive Setting (5-6 periods): Increases signal frequency by 35-40% while accepting 5-8% accuracy reduction. Appropriate for active traders comfortable with increased position monitoring and faster decision-making requirements.
Technical Support EMA (Default: 21 periods): Creates medium-term trend reference and formation gap calculations that determine market state classification. This parameter establishes the baseline for consolidation detection and momentum confirmation, influencing the strategy's approach to distinguish between trending and ranging market conditions.
Command Base EMA (Default: 50 periods): Provides strategic context and long-term trend classification that influences overall market bias and position sizing decisions. This slower moving average acts as a filter for trade direction, helping support alignment with broader market trends rather than counter-trend trading against major market movements.
**Formation Threshold Configuration**
Stealth Mode Threshold (Default: 1.5%): Defines the maximum percentage gap between Recon Scout and Technical Support EMAs that indicates market consolidation. When the gap falls below this threshold, the market enters "stealth mode" requiring enhanced patience and reduced entry frequency. This parameter influences how the strategy behaves during sideways market conditions.
-Tight Threshold (0.8-1.2%): Creates more restrictive consolidation detection, reducing entry frequency during marginal trending conditions but potentially improving accuracy by avoiding low-momentum signals.
-Standard Threshold (1.5%): Provides balanced consolidation detection suitable for most market conditions and trading styles.
-Loose Threshold (2.0-3.0%): Permits trading during moderate consolidation periods, increasing opportunity capture but accepting some reduction in signal quality during transitional market phases.
-Strike Ready Threshold (Default: 1.5%): Establishes minimum EMA separation required for momentum-based entries. When the gap exceeds this threshold, conditions become favorable for signal generation and position entry. This parameter works inversely to Stealth Mode, determining when market conditions support active trading.
# Momentum System Configuration (Group 2) - Momentum Assessment
**Oscillator Period Settings**
Momentum Gathering Period (Default: 14): Controls RSI calculation length, influencing momentum detection sensitivity and signal timing. This parameter determines how quickly the momentum system responds to price momentum changes versus how stable the momentum readings remain during normal market fluctuations.
-Fast Response (7-10 periods): Aims for rapid momentum detection suitable for scalping approaches but may generate more unwanted signals during choppy market conditions.
-Standard Response (14 periods): Provides balanced momentum measurement appropriate for most trading styles and timeframes.
-Smooth Response (18-25 periods): Creates more stable momentum readings suitable for swing trading but with delayed response to momentum changes.
-Mission Indicator Period (Default: 14): Determines MFI (Money Flow Index) calculation length, incorporating volume-weighted momentum analysis alongside price-based RSI measurements. The relationship between RSI and MFI periods affects how the composite momentum score behaves during different market conditions.
**Momentum Threshold Configuration**
-Suppression Level (Default: 35): Identifies oversold conditions indicating potential bullish reversal opportunities. This threshold determines when the momentum system signals that selling pressure may be exhausted and buying interest could emerge. Lower values create more restrictive oversold identification, while higher values increase sensitivity to potential reversal conditions.
-Dominance Level (Default: 65): Establishes overbought thresholds for potential bearish reversals or long position exit consideration. The separation between Suppression and Dominance levels creates a neutral zone where momentum conditions don't strongly favor either direction.
# Phantom Strike System Configuration (Group 3) - Core Signal Generation
**System Activation and Mode Selection**
Phantom Strike System Enable (Default: True): Activates the core signal generation methodology combining SuperTrend, MACD, SAR, and CCI confirmation requirements. Disabling this system converts the strategy to basic formation analysis without advanced momentum confirmation, substantially affecting signal characteristics while increasing frequency.
Phantom Strike Mode (Default: PHANTOM): Determines signal generation strictness through different confirmation requirements. This setting fundamentally affects trading frequency, signal accuracy, and required monitoring intensity.
ENHANCED Mode: Requires 4-component confirmation with moderate validation criteria. Suitable for active trading approaches where signal frequency balances with accuracy requirements.
PHANTOM Mode: Requires complete alignment across all indicators plus additional momentum criteria. Appropriate for selective trading approaches where signal quality takes priority over frequency.
**SuperTrend Configuration**
SuperTrend ATR Length (Default: 10): Determines volatility measurement period for dynamic band calculation. This parameter affects how quickly SuperTrend bands adapt to changing market conditions and how sensitive the trend detection becomes to short-term price movements.
SuperTrend Multiplier (Default: 3.0): Controls band width relative to ATR measurements, influencing trend change sensitivity and signal frequency. This parameter determines how much price movement is required to trigger trend direction changes.
**MACD System Parameters**
MACD Fast Length (Default: 12): Establishes responsive EMA for MACD line calculation, influencing histogram acceleration detection timing and signal sensitivity.
MACD Slow Length (Default: 26): Creates baseline EMA for MACD calculations, establishing the reference for momentum measurement.
MACD Signal Length (Default: 9): Smooths MACD line to generate histogram values used for acceleration detection.
**Parabolic SAR Settings**
SAR Start (Default: 0.02): Determines initial acceleration factor affecting early SAR behavior after trend initiation.
SAR Increment (Default: 0.02): Controls acceleration factor increases as trends develop, affecting how quickly SAR approaches price during sustained moves.
SAR Maximum (Default: 0.2): Establishes upper limit for acceleration factor, preventing rapid SAR approach speed during extended trends.
**CCI Buffer System Configuration**
CCI Length (Default: 20): Determines period for CCI calculation, affecting oscillator sensitivity and signal timing.
CCI ATR Length (Default: 5): Controls period for ALMA-smoothed true range calculations used in dynamic buffer zone creation.
CCI Multiplier (Default: 1.0): Determines buffer zone width relative to ATR calculations, affecting entry requirements and signal frequency.
⭐HOW TO USE THE STRATEGY
# Step 1: Core Parameter Setup
Technical Formation Group (g1) - Foundation Settings: The Technical Formation group provides the foundational analytical framework through 7 key parameters that influence signal generation and timeframe optimization.
Auto Optimization Controls:
enable_auto_tf = input.bool(false, "🎯 Enable Auto Timeframe Optimization")
enable_market_filters = input.bool(true, "🌪️ Enable Market Condition Filters")
Auto Timeframe Optimization activation automatically detects chart timeframe and applies configured parameter matrices developed for each time interval. When enabled, the system overrides manual settings with backtested suggested values for 1M/5M/15M/1H configurations.
Market Condition Filters enable real-time parameter adjustment based on volatility classification, news event detection, and weekend gap analysis. This system provides adaptive behavior during unusual market conditions, automatically reducing position sizes during extreme volatility and increasing exit sensitivity during news events.
# Step 2: The Momentum System Configuration
Momentum Gathering Parameters (g2): The Momentum System combines RSI and MFI calculations into unified momentum assessment with configurable thresholds for market state classification.
# Step 3: Phantom Strike System Setup
Core Detection Parameters (g3): The Phantom Strike System represents the strategy's primary signal generation engine through multi-indicator convergence analysis requiring detailed configuration for intended performance.
Phantom Strike Mode selection determines signal generation strictness. Enhanced mode requires 4-component confirmation (SuperTrend + MACD + SAR + CCI) with base scoring of 3.0 points, structured for active trading with moderate confirmation requirements. Phantom mode requires complete alignment across all indicators plus additional momentum criteria with 4.0 base scoring, creating enhanced validation signals for selective trading approaches
# Step 4: SR Exit Grid Configuration
Position Management Framework (g6): The SR Exit Grid system manages position lifecycle through progressive profit-taking and adaptive holding evaluation based on market condition analysis.
esr = input.bool(true, "Enable SR Exit Grid")
ept = input.bool(true, "Enable Partial Take Profit")
ets = input.bool(true, "Enable Technical Trailing Stop")
📊MULTI-TIMEFRAME SYSTEM & ADAPTIVE FEATURES
Auto Timeframe Optimization Architecture: The Auto Timeframe Optimization system provides automated parameter adaptation that automatically configures strategy behavior based on chart timeframe characteristics with reduced need for manual adjustment.
1-Minute Ultra Scalping Configuration:
get_1M_params() =>
StrategyParams.new(
smt = 0.8, srt = 1.0, mcb = 2, mmd = 20,
smartThreshold = 0.1, consecutiveLimit = 20,
positionSize = 3.0, enableQuickEntry = true,
ptp1 = 25, ptp2 = 35, ptp3 = 40,
tm1 = 1.5, tm2 = 3.0, tm3 = 4.5, tmf = 6.0,
isl = 1.0, esl = 2.0, tsd = 0.5, dsm = 1.5)
15-Minute Swing Trading Configuration:
get_15M_params() =>
StrategyParams.new(
smt = 2.0, srt = 2.0, mcb = 8, mmd = 100,
smartThreshold = 0.3, consecutiveLimit = 12,
positionSize = 7.0, enableQuickEntry = false,
ptp1 = 15, ptp2 = 25, ptp3 = 35,
tm1 = 4.0, tm2 = 8.0, tm3 = 12.0, tmf = 18.0,
isl = 2.0, esl = 3.5, tsd = 1.2, dsm = 2.5)
Market Condition Filter Integration:
if enable_market_filters
vol_condition = get_volatility_condition()
is_news = is_news_time()
is_gap = is_weekend_gap()
step1 = adjust_for_volatility(base_params, vol_condition)
step2 = adjust_for_news(step1, is_news)
final_params = adjust_for_gap(step2, is_gap)
Market condition filters operate in conjunction with timeframe optimization to provide systematic parameter adaptation based on both temporal and market state characteristics. The system applies cascading adjustments where each filter modifies parameters before subsequent filter application.
Volatility Classification Thresholds:
- EXTREME: >2.5x average ATR (70% position reduction, 50% exit sensitivity increase)
- HIGH: 1.8-2.5x average (40% position reduction, increased monitoring)
- NORMAL: 1.2-1.8x average (standard operations)
- LOW: 0.8-1.2x average (30% position increase, extended targets)
- DEAD: <0.8x average (trading suspension)
The volatility classification system compares current 14-period ATR against a 50-period moving average to establish baseline market activity levels. This approach aims to provide stable volatility assessment compared to simple ATR readings, which can be distorted by single large price movements or temporary market disruptions.
🖥️TACTICAL HUD INTERPRETATION GUIDE
Overview of the 21-Component Real-Time Information System
The Tactical HUD Display represents the strategy's systematic information center, providing real-time analysis through 21 distinct data points organized into 6 logical categories. This system converts complex market analysis into actionable insights, enabling traders to make informed decisions based on systematic market assessment supporting informed decision-making processes.
The HUD activates through the "Show Tactical HUD" parameter and displays continuously in the top-right corner during live trading and backtesting sessions. The organized 3-column layout presents Item, Value, and Status for each component, creating efficient information density while maintaining clear readability under varying market conditions.
# Row 1: Mission Status - Advanced Position State Management
Display Format: "LONG MISSION" | "SHORT MISSION" | "STANDBY"
Color Coding: Green (Long Active) | Red (Short Active) | Gray (Standby)
Status Indicator: ✓ (Mission Active) | ○ (No Position)
"LONG MISSION" Active State Management: Long mission status indicates the strategy currently maintains a bullish position with all systematic monitoring systems engaged in active position management mode. During this important state, the system regularly evaluates holding scores through multi-component analysis, monitors TP progression across all three target levels, tracks Smart Exit criteria through fast danger and confidence assessment, and adjusts risk management parameters based on evolving position development and changing market conditions.
"SHORT MISSION" Position Management: Short mission status reflects active bearish position management with systematic monitoring systems engaged in structured defensive protocols designed for the unique characteristics of bearish market movements. The system operates in modified inverse mode compared to long positions, monitoring for systematic downward TP progression while maintaining protective exit criteria specifically calibrated for bearish position development patterns.
"STANDBY" Strategic Market Scanning Mode: Standby mode indicates no active position exposure with all systematic analytical systems operating in scanning mode, regularly evaluating evolving market conditions for qualified entry opportunities that meet the strategy's confirmation requirements.
# Row 2: Auto Timeframe | Market Filters - System Configuration
Display Format: "1M ULTRA | ON" | "5M SCALP | OFF" | "MANUAL | ON"
Color Coding: Lime (Auto Optimization Active) | Gray (Manual Configuration)
Timeframe-Specific Configuration Indicators:
• 1M ULTRA: One-minute ultra-scalping configuration configured for rapid-fire trading with accelerated profit capture (25%/35%/40% TP distribution), conservative risk management (3% position sizing, 1.0% initial stops), and increased Smart Exit sensitivity (0.1 threshold, 20-bar consecutive limit).
• 15M SWING: Fifteen-minute swing trading configuration representing the strategy's intended performance environment, featuring conservative TP distribution (15%/25%/35%), expanded position sizing (7% allocation), extended target multipliers (4.0/8.0/12.0/18.0 ATR).
• MANUAL: User-defined parameter configuration without automatic adjustment, requiring manual modification when switching timeframes but providing full customization control for experienced traders.
Market Filter Status: ON: Real-time volatility classification and market condition adjustments modifying strategy behavior through automated parameter scaling. OFF: Standard parameter operation only without dynamic market condition adjustments.
# Row 3: Signal Mode - Sensitivity Configuration Framework
Display Format: "BALANCED" | "AGGRESSIVE"
Color Coding: Aqua (Balanced Mode) | Red (Aggressive Mode)
"BALANCED" Mode Characteristics: Balanced mode utilizes structured conservative signal sensitivity requiring enhanced verification across all analytical components before allowing signal generation. This rigorous configuration requires Medium Group scoring ≥5.5 points, Slow Group confirmation ≥3.5 points, and Fast Danger levels ≤2.0 points.
"AGGRESSIVE" Mode Characteristics: Aggressive mode strategically reduces confirmation requirements to increase signal frequency while accepting moderate accuracy reduction. Threshold requirements decrease to Medium Group ≥4.5 points, Slow Group ≥2.5 points, and Fast Danger ≤1.0 points.
# Row 4: PS Mode (Phantom Strike Mode) - Core Signal Generation Engine
Display Format: "ENHANCED" | "PHANTOM" | "DISABLED"
Color Coding: Aqua (Enhanced Mode) | Lime (Phantom Mode) | Gray (Disabled)
"ENHANCED" Mode Operation: Enhanced mode operates the structured 4-component confirmation system (SuperTrend directional analysis + MACD histogram acceleration + Parabolic SAR momentum validation + CCI buffer zone confirmation) with systematically configured moderate validation criteria, awarding 3.0 base points for signal strength calculation.
"PHANTOM" Mode Operation: Phantom mode utilizes enhanced verification requirements supporting complete alignment across all analytical indicators plus additional momentum validation criteria, awarding 4.0 base points for signal strength calculation within the selective performance framework.
# Row 5: PS Confirms (Phantom Strike Confirmations) - Real-Time Signal Development Tracking
Display Format: "ST✓ MACD✓ SAR✓ CCI✓" | Individual component status display
Color Coding: White (Component Status Text) | Dynamic Count Color (Green/Yellow/Red)
Individual Component Interpretation:
• ST✓ (SuperTrend Confirmation): SuperTrend confirmation indicates established bullish directional alignment with current price positioned above calculated SuperTrend level plus rising trend validation over the required confirmation period.
• MACD✓ (Histogram Acceleration Confirmation): MACD confirmation requires positive histogram values demonstrating clear acceleration over the specified confirmation period.
• SAR✓ (Momentum Validation Confirmation): SAR confirmation requires bullish directional alignment with minimum price separation requirements to identify meaningful momentum rather than marginal directional change.
• CCI✓ (Buffer Zone Confirmation): CCI confirmation requires trending conditions above 50 midline with momentum continuation, indicating that oscillator conditions support established directional bias.
# Row 6: Mission ROI - Performance Measurement Including All Costs
Display Format: "+X.XX%" | "-X.XX%" | "0.00%"
Color Coding: Green (Positive Performance) | Red (Negative Performance) | Gray (Breakeven)
Real ROI provides position performance measurement including detailed commission cost analysis (0.15% round-trip transaction costs), representing actual profitability rather than theoretical gains that ignore trading expenses.
# Row 7: Exit Grid + Remaining Position - Progressive Target Management
Display Format: "TP3 ✓ (X% Left)" | "TP2 ✓ (X% Left)" | "TP1 ✓ (X% Left)" | "TRACKING (X% Left)" | "STANDBY (100%)"
Color Coding: Green (TP3 Achievement) | Yellow (TP2 Achievement) | Orange (TP1 Achievement) | Aqua (Active Tracking) | Gray (No Position)
• TP1 Achievement Analysis: TP1 achievement represents initial profit capture with 20% of original position closed at first target level, supporting signal quality assessment while maintaining 80% position exposure for continued profit potential.
• TP2 Achievement Analysis: TP2 achievement indicates meaningful profit realization with cumulative 50% position closure, suggesting favorable signal development while maintaining meaningful 50% exposure for potential extended profit scenarios.
• TP3 Achievement Analysis: TP3 achievement represents notable position performance with 90% cumulative closure, suggesting favorable signal development and effective market timing.
# Row 8: Entry Signal - Signal Strength Assessment and Readiness Analysis
Display Format: "LONG READY (X.X/10)" | "SHORT READY (X.X/10)" | "WAITING (X.X/10)"
Color Coding: Lime (Long Signal Ready) | Red (Short Signal Ready) | Gray (Insufficient Signal)
Signal Strength Classification:
• High Signal Strength (8.0-10.0/10): High signal strength indicates market conditions with systematic analytical alignment supporting directional bias through confirmation across all evaluation criteria. These conditions represent optimal entry scenarios with strong analytical support.
• Strong Signal Quality (6.0-7.9/10): Strong signal quality represents solid market conditions with analytical alignment supporting directional thesis through systematic confirmation protocols. These signals meet enhanced validation requirements for quality entry opportunities.
• Moderate Signal Strength (4.5-5.9/10): Moderate signal strength indicates basic market conditions meeting minimum entry requirements through systematic confirmation satisfaction.
# Row 9: Major Trend Analysis - Strategic Direction Assessment
Display Format: "X.X% STRONG BULL" | "X.X% BULL" | "X.X% BEAR" | "X.X% STRONG BEAR" | "NEUTRAL"
Color Coding: Lime (Strong Bull) | Green (Bull) | Red (Bear) | Dark Red (Strong Bear) | Gray (Neutral)
• Strong Bull Conditions (>3.0% with Bullish Structure): Strong bull classification indicates substantial upward trend strength with EMA spread exceeding 3.0% combined with favorable bullish structure alignment. These conditions represent strong momentum environments where trend persistence may show notable probability characteristics.
• Standard Bull Conditions (1.5-3.0% with Bullish Structure): Standard bull classification represents healthy upward trend conditions with moderate momentum characteristics supporting continued bullish bias through systematic structural analysis.
# Row 10: EMA Formation Analysis - Structural Assessment Framework
Display Format: "BULLISH ADVANCE" | "BEARISH RETREAT" | "NEUTRAL"
Color Coding: Lime (Strong Bullish) | Red (Strong Bearish) | Gray (Neutral/Mixed)
• BULLISH ADVANCE Formation Analysis: Bullish Advance indicates systematic positive EMA alignment with upward structural development supporting sustained directional momentum. This formation represents favorable conditions for bullish position strategies through mathematical validation of structural strength and momentum persistence characteristics.
• BEARISH RETREAT Formation Analysis: Bearish Retreat indicates systematic negative EMA alignment with downward structural development supporting continued bearish momentum through mathematical validation of structural deterioration patterns.
# Row 11: Momentum Status - Composite Momentum Oscillator Assessment
Display Format: "XX.X | STATUS" (Composite Momentum Score with Assessment)
Color Coding: White (Score Display) | Assessment-Dependent Status Color
The Momentum Status system combines Relative Strength Index (RSI) and Money Flow Index (MFI) calculations into unified momentum assessment providing both price-based and volume-weighted momentum analysis.
• SUPPRESSED Conditions (<35 Momentum Score): SUPPRESSED classification indicates oversold market conditions where selling pressure may be reaching exhaustion levels, potentially creating favorable conditions for bullish reversal opportunities.
• ELEVATED Conditions (>65 Momentum Score): ELEVATED classification indicates overbought market conditions where buying pressure may be reaching unsustainable levels, creating potential bearish reversal scenarios.
# Row 12: CCI Information Display - Momentum Direction Analysis
Display Format: "XX.X | UP" | "XX.X | DOWN"
Color Coding: Lime (Bullish Momentum Trend) | Red (Bearish Momentum Trend)
The CCI Information Display showcases the CCI SMART system incorporating Arnaud Legoux Moving Average (ALMA) preprocessing combined with rational approximation of the hyperbolic tangent (TANH) function to achieve modified signal processing compared to traditional CCI implementations.
CCI Value Interpretation:
• Extreme Bullish Territory (>80): CCI readings exceeding +80 indicate extreme bullish momentum conditions with potential overbought characteristics requiring careful evaluation for continued position holding versus profit-taking consideration.
• Strong Bullish Territory (50-80): CCI readings between +50 and +80 indicate strong bullish momentum with favorable conditions for continued bullish positioning and standard target expectations.
• Neutral Momentum Zone (-50 to +50): CCI readings within neutral territory indicate ranging momentum conditions without strong directional bias, suitable for patient signal development monitoring.
• Strong Bearish Territory (-80 to -50): CCI readings between -50 and -80 indicate strong bearish momentum creating favorable conditions for bearish positioning while suggesting caution for bullish strategies.
• Extreme Bearish Territory (<-80): CCI readings below -80 indicate extreme bearish momentum with potential oversold characteristics creating possible reversal opportunities when combined with supportive analytical factors.
# Row 13: SAR Network - Multi-Component Momentum Analysis
Display Format: "X.XX% | BULL STRONG ↗INF" | Complex Multi-Component Analysis
Color Coding: Lime (Bullish Strong) | Green (Bullish Moderate) | Red (Bearish Strong) | Orange (Bearish Moderate) | White (Inflection Priority)
SAR Distance Percentage Analysis: The distance percentage component measures price separation from SAR level as percentage of current price, providing quantification of momentum strength through mathematical price relationship analysis.
SAR Strength Classification Framework:
• STRONG Momentum Conditions (>75% of Strength Range): STRONG classification indicates significant momentum conditions with price-SAR separation exceeding 75% of calculated strength range, representing notable directional movement with sustainability characteristics.
• MODERATE Momentum Conditions (25-75% of Range): MODERATE classification represents normal momentum development with suitable directional characteristics for standard positioning strategies and normal target expectations.
• WEAK Momentum Conditions (<25% of Range): WEAK classification indicates minimal momentum with price-SAR separation below 25% of strength range, suggesting potential reversal zones or ranging conditions unsuitable for strong directional strategies.
Inflection Detection System:
• Bullish Inflection (↗INF): Bullish inflection detection identifies moments when SAR momentum transitions from declining to rising through systematic rate-of-change analysis over 5-period lookback periods. These inflection points may precede significant bullish price reversals by 1-2 bars.
• Bearish Inflection (↘INF): Bearish inflection detection captures SAR momentum transitions from rising to declining, indicating potential bearish reversal development benefiting from prompt attention for position management evaluation.
# Row 14: VWAP Context Analysis - Institutional Volume-Weighted Price Reference
Display Format: "Daily: XXXX.XX (+X.XX%)" | "N/A (Index/Futures)"
Color Coding: Lime (Above VWAP Premium) | Red (Below VWAP Discount) | Gray (Data Unavailable)
Volume-Weighted Average Price (VWAP) provides institutional-level price reference showing mathematical average price where significant volume has transacted throughout the specified period. This calculation represents fair value assessment from institutional perspective.
• Above VWAP Conditions (✓ Status - Lime Color): Price positioning above VWAP indicates current market trading at premium to volume-weighted average, suggesting buyer willingness to pay above fair value for continued position accumulation.
• Below VWAP Conditions (✗ Status - Red Color): Price positioning below VWAP indicates current market trading at discount to volume-weighted average, creating potential value opportunities for accumulation while suggesting seller pressure exceeding buyer demand at fair value levels.
# Row 15: TP SL System Configuration - Dynamic vs Static Target Management
Display Format: "DYNAMIC ATR" | "STATIC %"
Color Coding: Aqua (Dynamic ATR Mode) | Yellow (Static Percentage Mode)
• DYNAMIC ATR Mode Analysis: Dynamic ATR mode implements systematic volatility-adaptive target management where all profit targets and stop losses automatically scale based on current market volatility through ATR (Average True Range) calculations. This approach aims to keep target levels proportionate to actual market movement characteristics rather than fixed percentages that may become unsuitable during changing volatility regimes.
• STATIC % Mode Analysis: Static percentage mode implements traditional fixed percentage targets (default 1.0%/2.5%/3.8%/4.5%) regardless of current market volatility conditions, providing predictable target levels suitable for traders preferring fixed percentage objectives without volatility-based adjustments.
# Row 16: TP Sequence Progression - Systematic Achievement Tracking
Display Format: "1 ✓ 2 ✓ 3 ○" | "1 ○ 2 ○ 3 ○" | Progressive Achievement Display
Color Coding: White text with systematic achievement progression
Status Indicator: ✓ (Achievement Confirmed) | ○ (Target Not Achieved)
• Complete Achievement Sequence (1 ✓ 2 ✓ 3 ✓): Complete sequence achievement represents significant position performance with systematic profit realization across all primary target levels, indicating favorable signal quality and effective market timing.
• Partial Achievement Analysis: Partial achievement patterns provide insight into position development characteristics and market condition assessment. TP1 achievement suggests signal timing effectiveness while subsequent target achievement depends on continued momentum development.
• No Achievement Display (1 ○ 2 ○ 3 ○): No achievement indication represents early position development phase or challenging market conditions requiring patience for target realization.
# Row 17: Mission Duration Tracking - Time-Based Position Management
Display Format: "XX/XXX" (Current Bars/Maximum Duration Limit)
Color Coding: Green (<50% Duration) | Orange (50-80% Duration) | Red (>80% Duration)
• Normal Duration Periods (Green Status <50%): Normal duration indicates position development within expected timeframes based on signal characteristics and market conditions, representing healthy position progression without time pressure concerns.
• Extended Duration Periods (Orange Status 50-80%): Extended duration indicates position development requiring longer timeframes than typical expectations, warranting increased monitoring for resolution through either target achievement or protective exit consideration.
• Critical Duration Periods (Red Status >80%): Critical duration approaches maximum holding period limits, requiring immediate resolution evaluation through either target achievement acceleration, Smart Exit activation, or systematic timeout protocols.
# Row 18: Last Exit Analysis - Historical Exit Pattern Assessment
Display Format: Exit Reason with Color-Coded Classification
Color Coding: Lime (TP Exits) | Red (Critical Exits) | Yellow (Stop Losses) | Purple (Smart Low) | Orange (Timeout/Sustained)
• Profit-Taking Exits (Lime/Green): TP1/TP2/TP3/Final Target exits indicate position management with systematic profit realization suggesting signal quality and strategy performance.
• Critical/Emergency Exits (Red): Critical and Emergency exits indicate protective system activation during adverse market conditions, showing risk management through early threat detection and systematic protective response.
• Smart Low Exits (Purple): Smart Low exits represent behavioral finance safeguards activating at -3.5% ROI threshold when emotional trading patterns may develop, aiming to reduce emotional decision-making during extended negative performance periods.
# Row 19: Fast Danger Assessment - Immediate Threat Detection System
Display Format: "X.X/10" (Danger Score out of 10)
Color Coding: Green (<3.0 Safe) | Yellow (3.0-5.0 Moderate) | Red (>5.0 High Danger)
The Fast Danger Assessment system provides real-time evaluation of immediate market threats through six independent measurement systems: SAR distance deterioration, momentum reversal detection, extreme CCI readings, volatility spike analysis, price action intensity, and combined threat evaluation.
• Safe Conditions (Green <3.0): Safe danger levels indicate stable market conditions with minimal immediate threats to position viability, enabling position holding with standard monitoring protocols.
• Moderate Concern (Yellow 3.0-5.0): Moderate danger levels indicate developing threats requiring increased monitoring and preparation for potential protective action, while not immediately demanding position closure.
• High Danger (Red >5.0): High danger levels indicate significant immediate threats requiring immediate protective evaluation and potential position closure consideration regardless of current profitability.
# Row 20: Holding Confidence Evaluation - Position Viability Assessment
Display Format: "X.X/10" (Confidence Score out of 10)
Color Coding: Green (>6.0 High Confidence) | Yellow (3.0-6.0 Moderate Confidence) | Red (<3.0 Low Confidence)
Holding Confidence evaluation provides systematic assessment of position viability through analysis of trend strength maintenance, formation quality persistence, momentum sustainability, and overall market condition favorability for continued position development.
• High Confidence (Green >6.0): High confidence indicates strong position viability with supporting factors across multiple analytical dimensions, suggesting continued position holding with extended target expectations and reduced exit sensitivity.
• Moderate Confidence (Yellow 3.0-6.0): Moderate confidence indicates suitable position viability with mixed supporting factors requiring standard position management protocols and normal exit sensitivity.
• Low Confidence (Red <3.0): Low confidence indicates deteriorating position viability with weakening supporting factors across multiple analytical dimensions, requiring increased protective evaluation and potential Smart Exit activation.
# Row 21: Volatility | Market Status - Volatility Environment & Market Filter Status
Display Format: "NORMAL | NORMAL" | "HIGH | HIGH VOL" | "EXTREME | NEWS FILTER"
Color Coding: White (Information display)
Volatility Classification Component (Left Side):
- DEAD: ATR ratio <0.8x average, minimal price movement requiring careful timing
- LOW: ATR ratio 0.8-1.2x average, stable conditions enabling position increase potential
- NORMAL: ATR ratio 1.2-1.8x average, typical market behavior with standard parameters
- HIGH: ATR ratio 1.8-2.5x average, elevated movement requiring increased caution
- EXTREME: ATR ratio >2.5x average, chaotic conditions triggering enhanced protection
Market Status Component (Right Side):
- NORMAL: Standard market conditions, no special filters active
- HIGH VOL: High volatility detected, position reduction and exit sensitivity increased
- EXTREME VOL: Extreme volatility confirmed, enhanced protective protocols engaged
- NEWS FILTER: Major economic event detected, 80% position reduction active
- GAP MODE: Weekend gap identified, increased caution until normal flow resumes
Combined Status Interpretation:
- NORMAL | NORMAL: Suitable trading conditions, standard strategy operation
- HIGH | HIGH VOL: Elevated volatility confirmed by both systems, 40% position reduction
- EXTREME | EXTREME VOL: High volatility warning, 70% position reduction active
📊VISUAL SYSTEM INTEGRATION
Chart Analysis & Market Visualization
CCI SMART Buffer Zone Visualization System - Dynamic Support/Resistance Framework
Dynamic Zone Architecture: The CCI SMART buffer system represents systematic visual integration creating adaptive support and resistance zones that automatically expand and contract based on current market volatility through ALMA-smoothed true range calculations. These dynamic zones provide real-time support and resistance levels that adapt to evolving market conditions rather than static horizontal lines that quickly become obsolete.
Adaptive Color Intensity Algorithm: The buffer visualization employs color intensity algorithms where transparency and saturation automatically adjust based on CCI momentum strength and directional persistence. Stronger momentum conditions produce more opaque visual representations with increased saturation, while weaker momentum creates subtle transparency indicating reduced prominence or significance.
Color Interpretation Framework for Strategic Decision Making:
-Intense Blue/Purple (High Opacity): Strong CCI readings exceeding ±80 with notable momentum strength indicating support/resistance zones suitable for increased position management decisions
• Moderate Blue/Purple (Medium Opacity): Standard CCI readings ranging ±40-80 with normal momentum indicating support/resistance areas for standard position management protocols
• Faded Blue/Purple (High Transparency): Weak CCI readings below ±40 with minimal momentum suggesting cautious interpretation and conservative position management approaches
• Dynamic Color Transitions: Automatic real-time shifts between bullish (blue spectrum) and bearish (purple spectrum) based on CCI trend direction and momentum persistence characteristics
CCI Inflection Circle System - Momentum Reversal Identification: The inflection detection system creates distinctive visual alerts through dual-circle design combining solid cores with transparent glow effects for enhanced visibility across different chart backgrounds and timeframe configurations.
Inflection Circle Classification:
• Neon Green Circles: CCI extreme bullish inflection detected (>80 threshold) with systematic core + glow effect indicating bearish reversal warning for position management evaluation
• Hot Pink Circles: CCI extreme bearish inflection detected (<-80 threshold) with dual-layer visualization indicating bullish reversal opportunity for strategic entry consideration
• Dual-Circle Design Architecture: Solid tiny core providing location identification with large transparent glow ensuring visibility without chart obstruction across multiple timeframe analyses
SAR Visual Network - Multi-Layer Momentum Display Architecture
SAR Visualization Framework: The SAR visual system implements structured multi-layer display architecture incorporating trend lines, strength classification markers, and momentum analysis through various visual elements that automatically adapt to current momentum conditions and strength characteristics.
SAR Strength Visual Classification System:
• Bright Triangles (High Intensity): Strong SAR momentum exceeding 75% of calculated strength range, indicating significant momentum quality suitable for increased positioning considerations and extended target scenarios
• Standard Circles (Medium Intensity): Moderate SAR momentum within 25-75% strength range, representing normal momentum development appropriate for standard positioning approaches and regular target expectations
• Faded Markers (Low Intensity): Weak SAR momentum below 25% strength range, suggesting caution and conservative positioning during minimal momentum conditions with increased exit sensitivity
⚠️IMPORTANT DISCLAIMERS AND RISK WARNINGS
Past Performance Limitations: The backtesting results presented represent hypothetical performance based on historical market data and do not guarantee future results. All trading involves substantial risk of loss. This strategy is provided for informational purposes and does not constitute financial advice. No trading strategy can guarantee 100% success or eliminate the risk of loss.
Users must approach trading with appropriate caution, never risking more than they can afford to lose.
Users are responsible for their own trading decisions, risk management, and compliance with applicable regulations in their jurisdiction.
Signalgo BBSignalgo BB: Technical Overview
Signalgo BB is a Bollinger Bands (BB) indicator for TradingView, designed to provide a multi-dimensional view of volatility, trend, and trading opportunities within a single overlay. Below is a detailed, impartial explanation of its workings, inputs, and trading logic.
Core Mechanics
Signalgo BB operates on the principle of nested volatility bands and moving averages. It calculates:
Fast & Slow Bands: Two sets of Bollinger Bands (BB), using different moving average types (EMA or SMA), lengths, and standard deviation multipliers.
Volatility Cloud: A dynamic visual layer indicating when price is inside both, one, or neither band.
Filtering: A short-term RSI is used to confirm trend direction and filter out weak signals.
Inputs & Components
MA Type: Choice between EMA, SMA for both fast and slow MA calculations.
Fast/Slow Lengths
Fast/Slow Deviations
RSI Length/Thresholds
Show Cloud: Toggle for the visual volatility cloud.
Signal Mode: Band Break.
Prevent Repeated Signals: Option to suppress duplicate signals in the same direction.
TP/SL & Trailing Logic: Advanced, automated trade management with ATR-based distances, three take-profit levels, and a dynamic trailing stop.
Signal Generation
Band Break: Triggers when price crosses the fast BB band.
RSI Filter: All signals require RSI confirmation.
Prevent Repeated Signals: Optionally only marks the first breakout in a series to reduce overtrading.
Entry/Exit Marks: Labels are plotted for visual clarity, and signals can trigger TradingView alerts.
Trade Management
Stop Loss (SL): Set at a multiple of ATR from the entry price, adapting to current volatility.
Take Profits (TP1, TP2, TP3): Three levels scaled by risk-reward ratios, supporting partial exits.
Trailing Stop: After the first TP is hit, SL moves to breakeven and then trails at a user-defined multiple of ATR, locking in further gains.
Event Markers: Each TP, SL, and trailing stop event is labeled on the chart.
Direction State: The indicator tracks active trades, allowing for only one open position per direction at a time.
Cloud Visualization: The background color changes depending on whether price is inside both, one, or no bands, making it easier to visualize market conditions.
Multiple Signal Logics: It doesn’t just look at breakouts, it includes cloud crossings, mean reversion, and a choice of how to combine them.
Rigorous Filtering: Signals require RSI trend confirmation, reducing false entries during weak phases.
Automated Trade Management: Built-in TP/SL and trailing logic, dynamically adapting to volatility.
Signal Suppression: Option to prevent repeated signals, reducing noise and overtrading.
Customizable MA Types: Supports EMA, SMA, and a selection algorithm for future expansion.
Trading Strategy Application
Volatility Regimes: The cloud’s color indicates whether price is inside, between, or outside the bands, helping traders identify trending, ranging, or breakout conditions.
Signals: entries can be based on breakouts filtered by RSI trend strength.
Risk Management: All active trades are managed by TP/SL logic, trailing stops after TP1, and visual feedback on exits.
Visual Alerts: Both signals and TP/SL events are marked on the chart for manual review.
Flexibility: Users can switch modes or suppress repeated signals as needed, depending on trading style.
Practical Usage
Intraday to Swing: Suitable for timeframes from minutes to days, depending on the MA periods and volatility profile.
Manual or Automated: The visual overlay and alerts support both manual trading and automated strategies.
Education & Review: The colored cloud and event markers make it easy to review past price action and learn from signals.
What separates this indicator from traditional ones:
1. Dual Bollinger Bands
Traditional: Most indicators use a single set of Bollinger Bands (two standard deviations above/below a moving average).
Signalgo BB: Implements two sets of bands—a "fast" set (shorter moving average, narrower deviation) and a "slow" set (longer moving average, wider deviation). This provides both immediate (fast) and broader context (slow) for volatility and price action.
2. Volatility Cloud Visualization
Traditional: Standard Bollinger Bands display as two lines, with the area between sometimes shaded as a "band" but without dynamic color changes.
Signalgo BB: The background is colored differently depending on whether price is within both, one, or neither band, offering a visual "cloud" that distinguishes trending, ranging, or breakout regimes at a glance.
3. RSI Filtering
Traditional: Many indicators either don’t filter signals, or if they do, it’s not always configurable.
Signalgo BB: Adds an optional RSI filter, requiring signals to be confirmed by short-term RSI overbought/oversold conditions. This reduces false signals in range-bound or low-trend environments.
4. Prevention of Repeated Signals
Traditional: Most indicators will keep firing signals as long as conditions are met, which can cause overtrading.
Signalgo BB: Offers a user-toggleable option to suppress repeated signals in the same direction until the opposite signal occurs. This reduces noise for discretionary traders.
5. Integrated Trade Management
Traditional: Manual or separate coding is required for stop-loss, take-profit, and trailing stop logic.
Signalgo BB: Builds in dynamic, ATR-based stop-loss; up to three take-profit levels and a trailing stop that activates after the first TP is hit. All levels are visually plotted on the chart, and events (TP/SL hits) are labeled, aiding strategy review and automation.
6. Event Labeling and Alerts
Traditional: Alerts may exist for entry/exit, but rarely for each TP/SL event.
Signalgo BB: Places labels for every entry, exit, and TP/SL event. It also provides TradingView alertconditions for each event, enabling automated notifications or integration with trading bots.
7. Directional State Tracking
Traditional: Indicators typically do not track the "state" of a trade (e.g., active long/short/flat) beyond simple signals.
Signalgo BB: Maintains persistent variables for entry price, SL, TP, trailing stop, and trade direction, ensuring only one active signal per direction. This prevents overlapping entries and mimics realistic trade management.
8. User Customization
Traditional: Default settings are often hardcoded, or customization is limited.
Signalgo BB: Offers extensive user inputs for MA type and TP/SL logic—making the tool adaptable to many strategies and timeframes.
aiTrendview.com Option Calculator📊 aiTrendview Option Calculator - Complete Feature Guide
🎯 Overview
The aiTrendview Option Calculator is a comprehensive, professional-grade options trading dashboard that integrates live market data with advanced Black-Scholes pricing models and intelligent strategy recommendations. It transforms complex options analysis into an intuitive, visual interface for both novice and professional traders.
________________________________________
🎛️ Dashboard Settings & Customization
________________________________________
📋 Option Inputs - The Foundation
Strike Price (105 in example)
• Function: The contract's exercise price
• Analysis Impact: Determines moneyness (ITM/OTM status)
• Risk Assessment: Affects delta, probability of profit, and breakeven calculations
• Strategy Selection: Critical for spread strategies and risk/reward optimization
Days to Expiry (30 in example)
• Function: Time until option expiration
• Analysis Impact: Drives time decay (theta) calculations
• Risk Assessment: More days = higher time value but slower decay
• Strategy Selection: Short-term strategies favor <30 days, long-term >45 days
Risk Free Rate (5% in example)
• Function: Current treasury rate for theoretical pricing
• Analysis Impact: Affects all Greeks calculations and fair value pricing
• Risk Assessment: Higher rates increase call values, decrease put values
• Strategy Selection: Impacts carry strategies and early exercise decisions
Implied Volatility (25% in example)
• Function: Market's expectation of future price movement
• Analysis Impact: Primary driver of option premium
• Risk Assessment: High IV = expensive options, low IV = cheap options
• Strategy Selection: Determines whether to buy or sell premium
Option Type (Call/Put)
• Function: Directional bias selection
• Analysis Impact: Reverses delta sign and profit zones
• Risk Assessment: Calls profit from upward moves, puts from downward moves
• Strategy Selection: Foundation for all directional and neutral strategies
________________________________________
📊 Live Market Data Integration
Real-Time Price Feed
• Current Underlying Price: Live market price with percentage change
• Volume Analysis: Current volume vs. 20-day average (shows as multiplier like "1.5x")
• Price Momentum: Tracks intraday price movements
• Volatility Assessment: Uses VIX data or ATR-based calculations
________________________________________
🔢 The Greeks - Risk Metrics
Delta (Price Sensitivity)
• Range: -1.00 to +1.00
• Call Delta: 0 to +1 (positive exposure)
• Put Delta: -1 to 0 (negative exposure)
• Trading Use: Hedge ratio, directional exposure measurement
• Progress Bar: Visual representation of sensitivity strength
Gamma (Delta Acceleration)
• Function: Rate of delta change
• Peak: Highest at-the-money
• Trading Use: Risk management for large moves
• Display: Multiplied by 1000 for readability
Theta (Time Decay)
• Function: Daily premium erosion
• Always Negative: For long positions
• Trading Use: Time-based strategy selection
• Critical: Accelerates in final 30 days
Vega (Volatility Sensitivity)
• Function: Premium change per 1% IV change
• Trading Use: Volatility play strategies
• Risk Management: IV crush protection
• Strategy Selection: Buy low IV, sell high IV
Rho (Interest Rate Sensitivity)
• Function: Premium change per 1% rate change
• Less Critical: For short-term options
• Important: For LEAPS and rate-sensitive underlyings
________________________________________
📈 Market Analysis Section
Sentiment Analysis
• Bullish: PCR < 0.8 (more calls than puts)
• Bearish: PCR > 1.2 (more puts than calls)
• Neutral: PCR 0.8-1.2 (balanced activity)
• Calculation: Based on volume ratio and RSI momentum
Volume Analysis
• Current vs. Average: Spots unusual activity
• Ratio Display: Shows volume multiplier (e.g., "2.3x normal")
• Trading Signal: High volume confirms moves, low volume suggests consolidation
Risk Level Assessment
• Low: IV < 25% (cheap options)
• Medium: IV 25-40% (fairly valued)
• High: IV > 40% (expensive options)
• Color Coded: Green/Yellow/Red for quick identification
________________________________________
⚡ Strategy Recommendation Engine
Intelligent Analysis
The calculator analyzes 6 core strategies based on current market conditions:
1. Long Call: Best for bullish sentiment + low IV
2. Short Put: Best for bullish sentiment + high IV
3. Long Put: Best for bearish sentiment + low IV
4. Bull Call Spread: Best for moderate bullish moves
5. Long Straddle: Best for high volatility expected + low IV
6. Iron Butterfly: Best for neutral sentiment + high IV + low expected move
Scoring System
• Confidence Score: 0-100% based on market conditions
• Color Coding: Green (80%+), Yellow (60-80%), Red (<60%)
• Dynamic Updates: Recalculates with every price change
________________________________________
📊 Progress Bar Visualizations
Delta Strength: Visual representation of directional exposure
Time Decay: Days remaining until expiration
IV Level: Current implied volatility relative to extremes
Volume Activity: Current volume vs. historical average
Profit Probability: Calculated odds of profitable outcome
________________________________________
🎯 How to Achieve Risk-Optimized Trading
Step 1: Market Analysis
1. Check Sentiment: Is market bullish, bearish, or neutral?
2. Assess IV Level: Are options cheap, fair, or expensive?
3. Volume Confirmation: Is there institutional interest?
4. Time Frame: How many days until expiration?
Step 2: Strategy Selection
The calculator automatically recommends the highest probability strategy based on:
• Current market sentiment
• IV environment
• Expected move percentage
• Time to expiration
• Risk/reward optimization
Step 3: Risk Management Setup
For Long Strategies (Buying Options)
• Best When: IV rank is low (green), high probability score
• Risk Control: Maximum loss is premium paid
• Time Management: Avoid last 2 weeks before expiration
• Profit Taking: Close at 50% profit or 25% time decay
For Short Strategies (Selling Options)
• Best When: IV rank is high (red), neutral sentiment
• Risk Control: Use defined risk spreads
• Time Advantage: Target last 45 days
• Profit Taking: Close at 50% max profit
For Neutral Strategies
• Best When: Low expected move + high IV
• Risk Management: Iron butterflies and condors
• Time Decay: Benefits from theta decay
• Adjustment: Have roll/adjust plan ready
Step 4: Execution Guidelines
High Confidence Trades (80%+ Score)
• Position Size: Standard risk allocation
• Entry: Immediate execution
• Management: Hold to target or 21 DTE
Medium Confidence Trades (60-80% Score)
• Position Size: Reduced allocation
• Entry: Wait for better setup or confirmation
• Management: Tighter profit/loss targets
Low Confidence Trades (<60% Score)
• Action: Avoid or wait for better conditions
• Alternative: Consider opposite strategy
• Patience: Wait for higher probability setup
________________________________________
🔍 Real-Time Risk Monitoring
Live Greeks Tracking
• Delta Neutral: Maintain overall portfolio delta near zero
• Gamma Risk: Monitor acceleration risk on large moves
• Theta Decay: Track daily time value erosion
• Vega Exposure: Hedge volatility risk when needed
Probability Metrics
• Profit Probability: Statistical odds of profitable outcome
• Expected Move: Price range for 68% probability
• Breakeven Analysis: Exact price needed for profitability
• Time Value: Separation of intrinsic vs. extrinsic value
________________________________________
💡 Professional Trading Tips
Market Environment Adaptation
• Low IV Environment: Buy straddles, strangles, long options
• High IV Environment: Sell premium, iron condors, credit spreads
• Trending Markets: Directional strategies with trend
• Range-Bound Markets: Neutral strategies, short premium
Risk Management Rules
1. Never risk more than 2% of capital per trade
2. Close losing trades at 2x premium received (short) or 50% loss (long)
3. Take profits at 50% of maximum potential
4. Avoid earnings announcements unless specifically trading volatility
5. Have exit plan before entry
________________________________________
🎯 Achieving "Risk-Free" Trading
While no trading is truly risk-free, the calculator helps minimize risk through:
High Probability Setups
• Only trade strategies with 70%+ confidence scores
• Confirm with multiple indicators (sentiment, IV, volume)
• Use proper position sizing
Statistical Edge
• Mean reversion strategies in extreme IV environments
• Time decay advantages in short premium strategies
• Probability-based position sizing
Risk Mitigation
• Defined risk strategies only
• Proper diversification across time and strikes
• Systematic profit taking and loss cutting
• Continuous monitoring and adjustment
________________________________________
📊 Dashboard Interpretation Guide
Green Signals (Go)
• High strategy confidence score
• Favorable IV environment for strategy
• Strong volume confirmation
• Clear directional bias
Yellow Signals (Caution)
• Medium confidence scores
• Mixed market signals
• Average volume activity
• Reduce position size
Red Signals (Stop)
• Low confidence scores
• Unfavorable conditions
• Low volume/poor liquidity
• Wait for better setup
________________________________________
The aiTrendview Option Calculator transforms complex options analysis into actionable trading intelligence, helping traders make informed decisions based on mathematical models, live market data, and statistical probabilities rather than emotions or guesswork.
FVG 9:31–10:00 AM ETFVG 9:31–10:00 AM ET - Script Description
What This Script Does
This indicator finds **Fair Value Gaps (FVGs)** that form during the first 29 minutes of the U.S. stock market (9:31 AM to 10:00 AM Eastern Time). A Fair Value Gap is a price imbalance where there's a gap between candles that often becomes an important support or resistance level.
Key Features:
- **Time Window**: Only looks for FVGs between 9:31-10:00 AM ET (most important opening period)
- **One Per Day**: Finds only the first FVG that forms in this time window each day
- **Visual Display**: Draws a purple box around the gap with a clear "FVG" label
- **Price Tracking**: Monitors when price comes back to test the gap level
- **Alert System**: Sends notifications when price returns to the FVG zone
How FVGs Are Detected:
- **Bullish FVG**: When there's a gap up (low of middle candle is above high of 3rd candle back)
- **Bearish FVG**: When there's a gap down (high of middle candle is below low of 3rd candle back)
The 9:31-10:00 AM window is chosen because this is when institutions and algorithms create their biggest price moves right after market open, making these gaps very reliable.
Customization Options
User Settings
Extend FVG Box (Bars)
- **What it does**: Makes the purple box longer to the right
- **Default**: 0 (box ends right after the gap forms)
- **Options**: Any number from 0 to 100+
- **When to use**:
- Keep at 0 for clean historical view
- Set to 10-20 to track the gap during the current session
- Set higher for longer reference
Code Settings (Can Be Changed)
Time Window
- **Start**: 9:31 AM Eastern Time
- **End**: 10:00 AM Eastern Time
- **Can modify**: Change the hour/minute numbers in the code
Visual Style
- **Color**: Purple with see-through background
- **Label**: Shows "FVG" text in white
- **Can modify**: Change colors and transparency in the code
How to Use:
Setup
Chart Settings
1. Use 1-minute, 5-minute, or 15-minute charts (works best on these timeframes)
2. Apply to liquid markets like ES, NQ, major stocks, or forex pairs
3. Set the "Extend FVG Box" to your preference (start with 0 or 10)
What You'll See
- A purple box appears when an FVG forms during 9:31-10:00 AM
- Box shows the exact price levels of the gap
- "FVG" label appears on the box
- Only one FVG per day will be marked
Trading Strategies
Basic FVG Trading
1. **Wait for Formation**: Let the purple box appear during 9:31-10:00 AM
2. **Watch Price Movement**: See if price moves away from the gap
3. **Enter on Retest**: When price comes back to the purple box area, consider entering
4. **Trade Direction**:
- Bullish FVG = look for long opportunities when price retests
- Bearish FVG = look for short opportunities when price retests
Entry Methods
- **Bounce Play**: Enter when price touches the FVG box and bounces away
- **Break Play**: Enter if price strongly breaks through the FVG box
- **Rejection Play**: Enter opposite direction if price gets rejected at the FVG
Risk Management
Stop Losses
- Place stops just outside the FVG box (a few ticks beyond the gap)
- If trading a bounce, stop goes on opposite side of the gap
- If trading a break, stop goes back inside the gap
Position Sizing
- Start small until you understand how FVGs work in your market
- Bigger gaps = smaller position size (more risk)
- Smaller gaps = can use larger position size
Profit Targets
- Take profits at obvious levels like round numbers, previous highs/lows
- Consider taking half profits at 1:1 risk/reward ratio
- Let some position run if the move is strong
Best Practices
When It Works Best
- High-volume stocks and futures (ES, NQ work great)
- Normal market days without major news during the 9:31-10:00 window
- When there's clear institutional activity in the opening period
When to Be Careful
- Low-volume stocks or markets
- Major economic news releases during the time window
- Market holidays when volume is low
- Very choppy or sideways days
Alert Usage
- The script will alert you when price comes back to test the FVG
- Don't trade the alert blindly - always check the current market situation
- Use the alert as a heads-up to start watching the setup more closely
Tips for Success
- The earlier the FVG forms in the 9:31-10:00 window, often the more significant it is
- FVGs that form with high volume are usually more reliable
- Always consider the overall market direction - don't fight the main trend
- Practice on paper first to understand how FVGs behave in your chosen market
🔗 Works Best With:
✅ Liquidity Levels — Smart Swing Lows: Spot key structural lows that can fuel stop hunts and reversals.
✅ ICT Turtle Soup — Liquidity Reversal: Add a classic reversal pattern to your toolkit to catch fakeouts cleanly.
✅ ICT SMC Liquidity Grabs and OBs- Liquidity Grabs, Order Block Zones, and Fibonacci OTE Levels, allowing traders to identify institutional entry models with clean, rule-based visual signals.
This script is most valuable for day traders who want to catch institutional moves right after market open, but it can also help swing traders identify important intraday levels.
✅ ICT Macro Zones (Grey Box Version)- It tracks real-time highs and lows for each Silver Bullet session.
✅ Weekly Opening Gap (cryptonnnite)
Custom Portfolio [BackQuant]Custom Portfolio {BackQuant]
Overview
This script turns TradingView into a lightweight portfolio optimizer with institutional-grade analytics and real-time position management capabilities.
Rank up to 15 tickers every bar using a pair-wise relative-strength "league table" that compares each asset against all others through your choice of 12 technical indicators.
Auto-allocate 100% of capital to the single strongest asset and optionally apply dynamic leverage when the aggregate market is trending, with full position tracking and rebalancing logic.
Track performance against a custom buy-and-hold benchmark while watching a fully fledged stats dashboard update in real time, including 15 professional risk metrics.
How it works
Relative-strength engine – Each asset is compared against every other asset with a user-selectable indicator (default: 9/21 EMA cross). The system generates a complete comparison matrix where Asset A vs Asset B, Asset A vs Asset C, and so on, creating strength scores. The summed scores crown a weekly/daily/hourly "winner" that receives the full allocation.
Regime filter – A second indicator applied to TOTAL crypto-market cap (or any symbol you choose) classifies the environment as trending or mean-reverting . Leverage activates only in trending regimes, protecting capital during choppy or declining markets. Choose from indicators like Universal Trend Model, Relative Strength Overlay, Momentum Velocity, or Custom RSI for regime detection.
Capital & position logic – Equity grows linearly when flat and multiplicatively while invested. The system tracks entry prices, calculates returns including leverage adjustments, and handles position transitions seamlessly. Optional intra-trade leverage rebalancing keeps exposure in sync with market conditions, recalculating position sizes as regime conditions change.
Risk & performance analytics – Every confirmed bar records return, drawdown, VaR/CVaR, Sharpe, Sortino, alpha/beta vs your benchmark, gain-to-pain, Calmar, win-rate, Omega ratio, portfolio variance, skewness, and annualized statistics. All metrics render in a professional table for instant inspection with proper annualization based on your selected trading days (252 for traditional markets, 365 for crypto).
Key inputs
Backtest window – Hard-code a start date or let the script run from series' inception with full date range validation.
Asset list (15 slots) – Works with spot, futures, indices, even synthetic spreads (e.g., BYBIT:BTCUSDT.P). The script automatically cleans ticker symbols for display.
Indicator universe – Switch the comparative metric to DEMA, BBPCT, LSMAz adaptive scores, Volatility WMA, DEMA ATR, Median Supertrend, and more proprietary indicators.
With more always being added!
Leverage settings – Max leverage from 1x to any multiple, auto-rebalancing toggle, trend/reversion thresholds with precision controls.
Visual toggles – Show/hide equity curve, rolling drawdown heat-map, daily PnL spikes, position label, advanced metrics table, buy-and-hold comparison equity.
Risk-free rate input – Customize the risk-free rate for accurate Sharpe ratio calculations, supporting both percentage and decimal inputs.
On-chart visuals
Color-coded equity curve with "shadow" offset for depth perception that changes from green (profitable) to red (losing) based on recent performance momentum.
Rolling drawdown strip that fades from light to deep red as losses widen, with customizable maximum drawdown scaling for visual clarity.
Optional daily-return histogram line and zero reference for understanding day-to-day volatility patterns.
Bottom-center table prints the current winning ticker in real time with clean formatting.
Top-right metrics grid updates every bar with 15 key performance indicators formatted to three decimal places for precision.
Benchmark overlay showing buy-and-hold performance of your selected index (default: SPX) for relative performance comparison.
Typical workflow
Add the indicator on a blank chart (overlay off).
Populate ticker slots with the assets you actually trade from your broker's symbol list.
Pick your momentum or mean-reversion metric and a regime filter that matches your market hypothesis.
Set max leverage (1 = spot only) and decide if you want dynamic rebalancing.
Press the little " L " on the price axis to view the equity curve in log scale for better long-term visualization.
Enable the metrics table to monitor Sharpe, Sortino, and drawdown in real time.
Iterate through different asset combinations and indicator settings; compare performance vs buy-and-hold; refine until you find robust parameters.
Who is it for?
Systematic crypto traders looking for a one-click, cross-sectional rotation model with professional risk management.
Portfolio quants who need rapid prototyping without leaving TradingView or exporting to Python/R.
Swing traders wanting an at-a-glance health check of their multi-coin basket with instant position signals.
Fund managers requiring detailed performance attribution and risk metrics for client reporting.
Researchers backtesting momentum and mean-reversion strategies across multiple assets simultaneously.
Important notes & tips
Set Trading Days in a Year to 252 for traditional markets; 365 for 24/7 crypto to ensure accurate annualization.
CAGR and Sharpe assume the backtest start date you choose—short windows can inflate stats, so test across multiple market cycles.
Leverage is theoretical; always confirm your broker's margin rules and account for funding costs not modeled here.
The script is computationally heavy at 15 assets due to the N×N comparison matrix—reduce the list or lengthen the timeframe if you hit execution limits.
Best results often come from mixing assets with different volatility profiles rather than highly correlated instruments.
The regime filter symbol can be changed from CRYPTOCAP:TOTAL to any broad market index that represents your asset universe.
Historical LiquidityHistorical Liquidity Indicator – Backtesting Mitigated Hidden Order Blocks
The Historical Liquidity Indicator is a companion tool to the Hidden Liquidity Indicator. It is designed to help traders visualize Hidden Order Blocks (HOBs), Partial Hidden Order Blocks (PHOBs) after they’ve been touched by price action.
This allows traders to perform historical market structure analysis, evaluate the effectiveness of past liquidity zones, and conduct systematic backtesting of mitigation-based strategies.
Purpose & Utility
Unlike the standard Hidden Liquidity Indicator, which focuses on active, untouched zones, the Historical Liquidity Indicator highlights zones that have already been mitigated.
It provides a clear historical trail of where hidden liquidity was previously located and how the market responded—offering valuable insights for:
• Identifying the success/failure rate of HOBs across time
• Analyzing price behavior after mitigation (retests, continuations, reversals)
• Supporting the development and refinement of liquidity-based trading strategies
• Recognizing recurring mitigation patterns over time
How It Works
This indicator uses the same core logic as the Hidden Liquidity Indicator—focused on the relationship between Fair Value Gaps (FVGs) and candle bodies—but tracks zones that have fully mitigated.
Mitigation logic is based on:
• HOB: Candle body fully fits inside the FVG and has now been touched by price
• PHOB: Candle body fits at least 50% inside the FVG and is later mitigated
Once mitigation is detected, the zone is stored and visualized historically, allowing traders to track the evolution of price in relation to prior hidden liquidity.
Visualization & Settings
Mitigated zones are clearly marked using distinct color schemes, that can be chosen individually.
You can toggle visibility of each type (HOBs, PHOBs) through the settings panel.
Why It Matters
While many indicators show current order blocks, this tool gives context by showing which liquidity zones were previously respected or invalidated by price. This makes it an ideal tool for:
• Quantifying past performance of liquidity zones
• Identifying support/resistance formed by mitigated blocks
• Enhancing discretionary or liquidity based strategies using historical validation
Important Notes
This is a closed-source indicator built on a custom methodology for detecting and tracking mitigated liquidity zones. While the internal logic remains proprietary, this description outlines the key concepts and use-cases so traders can understand how to apply it.
NFA.
Neuracap Gap AnalysisThe Neuracap Gap Analysis indicator is a comprehensive tool designed to identify and track price gaps, special candlestick patterns, and high-volume breakout signals. It combines multiple trading strategies into one powerful indicator for gap trading, pattern recognition, and momentum analysis.
🎯 What This Indicator Does
1. Gap Detection & Tracking
Automatically identifies price gaps (up and down)
Tracks gap fills with visual boxes that extend until closed
Manages gap history with customizable limits
Color-coded visualization (Green = Gap Up, Red = Gap Down)
2. Upside Tasuki Gap Pattern
Identifies the bullish continuation pattern
Colors candles yellow when pattern is detected
Confirms trend continuation signals
3. Episodic Pivot Detection
High-volume breakout identification
EMA filter ensures signals only in uptrends
Strong momentum confirmation
Fuchsia-colored candles with arrow markers
🔍 How to Use for Trading
📈 Gap Trading Strategy
Gap Up Trading:
Wait for gap up (green box appears)
Check volume - Higher volume = stronger signal
Entry options:
Aggressive: Enter at market open
Conservative: Wait for pullback to gap level
Stop loss: Below the gap fill level
Target: Previous resistance or 2:1 risk/reward
Gap Down Trading:
Identify gap down (red box appears)
Look for bounce opportunities
Entry: When price shows reversal signs
Stop: Below recent lows
Target: Gap fill level
💫 Tasuki Gap Strategy
Yellow candle indicates bullish continuation
Confirms uptrend is likely to continue
Entry: On next candle after pattern
Stop: Below the gap low
Target: Next resistance level
🚀 Episodic Pivot Strategy
Fuchsia candle + arrow = High probability breakout
All conditions met:
Price above EMA 20, 50, 200
High volume (2x+ average)
Strong price move (4%+)
Entry: At close or next open
Stop: Below EMA 20 or recent swing low
Target: Measured move or next resistance
📊 Reading the Visual Signals
Gap Boxes
🟢 Green Box: Gap up - potential bullish continuation
🔴 Red Box: Gap down - potential bounce or bearish continuation
Box extends until gap is filled
Box disappears when gap closes
Candle Colors
🟡 Yellow: Tasuki gap pattern (bullish continuation)
🟪 Fuchsia: Episodic pivot (high-volume breakout)
⬜ Normal: No special pattern detected
Arrows & Markers
⬆️ Triangle Arrow: Episodic pivot confirmation
💡 Trading Tips & Best Practices
✅ Do's
Combine with trend analysis - Trade gaps in direction of trend
Check volume - Higher volume = more reliable signals
Use multiple timeframes - Confirm on higher timeframes
Risk management - Always set stop losses
Wait for confirmation - Don't chase, let signals develop
❌ Don'ts
Don't trade all gaps - Focus on high-quality setups
Avoid low volume - Weak volume = unreliable signals
Don't ignore trend - Counter-trend trading is risky
Don't overtrade - Quality over quantity
Don't ignore context - Consider market conditions
⚠️ Risk Management
Position sizing: Risk 1-2% per trade
Stop losses: Always define before entry
Target levels: Set realistic profit targets
Market conditions: Avoid trading in choppy markets
📈 Performance Optimization
For Conservative Traders:
Increase minimum gap size to 1%
Set volume multiplier to 3.0x
Only trade episodic pivots in strong uptrends
Wait for gap fill confirmation
For Aggressive Traders:
Decrease minimum gap size to 0.3%
Set volume multiplier to 1.5x
Trade both gap types
Enter on pattern confirmation
🚨 Alert Setup
The indicator provides alerts for:
Gap Up Detected
Gap Down Detected
Upside Tasuki Gap
Episodic Pivot
Recommended: Enable all alerts and filter manually based on your strategy.
📝 Summary
This indicator excels at identifying high-probability trading opportunities through gap analysis, pattern recognition, and momentum confirmation. Use it as part of a complete trading system with proper risk management for best results.
Performance Metrics With Bracketed Rebalacing [BackQuant]Performance Metrics With Bracketed Rebalancing
The Performance Metrics With Bracketed Rebalancing script offers a robust method for assessing portfolio performance, integrating advanced portfolio metrics with different rebalancing strategies. With a focus on adaptability, the script allows traders to monitor and adjust portfolio weights, equity, and other key financial metrics dynamically. This script provides a versatile approach for evaluating different trading strategies, considering factors like risk-adjusted returns, volatility, and the impact of portfolio rebalancing.
Please take the time to read the following:
Key Features and Benefits of Portfolio Methods
Bracketed Rebalancing:
Bracketed Rebalancing is an advanced strategy designed to trigger portfolio adjustments when an asset's weight surpasses a predefined threshold. This approach minimizes overexposure to any single asset while maintaining flexibility in response to market changes. The strategy is particularly beneficial for mitigating risks that arise from significant asset weight fluctuations. The following image illustrates how this method reacts when asset weights cross the threshold:
Daily Rebalancing:
Unlike the bracketed method, Daily Rebalancing adjusts portfolio weights every trading day, ensuring consistent asset allocation. This method aims for a more even distribution of portfolio weights, making it a suitable option for traders who prefer less sensitivity to individual asset volatility. Here's an example of Daily Rebalancing in action:
No Rebalancing:
For traders who prefer a passive approach, the "No Rebalancing" option allows the portfolio to remain static, without any adjustments to asset weights. This method may appeal to long-term investors or those who believe in the inherent stability of their selected assets. Here’s how the portfolio looks when no rebalancing is applied:
Portfolio Weights Visualization:
One of the standout features of this script is the visual representation of portfolio weights. With adjustable settings, users can track the current allocation of assets in real-time, making it easier to analyze shifts and trends. The following image shows the real-time weight distribution across three assets:
Rolling Drawdown Plot:
Managing drawdown risk is a critical aspect of portfolio management. The Rolling Drawdown Plot visually tracks the drawdown over time, helping traders monitor the risk exposure and performance relative to the peak equity levels. This feature is essential for assessing the portfolio's resilience during market downturns:
Daily Portfolio Returns:
Tracking daily returns is crucial for evaluating the short-term performance of the portfolio. The script allows users to plot daily portfolio returns to gain insights into daily profit or loss, helping traders stay updated on their portfolio’s progress:
Performance Metrics
Net Profit (%):
This metric represents the total return on investment as a percentage of the initial capital. A positive net profit indicates that the portfolio has gained value over the evaluation period, while a negative value suggests a loss. It's a fundamental indicator of overall portfolio performance.
Maximum Drawdown (Max DD):
Maximum Drawdown measures the largest peak-to-trough decline in portfolio value during a specified period. It quantifies the most significant loss an investor would have experienced if they had invested at the highest point and sold at the lowest point within the timeframe. A smaller Max DD indicates better risk management and less exposure to significant losses.
Annual Mean Returns (% p/y):
This metric calculates the average annual return of the portfolio over the evaluation period. It provides insight into the portfolio's ability to generate returns on an annual basis, aiding in performance comparison with other investment opportunities.
Annual Standard Deviation of Returns (% p/y):
This measure indicates the volatility of the portfolio's returns on an annual basis. A higher standard deviation signifies greater variability in returns, implying higher risk, while a lower value suggests more stable returns.
Variance:
Variance is the square of the standard deviation and provides a measure of the dispersion of returns. It helps in understanding the degree of risk associated with the portfolio's returns.
Sortino Ratio:
The Sortino Ratio is a variation of the Sharpe Ratio that only considers downside risk, focusing on negative volatility. It is calculated as the difference between the portfolio's return and the minimum acceptable return (MAR), divided by the downside deviation. A higher Sortino Ratio indicates better risk-adjusted performance, emphasizing the importance of avoiding negative returns.
Sharpe Ratio:
The Sharpe Ratio measures the portfolio's excess return per unit of total risk, as represented by standard deviation. It is calculated by subtracting the risk-free rate from the portfolio's return and dividing by the standard deviation of the portfolio's excess return. A higher Sharpe Ratio indicates more favorable risk-adjusted returns.
Omega Ratio:
The Omega Ratio evaluates the probability of achieving returns above a certain threshold relative to the probability of experiencing returns below that threshold. It is calculated by dividing the cumulative probability of positive returns by the cumulative probability of negative returns. An Omega Ratio greater than 1 indicates a higher likelihood of achieving favorable returns.
Gain-to-Pain Ratio:
The Gain-to-Pain Ratio measures the return per unit of risk, focusing on the magnitude of gains relative to the severity of losses. It is calculated by dividing the total gains by the total losses experienced during the evaluation period. A higher ratio suggests a more favorable balance between reward and risk.
www.linkedin.com
Compound Annual Growth Rate (CAGR) (% p/y):
CAGR represents the mean annual growth rate of the portfolio over a specified period, assuming the investment has been compounding over that time. It provides a smoothed annual rate of growth, eliminating the effects of volatility and offering a clearer picture of long-term performance.
Portfolio Alpha (% p/y):
Portfolio Alpha measures the portfolio's performance relative to a benchmark index, adjusting for risk. It is calculated using the Capital Asset Pricing Model (CAPM) and represents the excess return of the portfolio over the expected return based on its beta and the benchmark's performance. A positive alpha indicates outperformance, while a negative alpha suggests underperformance.
Portfolio Beta:
Portfolio Beta assesses the portfolio's sensitivity to market movements, indicating its exposure to systematic risk. A beta greater than 1 suggests the portfolio is more volatile than the market, while a beta less than 1 indicates lower volatility. Beta is used to understand the portfolio's potential for gains or losses in relation to market fluctuations.
Skewness of Returns:
Skewness measures the asymmetry of the return distribution. A positive skew indicates a distribution with a long right tail, suggesting more frequent small losses and fewer large gains. A negative skew indicates a long left tail, implying more frequent small gains and fewer large losses. Understanding skewness helps in assessing the likelihood of extreme outcomes.
Value at Risk (VaR) 95th Percentile:
VaR at the 95th percentile estimates the maximum potential loss over a specified period, given a 95% confidence level. It provides a threshold value such that there is a 95% probability that the portfolio will not experience a loss greater than this amount.
Conditional Value at Risk (CVaR):
CVaR, also known as Expected Shortfall, measures the average loss exceeding the VaR threshold. It provides insight into the tail risk of the portfolio, indicating the expected loss in the worst-case scenarios beyond the VaR level.
These metrics collectively offer a comprehensive view of the portfolio's performance, risk exposure, and efficiency. By analyzing these indicators, investors can make informed decisions, balancing potential returns with acceptable levels of risk.
Conclusion
The Performance Metrics With Bracketed Rebalancing script provides a comprehensive framework for evaluating and optimizing portfolio performance. By integrating advanced metrics, adaptive rebalancing strategies, and visual analytics, it empowers traders to make informed decisions in managing their investment portfolios. However, it's crucial to consider the implications of rebalancing strategies, as academic research indicates that predictable rebalancing can lead to market impact costs. Therefore, adopting flexible and less predictable rebalancing approaches may enhance portfolio performance and reduce associated costs.