SMT Quarter theory - AMDX cycles and killzones.This indicator visualizes the Quarterly Theory (SMT / Smart Money Theory) concept anchored to New York time. The main daily cycle starts at 18:00 NY time and lasts exactly 24 hours — until 18:00 the next day (local NY time, automatically handling daylight saving time transitions).
Each 24-hour SMT day is divided into four 6-hour blocks:
18:00–00:00 (Asia Killzone)
00:00–06:00 (London Open)
06:00–12:00 (NY AM)
12:00–18:00 (NY PM)
Each 6-hour block is further subdivided into four 90-minute micro-cycles.
The indicator draws:
semi-transparent colored rectangles (boxes) for the 6-hour sessions using different colors and corresponding session names
lighter orange boxes for the 90-minute cycles inside each 6-hour block
vertical dashed lines at the boundaries of 6-hour sessions (different colors)
thin dotted lines at the boundaries of 90-minute cycles
a thick vertical line marking the end of the SMT day (next 18:00 NY)
text labels with the main session names placed above the chart
This indicator based on AMDX quarter theory - accumulation, manipulation, distribution, x (distribution or reversal). Use this indicator to improve your price movement understanding!
Этот индикатор предназначен для визуализации концепции Quarterly Theory (SMT / Smart Money Theory) с привязкой к нью-йоркскому времени. Основной цикл дня начинается в 18:00 по Нью-Йорку и длится ровно 24 часа — до 18:00 следующего дня (по местному времени NY, с автоматическим учётом перехода на летнее/зимнее время).
Каждый такой 24-часовой SMT-день делится на четыре 6-часовых блока:
18:00–00:00 (Asia Killzone)
00:00–06:00 (London Open)
06:00–12:00 (NY AM)
12:00–18:00 (NY PM)
Каждый 6-часовой блок, в свою очередь, разделён на четыре 90-минутных микроцикла.
Индикатор рисует:
полупрозрачные цветные прямоугольники (боксы) для 6-часовых сессий с разными цветами и соответствующими названиями
более светлые оранжевые боксы для 90-минутных циклов внутри каждого 6-часового блока
вертикальные пунктирные линии на границах 6-часовых сессий (разные цвета)
тонкие точечные линии на границах 90-минутных циклов
вертикальную жирную линию на конец SMT-дня (следующие 18:00 NY)
текстовые метки с названиями основных сессий над графиком
Cycles
Manus KI TradingManus Machiene Learning Beast – Indicator Description
Settings
Use 1h Chart
Use Regime filter: 0.5
Use ADX 20
Use SMA 200
and be happy...
Overview
Manus Machiene Learning Beast is an advanced TradingView indicator that combines Machine Learning (Lorentzian Classification) with trend, volatility, and market regime filters to generate high-quality long and short trade signals.
The indicator is designed for rule-based, disciplined trading and works especially well for set-and-forget, semi-automated, or fully automated execution workflows.
⸻
Core Concept
At its core, the indicator uses a machine-learning model based on a modified K-Nearest Neighbors (KNN) approach.
Instead of standard Euclidean distance, it applies Lorentzian distance, which:
• Reduces the impact of outliers
• Accounts for market distortions caused by volatility spikes and major events
• Produces more robust predictions in real market conditions
The model does not attempt to predict exact tops or bottoms.
Instead, it estimates the probable price direction over the next 4 bars.
⸻
Signal Logic
Long Signals
A long signal is generated when:
• The ML model predicts a positive directional bias
• All enabled filters are satisfied
• A new directional change is detected (non-repainting)
• Optional trend filters (EMA / SMA) confirm the direction
• Optional kernel regression confirms bullish momentum
📍 Displayed as a green label below the bar
Short Signals
A short signal is generated when:
• The ML model predicts a negative directional bias
• Filters confirm bearish conditions
• A new directional change occurs
• Trend and kernel filters align
📍 Displayed as a red label above the bar
⸻
Filters & Components
All filters are modular and can be enabled or disabled individually.
1. Volatility Filter
• Avoids trading during extremely low or chaotic volatility conditions
2. Regime Filter (Trend vs Range)
• Attempts to filter out sideways markets
• Especially important for ML-based systems
3. ADX Filter (Optional)
• Trades only when sufficient trend strength is present
4. EMA / SMA Trend Filters
• Classic trend confirmation (e.g., 200 EMA / 200 SMA)
• Ensures trades are aligned with the higher-timeframe trend
5. Kernel Regression (Nadaraya-Watson)
• Smooths price behavior
• Acts as a momentum and trend confirmation filter
• Can be used in standard or smoothed mode
⸻
Moving Average Overlays
For visual market context, the indicator includes optional overlays:
• ✅ SMA 200
• ✅ HMA 200
Both can be toggled via checkboxes and are visual aids only, unless explicitly enabled as filters.
⸻
Exit Logic
Two exit methods are available:
1. Fixed Exit
• Trades close after 4 bars
• Matches the ML model’s training horizon
2. Dynamic Exit
• Uses kernel regression and signal changes
• Designed to let profits run in strong trends
⚠️ Recommended only when no additional trend filters are active.
⸻
Backtesting & Trade Statistics
The indicator includes an on-chart statistics panel showing:
• Win rate
• Total trades
• Win/Loss ratio
• Early signal flips (useful for identifying choppy markets)
⚠️ This is intended for calibration and optimization only, not as a replacement for full strategy backtesting.
⸻
Typical Use Cases
• Swing trading (M15 – H4)
• Rule-based discretionary trading
• Set-and-forget trading
• TradingView alerts → MT4/MT5 → EA execution
• Prop-firm trading (e.g. FTMO), with proper risk management
⸻
Important Disclaimer
This indicator:
• ❌ does not guarantee profits
• ❌ is not a “holy grail”
• ✅ is a decision-support and structure tool
It performs best when:
• Combined with strict risk management (e.g. ATR-based stops)
• Used in trending or expanding markets
• Executed with discipline and consistency
KI Power signaleManus Machiene Learning Beast – Indicator Description
Overview
Manus Machiene Learning Beast is an advanced TradingView indicator that combines Machine Learning (Lorentzian Classification) with trend, volatility, and market regime filters to generate high-quality long and short trade signals.
The indicator is designed for rule-based, disciplined trading and works especially well for set-and-forget, semi-automated, or fully automated execution workflows.
⸻
Core Concept
At its core, the indicator uses a machine-learning model based on a modified K-Nearest Neighbors (KNN) approach.
Instead of standard Euclidean distance, it applies Lorentzian distance, which:
• Reduces the impact of outliers
• Accounts for market distortions caused by volatility spikes and major events
• Produces more robust predictions in real market conditions
The model does not attempt to predict exact tops or bottoms.
Instead, it estimates the probable price direction over the next 4 bars.
⸻
Signal Logic
Long Signals
A long signal is generated when:
• The ML model predicts a positive directional bias
• All enabled filters are satisfied
• A new directional change is detected (non-repainting)
• Optional trend filters (EMA / SMA) confirm the direction
• Optional kernel regression confirms bullish momentum
📍 Displayed as a green label below the bar
Short Signals
A short signal is generated when:
• The ML model predicts a negative directional bias
• Filters confirm bearish conditions
• A new directional change occurs
• Trend and kernel filters align
📍 Displayed as a red label above the bar
⸻
Filters & Components
All filters are modular and can be enabled or disabled individually.
1. Volatility Filter
• Avoids trading during extremely low or chaotic volatility conditions
2. Regime Filter (Trend vs Range)
• Attempts to filter out sideways markets
• Especially important for ML-based systems
3. ADX Filter (Optional)
• Trades only when sufficient trend strength is present
4. EMA / SMA Trend Filters
• Classic trend confirmation (e.g., 200 EMA / 200 SMA)
• Ensures trades are aligned with the higher-timeframe trend
5. Kernel Regression (Nadaraya-Watson)
• Smooths price behavior
• Acts as a momentum and trend confirmation filter
• Can be used in standard or smoothed mode
⸻
Moving Average Overlays
For visual market context, the indicator includes optional overlays:
• ✅ SMA 200
• ✅ HMA 200
Both can be toggled via checkboxes and are visual aids only, unless explicitly enabled as filters.
⸻
Exit Logic
Two exit methods are available:
1. Fixed Exit
• Trades close after 4 bars
• Matches the ML model’s training horizon
2. Dynamic Exit
• Uses kernel regression and signal changes
• Designed to let profits run in strong trends
⚠️ Recommended only when no additional trend filters are active.
⸻
Backtesting & Trade Statistics
The indicator includes an on-chart statistics panel showing:
• Win rate
• Total trades
• Win/Loss ratio
• Early signal flips (useful for identifying choppy markets)
⚠️ This is intended for calibration and optimization only, not as a replacement for full strategy backtesting.
⸻
Typical Use Cases
• Swing trading (M15 – H4)
• Rule-based discretionary trading
• Set-and-forget trading
• TradingView alerts → MT4/MT5 → EA execution
• Prop-firm trading (e.g. FTMO), with proper risk management
⸻
Important Disclaimer
This indicator:
• ❌ does not guarantee profits
• ❌ is not a “holy grail”
• ✅ is a decision-support and structure tool
It performs best when:
• Combined with strict risk management (e.g. ATR-based stops)
• Used in trending or expanding markets
• Executed with discipline and consistency
Prime Minute Marker (Selected)Prime Minute Marker – Description
This script marks specific prime-numbered minutes directly on the chart using clean, plain text (no boxes or shapes).
It is designed for time-based market observation, helping traders spot recurring reactions, swings, and behavioral patterns that tend to appear at specific minutes within the hour.
The marker:
Displays only selected prime minutes
Uses simple text labels for a clutter-free chart
Does not interfere with price action
Works on any intraday timeframe
Is especially useful for swing points, liquidity reactions, and auction-based analysis
This tool is meant for observation and confluence, not as a standalone trading signal.
Relative Strength Table (Spring)This indicator helps traders quickly understand the relative strength of different groups and different stocks.
Custom 3-Bar Counter (GMT Reset)Bar counter, adjustable to suit market hours. Text colour and size changeable
Reliable 4H EST Candle Marker (All Timeframes)plots out 4 hour candle if you trying to mark out 2am, 6am, 10am etc
Session Time Lines (NY Time)This clean indicator draws vertical dashed lines on the chart at key session times in New York time:
7:00 PM – Previous day session start
3:00 AM – Overnight session
9:30 AM – NY market open
It automatically removes the previous session’s lines when a new 7:00 PM occurs, keeping the chart clean. Lines are drawn directly on the price chart (overlay), making it easy to see market session transitions.
Works on intraday charts
Time-based vertical lines in New York time (DST-safe)
Shows only one cycle at a time for clarity
Non-intrusive, no calculations or trading signals
TBS by CrypO AGWE profit-YOU loose
The Legend of the Five Guardians - A Trading Puzzle
Prologue: The Forgotten Prophecy
In the lost archives of the Market Temple, there was an ancient prophecy about five mystical guardians who together guarded the key to unlocking the secrets of the market. Each guardian embodies a different power, and only when all five speak in unison is the true path revealed.
Chapter 1: The Guardians and Their Symbols
The First Guardian: RIOS - Keeper of Extremes
Symbol: A swinging pendulum clock.
The second guardian: MILOW - Preserver of the flow of capital
Symbol: A transparent river with gold particles
The third guardian: MADRA - The dancing dragon
Symbol: Two intertwined dragons - one fast, one slow
The fourth guardian: BOLL - Architect of price channels
Symbol: Three parallel columns of light that rhythmically expand and contract
The fifth guardian: EMAROS – The fateful crosses
Symbol: Two intersecting silver and gold swords
Translated with DeepL.com (free version)
XAUUSD Scalp1. The Core Logic: "What Moves Gold?"
The indicator calculates a Total Score based on five macroeconomic drivers. Gold typically rises when these factors weaken (hence, most are inverted):
DXY (US Dollar Index): Inverted. When the Dollar drops, Gold usually rises.
TNX (10Y Yields): Inverted. Lower yields make non-yielding Gold more attractive.
Real Yields: Inverted (calculated via FRED data). The strongest long-term driver for Gold.
VIX (Fear Index): Direct. Higher market fear leads to "Safe Haven" Gold buying.
Oil (Crude): Direct. Oil acts as an inflation proxy; rising oil often pulls Gold higher.
2. Dashboard Interpretation (Top Right)
Score (Numerical): A Z-Score (standard deviation). Values above 0.22 are bullish (Long), below -0.22 are bearish (Short).
Trend Arrows: Real-time momentum. A green "up" arrow means that specific factor is currently moving in favor of a Gold rally.
Status Text:
STRONG LONG/SHORT: Massive confirmation across almost all macro data.
SCALP LONG/SHORT: Trend confirmation is present.
CHOP: Conflicting or neutral data. No trade zone.
3. Signals & Symbols
Triangles (Green/Red): These are your Entry Signals. They appear when the weighted average of all macro factors (Total Score) crosses the 0.22 threshold.
The Crown Symbol (👑): This is the "Ultimate Match." It appears only when DXY and VIX provide extreme simultaneous confirmation. These are considered the highest-probability signals.
4. Integrated Trade Management
Upon a signal, the script draws three lines:
Yellow (Entry): Your execution price.
Green (TP): Take Profit target (Default: 1.8x ATR).
Red (SL): Stop Loss (Default: 1.0x ATR).
Automated Logic: The script includes a Break-Even and Trailing system. As price moves into profit, the red SL line automatically moves to entry or trails the price to lock in gains.
5. Quick Start Guide
Timeframe: Best used on lower timeframes (1m to 15m) for active scalping.
Filtering: Ignore signals if the dashboard shows "CHOP".
Execution: Look for the 👑 (Crown) for high-conviction trades. If a green triangle appears AND the Crown is active, the macro "wind" is at your back.
Exit: Trust the automated lines (SL/TP) or close manually if the "Total Score" on the dashboard changes color (trend reversal).
Note: Since the script pulls data from external symbols (DXY, FRED, TNX), you may see a brief "Requesting Data" delay when first loading.
Chart Info & Candle CountdownThis indicator displays essential chart information directly on the chart:
Displays the current date
Displays the current symbol
Displays the current timeframe with a countdown to candle close
The candle close countdown is visually highlighted to improve time awareness:
from 2 minutes before candle close on minute timeframes
from 15 minutes before candle close on higher timeframes
This indicator is designed for informational purposes only and does not generate trading signals.
Scalper By Rodel Bhuyain High efficiency and risk control. This script provides a structured framework for high-frequency execution while maintaining strict boundaries on losses and overtrading.
### Core Advantages
**1. Strict Risk Management**
The strategy enforces a fixed 1:3 risk-to-reward ratio. By automating the exit points immediately upon entry, it eliminates "hope-trading" or moving stop losses manually, ensuring that a single win covers the cost of three losses.
**2. Overtrading Prevention**
The daily trade limit (set to 100) acts as a mechanical circuit breaker. This protects the account from catastrophic "revenge trading" by hard-locking the script once the quota is reached, regardless of market conditions.
**3. Execution Speed**
Because the logic is purely mechanical and lacks heavy indicator processing, it is extremely lightweight. This minimizes calculation lag, allowing for rapid entry and exit cycles that are difficult to perform manually at high volumes.
**4. Visual and Operational Clarity**
The UI is streamlined for focus. The color-coded background provides instant confirmation of the current bias, and the simplified input panel allows for quick adjustments to pip targets without digging into the code.
**5. Instrument Versatility**
The pip-calculation logic is dynamic. It automatically detects the decimal precision of the asset (Forex vs. Yen pairs), making it portable across different markets without needing manual code rewrites for price formatting.
**In short:**
The script excels at enforcing discipline through hardcoded limits and a healthy reward-to-risk ratio. It removes emotional bias and provides a scalable framework for high-volume trading.
xxmonk. 3H Cycle Hunter xxmonk. 3H Cycle Hunter (Absolute Fractal)
Description
This indicator is engineered to execute the "Absolute Fractal" time theory by hunting for the very first valid inefficiency that forms immediately after every 3-Hour Macro Anchor (00:00, 03:00, 06:00, 09:00, etc.).
Unlike standard FVG indicators that mark every gap, the 3H Cycle Hunter waits patiently for the specific "Cycle Reset" and identifies only the First High-Probability Setup > 17 handles. It features advanced "Mirror Logic" to dynamically adjust box coordinates based on Volume Imbalance (VI) presence.
Key Features
3-Hour Cycle Anchors: Automatically tracks the 3-hour macro blocks (00, 03, 06, 09, 12, 15, 18, 21 NY Time).
Smart "Mirror" Logic:
Standard FVG: Draws strictly Wick-to-Wick.
VI Detected: Automatically shifts to Body-to-Body precision on the specific side where the Volume Imbalance exists (using Open/Close logic).
NDOG Bypass: Intelligently ignores the 18:00 New Day Opening Gap noise, starting the hunt at 18:01 to find the true session setup.
Precision Filters:
Size Filter: Ignores any setup smaller than 17 Handles (customizable).
Eighths Grid: Automatically projects a specialized Fibonacci grid (12.5%, 25%, 50%, 75%) inside the box for precision grading.
Full Customization: Assign unique colors and text positions for each 3-hour cycle independently (e.g., make the 09:00 Open Red and the 12:00 Lunch Purple).
How to Use
Apply the indicator to your chart (Recommended: 1-Minute or 5-Minute timeframe).
Wait for a vertical cycle line (e.g., 09:00).
The indicator will scan price action until it finds the first valid gap > 17 points.
Once found, it draws an extended box with the Eighths Grid for your entry and targeting.
It then stops hunting until the next 3-hour window opens.
Settings
Max Days History: Limit how far back it draws to keep charts clean.
Minimum Gap Size: Default is 17.0 handles (Nasdaq optimized).
Cycle Colors: Customize the visual style for every specific time block.
Grid Style: Toggle the internal 1/8th grid lines on or off
Daily Numerological ProjectionsCalculate the day's behaviours using M's mathematical formula designed to aid traders know when time and price aligns on higher timeframes such as daily, weekly, and monthly
YZUHere's a comprehensive TradingView description for your YZU indicator:
---
# **YZU - Multi-Timeframe Trading Suite**
## 📊 **Overview**
**YZU** is an advanced, all-in-one trading indicator that combines **swing analysis, volume profiling, multi-timeframe visualization, smart trend detection, and market structure tools** into a single comprehensive package. Designed for serious traders, it provides institutional-grade insights across multiple timeframes with clean visual presentation.
## ✨ **Key Features**
### **1. Swing & Pivot Analysis**
- **Smart Pivot Detection**: Identifies swing highs/lows with adjustable lookback periods
- **Volume-at-Price (VPoP)**: Displays volume concentration at swing levels
- **Filter Options**: Filter swing areas by count or volume threshold
- **Customizable Styles**: Separate colors for swing highs/lows and their areas
### **2. Multi-Timeframe Candlestick Display**
- **6 Higher Timeframe Windows**: Visualize up to 6 different timeframes simultaneously
- **Custom Candle Styling**: Bull/bear colors, borders, wicks, and transparency
- **Imbalance Detection**: Automatic Fair Value Gaps (FVG) and Volume Imbalances
- **Trace Lines**: Visual lines connecting HTF candle components to current price
- **Day-of-Week Labels**: For daily candles (optional)
### **3. Market Structure Tools**
- **Breakaway FVG Detection**: Identifies strong momentum gaps with bullish/bearish bias
- **Trendline Generation**: Automatically draws trendlines from recent fractals
- **Supertrend Integration**: Modified ATR-based trend detection with sensitivity adjustment
- **Heikin Ashi Conversion**: For cleaner trend visualization
### **4. Volume & Momentum Analysis**
- **Vector Candles**: Color-coded volume analysis (Climax, Rising, Normal)
- **Volume Profile**: Intra-bar volume precision with lower timeframe data
- **VWAP Integration**: Custom period VWAP with dynamic coloring
- **Comparative Analysis**: VIX/Volatility comparison table
### **5. Trading Signals & Alerts**
- **Buy/Sell Signals**: From Supertrend and vector candle patterns
- **Pattern Alerts**: Red/Green, Green/Red, and other vector candle transitions
- **New Trendline Alerts**: Notifications when new market structure forms
- **Vector Candle Alerts**: Real-time volume climax detection
## ⚙️ **Customization Options**
### **Visual Settings**
- **Color Schemes**: Fully customizable colors for all components
- **Label Sizes**: Tiny to Huge options for all text elements
- **Display Toggles**: Show/hide individual components
- **Position Controls**: Label positioning (Top/Bottom/Both)
### **Timeframe Controls**
- **HTF Selection**: Choose 6 different higher timeframes
- **Display Limit**: Control how many HTFs to show
- **Custom Daily Open**: Adjust daily candle start time (Midnight, 8:30, 9:30 EST)
- **Remaining Time**: Countdown to next HTF candle close
### **Detection Parameters**
- **Pivot Lookback**: 1-500 bars
- **ATR Settings**: Period and multiplier for trend detection
- **Sensitivity**: Fine-tune signal responsiveness
- **Volume Thresholds**: Custom levels for climax detection
## 🎯 **Use Cases**
### **For Swing Traders**
- Identify key swing points with volume confirmation
- Track higher timeframe structure while trading lower TFs
- Spot Fair Value Gaps for potential reversal/continuation zones
### **For Day Traders**
- Multi-timeframe alignment visualization
- Volume climax detection for entry/exit timing
- Intraday VWAP and trend direction signals
### **For Market Analysts**
- Comprehensive volume profile analysis
- Market structure tracking with automatic trendlines
- Volatility comparison with VIX/other instruments
## 🔧 **Technical Details**
- **Max Lines/Labels**: 500 each (adjustable)
- **Overlay**: True (draws on main chart)
- **Version**: Pine Script v5
- **Repainting**: Minimal (uses bar confirmation where possible)
- **Performance**: Optimized for real-time use
## 📈 **Indicator Components Visualized**
1. **Main Chart**: Price action with colored vector candles
2. **Right Side**: Multi-timeframe candle displays (stacked)
3. **Top/Bottom**: Swing levels with volume labels
4. **Overlay**: VWAP, Supertrend, trendlines
5. **Bottom Right**: Comparative volatility table
6. **Boxes**: FVGs and imbalance zones
## ⚠️ **Important Notes**
- **Best on Intraday**: Optimized for minute/hourly charts
- **Resource Intensive**: Uses multiple security calls and drawings
- **Customization Required**: Adjust colors/settings to match your chart style
- **Combination Tool**: Uses multiple strategies - understand each component
## 🚀 **Recommended Setup**
1. **Start Simple**: Enable only 1-2 HTFs initially
2. **Set Colors**: Adjust to match your chart theme
3. **Configure Alerts**: Choose 2-3 key alert types
4. **Adjust Sensitivity**: Start with default, then tweak based on instrument
5. **Add to Watchlist**: Compare multiple symbols
---
**Pro Tip**: This is a complex indicator - spend time understanding each component separately before using them together. The real power comes from how these tools interact across timeframes.
*Note: This is a trading tool, not a trading system. Always use proper risk management and combine with your own analysis.*
Adjustable Average Dollar Volume ( Mashrab)Institutional Shadow Hunter. It’s not just a volume bars; it’s a X-ray for the "Big Money" flow.
The Logic: Trading the Vacuum
Standard volume tells you how many shares moved. This indicator tells you how much cash was committed. When the market goes quiet, the Shadow appears. When the "Smart Money" strikes, the Shadow vanishes.
1. The Stealth Phase (The Shadow)
When you see shading below the Average Line, the stock is in a liquidity vacuum.
The Signature: Small, shaded bars indicate "Quiet Accumulation."
The Elite Move: Look for the shadow to get as thin as possible—this is the Volatility Contraction (VCP) right before a massive expansion.
2. The Strike (The Breakout)
The moment the shading disappears, the stealth phase is over.
The Signature: A solid, bright bar towering above the Average Line.
The Elite Move: If this "unshaded" bar happens as the price breaks a pivot point, you have a 99% conviction "Home Run" entry.
3. The Bull Test (Institutional Defense)
Use the shadow to distinguish between a "crash" and a "rest."
The Logic: If the price pulls back but the bars stay shaded and low, no big funds are selling. It’s just a "shakeout" of weak hands before the next leg up.
YODA SuperTrend V Original Logic (CE / PE / COMBO)YODA SuperTrend V Original Logic (CE / PE / COMBO) good to understand direction
BoomBoomChak[V2]Indicator Description
This indicator is designed to identify trend continuation and potential pullback confirmation zones.
It helps traders filter market noise and focus on high-probability trade setups.
Applicable Markets & Timeframes
Markets: Forex, Gold, Indices
Recommended Timeframes: M15 / H1 / H4
Not recommended for timeframes below M5
Signal Types
BUY Signal (Green Arrow)
Indicates bullish market structure with confirmation.
SELL Signal (Red Arrow)
Indicates bearish market structure with confirmation.
No Signal / Filter Zone
Market conditions are unclear. Staying out is recommended.
RMSD Deviation Strategy (Adaptive MA Framework)Root Deviation + Bollinger Bands Strategy is a quantitative trend-following system designed to identify directional bias using statistical deviation and adaptive signal scoring.
This strategy combines two core engines:
• Root Mean Square Deviation (RMSD) framework
• Multi-type Moving Average benchmark system
By measuring price displacement from a dynamically selected average, the model detects expansion phases where momentum is likely to persist.
────────────────────────
🔹 **Signal Architecture**
The strategy supports three independent signal modes:
• Bollinger-style RMSD bands
• For-loop momentum scoring
• Combined probabilistic signal
The combined mode averages both engines to reduce noise and improve directional confidence.
────────────────────────
🔹 **Adaptive Moving Average Engine**
Includes multiple professional-grade averages:
SMA, EMA, WMA, VWMA
DEMA, TEMA, HMA
ALMA, FRAMA, KAMA
JMA, T3, ZLSMA
and more.
This allows traders to tune responsiveness vs stability depending on market regime.
────────────────────────
🔹 **Risk Management Layer**
Built-in controls include:
• ATR-based stop system
• Switch cooldown logic
• Commission and slippage modeling
• Percent-of-equity position sizing
These features help produce more realistic backtests and reduce overtrading.
────────────────────────
🔹 **Design Philosophy**
The strategy is built around a simple idea:
> Markets move in statistically measurable expansions.
Instead of predicting direction, the model reacts to confirmed displacement.
This makes it suitable for:
• Crypto
• Index futures
• Forex
• High-liquidity equities
Works across multiple timeframes.
────────────────────────
⚠️ **Important Notice**
This script is provided for research and educational purposes only.
It is not financial advice.
All trading involves risk.
Past performance does not guarantee future results.
Users are responsible for their own trading decisions.
Smart Order Flow Automator# 📊 Smart Order Flow Automator (SOF Pro)
### by Shiv Shakti Algo Systems
---
## 🔥 What Is This Indicator?
Smart Order Flow Automator tells you **WHERE the big players (banks, institutions, hedge funds) are buying and selling** — and gives you a clear **BUY or SELL signal** when the setup is ready.
Think of it as your personal trading assistant that:
- Shows you the **hidden levels** where big money is waiting
- Tells you **when to enter** with high-confidence signals
- Automatically calculates your **Stop Loss and 3 Take Profit** levels
- Works for **Forex, Gold (XAUUSD), Nifty, and BankNifty**
No guesswork. No confusion. Just clean signals with risk management.
---
## 👁 What Will You See On Your Chart?
### 🟢🔴 Colored Boxes (Order Blocks)
These are zones where institutions placed large orders in the past. When price comes back to these zones, there's a high probability of a bounce.
- **Green boxes** = Demand zones (institutions were BUYING here → expect price to bounce UP)
- **Red boxes** = Supply zones (institutions were SELLING here → expect price to bounce DOWN)
- **Bright color** = Fresh zone (never tested — STRONGEST)
- **Faded color** = Tested once (still good, but weaker)
- **Gray color** = Tested multiple times (weak — avoid)
### 🟦 Semi-Transparent Zones (Fair Value Gaps — FVG)
These are price gaps where the market moved too fast, leaving unfilled orders behind. Price tends to come back and fill these gaps.
- **Teal/Blue zones** = Bullish FVG (price may bounce UP from here)
- **Maroon/Dark Red zones** = Bearish FVG (price may reject DOWN from here)
- When a gap gets 50% filled, it fades automatically
- When fully filled, it disappears from your chart — keeping things clean
### ── Horizontal Lines (Key Levels)
These are the most important price levels that institutions watch every single day:
| Line | Color | What It Means |
|------|-------|---------------|
| **PDH** (Previous Day High) | Red | Yesterday's highest price — acts as resistance |
| **PDL** (Previous Day Low) | Green | Yesterday's lowest price — acts as support |
| **PDC** (Previous Day Close) | Gray | Yesterday's closing price — reference point |
| **PD POC** (Previous Day Point of Control) | Yellow (thick) | Where MOST volume was traded yesterday — price magnet (80% chance price comes here) |
| **PD VAH** (Previous Day Value Area High) | Red (thin) | Top of yesterday's fair value zone — resistance |
| **PD VAL** (Previous Day Value Area Low) | Green (thin) | Bottom of yesterday's fair value zone — support |
| **PWH** (Previous Week High) | Red (thick) | Last week's high — strong resistance for swing trades |
| **PWL** (Previous Week Low) | Green (thick) | Last week's low — strong support for swing trades |
| **PW POC** (Previous Week POC) | Yellow (thick) | Last week's volume magnet |
**💡 Simple Rule:** When price reaches these lines, WAIT for a signal. These are the levels where the best trades happen.
### 📈📉 Signal Labels
| What You See | What It Means | What To Do |
|---|---|---|
| 🟢 **"STRONG BUY"** (green label below candle) | All conditions confirmed — HIGH probability buy | Enter a BUY trade. SL/TP will appear automatically. |
| 🔴 **"STRONG SELL"** (red label above candle) | All conditions confirmed — HIGH probability sell | Enter a SELL trade. SL/TP will appear automatically. |
| 🔼 **"BUY"** (small green triangle) | Good setup but not all conditions met | Enter with caution, use tighter position size |
| 🔽 **"SELL"** (small red triangle) | Good setup but not all conditions met | Enter with caution, use tighter position size |
| 💎 **"SWEEP"** (circle below/above candle) | Big players grabbed liquidity and reversed | Very powerful reversal signal — enter in sweep direction |
### 💎 Diamond Markers (Liquidity Sweeps)
- **Green diamond below candle** = Price swept below a key low and bounced back up — Bullish reversal
- **Pink diamond above candle** = Price swept above a key high and dropped back — Bearish reversal
This is how institutions trap retail traders — they push price past a level to trigger stop losses, then reverse. This marker tells you when that happens.
### ✚ Yellow Crosses (Volume Spikes)
Small yellow crosses appear when trading volume suddenly increases significantly. High volume = something big is happening. Combine this with nearby zones for the best trades.
### ✕ Orange X-Marks (Poor High/Low)
- **Orange X above candle** = Flat top (Poor High) — likely to be swept. Future target for price.
- **Orange X below candle** = Flat bottom (Poor Low) — likely to be swept. Future target for price.
### 🚩 Small Flags (Single Prints)
These mark fast-move zones where price shot up or down without any pause. Price tends to come back to these areas. Think of them as "unfinished business."
### ── Thick Colored Line (Anchored VWAP)
This line shows the **average price** weighted by volume since the start of the session.
- **Line is GREEN** = Price is trading ABOVE average → Bullish bias → Look for BUY signals
- **Line is RED** = Price is trading BELOW average → Bearish bias → Look for SELL signals
**Simple Rule:** Only take BUY signals when the VWAP line is green. Only take SELL signals when it's red.
### ── Red/Green Dashed Lines (Stop Loss & Take Profit)
When a signal appears, you'll see automatic lines:
- **Red line** = Your Stop Loss (exit if price hits this — you were wrong)
- **Light green line** = TP1 (first target — book partial profit here)
- **Medium green line** = TP2 (second target — book more profit)
- **Dark green line** = TP3 (final target — let the rest ride to here)
These levels are **dynamic** — they adjust based on current market volatility. In a volatile market, SL is wider. In a calm market, SL is tighter. This protects you from being stopped out too early.
### 🎨 Background Colors (Session Killzones — Forex/Gold Only)
The chart background changes color based on which trading session is active:
| Background | Session | Best For |
|---|---|---|
| **Purple tint** | Asian Session | Ranging market — wait for breakout |
| **Blue tint** | London Session | High volatility — best for entries |
| **Orange tint** | New York Session | High volatility — best for entries |
**💡 Pro Tip:** The BEST signals come during London and New York sessions (blue and orange backgrounds). Avoid trading during Asian session unless you see a STRONG signal.
### 🇮🇳 Indian Market Background Colors
| Background | What It Means |
|---|---|
| **Gray tint** (11:30 AM – 1:30 PM) | Lunch time — low activity, avoid new trades |
| **Red tint** (after 3:00 PM) | Market closing soon — exit or avoid new entries |
---
## 📊 The Dashboard (Top Right Corner)
A live information panel that shows you everything at a glance:
### PREV DAY Section
- All previous day levels with their exact prices
- Distance from current price (in ticks) — tells you how far away each level is
### WEEKLY Section
- Previous week high, low, and POC prices
### MARKET STATE Section
| Label | What It Shows |
|---|---|
| **HTF Trend** | Is the bigger picture Bullish 🟢, Bearish 🔴, or Neutral ⚪? |
| **Market Type** | EXPANSION 🔥 (strong move), TRENDING 📈 (directional), or RANGE 📊 (sideways) |
| **HTF RSI** | Shows if the market is Overbought (🔴 avoid buys) or Oversold (🟢 avoid sells) |
| **Volume** | Current volume compared to average — HIGH ⚡ means something big is happening |
### SESSION Section
- Which session is active (London/NY/Asian for Forex, or Active/Lunch/Closing for Indian)
- AVWAP status — is price above ✅ or below ❌
### SIGNAL Section
- **🟢 LONG ACTIVE** = Buy trade is running
- **🔴 SHORT ACTIVE** = Sell trade is running
- **⏳ IN BUY/SELL ZONE** = Price is in a zone, waiting for confirmation
- **👁 WATCHING** = No setup yet, be patient
- When trade is active: shows live SL, TP1, TP2, TP3 prices
### RISK Section
- Current ATR value (market volatility measurement)
- Your risk percentage setting
### 🇮🇳 Indian Market Extra Info
- **Gap** — Shows if today opened with a Gap Up, Gap Down, or No Gap
- **OR H/L** — Opening Range High and Low values
- **⚠️ EXPIRY** — Thursday warning for weekly expiry volatility
---
## 🎯 How To Use — Step by Step
### Step 1: Set Up
- Add the indicator to your chart
- Go to Settings → Select your **Market Type** (Forex/Gold or Indian NSE/BSE)
- Choose your preferred timeframe (recommended: 5M or 15M)
### Step 2: Read The Dashboard
Before doing anything, check:
- ✅ HTF Trend — Which direction is the big picture?
- ✅ Volume — Is it HIGH? (Good for trading) or LOW? (Wait)
- ✅ Session — Is it an active session? (London/NY for Forex, 9:30-11:30 for India)
### Step 3: Wait For Price To Reach A Zone
- Watch for price approaching the horizontal lines (PDH, PDL, POC, etc.)
- Watch for price entering colored boxes (Order Blocks)
- The dashboard will show "⏳ IN BUY/SELL ZONE" when price reaches a zone
### Step 4: Wait For The Signal
- **DO NOT enter just because price is in a zone!**
- Wait for a **STRONG BUY**, **STRONG SELL**, or **SWEEP** label to appear
- The indicator checks volume, candle pattern, VWAP alignment, and RSI — all automatically
### Step 5: Enter The Trade
- When a signal appears, SL and TP lines will appear automatically
- Enter your trade in the signal direction
- Set your Stop Loss at the red line
- Set Take Profit at TP1 (safe), TP2 (moderate), or TP3 (aggressive)
### Step 6: Manage The Trade
- Book partial profit at TP1 (move SL to entry for a risk-free trade)
- Let remaining position run to TP2 or TP3
- For Indian markets: EXIT all trades by 3:15 PM regardless
---
## 💡 Golden Rules For Best Results
1. **Only trade STRONG signals** until you're confident with the system
2. **Best signals come at Previous Day levels** — PDH, PDL, and especially PD POC
3. **Liquidity Sweep + STRONG signal = Highest probability trade** in the entire system
4. **Fresh Order Blocks (bright color) > Tested Order Blocks (faded)** — always
5. **Green VWAP = only take buys. Red VWAP = only take sells.** Never go against it.
6. **London and New York sessions** give the best moves for Forex/Gold
7. **9:30 AM – 11:30 AM** is the golden window for Indian markets
8. **If HTF RSI shows OVERBOUGHT** — do NOT buy, wait for sells only
9. **If dashboard says RANGE** — trade towards the POC (middle). If EXPANSION — trade with the trend.
10. **Always risk maximum 1-2% per trade** — protect your capital first, profits will follow
---
## ⚙️ Quick Settings Guide
| Setting | What It Does | Recommended |
|---|---|---|
| Market Type | Switches between Forex and Indian mode | Pick your market |
| Volume Multiplier | How much volume spike is needed for signal | 1.5x (default) |
| ATR SL Multiplier | How wide your stop loss is | 1.5 (Gold), 2.0 (Forex) |
| RSI HTF Timeframe | Which timeframe for RSI filter | 240 (4 Hour) |
| Killzone Toggle | Show/hide session backgrounds | ON for Forex |
| Dashboard | Show/hide the info panel | ON (recommended) |
Everything else can stay at default. Adjust only after you're familiar with the system.
---
## ⚠️ DISCLAIMER & RISK WARNING
**PLEASE READ CAREFULLY BEFORE USING THIS INDICATOR:**
❗ **This indicator is for educational and informational purposes only.** It does NOT constitute financial advice, investment advice, or trading advice of any kind. The signals and analysis provided are tools for your own research — not instructions to buy or sell.
❗ **Trading in Forex, Gold, Equities, Futures, and Options involves substantial risk of loss.** You could lose part of or all of your invested capital. Past performance of any signal or system is NOT a guarantee of future results. Markets can and do behave unpredictably.
❗ **No indicator is 100% accurate.** Signals generated by this indicator may result in losing trades. Market conditions including slippage, spread widening, low liquidity, news events, and broker execution can affect outcomes in ways that no indicator can predict or account for.
❗ **You are solely responsible for your trading decisions.** By using this indicator, you accept full responsibility for any trades you take. The developer(s) of this indicator shall not be held liable for any financial losses, damages, or consequences resulting from the use of this indicator.
❗ **This indicator is NOT approved, endorsed, or regulated by any financial authority** including SEBI (India), SEC (USA), CFTC (USA), FCA (UK), ASIC (Australia), or any other regulatory body.
❗ **Always trade with money you can afford to lose.** If you are new to trading, we strongly recommend practicing on a demo/paper trading account before using real capital. Consult a qualified financial advisor before making investment decisions.
**By adding this indicator to your chart, you acknowledge that:**
- You have read and understood this disclaimer completely
- You accept all risks associated with trading financial markets
- You will NOT hold the developer(s) responsible for any trading losses
- You understand that signals are tools, not guarantees
- Trading decisions are 100% your own responsibility
---
*If you find this indicator helpful, please give it a 👍 and follow us for future updates! Drop a comment below if you have any questions — we're happy to help.*
*Happy Trading! 🚀*






















