SMA MAD SuperTrend | OquantThe SMA MAD SuperTrend | Oquant is an trend-following indicator designed to help traders identify potential trend directions and reversals using a unique combination of a Simple Moving Average (SMA), Mean Absolute Deviation (MAD), and a SuperTrend mechanism. This script aims to provide clear visual signals for trend entries and exits, making it suitable for traders looking to capture trends.
This indicator innovatively combines the smoothing properties of an SMA with the volatility-adaptive qualities of MAD to create dynamic SuperTrend bands. Unlike traditional SuperTrend indicators that rely on Average True Range (ATR) for volatility, this script uses Mean Absolute Deviation(MAD) to measure the average absolute deviation from the mean price, providing a different perspective on price volatility. The result is a SuperTrend system that adapts to market conditions with a focus on price deviation, offering a unique tool for trend detection.
Components and Calculations
Simple Moving Average (SMA):
The SMA is a widely used indicator that calculates the average of a specified number of closing prices. It smooths price data to identify the overall trend direction. In this script, the SMA serves as the baseline for calculating dynamic upper and lower bands.
Mean Absolute Deviation (MAD):
MAD measures the average absolute deviation of the price from its mean. It quantifies volatility by calculating how far prices deviate from the mean price, offering an alternative to ATR.
SuperTrend Mechanism:
This SuperTrend indicator generates dynamic upper and lower bands around the Simple Moving Average (SMA) using mean absolute deviation as measure of volatility.
It tracks trend direction by comparing the close price to the bands:
If the price crosses above the upper band, the trend turns bullish, and the SuperTrend follows the lower band.
If the price crosses below the lower band, the trend turns bearish, and the SuperTrend follows the upper band.
The bands adjust based on their previous values, updating only when the price crosses a band or the band shifts in the correct direction, reducing false signals and ensuring stable trend detection.
How to Use the Indicator
Trend Signals:
Green Line: Indicates a bullish trend (price above the SuperTrend line).
Purple Line: Indicates a bearish trend (price below the SuperTrend line).
Bar and Candle Coloring: Bars and candles are colored green for bullish trends and purple for bearish trends, making it easy to visualize trend direction.
Filled Areas: The area between the price and the SuperTrend line is filled with transparent colors (green for bullish, purple for bearish) to highlight trend.
Inputs:
Source: Choose the price data for calculations.
SMA Length: Adjust the period for the SMA. Longer periods smooth the trend further.
MAD Length: Set the period for MAD calculation. Shorter periods make the MAD more sensitive.
Factor: Control the distance of the SuperTrend bands from the SMA. Higher values widen the bands, reducing sensitivity to price fluctuations.
Alerts:
The script includes alert conditions for trend changes:
SMA MAD SuperTrend Long: Triggered when the trend turns bullish.
SMA MAD SuperTrend Short: Triggered when the trend turns bearish.
Set up alerts in TradingView to receive notifications for these conditions.
Why Use This Script?
The SMA MAD SuperTrend | Oquant offers a fresh take on trend-following by integrating SMA as baseline and MAD for volatility measurement, providing an alternative to ATR-based SuperTrend indicators. Its clear visual signals, customizable inputs, and alert conditions make it versatile for traders of all levels.
⚠️ Disclaimer: This indicator is intended for educational and informational purposes only. Trading/investing involves risk, and past performance does not guarantee future results. Always test and evaluate indicators/strategies before applying them in live markets. Use at your own risk.
Индикаторы и стратегии
Extreme Zone Volume ProfileExtreme Zone Volume Profile (EZVP)
Originality & Innovation
The Extreme Zone Volume Profile (EZVP) revolutionizes traditional volume profile analysis by applying statistical zone classification to volume distribution. Unlike standard volume profiles that display raw volume data, EZVP segments the price range into statistically meaningful zones based on percentile thresholds, allowing traders to instantly identify where volume concentration suggests strong support/resistance versus areas of potential breakout.
Technical Methodology
Core Algorithm:
Distributes volume across user-defined bins (20-200) over a lookback period
Calculates volume-weighted price levels for each bin
Applies percentile-based zone classification to the price range (not volume ranking)
Zone B (extreme zones): Outer percentile tails representing potential rejection areas
Zone A (significant zones): Secondary percentile bands indicating strong interest levels
Center Zone: Bulk trading range where most price discovery occurs
Mathematical Foundation:
The script uses price-range percentiles rather than volume percentiles. If the total price range is divided into 100%, Zone B captures the extreme price tails (default 2.5% each end ≈ 2 standard deviations), Zone A captures the next significant bands (default 14% each ≈ 1 standard deviation), leaving the center for normal distribution trading.
Key Calculations:
POC (Point of Control): Price level with maximum volume accumulation
Volume-weighted mean price: Total volume × price / total volume
Median price: Geometric center of the price range
Rightward-projected bars: Volume bars extend forward from current time to avoid historical chart clutter
Trading Applications
Zone Interpretation:
Zone B (Red/Green): Extreme price levels where volume suggests strong rejection potential. Price reaching these zones often indicates overextension and possible reversal points.
Zone A (Orange/Teal): Significant support/resistance areas with substantial volume interest. These levels often act as intermediate targets or consolidation zones.
Center (Gray): Fair value area where most trading occurs. Price tends to return to this range during normal market conditions.
Strategic Usage:
Reversal Trading: Look for rejection signals when price enters Zone B areas
Breakout Confirmation: Volume expansion beyond Zone B boundaries suggests genuine breakouts
Support/Resistance: Zone A boundaries often provide reliable entry/exit levels
Mean Reversion: Price tends to gravitate toward the volume-weighted mean and POC lines
Unique Value Proposition
EZVP addresses three key limitations of traditional volume profiles:
Visual Clarity: Standard profiles can be cluttered and difficult to interpret quickly. EZVP's color-coded zones provide instant visual feedback about price significance.
Statistical Framework: Rather than relying on subjective interpretation of volume nodes, EZVP applies objective percentile-based classification, making support/resistance identification more systematic.
Forward-Looking Display: Rightward-projecting bars keep historical price action clean while maintaining current market structure visibility.
Configuration Guide
Lookback Period (10-1000): Controls the historical depth of volume calculation. Shorter periods for intraday scalping, longer for swing trading.
Number of Bins (20-200): Resolution of volume distribution. Higher values provide more granular analysis but may create noise on lower timeframes.
Zone Percentages:
Zone B: Extreme threshold (default 2.5% = ~2σ statistical significance)
Zone A: Significant threshold (default 14% = ~1σ statistical significance)
Visual Controls: Toggle individual elements (POC, median, mean, zone lines) to customize display complexity for your trading style.
Technical Requirements
Pine Script v6 compatible
Maximum bars back: 5000 (ensures sufficient historical data)
Maximum boxes: 500 (supports high-resolution bin counts)
Maximum lines: 50 (accommodates all zone and reference lines)
This indicator synthesizes volume profile theory with statistical zone analysis, providing a quantitative framework for identifying high-probability support/resistance levels based on volume distribution patterns rather than arbitrary price levels.
ATR Extension from Moving Average, with Robust Sigma Bands
# ATR Extension from Moving Average, with Robust Sigma Bands
**What it does**
This indicator measures how far price is from a selected moving average, expressed in **ATR multiples**, then overlays **robust sigma bands** around the long run central tendency of that extension. Positive values mean price is extended above the MA, negative values mean price is extended below the MA. The signal adapts to volatility through ATR, which makes comparisons consistent across symbols and regimes.
**Why it can help**
* Normalizes distance to an MA by ATR, which controls for changing volatility
* Uses the **bar’s extreme** against the MA, not just the close, so it captures true stretch
* Computes a **median** and **standard deviation** of the extension over a multi-year window, which yields simple, intuitive bands for trend and mean-reversion decisions
---
## Inputs
* **MA length**: default 50, options 200, 64, 50, 20, 9, 4, 3
* **MA timeframe**: Daily or Weekly. The MA is computed on the chosen higher timeframe through `request.security`.
* **MA type**: EMA or SMA
* **Years lookback**: 1 to 10 years, default 5. This sets the sample for the median and sigma calculation, `years * 365` bars.
* **Line width**: visual width of the plotted extension series
* **Table**: optional on-chart table that displays the current long run **median** and **sigma** of the extension, with selectable text size
**Fixed parameters in this release**
* **ATR length**: 20 on the daily timeframe
* **ATR type**: classic ATR. ADR percent is not enabled in this version.
---
## Plots and colors
* **Main plot**: “Extension from 50d EMA” by default. Value is in **ATR multiples**.
* **Reference lines**:
* `median` line, black dashed
* +2σ orange, +3σ red
* −2σ blue, −3σ green
---
## How it is calculated
1. **Moving average** on the selected higher timeframe: EMA or SMA of `close`.
2. **Extreme-based distance** from MA, as a percent of price:
* If `close > MA`, use `(high − MA) / close * 100`
* Else, use `(low − MA) / close * 100`
3. **ATR percent** on the daily timeframe: `ATR(20) / close * 100`
4. **ATR multiples**: extension percent divided by ATR percent
5. **Robust center and spread** over the chosen lookback window:
* Center: **median** of the ATR-multiple series
* Spread: **standard deviation** of that series
* Bands: center ± 1σ, 2σ, 3σ, with 2σ and 3σ drawn
This design yields an intuitive unit scale. A value of **+2.0** means price is about 2 ATR above the selected MA by the most stretched side of the current bar. A value of **−3.0** means roughly 3 ATR below.
---
## Practical use
* **Trend continuation**
* Sustained readings near or above **+1σ** together with a rising MA often signal healthy momentum.
* **Mean reversion**
* Spikes into **±2σ** or **±3σ** can identify stretched conditions for fade setups in range or late-trend environments.
* **Regime awareness**
* The **median** moves slowly. When median drifts positive for many months, the market spends more time extended above the MA, which often marks bullish regimes. The opposite applies in bearish regimes.
**Notes**
* The MA can be set to Weekly while ATR remains Daily. This is deliberate, it keeps the normalization stable for most symbols.
* On very short intraday charts, the extension remains meaningful since it references the session’s extreme against a higher-timeframe MA and a daily ATR.
* Symbols with short histories may not fill the lookback window. Bands will adapt as data accrues.
---
## Table overlay
Enable **Table → Show** to see:
* “ATR from \”
* Current **median** and **sigma** of the extension series for your lookback
---
## Recommended settings
* **Swing equities**: 50 EMA on Daily, 5 to 7 years
* **Index trend work**: 200 EMA on Daily, 10 years
* **Position trading**: 20 or 50 EMA on Weekly MA, 5 to 10 years
---
## Interpretation examples
* Reading **+2.7** with price above a rising 50 EMA, near prior highs
* Strong trend extension, consider pyramiding in trend systems or waiting for a pullback if you are a mean-reverter.
* Reading **−2.2** into multi-month support with flattening MA
* Stretch to the downside that often mean-reverts, size entries based on your system rules.
---
## Credits
The concept of measuring stretch from a moving average in ATR units has a rich community history. This implementation and its presentation draw on ideas popularized by **Jeff Sun**, **SugarTrader**, and **Steve D Jacobs**. Thanks to each for their contributions to ATR-based extension thinking.
---
## License
This script and description are distributed under **MPL-2.0**, consistent with the header in the source code.
---
## Changelog
* **v1.0**: Initial public release. Daily ATR normalization, EMA or SMA on D or W timeframe, robust median and sigma bands, optional table.
---
## Disclaimer
This tool is for educational use only. It is not financial advice. Always test on your own data and strategies, then manage risk accordingly.
VXN Net VolumeThis indicator is based on other open source scripts. It displays net volume (buying minus selling) approximated from lower timeframe data, helping traders gauge buying/selling pressure.
It uses the CBOE Nasdaq Volatility Index (VXN) to color the chart background: green for low volatility (bullish) when VXN's short-term EMA is below its long-term SMA, and red for high volatility (bearish) when above.
The net volume color is not filtered by the VXN Index trend direction (background color). It’s highly recommended to align with the VXN Index trend direction when using net volume to confirm your entry. A red net volume with a red background or a green net volume with a green background provides a high-probability setup.
A moving average of net volume is optionally plotted as a blue area to highlight significant volume levels.
Enjoy this indicator? Consider a donation to support development! buymeacoffee.com
Fisher (zero-color + simple OB assist)//@version=5
indicator("Fisher (zero-color + simple OB assist)", overlay=false)
// Inputs
length = input.int(10, "Fisher Period", minval=1)
pivotLen = input.int(3, "Structure pivot length (SMC-lite)", minval=1)
showZero = input.bool(true, "Show Zero Line")
colPos = input.color(color.lime, "Color Above 0 (fallback)")
colNeg = input.color(color.red, "Color Below 0 (fallback)")
useOB = input.bool(true, "Color by OB proximity (Demand below = green, Supply above = red)")
showOBMarks = input.bool(true, "Show OB markers")
// Fisher (MT4-style port)
price = (high + low) / 2.0
hh = ta.highest(high, length)
ll = ta.lowest(low, length)
rng = hh - ll
norm = rng != 0 ? (price - ll) / rng : 0.5
var float v = 0.0
var float fish = 0.0
v := 0.33 * 2.0 * (norm - 0.5) + 0.67 * nz(v , 0)
v := math.min(math.max(v, -0.999), 0.999)
fish := 0.5 * math.log((1 + v) / (1 - v)) + 0.5 * nz(fish , 0)
// SMC-lite OB
ph = ta.pivothigh(high, pivotLen, pivotLen)
pl = ta.pivotlow(low, pivotLen, pivotLen)
var float lastSwingHigh = na
var float lastSwingLow = na
if not na(ph)
lastSwingHigh := ph
if not na(pl)
lastSwingLow := pl
bosUp = not na(lastSwingHigh) and close > lastSwingHigh
bosDn = not na(lastSwingLow) and close < lastSwingLow
bearishBar = close < open
bullishBar = close > open
demHigh_new = ta.valuewhen(bearishBar, high, 0)
demLow_new = ta.valuewhen(bearishBar, low, 0)
supHigh_new = ta.valuewhen(bullishBar, high, 0)
supLow_new = ta.valuewhen(bullishBar, low, 0)
// แยกประกาศตัวแปรทีละตัว และใช้ชนิดให้ชัดเจน
var float demHigh = na
var float demLow = na
var float supHigh = na
var float supLow = na
var bool demActive = false
var bool supActive = false
if bosUp and not na(demHigh_new) and not na(demLow_new)
demHigh := demHigh_new
demLow := demLow_new
demActive := true
if bosDn and not na(supHigh_new) and not na(supLow_new)
supHigh := supHigh_new
supLow := supLow_new
supActive := true
// Mitigation (แตะโซน)
if demActive and not na(demHigh) and not na(demLow)
if low <= demHigh
demActive := false
if supActive and not na(supHigh) and not na(supLow)
if high >= supLow
supActive := false
demandBelow = useOB and demActive and not na(demHigh) and demHigh <= close
supplyAbove = useOB and supActive and not na(supLow) and supLow >= close
colDimUp = color.new(colPos, 40)
colDimDown = color.new(colNeg, 40)
barColor = demandBelow ? colPos : supplyAbove ? colNeg : fish > 0 ? colDimUp : colDimDown
// Plots
plot(0, title="Zero", color=showZero ? color.new(color.gray, 70) : color.new(color.gray, 100))
plot(fish, title="Fisher", style=plot.style_columns, color=barColor, linewidth=2)
plotchar(showOBMarks and demandBelow ? fish : na, title="Demand below", char="D", location=location.absolute, color=color.teal, size=size.tiny)
plotchar(showOBMarks and supplyAbove ? fish : na, title="Supply above", char="S", location=location.absolute, color=color.fuchsia, size=size.tiny)
alertcondition(ta.crossover(fish, 0.0), "Fisher Cross Up", "Fisher crosses above 0")
alertcondition(ta.crossunder(fish, 0.0), "Fisher Cross Down", "Fisher crosses below 0")
Avinacci LevelsThe Avinacci levels are based on Avi's(whop.com) reading of the 8am to 8:30am, 30mn candle. The script plots equidistant levels up and down from the high and lows of this 30mn period. It only works on the 30mn chart.
BTC/USD 3分バイナリー予測【完全修正版v7.2】## BTC/USD 3-Minute Binary Prediction Indicator v7.2 Documentation
### Overview
This indicator predicts whether BTCUSD price will move ±$25 or more within 3 minutes using a 5-layer filter system and pattern recognition. Designed for 30-second timeframe analysis with statistical tracking.
### ⚠️ Critical Warnings
- **This is a prediction tool, NOT a profit guarantee**
- **30-second timeframe ONLY** (Will not function correctly on other timeframes)
- **BTCUSD pair ONLY**
- **Past performance does not guarantee future results**
- **Test thoroughly in demo before live trading**
- **You can lose your entire investment**
### Core Components
#### 1. Five-Layer Filter System
```
Layer 1: Trend Alignment (25 points) - EMA configuration analysis
Layer 2: Indicator Confluence (25 points) - RSI + MACD confirmation
Layer 3: Volume Analysis (20 points) - Abnormal volume detection
Layer 4: Key Levels (15 points) - Support/Resistance proximity
Layer 5: Momentum (15 points) - Price acceleration measurement
```
#### 2. Pattern Recognition Engine
- Double Top/Bottom formations
- Triangle patterns (Symmetrical, Ascending, Descending)
- Channel patterns
- Candlestick patterns (Engulfing, Hammer, Hanging Man)
#### 3. Performance Tracking
- Overall win rate
- Hourly performance
- Daily performance
- Real-time statistics
### Input Parameters
#### Basic Settings
- `Range Width ($)`: Target price movement (Default: $50 = ±$25)
- `Minimum Confidence (%)`: Required confidence for entry (Default: 75%)
- `Max Daily Trades`: Overtrading prevention (Default: 5)
#### Filter Settings
- `Trend Filter`: EMA alignment validation
- `Volume Confirmation`: Volume spike detection
- `S/R Filter`: Key level analysis
- `Momentum Alignment`: Directional strength confirmation
#### Display Settings
- `Minimal Mode`: Reduced visual elements for experienced users
- `Pattern Display`: Visual pattern overlays
- `EMA Lines`: Moving average visualization
### Usage Instructions
#### Setup Process
1. Open BTCUSD chart on TradingView
2. **Set timeframe to 30 seconds** (CRITICAL)
3. Add indicator to chart
4. Adjust parameters if needed
#### Reading Signals
**Decision Panel (Left Side)**
- `HIGH`: Predicts +$25 move in 3 minutes
- `LOW`: Predicts -$25 move in 3 minutes
- `WAIT`: Conditions building, no entry yet
- `STAY`: No trade opportunity
**F-Score Interpretation**
- 65+ points: Direction suggestion (light color)
- 80+ points: Strong signal (solid color)
- Entry ready: Exclamation mark (!)
**Statistics Panel (Right Side)**
- Win rate: Percentage of successful predictions
- 1H Stats: Last hour performance
- Daily Stats: Today's results
#### Entry Execution
1. Wait for `HIGH!` or `LOW!` in decision panel
2. Large arrow appears on chart (▲ for HIGH, ▼ for LOW)
3. Enter at **next candle open**
4. Result evaluated after 3 minutes (6 candles)
### Algorithm Logic
#### Early Entry System (v7.2 Feature)
The indicator uses predictive analysis starting at F-Score 65 instead of waiting for 80:
- Faster signal generation
- Reduced opportunity loss
- Slightly lower win rate trade-off
#### Confidence Calculation
```
Base confidence: 50%
+ Filter score bonus
+ Pattern recognition bonus
+ Volatility adjustment
- Risk factors
= Final confidence (50-95%)
```
### Technical Specifications
#### Multi-Timeframe Analysis
- Primary: 30-second chart
- Secondary: 1-minute data
- Reference: 5-minute trend
#### Data Processing
- Real-time tick analysis
- No repainting (signals are final)
- Historical verification system
### Limitations & Known Issues
1. **Spread/Commission Not Included**: Actual profits will be lower
2. **30-Second Noise**: High false signal risk on ultra-short timeframe
3. **Network Latency**: Execution delays not accounted for
4. **Market Conditions**: Performance varies with volatility
5. **Algorithm Trading**: Cannot compete with HFT systems
### Performance Metrics
- Target Win Rate: 83% (aspirational)
- Evaluation Period: 3 minutes
- Risk per trade: Fixed ±$25
- Maximum daily exposure: 5 trades
### Troubleshooting Guide
**No signals appearing?**
- Check F-Score (needs 65+)
- Verify 30-second timeframe
- Ensure BTCUSD pair selected
**Low win rate?**
- Only trade 75%+ confidence signals
- Respect daily trade limit
- Avoid news events
**Pattern shows "-"?**
- Normal when no clear pattern exists
- Not all market conditions produce patterns
### Code Modification Notes
Written in Pine Script v6. Key considerations for modifications:
- Global variables use `var` for persistence
- Drawing objects require manual management
- Bar counting varies by timeframe
- Pattern detection runs on confirmed bars only
### Risk Disclosure
**IMPORTANT**: Trading cryptocurrencies involves substantial risk of loss and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to trade, you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose.
### Support & Updates
- Report issues in TradingView comments
- Check for updates regularly
- Version 7.2 is current release
- Community feedback welcome
### Legal Notice
This indicator is provided for educational and research purposes only. It should not be construed as investment advice. The authors and distributors of this indicator accept no liability for losses incurred through its use. Always consult with a qualified financial advisor before making investment decisions.
---
*Version: 7.2*
*License: Mozilla Public License 2.0*
*Author: *
*Last Updated: 2024*
**FINAL WARNING: This indicator cannot predict the future. Use at your own risk. Start with demo trading. Never trade with money you cannot afford to lose.**
NY Sessions Boxes (Live Drawing)//@version=5
indicator("NY Sessions Boxes (Live Drawing)", overlay=true)
ny_tz = "America/New_York"
t = time(timeframe.period, ny_tz)
hour_ny = hour(t)
minute_ny = minute(t)
// سشن ۱: 02:00 – 05:00
session1_active = (hour_ny >= 2 and hour_ny < 5)
session1_start = (hour_ny == 2 and minute_ny == 0)
// سشن ۲: 09:30 – 11:00
session2_active = ((hour_ny == 9 and minute_ny >= 30) or (hour_ny > 9 and hour_ny < 11))
session2_start = (hour_ny == 9 and minute_ny == 30)
var box box1 = na
var float hi1 = na
var float lo1 = na
if session1_start
hi1 := high
lo1 := low
box1 := box.new(left = time, right = time, top = high, bottom = low, bgcolor=color.new(color.blue, 85), border_color=color.blue)
if session1_active and not na(box1)
hi1 := math.max(hi1, high)
lo1 := math.min(lo1, low)
box.set_right(box1, time)
box.set_top(box1, hi1)
box.set_bottom(box1, lo1)
if not session1_active and not na(box1)
box1 := na
hi1 := na
lo1 := na
var box box2 = na
var float hi2 = na
var float lo2 = na
if session2_start
hi2 := high
lo2 := low
box2 := box.new(left = time, right = time, top = high, bottom = low, bgcolor=color.new(color.purple, 85), border_color=color.purple)
if session2_active and not na(box2)
hi2 := math.max(hi2, high)
lo2 := math.min(lo2, low)
box.set_right(box2, time)
box.set_top(box2, hi2)
box.set_bottom(box2, lo2)
if not session2_active and not na(box2)
box2 := na
hi2 := na
lo2 := na
AMD [TakingProphets]Overview
The AMD indicator is a real-time, high-resolution tool designed for traders following ICT methodology who want a clear visualization of higher timeframe (HTF) candles directly on their lower timeframe charts.
It overlays current HTF structure, including open, high, low, and close projections, allowing traders to align intraday decisions with institutional price delivery — all without switching timeframes.
Concept & Background
In ICT concepts, market behavior often follows a pattern of accumulation, manipulation, and distribution. Understanding these phases is essential for anticipating when price is likely to expand or reverse.
AMD automates this process by:
-Overlaying HTF candles directly on your lower timeframe chart.
-Projecting live levels like the current open, high, low, and close to map out evolving bias.
-Helping traders see whether price is accumulating orders, engineering liquidity sweeps, or distributing aggressively.
Key Features
Live HTF Candle Overlay
-Displays the full HTF candle — body, wicks, and directional bias — on your active chart in real time.
-Perfect for traders aligning intraday setups with broader HTF context.
Dynamic HTF Price Projections
-Plots the evolving open, high, low, and close for the current HTF candle.
-Each projection can be customized by color, style, labels, and visibility to fit your workflow.
Full Customization Control
-Adjust candle body widths, wick styles, and transparency.
-Configure projection lines and time labels in both 12h and 24h formats.
-Includes an optional Info Box showing instrument, timeframe, and session context.
Session Timing & Labeling
-Smart timestamping marks the start and close of each HTF candle.
-Helps traders anticipate potential expansions or reversals during killzones or liquidity events.
How to Use It
Select Your HTF Context
-Choose any timeframe overlay (e.g., 1H, 4H, 1D) to match your trading model.
-Monitor Live HTF Levels
-Watch how price interacts with current HTF highs, lows, and equilibrium levels in real time.
-Integrate With ICT Concepts
-Use alongside tools like SMT divergence, Order Blocks, or Liquidity Levels for confirmation and context.
-Refine Intraday Entries
-Check whether price is expanding in your favor before entering positions.
Best Practices
Combine AMD with ICT killzone sessions to monitor HTF behavior during high-liquidity periods.
Use it alongside correlated SMT divergence tools for stronger directional bias confirmation.
Who It’s For
Scalpers anchoring quick entries to HTF sentiment.
Intraday traders syncing 5m/15m setups with 1H/4H context.
Swing traders monitoring HTF ranges without switching charts.
Educators & analysts needing clean visual overlays for teaching and content creation.
Why It’s Useful
AMD doesn’t provide trading signals or predictive guarantees. Instead, it offers a clean, structured view of HTF price delivery — enabling traders to understand institutional intent as it unfolds and manage their execution with greater confidence.
[blackcat] L1 Volume-Weighted RSIOVERVIEW
This script implements a Volume-Weighted RSI (VW-RSI) indicator that enhances traditional RSI calculations by incorporating volume data, providing more accurate momentum signals. The indicator plots a yellow VW-RSI line with customizable overbought/oversold levels and visual background coloring. It automatically generates BUY/SELL labels based on sophisticated crossover conditions, making it a powerful tool for identifying potential trend reversals and market entry/exit points. The script uses Wilder's Moving Average for smoothing and supports various price sources for flexible analysis.
FEATURES
📊 Volume-Weighted RSI Calculation: Incorporates trading volume into RSI calculations for more accurate momentum signals
🔧 Customizable Parameters: Adjustable RSI length (1-100), overbought/oversold levels, and price source selection
🎯 Visual Signals: Automatic BUY/SELL labels appear when specific crossover conditions are met
🎨 Visual Enhancements: Color-coded background (red for overbought, green for oversold) and reference lines
📈 Multiple Timeframe Support: Works across different timeframes with a max bars back setting of 5000
🔄 Sophisticated Logic: Combines multiple crossover conditions for reliable signal generation
HOW TO USE
Add to Chart: Add the indicator to your TradingView chart by searching for "L1-VW-RSI"
Configure Settings: Adjust the input parameters in the settings panel:
Price Source: Select your preferred price calculation (hl2 by default)
RSI Length: Set the lookback period (default: 34)
Overbought Level: Set the overbought threshold (default: 70)
Oversold Level: Set the oversold threshold (default: 30)
Interpret Signals:
Watch for BUY labels when the VW-RSI crosses above oversold levels
Watch for SELL labels when the VW-RSI crosses below overbought levels
Confirm with Volume: Pay attention to volume spikes when signals appear for confirmation
LIMITATIONS
The indicator may produce false signals in sideways or low-volume markets
Signals are based on historical price and volume data only
The script has a maximum of 500 labels to prevent performance issues
Wilder's Moving Average calculation may lag significantly during high volatility periods
The crossover logic combines multiple conditions which may occasionally conflict
NOTES
This script is designed for educational and analytical purposes only. Always use proper risk management when trading.
The default RSI length of 34 is optimized for most trading scenarios but can be adjusted based on your trading style.
For best results, combine this indicator with other technical analysis tools and price action confirmation.
The volume-weighted approach provides more reliable signals in high-volume environments.
SUHAIBs batvol 3d indicationHow it works:
Market is split into 3 regimes → Bull (uptrend), Bear (downtrend), Neutral (range).
Each regime is a sphere.
Loop on sphere = chance of staying in same regime.
Arrow between spheres = chance of switching to another regime.
Bigger loop/arrow = stronger probability.
Direction matters (Bull→Bear ≠ Bear→Bull).
Behind the scenes:
It detects regimes using price returns or 3 custom indicators.
Data is normalized (Z-score) and classified into Bull / Bear / Neutral.
Every bar, it updates a transition matrix (counts & probabilities of switching).
Uses Laplace smoothing so numbers don’t break.
How to read diagram:
Find current sphere (e.g., Neutral).
If loop is big → likely to continue Neutral.
If one outgoing arrow is big → that’s the most likely next regime.
Unique part:
3D animated spheres + arrows with particles show live probability flows.
Can be plugged into algo/backtesting → outputs (Bull=1, Neutral=0, Bear=-1).
👉 In short:
It’s a probability map of regime shifts. The chart tells you if the market will likely stay the same or flip to another state, and which flip is most probable.
EMA 5/25 Cross Signals with AlertsIt is EMA 5/25 Cross Signals with Alerts
So you can find Golden Cross and Dead Cross
My script// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
Block-Based Trend Breakout (YTK/DTK) – v1📌 Overview
Block Trend Breakout (YTK/DTK) is a lightweight, rule-based indicator that detects potential trend reversals or volatility bursts by tracking breakouts of key structural support/resistance levels — derived from block-wise trend patterns.
The logic is simple yet effective: if a trend has been confirmed across multiple blocks (custom-length bar groups), and the price breaks its own structural boundary, a potential reversal or volatility signal is triggered.
🟥 YTK (Uptrend Breakdown) → Price breaks below the lowest low of the most recent block in an uptrend.
🟩 DTK (Downtrend Breakout) → Price breaks above the highest high of the most recent block in a downtrend.
🔍 How It Works
Block Construction: User-defined bar groups (e.g., 6 bars on a 4H chart = 24H blocks).
Trend Validation: At least N consecutive blocks must show higher highs/lows (uptrend) or lower highs/lows (downtrend).
Breakout Test: If the current bar violates the structural limit (MR block high/low), the corresponding signal is plotted.
📉 This logic identifies weakening trends or failed momentum, often preceding reversals or volatility expansions.
⚙️ Features
Adjustable block size and trend confirmation count
Option to use only closed bars (to reduce repaint risk)
Inclusive mode for “<= / >=” logic
Visual signals:
MR Block high/low levels
Trend-colored bars
Arrows for YTK (🔻) and DTK (🔺)
Built-in alerts for automated strategies
🎯 Use Cases
Spotting fakeouts and false breakouts
Identifying trend exhaustion before reversal
Confirming structural support/resistance breaks
Visual tool for discretionary traders
Signal generator for automated systems
💬 Feedback & Contributions
This script is open-source and community-driven. We actively welcome feedback, ideas, improvements, forks, and questions.
📩 Contact for collaboration or discussion:
📧 senbrke@gmail.com
MTF CRT Setup Finder (Raids + BOS linked)//@version=6
indicator("MTF CRT Setup Finder (Raids + BOS linked)", overlay=true, max_lines_count=500)
// === INPUTS ===
lookback = input.int(5, "Swing Lookback Bars", minval=2)
// === Function: Detect swing highs/lows ===
swingHigh(src, lb) => ta.pivothigh(src, lb, lb)
swingLow(src, lb) => ta.pivotlow(src, lb, lb)
// === Function: Detect CRT with memory ===
f_crt(tf) =>
hi = request.security(syminfo.tickerid, tf, high)
lo = request.security(syminfo.tickerid, tf, low)
cl = request.security(syminfo.tickerid, tf, close)
sh = request.security(syminfo.tickerid, tf, swingHigh(high, lookback))
sl = request.security(syminfo.tickerid, tf, swingLow(low, lookback))
raidHigh = not na(sh) and hi > sh and cl < sh
raidLow = not na(sl) and lo < sl and cl > sl
// store last raid state
var bool hadRaidHigh = false
var bool hadRaidLow = false
if raidHigh
hadRaidHigh := true
if raidLow
hadRaidLow := true
bosDown = hadRaidHigh and cl < sl
bosUp = hadRaidLow and cl > sh
// reset after BOS
if bosDown
hadRaidHigh := false
if bosUp
hadRaidLow := false
// === Apply on H1 only first (test) ===
= f_crt("60")
// === Plot ===
plotshape(raidHigh, title="Raid High", style=shape.diamond, color=color.red, size=size.small, text="Raid High")
plotshape(raidLow, title="Raid Low", style=shape.diamond, color=color.green, size=size.small, text="Raid Low")
plotshape(bosDown, title="Bearish CRT", style=shape.triangledown, color=color.red, size=size.large, text="CRT↓")
plotshape(bosUp, title="Bullish CRT", style=shape.triangleup, color=color.green, size=size.large, text="CRT↑")
Volume Heat ZoneVolume Zones Indicator
This Pine Script creates a volume-based zone analysis tool for TradingView.
Function:
Divides the price range (high to low) into 20 levels over a 100-candle lookback period
Measures volume activity at each price level
Draws boxes at levels with above-average volume (1.5x threshold)
Key Settings:
Lookback Period (100): Number of candles analyzed
Price Levels (20): Price range subdivisions
Volume Threshold (1.5): Minimum volume multiplier for zones
Candle Offset (1): Excludes current candle from analysis
Projection Bars (10): Extends boxes 10 bars into the future
How it works:
The indicator identifies price levels where significant trading volume occurred historically, highlighting potential support/resistance zones. Boxes are redrawn on each confirmed candle, showing dynamic volume concentration areas that traders can use for entry/exit decisions.
Trend Score Stop Loss Trend Score Indicator Guide
This indicator is designed for futures trading during RTH (Regular Trading Hours, 9:30–16:00 NY time). It’s an all-in-one bull/bear trend system with built-in stop loss logic — simple, objective, and always active.
⸻
🔹 How Trend Score Works
• The trend score is calculated only during RTH and resets at the start of each new session.
• Each candle contributes to the score as follows:
• ✅ Breaks previous high → +1
• ❌ Breaks previous low → –1
• ⚖️ Breaks both high and low → 0 (–1 + 1 cancel out)
• 💤 Breaks neither high nor low → 0
⸻
🔹 Determining the First Trend
• The first valid session trend is established when the cumulative score hits +3 or –3.
• +3 → Start of a Bull Trend
• –3 → Start of a Bear Trend
⚠️ Note: The indicator requires at least 3 candles to generate the first +3/–3 sequence.
👉 This means the first 3 minutes of the open (9:30–9:33) are ignored — a natural filter that avoids the most volatile/noisy part of the day.
⸻
🔹 Stop Loss vs. Trend Change
These are two separate events:
• Stop Loss
• A stop level is drawn at the candle that initiated the +3 or –3 trigger.
• This line is only a visual suggestion — it does not force an exit.
• Real-world stop placement depends on your own discretion, factoring in position size, volatility, and strategy.
• Hitting this level does not automatically mean the trend is over.
• Trend Change
• The trend only reverses when the opposite direction accumulates 3 points.
• Example: In a Bull trend, the system flips to Bear only when a –3 sequence occurs (and vice versa).
• A trend change can happen before or without the stop loss ever being hit.
⸻
🔹 Key Features
• ✅ Active only during RTH (9:30–16:00 NY) — no overnight distortions.
• 🔄 Auto-reset daily at the start of each session.
• 🟢🔴 Always in a trend — continuously switches between Bull and Bear.
• 🛡️ Stop loss marked visually — but final risk management is trader’s choice.
• ⏳ Avoids first 3 minutes of open — naturally filters volatility & false signals.
⸻
✨ In short:
The Trend Score Indicator transforms simple high/low breaks into a rule-based trend framework. You’ll always know if the market is in a bull or bear phase, where the suggested stop loss lies, and when a true trend reversal occurs — while still leaving risk management decisions in your hands.
⸻
For better user experience:
Deselect danger score, delta per bar, slope m10, panel label in the style tap. These are used for the calculation purpose only.
You can also change your session time to 1800 to 1600, however it may not work well in ETH session.
B A N K $ - HTF Candle Boxes (Power of 3)This indicator allows you to visualise the HTF candles on the LTF's, this is useful for using the Power of 3 / Accumulation, Manipulation & Distribution concepts.
By default, the HTF interval is set to 1h, this means that an outline will be created around the LTF candles that are within that 1h window. (i.e from 13:00-14:00 etc).
Features
HTF Interval Selector - this allows the user to customise which HTF interval to use
Candle Boxes - this outlines the full outer perimeter of the relevant candles
Include Body - this highlights the distance between the candle Open & Close
Show MidLine
Additional Settings
Hide Side Lines - this will only draw the Top & Bottom lines
Extend Lines to Current Candle - most recent Top & Bottom lines will extend to current price
Draw Lines from Exact Candle - this makes the most recent candle lines cleaner
I personally use this indicator to outline the most recent 3 1h candles to make it easier to identify sweeps & reversals however there is additional functionality to allow the user to customise the indicator to their preference.
Frank-Setup EMA, RS & RSI ✅It is a clean and simple indicator designed to identify weakness in stocks using two proven methods: RSI and Relative Strength (RS) vs. a benchmark (e.g., NIFTY).
🔹 Features
RSI Weakness Signals
Plots when RSI crosses below 50 (weakness begins).
Plots when RSI moves back above 50 (weakness ends).
Relative Strength (RS) vs Benchmark
Compares stock performance to a chosen benchmark.
Signals when RS drops below 1 (stock underperforming).
Signals when RS recovers above 1 (strength resumes).
Clear Visual Markers
Circles for RSI signals.
Triangles for RS signals.
Optional RSI labels for clarity.
Built-in Alerts
Get notified instantly when RSI or RS weakness starts or ends.
No need to constantly watch charts.
🎯 Use Case
This tool is built for traders who want to:
Spot shorting opportunities when a stock shows weakness.
Track underperformance vs. the index.
Manage risk by exiting longs when weakness appears.
Dual Adaptive Movings### Dual Adaptive Movings
By Gurjit Singh
A dual-layer adaptive moving average system that adjusts its responsiveness dynamically using market-derived factors (CMO, RSI, Fractal Roughness, or Stochastic Acceleration). It plots:
* Primary Adaptive MA (MA): Fast, reacts to changes in volatility/momentum.
* Following Adaptive MA (FAMA): A smoother, half-alpha version for trend confirmation.
Instead of fixed smoothing, it adapts dynamically using one of four methods:
* ACMO: Adaptive CMO (momentum)
* ARSI: Adaptive RSI (relative strength)
* FRMA: Fractal Roughness (volatility + fractal dimension)
* ASTA: Adaptive Stochastic Acceleration (%K acceleration)
### ⚙️ Inputs & Options
* Source: Price input (default: close).
* Moving (Type): ACMO, ARSI, FRMA, ASTA.
* MA Length (Primary): Core adaptive window.
* Following (FAMA) Length: Optional; can match MA length.
* Use Wilder’s: Toggles Wilder vs EMA-style smoothing.
* Colors & Fill: Bullish/Bearish tones with transparency control.
### 🔑 How to Use
1. Identify Trend:
* When MA > FAMA → Bullish (fills bullish color).
* When MA < FAMA → Bearish (fills bearish color).
2. Crossovers:
* MA crosses above FAMA → Bullish signal 🐂
* MA crosses below FAMA → Bearish signal 🐻
3. Adaptive Edge:
* Select method (ACMO/ARSI/FRMA/ASTA) depending on whether you want sensitivity to momentum, strength, volatility, or acceleration.
4. Alerts:
* Built-in alerts trigger on crossovers.
### 💡 Tips
* Wilder’s smoothing is gentler than EMA, reducing whipsaws in sideways conditions.
* ACMO and ARSI are best for momentum-driven directional markets, but may false-signal in ranges.
* FRMA and ASTA excels in choppy markets where volatility clusters.
👉 In short: Dual Adaptive Movings adapts moving averages to the market’s own behavior, smoothing noise yet staying responsive. Crossovers mark possible trend shifts, while color fills highlight bias.
VXN filtered CHOCH Pattern LevelsThis indicator is based on other open source scripts. It identifies Change of Character (CHOCH) patterns on Nasdaq futures (NQ and MNQ) charts, using pivot points to detect potential trend reversals.
Signals (horizontal levels) are filtered by VXN background color: bullish levels only on green background, bearish on red.
If a CHOCH occurs on the wrong background, it is remembered (pending), and triggered when the background aligns. The last CHOCH signal is remembered to avoid wasting it.
It plots horizontal levels anchored to the extreme points of CHOCH patterns (lowest low for bullish, highest high for bearish), using the labeling and line-drawing style from the VXN Anchored VWAP indicator.
Lines are drawn as polylines (horizontal) with labels at the anchor point and current bar showing the level value.
The VXN index provides background color for market sentiment (green for bullish, red for bearish).
Historical levels are plotted semi-transparently when a new filtered signal is confirmed (on detection if aligned or on trigger).
Enjoy this indicator? Consider a donation to support development! buymeacoffee.com