Volume Profile with HVN / LVN Detection (Low-TF Safe)Session-based volume profile with VPOC, HVN, and LVN detection, optimized for fast charts and runtime-safe lower-timeframe execution.
Volume Profile with HVN / LVN Detection (Low-TF Safe)
This indicator plots a session-based Volume Profile , highlights the Volume Point of Control (VPOC) , and automatically detects High Volume Nodes (HVNs) and Low Volume Nodes (LVNs) from the completed profile.
It is a performance-focused refactor of the original Volume Profile With HVN/LVN Detector , redesigned to work reliably on fast timeframes (including 5-second charts) without runtime errors.
Features
Session-based volume profile with adjustable row resolution
VPOC with optional extension and date labeling
Automatic HVN and LVN detection from the prior session
HVNs and LVNs displayed as levels or areas
Configurable strength, colors, and line/area styles
Runtime-safe lower-timeframe handling using request.security_lower_tf
Optimized to reduce execution overhead on high-frequency charts
Designed for traders who use volume structure to identify acceptance, rejection, and potential support/resistance zones across all chart timeframes.
---
Whatโs new in this version
Refactored lower-timeframe logic to prevent runtime errors on fast charts
Automatic, runtime-safe fallback when selected lower TF exceeds chart TF
Stable execution on very low timeframes (e.g. 5s, 10s)
Preserved original profile, VPOC, HVN, and LVN behavior
No repainting of completed session profiles
This update prioritizes stability, correctness, and cross-timeframe compatibility .
---
Credits & Attribution
This script is based on the original
โVolume Profile With HVN/LVN Detectorโ
by tradeforopp (revised by Madpuppy88 ).
The current version refactors the original implementation to improve:
Runtime safety on low timeframes
Performance on high-frequency charts
Robust multi-timeframe handling
Original concept and core logic credit remain with the original authors.
---
How to Use
VPOC highlights the price level of highest traded volume for the session and often acts as a magnet or balance point.
HVNs represent areas of acceptance where price previously traded heavily and may act as support/resistance or consolidation zones.
LVNs mark areas of rejection where price moved quickly and may act as inflection or breakout levels.
Use HVNs and LVNs from the prior session to frame intraday bias, targets, and risk zones.
On very fast charts, the script automatically falls back to chart-timeframe data to maintain stability.
Indikator dan strategi
Visual ATR Trailing StopVisual ATR Trailing Stop, that lets you select price and date from your screen
Commodity Channel Index - CCI๐ฏ Overview
This is an enhanced Commodity Channel Index (CCI) indicator that transforms the traditional CCI into a centerline-focused momentum tool with moving average smoothing and comprehensive visual enhancements. Unlike standard CCI which uses ยฑ100 levels, this version focuses on the 50-level centerline for clearer trend direction signals.
๐งฉ Core Components
1. โ๏ธ Technical Foundation
๐ Primary Calculation: Uses TradingView's built-in ta.cci() function
๐ Statistical Approach: Measures current price relative to statistical mean
๐ฏ Scale Modification: Focuses on 50 as neutral (unlike traditional ยฑ100)
๐ Default Length: 55 periods (optimal for medium-term trends)
2. ๐๏ธ Configuration Parameters
๐ CCI Length: Default 55 periods
๐ CCI MA Length: 30-period moving average
๐ MA Type: 6 options (EMA, SMA, RMA, WMA, VWMA, HMA)
๐จ Color Themes: 5 visual schemes matching your other indicators
๐ Signal Interpretation:
๐ข BULLISH: CCI > 50 (price above statistical mean)
๐ด BEARISH: CCI < 50 (price below statistical mean)
๐๏ธ Visual Features
๐ Chart Elements:
๐ Main CCI Line:
Shows raw CCI momentum
๐ Signal Line (CCI MA):
Yellow moving average of CCI
30-period default provides smoothed trend
๐จ Fill Zones:
๐ข Upper Zone : Bullish momentum area
๐ด Lower Zone : Bearish momentum area
๐ Dashboard Display:
Content: "โฌ๏ธ Bullish" or "โฌ๏ธ Bearish" indicator
Purpose: Instant market bias assessment
โก Trading Applications
๐ Primary Uses:
๐ฏ Trend Direction Identification
CCI > 50 = Uptrend momentum
CCI < 50 = Downtrend momentum
๐ Extreme Momentum Detection
CCI > 100 = Strong bullish (traditional)
CCI < -100 = Strong bearish (traditional)
CCI near ยฑ300 = Extreme conditions
๐ Mean Reversion Opportunities
Useful in ranging markets
๐ฏ Signal Types:
๐ Trend-Following: Stay long when CCI > 50, short when < 50
๐ Mean Reversion: Fade extreme readings (>100 or <-100)
โก Crossover Signals: CCI crossing 50 provides entry/exit points
๐จ Customization Options
๐ Moving Average Types:
๐ EMA: Exponential - responsive to recent CCI changes
๐ SMA: Simple - smooths CCI equally
๐ RMA: Relative - TradingView's special MA
โ๏ธ WMA: Weighted - emphasizes recent CCI values
๐ VWMA: Volume-weighted - incorporates volume indirectly
๐ HMA: Hull - reduces lag on CCI signals
๐จ Visual Themes: (Consistent with your suite)
๐จ Classic: Green/Red (traditional)
๐ Modern: Cyan/Purple (contemporary)
๐ช Robust: Amber/Deep Purple (high contrast)
๐ Accented: Purple/Magenta (vibrant)
โซโช Monochrome: Light Gray/Dark Gray (minimalist)
๐ Alert System
๐ข LONG Alert: Triggers when CCI > 50
๐ด SHORT Alert: Triggers when CCI < 50
๐ง Format: Includes ticker symbol for portfolio tracking
โก Key Advantages
โ
Strengths:
๐ฏ Clear Centerline Focus: 50-level provides unambiguous trend direction
๐ Statistical Foundation: Based on mean deviation (more robust than simple oscillators)
๐๏ธ Extreme Zone Visualization: ยฑ300 boundaries show momentum extremes
๐ Versatile Application: Works for both trend-following and mean reversion
๐ฑ Professional Suite: Consistent design with your RSI and SMI indicators
โก Optimal Settings:
๐ Trending Markets: 55-period CCI (default)
๐ Ranging Markets: Shorter periods (20-30)
๐ Volatile Markets: Longer periods (80-100)
๐ฑ Day Trading: 20-period with EMA smoothing
๐ Unique Features:
Statistical Rigor: Based on mean deviation (not just price differences)
Wide Range: ยฑ300 scale captures extreme movements
Centerline Focus: Clear binary trend signals
Visual Harmony: Consistent with your indicator suite design
This CCI indicator provides a statistically robust approach to trend identification while maintaining the visual consistency and user-friendly design of your trading suite! ๐โจ
AVSL - XAUUSD M1 OptimizedCredit to Rafka.
This script is optimized for XAUUSDT.P 1-minute trading based on AVSL Indicator from Rafka.
FVG w/ Correlated ConfirmationThis Pine Script indicator detects Fair Value Gaps (FVGs) on your chartโprice gaps between candles where no trading occurred, often signaling potential support or resistance zones. It highlights bullish FVGs (gap ups) and bearish FVGs (gap downs) as colored boxes directly on the chart. The indicator also optionally confirms these FVGs by checking if a correlated asset (e.g., NASDAQ:NDX) shows a similar FVG, increasing confidence. Midpoint lines inside the boxes can be displayed to mark the center of the gap.
Boxes are anchored to the exact candles where the FVG forms and extend rightwards by a user-defined number of bars, remaining fixed and not sliding as new bars form. Correlated FVGs add an extra layer of confirmation from related markets, improving reliability and reducing false signals.
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
KAPISH Weekly Open + Trailing SLThis script is a highly precise, rule-based breakout strategy designed to trade the Weekly Open price level. It is built for a "Jane Street" style of disciplined execution, meaning it prioritizes confirmation over speed to avoid market noise and "fakeouts."Here is the structural breakdown of how the script functions:1. The Core Anchor: Weekly OpenThe strategy uses the Weekly Open as its "Fair Value" line.It assumes that if price holds above the Weekly Open, the weekly trend is bullish.If price holds below, the trend is bearish.It applies your 0.01 buffer to ensure the breakout is meaningful and not just a "touch" of the level.2. The Precision Filter: 2-Candle DelayThis is the most critical part of the logic. Most retail traders enter the moment a level is crossed. This script does the opposite:Step 1: Price crosses the Weekly Open $\pm$ 0.01. (Marked by a tiny gray circle).Step 2: The script waits for two full candles to close.Step 3: On the third candle, it checks: "Is price still above/below the Weekly Open?"Result: If yes, it fires the BUY/SELL 2QTY signal. This filters out "stop-hunts" where price spikes and immediately reverses.3. Professional Trade Management (The "Split-Exit")Instead of exiting the whole trade at once, the script manages 2 Units (QTY) differently:Target 1 (TP1): A fixed "offload" point. This is designed to capture quick profit and reduce the risk of the trade.Target 2 (TP2) + Trailing SL: The second unit is the "runner."It aims for a larger target.It utilizes a Trailing Stop Loss that "climbs" behind the price. If price moves 30 points in your favor, the stop loss moves up 30 points automatically.
Triple VWAP (RTH Anchored + 1D/2D Rolling) w/ Z-ScoreRolling & Anchored VWAP Hybrid
Description:
This indicator is designed for intraday traders (Futures, Crypto, Equities) who need to quickly identify market regimes by comparing session-specific value against multi-day rolling value.
Traditional VWAP indicators force you to choose between "Anchored" (RTH) or "Rolling" (24h). This script combines both into a single hybrid tool, allowing you to spot trend days, mean reversion opportunities, and "fair value" dislocations instantly.
Key Features:
1. Hybrid VWAP Engine
RTH Anchored VWAP (Orange): Anchors automatically at the session open (default 09:30 NY). This represents the "true" institutional fair value for the current active session, ignoring overnight noise.
1-Day Rolling VWAP (Blue): A continuous 24-hour rolling window. This represents the short-term memory of the market (overnight + RTH).
2-Day Rolling VWAP (Purple): A continuous 48-hour rolling window. This acts as a slower, higher-timeframe support/resistance level.
2. Market Regime Identification
By observing the relationship between these three lines, you can instantly define the regime:
Bull Trend: Price > RTH VWAP > 1D VWAP > 2D VWAP.
Bear Trend: Price < RTH VWAP < 1D VWAP < 2D VWAP.
Expansion: When RTH VWAP breaks away from the 1D/2D Rolling VWAPs.
Compression/Chop: When all three lines are flat and entangled.
3. Integrated Z-Score Matrix (Table)
A built-in heatmap table displays the real-time Z-Score (standard deviation distance) of the current price relative to the 1-Day and 2-Day Rolling VWAPs.
How to use:
High Z-Score (> 2.0): Price is statistically extended (expensive). Look for mean reversion or exhaustion.
Low Z-Score (< -2.0): Price is statistically cheap. Look for bounces.
Zero (0.0): Price is at equilibrium (Fair Value).
Settings & Customization:
Session Time: Fully customizable RTH session (default 09:30-16:00) and Timezone.
Bands: Optional standard deviation bands for the RTH VWAP to visualize volatility.
Alerts: Built-in alert conditions for Price crossing any VWAP and for VWAP crossovers (Golden/Death crosses of value).
DafeVisualsLibDafeVisualsLib: The Architect - The Intelligent Visualization Engine
This is not a library of drawing functions. This is an AI-powered artist and data scientist that lives in your code. It automates the complex, time-consuming process of data analysis and visualization, allowing you to focus on what truly matters: your trading ideas.
โ CHAPTER 1: THE PHILOSOPHY - BEYOND PLOTTING, INTO PERCEPTION
For too long, the world of technical indicator development has been bifurcated. On one side, you have the quantitative analyst, obsessed with mathematical purity but often displaying their work in a crude, unintuitive manner. On the other, you have the visual designer, creating beautiful indicators that often lack analytical depth. The result for the end-user is a compromise: either a tool that is powerful but ugly and hard to interpret, or one that is beautiful but analytically shallow.
The DafeVisualsLib was created to shatter this compromise. Its core philosophy is that great analysis and great visualization are not separate disciplines; they are two sides of the same coin . An indicator should not just present data; it should communicate intelligence. It should automatically understand the nature of the data it is given and render it in the most effective, intuitive, and aesthetically pleasing way possible.
This library is an "Architect." You provide it with the raw materialsโa simple data series like an RSI or a moving averageโand it handles the entire complex process of analysis, configuration, and rendering. It is the ultimate accelerator for developers, saving hundreds of hours of boilerplate code, and the ultimate upgrade for traders, providing a level of clarity and visual intelligence previously unseen on this platform.
โ CHAPTER 2: THE CORE INNOVATION - THE "ANALYZE, THEN RENDER" PARADIGM
The DafeVisualsLib operates on a revolutionary two-stage pipeline that sets it apart from any other tool.
STAGE 1: The analyze() Function (The Data Scientist)
This is the brain. Before a single line is drawn, this function performs a sophisticated statistical analysis on your raw data series to understand its fundamental character. It asks the critical questions that a human analyst would:
What type of data is this? It automatically detects if your data is a bounded "oscillator" like an RSI, a zero-centric "momentum" indicator like MACD, a "price"-based line like a moving average, or a "volume"-based metric.
What is the current market regime? It analyzes the data's volatility (using the coefficient of variation) to classify the current environment as a low-volatility "squeeze," a moderate-volatility "trend," or a high-volatility "volatile" state.
Where is the data in its cycle? It normalizes the data to a 0-100 scale and determines if it is currently at a statistical "extreme."
The output of this stage is a MetricAnalysis objectโa complete analytical report on the DNA of your data.
STAGE 2: The auto_config() Function (The Artist & Physicist)
This is where the magic happens. This function takes the analytical report from analyze() and uses it to make a series of intelligent, context-aware decisions about how the data should be visualized.
Intelligent Color Logic: It doesn't just use one color. For an oscillator, it will create a beautiful heatmap gradient. For a momentum indicator, it will use a binary bull/bear color scheme.
Neon Physics: It separates the color into a solid c_core and a transparent c_glow. The opacity of the glow is not static; it is dynamically controlled by the detected market regime. In a "volatile" regime, the glow becomes bright and intense. In a "squeeze," it becomes dim and subtle.
Adaptive Style & Width: It automatically adjusts the plot style and line width. A "momentum" indicator will be rendered as a histogram by default. A "price" line will be thick and bold in a volatile market and thin and clean in a calm market.
Smart Zones: If it detects that the data is an "oscillator," it will automatically recommend showing overbought/oversold zones and provide the standard 70/30 levels.
The output of this stage is a PlotConfig objectโa complete, ready-to-use set of plotting instructions, intelligently tailored to your specific data and the current market conditions.
โ CHAPTER 3: THE DEVELOPER'S TOOLKIT - A MASTERCLASS IN EFFICIENCY
This library is a gift to Pine Script developers. It is a suite of powerful, high-level functions designed to simplify your workflow and elevate your final product.
The Theme Engine
Forget hard-coding colors. The get_theme() function provides access to a library of professionally designed, high-contrast color themes ("Neon," "Cyber," "Matrix," "Gold," etc.). Each Theme object contains a complete palette for primary, secondary, accent, bull, bear, and neutral colors, ensuring perfect visual consistency across your entire indicator.
The UI & HUD Helpers
Building user interfaces with tables can be tedious. This library provides a suite of helper functions to make it effortless.
smart_text(): Automatically selects black or white text for optimal contrast against any background color.
draw_bar(): Creates a clean, beautiful ASCII progress bar from a simple percentage value.
draw_stars(): Creates a five-star rating visualization.
gradient_color(): A powerful function for creating smooth color transitions.
get_signal_style() & get_zone_style(): High-level functions that return complete styling configurations for signals and support/resistance zones based on your chosen theme.
The Simplicity of Integration: A 4-Step Workflow
The true beauty of the DafeVisualsLib is its simplicity. You can create a stunning, intelligent, and fully functional indicator in just four steps:
Import the library: import YourUsername/DafeVisualsLib/1 as viz
Get your theme: viz.Theme theme = viz.get_theme("Neon")
Calculate your metric: float rsi = ta.rsi(close, 14)
Let the Architect do the work: viz.PlotConfig cfg = viz.auto_config(rsi, "RSI", theme)
Plot the result: plot(cfg.value, cfg.title, cfg.c_core, cfg.width)
In these few lines, the library has automatically analyzed your RSI, determined the market regime, selected the appropriate plot style, calculated a dynamic color gradient with a physics-based glow, and adapted the line width to the current volatility. This is the power of the Architect.
โ CHAPTER 4: DEVELOPMENT PHILOSOPHY
The DafeVisualsLib was born from a desire to democratize elite-level indicator design. For too long, the ability to create beautiful, context-aware, and intuitively designed indicators has been the domain of a select few developers with deep knowledge of both programming and graphic design. This library changes that. It is an open-source tool that encapsulates thousands of hours of research and development into a simple, powerful API.
My philosophy is that a developer's most valuable asset is their idea. They should be free to focus on inventing new, powerful analytical concepts, without getting bogged down in the tedious, repetitive work of building robust visualization and configuration systems from scratch. This library is my contribution to the Pine Script communityโa tool for builders, designed to accelerate innovation and elevate the quality of indicators for everyone.
This library embraces that philosophy. It handles immense complexity on the backend to deliver absolute simplicity and elegance on the frontend, both for the developer who uses it and the trader who benefits from it.
โ A NOTE TO USERS & DISCLAIMER
THIS IS A LIBRARY FOR DEVELOPERS: This script does nothing on its own. It is a powerful engine that must be imported and used by other indicator developers in their own scripts. It is a tool for building, not a ready-made indicator.
THE ANALYSIS IS A GUIDE: The analyze() function's classification of data and regimes is based on a robust set of heuristics, but it is a statistical interpretation. It provides a powerful baseline for visualization but is not a substitute for a trader's own judgment.
"Simplicity is the ultimate sophistication."
โ Leonardo da Vinci
Taking you to school. - Dskyz, Create with DAFE
Relative Strength Table (Spring)This indicator helps traders quickly understand the relative strength of different groups and different stocks.
Relative Strength Index - RSI๐ฏ Overview
This is an enhanced Relative Strength Index (RSI) indicator for TradingView that combines traditional RSI analysis with a moving average overlay to generate more reliable trading signals โก
๐งฉ Core Components
1. โ๏ธ Indicator Settings
2. ๐๏ธ Input Parameters
A. ๐จ Color Settings:
5 different color themes: ๐จ Classic, ๐ Modern, ๐ช Robust, ๐ Accented, โซโช Monochrome
Each theme provides distinct bullish/bearish color pairs
B. ๐ RSI Configuration:
๐ Length: Default 14 periods
๐ Source: Default close price (customizable)
๐ RSI MA Length: Default 365 periods
๐ RSI MA Type: 6 options (EMA, SMA, RMA, WMA, VWMA, HMA)
C. ๐ข Signal Display:
โ
Toggle for Bull/Bear crossover signals
๐ Table display showing current market bias
3. ๐งฎ Technical Calculations
A. ๐ RSI Calculation:
Standard RSI formula using ta.rsi()
Configurable source and period length
B. ๐ RSI Moving Average:
Customizable MA type applied to the RSI values
Serves as a dynamic signal line
Default 365-period EMA smooths long-term trends
C. ๐ Signal Detection:
๐ข isBull_RSI: RSI > RSI_MA (bullish condition)
๐ด isBear_RSI: RSI < RSI_MA (bearish condition)
๐ข Bull: Crossover signal (RSI crosses above MA)
๐ด Bear: Crossunder signal (RSI crosses below MA)
4. ๐๏ธ Visual Elements
A. ๐ Main Plots:
๐ RSI Line: Thick line (width 3) colored conditionally based on position relative to its MA
๐ RSI MA Line: Yellow line showing the smoothed RSI
๐ฏ 50-Level Line: Dashed white reference line
B. ๐จ Fill Areas:
๐ข Overbought Zone : Filled between RSI and MA
๐ด Oversold Zone : Filled between RSI and MA
Colors vary based on selected theme
C. ๐ Background Highlights:
Subtle background coloring on bullish/bearish crossover signals
D. ๐ Table Display:
Shows "โฌ๏ธ Bullish" or "โฌ๏ธ Bearish" with appropriate coloring
5. ๐ Alert System
๐ข LONG Alert: Triggers when RSI > RSI_MA
๐ด SHORT Alert: Triggers when RSI < RSI_MA
Includes ticker symbol in alert message
๐ Trading Logic
๐ฏ Primary Signals:
๐ข Bullish Setup:
๐ RSI crosses above its moving average
๐ RSI remains above MA (continuous bullish condition)
๐จ Visual: Green/theme bull colors, bullish fill areas
๐ด Bearish Setup:
๐ RSI crosses below its moving average
๐ RSI remains below MA (continuous bearish condition)
๐จ Visual: Red/theme bear colors, bearish fill areas
โจ Key Features:
๐ Trend Filter: The RSI MA (365-period) acts as a long-term trend filter
โก Momentum + Trend: Combines momentum (RSI) with trend (MA) for higher probability signals
๐๏ธ Visual Clarity: Color-coded elements make market state immediately apparent
๐ ๏ธ Customizability: Multiple MA types and color schemes adapt to different trading styles
๐ป Code Structure
The script is well-organized with clear sections:
๐ง MA function definition
โ๏ธ Input settings
๐งฎ Calculations
๐จ Color definitions
๐ Plotting
๐ Table display
๐ Alert conditions
๐ฏ Best Use Cases
๐ Trend Following: In trending markets, signals align with the overall direction
๐ Mean Reversion: In ranging markets, oversold/overbought fills indicate potential reversals
โฐ Multi-Timeframe Analysis: Works well on daily/weekly charts for long-term positioning
โ
Signal Confirmation: Can be combined with other indicators for entry/exit confirmation
๐ Unique Advantages
๐ฏ Reduced Whipsaws: Long MA period (365) filters out noise
๐๏ธ Clear Visual Hierarchy: Multiple visual layers convey information efficiently
๐ผ Professional Presentation: Clean, organized display suitable for sharing
๐ ๏ธ Flexible Configuration: Adaptable to different assets and timeframes
Quantum Trend Flow Pro (QTF+) - Ribbon & LabelsQuantum Trend Flow Pro (QTF+) โ Ribbon Edition
Author: Jonathan Mwendwa Ndunge
Overview:
Quantum Trend Flow Pro (QTF+) Ribbon is a professional-grade multi-timeframe trend indicator designed for day traders and swing traders who follow Smart Money Concepts (SMC) and price action strategies. The indicator visualizes market trend strength and probability of bullish or bearish continuation through a dynamic confidence ribbon, while leaving the main chart fully visible for price action analysis.
Key Features:
Multi-Timeframe Trend Alignment:
Computes trend scores across HTF (4H), MTF (1H), and LTF (15M) using Donchian Channels (fast, mid, slow).
Scores trends to provide a quantitative confidence metric.
Confidence Ribbon (Subpane):
Displays bullish (green) and bearish (red) probabilities as a dynamic ribbon histogram.
Neutral line at 50 helps visually identify market balance.
Ribbon is scaled in its own pane so candles remain fully visible, keeping chart clean and professional.
Volatility Filter:
Uses ATR to avoid low-volatility periods that produce choppy signals.
Execution Potential:
Can be combined with CHOCH, Order Block, and Liquidity Sweep scripts to identify high-confidence trade setups.
Professional Display:
Ribbon in a separate pane mimics hedge fund dashboard style, giving traders a quick visual of trend strength without cluttering the price chart.
Usage Notes:
Ideal for day trading and short-term swing trading.
Use in conjunction with execution labels for entries.
Adjust Donchian lengths and confidence threshold to match market behavior and risk tolerance.
Can be applied to multiple instruments for scanning or dashboard setups.
Goal:
Provide a high-confidence, professional visualization of trend strength, combining smart money concepts and multi-timeframe analysis.
Keep the chart clean, readable, and suitable for institutional-style decision-making.
JBK 2 bougies (tailles B1/B2 + contraintes + 4 EMA + EMA Cloud) JBK โ 2 bougies (tailles B1/B2 + contraintes + 4 EMA + EMA Cloud) โ v4.4
Quantum Trend Flow (QTF) - Jonathan Mwendwa NdungeQuantum Trend Flow (QTF)
Author: Jonathan Mwendwa Ndunge
Description:
Quantum Trend Flow (QTF) is a cutting-edge, institutional-grade trend analysis and execution indicator designed for day trading and short-term swing strategies. It leverages multi-timeframe trend analysis, probabilistic scoring, liquidity sweep detection, CHOCH (Change of Character), and Order Block confirmation to provide high-confidence trading opportunities.
Key Features:
Multi-Timeframe Trend Scoring:
Tracks 3 Donchian channels across HTF (4H), MTF (1H), and LTF (15M) to compute a trend probability score.
Scores the market bias dynamically for both bullish and bearish conditions.
Probability Ribbon:
Displays a gradient ribbon representing the likelihood of bullish vs bearish dominance (0โ100%).
Green = bullish probability, Red = bearish probability, Yellow = neutral.
Smart Money Concept Validation:
Integrates CHOCH to identify genuine shifts in market structure.
Confirms entries using Order Blocks and Liquidity Sweeps, reflecting probable institutional activity.
Execution Logic:
Only triggers trades when probability exceeds the configurable threshold and all structural conditions align.
Labels on the chart indicate high-confidence bullish or bearish opportunities.
Dashboard Overview:
Summarizes HTF, MTF, and LTF trend scores along with execution readiness for quick decision-making.
Why QTF is Hedge-Fund Level:
Combines probabilistic trend scoring with smart money concepts for precision entries.
Fully non-repainting and deterministic for live and historical analysis.
Filters noise and highlights high-probability zones where institutional orders are likely to occur.
Multi-layered validation ensures trades are aligned with market structure, liquidity, and trend momentum.
Use Case:
Ideal for day traders and short-term swing traders who want a systematic, high-probability, institutional-style edge.
Can be combined with risk-to-reward strategies (e.g., RR 1:2) and proper money management.
Open Long Extension gran Open โ Long Extension Gran
This is a specialized overlay indicator designed for short-term and intraday trading, particularly effective on commodities (such as gold, crude oil) and indices like UK100. It automatically labels key price points from each 1-minute up to 30-minute bars candle directly on the chart, displaying:
The open price
The high of the candle
The low of the candle
(And in some cases) the close or other reference levels
These labels appear as small tags , anchored at the corresponding price levels, making it very easy to visually track where each new 1-minute bar opened relative to the previous candle's high, low, or close.
This creates a clear visual map of price extensions โ showing how far price stretches beyond prior candle extremes in real time โ which helps identify: potential breakout or extension moves (long or short) areas of rejection or absorption around prior highs/lows
momentum continuation or exhaustion in fast markets.
FUERZA TEOADX FUERZA TEO is a trend-strength indicator based on the classic Average Directional Index (ADX) developed by J. Welles Wilder, enhanced with dynamic logic, visual clarity, and actionable signals.
This indicator not only measures trend strength, but also identifies:
Directional bias using +DI and -DI
Range vs trend conditions
Weak vs strong trend entries
Trend exhaustion and exits
๐น How it works
ADX (main line) shows the strength of the trend.
+DI and -DI define bullish or bearish dominance.
Two key levels:
Range Level: detects low-strength, ranging markets.
Trend Level: confirms strong and healthy trends.
Colors adapt automatically to market conditions:
Green tones โ bullish pressure
Red tones โ bearish pressure
Orange โ ranging / low-strength market
๐ Signals & Alerts
Weak Trend Entry: early trend continuation.
Strong Trend Entry: high-confidence trend momentum.
Trend Exit: loss of strength or DI crossover.
Fully customizable alerts for all signals.
โ
Best use
Ideal for:
Trend-following strategies
Filtering false breakouts
Multi-timeframe analysis
Forex, indices, crypto, and CFDs
โ ๏ธ This indicator is for educational purposes only and should be used as part of a complete trading plan and risk management strategy.
Chande Momentum Oscillator - CMO๐ฏ Overview
This is a sophisticated Chande Momentum Oscillator indicator that combines traditional momentum analysis with dynamic moving average filtering. Unlike basic CMO implementations, this version features gradient visualization, multiple color themes, and a clear signal dashboard for precise momentum identification.
๐งฉ Core Components
1. โ๏ธ Technical Foundation
๐ Primary Calculation: Uses TradingView's built-in ta.cmo() function with customizable source and period length
๐ Dual Analysis Components:
CMO Line: Pure momentum oscillator ranging from -100 to +100
MA Filter: Customizable moving average that acts as dynamic signal line
Gradient Zones: Visual fill between CMO and MA showing momentum intensity
โก Dynamic Comparison: Creates clear bullish/bearish signals based on CMO vs MA position
2. ๐๏ธ Configuration Parameters
๐ CMO Length: Default 14 periods (standard momentum setting)
๐ MA Filter Settings:
Length: Customizable (default 365 periods)
Type: 6 options available (EMA, SMA, RMA, WMA, VWMA, HMA)
๐จ Color Themes: 5 visual schemes consistent with your indicator suite:
Classic, Modern, Robust, Accented, Monochrome
๐ Signal Interpretation:
๐ข BULLISH: CMO > MA Filter (momentum above trend)
๐ด BEARISH: CMO < MA Filter (momentum below trend)
3. ๐จ Visual Elements
๐จ Gradient Zones:
Upper zone (CMO > MA): Green gradient showing bullish momentum intensity
Lower zone (CMO < MA): Red gradient showing bearish momentum intensity
๐ Dashboard Display: Top-right status indicator showing "โฌ๏ธ Bullish" or "โฌ๏ธ Bearish"
๐ Dynamic Coloring: CMO line changes color based on position relative to MA
โก Trading Applications
๐ Primary Uses:
๐ฏ Momentum Direction Identification:
CMO > MA = Bullish momentum regime
CMO < MA = Bearish momentum regime
๐ช Momentum Strength Assessment:
CMO > +50 = Strong bullish momentum
CMO < -50 = Strong bearish momentum
Between -50 and +50 = Moderate momentum
๐จ Crossover Signals:
Bull Signal: CMO crosses above MA
Bear Signal: CMO crosses below MA
๐ Zone Analysis:
๐ข Bullish Zones:
Light to dark green gradient as CMO rises
Strongest color at highest CMO values
๐ด Bearish Zones:
Light to dark red gradient as CMO falls
Strongest color at lowest CMO values
๐ก Equilibrium: Yellow MA line acts as dynamic pivot
๐จ Customization Options
๐๏ธ Display Features:
๐ Dual Components: Always shows both CMO line and MA filter
๐จ Gradient Visualization: Automatic fill between lines showing momentum intensity
๐ Status Dashboard: Clear bullish/bearish indication
๐ Customizable MA: Choose from 6 different moving average types
๐จ Visual Themes: (Consistent suite)
๐จ Classic: Green/Red (traditional momentum colors)
๐ Modern: Cyan/Purple (contemporary)
๐ช Robust: Amber/Deep Purple (high contrast)
๐ Accented: Purple/Magenta (vibrant)
โซโช Monochrome: Light Gray/Dark Gray (minimalist)
๐ Alert System
๐ข LONG Alert: Triggers when CMO crosses above MA
๐ด SHORT Alert: Triggers when CMO crosses below MA
๐ง Format: Includes ticker symbol for tracking
โก Key Advantages
โ
Strengths:
๐ฏ Clear Momentum Signals: Direct comparison between CMO and MA provides unambiguous entries/exits
๐ช Trend Filter: MA acts as dynamic support/resistance for momentum
๐๏ธ Visual Clarity: Gradient zones show momentum intensity at a glance
๐ Flexible Configuration: Multiple MA types for different trading styles
๐ Professional Dashboard: Immediate status recognition
๐ Optimal Settings:
โก Short-term Trading: CMO Length 9-14, MA Length 20-50
๐ Medium-term Trading: CMO Length 14-20, MA Length 50-100
๐ Long-term Trading: CMO Length 20-30, MA Length 100-365
๐ Unique Features:
๐ฏ Gradient Visualization: Color intensity reflects momentum strength
๐ MA Filter Flexibility: 6 different moving average types
๐จ Consistent Design: Matches your indicator family aesthetics
๐ Status Dashboard: Quick visual confirmation of regime
๐ง Dual Analysis: Combines momentum oscillator with trend filter
๐ Trading Strategies
1. Basic Momentum Strategy:
Go LONG when CMO crosses above MA
Go SHORT when CMO crosses below MA
Use extreme readings (>+80 or <-80) for overbought/oversold conditions
2. Momentum Strength Strategy:
Strong bullish: CMO > MA AND CMO > +50
Strong bearish: CMO < MA AND CMO < -50
Weak signals: Between -50 and +50
3. Divergence Detection:
Price makes higher high, CMO makes lower high โ Bearish divergence
Price makes lower low, CMO makes higher low โ Bullish divergence
๐ Performance Tips
Combine with Trend: Use in trending markets (avoid ranging periods)
Confirmation: Wait for candle close after MA crossover
Extreme Readings: +80/-80 often precede reversals
MA Selection: EMA for responsiveness, SMA for smoothness
Multiple Timeframes: Check higher timeframe CMO alignment
This enhanced CMO indicator provides professional-grade momentum analysis with intuitive visualization, allowing traders to quickly identify momentum regimes and strength while filtering out market noise through the customizable moving average filter! ๐๐ฏ
kalp 2trPeriodPrimary = input.int(18, 'Primary ST ATR Period', group="SuperTrend")
multiplierPrimary = input.float(4.0, 'Primary ST Multiplier', group="SuperTrend")
atrPeriodSecondary = input.int(9, 'Secondary ST ATR Period', group="SuperTrend")
multiplierSecondary = input.float(2.0, 'Secondary ST Multiplier', group="SuperTrend")
atrPeriodTertiary = input.int(12, 'Tertiary ST ATR Period', group="SuperTrend")
multiplierTertiary = input.float(3.0, 'Tertiary ST Multiplier', group="SuperTrend")
// MACD Group
fastLength = input.int(24, 'MACD Fast Length', group="MACD")
slowLength = input.int(52, 'MACD Slow Length', group="MACD")
signalLength = input.int(9, 'MACD Signal Smoothing', group="MACD")
// EMA Group
tfEMA = input.timeframe("60", "EMA Timeframe (Global)", group="EMAs")
ema1Len = input.int(9, 'EMA 1 Length', group="EMAs")
ema2Len = input.int(21, 'EMA 2 Length', group="EMAs")
ema3Len = input.int(27, 'EMA 3 Length', group="EMAs")
ema4Len = input.int(50, 'EMA 4 Length', group="EMAs")
ema5Len = input.int(100, 'EMA 5 Length', group="EMAs")
ema6Len = input.int(150, 'EMA 6 Length', group="EMAs")
ema7Len = input.int(200, 'EMA 7 Length', group="EMAs")
// Visuals & ORB Group
showVwap = input.bool(true, 'Show VWAP?', group="Visuals")
showORB = input.bool(true, "Show ORB (Current Day Only)", group="ORB Settings")
orbTime = input.string("0930-1000", "ORB Time Range", group="ORB Settings")
orbTargetMult1 = input.float(1.0, "Target 1 Mult", group="ORB Settings")
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.
Herramienta Risk:Reward Pro - MECTRADEROverview: This is an advanced Risk/Reward management tool specifically designed for traders who execute based on Ticks (perfect for Futures like NQ/ES, Gold, or Forex). The main focus of this script is visual clarity and precision.
Key Features:
โ
Clean Visuals (No Dimming): Built using linefill technology with a 92% transparency rate. This ensures the price action remains vibrant and clear. Unlike standard boxes, this tool does not darken or "muddy" the candles when the price enters the zone.
โ
Tick-Based Calculation: Define your Stop Loss and up to 5 Take Profit levels using Ticks for maximum precision.
โ
Toggleable TP Levels: You can enable or disable TP1 through TP5 individually to match your scaling-out strategy.
โ
Dynamic Labels: Automatically displays the level name (Entry, SL, TP) along with the exact price value on the right-side scale.
โ
Long/Short Toggle: Switch between buy and sell setups instantly with a single drop-down selection.
How to use:
Add the script to your chart.
Open Settings and choose your Mode (LONG or SHORT).
Use the Precision Crosshair icon next to "Price Entry" to pick your execution level directly from the chart.
Adjust your Stop Loss and Profit Ticks.
The tool will project your risk zones professionally without interfering with your technical analysis.
EMA 9 & 26 Crossover by SN TraderEMA 9 & 26 Crossover by SN Trader โ Clean Trend Signal Indicator |
The EMA 9 & 26 Cross (+ Marker) indicator is a lightweight and effective trend-direction and momentum-shift tool that visually marks EMA crossover events using simple โ+โ symbols placed directly above or below price candles.
This indicator is ideal for scalping, intraday trading, and swing trading across Forex, Crypto, Stocks, Indices, and Commodities.
๐น Indicator Logic
EMA 9 (Green) โ Fast momentum
EMA 26 (Red) โ Trend direction
๐ข Green โ+โ (Below Candle)
Appears when EMA 9 crosses ABOVE EMA 26
Indicates bullish momentum or trend continuation
๐ด Red โ+โ (Above Candle)
Appears when EMA 26 crosses ABOVE EMA 9
Indicates bearish momentum or potential trend reversal
๐ How to Use
โ Look for Green โ+โ for bullish bias
โ Look for Red โ+โ for bearish bias
โ Trade in the direction of higher-timeframe trend
โ Combine with RSI, UT Bot, VWAP, MACD, Support & Resistance for confirmation
โ
Best For
Trend identification
Momentum confirmation
Scalping & intraday entries
Swing trade timing
Multi-timeframe analysis
โ๏ธ Features
โ Clean & minimal design
โ Non-repainting crossover signals
โ Works on all timeframes & markets
โ Pine Script v6 compliant
โ Beginner & professional friendly
โ ๏ธ Disclaimer
This indicator is for educational purposes only and does not provide financial advice. Always use risk management and additional confirmation before trading.
Body/Tail RatioThis is a simple and great tool for filtering strong and weak bars based on their Body to Tail ratio.
It has three areas to show.
Weak when body percentage is below 30.
Mid to Strong when percentage is between 30-70.
Very Strong when percentage is above 70.
You can adjust the color for each section.
You can easily see where strong bars and weaker bars are. It can also be used for signal and entry bar filtering process.






















