AiQ Drama Channel [VIP MEMBER ONLY]AiQ PREMIUM Designed by KS
AiQ PREMIUM is not just an indicator; it is a complete, visually immersive trading ecosystem designed for traders who demand precision, aesthetics, and data-driven confidence.
Built upon advanced Fractal Adaptive Moving Average (FRAMA) logic and fused with a proprietary volatility engine, AiQ PREMIUM filters out market noise to reveal high-probability institutional setups.
💎 Core Features
1. DRAMA Volatility Engine (D-FRAMA) Unlike standard Moving Averages, our adaptive algorithm adjusts to market fractal dimensions. It tightens during consolidation to avoid false signals and expands during trends to capture the full move.
2. Multi-Timeframe (MTF) Matrix Stop guessing the trend. The built-in "Trend Matrix" scans M5, M15, M30, H1, and H4 timeframes in real-time. Signals are only generated when there is a confluence of momentum.
3. AiQ Confidence Score & Win Rate The dashboard calculates a dynamic Confidence Score (1-5 Stars) based on historical performance, trend alignment, and volatility strength.
⭐⭐⭐⭐⭐ = Strong Institutional Alignment
⭐ = Risky / Counter-trend
4. Auto-Fibonacci Extensions & Risk Management
Smart Entries: Clear visual signals with glassmorphism UI.
Dynamic Risk: SL/TP are calculated using ATR (Average True Range) to adapt to market volatility.
Auto Targets: Automatically projects TP1, TP2, TP3 (Fib 2.618), and TP4 (Fib 4.236).
5. Premium Visual Experience Choose your trading personality with our Theme Engine:
🏆 Black Gold: Luxury, high-contrast dark mode.
🦄 Cyber Neon: Modern, vibrant aesthetics.
⚪ Clean Quant: Minimalist institutional look.
🛠️ How to Use
Wait for the Signal: Look for the 🚀 LONG SETUP or 🚀 SHORT SETUP badge.
Check the Stars: Ideally, take trades with 3 stars or above on the dashboard.
Confirm with Matrix: Ensure the MTF Matrix (Top Right) shows "BULL" for Longs or "BEAR" for Shorts on higher timeframes (H1/H4).
Manage the Trade:
Secure partial profits at ✅ TP1.
Move SL to Breakeven at ✅ TP2.
Let runners fly to ✅ TP3 and ✅ TP4.
⚠️ Disclaimer - Trading involves high risk. This tool is designed to assist your analysis, not to replace it. Past performance is not indicative of future results. Always use proper risk management.
מחזורים
Zig Zag ++ SG (Premium)🔥 Zig Zag ++ SG
Professional Market Structure & Cycle Analyzer
Zig Zag ++ SG is an advanced, research-grade market structure indicator built on top of a refined ZigZag engine, designed for traders and investors who want to understand price cycles, not chase candles.
This is not a buy-sell arrow tool.
It is a decision-support system used to analyze trend strength, exhaustion, pullback depth, and cycle behavior across any market and timeframe.
🧠 What Makes Zig Zag ++ SG Different?
Most ZigZag indicators only draw lines.
Zig Zag ++ SG answers the real questions:
Is the trend getting stronger or weaker?
Are higher highs still meaningful?
How deep are pullbacks in percentage terms?
Which stocks recover fast vs stay weak?
Is this accumulation, distribution, or reversal?
It does this by combining:
Market Structure (HH / HL / LH / LL)
Consecutive structure counting
Gain & fall percentage per swing
Clean visual logic (no repaint confusion)
📌 Core Features
✅ 1. Automatic Market Structure Detection
Labels every major swing as:
HH – Higher High
HL – Higher Low
LH – Lower High
LL – Lower Low
This instantly shows whether the market is:
Trending
Consolidating
Distributing
Reversing
✅ 2. Consecutive Structure Count (ON by default)
Each structure type is counted sequentially:
HH (1), HH (2), HH (3)…
HL (1), HL (2)…
This reveals:
Trend maturity
Exhaustion zones
Early breakdown warnings
Example:
HH (4) = trend may be overextended
HL (3) = healthy trend continuation
✅ 3. Gain & Fall % on Every Swing (ON by default)
Every HH, HL, LH, LL shows:
Exact % move from the previous pivot
This allows you to:
Compare pullback depth across stocks
Identify leaders (shallow HLs)
Spot weak stocks (deep HLs / LHs)
Study cycle symmetry
Example label:
HL (2)
-6.4%
✅ 4. Clean, Readable Visual Design
🟩 Green labels → White text
🟥 Red labels → High-contrast white text
Optional background trend shading (OFF by default)
Works perfectly in dark & light mode
Designed for long chart study sessions, not flashy screenshots.
✅ 5. Safe Repaint Logic (Transparent by Design)
Uses ZigZag logic intentionally
No fake “non-repainting” claims
Ideal for analysis, research & planning
What you see is structurally correct
This indicator is for thinking traders, not signal chasers.
⚙️ Best Settings (Recommended)
🔹 Intraday Trading
Timeframe: 5m / 15m
Depth: 8–10
Deviation: 3–5
Backstep: 2
🔹 Swing Trading (Most Popular)
Timeframe: Daily
Depth: 12–15
Deviation: 5
Backstep: 2
🔹 Long-Term / Investing
Timeframe: Weekly
Depth: 15–20
Deviation: 5–8
Backstep: 3
💡 Tip:
Lower depth = more swings
Higher depth = cleaner, major cycles
📈 How to Use Zig Zag ++ SG (Practically)
🔹 Trend Strength
HH (3+) + HL (2–3)
→ Strong, healthy trend
🔹 Exhaustion Warning
HH (4+)
→ Risk of distribution or slowdown
🔹 Pullback Quality
HL −3% to −7%
→ Strong stock
HL −12% to −20%
→ Weak hands / fragile trend
🔹 Reversal Confirmation
LH followed by LL (2+)
→ Trend change likely
🧪 Who Is This Indicator For?
✅ Swing traders
✅ Positional traders
✅ Long-term investors
✅ Market structure students
✅ Stock researchers
✅ Anyone tired of noisy indicators
❌ Not for:
People wanting instant buy/sell arrows
Scalpers chasing 1-minute signals
“Magic indicator” seekers
💎 Why This Is Worth Purchasing
Built with Pine Script v6 best practices
Solves real market questions
Helps avoid:
Buying late
Selling early
Holding weak stocks too long
Encourages process-driven trading
One-time learning tool you’ll use for years
Most traders lose money not because of entries —
but because they misread structure and cycles.
Zig Zag ++ SG fixes that.
HVMTRIGGERS
This uses INTRADAY price action to find triggers where retail traders are trapped and milked for liquidity
Gann Sacred Geometry Hexagram Ver 1.2━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔯 GANN SACRED GEOMETRY HEXAGRAM v1.2
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A comprehensive technical analysis tool combining W.D. Gann's sacred geometry principles,
hexagram patterns, and advanced confluence scoring for high-probability trade signals.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📖 GANN THEORY BACKGROUND
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
W.D. Gann (1878-1955) believed markets move in geometric patterns and that price
and time must be in balance. His methods incorporated:
- The Square of Nine
- Geometric angles (1x1, 2x1, etc.)
- Sacred geometry and natural law
- Cycle theory and time divisions
- The principle "When time and price square, a change in trend is imminent"
This indicator applies these timeless principles with modern confluence analysis.
SACRED GEOMETRY FOUNDATION:
The hexagram (six-pointed star) is formed by two overlapping equilateral triangles:
- ▲ Upward triangle = Yang energy, bullish forces, expansion
- ▼ Downward triangle = Yin energy, bearish forces, contraction
When overlapped, they create the "Star of David" - representing perfect balance
between opposing market forces. Gann believed this geometry revealed natural
support and resistance zones where price would react.
HEXAGRAM IN MARKETS:
- 6 outer points = Major reversal zones
- Center point = Balance/equilibrium price
- Inner intersections = Secondary support/resistance
- The shape itself creates "harmonic" price levels
GANN'S SQUARE PHILOSOPHY:
"When time and price square, a change in trend is imminent."
- W.D. Gann
This indicator applies the "squaring" concept:
1. SPATIAL SQUARE: Grid cells are perfect squares in price-time space
2. TEMPORAL SQUARE: Time divisions (1/4, 1/2, 3/4) create cycle points
3. PRICE SQUARE: Price divisions (25%, 50%, 75%) mirror time divisions
4. GEOMETRIC SQUARE: All geometry radiates from perfect square centers
When price reaches a corner or edge of a square at a time cycle point,
the "squaring" of price and time creates a reversal probability zone.
PHI IN GANN GEOMETRY:
The Golden Ratio appears throughout natural phenomena and market structure.
This script uses φ in two primary ways:
1. INNER TRIANGLE SCALING:
- Outer triangles span the full cell (100%)
- Inner triangles scaled by φ⁻¹ (0.618 or 61.8%)
- This creates Fibonacci retracement levels geometrically
2. HARMONIC RESONANCE:
- φ ratio divides price space into natural harmony
- Markets tend to pause/reverse at these φ-scaled levels
- Combines Fibonacci analysis with Gann geometry
MATHEMATICAL RELATIONSHIP:
Inner Triangle Height = Outer Height × 0.618
Inner Triangle Width = Outer Width × 0.618
These create the 61.8% retracement levels automatically
within each grid cell's geometry.
GANN'S COMPLETE ANGLE SYSTEM:
Gann identified 9 primary angles that price follows. Each represents a different
relationship between price movement and time passage:
╔════════════════════════════════════════════════════════════════╗
║ ANGLE │ RATIO │ DEGREES │ MEANING ║
╠════════════════════════════════════════════════════════════════╣
║ 1x8 │ 1:8 │ 7.125° │ Very slow trend (gentle) ║
║ 1x4 │ 1:4 │ 14.036° │ Slow trend ║
║ 1x3 │ 1:3 │ 18.435° │ Moderate-slow trend ║
║ 1x2 │ 1:2 │ 26.565° │ Moderate trend ║
║ 1x1 │ 1:1 │ 45.000° │ MASTER ANGLE (most important) ║
║ 2x1 │ 2:1 │ 63.435° │ Strong trend ║
║ 3x1 │ 3:1 │ 71.565° │ Very strong trend ║
║ 4x1 │ 4:1 │ 75.964° │ Extreme trend ║
║ 8x1 │ 8:1 │ 82.875° │ Parabolic trend (unsustainable)║
╚════════════════════════════════════════════════════════════════╝
THE 1x1 ANGLE - THE MASTER:
- Most important angle in Gann theory
- Represents perfect balance: 1 unit price = 1 unit time
- When price is ABOVE 1x1 = Bullish control
- When price is BELOW 1x1 = Bearish control
- Crossing 1x1 = Major trend change signal
ANGLE FANS:
- From any pivot point, all 9 angles radiate outward
- Creates a "fan" of dynamic support/resistance
- Steeper angles (4x1, 8x1) = strong momentum resistance
- Gentler angles (1x4, 1x8) = weak support in downtrends
THE SACRED DIVISIONS OF TIME:
Gann divided all cycles into 8 equal parts, based on ancient geometry
and astrological principles:
CYCLE DIVISIONS (8ths):
┌─────────────────────────────────────────────────────┐
│ 1/8 = 12.5% │ First minor turn point │
│ 2/8 = 25.0% │ First major turn (Cardinal) │
│ 3/8 = 37.5% │ Second minor turn │
│ 4/8 = 50.0% │ MID-CYCLE (most powerful) │
│ 5/8 = 62.5% │ Third minor turn │
│ 6/8 = 75.0% │ Second major turn (Cardinal) │
│ 7/8 = 87.5% │ Fourth minor turn │
│ 8/8 = 100.0% │ CYCLE COMPLETION (reversal zone) │
└─────────────────────────────────────────────────────┘
WHY EIGHTHS?
- 8 is the number of balance in sacred geometry
- Octave divisions create harmonic resonance
- 360° circle ÷ 8 = 45° (the 1x1 master angle)
- Natural cycles show 8-fold symmetry
IN THIS SCRIPT:
When current time position is within 8% of any eighth division,
the "Gann 8ths Timing" factor activates, adding confluence points.
THE CARDINAL CROSS SYSTEM:
The Cardinal Cross divides any square into four equal quadrants,
creating a cross pattern:
100% ●━━━━━━━━━━━━━●
┃ ↑ ┃
75% ┃ SELL ZONE ┃ ← Resistance quadrant
┃ ↑ ┃
50% ●━━━━━●━━━━━━● ← EQUILIBRIUM (most important)
┃ ↓ ┃
25% ┃ BUY ZONE ┃ ← Support quadrant
┃ ↓ ┃
0% ●━━━━━━━━━━━━━●
PRICE LEVELS:
- 0% = Bottom support (grid cell low)
- 25% = Lower mid-level support
- 50% = PERFECT BALANCE - most powerful level
- 75% = Upper mid-level resistance
- 100% = Top resistance (grid cell high)
TIME DIVISIONS:
- 0% = Cycle start (grid cell left edge)
- 25% = First quarter turn
- 50% = Mid-cycle (most powerful timing)
- 75% = Third quarter turn
- 100% = Cycle completion (grid cell right edge)
CONFLUENCE MAGIC:
When BOTH price AND time align at cardinal points simultaneously:
Example: Price at 50% level + Time at 50% of cycle = Maximum power
This is the "squaring" Gann referred to.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 KEY FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✅ Dynamic Grid System (1x1 to 7x7) - Automatically constructed from swing high to swing low
✅ Sacred Geometry Hexagrams - Overlapping triangles creating Star of David pattern
✅ Golden Ratio (φ = 1.618) Inner Triangles - Fibonacci harmony in geometry
✅ 9 Complete Gann Angles - 1x1, 2x1, 1x2, 3x1, 1x3, 4x1, 1x4, 8x1, 1x8
✅ Cardinal Cross Levels - 0%, 25%, 50%, 75%, 100% price divisions
✅ Gann 8ths Timing Cycles - 1/8, 1/4, 3/8, 1/2, 5/8, 3/4, 7/8 time divisions
✅ Price-Time Square Balance - Gann's principle of harmonious price-time relationship
✅ Advanced Confluence Scoring - Multi-factor signal validation (8-30 score range)
✅ Optimized Geometry Display - Shows full detail only near current price (reduces clutter)
✅ Customizable Visual Themes - Full color and thickness control
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 HOW IT WORKS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📍 GRID CONSTRUCTION:
The indicator identifies the most recent significant swing high-to-low movement using
configurable pivot periods (default: 88 bars). This creates the base "square" which is
then replicated in a grid pattern both vertically (price) and horizontally (time).
📐 SACRED GEOMETRY:
Each grid cell contains:
- Outer hexagram (Star of David) formed by two overlapping triangles
- Inner φ-ratio triangles scaled by the Golden Ratio
- Gann angles radiating from the center point
- Cardinal cross levels dividing price into quarters
🔍 CONFLUENCE SCORING SYSTEM:
Signals are generated when multiple Gann principles align:
1. Cardinal Cross Levels (0-6 points) - Price at key quarter divisions
2. Gann Angle Touches (0-5 points) - Price touching dynamic support/resistance angles
3. Angle Clustering (0-6 points) - Multiple angles converging = strong zone
4. Gann 8ths Timing (0-3 points) - At critical time cycle points
5. Price-Time Square (0-4 points) - Balanced price/time movement
6. Trend Alignment (0-3 points) - Signal direction matches trend
7. Grid Boundary Timing (0-3 points) - Near cell edges = reversal zones
8. φ Triangle Touches (0-2 points) - Golden ratio support/resistance
9. Reversal Patterns (0-2 points) - Wick rejections confirming reversal
Minimum confluence score of 15 required for signal (adjustable 8-30).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ RECOMMENDED SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 For Daily Charts (Swing Trading):
- Gann Number: 88
- Grid Size: 4x4
- Confluence Score: 15
- Geometry Range: 5
- Trend Filter: ON
📊 For 4H Charts (Intraday):
- Gann Number: 44
- Grid Size: 3x3
- Confluence Score: 12-13
- Geometry Range: 3-4
- Trend Filter: ON
📊 For 15M Charts (Scalping):
- Gann Number: 22
- Grid Size: 2x2
- Confluence Score: 10-12
- Geometry Range: 2-3
- Allow Counter-Trend: Consider enabling
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📚 BEST PRACTICES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ Use higher confluence scores (15+) for higher probability trades
✓ Combine with volume analysis for confirmation
✓ Respect trend filter - signals with trend are stronger
✓ Watch for signals at grid boundaries (time cycle completions)
✓ Higher scores (20+) indicate exceptional setups
✓ Use alerts to catch signals in real-time
✓ Works best on liquid markets with clear swings
EXAMPLE 1: Strong Buy Signal (Score: 18)
✓ Price touched 50% level (6 pts)
✓ 1x1 Gann angle support (5 pts)
✓ At Gann 8th cycle point (3 pts)
✓ Price-Time squared (4 pts)
= High probability long entry
EXAMPLE 2: Medium Sell Signal (Score: 15)
✓ Price at 75% level (4 pts)
✓ 2x1 angle resistance (3 pts)
✓ Trend aligned downward (3 pts)
✓ Near grid boundary (3 pts)
✓ Bearish wick rejection (2 pts)
= Valid short entry
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎨 CUSTOMIZATION OPTIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Structure: Gann Number (11, 22, 44, 88, 176, 352)
- Grid: Size from 1x1 to 7x7
- Geometry: Toggle squares, triangles, angles, levels
- Optimization: Show geometry only near price (performance boost)
- Thickness: All line widths adjustable (1-5)
- Colors: Full color customization for all elements
- Scoring: Adjust all tolerance and threshold parameters
- Timing: Enable/disable Gann 8ths, Price-Time Square
- Filters: Trend filter, boundary requirement, counter-trend signals
- Display: 4 signal styles (Labels, Diamonds, Circles, Stars)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- This indicator is for educational purposes
- Not financial advice - always do your own research
- Past performance does not guarantee future results
- Use proper risk management and position sizing
- Combine with other analysis methods for best results
- Grid redraws when new swing high/low forms
- Signals appear in real-time based on confluence scoring
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📞 SUPPORT & UPDATES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Follow for updates and improvements. Feedback welcome!
Version 1.2 - January 2025
- Optimized geometry rendering
- Enhanced confluence scoring
- Improved visual clarity
- Performance optimizations
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MTF 4MA Direction Dashboard and TF AlignmentThe MTF 4MA Direction Dashboard is a multi-timeframe trend-alignment tool designed to answer one core trading question:
Are higher and lower timeframes pointing in the same direction — and how strong is that alignment?
Instead of relying on a single chart timeframe, this indicator evaluates directional consistency across five timeframes simultaneously using a fast 4-period moving average. The result is a weighted directional score, expressed as Bull/Bear percentages and summarized with a clear letter grade and interpretation.
This makes the indicator ideal as a trend filter, bias confirmation tool, or higher-timeframe context engine for discretionary and systematic traders alike.
How It Works
For each selected timeframe (default: 1H, 4H, 1D, 1W, 1M):
A 4-period moving average is calculated (user-selectable MA type).
The indicator determines direction by comparing the current MA value to the prior bar:
Rising MA → Bullish
Falling MA → Bearish
Each timeframe contributes to a weighted score, allowing higher timeframes to carry more influence if desired.
The combined result is converted into:
Bull %
Bear %
Letter Grade (A–F)
Plain-English interpretation
All results are displayed in a compact, customizable on-chart dashboard.
Dashboard Metrics Explained
Aligned TFs
Shows how many timeframes are bullish vs bearish.
Bull % / Bear %
Weighted directional confidence across all timeframes.
Grade (A–F)
A structured summary of alignment strength:
A → Strong bullish alignment
B → Constructive bullish bias
C → Transitional / mixed conditions
D → Weak structure
F → Bearish or poorly aligned
Grade Condition & Interpretation
Explicit thresholds and a clear contextual reading of current market structure.
How to Use This Indicator
This is not an entry signal by itself.
It is best used as a context and confirmation tool.
Common use cases include:
✅ Trend Filtering
Only take long trades when Bull % is elevated (e.g., Grade A or B).
✅ Multi-Timeframe Confirmation
Confirm that lower-timeframe setups agree with higher-timeframe structure.
✅ Bias Control
Reduce over-trading during mixed or transitional conditions (Grade C/D).
✅ Risk Management Context
Scale position size or aggressiveness based on alignment strength.
Ideal Trading Conditions
This indicator performs best in:
Trending or structurally developing markets
Swing trading and position trading
Higher-timeframe-aware intraday strategies
Markets where directional follow-through matters more than noise
During highly choppy or mean-reverting conditions, grades will naturally compress toward the middle — providing a visual cue to reduce directional exposure.
Customization & Controls
Select MA type (SMA, EMA, RMA, WMA)
Adjust timeframe importance via custom weights
Fully customizable table colors and position
Toggle dashboard visibility on/off
This flexibility allows the indicator to be adapted to different assets, trading styles, and risk preferences.
Final Notes
The MTF 4MA Direction Dashboard is designed to bring clarity to multi-timeframe analysis by transforming raw directional data into a structured, readable decision framework.
Use it to align trades with structure, avoid fighting dominant trends, and maintain consistency across timeframes.
Multi Cycles Slope-Fit System MLMulti Cycles Predictive System : A Slope-Adaptive Ensemble
Executive Summary:
The MCPS-Slope (Multi Cycles Slope-Fit System) represents a paradigm shift from static technical analysis to adaptive, probabilistic market modeling. Unlike traditional indicators that rely on a single algorithm with fixed settings, this system deploys a "Mixture of Experts" (MoE) ensemble comprising 13 distinct cycle and trend algorithms.
Using a Gradient-Based Memory (GBM) learning engine, the system dynamically solves the "Cycle Mode" problem by real-time weighting. It aggressively curve-fits the Slope of component cycles to the Slope of the price action, rewarding algorithms that successfully predict direction while suppressing those that fail.
This is a non-repainting, adaptive oscillator designed to identify market regimes, pinpoint high-probability reversals via OB/OS logic, and visualize the aggregate consensus of advanced signal processing mathematics.
1. The Core Philosophy: Why "Slope" Matters:
In technical analysis, most traders focus on Levels (Price is above X) or Values (RSI is at 70). However, the primary driver of price action is Momentum, which is mathematically defined as the Rate of Change, or the Slope.
This script introduces a novel approach: Slope Fitting.
Instead of asking "Is the cycle high or low?", this system asks: "Is the trajectory (Slope) of this cycle matching the trajectory of the price?"
The Dual-Functionality of the Normalized Oscillator
The final output is a normalized oscillator bounded between -1.0 and +1.0. This structure serves two critical functions simultaneously:
Directional Bias (The Slope):
When the Combined Cycle line is rising (Positive Slope), the aggregate consensus of the 13 algorithms suggests bullish momentum. When falling (Negative Slope), it suggests bearish momentum. The script measures how well these slopes correlate with price action over a rolling lookback window to assign confidence weights.
Overbought / Oversold (OB/OS) Identification:
Because the output is mathematically clipped and normalized:
Approaching +1.0 (Overbought): Indicates that the top-weighted algorithms have reached their theoretical maximum amplitude. This is a statistical extreme, often preceding a mean reversion or trend exhaustion.
Approaching -1.0 (Oversold): Indicates the aggregate cycle has reached maximum bearish extension, signaling a potential accumulation zone.
Zero Line (0.0): The equilibrium point. A cross of the Zero Line is the most traditional signal of a trend shift.
2. The "Mixture of Experts" (MoE) Architecture:
Markets are dynamic. Sometimes they trend (Trend Following works), sometimes they chop (Mean Reversion works), and sometimes they cycle cleanly (Signal Processing works). No single indicator works in all regimes.
This system solves that problem by running 13 Algorithms simultaneously and voting on the outcome.
The 13 "Experts" Inside the Code:
All algorithms have been engineered to be Non-Repainting.
Ehlers Bandpass Filter: Extracts cycle components within a specific frequency bandwidth.
Schaff Trend Cycle: A double-smoothed stochastic of the MACD, excellent for cycle turning points.
Fisher Transform: Normalizes prices into a Gaussian distribution to pinpoint turning points.
Zero-Lag EMA (ZLEMA): Reduces lag to track price changes faster than standard MAs.
Coppock Curve: A momentum indicator originally designed for long-term market bottoms.
Detrended Price Oscillator (DPO): Removes trend to isolate short-term cycles.
MESA Adaptive (Sine Wave): Uses Phase accumulation to detect cycle turns.
Goertzel Algorithm: Uses Digital Signal Processing (DSP) to detect the magnitude of specific frequencies.
Hilbert Transform: Measures the instantaneous position of the cycle.
Autocorrelation: measures the correlation of the current price series with a lagged version of itself.
SSA (Simplified): Singular Spectrum Analysis approximation (Lag-compensated, non-repainting).
Wavelet (Simplified): Decomposes price into approximation and detail coefficients.
EMD (Simplified): Empirical Mode Decomposition approximation using envelope theory.
3. The Adaptive "GBM" Learning Engine
This is the "Machine Learning" component of the script. It does not use pre-trained weights; it learns live on your chart.
How it works:
Fitting Window: On every bar, the system looks back 20 days (configurable).
Slope Correlation: It calculates the correlation between the Slope of each of the 13 algorithms and the Slope of the Price.
Directional Bonus: It checks if the algorithm is pointing in the same direction as the price.
Weight Optimization:
Algorithms that match the price direction and correlation receive a higher "Fit Score."
Algorithms that diverge from price action are penalized.
A "Softmax" style temperature function and memory decay allow the weights to shift smoothly but aggressively.
The Result: If the market enters a clean sine-wave cycle, the Ehlers and Goertzel weights will spike. If the market explodes into a linear trend, ZLEMA and Schaff will take over, suppressing the cycle indicators that would otherwise call for a premature top.
4. How to Read the Interface:
The visual interface is designed for maximum information density without clutter.
The Dashboard (Bottom Left - GBM Stats)
Combined Fit: A percentage score (0-100%). High values (>70%) mean the system is "Locked In" and tracking price accurately. Low values suggest market chaos/noise.
Entropy: A measure of disorder. High entropy means the algorithms disagree (Neutral/Chop). Low entropy means the algorithms are unanimous (Strong Trend).
Top 1 / Top 3 Weight: Shows how concentrated the decision is. If Top 1 Weight is 50%, one algorithm is dominating the decision.
The Matrix (Bottom Right - Weight Table)
This table lifts the hood on the engine.
Fit Score: How well this specific algo is performing right now.
Corr/Dir: Raw correlation and Direction Match stats.
Weight: The actual percentage influence this algorithm has on the final line.
Cycle: The current value of that specific algorithm.
Regime: Identifies if the consensus is Bullish, Bearish, or Neutral.
The Chart Overlay
The Line: The Gradient-Colored line is the Weighted Ensemble Prediction.
Green: Bullish Slope.
Red: Bearish Slope.
Triangles: Zero-Cross signals (Bullish/Bearish).
"STRONG" Labels: Appears when the cycle sustains a value above +0.5 or below -0.5, indicating strong momentum.
Background Color: Changes subtly to reflect the aggregate Regime (Strong Up, Bullish, Neutral, Bearish, Strong Down).
5. Trading Strategies:
A. The Slope Reversal (OB/OS Fade)
Concept: Catching tops and bottoms using the -1/+1 normalization.
Signal: Wait for the Combined Cycle to reach extreme values (>0.8 or <-0.8).
Trigger: The entry is taken not when it hits the level, but when the Slope flips.
Short: Cycle hits +0.9, color turns from Green to Red (Slope becomes negative).
Long: Cycle hits -0.9, color turns from Red to Green (Slope becomes positive).
B. The Zero-Line Trend Join
Concept: Joining an established trend after a correction.
Signal: Price is trending, but the Cycle pulls back to the Zero line.
Trigger: A "Triangle" signal appears as the cycle crosses Zero in the direction of the higher timeframe trend.
C. Divergence Analysis
Concept: Using the "Fit Score" to identify weak moves.
Signal: Price makes a Higher High, but the Combined Cycle makes a Lower High.
Confirmation: Check the GBM Stats table. If "Combined Fit" is dropping while price is rising, the trend is decoupling from the cycle logic. This is a high-probability reversal warning.
6. Technical Configuration:
Fitting Window (Default: 20): The number of bars the ML engine looks back to judge algorithm performance. Lower (10-15) for scalping/quick adaptation. Higher (30-50) for swing trading and stability.
GBM Learning Rate (Default: 0.25): Controls how fast weights change.
High (>0.3): The system reacts instantly to new behaviors but may be "jumpy."
Low (<0.15): The system is very smooth but may lag in regime changes.
Max Single Weight (Default: 0.55): Prevents one single algorithm from completely hijacking the system, ensuring an ensemble effect remains.
Slope Lookback: The period over which the slope (velocity) is calculated.
7. Disclaimer & Notes:
Repainting: This indicator utilizes closed bar data for calculations and employs non-repainting approximations of SSA, EMD, and Wavelets. It does not repaint historical signals.
Calculations: The "ML" label refers to the adaptive weighting algorithm (Gradient-based optimization), not a neural network black box.
Risk: No indicator guarantees future performance. The "Fit Score" is a backward-looking metric of recent performance; market regimes can shift instantly. Always use proper risk management.
Author's Note
The MCPS-Slope was built to solve the frustration of "indicator shopping." Instead of switching between an RSI, a MACD, and a Stochastic depending on the day, this system mathematically determines which one is working best right now and presents you with a single, synthesized data stream.
If you find this tool useful, please leave a Boost and a Comment below!
Multi Cycles Predictive System ML - GBM IntegratedMulti-Cycle Predictive System: The Gradient Boosting Machine (GBM) Revolution
Introduction: The Death of Static Analysis
The financial markets are not static; they are a living, breathing, and chaotic system. Yet, for decades, traders have relied on static indicators—using the same RSI settings, the same MACD parameters, and the same Moving Averages regardless of whether the market is trending, chopping, or crashing.
The Multi-Cycle Predictive System (MCPS) represents a paradigm shift. It is not just an indicator; it is an Adaptive Machine Learning Engine running directly on your chart.
By integrating a fully functional Gradient Boosting Machine (GBM), this script does not guess—it learns. It monitors 13 distinct algorithmic models, calculates their real-time accuracy against future price action, and dynamically reallocates influence to the "winning" models using gradient descent.
This is Survival of the Fittest applied to technical analysis.
1. The Core Engine: Gradient Boosting & Adaptive Learning
At the heart of the MCPS is a custom-coded Gradient Boosting Machine. While most "ML" scripts on TradingView simply average a few indicators, this system replicates the architecture of advanced data science models.
How the GBM Works:
Ensemble Prediction: The system aggregates signals from 13 different mathematical models.
Residual Calculation: It compares the ensemble's previous predictions against the actual price movement (Price Return) to calculate the error (Residual).
Gradient Descent: It calculates the gradient of the loss function. We utilize a Huber Loss Gradient, which is robust against outliers (market spikes), ensuring the model doesn't overreact to volatility.
Weight Optimization: Using a configurable learning rate, the system updates the weights of each sub-algorithm. Models that predicted correctly gain weight; models that failed lose influence.
Softmax Normalization: Finally, weights are passed through a Softmax function (with Temperature control) to convert them into probabilities that sum to 1.0.
The "Winner-Takes-All" Philosophy
A common failure in ensemble systems is "Signal Dilution"—where good signals are drowned out by bad ones.
The MCPS solves this with Aggressive Weight Concentration:
Top 3 Logic: The script identifies the top 3 performing algorithms based on historical accuracy.
The 90% Rule: It forces the system to allocate up to 90% of the total decision weight to these top 3 performers.
Result: If Ehlers and Schaff are reading the market correctly, but MACD is failing, MACD is effectively silenced. The system listens only to the winners.
2. The 13 Algorithmic Pillars
The MCPS draws from a diverse library of Digital Signal Processing (DSP), Statistical, and Momentum algorithms. It does not rely on simple moving averages.
Ehlers Bandpass Filter: Isolates the dominant cycle in price data, removing trend and noise.
Zero-Lag EMA (ZLEMA): Reduces lag to near-zero to track momentum shifts instantly.
Coppock Curve: A classic long-term momentum indicator, modified here for adaptive responsiveness.
Detrended Price Oscillator (DPO): Eliminates the trend to identify short-term cycles.
Schaff Trend Cycle (STC): A double-smoothed stochastic of the MACD, excellent for identifying cycle turns.
Fisher Transform: Converts price into a Gaussian normal distribution to pinpoint turning points.
MESA Adaptive: Uses Maximum Entropy Spectral Analysis to detect the current dominant cycle period.
Goertzel Algorithm: A DSP technique used to identify the magnitude of specific frequency components in the price wave.
Hilbert Transform: Extracts the instantaneous amplitude and phase of the price action.
Autocorrelation: Measures the similarity between the price series and a lagged version of itself to detect periodicity.
Singular Spectrum Analysis (SSA): Decomposes the time series into trend, seasonal, and noise components (Simplified).
Wavelet Transform: Analyzes data at different scales (frequencies) simultaneously.
Empirical Mode Decomposition (EMD): Splits data into Intrinsic Mode Functions (IMFs) to isolate pure cycles.
3. The Dashboard: Total Transparency
Black-box algorithms are dangerous. You need to know why a signal is being generated. The MCPS features two detailed dashboards (tables) located at the bottom of your screen.
The Weight & Accuracy Table (Bottom Right)
This is your "Under the Hood" view. It displays:
Algorithm: The name of the model.
Accuracy: The rolling historical accuracy of that specific model over the lookback period (e.g., 58.2%).
Weight: The current influence that model has on the final signal. Watch this change in real-time. You will see the system "giving up" on bad models and "betting heavy" on good ones.
Prob/Sig: The raw probability and directional signal (Up/Down).
The GBM Stats Table (Bottom Left)
Tracks the health of the Machine Learning engine:
Iterations: How many learning cycles have occurred.
Entropy: A measure of market confusion. High entropy means weights are spread out (models disagree). Low entropy means the models are aligned.
Top 3 Weight: Shows how concentrated the decision power is. If this is >80%, the system is highly confident in specific models.
Confidence & Agreement: Statistical measures of the signal strength.
4. How to Trade with MCPS
This system outputs a single, composite Cycle Line (oscillating between -1 and 1) and a background Regime Color.
Strategy A: The Zero-Cross (Trend Reversal)
Bullish: When the Cycle Line crosses above 0. This indicates that the weighted average of the top-performing algorithms has shifted to a net-positive expectation.
Bearish: When the Cycle Line crosses below 0.
Strategy B: Probability Extremes (Mean Reversion)
Strong Buy: When the Cycle Line drops below -0.5 (Oversold) and turns up. This indicates a high-probability cycle bottom.
Strong Sell: When the Cycle Line rises above +0.5 (Overbought) and turns down.
Strategy C: Regime Filtering
The background color changes based on the aggregate consensus:
Green/Lime: Bullish Regime. Look primarily for Long entries. Ignore weak sell signals.
Red/Orange: Bearish Regime. Look primarily for Short entries.
Gray: Neutral/Choppy. Reduce position size or wait.
5. Configuration & GBM Settings
The script is highly customizable for advanced users who want to tune the Machine Learning hyperparameters.
Prediction Horizon: How many days into the future are we trying to predict? (Default: 3).
Accuracy Lookback: How far back does the model check to calculate "Accuracy"?
GBM Learning Rate: Controls how fast the model adapts.
High (0.2+): Adapts instantly to new market conditions but may be "jumpy."
Low (0.05): Very stable, long-term adaptation.
Temperature: Controls the "Softmax" function. Higher temperatures allow for softer, more distributed weights. Lower temperatures force a "Winner Takes All" outcome.
Max Top 3 Weight: The cap on how much power the top 3 models can hold (Default: 90%).
6. Technical Nuances (For the Geeks)
Huber Gradient: We use Huber loss rather than MSE (Mean Squared Error) for the gradient descent. This is crucial for financial time series because price spikes (outliers) can destroy the learning process of standard ML models. Huber loss transitions from quadratic to linear error, making the model robust.
Regularization: L2 Regularization is applied to prevent overfitting, ensuring the model doesn't just memorize past noise.
Memory Decay: The model has a "fading memory." Recent accuracy is weighted more heavily than accuracy from 200 bars ago, allowing the system to detect Regime Shifts (e.g., transitioning from a trending market to a ranging market).
Disclaimer:
This tool is a sophisticated analytical instrument, not a crystal ball. Machine Learning attempts to optimize probabilities based on historical patterns, but no algorithm can predict black swan events or fundamental news shocks. Always use proper risk management.
The "Warmup Period" is required. The script needs to process 50 bars of history before the GBM engine initializes and produces signals.
Author's Note:
I built the MCPS because I was tired of indicators that stopped working when the market "personality" changed. By integrating GBM, this script adapts to the market's personality in real-time. If the market is cycling, Ehlers and Goertzel take over. If the market is trending, Coppock and ZLEMA take the lead. You don't have to choose—the math chooses for you.
Please leave a boost and a comment if you find this helpful!
PLOW/PLHW (Potential weekly highs/lows)AP Capital – PLOW / PLHW (Potential Weekly Low / High)
This indicator highlights Potential Weekly Lows (PLOW) and Potential Weekly Highs (PLHW) in real time, using current-week price action, session context, and confirmed candle closes.
It is designed for intraday and swing traders who want early-week and late-week structure levels without repainting or hindsight bias.
🔹 How It Works
Potential Weekly Low (PLOW)
Detected during early week sessions
Triggers when price prints the current week’s lowest low
Confirmed only on candle close
Typically aligns with liquidity grabs, stop runs, or accumulation
Potential Weekly High (PLHW)
Detected during late week sessions
Triggers when price prints the current week’s highest high
Confirmed only on candle close
Often marks distribution or exhaustion zones
📊 Visual Elements
Clean weekly high & low levels
Optional weekly midpoint
Session-aware confirmation
Non-repainting labels
Minimalist layout (no clutter)
⚙️ Key Features
Works on any intraday timeframe
Fully non-repainting
Session-based logic (early vs late week)
Optional weekly range info panel
Suitable for Gold, FX, Indices, Crypto
🧠 Best Use Cases
Fade moves into weekly extremes
Combine with:
Previous Day High / Low
Liquidity sweeps
Market structure shifts
Identify high-probability reversals
Avoid chasing price late in the week
⚠️ Important Notes
This is NOT predictive — levels are confirmed from live price action
Best used as context, not a standalone entry system
Designed to complement price action & liquidity-based trading
📌 Disclaimer
This indicator is for educational purposes only.
Not financial advice. Always manage risk.
Sarina - EMA Dynamic -01112026This script creates a Dynamic Adaptive EMA System that goes beyond traditional moving averages by adjusting its "length" (lookback period) in real-time based on price action.Core MechanismUnlike standard EMAs with fixed periods, this indicator uses variable lengths ($c1$ and $c2$).Acceleration: When price moves aggressively, the EMA lengths increase or decrease dynamically to track the trend more closely.Time-Based Deceleration: It includes a unique feature where the "speed" of these adjustments decays every 30 seconds to prevent the indicator from becoming too erratic during high-volatility spikes.Signal Logic (The "No-Summary" System)The system categorizes signals into two tiers:S-Signals (Small): Occur when the baseline EMA (9) stabilizes above/below the Fast Dynamic EMA (13).P-Signals (Power): Occur when the baseline EMA (9) stabilizes above/below the Slow Dynamic EMA (34).Noise Reduction FeaturesTo ensure high-quality entries, the code employs two filters:Stabilization Filter (conf_bars): Price (via the 9 EMA) must hold its position for a specific number of candles before a label appears. This acts as a "shock absorber" against sudden wicks.Proximity Filter (signal_filter_window): It prevents "signal clustering" by enforcing a minimum candle distance between consecutive buy or sell labels.Visual Output: You will see a color-coded cloud between the two dynamic EMAs and a real-time Status Table in the top-right corner showing the current calculated lengths of your averages.
8:00 to 8:15 ORB BOXNY 8:00–8:15 Opening Box + Midpoint (Today Only)
This indicator highlights the New York 8:00–8:15 AM (ET) opening range by automatically drawing a price box and midpoint for the current trading day only.
During the 8:00–8:15 window, the indicator tracks the highest high and lowest low. Once the window ends, it plots:
A horizontal opening range box extending to the right
A midpoint line representing the equilibrium of the range
At the start of each new New York trading day, the previous day’s box and midpoint are automatically removed, keeping the chart clean and focused on the current session.
Key Features
Fixed New York time (ET) session handling
Automatically updates every trading day
Displays range high, range low, and midpoint
Box and midpoint extend forward for intraday reference
Customizable color and transparency
Designed for intraday trading and market structure analysis
Common Use Cases
Identifying early-session balance and bias
Measuring volatility expansion after the NY open
Acting as support/resistance reference levels
Combining with ORB, liquidity, or momentum strategies
This tool is especially useful for index futures, forex, and metals, where the New York session plays a major role in daily price discovery.
If you want, I can also:
Shorten this for a TradingView publish page
Rewrite it more “technical” or more beginner‑friendly
Add a disclaimer or school‑project version
My Swift-like Algo ALIMOJANIDSwift Algo Chart is a trend-following trading indicator designed to provide clear bias, precise entries, and visual risk management.
It combines EMA trend direction, pullback-based signals, market structure (HH/HL/LH/LL), and ATR-based Stop Loss & Take Profit levels to help traders make disciplined decisions.
🔑 Key Features
Trend Regime Detection
Identifies LONG, SHORT, or NO TRADE conditions using Fast & Slow EMAs.
Pullback Entry Signals
Signals appear only in the direction of the active trend, with optional RSI confirmation.
ATR-Based Risk Levels
Automatically plots SL, TP1, and TP2, including exact price values on the chart.
Preview Levels
Shows projected SL/TP levels when a trend is active, even before an entry.
Market Structure Visualization
Marks HH / HL / LH / LL, draws structure lines, and highlights BOS and CHOCH.
Clean & Non-Repainting Logic
Uses confirmed pivots and closed candles for stability.
Strategy-Compatible
Can be used for discretionary trading or full strategy backtesting.
🧠 Best Used For
Crypto, Forex, Indices
15m to 4H timeframes
Traders who want structure + trend + risk clarity in one tool
Swift-like Algo (V1) Trend Pullback ATR Risk AlimojanidThis indicator is a simple, rule-based trend-following system designed to help identify potential LONG and SHORT opportunities using market structure, momentum, and volatility.
It is inspired by professional “algo-style” tools, but built from scratch for learning, transparency, and flexibility.
🔹 How it works
1️⃣ Trend Detection
Uses Fast EMA vs Slow EMA
Only looks for:
LONGs in bullish trends
SHORTs in bearish trends
2️⃣ Entry Logic
Waits for a pullback toward the fast EMA
Confirms direction using price behavior
Optional RSI filter to avoid weak momentum trades
3️⃣ Risk Management
Stop Loss (SL) and Take Profit (TP) levels are calculated using ATR
Risk is defined in R-multiples (TP1, TP2)
Designed to adapt to market volatility
4️⃣ Visual & Alerts
Clear LONG / SHORT arrows
Automatic SL / TP level plotting
Built-in alert conditions for trade notifications
⚙️ Settings You Can Adjust
EMA lengths (trend sensitivity)
RSI confirmation (on/off)
ATR stop size
Risk-reward targets
Cooldown bars to avoid over-trading
⚠️ Disclaimer
This indicator is NOT a guaranteed trading system and should not be used as financial advice.
Always:
Backtest on your own market and timeframe
Use proper risk management
Paper trade before using real funds
The author is not responsible for any trading losses.
💡 Notes
Best used on trending markets
Works on Forex, Crypto, Indices, and Commodities
Timeframes: 15m and higher recommended
4 EMA Perfect Order + Strength + MTF + Breakdown Alerts (v6)🇯🇵 日本語説明文
📌 スクリプト概要
このスクリプトは、EMA10・20・40・80 を使用して「パーフェクトオーダー(PO)」を判定し、
PO が確定した瞬間と、PO が崩壊した瞬間の両方を自動で検知して通知します。
さらに、PO の強さ(短期と長期 EMA の乖離率)を数値化して表示し、
上位足(MTF)でも同様の判定と強さ表示が可能です。
トレンドの「始まり」と「終わり」をどちらも捉えることができる、
トレンドフォローに最適化されたインジケーターです。
🔧 機能一覧
• EMA10/20/40/80 のライン表示(黒・赤・オレンジ・青)
• パーフェクトオーダー(Bull/Bear)の自動判定
• PO確定時に矢印(▲/▼)を表示
• PO崩壊(Break)を検知してシグナル表示
• POの強さ(乖離率)をリアルタイム表示
• 上位足(MTF)での PO 判定と強さ表示
• アラート条件付き
• Bull PO 確定
• Bear PO 確定
• Bull PO 崩壊
• Bear PO 崩壊
• 背景は白で視認性を重視
📈 パーフェクトオーダーとは?
• Bull PO(上昇トレンド)
EMA10 > EMA20 > EMA40 > EMA80
• Bear PO(下降トレンド)
EMA10 < EMA20 < EMA40 < EMA80
PO が確定したバーで矢印とアラートが発生し、
PO が崩れた瞬間にもアラートが発生します。
🧠 活用例
• トレンドの勢い(強さ)を数値で把握
• 上位足のトレンドと一致しているか確認
• トレンドフォロー戦略のフィルターとして利用
• PO崩壊を使って利確・撤退の判断材料に
• MTFと組み合わせて精度を向上
🇺🇸 English Description
📌 Overview
This script detects “Perfect Order” (PO) conditions using EMA10, EMA20, EMA40, and EMA80.
It alerts you both when a PO is confirmed and when it breaks down, allowing you to capture the beginning and the end of a trend.
The script also calculates PO strength (based on EMA divergence) and supports multi‑timeframe (MTF) analysis.
This indicator is designed for traders who want to track trend momentum and identify early signs of trend reversal.
🔧 Features
• Displays EMA10/20/40/80 with color coding (black, red, orange, blue)
• Detects Bull and Bear Perfect Order conditions
• Shows arrows (▲/▼) when PO is confirmed
• Detects PO breakdown and displays a signal
• Displays PO strength as a percentage (EMA10 vs EMA80 divergence)
• Supports MTF PO detection and strength display
• Includes alert conditions:
• Bull PO confirmed
• Bear PO confirmed
• Bull PO breakdown
• Bear PO breakdown
• Clean white background for better visibility
📈 What is a Perfect Order?
• Bull PO (Uptrend): EMA10 > EMA20 > EMA40 > EMA80
• Bear PO (Downtrend): EMA10 < EMA20 < EMA40 < EMA80
Alerts are triggered both when the PO is newly confirmed and when it breaks.
🧠 Use Cases
• Measure trend momentum using PO strength
• Confirm alignment with higher timeframe trends
• Use as a trend‑following filter
• Detect early signs of trend reversal using PO breakdown
• Improve accuracy by combining MTF and PO logic
My Swiftlike Algo Backtest ATR SL/TP HH/HL/LH/LL BOS/CHOCHSwift-Like Algo is a trend-following strategy that trades pullbacks using EMA trend direction, market structure (HH/HL/LH/LL), and ATR-based risk management.
It enters only in the direction of the trend, with automatic Stop-Loss, TP1, and TP2, and supports full strategy backtesting.
Best used on 15m–4H timeframes for crypto, forex, and indices.
⚠️ For educational and testing purposes only.
4 EMA Perfect Order + Strength + MTFリリースノート
🇯🇵 日本語説明文
📌 スクリプト概要
このスクリプトは、EMA10・20・40・80 を使用して「パーフェクトオーダー(PO)」を判定し、
PO が確定したタイミングで矢印とアラートを表示します。
さらに、PO の強さ(短期と長期 EMA の乖離率)を数値化して表示し、
上位足(MTF)でも同様の判定と強さ表示が可能です。
🔧 機能一覧
• EMA10/20/40/80 のライン表示(黒・赤・オレンジ・青)
• パーフェクトオーダー(Bull/Bear)の自動判定
• PO 確定時に矢印(▲/▼)を表示
• PO の強さ(乖離率)をリアルタイム表示
• 上位足(MTF)での PO 判定と強さ表示
• アラート条件付き(Bull/Bear PO 確定時)
• 背景は白で視認性を重視
📈 パーフェクトオーダーとは?
• Bull PO(上昇トレンド)
EMA10 > EMA20 > EMA40 > EMA80
• Bear PO(下降トレンド)
EMA10 < EMA20 < EMA40 < EMA80
PO が確定したバーで矢印とアラートが発生します。
🧠 活用例
• PO の強さを使ってトレンドの勢いを測定
• 上位足の PO と一致しているか確認して精度を向上
• トレンドフォロー戦略のフィルターとして利用
• EMA の並びが崩れたら背景色を塗るなどの拡張も可能
🇺🇸 English Description
📌 Overview
This script detects “Perfect Order” (PO) conditions using EMA10, EMA20, EMA40, and EMA80.
When a PO is confirmed, it displays arrows and triggers alerts.
It also calculates the strength of the PO (based on EMA divergence) and supports multi‑timeframe (MTF) analysis.
🔧 Features
• Displays EMA10/20/40/80 with color coding (black, red, orange, blue)
• Detects Bull and Bear Perfect Order conditions
• Shows arrows (▲/▼) when PO is confirmed
• Displays PO strength as a percentage (EMA10 vs EMA80 divergence)
• Supports MTF PO detection and strength display
• Includes alert conditions for Bull/Bear PO confirmation
• Clean white background for better visibility
📈 What is a Perfect Order?
• Bull PO (Uptrend): EMA10 > EMA20 > EMA40 > EMA80
• Bear PO (Downtrend): EMA10 < EMA20 < EMA40 < EMA80
Arrows and alerts are triggered only when the PO condition is newly confirmed.
🧠 Use Cases
• Measure trend momentum using PO strength
• Confirm alignment with higher timeframe trends
• Use as a trend‑following filter
• Can be extended with background coloring or histogram strength display
Multi EMA Touch Alert (Realtime / Alertcondition)🇺🇸 English Description (for TradingView Publication)
Title: Multi EMA Touch Alert (Realtime / Alertcondition)
This script detects real-time price touches on multiple EMAs and provides clean, reliable alerts through TradingView’s alertcondition system.
It is designed for traders who want fast reactions, minimal chart clutter, and precise touch-based notifications.
Features
• Real-time EMA touch detection (no need to wait for candle close)
• Supports multiple EMAs (default: 10 / 20 / 40 / 80)
• Touch logic works from both above and below
• Clean visual markers that appear only in real-time
• Fully compatible with TradingView’s alert creation panel
• “Any EMA Touch” option for combined alerts
How it works
The script checks whether the current candle’s high–low range intersects each EMA.
When a touch occurs, a small colored marker appears, and the corresponding alertcondition becomes true.
You can set alerts for individual EMAs or for all EMAs at once.
Ideal for scalpers, breakout traders, and anyone who relies on EMA reactions for timing entries.
🇯🇵 日本語説明文(TradingView公開用)
タイトル: Multi EMA Touch Alert(リアルタイム/アラート設定対応)
このスクリプトは、複数のEMAに価格がタッチした瞬間をリアルタイムで検出し、TradingViewのアラート設定画面から自由に通知を作成できるインジケーターです。
チャートをシンプルに保ちながら、必要なタイミングだけ確実にアラートを受け取りたいトレーダー向けに最適化されています。
特徴
• 足確定を待たないリアルタイムタッチ検出
• 複数EMAに対応(初期設定:10 / 20 / 40 / 80)
• 上下どちらからのタッチにも対応
• リアルタイムのみ印を表示し、過去チャートが散らからない
• TradingViewのアラート作成画面で個別・まとめて設定可能
• 「Any EMA Touch」で全EMAを一括監視も可能
動作概要
ローソク足の高値〜安値がEMAに触れた瞬間にタッチ判定が発生し、
リアルタイムで小さなマーカーが表示され、alertconditionがtrueになります。
アラートはEMAごと、または全EMAまとめて設定できます。
スキャルピングや短期トレードで、EMA反応を重視する方に最適です。
My Swift-like Algo J.ALIMOJANIDSwift Algo Chart — Trend, Structure & ATR Risk
Swift Algo Chart is a trend-following trading indicator designed to provide clear bias, precise entries, and visual risk management.
It combines EMA trend direction, pullback-based signals, market structure (HH/HL/LH/LL), and ATR-based Stop Loss & Take Profit levels to help traders make disciplined decisions.
🔑 Key Features
Trend Regime Detection
Identifies LONG, SHORT, or NO TRADE conditions using Fast & Slow EMAs.
Pullback Entry Signals
Signals appear only in the direction of the active trend, with optional RSI confirmation.
ATR-Based Risk Levels
Automatically plots SL, TP1, and TP2, including exact price values on the chart.
Preview Levels
Shows projected SL/TP levels when a trend is active, even before an entry.
Market Structure Visualization
Marks HH / HL / LH / LL, draws structure lines, and highlights BOS and CHOCH.
Clean & Non-Repainting Logic
Uses confirmed pivots and closed candles for stability.
Strategy-Compatible
Can be used for discretionary trading or full strategy backtesting.
🧠 Best Used For
Crypto, Forex, Indices
15m to 4H timeframes
Traders who want structure + trend + risk clarity in one tool
Previous Highs and Lows (M, W, D) Displays previous Monthly, Weekly, and Daily key swing highs/lows with clean , timeframe-specific coloring. Essential structure reference for multi-timeframe traders!!
Your Monthly/Weekly/Daily structural backbone in one indicator!!!!
EMA Touch Alert Realtime (Once Per Bar)This alert notifies you when the price touches the EMA you set. Once it notifies you, it is designed not to notify you again on that same candlestick.
CJ Oscillator Matrix PRO (Flow + Momentum + Heatmap)CJ Oscillator Matrix PRO is not a buy/sell signal indicator and does not follow price candle by candle.
It is a market context and momentum analysis tool designed to help traders understand trend strength, impulse, and overall market conditions.
This indicator combines momentum (TSI) and money flow (CMF) into a single oscillator, while the heatmap background highlights when the market is balanced or extended.
Strong colors represent high pressure or potential exhaustion zones, not automatic entries or reversals.
Use this tool to:
Identify trend direction and strength
Understand impulse vs. consolidation
Avoid chasing price during extended moves
Add context to your technical analysis
Best used alongside price action, structure, EMAs, and risk management.
This indicator does not predict price — it helps you understand market behavior.
Free cash flow yield (Quarterly)Indicator: Free Cash Flow Yield (Quarterly) — Technical Description
Purpose
This indicator plots Free Cash Flow Yield (FCF Yield) using quarterly fundamentals and optionally adjusts it for dilution. It also computes trailing averages over multiple horizons (in quarters) to give a long-term valuation context.
Data Sources
All fundamentals are pulled from TradingView’s financial dataset using:
request.financial(syminfo.tickerid, , "FQ", barmerge.gaps_on)
Where:
"FQ" = Quarterly frequency
barmerge.gaps_on = keeps values as step-like series (updates only when new quarterly data is available)
Financial fields used:
FREE_CASH_FLOW (FCF)
ENTERPRISE_VALUE (EV)
TOTAL_SHARES_OUTSTANDING
DILUTED_SHARES_OUTSTANDING
Market cap is derived (not pulled directly in this version):
marketCap = totalSharesOutstanding * close
(Only used as a reference in the script; the yield itself is based on EV.)
Core Calculation
1) FCF Yield (Net)
The base yield is:
FCF Yield
(
%
)
=
FCF
Enterprise Value
×
100
FCF Yield(%)=
Enterprise Value
FCF
×100
Implementation detail:
If FCF is na or EV is na or EV == 0, the result is set to na to avoid division errors.
Dilution Adjustment (Optional Series)
2) Dilution Ratio
The script estimates dilution impact using:
dilutionRatio
=
Total Shares Outstanding
Diluted Shares Outstanding
dilutionRatio=
Diluted Shares Outstanding
Total Shares Outstanding
Notes:
If dilutedSharesOutstanding is missing or zero, the ratio becomes na.
3) Diluted FCF Yield
If the ratio indicates dilution (<= 1), yield is scaled down:
FCF Yield Diluted
=
FCF Yield
×
dilutionRatio
FCF Yield Diluted=FCF Yield×dilutionRatio
Else (ratio > 1 or na), the script defaults to the net yield:
FCF Yield Diluted
=
FCF Yield
FCF Yield Diluted=FCF Yield
Practical interpretation:
More dilution → lower ratio → lower diluted yield.
If dilution fields are not reliable for a ticker, the script falls back to the base yield.
Plotting
Two series are shown:
FCF Yield Net: plotted as columns (bars)
FCF Yield Diluted: plotted as an area overlay
This makes it easy to see:
Step changes when new quarter data arrives
Whether dilution meaningfully reduces the yield
Labels (Per-bar)
When fcfYieldDiluted > 0, the script prints the value as a percentage label at the yield level.
Important technical point:
Since fcfYieldDiluted is computed as a number like 8.5 for 8.5%, labels convert to percent format by dividing by 100 before formatting:
str.tostring(fcfYieldDiluted / 100, format.percent)
Rolling History & Averages
1) Rolling storage
The script maintains a rolling array of the most recent 40 quarterly values:
40 quarters ≈ 10 years
Each time a non-NA quarterly yield appears:
It pushes it into the array
If array length exceeds 40, it removes the oldest value
2) Trailing averages (quarter windows)
Averages are computed over the most recent N quarters:
1Q (latest quarter value)
4Q ≈ 1 year
8Q ≈ 2 years
20Q ≈ 5 years
40Q ≈ 10 years
If fewer than N values exist, that average is na.
End-of-chart Summary Label
On the last bar (barstate.islast), the script draws a summary label containing the trailing averages listed above.
Placement logic
The label is positioned slightly to the right of the current bar:
Uses frequencyUnit (estimated number of chart bars per quarter) to offset the label into the future.
frequencyUnit is computed as:
frequencyUnit
≈
Seconds in 12 months
Seconds per chart bar
÷
4
frequencyUnit≈
Seconds per chart bar
Seconds in 12 months
÷4
This is only for visual spacing, not calculation correctness.
Limitations / Notes
The yield series is “step-like” and updates only when new quarterly fundamentals are available.
For some tickers, TradingView fundamentals (especially diluted shares) can be missing or inconsistent; the script protects against this by returning na or falling back to the net yield.
EV-based yield can differ from market-cap-based yield; EV includes debt and cash effects, so it’s closer to an “all-capital” valuation measure.
Trading Sessions The sessions are individually selectable, meaning you can choose which sessions you want to display.
There is also a legend in the bottom left showing the corresponding trading hours.
Displayed sessions:
ASIA
LONDON
NEW YORK
#ZEBI






















