Volatility Breakout Strategy W15_T2.0# How to Use This Indicator
## **Setup Instructions:**
**Adjust parameters** as needed:
- **Volatility Window**: 15 (default) for 15-period volatility calculation
- **Volatility Threshold**: 2.0 (default) for 2x volatility spike trigger
- **Price Direction Periods**: 5 (default) for trend direction detection
### **What You'll See:**
- **🟢 Green UP arrows**: BUY signals (high volatility + upward price movement)
- **🔴 Red DOWN arrows**: SELL signals (high volatility + downward price movement)
- **🟠 Orange circles**: EXIT signals (volatility cooled down)
- **🟨 Yellow background**: High volatility periods (above threshold)
- **📊 Info table**: Real-time volatility metrics (top-right corner)
### **Signal Logic:**
- **Entry**: When volatility ratio ≥ 2.0x AND price direction is clear
- **Exit**: When volatility ratio drops below 1.4x (70% of threshold)
- **Direction**: Based on 5-period price change
### **Best Timeframes:**
- **1-minute**: Very sensitive, many signals
- **5-minute**: Balanced (matches your original analysis)
- **15-minute**: Less frequent but higher quality signals
### **Alert Setup:**
The indicator includes built-in alerts for:
- Buy signals
- Sell signals
- Exit signals
指標和策略
Fat Tails Analyzer🧠 Fat Tails Analyzer — Analysis of Anomalous ("Fat-Tailed") Movements
📌 Description
Fat Tails Analyzer is a tool for analyzing "fat tails" in the distribution of returns. Unlike normal distribution, financial markets often exhibit frequent extreme movements. This indicator identifies and visualizes such events by analyzing logarithmic returns, deviations from normal distribution, and excess kurtosis.
🔬 Methodology
Logarithmic returns (ln(Close / Close )) are calculated for accurate aggregation and symmetry.
Moving average and standard deviation of returns are computed over a specified period.
"Fat-tailed" events are identified when returns exceed μ ± k·σ, where k is user-defined.
Normal distribution bands (±2σ) and kurtosis (a measure of tail "heaviness") are displayed for clarity.
📊 What It Displays
📈 Histogram of Returns: Green for positive, red for negative.
🟣 Fat Tail Threshold Lines: Marking extreme events.
⚪ Silver Normal Distribution Bands: ±2σ boundaries.
🔵 Kurtosis Line: If enabled.
📋 Table with Key Metrics: Mean, σ, kurtosis.
⚙️ Parameters
Lookback Period (Bars): Analysis period (default: 252).
Fat Tail Threshold (Std Devs): Deviation for extreme events (k, default: 2.5).
Show Normal Distribution Bands: Toggle ±2σ boundaries.
Show Kurtosis: Enable kurtosis analysis mode.
📌 Interpretation
Excess Kurtosis > 0: More extreme events than predicted by normal distribution.
Returns beyond fat-tail thresholds: Potential signals of panic, shock, or exceptional news.
Consistently high kurtosis: Unstable or speculative asset.
🧪 Applications
📉 Identify extreme risks in assets (especially cryptocurrencies and derivatives).
🧠 Study market behavior and dispersion.
🛡 Support risk analysis, stop-loss settings, and systemic risk assessment.
🔎 Compare assets by the "normality" of their behavior.
🧭 Live Metrics Table
Displayed in the bottom-right corner:
Mean return
Standard deviation
Excess kurtosis (color-coded by value)
🧠 Good to Know
Normal distribution has kurtosis = 0.
> 0: "Fat tails" (more extreme values).
< 0: "Thin tails" (values close to the mean).
Volume Peak LineA fully configurable “Volume Peak Line” indicator that draws a horizontal threshold at the highest volume over the last X candles (default 5).
Custom lookback (X volume candles)
Optional alert when current volume exceeds that peak
Separate up/down volume bars (green/red) or hide them to use your own volume overlays
Use it to spot surges in trading activity on any timeframe—ideal for intraday or swing setups where a barn-burner volume bar can signal a reversal or the start of a new trend.
💧 USD Liquidity Index (Fed + M2 + Base)This custom indicator tracks USD liquidity by combining the Federal Reserve’s total assets (WALCL), M2 money supply (M2SL), and the monetary base (BASE) — all sourced from FRED (Federal Reserve Economic Data).
It's designed to provide a macro-level view of liquidity conditions in the U.S. financial system. This index can be used to help gauge the risk-on vs risk-off environment for assets like Bitcoin, equities, and commodities.
Higher values typically indicate liquidity expansion (bullish for risk assets).
Declining values indicate liquidity contraction or quantitative tightening (bearish for risk assets).
📊 Data Sources:
FRED:WALCL – Fed Balance Sheet
FRED:M2SL – M2 Money Supply
FRED:BASE – Monetary Base
⚠️ Weekly timeframe only. Designed for macro swing traders, crypto investors, and liquidity-driven strategists.
Combined: Strat Dashboard + FVG + M&E StarsSTRAT MIX + VECTOR + SUPPORT
In financial markets, support and resistance are fundamental concepts in technical analysis used to identify price levels where an asset's price tends to pause or reverse. They are essentially areas on a chart where buying or selling pressure is expected to be strong enough to temporarily halt or reverse the prevailing price trend.
Here's a breakdown:
* Support: This is a price level where an asset's downward movement is expected to stop due to increased buying interest. Think of it as a "floor" where demand is strong enough to prevent the price from falling further. When the price approaches a support level, buyers tend to step in, leading to a potential bounce or reversal upwards. The more times a price level has held as support in the past, the stronger it's generally considered.
* Resistance: This is a price level where an asset's upward movement is expected to stop due to increased selling interest. It acts like a "ceiling" where supply is strong enough to prevent the price from rising higher. When the price approaches a resistance level, sellers tend to step in, leading to a potential pullback or reversal downwards. Similar to support, the more times a price level has acted as resistance, the more significant it's often seen.
Key characteristics:
* Supply and Demand: Support and resistance levels are a reflection of the continuous interplay between supply (sellers) and demand (buyers) in the market.
* Dynamic Nature: These levels are not fixed lines but rather zones. They can also "flip roles"; if a resistance level is broken and the price moves above it, that former resistance can then become a new support level, and vice-versa.
* Psychological Importance: These levels often derive their strength from collective market psychology, as many traders and investors recognize and react to the same price points.
Lunar Sentiment BandsThe Lunar Sentiment Bands indicator is designed to combine simple price volatility analysis with the timing of moon phases. It's based on a moving average and two bands above and below it—similar to Bollinger Bands. But unlike regular bands, the width of these adjusts dynamically depending on two key conditions: the moon phase and market volume.
Around Full Moons, markets often show emotional or volatile behavior. If there's also a surge in trading volume during that time, the indicator automatically expands the bands. This tells you the market might be gearing up for a breakout or high-energy move.
Around New Moons, things are typically quieter. If there’s no significant volume, the indicator contracts the bands. This reflects a calmer environment or a potential “coil” where price is building up energy.
Traders can use this shifting bandwidth to guide decisions. Wide bands suggest breakout potential—either to join the move or to stand back until direction becomes clearer. Narrow bands suggest you may want to trade reversals, or simply wait for volatility to return before entering a position.
This approach doesn't try to predict direction. Instead, it gives you a sense of when the market is most likely to become active or stay quiet, using the rhythm of the moon and real-time volume to shape that view.
TREV Candles - Range-Based Trend ReversalTREV Candles - Range-Based Trend Reversal Chart Implementation
What is a Trend Reversal (TREV) Chart?
A Trend Reversal chart, also known as a Point & Figure chart variation, is a unique charting method that focuses on price movement thresholds rather than time intervals. Unlike traditional candlestick charts where each candle represents a fixed time period, TREV candles form only when price moves by predefined amounts in ticks.
TREV charts eliminate time-based noise and focus purely on significant price movements, making them ideal for identifying genuine trend changes and continuation patterns.
How TREV Candles Work
This indicator implements true TREV logic with two critical thresholds:
Trend Size: The number of ticks price must move in the current direction to form a trend continuation candle
Reversal Size: The number of ticks price must move against the current direction to form a reversal candle and change the overall trend direction
Key TREV Rules Enforced:
Direction Changes Only Through Reversals: You cannot go from bullish trend directly to bearish trend - a reversal candle must occur first
Threshold-Based Formation: Candles form only when price thresholds are breached, not on time
Logical Wick Placement: Wicks only appear on the "open" side of candles where price temporarily moved against the formation direction
Multiple Candles Per Bar: When price moves significantly, several TREV candles can form within a single time-based bar
Four Distinct Candle Types
Bullish Trend (Green): Continues upward movement when trend threshold is hit
Bearish Trend (Red): Continues downward movement when trend threshold is hit
Bullish Reversal (Blue): Changes from bearish to bullish direction when reversal threshold is breached
Bearish Reversal (Orange): Changes from bullish to bearish direction when reversal threshold is breached
Practical Trading Applications
Trend Identification: Clear visual representation of when trends are continuing vs. reversing
Noise Reduction: Filters out insignificant price movements that don't meet threshold requirements
Support/Resistance: TREV levels often act as significant support and resistance zones
Breakout Confirmation: When price forms multiple trend candles in succession, it confirms strong directional movement
Reversal Signals: Reversal candles provide early warning of potential trend changes
Technical Implementation Features
Intelligent Price Path Processing: Analyzes the assumed price path within each bar (Low→High→Close for bullish bars, High→Low→Close for bearish bars)
Automatic Tick Size Detection: Works with any instrument by automatically detecting the correct tick size
Manual Override Option: Allows manual tick size specification for custom analysis
Impossible Scenario Prevention: Built-in logic prevents impossible wick configurations and direction changes
PineScript Optimization: Efficient state management and drawing limits handling for smooth performance
Comprehensive Styling Options
Each of the four candle types offers complete visual customization:
Body Colors: Independent color settings for each candle type's body
Border Colors: Separate border color customization
Border Styles: Choose from solid, dashed, or dotted borders
Wick Colors: Individual wick color settings for each candle type
Default Color Scheme:
🟢 Bullish Trend: Green body and wicks
🔵 Bullish Reversal: Blue body and wicks
🔴 Bearish Trend: Red body and wicks
🟠 Bearish Reversal: Orange body and wicks
Configuration Guidelines
Trend Size: Larger values create fewer, more significant trend candles. Smaller values increase sensitivity
Reversal Size: Should typically be smaller than trend size. Controls how easily the trend direction can change
Tick Size: Use "auto" for most instruments. Manual override useful for custom point values or backtesting
Ideal Use Cases
Swing Trading: Identify major trend changes and continuation patterns
Scalping: Use smaller thresholds to catch quick reversals and momentum shifts
Position Trading: Use larger thresholds to filter noise and focus on major trend moves
Multi-Timeframe Analysis: Compare TREV patterns across different threshold settings
Support/Resistance Trading: TREV close levels often become significant price zones
Why This Implementation is Superior
True TREV Logic: Enforces proper trend reversal rules that many implementations ignore
No Impossible Scenarios: Prevents wicks on both sides of candles and impossible direction changes
Professional Visualization: Clean, customizable appearance suitable for serious analysis
Performance Optimized: Handles large datasets without lag or drawing limit issues
Educational Value: Helps traders understand the difference between time-based and threshold-based charting
Perfect for traders who want to see beyond time-based noise and focus on what price is actually doing - moving in significant, measurable amounts that matter for trading decisions.
Ease of Movement Z-Score Trend | DextraGeneral Description:
The "Ease of Movement Z-Score Trend | Dextra" (EOM-Z Trend) is an innovative technical analysis tool that combines the Ease of Movement (EOM) concept with Z-Score to measure how easily price moves relative to volume, while identifying market trends with intuitive visualization. This indicator is designed to help traders detect uptrend and downtrend phases with precision, enhanced by candle coloring for direct trend representation on the chart.
Key Features
Ease of Movement (EOM): Measures how easily price moves based on the change in the midpoint price and volume, normalized with Z-Score for statistical analysis.
Z-Score Normalization: Provides an indication of deviations from the mean, enabling the identification of overbought or oversold conditions.
Adjustable Thresholds: Users can customize upper and lower thresholds to define trend boundaries.
Candle Coloring: Visual trend representation with green (uptrend), red (downtrend), and gray (neutral) candles.
Flexibility: Adjustable for different timeframes and assets.
How It Works
The indicator operates through the following steps:
EOM Calculation:
hl2 = (high + low) / 2: Calculates the average midpoint price per bar.
eom = ta.sma(10000 * ta.change(hl2) * (high - low) / volume, length): EOM is computed as the smoothed average of the price midpoint change multiplied by the price range per unit volume, scaled by 10,000, over length bars (default 20).
Z-Score Calculation:
mean_eom = ta.sma(eom, z_length): Average EOM over z_length bars (default 93).
std_dev_eom = ta.stdev(eom, z_length): Standard deviation of EOM.
z_score = (eom - mean_eom) / std_dev_eom: Z-Score indicating how far EOM deviates from its mean in standard deviation units.
Trend Detection:
upperthreshold (default 1.03) and lowerthreshold (default -1.63): Thresholds to classify uptrend (if Z-Score > upperthreshold) and downtrend (if Z-Score < lowerthreshold).
eom_is_up and eom_is_down: Logical variables for trend status.
Visualization:
plot(z_score, ...): Z-Score line plotted with green (uptrend), red (downtrend), or gray (neutral) coloring.
plotcandle(...): Candles colored green, red, or gray based on trend.
hline(...): Dashed lines marking the thresholds.
Input Settings
EOM Length (default 20): Period for calculating EOM, determining sensitivity to price changes.
Z-Score Lookback Period (default 93): Period for calculating the Z-Score mean and standard deviation.
Uptrend Threshold (default 1.03): Minimum Z-Score value to classify an uptrend.
Downtrend Threshold (default -1.93): Maximum Z-Score value to classify a downtrend.
How to Use
Installation: Add the indicator via the "Indicators" menu in TradingView and search for "EOM-Z Trend | Dextra".
Customization:
Adjust EOM Length and Z-Score Lookback Period based on the timeframe (e.g., 20 and 93 for daily timeframes).
Set Uptrend Threshold and Downtrend Threshold according to preference or asset characteristics (e.g., lower to 0.8 and -1.5 for volatile markets).
Interpretation:
Uptrend (Green): Z-Score above upperthreshold, indicating strong upward price movement.
Downtrend (Red): Z-Score below lowerthreshold, indicating significant downward movement.
Neutral (Gray): Conditions between thresholds, suggesting a sideways market.
Use candle coloring as the primary visual guide, combined with the Z-Score line for confirmation.
Advantages
Intuitive Visualization: Candle coloring simplifies trend identification without deep analysis.
Flexibility: Customizable parameters allow adaptation to various markets.
Statistical Analysis: Z-Score provides a robust perspective on price deviations from the norm.
No Repainting: The indicator uses historical data and does not alter values after a bar closes.
Limitations
Volume Dependency: Requires accurate volume data; an error occurs if volume is unavailable.
Market Context: Effectiveness depends on properly tuned thresholds for specific assets.
Lack of Additional Signals: No built-in alerts or supplementary confirmation indicators.
Recommendations
Ideal Timeframe: Daily (1D) or (2D) for stable trends.
Combination: Pair with others indicators for signal validation.
Optimization: Test thresholds on historical data of the traded asset for optimal results.
Important Notes
This indicator relies entirely on internal TradingView data (high, low, close, volume) and does not integrate on-chain data. Ensure your data provider supports volume to avoid errors. This version (1.0) is the initial release, with potential future updates including features like alerts or multi-timeframe analysis.
Trap Detector Signals [Tweaked Version]This script highlights potential institutional liquidity traps by detecting price extensions relative to VWAP during periods of short-term volatility compression — using manual VIX9D input as a proxy for complacency.
Candle Ghosts: MTF 3 Candle Viewer by Chaitu50cCandle Ghosts: MTF 3 Candle Viewer helps you see candles from other timeframes directly on your chart. It shows the last 3 candles from a selected timeframe as semi-transparent boxes, so you can compare different timeframes without switching charts.
You can choose to view candles from 30-minute, 1-hour, 4-hour, daily, or weekly timeframes. The candles are drawn with their full open, high, low, and close values, including the wicks, so you get a clear view of their actual shape and size.
The indicator lets you adjust the position of the candles using horizontal and vertical offset settings. You can also control the spacing between the candles for better visibility.
An optional EMA (Exponential Moving Average) from the selected timeframe is also included to help you understand the overall trend direction.
This tool is useful for:
Intraday traders who want to see higher timeframe candles for better decisions
Swing traders checking lower timeframe setups
Anyone doing top-down analysis using multiple timeframes on a single chart
This is a simple and visual way to study how candles from different timeframes behave together in one place.
Previous Candle High/Low (Clean)✅ Creates one horizontal line for the previous candle’s high (green).
✅ Creates one horizontal line for the previous candle’s low (red).
✅ The lines update on each new candle, always following the most recent previous high/low.
✅ The lines are extended to the right — they don’t stack or clutter the chart.
✅ Works on all timeframes.
Volume-Based Candle ShadingThe Volume Shading indicator dynamically adjusts the color brightness of each price bar based on relative volume levels. It helps traders quickly identify whether a candle formed on low, average, or high volume without needing to reference a separate volume pane.
Candles are shaded dynamically as they form, so you can watch volume flow into them in real time. This indicator is designed to be as minimally intrusive as possible, allowing you to visualize volume levels without extra clutter on your charts.
The additional volume indicator in the preview above is there just for a point of reference to allow you to see how the shading on the bars correlates to the volume.
⸻
SETTINGS:
Bullish and bearish base colors — These serve as the midpoint (average volume) for shading.
Brightness mapping direction — Optionally invert the shading so that either high volume appears darker or lighter.
Volume smoothing length — Defines how many bars are averaged to determine what constitutes “normal” volume.
Candles with volume above average will appear darker or lighter depending on user preference, while those with average volume will be painted the chosen colors, giving an intuitive gradient that enhances volume awareness directly on the chart.
⸻
USES:
Confirming price action: Highlight when breakout candles or reversal bars occur with high relative volume, strengthening signal conviction.
Spotting low-volume moves: Identify candles that lack volume support, potentially signaling weak continuation or false breakouts.
Enhancing visual analysis: Overlay volume dynamics directly onto price bars, reducing screen clutter and aiding faster decision-making.
Custom visual workflows: Adapt the visual behavior of candles to your trading style by choosing color direction and base tones.
TextLibrary "Text"
library to format text in different fonts or cases plus a sort function.
🔸 Credits and Usage
This library is inspired by the work of three authors (in chronological order of publication date):
Unicode font function - JD - Duyck
UnicodeReplacementFunction - wlhm
font - kaigouthro
🔹 Fonts
Besides extra added font options, the toFont(fromText, font) method uses a different technique. On the first runtime bar (whether it is barstate.isfirst , barstate.islast , or between) regular letters and numbers and mapped with the chosen font. After this, each character is replaced using the build-in key - value pair map function .
Also an enum Efont is included.
Note: Some fonts are not complete, for example there isn't a replacement for every character in Superscript/Subscript.
Example of usage (besides the included table example):
import fikira/Text/1 as t
i_font = input.enum(t.Efont.Blocks)
if barstate.islast
sentence = "this sentence contains words"
label.new(bar_index, 0, t.toFont(fromText = sentence, font = str.tostring(i_font)), style=label.style_label_lower_right)
label.new(bar_index, 0, t.toFont(fromText = sentence, font = "Circled" ), style=label.style_label_lower_left )
label.new(bar_index, 0, t.toFont(fromText = sentence, font = "Wiggly" ), style=label.style_label_upper_right)
label.new(bar_index, 0, t.toFont(fromText = sentence, font = "Upside Latin" ), style=label.style_label_upper_left )
🔹 Cases
The script includes a toCase(fromText, case) method to transform text into snake_case, UPPER SNAKE_CASE, kebab-case, camelCase or PascalCase, as well as an enum Ecase .
Example of usage (besides the included table example):
import fikira/Text/1 as t
i_case = input.enum(t.Ecase.camel)
if barstate.islast
sentence = "this sentence contains words"
label.new(bar_index, 0, t.toCase(fromText = sentence, case = str.tostring(i_case)), style=label.style_label_lower_right)
label.new(bar_index, 0, t.toCase(fromText = sentence, case = "snake_case" ), style=label.style_label_lower_left )
label.new(bar_index, 0, t.toCase(fromText = sentence, case = "PascalCase" ), style=label.style_label_upper_right)
label.new(bar_index, 0, t.toCase(fromText = sentence, case = "SNAKE_CASE" ), style=label.style_label_upper_left )
🔹 Sort
The sort(strings, order, sortByUnicodeDecimalNumbers) method returns a sorted array of strings.
strings: array of strings, for example words = array.from("Aword", "beyond", "Space", "salt", "pepper", "swing", "someThing", "otherThing", "12345", "_firstWord")
order: "asc" / "desc" (ascending / descending)
sortByUnicodeDecimalNumbers: true/false; default = false
_____
• sortByUnicodeDecimalNumbers: every Unicode character is linked to a Unicode Decimal number ( wikipedia.org/wiki/List_of_Unicode_characters ), for example:
1 49
2 50
3 51
...
A 65
B 66
...
S 83
...
_ 95
` 96
a 97
b 98
...
o 111
p 112
q 113
r 114
s 115
...
This means, if we sort without adjusting ( sortByUnicodeDecimalNumbers = true ), in ascending order, the letter b (98 - small) would be after S (83 - Capital).
By disabling sortByUnicodeDecimalNumbers , Capital letters are intermediate transformed to str.lower() after which the Unicode Decimal number is retrieved from the small number instead of the capital number. For example S (83) -> s (115), after which the number 115 is used to sort instead of 83.
Example of usage (besides the included table example):
import fikira/Text/1 as t
if barstate.islast
aWords = array.from("Aword", "beyond", "Space", "salt", "pepper", "swing", "someThing", "otherThing", "12345", "_firstWord")
label.new(bar_index, 0, str.tostring(t.sort(strings= aWords, order = 'asc' , sortByUnicodeDecimalNumbers = false)), style=label.style_label_lower_right)
label.new(bar_index, 0, str.tostring(t.sort(strings= aWords, order = 'desc', sortByUnicodeDecimalNumbers = false)), style=label.style_label_lower_left )
label.new(bar_index, 0, str.tostring(t.sort(strings= aWords, order = 'asc' , sortByUnicodeDecimalNumbers = true )), style=label.style_label_upper_right)
label.new(bar_index, 0, str.tostring(t.sort(strings= aWords, order = 'desc', sortByUnicodeDecimalNumbers = true )), style=label.style_label_upper_left )
🔸 Methods/functions
method toFont(fromText, font)
toFont : Transforms text into the selected font
Namespace types: series string, simple string, input string, const string
Parameters:
fromText (string)
font (string)
Returns: `fromText` transformed to desired `font`
method toCase(fromText, case)
toCase : formats text to snake_case, UPPER SNAKE_CASE, kebab-case, camelCase or PascalCase
Namespace types: series string, simple string, input string, const string
Parameters:
fromText (string)
case (string)
Returns: `fromText` formatted to desired `case`
method sort(strings, order, sortByUnicodeDecimalNumbers)
sort : sorts an array of strings, ascending/descending and by Unicode Decimal numbers or not.
Namespace types: array
Parameters:
strings (array)
order (string)
sortByUnicodeDecimalNumbers (bool)
Returns: Sorted array of strings
Portfolio-Übersicht (3 Assets)Title: Portfolio Overview (3 Assets)
Description:
This simple indicator allows you to display a quick and clear portfolio overview of up to three different assets (stocks, ETFs, etc.) directly on your TradingView chart.
It is ideal for investors who want to keep an eye on their core positions without constantly switching to their broker.
Features:
Clear Table View: Displays all key metrics in a clean table at the bottom left of the chart.
Profit & Loss Calculation: Calculates the total purchase value, current value, and the resulting profit or loss for each position and the total portfolio.
Color-Coding: Profits are displayed in green and losses in red for immediate visual feedback.
Stable and Reliable: The code is intentionally kept simple to ensure stable functionality.
How to Use:
Add the indicator to your chart.
Open the indicator's settings (the gear icon).
For each of the three positions, enter the following data:
Symbol: The ticker symbol (e.g., NASDAQ:AAPL or GETTEX:EUNL).
Quantity: The number of shares you own.
Purchase Price: Your average purchase price per share.
The script will automatically update the table with the latest closing prices.
📊 52-Week Price % Distance (Advanced Table)This TradingView Pine Script displays a compact, informative table showing how far the current price is from the 52-week high and low, expressed as percentages.
Bob Volman - Consolidation BoxThis indicator identifies consolidation zones based on Bob Volman's scalping methodology. It highlights tight price ranges where the market is coiling before a potential breakout.
🔧 Features
📊 Detects consolidation boxes based on:
• Minimum number of candles
• ATR-based range filter (ATR × multiplier)
• Proximity to EMA (EMA ± multiplier × ATR)
⏩ Automatically extends the box while price remains inside
❌ Option to hide boxes after breakout
🧾 Status line plots:
• 🔺 Box High / 🔻 Box Low
• 📏 Box Range (in ATR units)
• 🕒 Box Length (number of bars)
⚙️ Fully customizable: ATR/EMA lengths, multipliers, border color
🔔 Alert on new consolidation box
🎯 Use Cases
Identify tight consolidation zones before breakout
Improve scalping entries and exits
Spot potential support/resistance areas
✅ Combine with volume, breakout confirmation, market structure, and price action for better accuracy
📚 Inspired by the book: "Understanding Price Action" by Bob Volman
EMA Pullback Indicator [ATR-based]🟦 EMA Pullback Indicator
This indicator identifies pullbacks in trending markets using the crossover of two EMAs (Fast and Slow). When a pullback occurs during a valid trend, an entry is triggered after price resumes in the trend direction. ATR is used to dynamically calculate stop-loss and take-profit levels.
🔍 Strategy Logic:
Trend Detection: EMA(8) vs EMA(21)
Pullback Zones:
In a bullish trend, a pullback is when price dips below the Fast EMA
In a bearish trend, a pullback is when price rises above the Fast EMA
Entry Trigger: Re-entry into trend direction after pullback
Stop Loss / Take Profit:
Based on ATR × SL/TP multipliers
Exit Options:
TP/SL Hit
Exit on new pullback (optional toggle)
Multiple Entry Toggle: Choose whether to allow multiple pullback entries or not
⚙️ Inputs:
Fast EMA Length
Slow EMA Length
ATR Period
SL Multiplier
TP Multiplier
Allow Multiple Entries
Exit on New Pullback
📊 Visuals:
Colored EMAs and fill zone between them
Grey bars during pullback
Blue/Black trend bar colors
Entry markers and TP/SL levels with labels
Real-time ATR display in corner
📢 Alerts Included:
Long/Short Pullback Entry
Take Profit Hit
Stop Loss Hit
Current Typical Prices3 Plots for the current Typical price (using the current candle Close). The first plot is a user configurable, 1 hour or 4 hour. The 2nd is the daily and the 3rd is the weekly.
Typical price = (High + Low + Close) /3. Also known as the Pivot Point.
My first indicator using Gemini.
Enjoy!
Iambuoyant High Win Rate TraderIambuoyant High Win Rate Trader (Debug Signals) - Indicator Description
Introduction
The "Iambuoyant High Win Rate Trader" is a comprehensive Pine Script indicator designed to identify high-probability trading opportunities across various market conditions. Built with a multi-faceted approach, it integrates several key technical analysis concepts to provide robust buy and sell signals, aiming to maximize potential returns while managing risk. This indicator is particularly useful for traders looking for confirmed entries based on a confluence of factors rather than relying on a single signal.
Strategies Used
This indicator employs a sophisticated combination of strategies, each contributing to a stronger signal when aligned:
Trend Analysis:
Multiple EMAs: It utilizes three Exponential Moving Averages (EMAs) – a fast, slow, and a longer-term trend EMA – to establish the prevailing market direction. Signals are filtered to align with this identified trend, enhancing their probability of success.
Trend Alignment: Confirms that price action is consistent with the established EMA trend, ensuring trades are taken in the direction of momentum.
Oscillator Confirmation:
Relative Strength Index (RSI): Employs RSI to identify overbought and oversold conditions, with a specific focus on the RSI turning away from extreme levels, suggesting a potential reversal or continuation point.
Stochastic Oscillator: Similar to RSI, the Stochastic Oscillator is used to pinpoint overbought and oversold zones, with additional confirmation from the %K and %D lines crossing or turning.
Momentum and Divergence (MACD):
Moving Average Convergence Divergence (MACD): The indicator analyzes MACD line and signal line crossovers, alongside histogram movement, to gauge momentum shifts and potential trade entries.
Volume Analysis:
Volume Confirmation: Integrates volume analysis by comparing current volume to a Volume Moving Average. Higher-than-average volume during a signal can confirm conviction behind the price move.
Market Structure and Volatility:
Support and Resistance (S/R) Levels: Dynamic support and resistance levels are identified using pivot points. These levels are used to inform potential stop-loss placements and to ensure trades aren't initiated directly into strong opposing S/R zones.
Average True Range (ATR): ATR is used to measure market volatility, which helps in adjusting trade sizing and stop-loss distances. A volatility filter is included to prevent trades in excessively choppy or illiquid conditions.
Risk Management:
Dynamic Stop Loss: The indicator attempts to identify logical stop-loss levels based on recent price action or nearby support/resistance.
Risk:Reward Ratio Filtering: A configurable minimum Risk:Reward ratio ensures that only trades with a favorable potential return relative to the risk are considered, promoting disciplined trading.
Signal Confirmation:
Confirmation Bars: An optional confirmBars input allows for signals to be confirmed over a specified number of bars, reducing false positives by waiting for price action to sustain the initial signal. (Note: For debugging, this is often set to 0 for immediate signals.)
How to Use the Indicator
Add to Chart: Apply the "Iambuoyant High Win Rate Trader (Debug Signals)" indicator to your desired chart in TradingView. It's an overlay indicator, meaning it will plot directly on your price chart.
Understand the Signals:
Buy Signals (Green Triangles/Labels): Appear below the price bars, indicating a potential long entry.
Sell Signals (Red Triangles/Labels): Appear above the price bars, indicating a potential short entry.
"Flash" Signals: Smaller, colored triangles indicate the immediate bar where the signal conditions are first met.
"Confirmed" Signals: Larger, shaded triangles with labels indicate that the signal has passed the confirmBars criteria (if confirmBars is set to greater than 0).
Utilize Debugging Features (Crucial for Optimization):
Access Inputs: Open the indicator's settings by clicking the gear icon next to its name on the chart.
"Signal Components (Debugging)" Section: This is the most powerful feature for tailoring the indicator to your needs.
Initial Setup: When first applying the indicator or if signals are too rare, start by setting most "Enable X Condition" toggles to false, potentially leaving only one or two simple conditions (e.g., "Enable RSI Condition" or "Enable Trend Alignment") as true. This will force signals to appear, allowing you to confirm the plotting mechanism works.
Gradual Re-enabling: Once you see signals, gradually re-enable one "Enable X Condition" at a time.
Observe Debug Plots (Lower Pane): Below your main chart, the indicator plots colored columns (e.g., "Debug: RSI Bull", "Debug: MACD Bear"). These show when each individual component of the long/short signal is true (1 or 2) or false (0 or na). The "Debug: Final Long Signal" and "Debug: Final Short Signal" plots show when the combined signal conditions are met.
Identify Bottlenecks: If signals disappear after enabling a new condition, observe its corresponding debug plot. If it's frequently 0 when other conditions are 1, you've found a bottleneck.
Adjust Parameters: For bottlenecks, go back to the relevant input section (e.g., "Oscillators," "Market Structure," "Signal Quality") and adjust parameters (e.g., rsiOB/rsiOS, stochOB/stochOS, volatilityFilter, minRRRatio) to be less strict until signals appear at your desired frequency. Alternatively, you may decide to leave that specific condition disabled if it's too restrictive for your strategy.
Configure Display Options: Use the "Display" group in the inputs to toggle the visibility of labels, support/resistance lines, and EMA trend lines on your chart.
Set Up Alerts: The indicator includes built-in alert conditions for "Confirmed Buy Signal" and "Confirmed Sell Signal." You can set up alerts in TradingView to be notified instantly when these signals occur, allowing you to monitor the market without constant chart watching.
3 EMA trong 1 NTT CAPITALThe 3 EMA in 1 NTT CAPITAL indicator provides an overview of the market trend with three EMAs of different periods, helping to identify entry and exit points more accurately, thus supporting traders in making quick and effective decisions.
Multi Vertical Timeline V3English Description
Multi Vertical Timeline V3 + 3 Time Blocks
A professional trading indicator for precise time marking and session highlighting on your charts.
Key Features:
📍 6 Vertical Time Lines:
Individually configurable times (hour/minute)
Customizable colors, line widths, and styles (solid, dashed, dotted)
Enable/disable toggle for each timeline
Optional time labels
🎨 3 Trading Session Blocks:
Colored background highlights for important trading hours
Pre-configured for NY, London, and Tokyo sessions
Fully customizable start and end times
Transparent coloring for optimal chart readability
⏰ Smart Time Control:
Precise timezone offset setting (-12 to +12 hours)
Automatic adjustment for daylight saving time
Worldwide timezone support
Special handling for time blocks crossing midnight
🛠️ User-Friendly Design:
Clear grouping of all settings
Global on/off control for all labels
No performance impact through optimized code
Instant visual feedback
Use Cases:
Forex Trading (mark session overlaps)
Futures Trading (market opening hours)
Intraday Strategies (entry/exit times)
Multi-timeframe Analysis
Backtesting with time-based rules
Perfect for traders who need precise time markings and session highlights for their strategies!
10kaDum by NAVHere's a comprehensive description for publishing your "10kaDum by NAV" script on TradingView:
---
# 🎯 10kaDum by NAV - Advanced SMA Alignment Trading System
**A comprehensive trading strategy that combines SMA alignment signals with intelligent dip-buying and automated profit-taking mechanisms.**
## 📊 Strategy Overview
The 10kaDum system identifies optimal entry and exit points using Simple Moving Average (SMA) alignment patterns, while providing additional opportunities through systematic dip buying and profit taking.
### Core Signals:
🟢 **MAIN BUY**: Triggers when Close < SMA20 < SMA50 < SMA200 (bearish alignment - potential reversal)
🟡 **10kaDum BUY**: Secondary buy signal when price drops 10% after main buy (dollar-cost averaging)
🟠 **10kaDum SELL**: Exit signal when price rises 10% from 10kaDum buy (quick profit taking)
🔴 **MAIN SELL**: Exit signal when Close > SMA20 > SMA50 > SMA200 (bullish alignment - trend reversal)
## 🔥 Key Features
### Smart Signal Management
- **One-time signals**: Each signal triggers only once until the opposite condition occurs
- **No signal spam**: Clean, actionable entries without repetitive alerts
- **Cycle-based logic**: Complete trading cycles from entry to exit
### Performance Analytics
- **Real-time statistics table** with configurable position and styling
- **Closed Trades**: Total number of completed 10kaDum cycles
- **Average Days**: Mean holding period for 10kaDum positions
- **Minimum Days**: Fastest trade completion time
- **Min Days Date**: When the fastest trade occurred
### Advanced Label System
- **Performance metrics**: Days held, gain percentage, and CAGR on exit signals
- **Calendar days calculation**: Accurate time-based performance (not just bars)
- **Anti-overlap positioning**: Smart label placement to avoid chart clutter
- **Fully customizable**: Colors, sizes, and text styling
### Professional Customization
- **Label colors**: Separate color controls for each signal type
- **Table styling**: Full control over fonts, colors, and positioning
- **Position controls**: Precise offset adjustments for optimal visibility
- **Alert system**: Built-in alerts for all signal types
## 📈 Trading Logic
**Entry Strategy:**
1. Wait for bearish SMA alignment (potential bottom)
2. Enter initial position on MAIN BUY
3. Add to position on 10% dips (10kaDum BUY)
**Exit Strategy:**
1. Take quick profits on 10kaDum positions (+10% gain)
2. Hold main position until bullish SMA alignment
3. Full exit on MAIN SELL signal
## 🎨 Visual Elements
- **SMA Lines**: 20, 50, and 200-period moving averages
- **Colored Labels**: Distinct visual signals for each action
- **Statistics Table**: Live performance tracking
- **Clean Design**: Minimal chart clutter with maximum information
## ⚡ Best Practices
- Use on daily or higher timeframes for best results
- Combine with volume analysis for confirmation
- Monitor the statistics table for strategy performance
- Adjust position sizes based on signal type
- Set alerts for hands-free trading
## 🔧 Customization Options
- **9 table positions** (top, middle, bottom × left, center, right)
- **5 font sizes** (tiny to huge)
- **Full color customization** for all elements
- **Adjustable label spacing** for different chart scales
- **Toggle statistics display** on/off
---
**Disclaimer**: This indicator is for educational purposes. Past performance doesn't guarantee future results. Always practice proper risk management and consider your financial situation before trading.
**Created by**: NAV
**Version**: 1.0
**Category**: Strategy / Trend Analysis
---
This description highlights the key features, provides clear usage instructions, and maintains a professional tone suitable for TradingView's marketplace.
SMA Crossover Strategy📈 Indicator: SMA Crossover Strategy
This strategy uses optimized fast and slow SMA values tailored to popular timeframes for more responsive trend detection. You can let the script auto-select values or manually define your own crossover settings. Clean visual cues and per-candle signal filtering keep your chart sharp and actionable.
🔧 Key Features:
- Auto Mode: Smart defaults for each timeframe with trader-tested pairs
- Manual Mode: User-defined flexibility when custom values are needed
- Signal Clarity: BUY/SELL labels are plotted only once per confirmed candle
🧠 Default Auto Values (Based on Chart Timeframe)
- 1-min: Fast = 5, Slow = 20
- 5-min: Fast = 5, Slow = 10
- 15-min: Fast = 5, Slow = 13
- 30-min: Fast = 15, Slow = 30
- 1-hr: Fast = 50, Slow = 200
- 4-hr: Fast = 20, Slow = 50
- Daily: Fast = 50, Slow = 200
- Weekly: Fast = 10, Slow = 30
If your timeframe isn't matched exactly, the script falls back to sensible defaults.
📊 How to Improve Conviction
SMA crossovers are strong signals when confirmed by other tools. Here are some add-ons you can layer into your chart:
🔍 Confirmation Indicators
- RSI (14): Look for crossovers near RSI crossing 50 or at oversold/overbought zones for momentum confirmation.
- MACD: Use histogram alignment with crossover signals to detect real trend shifts.
- Volume Filters: Pair signals with rising volume for institutional confirmation.
🌀 Trend & Volatility Filters
- ATR (Average True Range): Helps filter signals during consolidation—watch for expanding ATR as a volatility cue.
- ADX: Trade only when ADX > 20 to avoid false signals in ranging markets.
- HMA (Hull MA): A smoother, faster MA that can act as a trend bias overlay.
🔭 Multi-Timeframe Awareness
Overlay higher-timeframe trend indicators (like a daily 200 SMA on an intraday chart) to avoid trading against macro momentum.