AuraAURA is an indicator designed for trend analysis of cryptocurrencies, aiming to provide information with real-time chart data. It is in continuous development and aims to contribute to market analysis.
Candlestick analysis
Asian & London Session High/Low (NEW)Marks out asian session high and low, london session high and low, so you dont have to, these levels are crucial to your trading, so use this indicator
nishad volume analysas indicatorEMA means exponential moving average
· K= ema of volume of same time session of the last X days. X is a variable represented by no.of days.
· Y= ema of volume of 9:15:00 time session of the last x days
· Z= (volume of the candleY/k)
· Value of Z repressanted by a bar chart.
· An also provide line chart of ema of z based on A candles
· A is a variable denoted by no.of candles
· Also provide line chartof (ema of ((close- open)b)/Z)on last A candles b is an variable
Spot Overlapping FVG - [FNDSFT]🧠 Overview
This script plots Higher Timeframe Fair Value Gaps (FVGs) with full visibility and precise placement on lower timeframe charts. Each timeframe (1D–12M) has its own independent toggle, custom label, and box styling, allowing traders to analyze broader market structures across swing and long-term horizons.
🎯 Features
✅ Identifies Fair Value Gaps using a 3-candle logic (candle 1 high vs candle 3 low, and vice versa).
✅ Plots HTF FVG boxes aligned to lower timeframes for comprehensive multi-timeframe analysis.
✅ Supports custom timeframes: 1D to 12M, with individual toggles.
✅ Full visual customization: border color, bullish/bearish box opacity, label font size and color.
✅ Modular inputs to enable or disable specific timeframes for performance.
✅ Uses barstate.isconfirmed logic for stable, non-repainting plots.
⚙️ How It Works
The script requests higher timeframe data via request.security. For each confirmed bar, it checks for FVGs based on:
Bullish FVG: low >= high
Bearish FVG: low >= high
If a gap is detected, a box is plotted between candle 1 and candle 3 using box.new().
Timeframe toggles ensure calculations remain within the limit of 40 request.security calls.
📈 Use Cases
Swing traders analyzing daily to monthly imbalances for medium-term strategies.
Position traders seeking to identify long-term imbalance zones for entries or exits.
ICT methodology practitioners visualizing higher timeframe displacement and inefficiencies.
Traders layering multiple HTF FVGs to build confluence-based trading decisions.
Overlapping FVG - [FNDSFT]🧠 Overview
This script plots Higher Timeframe Fair Value Gaps (FVGs) with full visibility and precise placement on lower timeframe charts. Each timeframe (30s–15m) has its own independent toggle, custom label, and box styling, allowing traders to analyze market structures in detail.
🎯 Features
✅ Identifies Fair Value Gaps using a 3-candle logic (candle 1 high vs candle 3 low, and vice versa).
✅ Plots HTF FVG boxes aligned to lower timeframes for intraday analysis.
✅ Supports custom timeframes: 30s to 15m, with individual toggles.
✅ Full visual customization: border color, bullish/bearish box opacity, label font size and color.
✅ Modular inputs to enable or disable specific timeframes for performance.
✅ Uses barstate.isconfirmed logic for stable, non-repainting plots.
⚙️ How It Works
The script requests higher timeframe data via request.security. For each confirmed bar, it checks for FVGs based on:
Bullish FVG: low >= high
Bearish FVG: low >= high
If a gap is detected, a box is plotted between candle 1 and candle 3 using box.new().
Timeframe toggles ensure calculations remain within the limit of 40 request.security calls.
📈 Use Cases
Scalpers and intraday traders analyzing microstructure.
ICT methodology practitioners visualizing displacement and inefficiencies.
Traders layering multiple FVG timeframes for confluence.
Spartan trading swing high low with htf openspartan trading swing high low with htf open and htf market structure
Volume Imbalance# Volume Imbalance Indicator
## Description
The Volume Imbalance Indicator is a technical analysis tool that measures the imbalance between bullish and bearish volume over a specified period. This indicator helps traders identify the prevailing market sentiment and potential reversal points.
## How It Works
The indicator analyzes trading volume for each candle:
- **Bull Volume** - volume of candles where the closing price is higher than the opening price (green candles)
- **Bear Volume** - volume of candles where the closing price is lower than the opening price (red candles)
- **Imbalance** is calculated as the difference between the sum of bull volume and bear volume over the set period
## Signal Interpretation
- **Positive values (green histogram)** - bullish volume dominates, indicating buyer strength
- **Negative values (red histogram)** - bearish volume dominates, indicating seller strength
- **Zero line** - equilibrium between buyers and sellers
## Trading Applications
1. **Trend Confirmation** - imbalance in the direction of the trend confirms its strength
2. **Divergence Analysis** - divergence between price and indicator may signal potential reversals
3. **Accumulation/Distribution Zones** - prolonged periods of imbalance indicate large player activity
## Settings
- **Period** - number of candles for calculating the imbalance (default: 20)
## Features
- Displays in a separate panel below the main chart
- Histogram format for better visualization
- Color coding: green for bullish imbalance, red for bearish imbalance
- Suitable for all timeframes and trading instruments
This indicator is particularly effective when combined with other technical analysis tools for comprehensive market assessment.
Nadaraya-Watson Envelope & RSI & Stoch RSI - Step 2A compact and effective momentum confirmation tool designed to validate price-based entries using dual RSI and smoothed Stochastic RSI structures.
🧠 Why Combine RSI and StochRSI?
This script blends two levels of RSI analysis to help traders assess overbought/oversold conditions and detect early reversal signals:
The dual RSI structure provides a fast-vs-slow momentum comparison, offering both short-term timing and longer-term trend sensitivity.
The StochRSI module helps confirm reversal setups with smoother K/D crossovers.
Background zone shading enhances visibility of exhaustion areas.
These combined tools serve as a secondary validation layer, perfect for scalpers and swing traders using price-based strategies.
🔍 Feature Modules
🟢 Dual RSI
Fast and slow RSI lines plotted together for comparative strength tracking.
Shaded zone between typical exhaustion levels (e.g., 30~70) to highlight potential mean reversions.
🟠 Stochastic RSI
Uses smoothed K & D lines based on a short RSI input.
Visual aids include:
Extreme zones (e.g., 30 / 70)
Midline for trend bias (50)
Transparent fills to highlight oversold/overbought cross events.
⚙️ Suggested Use Cases
Use RSI divergence or alignment to confirm entries from your main price action strategy.
Monitor K/D crossover signals to fine-tune entry or exit timing.
Filter fakeouts by requiring agreement across all three signals (Fast RSI, Slow RSI, and StochRSI).
✅ Originality Statement
This script isn't just a visual mashup of indicators—it carefully integrates multiple layers of RSI logic to build confidence for timing trades in volatile or ranging markets.
⚠️ Disclaimer
This tool is for research and educational purposes only. It is not financial advice. Trading involves risk. Use at your own discretion.
Nadaraya-Watson Envelope & ATR & CE & EMA - Step 1📈 Multi-Layered Trend and Reversal Toolkit
🧠 Why These Components Are Combined
This closed-source script integrates four distinct yet complementary logic modules for a complete trend and reversal assessment:
Nadaraya-Watson Envelope: Applies kernel smoothing to model dynamic price envelopes.
ATR-based Zones: Provide adaptive buffer zones for reversal or take-profit planning.
Chandelier Exit (CE): Tracks trend direction changes based on recent price extremes and volatility.
Multi-EMA Channels: Help identify macro trend bias and potential entry zones.
Each module contributes a unique market context layer: trend bias, price expansion, breakout timing, and adaptive risk control.
🔍 Key Modules Overview
📐 1. Nadaraya-Watson Envelope (NWE)
Estimates high/low zones with Gaussian regression.
Supports both repaint and non-repaint modes.
Arrows (▲▼) appear when price crosses envelope boundaries.
📊 2. ATR Stop Zones
Uses smoothed volatility to display dynamic high/low thresholds.
Displays a data table for traders to reference stop zone values.
Smoothing methods selectable via menu.
🎯 3. Chandelier Exit
Highlights trend reversals using a volatility-based trailing mechanism.
Displays Buy/Sell labels when state changes occur.
Filled areas change color depending on regime (bull/bear).
📶 4. EMA Trend Channels
Four adaptive EMAs help filter trend directions.
Serves as a higher-timeframe guide or squeeze detector.
⚙️ Suggested Use Cases
Confirm NWE breakouts with EMA slope alignment.
Combine CE labels with ATR zones for risk-aware entries/exits.
Use alerts for direction change to build semi-automated systems.
✅ Originality Statement
This script is not a superficial mashup. It offers a unified framework integrating statistical, trend, and volatility analysis into a practical, modular tool. Each module can be enabled/disabled independently for strategy adaptation.
⚠️ Disclaimer
For educational and research purposes only. Not financial advice. Use at your own risk.
Volume Pressure Analysis - Live DataVolume Pressure Gauge and Volume Percentage Indicator – Pine Script Guide
This indicator provides a simplified, real-time visualization of both volume pressure (buy vs. sell activity) and today’s trading volume in comparison to historical averages. It is designed to help traders assess whether buyers or sellers dominate the current session and whether today’s volume is significant relative to recent behaviour.
________________________________________
Key Functional Segments
1. Inputs and Configuration
Users can configure the length of the Simple Moving Average (SMA) used to calculate average volume, set the position of the gauge table on the chart, and toggle the visibility of the volume pressure display. This allows flexibility in integrating the tool with various trading styles and chart layouts.
2. Volume Data Calculations
The indicator calculates three key volume metrics:
• volToday: The current day’s volume.
• volAvg: The average volume over the user-defined SMA period (default is 20 bars).
• volPct: The current volume as a percentage of the average.
This enables traders to quickly recognize whether current trading activity is above or below normal, which can be a precursor to potential trend strength or weakness.
3. Volume Pressure Calculation
The script estimates buying and selling pressure based on price movement and volume. It distributes volume into upward (buy) and downward (sell) segments and expresses them as percentages of the total volume. This gives an immediate sense of whether bulls or bears are more active in the current session.
4. Visual Representation (Progress Bars)
The indicator renders a simplified visual gauge using horizontal bar segments (pseudo-bars) to reflect the proportion of buy and sell pressure. The length of each bar correlates with the strength of pressure from buyers or sellers, helping users assess dominance without analyzing candlestick behavior in depth.
5. Table Display
A compact table is drawn on the chart showing:
• Buy pressure percentage and corresponding bar.
• Sell pressure percentage and corresponding bar.
• Volume percentage compared to the recent average.
This format makes it easy to evaluate volume dynamics at a glance, without cluttering the price chart or relying on separate overlays.
________________________________________
How Traders Benefit from This Indicator
• Momentum Shift Detection: Early signs of trend reversal can be observed when volume pressure flips direction.
• Breakout Validation: High volume combined with dominant pressure supports the credibility of breakout moves.
• False Move Avoidance: If price moves on low volume or mixed pressure, traders can avoid low-probability entries.
• Market Context Awareness: Users can assess whether a day is behaving normally in terms of participation or is unusually quiet or aggressive.
________________________________________
Basic Usage Guide
1. Add the script to your TradingView chart and set your preferred SMA length for volume comparison.
2. Customize the table’s position using the X and Y settings for clarity and alignment.
3. Interpret the outputs:
o A higher red bar indicates dominant sell pressure.
o A higher green bar indicates dominant buy pressure.
o Volume % above 100% suggests above-average activity, while values below 100% may imply low conviction.
4. Apply to trading decisions:
o High buy pressure and high volume may indicate a strong long opportunity.
o High sell pressure and high volume may support short setups.
o Low volume or conflicting signals may call for caution.
5. Combine with other tools such as trend indicators, support/resistance zones, or price action patterns for more reliable trade setups.
________________________________________
Practical Example
• Sell Pressure: 70% → Suggests strong seller control; potential for short setups.
• Buy Pressure: 30% → Weak buying interest; long trades may carry risk.
• Volume Percentage: 120% → Indicates a surge in participation; movement may have greater validity.
________________________________________
Tips for New Traders
• Use this indicator as a confirmation tool rather than a standalone strategy.
• Begin on higher timeframes (4-hour or daily) to develop familiarity.
• Compare multiple examples to identify reliable patterns over time.
• Always incorporate proper risk management, including stop losses.
________________________________________
Disclaimer from aiTrendview
This indicator is intended solely for educational and informational use. It does not constitute investment advice, trade signals, or financial recommendations. aiTrendview and its affiliates are not liable for any trading losses incurred through use of this tool. All trading involves risk. Past performance of any indicator does not guarantee future results. Users should conduct independent research and consult with a certified financial advisor before making any trading decisions.
SY_Quant_AI_Trend.2.0✅ English Description (Safe Minimal Version)
SY_Quant_AI_Trend 2.0 — Multi-Factor Trend Analysis Toolkit
This indicator combines trend detection, structure recognition, and visual overlays to assist traders in analyzing market dynamics.
It integrates common techniques in a simplified form for research and chart-based strategy development.
[PS]Breakout Strategy: Nifty/BN only at 15 min TimeframeIt only works on 15 min timeframe for nifty and Bank nifty.
Daily Engulfing Zones Visually appear Daily Engulfing Zones on the chart. Combine with your favorite oscillator indicator to create a solid setup. Bullish EZ is marked by green arrow/zone. Bearish EZ is marked by red arrow/zone.
HyperChannelThought for 1m 33sHyperChannel Exhaustion Indicator
Overview
This open-source indicator creates a dynamic volatility channel to identify trend directions and potential support/resistance levels, while incorporating momentum analysis, trend strength assessment, and a composite exhaustion metric to highlight possible trend fatigue and reversal points. The core idea is to combine volatility adaptation with multi-layered exhaustion signals, providing a unified tool that goes beyond standalone channels or oscillators. By integrating these elements, it offers a comprehensive view: the channel tracks price within volatile bounds, momentum detects strength or weakening, and exhaustion quantifies reversal risks—allowing users to spot continuations in strong trends or prepare for reversals during fatigue. This synergy creates a unique, actionable framework not found in isolated indicators, helping users make informed decisions across various market conditions.
The indicator builds on public domain concepts like ATR-based channels and standard exhaustion ratios (with credits to Franklin Moormann for foundational exhaustion logic, significantly enhanced here through integration and scoring). Improvements include a custom composite score weighting multiple factors, adaptive coloring for visual clarity, and a dashboard for quick stats—resulting in a tool that's more than a simple merge, but a cohesive system for trend management.
Key Features
Volatility Channel: Plots adaptive upper and lower bands based on smoothed true range multiples around a price midpoint, with trend confirmation requiring consecutive closes beyond bands for reliability.
Momentum Layer: Uses averaged relative changes across varying periods to flag strong impulses or pullbacks, enhancing channel breakouts with contextual strength.
Trend Strength: Differentiates strong trends from ranges or transitions, altering band colors for intuitive reading (e.g., vibrant in trends, subdued otherwise).
Exhaustion Metrics:
A ratio-based signal comparing price advances to highs, smoothed to detect fading momentum.
A composite score (0-100%) aggregating normalized exhaustion, divergence flags, and volume surges—low scores suggest trend health, medium warn of fatigue, high indicate reversal potential.
Visuals:
Band plots (active/inactive) with fills for trend highlighting.
Circles on candles for pullback warnings.
Candle coloring: Dark shades for robust trends (e.g., deep green/up, maroon/down), lighter/warning tones (yellow/up, orange/down) for weakening phases.
Divergence labels on price vs. momentum for hidden/regular setups.
Dashboard: Compact table with trend, risk score (integrated exhaustion), composite value, regime, and higher-timeframe levels; background gradients from green (low risk) to red (high) for at-a-glance reversal probability.
Alerts: For channel events, momentum shifts, exhaustion thresholds, and signals.
How It Works
The indicator operates on core technical concepts without relying on external data:
Channel Construction: Starts with true range (high-low, gaps) smoothed over a period (default 120) to form ATR. Bands are midpoint ± ATR multiple (default 3.0), tightened/loosened based on closes and momentum to avoid whipsaws. Trends flip only after confirmed breaches (default 2 bars), reducing false signals.
Momentum Calculation: Aggregates percentage changes from short to long moving averages (defaults 10-200 periods), smoothed into dynamic thresholds. This detects "strong" (beyond multiples) vs. "exhausting" (pullbacks below fractions), feeding into channel logic and warnings.
Strength and Regime: ADX (default period 14) classifies markets: above high threshold (25) as trending, below low (20) as ranging, in-between as transitioning (with bias if rising and momentum aligns).
Exhaustion and Scoring:
Compares cumulative closes above priors vs. new highs, smoothed (default length 10) into a slope: positive/negative for bull/bear, intensifying for strength.
Composite score weights this normalization (40%), binary divergence checks on a standard oscillator (30%), and volume ratios (30%)—scaled to 0-100%. Thresholds (e.g., 80 for high) trigger color shifts.
Reversal risk (0-100%) blends exhaustion depth, divergences, unconfirmed bars, and the score—labeled Low (<30%), Medium (30-70%), High (>70%).
These interact: e.g., channel bands adjust with momentum, exhaustion colors candles/dashboard, creating a feedback loop for holistic analysis.
Usage Suggestions
Setup: Add to a clean chart (no other indicators unless combining for confluence, e.g., with volume—explain in notes). Use defaults for most assets; tweak ATR period/multiplier for volatility (shorter for crypto, longer for stocks). Set higher timeframe (default 60min) for context.
Interpreting Trends: Green-filled uptrends (active support band) signal buys on pullbacks; red downtrends for shorts. Vibrant colors indicate ADX strength—trade with trend.
Spotting Exhaustion/Reversals: Watch for yellow/orange candles (weakening signal) or circles (pullback warnings). Composite >80% (red dashboard cell) or high risk (yellow/orange table background) suggests exits/preparation. Divergences add confirmation: bullish (green label) near supports, bearish (red) at resistances.
Regimes: Trending: Follow channel breaks. Ranging: Fade extremes. Transitioning: Wait for emerging bias.
Alerts: Enable for real-time notifications—e.g., high exhaustion for potential tops/bottoms.
Customization: Adjust weights for risk sensitivity (e.g., boost exhaustion for conservative trading). Test on historical data to align with strategy; aim for balanced risk (e.g., <5% per trade).
This tool visualizes concepts like volatility clustering and momentum divergence, aiding in trend-following or mean-reversion setups. Always combine with personal analysis—it's not a signal generator but a decision aid.
Credits and Notes
Builds on public domain ATR/ADX ideas; exhaustion ratio inspired by Franklin Moormann (cheatcountry), with major enhancements like multi-momentum integration, composite scoring, and visual/dashboard features for originality.
Compliant with Pine v6; open-source for community use. No ads/guarantees—past performance isn't indicative. Manage risk; this is educational. For chart: Publish clean, with this script only, showing clear outputs.
easy Market Structure BOS & CHoCH (Swing Logic)
A trend reversal occurs when the direction of the market changes from an uptrend to a downtrend or vice versa. It is typically confirmed by a shift in price structure, such as a break of key support or resistance, a change in swing highs/lows, or specific candlestick patterns like engulfing or pin bars. Indicators like RSI divergence or moving average crossovers can also support reversal identification. Reversals often follow a strong trend and signal a potential new direction in price movement
Game Theory Trading StrategyGame Theory Trading Strategy: Explanation and Working Logic
This Pine Script (version 5) code implements a trading strategy named "Game Theory Trading Strategy" in TradingView. Unlike the previous indicator, this is a full-fledged strategy with automated entry/exit rules, risk management, and backtesting capabilities. It uses Game Theory principles to analyze market behavior, focusing on herd behavior, institutional flows, liquidity traps, and Nash equilibrium to generate buy (long) and sell (short) signals. Below, I'll explain the strategy's purpose, working logic, key components, and usage tips in detail.
1. General Description
Purpose: The strategy identifies high-probability trading opportunities by combining Game Theory concepts (herd behavior, contrarian signals, Nash equilibrium) with technical analysis (RSI, volume, momentum). It aims to exploit market inefficiencies caused by retail herd behavior, institutional flows, and liquidity traps. The strategy is designed for automated trading with defined risk management (stop-loss/take-profit) and position sizing based on market conditions.
Key Features:
Herd Behavior Detection: Identifies retail panic buying/selling using RSI and volume spikes.
Liquidity Traps: Detects stop-loss hunting zones where price breaks recent highs/lows but reverses.
Institutional Flow Analysis: Tracks high-volume institutional activity via Accumulation/Distribution and volume spikes.
Nash Equilibrium: Uses statistical price bands to assess whether the market is in equilibrium or deviated (overbought/oversold).
Risk Management: Configurable stop-loss (SL) and take-profit (TP) percentages, dynamic position sizing based on Game Theory (minimax principle).
Visualization: Displays Nash bands, signals, background colors, and two tables (Game Theory status and backtest results).
Backtesting: Tracks performance metrics like win rate, profit factor, max drawdown, and Sharpe ratio.
Strategy Settings:
Initial capital: $10,000.
Pyramiding: Up to 3 positions.
Position size: 10% of equity (default_qty_value=10).
Configurable inputs for RSI, volume, liquidity, institutional flow, Nash equilibrium, and risk management.
Warning: This is a strategy, not just an indicator. It executes trades automatically in TradingView's Strategy Tester. Always backtest thoroughly and use proper risk management before live trading.
2. Working Logic (Step by Step)
The strategy processes each bar (candle) to generate signals, manage positions, and update performance metrics. Here's how it works:
a. Input Parameters
The inputs are grouped for clarity:
Herd Behavior (🐑):
RSI Period (14): For overbought/oversold detection.
Volume MA Period (20): To calculate average volume for spike detection.
Herd Threshold (2.0): Volume multiplier for detecting herd activity.
Liquidity Analysis (💧):
Liquidity Lookback (50): Bars to check for recent highs/lows.
Liquidity Sensitivity (1.5): Volume multiplier for trap detection.
Institutional Flow (🏦):
Institutional Volume Multiplier (2.5): For detecting large volume spikes.
Institutional MA Period (21): For Accumulation/Distribution smoothing.
Nash Equilibrium (⚖️):
Nash Period (100): For calculating price mean and standard deviation.
Nash Deviation (0.02): Multiplier for equilibrium bands.
Risk Management (🛡️):
Use Stop-Loss (true): Enables SL at 2% below/above entry price.
Use Take-Profit (true): Enables TP at 5% above/below entry price.
b. Herd Behavior Detection
RSI (14): Checks for extreme conditions:
Overbought: RSI > 70 (potential herd buying).
Oversold: RSI < 30 (potential herd selling).
Volume Spike: Volume > SMA(20) x 2.0 (herd_threshold).
Momentum: Price change over 10 bars (close - close ) compared to its SMA(20).
Herd Signals:
Herd Buying: RSI > 70 + volume spike + positive momentum = Retail buying frenzy (red background).
Herd Selling: RSI < 30 + volume spike + negative momentum = Retail selling panic (green background).
c. Liquidity Trap Detection
Recent Highs/Lows: Calculated over 50 bars (liquidity_lookback).
Psychological Levels: Nearest round numbers (e.g., $100, $110) as potential stop-loss zones.
Trap Conditions:
Up Trap: Price breaks recent high, closes below it, with a volume spike (volume > SMA x 1.5).
Down Trap: Price breaks recent low, closes above it, with a volume spike.
Visualization: Traps are marked with small red/green crosses above/below bars.
d. Institutional Flow Analysis
Volume Check: Volume > SMA(20) x 2.5 (inst_volume_mult) = Institutional activity.
Accumulation/Distribution (AD):
Formula: ((close - low) - (high - close)) / (high - low) * volume, cumulated over time.
Smoothed with SMA(21) (inst_ma_length).
Accumulation: AD > MA + high volume = Institutions buying.
Distribution: AD < MA + high volume = Institutions selling.
Smart Money Index: (close - open) / (high - low) * volume, smoothed with SMA(20). Positive = Smart money buying.
e. Nash Equilibrium
Calculation:
Price mean: SMA(100) (nash_period).
Standard deviation: stdev(100).
Upper Nash: Mean + StdDev x 0.02 (nash_deviation).
Lower Nash: Mean - StdDev x 0.02.
Conditions:
Near Equilibrium: Price between upper and lower Nash bands (stable market).
Above Nash: Price > upper band (overbought, sell potential).
Below Nash: Price < lower band (oversold, buy potential).
Visualization: Orange line (mean), red/green lines (upper/lower bands).
f. Game Theory Signals
The strategy generates three types of signals, combined into long/short triggers:
Contrarian Signals:
Buy: Herd selling + (accumulation or down trap) = Go against retail panic.
Sell: Herd buying + (distribution or up trap).
Momentum Signals:
Buy: Below Nash + positive smart money + no herd buying.
Sell: Above Nash + negative smart money + no herd selling.
Nash Reversion Signals:
Buy: Below Nash + rising close (close > close ) + volume > MA.
Sell: Above Nash + falling close + volume > MA.
Final Signals:
Long Signal: Contrarian buy OR momentum buy OR Nash reversion buy.
Short Signal: Contrarian sell OR momentum sell OR Nash reversion sell.
g. Position Management
Position Sizing (Minimax Principle):
Default: 1.0 (10% of equity).
In Nash equilibrium: Reduced to 0.5 (conservative).
During institutional volume: Increased to 1.5 (aggressive).
Entries:
Long: If long_signal is true and no existing long position (strategy.position_size <= 0).
Short: If short_signal is true and no existing short position (strategy.position_size >= 0).
Exits:
Stop-Loss: If use_sl=true, set at 2% below/above entry price.
Take-Profit: If use_tp=true, set at 5% above/below entry price.
Pyramiding: Up to 3 concurrent positions allowed.
h. Visualization
Nash Bands: Orange (mean), red (upper), green (lower).
Background Colors:
Herd buying: Red (90% transparency).
Herd selling: Green.
Institutional volume: Blue.
Signals:
Contrarian buy/sell: Green/red triangles below/above bars.
Liquidity traps: Red/green crosses above/below bars.
Tables:
Game Theory Table (Top-Right):
Herd Behavior: Buying frenzy, selling panic, or normal.
Institutional Flow: Accumulation, distribution, or neutral.
Nash Equilibrium: In equilibrium, above, or below.
Liquidity Status: Trap detected or safe.
Position Suggestion: Long (green), Short (red), or Wait (gray).
Backtest Table (Bottom-Right):
Total Trades: Number of closed trades.
Win Rate: Percentage of winning trades.
Net Profit/Loss: In USD, colored green/red.
Profit Factor: Gross profit / gross loss.
Max Drawdown: Peak-to-trough equity drop (%).
Win/Loss Trades: Number of winning/losing trades.
Risk/Reward Ratio: Simplified Sharpe ratio (returns / drawdown).
Avg Win/Loss Ratio: Average win per trade / average loss per trade.
Last Update: Current time.
i. Backtesting Metrics
Tracks:
Total trades, winning/losing trades.
Win rate (%).
Net profit ($).
Profit factor (gross profit / gross loss).
Max drawdown (%).
Simplified Sharpe ratio (returns / drawdown).
Average win/loss ratio.
Updates metrics on each closed trade.
Displays a label on the last bar with backtest period, total trades, win rate, and net profit.
j. Alerts
No explicit alertconditions defined, but you can add them for long_signal and short_signal (e.g., alertcondition(long_signal, "GT Long Entry", "Long Signal Detected!")).
Use TradingView's alert system with Strategy Tester outputs.
3. Usage Tips
Timeframe: Best for H1-D1 timeframes. Shorter frames (M1-M15) may produce noisy signals.
Settings:
Risk Management: Adjust sl_percent (e.g., 1% for volatile markets) and tp_percent (e.g., 3% for scalping).
Herd Threshold: Increase to 2.5 for stricter herd detection in choppy markets.
Liquidity Lookback: Reduce to 20 for faster markets (e.g., crypto).
Nash Period: Increase to 200 for longer-term analysis.
Backtesting:
Use TradingView's Strategy Tester to evaluate performance.
Check win rate (>50%), profit factor (>1.5), and max drawdown (<20%) for viability.
Test on different assets/timeframes to ensure robustness.
Live Trading:
Start with a demo account.
Combine with other indicators (e.g., EMAs, support/resistance) for confirmation.
Monitor liquidity traps and institutional flow for context.
Risk Management:
Always use SL/TP to limit losses.
Adjust position_size for risk tolerance (e.g., 5% of equity for conservative trading).
Avoid over-leveraging (pyramiding=3 can amplify risk).
Troubleshooting:
If no trades are executed, check signal conditions (e.g., lower herd_threshold or liquidity_sensitivity).
Ensure sufficient historical data for Nash and liquidity calculations.
If tables overlap, adjust position.top_right/bottom_right coordinates.
4. Key Differences from the Previous Indicator
Indicator vs. Strategy: The previous code was an indicator (VP + Game Theory Integrated Strategy) focused on visualization and alerts. This is a strategy with automated entries/exits and backtesting.
Volume Profile: Absent in this strategy, making it lighter but less focused on high-volume zones.
Wick Analysis: Not included here, unlike the previous indicator's heavy reliance on wick patterns.
Backtesting: This strategy includes detailed performance metrics and a backtest table, absent in the indicator.
Simpler Signals: Focuses on Game Theory signals (contrarian, momentum, Nash reversion) without the "Power/Ultra Power" hierarchy.
Risk Management: Explicit SL/TP and dynamic position sizing, not present in the indicator.
5. Conclusion
The "Game Theory Trading Strategy" is a sophisticated system leveraging herd behavior, institutional flows, liquidity traps, and Nash equilibrium to trade market inefficiencies. It’s designed for traders who understand Game Theory principles and want automated execution with robust risk management. However, it requires thorough backtesting and parameter optimization for specific markets (e.g., forex, crypto, stocks). The backtest table and visual aids make it easy to monitor performance, but always combine with other analysis tools and proper capital management.
If you need help with backtesting, adding alerts, or optimizing parameters, let me know!
[caracalla] Woori Rejection + Divergence Signal V1.6📌 지표 개요 | Indicator Overview
KR
이 스크립트는 리젝션 패턴과 RSI 다이버전스를 활용해 매수(R+)·매도(R-) 반전 신호를 생성합니다. 특히 일반 다이버전스(RD+, RD-)를 히든 다이버전스(RH+, RH-)보다 우선 표시하며, 과매도/과매수 조건도 실전 트레이딩에 맞게 유연하게 조정되어 있습니다.
EN
This script generates buy (R+) and sell (R−) reversal signals by combining rejection candlestick patterns and RSI divergences. It prioritizes regular divergence signals (RD+/RD−) over hidden ones (RH+/RH−), with relaxed overbought/oversold RSI conditions to better suit real trading environments.
🔍 리젝션 조건 | Rejection Conditions
KR
R+: 이전 음봉 후 양봉 전환, 아래꼬리가 몸통보다 길며 RSI < 45
R-: 이전 양봉 후 음봉 전환이거나 긴 위꼬리 음봉, RSI > 50
도지 캔들은 제외되며, 꼬리 길이 비중이 중요한 요소로 작용
EN
R+: Bullish rejection after a bearish candle, long lower wick, RSI < 45
R-: Bearish rejection after bullish candle or long upper wick, RSI > 50
Doji candles are filtered out; long wick length relative to body is essential.
⚙️ 다이버전스 감지 | Divergence Detection
✅ 일반 다이버전스 | Regular Divergence (RD+/RD−)
KR
RD+: 가격 저점 하락 + RSI 저점 상승 + 리젝션
RD-: 가격 고점 상승 + RSI 고점 하락 + 리젝션
EN
RD+: Price makes lower lows, RSI makes higher lows, with rejection
RD−: Price makes higher highs, RSI makes lower highs, with rejection
✅ 히든 다이버전스 | Hidden Divergence (RH+/RH−)
KR
RH+: 가격 저점 상승 + RSI 저점 하락 + 리젝션
RH-: 가격 고점 하락 + RSI 고점 상승 + 리젝션
EN
RH+: Price makes higher lows, RSI makes lower lows, with rejection
RH−: Price makes lower highs, RSI makes higher highs, with rejection
🧠 시그널 우선순위 | Signal Priority
KR
동일한 캔들에서 일반 다이버전스와 히든 다이버전스가 동시에 발생해도, **일반 다이버전스(RD+, RD−)**가 **히든 다이버전스(RH+, RH−)**보다 우선 표시됩니다.
EN
When both regular and hidden divergence conditions are met on the same candle, regular divergence (RD+, RD−) is prioritized over hidden divergence (RH+, RH−).
🔔 알림 기능 | Alert System
KR
모든 시그널(R+, R-, RD+, RD-, RH+, RH-)에 대해 알림 설정이 포함되어 있어, 자동매매나 실시간 대응이 가능합니다.
EN
Alert conditions are included for all signals (R+, R-, RD+, RD-, RH+, RH-), enabling automation or real-time trading reactions.
Mig Trade Model - Kill Zones
Key features:
Liquidity Hunt Detection: Spots aggressive moves that "hunt" stops beyond recent swing highs/lows.
Consolidation Filter: Requires 1-3 small-range candles after a hunt before confirming with a strong candle.
Bias Application: Uses daily open/close to auto-detect bias or allows manual override.
Kill Zone Restriction: Limits signals to London (default: 7-10 AM UTC) and NY (default: 12-3 PM UTC) sessions for better relevance in active markets.
This strategy is inspired by smart money concepts (SMC) and ICT (Inner Circle Trader) methodologies, aiming to capture venom-like "stings" in price action where liquidity is grabbed before reversals.
How It Works
ATR Calculation: Uses a user-defined ATR length (default: 14) to measure volatility, which scales candle body and range thresholds.
Bias Determination:
Auto: Compares daily close to open (bullish if close > open).
Manual: User selects "Bullish" or "Bearish."
Strong Candles:
Bullish: Green candle with body > 2x ATR (configurable).
Bearish: Red candle with body > 2x ATR.
Small Range Candles:
Candles where high-low < 0.5x ATR (configurable).
Liquidity Hunt:
Bullish Hunt: Strong bearish candle making a new low below the past swing low (default: 10 bars).
Bearish Hunt: Strong bullish candle making a new high above the past swing high.
Signal Generation:
After a hunt, counts 1-3 small-range candles.
Confirms with a strong candle in the opposite direction (e.g., strong bullish after bearish hunt).
Resets if >3 small candles or an opposing strong candle appears.
Kill Zone Filter:
Checks if the current bar's time (in UTC) falls within London or NY Kill Zones.
Only allows final "Buy" (bullish entry) or "Sell" (bearish entry) if bias matches and in Kill Zone.
Plots:
Yellow circle (below): Bullish liquidity hunt.
Orange circle (above): Bearish liquidity hunt.
Blue diamond (below): Raw bullish signal.
Purple diamond (above): Raw bearish signal.
Green triangle up ("Buy"): Filtered bullish entry.
Red triangle down ("Sell"): Filtered bearish entry.
Inputs
Bias: "Auto" (default), "Bullish", or "Bearish" – Controls signal direction based on daily trend.
ATR Length: 14 (default) – Period for ATR calculation.
Swing Length for Liquidity Hunt: 10 (default) – Bars to look back for swing highs/lows.
Strong Candle Body Multiplier (x ATR): 2.0 (default) – Threshold for strong candle bodies.
Small Range Multiplier (x ATR): 0.5 (default) – Threshold for small-range candles.
London Kill Zone Start/End Hour (UTC): 7/10 (default) – Customize London session hours.
NY Kill Zone Start/End Hour (UTC): 12/15 (default) – Customize New York session hours.
Usage Tips
Timeframe: Best on lower timeframes (e.g., 5-15 min) for intraday trading, especially forex pairs like EURUSD or GBPUSD.
Timezone Adjustment: Inputs are in UTC. If your chart is in a different timezone (e.g., EST = UTC-5), adjust hours accordingly (e.g., London: 2-5 AM EST → 7-10 UTC).
Risk Management: Use with stop-loss (e.g., beyond the hunt low/high) and take-profit based on ATR multiples. Not financial advice—backtest thoroughly.
Customization: Tweak multipliers for different assets; higher for volatile cryptos, lower for stocks.
Limitations: Relies on historical data; may generate false signals in ranging markets. Combine with other indicators like volume or support/resistance.
This indicator is for educational purposes. Always use discretion and proper risk management in live trading. If you find it useful, feel free to share feedback or suggestions!
Accurate Monthly Session HighlighterYou can adjust the start/end times and highlight settings directly from the indicator's input parameters.
UT Bot Confirmed Edition by 相棒This is a high-precision indicator combining UT Bot and QQE MOD, designed for trend detection and confirmed logic.
It is optimized for Gold and USDJPY on the 5-minute and 1-minute timeframes.
Also compatible with other pairs and timeframes.
The Buy/Sell signals use Confirmed Logic to filter out noise and assist with reliable and practical entry decisions.
This is an invite-only script.
To use this script, authorization from the author is required.
Gold Pullback Strategy [Backtest + Alerts]XAU USD M5 M15 TP1-1
BUY Pull black EMA 21
Storsi oversold