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!
אינדיקטורים ואסטרטגיות
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.
Spearman Correlation🔗 Spearman Correlation – Ranked Relationship Tracker
Overview:
This indicator calculates and plots the Spearman Rank Correlation Coefficient between the current chart’s asset and a custom comparison ticker (the example shown is BTC vs the OTHERS market cap for crypto). Unlike Pearson correlation, which measures linear relationships, Spearman correlation captures monotonic (ranked) relationships—making it better suited for analysing assets that move in sync but not necessarily in a linear fashion.
🧠 What It Does:
Computes ranked correlation between two assets over a user-defined lookback period
Smooths the correlation curve for better readability
Visually shades the background by correlation strength and direction:
🟩 Strong Positive (+0.5 to +1)
🟨 Weak Positive (+0.1 to +0.5)
⬜ No Correlation (–0.1 to +0.1)
🟧 Weak Negative (–0.5 to –0.1)
🟥 Strong Negative (–1 to –0.5)
⚙️ User Inputs:
Lookback Period: Number of bars used to calculate correlation
Comparison Ticker: Choose any asset to compare against
Shading Toggles: Customize which correlation zones are highlighted
📈 Use Cases:
Identify evolving relationships between assets (e.g., BTC vs DXY, ETH vs SPX)
Spot when assets become inversely correlated or lose correlation entirely
Track regime shifts where traditional relationships break down or re-align
Use alongside trend or momentum strategies to add a cross-asset confirmation layer
🔍 Interpreting the Correlation:
+1 → Perfect positive (ranks match exactly)
+0.5 to +1 → Strong positive relationship
+0.1 to +0.5 → Weak but positive relationship
–0.1 to +0.1 → Essentially uncorrelated
–0.5 to –0.1 → Weak negative correlation
–1 to –0.5 → Strong inverse relationship
–1 → Perfect negative (rankings are completely opposite)
🧪 Technical Notes:
Calculation uses ranked returns to better reflect monotonic relationships
Smoothed with a simple moving average (SMA) for stability
Arrays are managed internally to maintain performance and adaptability
This script is ideal for traders seeking deeper insight into cross-asset dynamics, portfolio hedging, or timing divergence-based strategies.
Directional Comparisons - Two Tickers📊 Directional Comparisons – Two Tickers
Overview:
This tool allows you to visually and statistically compare the directional behaviour of any two assets on any chart timeframe. It identifies and color-codes each bar based on how both the current asset and your chosen comparison asset performed in that period (e.g., both up, both down, diverging). A statistical summary table dynamically updates in the corner of your chart, tracking the probability and streak performance of each condition.
🛠 How It Works:
Each candle is analysed and color-coded based on the relationship between the current chart's asset and a comparison asset of your choice:
✅ Green – Both tickers closed higher (bullish alignment)
🔻 Red – Both tickers closed lower (bearish alignment)
🔷 Blue – Current ticker up, comparison ticker down (positive divergence)
🟧 Orange – Current ticker down, comparison ticker up (negative divergence)
You can toggle each colour condition on/off independently.
📈 Statistical Table (Top Right):
For the candles in the visible chart range, the indicator displays:
The frequency (probability) of each condition
Longest, shortest, and average streaks for each condition
Average % change for both the current and comparison asset under each scenario
All stats auto-update as you zoom or scroll through the chart.
🔧 User Inputs:
Comparison Ticker: Choose any ticker symbol to compare against the current chart
Toggle Conditions: Enable or disable individual directional conditions (color-coded)
✅ Use Cases:
Spot high-probability alignment zones between two assets (e.g., BTC vs ETH, SPX vs VIX)
Identify divergence opportunities for trading signals
Analyse historical relationships and co-movements between assets
Perform correlation streak studies directly on the chart
🔍 Notes:
The script works across all timeframes (1min to monthly).
Stats only consider visible bars on your chart for responsiveness.
Ideal for pair traders, macro analysts, or anyone interested in cross-asset relationships.
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
ADR% / ATR / LoD dist. Table - V2ADR% / ATR / LoD Distance Table (V2) + ATR Range Lines is a simple “daily volatility dashboard” that helps you quickly judge how extended a stock is during the day and where “normal” daily movement zones sit relative to price.
It’s designed to help you answer:
“Has this stock already made most of its usual daily move?”
“Am I chasing too late?”
“Where are typical +ATR / −ATR stretch and pullback zones?”
What you’ll see
ADR% (Average Daily Range %)
Shows the stock’s typical daily travel (low → high) as a percentage.
Example: ADR% = 4% means the stock often swings ~4% in a normal day.
ATR (Average True Range)
Shows the stock’s typical daily movement in price units ($ / points).
Example: ATR = 2.50 means it often moves about $2.50 per day.
LoD dist. (Low of Day distance)
Shows how far price is from today’s Low of Day, measured relative to ATR (as a %).
Higher % = more extended away from the day’s low.
Optional: ATR Range Lines (added in this version)
You can enable two guide lines that extend to the right:
ATR Up Line = Price + ATR
ATR Down Line = Price − ATR
These act like volatility guardrails to visualize “typical daily stretch” and “typical pullback” zones.
ATR “Live vs Locked” option (important)
Lock ATR to last completed day (no intraday updates):
ON (Locked): Uses the last completed daily ATR (yesterday’s finished value).
✅ ATR stays constant all day while the market is live.
OFF (Live): ATR can update intraday as today’s daily candle expands.
✅ ATR may change during the session.
Either way, ATR is still based on your chosen ATR Length (lookback period). Locking simply prevents the ATR from drifting intraday.
How to use it (Kullamägi-style principle)
Kristjan Kullamägi’s momentum style emphasizes pressing strength when conditions are right, but also respecting extension and risk/reward. This tool helps you quantify that:
If ADR%/ATR suggests the stock already moved near its usual daily range, chasing can be lower reward.
The ATR lines help you visualize when price is in a “normal stretch zone” vs a better risk area.
Locking ATR gives you stable intraday reference levels for cleaner execution.
Tips
Use ADR% to understand whether there’s likely “room” left in today’s move.
Use LoD dist. to quickly gauge if price is already far from the day’s low (extended).
Use ATR Up/Down Lines as a simple volatility framework for entries, add-ons, and risk planning.
Keep Lock ATR ON if you prefer stable levels throughout the session.
Credits
Original indicator concept & script: ArmerSchlucker
ADR% formula credit: MikeC / TheScrutiniser and GlinckEastwoot
Modifications (V2): TradersPod
Added optional ATR Up/Down lines extending to the right
Added “Lock ATR to last completed day” option for stable intraday ATR reference
Kept the original logic and purpose intact
Regression SuperTrend WAIT🔹 DESCRIPTION
Regression SuperTrend + WAIT Panel is a trend-filter and market regime indicator designed to help traders identify the dominant market direction and avoid low-quality trading conditions.
This script combines:
Regression-based SuperTrend to define the primary trend (UP / DOWN)
A WAIT panel to filter tradable conditions
ADX, RSI, and CCI values displayed in a compact panel for quick context
Buy / Sell labels on the chart do not represent entry signals.
They only indicate trend regime changes.
🔹 How to Use
1. Trend Direction
Green line (UP) → Focus on LONG setups only
Red line (DOWN) → Focus on SHORT setups only
2. WAIT Panel
WAIT(L) → Long bias environment, wait for proper entries
WAIT(S) → Short bias environment, wait for proper entries
Low ADX → Weak or ranging market, trading is not recommended
RSI and CCI values are shown for momentum context only.
🔹 Best Practice
This indicator is not a standalone trading system.
It is intended to be used as:
A higher-timeframe bias tool
A trend and regime filter for lower-timeframe strategies or oscillators
Example:
Regression UP + WAIT(L) → Only look for long setups on lower timeframes
🔹 Who Is This For?
Trend-based traders
ICT / market structure traders
Traders who want to clearly identify when NOT to trade
⚠️ Disclaimer
This script is for educational purposes only.
It is not financial advice.
All trading decisions and risk management are the user’s responsibility.
Old Glory Exhaustion Detector / In Chart Oscillator SignalsThis custom oscillator-based indicator detects potential trend exhaustion and reversal points through overextension thresholds. It highlights overextended candle bodies in gold and plots diamonds for buy/sell signals (red/blue), regular divergences (yellow), and hidden divergences (silver). Customize lengths, thresholds, and all colors via inputs for flexible analysis across timeframes.
Pivots Universales 1H - H y PIt aims to measure the projected average volatility of the current day versus that of the previous day using Bollinger.
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
7-13 Sequential CounterThis indicator displays a sequential count (7-13) setup phase. It tracks consecutive bars where the close is lower than the close 4 bars ago (bullish/buy count, labeled below bars) or higher (bearish/sell count, labeled above bars), resetting on interruption or after 13. Toggle individual numbers (I personally use 7,9,13) and customize bullish/bearish label colors to spot potential trend exhaustion and reversal points.
SuperTrend AI + PVSRA Full DashboardOPERATIONAL MANUAL: SuperTrend AI + PVSRA (4H Timeframe)
1. CORE STRATEGY OVERVIEW
The 4H timeframe is the "Institutional Standard." This strategy combines K-Means AI Clustering for trend detection with PVSRA (Price, Volume, Spread, Range Analysis) to identify bank maneuvers.
The goal is to enter trades only when AI trend, Institutional Volume, and Moving Average momentum align perfectly.
2. OPTIMAL 4H CONFIGURATION
AI Performance Memory: 15 to 20 (Provides trend stability against 4H noise).
Factor Range: 1.5 - 5.0 (Allows AI to scale during massive BTC/Crypto cycles).
PVSRA Climax Factor: 2.7 (The filter for significant institutional intervention).
SMA 200 (Institutional): Always active; serves as the ultimate "Bull/Bear" boundary.
3. ENTRY PROTOCOLS: "SUPER CONFLUENCE"
Entries are strictly executed upon the appearance of the SUPER CONFLUENCE label.
A. LONG SETUP (BUY)
AI Trend: The AI Trailing Stop line must be Teal (Bullish).
PVSRA Volume: A Green (Climax) or Blue (Rising) candle must be present.
The Trigger: A "SUPER CONFLUENCE BUY" tag appears (signaling a SMA 20 / AI Line crossover).
Confirmation: Higher probability if the Dashboard shows "Trend 200: ABOVE".
B. SHORT SETUP (SELL)
AI Trend: The AI Trailing Stop line must be Magenta/Red (Bearish).
PVSRA Volume: A Purple (Climax) or Orange (Rising) candle must be present.
The Trigger: A "SUPER CONFLUENCE SELL" tag appears.
Confirmation: Higher probability if the Dashboard shows "Trend 200: BELOW".
4. RISK & TRADE MANAGEMENT
ACTION 4H TIME-BASED RULE
Stop Loss Place SL behind the most recent PVSRA Climax candle wick or the AI Line.
Take Profit 1 Exit 50% at the nearest S/R Level (Red/Blue rectangles) or 1:1.5 RR.
Trailing Stop Trail the Dynamic SMA 20. Exit if the SMA 20 changes color against you.
Exit Signal Immediate exit if a Climax volume of the opposite color appears at a key level
for Me the best settings but You experiment and find yours;
ATR lenght AI :10
Factor range min 2 max 5
Step 1
Perfor.Mem.10
Source : Best
Volume Period 10
Climax 2.5
Multiplier Rising 1.5
Thank you all and happy trading
Canales Pivot H y P - EXTREMOSBollinger Extremes measures the average estimated volatility during the day, compared to the closing price.
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反応を重視する方に最適です。
Market Regime Guard PRO Institutional No-Trade ZonesThis dashboard automatically blocks trading on structurally dangerous market days caused by volatility compression, inside-day accumulation, rising VIX liquidation risk, EMA breakdowns, and thin liquidity traps.
Most traders lose not because their entries are bad — but because they trade on structurally dangerous market days.
This dashboard automatically blocks trading on contraction, liquidation-risk, inside-day, and volatility-trap days.
Then list what it detects:
• Inside Days (institutional absorption)
• NR7 contraction traps
• ATR volatility compression
• EMA structure breakdown
• Rising VIX liquidation risk
• News & holiday liquidity traps
Promise:
Only trade when the market structure is favorable.
Use this as your universal go/no-go trading permission system.
If it’s GREEN → Trade.
If it’s RED → Stand Aside or Be careful
Works on:
SPY, QQQ, TQQQ, NVDA, PLTR, TSLA, BTC, ES, NQ, Forex & Crypto.
🧭 How to Use the Market Regime Table
This table is your go / no-go permission system.
Start by checking it on SPY and QQQ — these represent the overall U.S. market and the Nasdaq growth complex.
• If SPY and QQQ are GREEN → market structure is favorable
• If either is RED → stand aside or reduce risk
Once the market is GREEN, you can then apply the same table to individual stocks (NVDA, PLTR, TSLA, AMD, etc.) to confirm that the stock’s structure is also favorable before taking any trades.
Rule of thumb:
Market first. Stock second.
Only trade when both are GREEN.
This one rule alone dramatically improves win rate, drawdown, and consistency.
FULL DESCRIPTION
Most traders don’t lose because their entries are bad —
They lose because they trade on structurally dangerous market days.
On these days:
• Institutions absorb liquidity
• Volatility contracts
• Fake breakouts dominate
• Stop hunts explode
• Real expansion does not occur
This indicator automatically identifies and blocks:
• Inside-day accumulation traps
• NR7 contraction traps
• Falling ATR volatility compression
• EMA structure breakdowns
• Rising VIX liquidation risk
• Thin liquidity / holiday risk
• News-day volatility traps
It gives you a clear desk-style verdict:
Status Meaning
🟢 GREEN Market structure favorable – trade normally
🔴 RED Structural danger – stand aside
This is not an entry system.
This is your permission system.
🛠 HOW TO USE
Add indicator to your chart
Check table in top-right
Trade only on GREEN days
Avoid RED days completely
📈 Personal Note
This regime filter has been instrumental in my own trading journey. After struggling during my first few years in the market, I realized that the biggest losses didn’t come from bad strategies — they came from trading on the wrong days.
Learning to stand aside on structurally dangerous market days and only trade when conditions are favorable dramatically improved my consistency and overall returns.
🧠 Why Market Regime Matters Even More for Day Traders
Most day-trader losses do not come from bad entries.
They come from:
• Choppy inside-day conditions
• Liquidity absorption
• Falling volatility (no follow-through)
• Stop-hunt behavior
• News / thin liquidity traps
Your filter directly blocks every one of these traps.
So for day traders, this tool:
• Prevents revenge trading
• Stops death-by-a-thousand-cuts days
• Filters out random chop days
• Protects capital on slow days
• Preserves psychological capital
📈 Why It Also Improves Swing Trading
For swing traders, this tool:
• Avoids entering during contraction
• Avoids entering before expansions
• Avoids bear-regime traps
• Improves follow-through probability
• Reduces drawdown
• Improves R-multiple expectancy
Which means:
Fewer trades
Higher quality trades
More profit per trade
The Universal Truth
The market does not pay you for activity.
It pays you for selectivity.
This filter improves timing, not tactics.
Your entries can be identical — your results improve simply because you’re trading on the right days.
⚠️ Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial, investment, or trading advice.
Trading stocks, options, futures, forex, and cryptocurrencies involves substantial risk and may result in the loss of some or all of your invested capital. Past performance is not indicative of future results.
This tool does not guarantee profits and should be used as a market structure filter and risk-management aid only. Always perform your own analysis, use proper position sizing, and consult a licensed financial professional before making any trading decisions.
You are solely responsible for all trades taken using this indicator.
Timeframe-Independent Anchored VWAPAn anchored VWAP (Volume Weighted Average Price) that produces identical values (down to the tick!) across different timeframes (unlike, for example, TradingView's built-in Anchored VWAP).
Advantages
This indicator calculates identical values whether you view it on 1m, 5m, 15m, or any other timeframe within reasonable ranges. Even challenging non-integer timeframe ratios like calculating on 2m while viewing on 3m are handled perfectly. In High or Low mode, VWAP will anchor precisely at the selected candle's high/low. As usual for AVWAP, up to 3 standard deviation bands are supported.
How to Use
Setting the Anchor: When the indicator is added, select your anchor time. This is typically placed at a significant swing high/low or session open.
Source Selection: Choose whether to anchor from High, Low, or Close price.
Calculation Timeframe: Select the timeframe used for VWAP calculation.
For intraday trading (1m-1H charts): Just keep the default setting (1m)
For swing trading (4H-D charts): Use 5m or 15m calculation timeframe
For position trading (D-W charts): Use 1H calculation timeframe
Important: Lower calculation timeframes provide more precise data but may hit Pine Script's bar limit on very long timeframes
Standard Deviation Bands: Enable additional band sets as needed for your trading style.
Technical Implementation
The indicator achieves timeframe independence through the following algorithm:
Lower Timeframe Sampling: Uses Pine Script's request.security_lower_tf() to retrieve bar data at the specified calculation timeframe, regardless of the viewing timeframe. This provides consistent data resolution across all chart timeframes.
Anchor Detection: Scans the lower timeframe data to identify the exact bar containing the selected anchor price. The algorithm handles both simple cases (where anchor falls on a complete bar) and complex cases (where anchor falls within a split bar in non-integer timeframe ratios like calculating on 2m while viewing on 3m).
FIFO Buffer Management: Maintains a First-In-First-Out buffer of lower timeframe bars. On each chart bar:
Adds new lower timeframe bars to the buffer
Processes exactly one period worth of bars (matching the viewing timeframe)
Removes processed bars from the buffer
This approach ensures consistent calculation regardless of viewing timeframe.
First Bar Initialization: On the anchor bar, processes only the single anchor bar to ensure the VWAP starts exactly at the anchor price. Subsequent bars process the full period, maintaining mathematical accuracy.
VWAP Calculation: Applies the standard volume-weighted average price formula:
VWAP = Σ(Price × Volume) / Σ(Volume)
StdDev = √(Σ(Price² × Volume) / Σ(Volume) - VWAP²)
All calculations accumulate from the anchor point forward.
Visual Continuity: For edge cases where the anchor falls in an incomplete bar (e.g., calculating on 2m while viewing on 3m), displays the anchor price as a visual placeholder until the actual calculation begins on the next bar. This ensures the line always starts visually at the anchor point.
Market Structure Buy and Sells This indicator is based on these two indicators:
- Next Candle Predictor with Auto Hedging by HackWarrior
- Market Structure by odnac
How It Works
The Entry (Breakout): The script tracks the most recent Swing Highs and Lows. When price closes above a Swing High, it triggers a Buy Signal. When it closes below a Swing Low, it triggers a Sell Signal.
The Stop Loss (Signal #1): Unlike standard indicators that use a fixed pip amount, this uses "Signal #1"—a volatility-based calculation that finds the recent wave bottom (for buys) or wave top (for sells) to set a logical, market-based stop loss.
The Take Profit: Once the risk is defined by Signal #1, the indicator automatically projects a target based on your desired Risk:Reward Ratio (default is 1:1).
Key Features
Visual Trade Boxes: Instantly see your Profit (Green) and Loss (Red) zones on the chart the moment a signal triggers.
RSI "C" Exit (Optional): A toggleable safety switch that allows you to exit trades early if the RSI becomes overbought or oversold, protecting your gains before a reversal.
Live Backtest Table: A real-time dashboard in the corner of your chart that tracks Total Trades, Wins, Losses, and Win Rate so you can see how the strategy performs on any timeframe.
Integrated Alerts: Full support for alerts on both Buy and Sell signals.
MA Zone Candle Color 8.0This indicator plots a selected moving average (any type: EMA, VWAP, HMA, ALMA, custom composites, RVWAP, etc.) and creates a symmetrical grid of horizontal levels/bands spaced at precise, predefined increments around it. The spacing between levels can be set in two modes:
Percent (%) of the current MA value
Points (fixed price units)
The available increment sizes follow a specific geometric-like sequence (very similar to Gann square-of-9 derived steps), giving you clean, repeatable distance choices such as 0.61, 1.22, 2.44, 4.88, 9.77 points (or their percentage equivalents).
Core purpose
It visually marks exactly how far price has moved away from your chosen moving average — in multiples of the increment you selected.
Main practical use cases -
1. Measuring distance from key reference level
VWAP or EMA(20–89), Points mode, 1.22–4.88 incr.
"Price is currently 3.5 increments above VWAP" → quick context for context
2. Identifying structured price levels
Points mode + 2.44 or 4.88 increment
Treat every band as potential support/resistance or target zone
3. Comparing extension size across instruments
Percent mode, same increment value across symbols
Makes extensions visually comparable (BTC vs ETH vs SPX vs NQ)
4. Session / intraday structure mapping
RVWAP or session VWAP + Points mode
See how many "steps" price has made since session open / reset
5. Setting objective take-profit / scale-out levels
Any MA + medium increment (4.88–19.53 points)
"I'll take partials at +2×, +4×, +6× increment" — very mechanical
6. Volatility-adjusted grid (crypto/forex)
Points mode with larger increments
Prevents bands from becoming too wide/narrow during huge volatility swings
Most common combo
MA: VWAP or RVWAP (session/day reset)
Mode: Points
Increment: 1.220704 or 2.441408 or 4.8828125
Bands per side: 30–60
→ Creates a clean, evenly-spaced ladder of levels around the daily/intraday average that traders can use purely for distance measurement and objective level marking.
In short:
It's a very precise, repeatable distance ruler built around any moving average you choose — nothing more, nothing less.
EMA 8 48 System v1Short Description:
A trend-following indicator using EMA crossovers, ATR-based volatility filter, and a cooldown period to reduce false signals. Designed for clear buy/sell signals in trending markets.
Full Description:
What is this indicator?
This script implements a dual EMA crossover system (8-period and 48-period EMAs) with a trend filter (EMA200), ATR-based volatility filter, and a cooldown period to avoid overtrading.
It visually plots EMAs, buy/sell signals, and ATR-based stop loss/target levels.
Why is it useful?
Helps traders identify high-probability trend entries and avoid choppy, low-volatility conditions.
Reduces false signals by requiring trend confirmation, sufficient volatility, and spacing out trades.
Suitable for intraday and swing trading on most liquid assets.
When to use:
Best used in markets showing clear trends (not sideways).
Works on most timeframes, but higher timeframes (15m, 1h, 4h, daily) tend to give more reliable signals.
How to spot buy and sell:
Buy: Green “BUY” label appears when EMA8 crosses above EMA48, price is above EMA200, and ATR is above the minimum threshold.
Sell: Red “SELL” label appears when EMA8 crosses below EMA48, price is below EMA200, and ATR is above the minimum threshold.
ATR-based stop loss and target levels are plotted for each signal.
Additional tips:
Adjust the minimum ATR and cooldown settings to match your asset’s volatility and your trading style.
Use in conjunction with price action or higher timeframe analysis for best results.
Avoid trading during low volatility or sideways markets, as signals may be less reliable.
Always backtest and forward-test before using live.
How to add signals and update settings:
Use the script’s input panel to adjust EMA lengths, ATR settings, minimum ATR, and cooldown period.
To add alerts, use TradingView’s “Add Alert” feature and select the buy or sell conditions from the script’s alert options.
For further customization, you can edit the script to add additional filters or notification logic.
This indicator is for educational purposes only. Always use proper risk management and do your own research before trading.
Disclaimer:
This script is for informational and educational purposes only and does not constitute financial advice or a recommendation to buy or sell any financial instrument.
Trading involves risk. Past performance is not indicative of future results. Always do your own research and use proper risk management.
The author is not responsible for any losses incurred from the use of this script. By using this script, you agree to take full responsibility for your trading decisions.
Percentage Price LevelsPercentage Price Levels displays dynamic price levels based on percentage gains and losses from the current price. Instantly visualize where price would be at ±2%, ±4%, ±6%, ±8%, ±10%(and beyond) — perfect for setting profit targets, stop-losses, and understanding potential price movement.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IT DOES
• Draws horizontal lines at percentage-based price levels above and below current price
• Green lines = potential profit targets (positive %)
• Red lines = potential stop-loss zones (negative %)
• Yellow line = current price reference
• Summary table shows all levels in a clean, easy-to-read format
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ FEATURES
• Up to 8 positive and 8 negative percentage levels
• Fully customizable percentages (set your own values)
• Toggle each level on/off individually
• Adjustable font size (Tiny to Huge)
• Multiple line styles (Solid, Dashed, Dotted)
• Movable summary table (any corner)
• Base price options: Close, Open, High, Low, HL2, OHLC4
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 HOW TO USE
1. Add the indicator to your chart
2. Default shows ±2%, ±4%, ±6%, ±8%, ±10% levels
3. Open Settings to customize:
• Enable/disable specific levels
• Change percentage values
• Adjust colors and font size
• Move table position
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 USE CASES
• Day Trading — Quick intraday profit targets
• Swing Trading — Visualize multi-day price zones
• Risk Management — Set stop-losses based on % risk tolerance
• Options Trading — Find strike prices relative to spot
• Position Sizing — See exact dollar values at each level
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 DEFAULT SETTINGS
Positive: +2%, +4%, +6%, +8%, +10% (3 extra slots available)
Negative: -2%, -4%, -6%, -8%, -10% (3 extra slots available)
Font Size: Normal
Line Style: Dashed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
If you find this useful, please leave a like! Feedback and suggestions welcome in the comments.
Micro Futures Risk Calculator (Minimal)risk calculator based off of stop distance. to keep risk consistent for consistent growth






















