4MA / 4MA-1 Interactive Projection and Volatility Envelopehis script is a user-interactive upgrade to my original 4MA projection tool (Code 1). The goal of this version is to keep the same core behavior while adding transparent controls so you can adapt it to different symbols, timeframes, and market regimes.
At its core, the indicator tracks:
MA4 (4-period SMA) and MA4 (the 1-bar lag of MA4) to show short-term alignment and slope, and
A forward projection path plus a deviation “envelope” to visualize typical expansion vs. stretched moves vs. extreme deviations.
What’s on the chart
1) Live structure lines
MA4 and MA4 are plotted on the chart.
Their relationship provides a simple structure read:
MA4 > MA4 → bullish alignment
MA4 < MA4 → bearish alignment
2) Projection path (optional)
The script builds a forward “projection” by sampling a historical MA window and drawing that shape forward by a user-defined bar shift.
Delta-anchor option (recommended):
When enabled, the sampled shape is re-centered onto the current MA level (preserves relative movement rather than absolute price level).
Important: This projection is a visual reference model, not a promise of future price.
3) Standard deviation envelopes (optional)
Deviation bands are derived from the distribution of (close − MA4) across the sampled window, then applied around the projected path using configurable multipliers (a “ladder” of envelopes).
These envelopes are designed to help visualize:
Normal expansion zones
Momentum stretch zones
Extreme deviation zones where the model is more likely to be challenged
4) Projected cross confluence (vertical lines)
Vertical confluence lines mark where the projected MA4 and projected MA4 would intersect (bull / bear).
These are intended as forward structure landmarks, not trade signals.
5) Alerts (optional)
Alerts can be enabled for breaches of the projected deviation envelope:
Band 3 breach: momentum stretch / extension
Band 4 breach: extreme deviation / model challenged (“invalidation” zone)
Wicks or closes can be used for the breach check depending on preference.
6) Table (optional)
A compact table summarizes:
MA values
alignment status
The most recent cross context (BUY/SELL labeling here is informational labeling of the MA cross state, not a guarantee of performance)
How to use (practical workflow)
Set the market + timeframe first
Choose the symbol and timeframe you trade. This tool is designed to be tuned.
Adjust the pattern window
“Pattern Start/End (bars back)” controls what historical sample is used.
Different assets/timeframes respond best to different windows.
Toggle projection + confluence lines
If projection landmarks add clarity, keep them on.
If you want a cleaner chart, toggle them off.
Use bands as context
Movement inside the inner bands often reflects more typical expansion.
Band 3/4 areas represent progressively more stretched conditions.
Use alerts as notifications, not commands
Alerts are best used as “check the chart” prompts rather than auto-trade triggers.
Notes & disclaimers (Publishing-safe)
This script is intended for analysis and decision support.
It does not execute trades and does not guarantee outcomes.
Projections and envelopes are models and can be exceeded or invalidated by volatility.
Always use risk management and confirm with your own framework.
Change log (recommended)
v2 (Interactive Upgrade):
Added user controls for projection window and visualization
Added/expanded optional confluence markers, alerts, and presentation settings
Improved transparency and tunability across symbols/timeframes
This version is the recommended upgrade to the original release: same concept, more user control, clearer documentation, and better adaptability across markets.
Candlestick analysis
PVSRA Dashboard PRO [Customized]# 📘 OPERATING MANUAL: Institutional Volume Suite (v1.0)
**Integrated Systems:** PVSRA Dashboard PRO + SR High Volume Boxes + Massive Order Spike Detector
---
## 1. SYSTEM PHILOSOPHY
This ecosystem tracks **Institutional Order Flow**. The core principle is that "Smart Money" leaves undeniable footprints through abnormal volume (Spikes) and specific price zones (High Volume Boxes). The system filters retail noise to identify where "Whales" are accumulating or distributing positions.
---
## 2. VISUAL DICTIONARY & SIGNALS
### A. PVSRA & Candles (Institutional Sentiment)
| Candle Color | Signal Type | Operational Meaning |
| :--- | :--- | :--- |
| 🟢 **Bright Green** | **Bull Climax** | Maximum Volume. Strong institutional buying or "Blow-off top". |
| 🟣 **Magenta** | **Bear Climax** | Maximum Volume. Strong institutional selling or "Selling climax". |
| 🔵 **Blue** | **Bull Rising** | Above-average volume. Professional buying interest. |
| 🔴 **Red/Orange** | **Bear Rising** | Above-average volume. Professional selling interest. |
| ⚪ **Grey** | **Normal** | Retail volume. Low institutional participation. |
### B. SR Boxes & Spike Detector (The Triggers)
* **Teal Boxes:** High Volume Support (Demand Zone).
* **Red Boxes:** High Volume Resistance (Supply Zone).
* **Triangles (▲/▼):** "Massive Order Spike". Statistical confirmation of heavy entry.
* **Diamonds (◆):** Real-time confirmation that a level (Box) is "Holding."
---
## 3. THE PRO DASHBOARD (Confluence Matrix)
Always consult the top-right dashboard before executing a trade:
1. **Momentum (9/20):** Short-term direction (Green Cloud = Long, Red = Short).
2. **Trend (20/50):** Health of the intermediate trend.
3. **Inst. Trend (200):** The master filter. Above SMA 200, look for Longs only; below, Shorts only.
4. **Delta Pressure:** Shows if the actual money flow is positive (BUY) or negative (SELL).
5. **CONFLUENCE PRO:** The final verdict. "STRONG BUY/SELL" means all parameters are aligned.
---
## 4. OPERATIONAL PROTOCOL (STRATEGY)
### **Phase 1: Zone Identification**
Identify where the price is relative to the **High Volume Boxes**.
- *Long Setup:* Price enters a Teal Box or tests a dashed "Support-Flip" line.
- *Short Setup:* Price enters a Red Box or tests a dashed "Resistance-Flip" line.
### **Phase 2: The Trigger (Action)**
Wait for the coordinated appearance of signals:
1. **PVSRA Color:** The candle must turn Climax (Green/Magenta).
2. **Order Spike:** The Triangle confirmation must appear.
3. **Level Confirmation:** The Diamond (◆) appears, indicating a bounce/rejection from the zone.
### **Phase 3: Execution**
- **ENTRY:** Enter when the Dashboard shows "STRONG BUY/SELL" coinciding with Phase 2 signals.
- **STOP LOSS:** Placed behind the opposite limit of the Box or the Climax candle wick.
- **TAKE PROFIT:** Use the **Dashed Recovery Lines** or the opposite High Volume Box.
---
## 5. RECOMMENDED TECHNICAL CONFIGURATION
| Parameter | Value | Notes |
| :--- | :--- | :--- |
| **PVSRA Climax** | 2.7 | Captures only the most significant institutional moves. |
| **Spike Multiplier** | 4.0 | Filters out statistical noise. |
| **Inst. SMA** | 200 | Blue (
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反応を重視する方に最適です。
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
TraderSpace Previous CloseThis indicator is to simply draw the previous close in the timeframe you are working on.
Crash Prevention OpenSource by exp3rtsOpen Source Version - no updates!
Crash Prevention OpenSource by exp3rts – Automated Exit Strategy for TradingView
This indicator allows you to automatically close positions based on dynamic price levels derived from the previous candle with a configurable offset. Perfect for risk management and automated “hard stop” exits.
Key Features:
Flexible Exit Directions: Choose to trigger exits for Long, Short, or Both directions.
Dynamic Exit Levels: Lines are automatically calculated above/below the previous candle plus/minus a user-defined offset in points.
Visual Cues: Clear arrows indicate the exact bar where price touched the exit line.
Session-Independent: Works on any chart and timeframe without manual adjustments.
Webhook Alerts: Sends JSON alerts on touch, enabling integration with external systems or bots.
Auto-Close Logic: Ensures positions are closed immediately when the threshold is breached, keeping trades in check.
How it works:
For Long exits, the line is drawn below the previous bar’s low minus the offset.
For Short exits, the line is drawn above the previous bar’s high plus the offset.
When price crosses the line, the position is closed, an arrow is plotted on the chart, and an alert is fired.
Ideal for traders who want strict stop management or automated exit conditions while keeping visual clarity on the chart.
156D EMA 5 Crossover ScanWhen the price crosses and closes above the 5 EMA on a 156-day time frame, it indicates a bullish turnaround. A buy can be initiated at the closing price of the bullish turnaround candle, with a stop-loss set at the low of the entry candle on a closing basis within the same 156-day time frame. This indicator signals a long-term bullish trend and is best suited for positional trades and investments with a minimum time horizon of 3–5 years.
HARSI RSI Shadow SHORT Strategy M1HARSI – Heikin Ashi RSI Shadow Indicator
HARSI (Heikin Ashi RSI Shadow) is a momentum-based oscillator that combines the concept of Heikin Ashi smoothing with the Relative Strength Index (RSI) to reduce market noise and highlight short-term trend strength.
Instead of plotting traditional price candles, HARSI transforms RSI values into a zero-centered oscillator (RSI − 50), allowing traders to clearly identify bullish and bearish momentum around the median line. The smoothing mechanism inspired by Heikin Ashi candles helps filter out false signals, making the indicator especially effective on lower timeframes such as M1.
The RSI Shadow reacts quickly to momentum shifts while maintaining smooth transitions, which makes it suitable for scalping and intraday trading. Key threshold levels (such as ±20 and ±30) can be used to detect momentum expansion, exhaustion, and potential continuation setups.
mua HARSI RSI Shadow Strategy M1 (Fixed)HARSI – Heikin Ashi RSI Shadow Indicator
HARSI (Heikin Ashi RSI Shadow) is a momentum-based oscillator that combines the concept of Heikin Ashi smoothing with the Relative Strength Index (RSI) to reduce market noise and highlight short-term trend strength.
Instead of plotting traditional price candles, HARSI transforms RSI values into a zero-centered oscillator (RSI − 50), allowing traders to clearly identify bullish and bearish momentum around the median line. The smoothing mechanism inspired by Heikin Ashi candles helps filter out false signals, making the indicator especially effective on lower timeframes such as M1.
The RSI Shadow reacts quickly to momentum shifts while maintaining smooth transitions, which makes it suitable for scalping and intraday trading. Key threshold levels (such as ±20 and ±30) can be used to detect momentum expansion, exhaustion, and potential continuation setups.
HARSI works best in liquid markets and can be used as a standalone momentum indicator or combined with trend filters such as moving averages or VWAP for higher-probability trades.
Key Features:
Zero-centered RSI oscillator (RSI − 50)
Heikin Ashi–style smoothing to reduce noise
Clear momentum-based entry signals
Optimized for lower timeframes (M1 scalping)
Suitable for both Spot and Futures trading
mua HARSI RSI Shadow Strategy M1 (Fixed)HARSI – Heikin Ashi RSI Shadow Indicator
HARSI (Heikin Ashi RSI Shadow) is a momentum-based oscillator that combines the concept of Heikin Ashi smoothing with the Relative Strength Index (RSI) to reduce market noise and highlight short-term trend strength.
Instead of plotting traditional price candles, HARSI transforms RSI values into a zero-centered oscillator (RSI − 50), allowing traders to clearly identify bullish and bearish momentum around the median line. The smoothing mechanism inspired by Heikin Ashi candles helps filter out false signals, making the indicator especially effective on lower timeframes such as M1.
The RSI Shadow reacts quickly to momentum shifts while maintaining smooth transitions, which makes it suitable for scalping and intraday trading. Key threshold levels (such as ±20 and ±30) can be used to detect momentum expansion, exhaustion, and potential continuation setups.
HARSI works best in liquid markets and can be used as a standalone momentum indicator or combined with trend filters such as moving averages or VWAP for higher-probability trades.
Key Features:
Zero-centered RSI oscillator (RSI − 50)
Heikin Ashi–style smoothing to reduce noise
Clear momentum-based entry signals
Optimized for lower timeframes (M1 scalping)
Suitable for both Spot and Futures trading
Max and Min Daily + 4H + 1H + Today Daily + 30mIndicator that shows on the chart the highs and lows of yesterday's daily, today's daily candle, the 4-hour, 1-hour, and 30-minute timeframes.
Indicatore che mostra sul grafico i max e min del daily di ieri, della candela giornaliera di oggi, del tf4h, tf1h e tf30 min.
Basic Key Levels | Feng FuturesKey Levels | Feng Futures (Basic) automatically plots the most essential daily reference levels used by futures traders to establish intraday context and structure.
This lightweight version focuses on the three levels that matter most for session bias and liquidity reference:
Previous Day High (PDH)
Previous Day Low (PDL)
Session Open (18:00 NY for futures)
These levels are commonly used by professional and institutional participants as decision points for:
directional bias
continuation vs. reversal context
risk definition and invalidation
Features:
• Auto-plotted PDH and PDL
• Futures session open (18:00 NY)
• Clean, non-repainting levels
• Lines extend forward for intraday use
• Optional price labels pinned to the right edge
• Minimal design to reduce chart clutter
• Full color, width, and label customization
• Optimized for intraday futures trading
This indicator does not provide trade signals or alerts.
It is designed to support planning, execution, and review within your own trading framework.
Best used on:
ES, NQ, RTY, YM (intraday timeframes)
PDH / PDL levels can be used as take profit targets or to help form bias. For example, if we break out of PDH, we may look for longs.
Disclaimer:
This indicator is for educational purposes only and does not constitute financial advice. Trading futures involves significant risk and may not be suitable for all investors. Always do your own research and use proper risk management.
Phantom Zone Visualizer (Auto-Mitigation)SCRIPT OVERVIEW: "Phantom Zone Visualizer (Auto-Mitigation)"
This is a custom Pine Script v5 indicator designed to automatically detect, display, and manage Phantom-style supply and demand zones directly on your TradingView chart.
🎯 PURPOSE:
To visually identify high-probability institutional price zones using the Phantom model:
Impulse → Base → Impulse
Wick-to-body precision
Auto-deletion on mitigation
🧠 HOW IT WORKS (STEP BY STEP):
🔍 1. Impulse Detection
The script first checks if the current candle (bar 0) is part of a strong directional move (an impulse):
Impulse Up = large bullish candle (body > ATR * strength factor)
Impulse Down = large bearish candle
It uses the ATR (Average True Range) to confirm if the candle is large enough, based on a user-defined multiplier (default = 1.5× ATR).
🧱 2. Base Detection (1–3 small candles)
If an impulse is detected, the script checks previous candles (up to 3) to find a tight base:
Base = candles with small bodies (less than 60% of ATR)
These represent institutional order blocks
This follows Phantom’s rule:
"Two candles is institutional; four is confusion."
🧰 3. Zone Construction (Wick-to-Body)
Once a valid base is found, it constructs a Phantom zone box, using:
Demand Zones (bullish):
Bottom = lowest wick of base
Top = highest body open/close
Supply Zones (bearish):
Top = highest wick of base
Bottom = lowest body open/close
This creates a visual green (demand) or red (supply) box extending 10 candles forward.
🏷 4. Labeling
Each zone includes a label showing:
Zone type (SUPPLY or DEMAND)
Price top and bottom
Number of candles in the base
This helps visually verify the purity of the zone at a glance.
💣 5. Auto-Mitigation Logic
Every new candle checks if price has touched or entered any zone:
If price overlaps a zone (wick or body):
The script deletes the box
This follows Phantom's principle:
"Once touched, zone is mitigated and no longer valid"
This keeps your chart clean and disciplined, avoiding reused zones.
⚙️ SETTINGS:
Setting Purpose
Lookback How far to check for impulses
Impulse Strength Multiplier of ATR to define "big candle"
Max Base Candles Max # of base candles to consider (default = 3)
✅ WHAT THIS SCRIPT DOES WELL:
✅ Follows Phantom rulebook with precision
✅ Marks clean, institutional zones only
✅ Enforces discipline by auto-deleting mitigated zones
✅ Helps traders avoid overtrading used zones
✅ Simple to plug and use on any asset/timeframe
✅ Fast visual scanning of structure, base, and strength
🚫 WHAT IT DOES NOT DO (yet):
❌ No scoring system (Phantom Score out of 20)
❌ No risk:reward (RRR) projections
❌ No trend/timeframe alignment filters (HTF/ITF)
❌ No alerts for zone creation/mitigation
🧩 SUMMARY:
Your Phantom Zone Visualizer (Auto-Mitigation) is a strict, rule-based tool to:
✅ Identify valid Impulse → Base → Impulse formations
✅ Draw zones using Phantom wick-to-body logic
✅ Remove zones once they are mitigated
🧘 Keep your chart clean, your trading structured, and your focus sharp
Long Wick Detector + Highlight + AlertWick set at 9 ticks..the longer the better..cut loss at lower of the wick..wait for candle completion in TF 5
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






















