Penguin Volatility State StrategyPenguin Volatility State Strategy
This document provides details on the "Penguin Volatility State" trading strategy for the TradingView platform. It is a strategy designed to identify different market conditions and execute trades based on momentum and volatility.
Overview
This strategy uses a combination of several popular indicators, including Bollinger Bands (BB), Keltner Channels (KC), Exponential Moving Averages (EMAs), and the Relative Strength Index (RSI), to classify the market into four main states, represented by different colors on the chart:
Green: Strong uptrend.
Red: Strong downtrend.
Yellow: A pullback or consolidation phase within an uptrend (potential reversal signal).
Blue: A pullback or consolidation phase within a downtrend (potential reversal signal).
The goal of the strategy is to enter trades in the direction of the strong trend (Green and Red states) and allow the user to filter out noise during sideways market conditions (Yellow and Blue states).
How the Indicators Work
Bollinger Bands & Keltner Channels: Used to measure market volatility. The difference between the width of the BB and KC (diff) is used to calculate an RSI to measure the "acceleration" of volatility.
EMAs (Fast & Slow): Used to determine the primary trend direction. If the fast EMA is above the slow EMA, it is considered an uptrend, and vice versa.
RSI of Diff: This is the core component for measuring the momentum of volatility. When this RSI value is above its own moving average, it signifies strong momentum, which is a key condition for entering a trade.
Filters and Strategy Logic
Users can customize the strategy's behavior through three main filters:
Filter Sideways Markets (RULE 1): If enabled, the strategy will only enter trades in the Green state (for Longs) and Red state (for Shorts), avoiding sideways conditions (Yellow and Blue).
Trade Only on Strong Momentum (RULE 2): If enabled, the strategy will only enter trades when there is strong momentum (when the RSI of Diff is above its moving average).
Enter/Exit on Exact Transition (RULE 3): If enabled, the strategy will enter and exit orders only at the exact crossover of the RSI of Diff and its moving average. This can lead to more precise entries/exits but may also cause some opportunities to be missed.
Inputs
BB/KC Length: The number of bars used to calculate Bollinger Bands and Keltner Channels.
BB Multiplier: The standard deviation multiplier for the Bollinger Bands.
KC Multiplier: The ATR multiplier for the Keltner Channels.
Fast EMA Length: The number of bars for the fast EMA.
Slow EMA Length: The number of bars for the slow EMA.
RSI of Diff Length: The number of bars for the RSI of diff.
SMA of RSI Length: The number of bars for the moving average of the RSI of Diff.
Trade Direction: Choose to trade Long Only, Short Only, or Both.
Filters (RULE 1, 2, 3): Enable/disable the filters as described above.
Pine Script Code
Here is the full code for the strategy. You can copy and paste it into the Pine Editor on TradingView.
//@version=5
strategy("Penguin Volatility State Strategy", overlay=true, initial_capital=10000, default_qty_type=strategy.percent_of_equity, default_qty_value=100, commission_value=0.075)
// ===================================================================
// INPUTS
// ===================================================================
// --- Indicator Settings ---
string group_indicators = "Indicator Settings"
bb_len = input.int(20, "BB/KC Length", group=group_indicators)
bb_mult = input.float(2.0, "BB Multiplier", group=group_indicators)
kc_mult = input.float(2.0, "KC Multiplier", group=group_indicators)
ema_fast_len = input.int(12, "Fast EMA Length", group=group_indicators)
ema_slow_len = input.int(26, "Slow EMA Length", group=group_indicators)
rsi_diff_len = input.int(14, "RSI of Diff Length", group=group_indicators)
rsi_avg_len = input.int(7, "SMA of RSI Length", group=group_indicators)
// --- Strategy Filter Settings ---
string group_filters = "Strategy Filters"
trade_direction = input.string("Both", "Trade Direction", options= , group=group_filters)
use_regime_filter = input.bool(true, "RULE 1: Filter Sideways Markets (Yellow & Blue)?", group=group_filters)
use_strength_filter = input.bool(true, "RULE 2: Trade Only on Strong Momentum (RSI Accel)?", group=group_filters)
use_timing_filter = input.bool(false, "RULE 3: Enter/Exit on Exact Transition?", group=group_filters)
// ===================================================================
// INDICATOR CALCULATIONS
// ===================================================================
// --- Bollinger Bands & Keltner Channel ---
basisBB = ta.sma(close, bb_len)
dev = bb_mult * ta.stdev(close, bb_len)
upperBB = basisBB + dev
lowerBB = basisBB - dev
atr = ta.atr(bb_len)
upperKC = basisBB + kc_mult * atr
lowerKC = basisBB - kc_mult * atr
// --- Diff & RSI of Diff Calculation ---
diff = (upperBB - upperKC) / upperKC * 100
diff_change = ta.change(diff)
up = ta.rma(math.max(diff_change, 0), rsi_diff_len)
down = ta.rma(-math.min(diff_change, 0), rsi_diff_len)
rsi_diff = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
rsi_diff2 = ta.sma(rsi_diff, rsi_avg_len)
// --- EMAs for Market State ---
fast_ma = ta.ema(close, ema_fast_len)
slow_ma = ta.ema(close, ema_slow_len)
apcdc = ta.ema(ohlc4, 2)
// ===================================================================
// STATE DEFINITIONS
// ===================================================================
isBullishTrend = fast_ma > slow_ma
isBearishTrend = fast_ma < slow_ma
isGreen = isBullishTrend and apcdc > fast_ma
isRed = isBearishTrend and apcdc < fast_ma
isYellow = isBullishTrend and apcdc < fast_ma
isBlue = isBearishTrend and apcdc > fast_ma
isRsiAccel = rsi_diff > rsi_diff2
// ===================================================================
// STRATEGY LOGIC
// ===================================================================
// --- Apply Filters to define tradable conditions ---
can_long_base = use_regime_filter ? isGreen : (isGreen or isYellow)
can_short_base = use_regime_filter ? isRed : (isRed or isBlue)
long_condition = use_strength_filter ? can_long_base and isRsiAccel : can_long_base
short_condition = use_strength_filter ? can_short_base and isRsiAccel : can_short_base
entry_long_timing = ta.crossunder(rsi_diff2, rsi_diff) and can_long_base
exit_long_timing = ta.crossunder(rsi_diff, rsi_diff2)
entry_short_timing = ta.crossunder(rsi_diff2, rsi_diff) and can_short_base
exit_short_timing = ta.crossunder(rsi_diff, rsi_diff2)
// --- Determine Final Entry/Exit Conditions ---
final_entry_long = use_timing_filter ? entry_long_timing : long_condition
final_exit_long = use_timing_filter ? exit_long_timing : not long_condition
final_entry_short = use_timing_filter ? entry_short_timing : short_condition
final_exit_short = use_timing_filter ? exit_short_timing : not short_condition
// --- Check Trade Direction permission ---
allow_long = trade_direction == "Both" or trade_direction == "Long Only"
allow_short = trade_direction == "Both" or trade_direction == "Short Only"
// --- Execute Trades ---
if (final_entry_long and allow_long)
strategy.entry("Long", strategy.long)
if (final_exit_long)
strategy.close("Long")
if (final_entry_short and allow_short)
strategy.entry("Short", strategy.short)
if (final_exit_short)
strategy.close("Short")
// ===================================================================
// VISUALIZATION
// ===================================================================
bgcolor(isGreen ? color.new(color.green, 85) : isRed ? color.new(color.red, 85) : isYellow ? color.new(color.yellow, 85) : isBlue ? color.new(color.blue, 85) : na)
Disclaimer
This strategy is provided for educational and informational purposes only and is not financial advice.
Past performance from backtesting does not guarantee future results.
Trading involves risk. Investors should conduct their own research and exercise due diligence before making any investment decisions and should manage their own risk.
Trading!
Session Anchors – DEMOThis indicator highlights the four major trading sessions: London, New York AM, New York PM, and Asia using color-coded boxes directly on the chart.
It is designed to help traders identify the most active and relevant time zones, enhancing price action analysis and liquidity interpretation.
✅ Fully customizable: enable/disable individual sessions
✅ Adjustable color settings for each session
🔒 This is a DEMO version, showing only session time zones, excluding session-based key levels (available in the private version).
ℹ️ To use: add the indicator to your chart, select which sessions to display, and customize colors as needed.
⚠️ Works on all timeframes.
Super SharkThis script plots the 200-period Exponential Moving Average (EMA) on the main chart, helping traders identify the long-term trend direction.
It is suitable for trend following and support/resistance analysis.
Trade what you see, Not what you think
Editable Trade Checklist by Andrei Editable Trade Checklist by Andrei Indicator
This script adds a customizable trade checklist directly onto your chart, helping traders stay disciplined and consistent. It’s designed for discretionary strategies where traders want to visually confirm their rules are met before taking a position.
What It Does
• Displays a visual checklist with up to 10 custom rules
• Each rule uses a checkbox (✔ = Yes, ☐ = No)
• Supports structured decision-making before trade entries
How It Works
In the Inputs tab, you can:
• Rename each checklist item to match your trading plan
• Mark conditions as Yes (checked) or No (unchecked)
• Customize the header and table colors
• Adjust text size for easier viewing — especially useful on mobile
• The checklist appears as a fixed panel on your chart that can be moved to any corner for flexibility
How to Use It
• Add the indicator to your chart
• Open the settings to define your checklist items
• Use checkboxes to track which rules are met
• Review your checklist before taking trades to stay aligned with your strategy
This tool does not produce buy/sell signals — it's built to support manual trade planning and reinforce consistency.
Publishing Notes
This indicator works independently and is published on a clean chart as required. No other scripts or drawings are included. Custom drawings or tools may be used by the trader but are not part of this script.
TCT Alpha LevelsI didn’t build this to impress anyone.
I built it because I was done watching the market mess with me.
TCT Alpha Levels came out of those moments where price reversed 2 pips before my entry…
where signals came late… or never made sense.
I got tired of indicators that looked smart but acted stupid.
So I created something that thinks like I do - sharp, clean, no-nonsense.
It doesn’t give signals just to fill space.
It waits. It filters. It hits when it’s time - not before.
You won’t see fancy names or 15 different colors flashing on your chart.
You’ll just see confidence.
And if you’re the kind of trader who respects timing, structure, and silence before impact…
then you’ll feel exactly what I felt when I ran this for the first time.
This isn’t a tool. It’s instinct - turned into code.
🌐 Visit: www.thecreativetraders.com
Directional Market Efficiency [QuantAlgo]🟢 Overview
The Directional Market Efficiency indicator is an advanced trend analysis tool that measures how efficiently price moves in a given direction relative to the total price movement over a specified period. Unlike traditional momentum oscillators that only measure price change magnitude, this indicator combines efficiency measurement with directional bias to provide a comprehensive view of market behavior ranging from -1 (perfectly efficient downward movement) to +1 (perfectly efficient upward movement).
The indicator transforms the classic Efficiency Ratio concept by incorporating directional bias, creating a normalized oscillator that simultaneously reveals trend strength, direction, and market regime (trending vs. ranging). This dual-purpose functionality helps traders and investors identify high-probability trend continuation opportunities while filtering out choppy, inefficient price movements that often lead to false signals and whipsaws.
🟢 How It Works
The indicator employs a sophisticated two-step calculation process that first measures pure efficiency, then applies directional weighting to create the final signal. The efficiency calculation compares the absolute net price change over a lookback period to the sum of all individual bar-to-bar price movements during that same period. This ratio reveals how much of the total price movement contributed to actual progress in a specific direction.
The directional component applies the mathematical sign of the net price change (positive for upward movement, negative for downward movement) to the efficiency ratio, creating values between -1 and +1. The resulting Directional Efficiency is then smoothed using an Exponential Moving Average to reduce noise while maintaining responsiveness. Additionally, the system incorporates a configurable threshold level that distinguishes between trending markets (high efficiency) and ranging markets (low efficiency), enabling regime-based analysis and strategy adaptation.
🟢 How to Use
1. Signal Interpretation and Market Regime Analysis
Positive Territory (Above Zero): Indicates efficient upward price movement with bullish directional bias and favorable conditions for long positions
Negative Territory (Below Zero): Signals efficient downward price movement with bearish directional bias and favorable conditions for short positions
High Absolute Values (±0.4 to ±1.0): Represent highly efficient trending conditions with strong directional conviction and reduced noise
Low Absolute Values (±0.1 to ±0.3): Suggest ranging or consolidating markets with inefficient price movement and increased whipsaw risk
Zero Line Crosses: Mark critical directional shifts and provide primary entry/exit signals for trend-following strategies
2. Threshold-Based Market Regime Classification
Above Threshold (Trending Markets): When efficiency exceeds the threshold level, markets are classified as trending, favoring momentum strategies
Below Threshold (Ranging Markets): When efficiency falls below the threshold, markets are classified as ranging, favoring mean reversion approaches
3. Preset Configurations for Different Trading Styles
Default
Universally applicable configuration optimized for medium-term analysis across multiple timeframes and asset classes, providing balanced sensitivity and noise filtering.
Scalping
Highly responsive setup for ultra-short-term trades with increased sensitivity to quick efficiency changes. Best suited for 1-15 minute charts and rapid-fire trading approaches.
Swing Trading
Designed for multi-day position holding with enhanced noise filtering and focus on sustained efficiency trends. Optimal for 1-4 hour and daily timeframe analysis.
🟢 Pro Tips for Trading and Investing
→ Trend Continuation Filter: Enter long positions when Directional Efficiency crosses above zero in trending markets (above threshold) and short positions when crossing below zero, ensuring alignment with efficient price movement.
→ Range Trading Optimization: In ranging markets (below threshold), take profits on extreme readings and enter mean reversion trades when efficiency approaches zero from either direction.
→ Multi-Timeframe Confluence: Combine higher timeframe trend direction with lower timeframe efficiency signals for optimal entry timing.
→ Risk Management Enhancement: Reduce position sizes or avoid new entries when efficiency readings are weak (near zero), as these conditions indicate higher probability of choppy, unpredictable price movement.
→ Signal Strength Assessment: Prioritize trades with high absolute efficiency values (±0.4 or higher) as these represent the most reliable directional moves with reduced likelihood of immediate reversal.
→ Regime Transition Trading: Watch for efficiency threshold breaks combined with directional changes as these often mark significant trend initiation or termination points requiring strategic position adjustments.
→ Alert Integration: Utilize the built-in alert system for real time notifications of zero-line crosses, threshold breaks, and regime changes to maintain constant market awareness without continuous chart monitoring.
OB Entry Signal Pro v.2Indicator Description
The indicator operates in real time to identify key order block zones and generate trading signals, minimizing market noise and enhancing your trading efficiency.
How It Works
Detection of Powerful Swings
The indicator pinpoints local extrema with pronounced wicks, the size of which is calculated using ATR.
Confirmed Zone Retest
Price returns to the swing area within a specified bar window and is validated by a candlestick bounce in the desired direction.
Optional MACD Filtering
When enabled, MACD histogram confirmation filters out false breakouts and helps you enter in the direction of the prevailing trend impulse.
Automatic Visualization and Alerts
Order block zones are drawn directly on the chart, and built‑in `alertcondition` triggers notify you of signals instantly.
Advantages
Live Trading Ready
Calculations occur on each closed bar, making the indicator fully suited for use in live trading.
Precise Adaptation to Any Pair and Timeframe
Swing detection depth and retest parameters can be finely tuned to the characteristics of any cryptocurrency and timeframe.
Minimization of False Signals
An ATR‑based wick filter, optional MACD confirmation, and a minimum‑distance constraint between zones significantly reduce noise and redundant signals.
Proven Effectiveness
In comprehensive backtests, the indicator demonstrated a high win rate, confirming its reliability under varied market conditions.
Enhanced Decision‑Making
Clear graphical zones and integrated alerting accelerate your response to market moves and ensure you never miss critical signals.
Illustrations Across Multiple Timeframes
15m
30m
1H
2H
4H
Important
This indicator is intended as an auxiliary analytical tool and does not guarantee profitable outcomes or absolute forecasting accuracy. It should be used as part of your own trading strategy, taking into account current market conditions, and is not a personal financial recommendation.
Ultimate Market Structure [Alpha Extract]Ultimate Market Structure
A comprehensive market structure analysis tool that combines advanced swing point detection, imbalance zone identification, and intelligent break analysis to identify high-probability trading opportunities.Utilizing a sophisticated trend scoring system, this indicator classifies market conditions and provides clear signals for structure breaks, directional changes, and fair value gap detection with institutional-grade precision.
🔶 Advanced Swing Point Detection
Identifies pivot highs and lows using configurable lookback periods with optional close-based analysis for cleaner signals. The system automatically labels swing points as Higher Highs (HH), Lower Highs (LH), Higher Lows (HL), and Lower Lows (LL) while providing advanced classifications including "rising_high", "falling_high", "rising_low", "falling_low", "peak_high", and "valley_low" for nuanced market analysis.
swingHighPrice = useClosesForStructure ? ta.pivothigh(close, swingLength, swingLength) : ta.pivothigh(high, swingLength, swingLength)
swingLowPrice = useClosesForStructure ? ta.pivotlow(close, swingLength, swingLength) : ta.pivotlow(low, swingLength, swingLength)
classification = classifyStructurePoint(structureHighPrice, upperStructure, true)
significance = calculateSignificance(structureHighPrice, upperStructure, true)
🔶 Significance Scoring System
Each structure point receives a significance level on a 1-5 scale based on its distance from previous points, helping prioritize the most important levels. This intelligent scoring system ensures traders focus on the most meaningful structure breaks while filtering out minor noise.
🔶 Comprehensive Trend Analysis
Calculates momentum, strength, direction, and confidence levels using volatility-normalized price changes and multi-timeframe correlation. The system provides real-time trend state tracking with bullish (+1), bearish (-1), or neutral (0) direction assessment and 0-100 confidence scoring.
// Calculate trend momentum using rate of change and volatility
calculateTrendMomentum(lookback) =>
priceChange = (close - close ) / close * 100
avgVolatility = ta.atr(lookback) / close * 100
momentum = priceChange / (avgVolatility + 0.0001)
momentum
// Calculate trend strength using multiple timeframe correlation
calculateTrendStrength(shortPeriod, longPeriod) =>
shortMA = ta.sma(close, shortPeriod)
longMA = ta.sma(close, longPeriod)
separation = math.abs(shortMA - longMA) / longMA * 100
strength = separation * slopeAlignment
❓How It Works
🔶 Imbalance Zone Detection
Identifies Fair Value Gaps (FVGs) between consecutive candles where price gaps create unfilled areas. These zones are displayed as semi-transparent boxes with optional center line mitigation tracking, highlighting potential support and resistance levels where institutional players often react.
// Detect Fair Value Gaps
detectPriceImbalance() =>
currentHigh = high
currentLow = low
refHigh = high
refLow = low
if currentOpen > currentClose
if currentHigh - refLow < 0
upperBound = currentClose - (currentClose - refLow)
lowerBound = currentClose - (currentClose - currentHigh)
centerPoint = (upperBound + lowerBound) / 2
newZone = ImbalanceZone.new(
zoneBox = box.new(bar_index, upperBound, rightEdge, lowerBound,
bgcolor=bullishImbalanceColor, border_color=hiddenColor)
)
🔶 Structure Break Analysis
Determines Break of Structure (BOS) for trend continuation and Directional Change (DC) for trend reversals with advanced classification as "continuation", "reversal", or "neutral". The system compares pre-trend and post-trend states for each break, providing comprehensive trend change momentum analysis.
🔶 Intelligent Zone Management
Features partial mitigation tracking when price enters but doesn't fully fill zones, with automatic zone boundary adjustment during partial fills. Smart array management keeps only recent structure points for optimal performance while preventing duplicate signals from the same level.
🔶 Liquidity Zone Detection
Automatically identifies potential liquidity zones at key structure points for institutional trading analysis. The system tracks broken structure points and provides adaptive zone extension with configurable time-based limits for imbalance areas.
🔶 Visual Structure Mapping
Provides clear visual indicators including swing labels with color-coded significance levels, dashed lines connecting break points with BOS/DC labels, and break signals for continuation and reversal patterns. The adaptive zones feature smart management with automatic mitigation tracking.
🔶 Market Structure Interpretation
HH/HL patterns indicate bullish market structure with trend continuation likelihood, while LH/LL patterns signal bearish structure with downtrend continuation expected. BOS signals represent structure breaks in trend direction for continuation opportunities, while DC signals warn of potential reversals.
🔶 Performance Optimization
Automatic cleanup of old structure points (keeps last 8 points), recent break tracking (keeps last 5 break events), and efficient array management ensure smooth performance across all timeframes and market conditions.
Why Choose Ultimate Market Structure ?
This indicator provides traders with institutional-grade market structure analysis, combining multiple analytical approaches into one comprehensive tool. By identifying key structure levels, imbalance zones, and break patterns with advanced significance scoring, it helps traders understand market dynamics and position themselves for high-probability trade setups in alignment with smart money concepts. The sophisticated trend scoring system and intelligent zone management make it an essential tool for any serious trader looking to decode market structure with precision and confidence.
Intelligent Moving📈 Intelligent Moving — Self-Adjusting Trend Bands with Neural Optimization
Description
Intelligent Moving is a closed-source indicator for trend analysis and breakout detection. It uses a central moving average, ATR-based deviation bands, and a self-optimizing algorithm powered by virtual trade simulation and a simple neural network (perceptron). The tool adjusts its core parameters in real time, allowing it to dynamically adapt to evolving market conditions without manual intervention.
🧩 Structure and Visual Elements
The indicator displays:
- 📍 Central Moving Average Line: The trend baseline.
- 📊 ATR-Based Deviation Bands: Upper and lower lines offset from the MA using an adaptive multiplier.
- 📈 Trend Coloring: All three lines change color based on whether the price is trending above or below the MA.
- 🔼🔽 Signal Arrows: Buy/sell arrows appear when the price reverts from an overextended zone.
🔍 Detailed Logic of Calculations
1. Moving Average
The center line is a moving average whose period is dynamically optimized based on historical performance. It reflects the current trend direction and is used for band calculations and signal logic.
2. ATR-Based Deviation Bands
Deviation bands are calculated as:
- Upper Band = MA + ATR × UpperDeviation
- Lower Band = MA − ATR × LowerDeviation
These bands do not use standard deviation. Instead, the ATR (with the same period as the MA) is multiplied by deviation coefficients, which are optimized in real time.
3. Trend Coloring
The indicator colors the bands based on the relative position of price closes:
- Bullish Trend (e.g., Blue): Recent closes are above the MA.
- Bearish Trend (e.g., Red): Recent closes are below the MA.
This helps traders visually identify the dominant trend at a glance.
🎯 Signal Generation Logic
🔼 Buy Signal:
- Price closes below the lower band for one or more bars.
- Then, a bar closes back above the lower band.
🔽 Sell Signal:
- Price closes above the upper band for one or more bars.
- Then, a bar closes back below the upper band.
Signals are reversion-based, not triggered by classical crossovers or oscillators. They aim to detect price exhaustion followed by reversal.
🧠 Neural Optimization Engine
The key innovation in Intelligent Moving is a lightweight neural self-optimization system.
🧪 Virtual Trade Simulation
At regular intervals (e.g., every 100 bars), the indicator performs simulations:
- Virtual Buy Entry: When price closes below the lower band and then closes above.
- Virtual Sell Entry: When price closes above the upper band and then closes below.
- Virtual Stop-Losses:
- - For longs: one pip below the lowest low during the signal zone.
- - For shorts: one pip above the highest high during the signal zone.
- Virtual Take-Profit Conditions:
- - Longs close when price closes above the MA.
- - Shorts close when price closes below the MA.
Simulated profits are calculated for each combination of parameters.
🔄 Neural Optimization Process
Using the results of these virtual trades, the built-in perceptron neural network evaluates:
- A range of moving average periods
- A range of upper and lower deviation coefficients
You define the optimization boundaries through:
- Base value
- Step size
- Number of passes
- Whether to base the search on the original value or the last-best result
The perceptron selects the best-performing combination, which is then used until the next optimization cycle.
This enables the indicator to continuously adapt to changing market dynamics.
🚀 Why Use Intelligent Moving?
- ✅ Dynamic self-optimization using neural logic
- ✅ Reversion-based signal system
- ✅ Visual trend clarity through adaptive coloring
- ✅ No manual tuning required
- ✅ Customizable visuals and alerts
⚠️ Additional Notes
- This script is closed-source, but the description provides sufficient transparency about its logic and mechanisms as required by TradingView rules.
- It does not repaint signals.
- The built-in training is purely historical, and parameters are only updated between intervals — not retroactively.
- Due to the complexity of the internal training and optimization logic, the script may take longer to load, especially when deep simulation depth or a large number of passes is selected.
- In rare cases, TradingView may show a “Script execution timeout” error if the combined loop workload exceeds platform limits. If that happens, try reducing:
- - Neurolearning Rates Depth
- - Neurolearning Periods Passes
- - Neurolearning Deviations Passes
Candle close on high time frameOVERVIEW
This indicator plots persistent closing levels of higher time frame candles (H1, H4, and Daily) on the active intraday chart in real time. Unlike similar tools, it offers granular control over line projection length, fully independent toggles per timeframe, and a built-in mechanism that automatically limits the total number of historical levels to avoid chart clutter and performance issues.
CONCEPTS
Key levels from higher time frames often act as areas where price reacts or consolidates. By projecting each candle's exact closing price forward as a horizontal reference, traders can quickly identify dynamic support and resistance zones relevant to the current price action. This indicator enables seamless multi-timeframe analysis without the need to manually switch chart intervals or re-draw lines.
FEATURES
Independent Time Frame Selection: Enable or disable H1, H4, and Daily levels individually to tailor the analysis.
Custom Extension Length: Each timeframe's closing level can be projected forward for a user-defined number of bars.
Performance Optimization: The script maintains an internal limit (default: 100) on the number of active lines. When this threshold is exceeded, the oldest lines are removed automatically.
Visual Differentiation: Colors for each timeframe are fully customizable, enabling immediate recognition of level origin.
Immediate Update: New levels appear as soon as a higher timeframe candle closes, ensuring real-time reference.
USAGE
From the indicator inputs, select which timeframes you want to track.
Adjust the extension lengths to fit your trading style and time horizon.
Customize the line colors for clarity and personal preference.
Use these projected levels as part of your confluence criteria for entries, exits, or stop placement.
Combine with trend indicators or price action tools to enhance your multi-timeframe strategy.
ORIGINALITY AND ADDED VALUE
While similar scripts exist that plot higher timeframe levels, this implementation differs in:
Its efficient automatic cleanup of old lines to preserve chart performance.
The independent extension and color settings per timeframe.
Immediate reaction to new candle closes without repainting.
Simplicity of use combined with precise customization.
This combination makes it a practical and flexible tool for traders who rely on clear HTF level visualization without manual drawing or the limitations of built-in TradingView tools.
LICENSE
This script is published open-source under the Mozilla Public License 2.0.
M2 Global G13 Liquidity (Custom & Shift, US DXY Adj.)🌎 M2 Global G13 Liquidity index (Custom & Shift, US DXY Adj.)
💡 Indicator Overview
The M2 Global G13 Liquidity indicator combines the M2 liquidity of 13 major countries, allowing users to selectively include or exclude each country to visualize global capital flows and potential investment liquidity at a glance.
Each country's M2 data is converted to USD using real-time exchange rates, and the US M2 is further adjusted using the Dollar Index (DXY) to reflect the impact of dollar strength or weakness on US liquidity.
✅ What is M2?
M2 is a broad measure of money supply that includes cash, demand deposits, savings deposits, and certain financial products.
It represents a country's overall liquidity and capital supply and is often interpreted as "dry powder" ready to be deployed into various assets such as equities, real estate, and bonds.
Therefore, M2 serves as a crucial benchmark for assessing a country's potential investment capacity that can flow into markets at any time.
💰 Exchange Rate & Dollar Index Adjustment
- All country M2 data is converted from local currencies to USD.
- The US M2 is further adjusted using the Dollar Index (DXY) to better reflect its real global power:
- DXY > 100 → Liquidity contraction (strong dollar effect)
- DXY < 100 → Liquidity expansion (weak dollar effect)
🗺️ Country Selection Options
- Default selection: United States
- Major selections: China, Eurozone, Japan, United Kingdom (core G5 economies)
- Additional selections: Switzerland, Canada, India, Russia, Brazil, South Korea, Mexico, South Africa
- Users can freely add or remove countries to customize the indicator to match their analytical needs.
📈 Example Use Cases
- Monitor global capital flows: Track worldwide liquidity trends and detect potential market risk signals.
- Analyze exchange rate and monetary policy trends: Compare dollar strength with major central bank policies.
- Benchmark against equity indices: Evaluate correlations with MSCI World, KOSPI, NASDAQ, etc.
- Valuation analysis: Compare overall liquidity levels to equity index prices or market capitalization to assess relative valuation and identify potential overvaluation or undervaluation.
- Crisis response strategy: Identify liquidity contraction during global credit crises or deleveraging phases.
==================================================
🌎 M2 글로벌 G13 유동성 지수 (Custom & Shift, US DXY Adj.)
💡 지표 소개
M2 Global G13 Liquidity 지표는 세계 13개 주요국의 M2 유동성을 선택적으로 결합하여, 글로벌 자금 흐름과 잠재 투자 자금을 한눈에 시각화할 수 있도록 설계된 종합 유동성 지표입니다.
국가별 M2 데이터를 환율과 결합해 달러 기준으로 표준화하며, 특히 미국 M2는 달러지수(DXY)로 보정하여 달러 강약에 따른 파급력을 반영합니다.
✅ M2란?
M2는 광의 통화지표로, 현금 + 요구불 예금 + 저축성 예금 + 일부 금융상품을 포함합니다.
이는 한 국가의 유동성 수준과 자금 공급 상태를 나타내는 핵심 거시경제 지표이며, **주식·부동산·채권 등 다양한 자산에 투자될 준비가 된 '대기자금'**으로도 해석됩니다.
따라서 M2는 투자시장으로 언제든지 흘러들어갈 수 있는 잠재적 투자 역량을 평가할 때 중요한 기준입니다.
💰 환율 및 달러지수 보정
- 모든 국가 M2는 자국 통화에서 **달러(USD)**로 환산됩니다.
- 특히 미국 M2는 달러 가치의 글로벌 실질 파워를 평가하기 위해 DXY 보정을 적용합니다.
- DXY > 100 → 유동성 축소 (강달러 효과)
- DXY < 100 → 유동성 확대 (약달러 효과)
🗺️ 국가별 선택 옵션
- 기본 선택: 미국
- 주요 선택: 중국, 유로존, 일본, 영국 (주요 G5)
- 추가 선택: 스위스, 캐나다, 인도, 러시아, 브라질, 한국, 멕시코, 남아공
- 사용자는 각 국가를 자유롭게 더하거나 빼면서 커스터마이즈할 수 있습니다.
📈 활용 예시
- 글로벌 자금 흐름 모니터링: 전세계 유동성 추세 및 시장 리스크 신호 분석
- 환율/금리 정책 분석: 달러 강약과 주요국 정책 변화 비교
- 주가지수 벤치마크 비교: MSCI World, 코스피, 나스닥 등과 상관관계 확인
- 밸류에이션 분석: 전체 유동성 수준을 주가지수나 시가총액과 비교하여, 시장의 상대적 고평가·저평가 여부를 평가
- 위기 대응 전략: 글로벌 신용위기·자금 긴축 국면 대비
Useful Open Price Lines - Multi-Timeframe SupportDisplay important opening price levels on your chart with this comprehensive indicator.
KEY FEATURES:
✓ Track up to 6 different opening prices simultaneously
✓ Support for intraday time-based opens (any hour:minute)
✓ Higher timeframe opens: Daily, Weekly, Monthly, Quarterly, Semi-Annual, Yearly
✓ Automatic line extension with customizable cutoff
✓ Clean chart option - hide previous day's lines
✓ Full timezone support for global markets
✓ Customizable colors, labels, and line styles
USE CASES:
- Day traders: Track key session opens (Asian, London, NY)
- Swing traders: Monitor weekly and monthly opens
- Position traders: Track quarterly and yearly opens
- Multi-timeframe analysis: See all key levels at once
CUSTOMIZATION:
- Choose any time for intraday opens (00:00 - 23:00)
- Select from multiple timeframes (D, W, M, 3M, 6M, 12M)
- Customize labels, colors, and line styles
- Adjust label offset and size
- Set line extension cutoff time
The indicator is optimized for performance and works smoothly on all timeframes.
Chiaroscuro Scalp Model A [Signal + Visuals]This indicator is based on the Chiaroscuro Scalp Model A — a precision-based scalping system that identifies high-probability trade setups during the London and New York sessions. It combines daily range expansion, order blocks, fair value gaps, and W/M reversal patterns to generate 20-pip scalping opportunities with clearly plotted stop loss and take profit levels. Ideal for intraday traders seeking structured, rule-based entries.
AmazingTrend - Long OnlyUnlock powerful trend-following logic with this dynamic and fully customizable Pine Script™ strategy, designed for traders who want precision entries, adaptive exits, and beautiful chart visuals.
✅ Key Features:
Long Bias by Default – Designed to ride bullish momentum with intelligent entries and flexible exits.
Optional Short Capability – While optimized for longs, the engine is also fully capable of short-side logic with minor adaptation.
Multiple Entry Modes – Choose between:
Classic – Reversals only
Aggressive – Early trend detection
Conservative – Confirmed trend continuation
Momentum – Powered by ATR and price bursts
Exit Customization – Includes:
Classic – Balanced logic
Quick – Tight risk control
Trailing – Dynamic stop tracking
Time-Based – Scheduled profit-taking
Visual Feedback – Multi-layered trend glow, buy/exit highlights, and a clean on-chart info panel.
Commission + Order Size Logic – Simulate realistic brokerage conditions with configurable cost and size inputs.
🔍 Chart Compatibility:
For the best performance, we recommend:
✅ Heikin Ashi and Renko charts for clarity and noise reduction.
✅ Use Regular Candlestick Charts only on higher timeframes (Daily and above) for clean signals.
❌ Avoid lower timeframes 1second to 5minute it is not built for this.
🧠 Smart Trend Detection:
The strategy detects directional bias using smoothed ATR-based stops and automatically shifts between bullish and bearish regimes. Entry and exit logic responds dynamically to market strength, giving you the edge in both volatile and trending environments.
🧪 Strategy Tested:
Built for 100% portfolio allocation per trade
Designed for realistic backtests with slippage and commission settings backtest results on our page is 0.25 % on buy and sell so total 0.50 %
Works across multiple markets: Crypto, Forex, Stocks. (futures coming later)
📈 Ideal For:
for shorters. investors, long traders, i do not recommend scalping ever but thats up to you.
Swing and momentum setups
Renko & Heikin Ashi fans
beware tradingview dont support alerts on Renko charts.
accurate backtest results that reflect reality if you use it exactly as displayed.
🎁 This Invite-Only script includes lifetime updates and is optimized for Pine Script v5. Contact the author to gain access. we will ofc develop this script feel free to use any version you prefer in the future.
DTL Daily Trading Levels
A comprehensive trading levels indicator that displays all critical price levels for intraday and swing traders in real-time. This professional-grade tool automatically tracks and plots key support and resistance levels that institutional traders monitor.
Trading Radio RSI Over Detector For BTCUSD v1.0🚀 Trading Radio RSI Over Detector For BTCUSD v1.0
The ultimate RSI structure detector for Bitcoin scalpers & swing traders
Experience the power of Trading Radio RSI Over Detector, built exclusively for BTCUSD. This smart indicator combines classic RSI thresholds with real market structure detection (HH, HL, LH, LL) to give you high-probability reversal insights on the Bitcoin chart.
🎯 What makes it powerful?
✅ Dynamic RSI signals for Overbought & Oversold levels (customizable thresholds).
✅ Automatic detection of last market structure: Higher Highs, Higher Lows, Lower Highs, Lower Lows.
✅ Generates precise signals when RSI extremes align with market structure shifts.
✅ Real-time RSI panel right on your candles for instant momentum reading.
✅ Anti-overload delay to avoid redundant signals in noisy BTC markets.
✅ Visual alerts on chart + structured labels showing RSI level & market context.
✅ Alerts ready for automation or push notifications — never miss critical oversold or overbought conditions again.
🧭 Why you’ll love it:
Because it doesn’t just rely on RSI alone — it intelligently filters based on recent price structures, giving you a smarter edge for spotting reversals. Perfect for both short-term scalpers and longer timeframe Bitcoin hunters who value disciplined signals.
Trading Radio XAUUSD Signals v1.0🚀 Trading Radio XAUUSD Signals v1.0
Advanced Smart Signal System for Gold Scalpers
Discover the power of Trading Radio XAUUSD Signals v1.0 — a precision-engineered indicator designed exclusively for scalping XAUUSD. This tool blends advanced market structure analysis, RSI filters, dynamic pullback validation, and multi-timeframe confirmations to give you high-quality BUY & SELL signals directly on your chart.
🎯 Key Features:
✅ Identifies Highs & Lows with smart ZigZag logic
✅ Breakout detection combined with RSI confirmation
✅ Validates entries through candle pullback patterns to reduce fakeouts
✅ Adaptive anti-overtrade filter with minimum signal distance in minutes
✅ Auto plots Entry Lines & live RSI levels on signal candles
✅ Automatic Support & Resistance detection with labeled pivot zones
✅ Optional Winrate Panel tracking total signals, wins, losses & dynamic winrate
✅ Cross-timeframe signals: see M1 signals while on M5, and vice versa
✅ Realtime RSI labels to instantly gauge momentum
✅ Instant alerts for both BUY & SELL signals so you never miss an opportunity
🔍 Why choose this indicator?
Because it’s built to keep your entries disciplined, avoid double signals, and highlight only high-probability setups — all while giving you a transparent dashboard of your strategy’s performance.
Perfect for gold traders who want clear, structured, and visually stunning signals backed by proven technical filters.
Trading Radio Indicator Dashboard v1.0Trading Radio Indicator Dashboard v1.0 is a multi-factor market analysis toolkit designed to give you a clear snapshot of current trading conditions.
It combines:
📊 Technical signals like RSI (14), RSI Extreme, Stochastic, EMA cross, market structure (HH/LL), ATR levels, and volume.
💵 Live DXY tracking for correlation insights.
📈 Automatic detection of market sessions (Tokyo, London, New York).
🚀 Dynamic pip tracker showing distance from your last signal, with milestone markers.
Perfect for XAUUSD scalping or intraday trading, but flexible for any instrument.
Created by Trading Radio to help traders navigate volatility with confidence.
Smart Range Zones [Dr. Hafiz]Smart Range Zones
Description:
This indicator highlights key market zones — High Range, Mid Range, and Low Range — to help traders visually understand dynamic support and resistance levels.
✅ High Range: Potential supply/resistance area
✅ Mid Range: Fair value or equilibrium zone
✅ Low Range: Potential demand/support area
The zones are calculated based on the highest and lowest price over a user-defined period (default: 130 bars) and dynamically projected forward.
🔸 EMA 15 Line is included as an optional trend filter — helping confirm direction or trend alignment.
🔧 Features:
Auto-calculated High/Mid/Low zones
Real-time dynamic projections
Right-aligned zone labels inside each box
Clean visual structure
Toggle for showing/hiding EMA 15
📌 Best suited for:
Intraday & swing traders
Range breakouts and rejections
Trend confirmation with EMA
Created and published by Dr. Hafiz, modified under the MPL 2.0 license.
OPR Asia-New-York [Elykia]This Pine Script indicator, called "OPR Asia-New-York ", displays time-based boxes corresponding to two specific trading periods known as OPR (Opening Price Range):
🎯 Purpose of the Indicator:
To visualize two key market time windows (morning and afternoon) as extended boxes, helping with technical analysis around opening ranges.
🕒 Two sessions displayed as boxes:
🔹 Morning OPR:
Default: from 09:00 to 09:15 (configurable)
The box extends until 10:30.
It captures the highest and lowest candle within this interval.
🔸 Afternoon OPR:
Default: from 15:30 to 15:45
The box extends until 17:30.
Follows the same logic as the morning session.
⚙️ Dashboard Options:
Enable or disable the morning or afternoon box individually
Select the timezone (e.g., GMT+2)
Customize all colors (morning/afternoon boxes, median line)
Set your own start/end/extension times for each session
📦 Each box includes:
A colored rectangle showing the price range (high/low)
A dotted median line between the high and low
The box and line extend until the end time defined
🧠 Usefulness for Traders:
Identify liquidity zones or consolidation areas
Trade setups like liquidity grabs, breakouts, or fakeouts around the OPR
Align with ICT methods or scalping strategies based on session behavior
Global Risk Matrix [QuantAlgo]🟢 Overview
The Global Risk Matrix is a comprehensive macro risk assessment tool that aggregates multiple global financial indicators into a unified risk sentiment framework. It transforms diverse economic data streams (from currency strength and liquidity measures to volatility indices and commodity prices) into standardized Z-Score readings to identify market regime shifts across risk-on and risk-off conditions.
The indicator displays both a risk oscillator showing weighted average sentiment and a dynamic 2D matrix visualization that plots signal strength against momentum to reveal current market phase and historical evolution. This helps traders and investors understand broad market conditions, identify regime transitions, and align their strategies with prevailing macro risk environments across all asset classes.
🟢 How It Works
The indicator employs Z-Score normalization across various global macro components, each representing distinct aspects of market liquidity, sentiment, and economic health. Raw data from sources like DXY, S&P 500, Fed liquidity, global M2 money supply, VIX, and commodities undergoes statistical standardization. Several components are inverted (USDT.D, DXY, VIX, credit spreads, treasury bonds, gold) to align with risk-on interpretation, where positive values indicate bullish conditions.
This unique system applies configurable weights to each component based on selected asset class presets (Crypto Investor/Trader, Stock Trader, Commodity Trader, Forex Trader, Risk Parity, or Custom), creating a weighted average Z-Score. It then analyzes both signal strength and momentum direction to classify market conditions into four distinct phases: Risk-On (positive signal, rising momentum), Risk-Off (negative signal, falling momentum), Recovery (negative signal, rising momentum), and Weakening (positive signal, falling momentum). The 2D matrix visualization plots these dimensions with historical trail tracking to show regime evolution over time.
🟢 How to Use
1. Risk Oscillator Interpretation and Phase Analysis
Positive Territory (Above Zero) : Indicates risk-on conditions with capital flowing toward growth assets and higher risk tolerance
Negative Territory (Below Zero) : Signals risk-off sentiment with capital seeking safety and defensive positioning
Extreme Levels (±2.0) : Represent statistically significant deviations that often precede regime reversals or trend exhaustion
Zero Line Crosses : Mark critical transitions between risk regimes, providing early signals for portfolio rebalancing
Phase Color Coding : Green (Risk-On), Red (Risk-Off), Blue (Recovery), Yellow (Weakening) for immediate regime identification
2. Risk Matrix Visualization and Trail Analysis
Current Position Marker (⌾) : Shows real-time location in the risk/momentum space for immediate situational awareness
Historical Trail : Connected path showing recent market evolution and regime transition patterns
Quadrant Analysis : Risk-On (upper right), Risk-Off (lower left), Recovery (lower right), Weakening (upper left)
Trail Patterns : Clockwise rotation typically indicates healthy regime cycles, while erratic movement suggests uncertainty
3. Pro Tips for Trading and Investing
→ Portfolio Allocation Filter : Use Risk-On phases to increase exposure to growth assets, small caps, and emerging markets while reducing defensive positions during confirmed green phases
→ Entry Timing Enhancement : Combine Recovery phase signals with your technical analysis for optimal long entry points when macro headwinds are clearing but prices haven't fully recovered
→ Risk Management Overlay : Treat Weakening phase transitions as early warning systems to tighten stop losses, reduce position sizes, or hedge existing positions before full Risk-Off conditions develop
→ Sector Rotation Strategy : During Risk-On periods, favor cyclical sectors (technology, consumer discretionary, financials) while Risk-Off phases favor defensive sectors (utilities, consumer staples, healthcare)
→ Multi-Timeframe Confluence : Use daily matrix readings for strategic positioning while applying your regular technical analysis on lower timeframes for precise entry and exit execution
→ Divergence Detection : Watch for situations where your asset shows bullish technical patterns while the matrix shows Risk-Off conditions—these often provide the highest probability short opportunities and vice versa
Volatility-Adjusted Momentum Score (VAMS) [QuantAlgo]🟢 Overview
The Volatility-Adjusted Momentum Score (VAMS) measures price momentum relative to current volatility conditions, creating a normalized indicator that identifies significant directional moves while filtering out market noise. It divides annualized momentum by annualized volatility to produce scores that remain comparable across different market environments and asset classes.
The indicator displays a smoothed VAMS Z-Score line with adaptive standard deviation bands and an information table showing real-time metrics. This dual-purpose design enables traders and investors to identify strong trend continuation signals when momentum persistently exceeds normal levels, while also spotting potential mean reversion opportunities when readings reach statistical extremes.
🟢 How It Works
The indicator calculates annualized momentum using a simple moving average of logarithmic returns over a specified period, then measures annualized volatility through the standard deviation of those same returns over a longer timeframe. The raw VAMS score divides momentum by volatility, creating a risk-adjusted measure where high volatility reduces scores and low volatility amplifies them.
This raw VAMS value undergoes Z-Score normalization using rolling statistical parameters, converting absolute readings into standardized deviations that show how current conditions compare to recent history. The normalized Z-Score receives exponential moving average smoothing to create the final VAMS line, reducing false signals while preserving sensitivity to meaningful momentum changes.
The visualization includes dynamically calculated standard deviation bands that adjust to recent VAMS behavior, creating statistical reference zones. The information table provides real-time numerical values for VAMS Z-Score, underlying momentum percentages, and current volatility readings with trend indicators.
🟢 How to Use
1. VAMS Z-Score Bands and Signal Interpretation
Above Mean Line: Momentum exceeds historical averages adjusted for volatility, indicating bullish conditions suitable for trend following
Below Mean Line: Momentum falls below statistical norms, suggesting bearish conditions or downward pressure
Mean Line Crossovers: Primary transition signals between bullish and bearish momentum regimes
1 Standard Deviation Breaks: Strong momentum conditions indicating statistically significant directional moves worth following
2 Standard Deviation Extremes: Rare momentum readings that often signal either powerful breakouts or exhaustion points
2. Information Table and Market Context
Z-Score Values: Current VAMS reading displayed in standard deviations (σ), showing how far momentum deviates from its statistical norm
Momentum Percentage: Underlying annualized momentum displayed as percentage return, quantifying the directional strength
Volatility Context: Current annualized volatility levels help interpret whether VAMS readings occur in high or low volatility environments
Trend Indicators: Directional arrows and change values provide immediate feedback on momentum shifts and market transitions
3. Strategy Applications and Alert System
Trend Following: Use sustained readings beyond the mean line and 1σ band penetrations for directional trades, especially when VAMS maintains position in upper or lower statistical zones
Mean Reversion: Focus on 2σ extreme readings for contrarian opportunities, particularly effective in sideways markets where momentum tends to revert to statistical norms
Alert Notifications: Built-in alerts for mean crossovers (regime changes), 1σ breaks (strong signals), and 2σ touches (extreme conditions) help monitor multiple instruments for both continuation and reversal setups
Pivot Liquidity Sweep [scalpmeister]📌 Pivot Liquidity Sweep
Scalp-oriented, liquidity sweep-based advanced signal and strategy indicator.
This indicator analyzes the price's sweeping of significant pivot levels and the subsequent breakouts to generate long/short signals based on different logics. It is sensitive to both classic sweep logic and strong reversal candles. Additionally, it visually marks liquidity gathering zones, offering excellent opportunities especially for scalp and intraday traders.
⚙️ Features and Strategy Types
🟢 Automatic Pivot Detection:
Pivot high/low levels are detected and stored based on the number of left and right bars.
🔴 Sweep Detection (Stop Hunt):
If the price violates a pivot level with a wick and closes inside, it is considered a sweep (liquidity cleaning). Strategies activate after this sweep.
🧠 5 Different Signal Styles:
SweepBreak:
It is expected that the extreme (high/low) level of the sweeping candle is broken with a close.
PivotBreak:
After the sweep, the first newly formed pivot in the trend direction is expected to break. (It is dynamically determined and drawn on the chart.)
StrongSweep:
It is sufficient if the candle following the sweep surpasses the previous candle with a single candle. No additional breakout is expected.
StrongCandle:
Strong momentum candles measured with a special RSI calculation are taken into account. It considers strong opposite-direction candles formed shortly after a pivot sweep.
ReversalCandleSweep:
Reversal candles that close in the opposite direction after a sweep (e.g., a red close on a sweep candle formed at the top or a green close at the bottom) are directly considered as signals.
📐 Technical Details:
Signals are triggered only once (triggered control).
Sweep lines (green/red), Long and Short lines (Orange)
Strong candles are filtered using an RSI-momentum-based measurement system (StrongCandle).
Sweep and breakout zones are dynamically invalidated. That is, if the zones are violated by the price, the signals and lines are automatically canceled.
🎯 Who Should Use It?
Professional traders working with liquidity zones
Scalp and intraday strategy practitioners
Those focused on stop hunts, sweeps, and reversal zones
🔔 Alert Support:
Sweep High / Low Alert
Long / Short Signal Alert