Test protectedPrepare to challenge conventional analysis with Testing Bang, a bold script tailored for AAPL’s battlefield. This strategy doesn’t play defense—it takes decisive action. Triggered at a pivotal moment in Apple’s historical price path, it demonstrates how surgical precision and daring risk management converge to test reversal points with confidence. Built using Pine Script v6, the code aligns stop-loss logic with targeted entry behavior on bar index 10381.
Whether you’re exploring script mechanics or sharpening your backtest instincts, Testing Bang shows how even a single trade can reveal the psychological layers behind price movement. With the bar magnifier disabled, traders witness raw market behavior—a powerful lens for those who dare to refine strategy in the wild. Step in, test your edge, and see if your timing can match Apple’s thunder.
Chart patterns
EMA Distance Cloud with Noise FilterThis indicator highlights the relationship between price and EMA with a dynamic color-changing cloud. It uses a customizable noise filter to ignore minor fluctuations, helping traders focus on meaningful momentum shifts. Cloud color adapts based on whether the price is above or below the EMA and whether the gap is widening or tightening, making trend strength and potential reversals easier to interpret.
19/23 ema/maMA combination used in the ZFT system so students can identify long term, and short term trends within a minute. This variance emphasizes short term cross overs.
ZFT ClassicMA combination used in the ZFT system so students can identify long term, medium term, and short term trends within a minute.
Elliott Wave Probability System Pro v2🎯 Major Improvements Made to Elliott Wave Script
Key Changes:
1. Advanced Trend Detection (Lines 55-82)
Uses 5 different methods to determine trend over last 75 bars:
Price position in range
Linear regression slope
Moving average alignment
Higher highs/lows pattern
Up vs down bar count
Combines all methods into a trendScore for accurate direction
2. Adaptive Target Direction
New input: adaptiveTargets (line 28) - can toggle on/off
When ON: Targets follow the 75-bar trend regardless of short-term indicators
When OFF: Works like original (based on current momentum)
3. Improved Target Calculation
Bullish targets use extensions from current price to recent high
Bearish targets use retracements from current price to recent low
More realistic price levels based on actual market structure
4. Enhanced Status Display
Added "Trend (75 bars)" row showing BULLISH/BEARISH/NEUTRAL
Helps you see why targets are pointing a certain direction
5. Better Probability Calculation
Base probability adjusts with trend strength (70% if strong trend, 50% if not)
Gradual probability decay with distance
Minimum 15% probability (more realistic than 10%)
New Features:
Trend-Based Alerts
Alerts when 75-bar trend changes from bullish to bearish (or vice versa)
Trend Weight in Scoring
Added trendWeight to the total score calculation
Makes signals more aligned with larger trend
Visual Improvements
Projection lines now show at 40% probability (was 50%)
Better visibility of likely targets
How It Works Now:
If last 75 bars show a downtrend , targets will be bearish (even if RSI is oversold)
If last 75 bars show an uptrend , targets will be bullish (even if RSI is overbought)
The probability adjusts based on trend strength
This solves the issue where the script was showing bullish targets in a clear downtrend. Now it properly reflects the dominant trend direction while still considering short-term indicators for probability calculations.
Breakout + Retest StrategyThe Breakout + Retest Strategy is a proven price action approach used by professional traders to catch high-probability market moves after key levels are broken. This strategy aims to enter the market after confirmation — reducing false breakouts and improving entry accuracy.
🔍 Strategy Logic:
Identify a Key Support or Resistance Level
These could be recent swing highs/lows, consolidation zones, or session highs.
Wait for a Clean Breakout
Price must decisively break above resistance or below support with strong momentum.
Watch for the Retest
After the breakout, wait for the price to pull back to the broken level (now flipped support/resistance).
Enter on Retest Confirmation
Look for signs like rejection wicks, bullish/bearish engulfing candles, or strong volume on the retest.
Set Risk-Managed Stops and Targets
Stop loss goes below (for long) or above (for short) the retested level.
Target is usually set at a 1:2 or higher risk-to-reward ratio, or based on structure.
✅ Why It Works:
Filters out fake breakouts
Uses market structure and liquidity traps to your advantage
Combines both momentum and confirmation
⚙️ Best Timeframes:
15-minute to 1-hour for intraday setups
4-hour and daily for swing trades
📊 Ideal for:
Futures (NQ, ES, Gold)
Forex pairs
Crypto
Stocks near key earnings or breakout zones
Fractal Support and Resistance -shaoThe Fractal Support and Resistance indicator automatically identifies high-probability support and resistance zones based on repeated fractal touches. When a defined number of fractal highs or lows cluster around the same price zone, the indicator plots a clean horizontal level and shaded zone, helping traders visualize structurally important areas where price may react.
Volume FVG | Liquidity Gaps + (Z-Core Edition)📘 Indicator Description — Volume FVG Pro+
Volume FVG Pro+ is a technical analysis tool designed to automatically detect and visualize Fair Value Gaps (FVG) on the chart. It incorporates volume-based and ATR-based filtering to highlight only meaningful zones while reducing market noise.
⚙️ How It Works:
FVG Detection:
Identifies gaps between candles that may indicate institutional activity or imbalance.
Supports two types:
Regular FVG — all price gaps.
Volume FVG — gaps with abnormally high volume, calculated via Z-Score (relative to volume average).
ATR Filtering:
Filters out insignificant price gaps using Average True Range (ATR).
Helps show only zones with strong volatility behavior.
Mitigation Logic:
Zones are marked as mitigated (deactivated) when price retraces into them.
Mitigation can be detected by wick or close, with configurable depth percentage.
Zone Extension:
Active zones automatically extend forward until they are mitigated.
Display Options:
Fully customizable:
Bullish/Bearish coloring.
Opacity and box length.
Toggle labels and outlines.
🛠️ Settings Overview:
Z-Score Thresholds — for volume-based FVG detection.
ATR Multiplier — volatility sensitivity.
Mitigation Depth (%) — defines how deep price must retrace to deactivate a zone.
Display Options — full control over how zones appear on the chart.
📌 Why Use Volume FVG:
These gaps often represent footprints of large participants.
They are statistically more likely (15–20%) to hold price and act as reaction zones compared to regular FVGs (based on internal analysis).
Useful for identifying entry/exit areas and refining market structure analysis.
👤 Best For:
Smart Money / Order Flow / Liquidity-based traders.
Intraday and swing traders using price reaction and volume cues.
Anyone seeking clear and efficient FVG detection with filtering.
DEEP PEAK AI 🧠 Introducing DeepPeak AI
An intelligent indicator designed to detect price peaks and bottoms, helping modern investors optimize entry and exit points.
🌟 What is DeepPeak AI?
DeepPeak AI is a smart technical analysis indicator powered by artificial intelligence (AI). It identifies potential peak and bottom zones on price charts and provides timely buy-the-dip and sell-the-peak signals.
Built on historical market data, machine learning models, and real-world price behavior, DeepPeak AI allows users to make fast, emotion-free decisions and maximize trading efficiency.
⚙️ How does DeepPeak AI work?
✅ Bottom Detection:
Recognizes oversold zones, bullish reversals, or positive divergences between price and momentum indicators.
→ Suggests BUY in low-risk, high-reward areas.
❌ Peak Detection:
Analyzes when the price hits strong resistance, becomes overbought, or shows signs of weakening bullish momentum.
→ Suggests SELL or TAKE PROFIT in high-risk reversal zones.
🤖 AI Intelligence:
DeepPeak AI continuously learns from thousands of historical price patterns to improve the accuracy of its peak/bottom detection algorithm.
💡 Key Features:
📊 Real-time detection of peaks and bottoms.
📈 Suggested Buy/Sell zones with Take Profit (TP) and Stop Loss (SL) levels.
🔔 Signal alerts via chart and webhook (TradingView integration).
🔄 Self-learning AI that adapts to evolving market behavior.
🔍 Compatible with multiple timeframes and asset types: crypto, stocks, forex, gold, etc.
🧠 Who is DeepPeak AI for?
🧩 New investors who need clear, beginner-friendly signals.
⚔️ Pro traders looking for tools to filter noise and spot ideal trade zones.
🤖 Developers integrating AI-based analysis into trading bots.
⚠️ Usage Notes:
This is not a guaranteed signal tool — use in combination with risk management and overall market analysis.
Works best in trending markets or tight consolidation ranges.
Divergence Indicator with Multi-Length Pivot DetectionThis Pine Script, titled “Divergence Indicator with Multi-Length Pivot Detection”, tool that detects both regular and hidden divergences between price action and an oscillator (defaulting to close, but configurable). It features multi-length pivot logic, angle-based validation, no-cross filtering, and OB/OS region filtering, making it a robust and precise divergence engine. Below is a detailed breakdown:
⸻
🔧 Inputs and Configuration
• osc_src: Oscillator source (e.g. close, RSI, MACD).
• show_hidden: Toggles detection of hidden divergences.
• min_*_angle settings: Control the minimum angle thresholds (in degrees) for confirming valid divergences (ensures momentum is strong enough).
• validate_no_cross: Ensures oscillator and price slopes don’t “cross” the actual values (i.e. filters out invalid or messy trends).
• oversold_level, overbought_level: Used when use_ob_os_filter is enabled to require oscillator to be in OS/OB zones for regular divergence.
• min_div_length: Minimum distance in bars between previous and current pivot points.
⸻
🔁 Internal Engine Mechanics
1. Pivot Detection Engine (Phase 1: Historical Memory)
• For all combinations of left1 and right1 in the range :
• Records all valid pivot lows and pivot highs.
• Stores their:
• bar index
• price value
• oscillator value
This forms a “memory buffer” of past pivots that future price pivots are compared against.
2. Current Pivot Detection (Phase 2: Scanning)
• Loops through larger pivot configurations (left2 ∈ , right2 = 1) to detect new current pivots.
• For each new pivot, it compares against the historical pivots from phase 1.
⸻
📐 Slope and Angle Calculation
For each matching pivot pair (historical vs current):
• Price and Oscillator Slopes are calculated via linear regression, producing:
• price_angle
• osc_angle
• These are converted using math.atan() and math.todegrees() to get proper angular direction and intensity of trend.
⸻
🧠 Divergence Logic
✅ Bullish Divergence
• Regular Bullish: Price makes a lower low, oscillator makes a higher low.
• Hidden Bullish: Price makes a higher low, oscillator makes a lower low.
• Conditions:
• Must meet minimum angle thresholds.
• Optional: Must be in oversold region (osc_src < oversold_level).
• If validate_no_cross is enabled, linearly interpolated slope must not be violated.
✅ Bearish Divergence
• Regular Bearish: Price makes a higher high, oscillator makes a lower high.
• Hidden Bearish: Price makes a lower high, oscillator makes a higher high.
• Conditions mirror the bullish case (with polarity reversed).
⸻
🖍️ Visualization
• Draws colored lines between pivots for visual clarity:
• Green: Regular Bullish
• Lime: Hidden Bullish
• Red: Regular Bearish
• Maroon: Hidden Bearish
• Uses plotshape() to mark divergence bars:
• Triangle-up for bullish
• Triangle-down for bearish
The lines and shapes help quickly identify divergence zones with strong momentum structure.
⸻
🧪 Filtering Enhancements
• No Cross Slope Filter: Checks that oscillator and price values stay above/below their respective slope lines throughout the interval.
• OB/OS Filter: Restricts divergence signals to occur only in oversold/overbought conditions for regular divergences.
• Signal Thinning: Keeps line count to 100 using array.shift() and line.delete().
⸻
🧬 Design Philosophy
• Built to mimic institutional-grade divergence detection, avoiding common false positives.
• Uses adaptive pivots, rigorous angle validation, and noise filtering.
FOREX Risk Management Calculator BY MUNASARForex Risk Management Calculator by Munasar
Short Description:
A powerful tool to calculate daily risk, reward, position size, and risk-reward ratio for forex trades.
Full Description:
This indicator is built for forex traders who want to manage their risk with precision. It calculates your daily risk and reward based on account size, stop loss PIPS, and take profit PIPS.
You'll also get:
Position size per trade
Risk & reward per trade in $ and PIPS
Take Profit levels
Risk-to-Reward ratio
Support for multiple trades per day
Perfect for both beginners and advanced traders who want to protect their capital and follow a consistent plan.
N.B: Standard Lot Value
"The value of a standard lot varies depending on the currency being traded, as each pair has a different standard lot size."
Created by Munasar
Crypto Weighted 60 Day Return Index60 Day Return of Crypto Index (Volatility Adjusted) weightings based on Holdings
BTC
ETH
SOL
AAVE
XRP
Futures Trade Entry Indicator (MTF)Work in Progress with the help of Claude. Not ready for active trading. Public for help improving. This will be a multi-timeframe futures trading indicator with supply/demand zones, Fair Value Gaps (FVGs), and sophisticated entry/exit logic.I've created a comprehensive Pine Script v6 indicator that matches all your specifications! Here's what the script includes:
## **Key Features Implemented:**
### **🔄 Multi-Timeframe Logic**
- **1H Chart Data**: Detects Supply Zones, Demand Zones, and Fair Value Gaps
- **Current Timeframe**: Monitors for re-entry and confirmation signals
### **📊 Zone Detection**
- **Supply Zones**: Identified using pivot highs with configurable strength
- **Demand Zones**: Identified using pivot lows with touch validation
- **Fair Value Gaps**: Both bullish and bearish FVGs detected automatically
- **Auto-Expiry**: Zones expire after 24 hours (configurable)
### **⚡ Entry Logic**
- **Dual Confirmation Required**:
- ✅ Engulfing candle pattern (bullish/bearish)
- ✅ Market structure shift (HH→LL or LL→HH)
- **Zone Re-entry**: Price must be within identified zones/FVGs
### **🎯 Probability System**
- **Smart Scoring**: Based on zone age, strength, and risk/reward ratio
- **Color-Coded**: Green (High), Yellow (Medium), Red (Low)
- **Real-time Calculation**: Updates with each potential entry
### **🎨 Visual Elements**
- **Colored Zones**: Supply (red), Demand (green), FVGs (blue/orange)
- **Entry Labels**: 🟩 LONG / 🟥 SHORT markers
- **Probability Labels**: Display confidence levels
- **Confirmation Shapes**: Triangle indicators for pattern completion
### **⚙️ Manual Controls**
All the requested toggles are available in the settings panel:
- Show/Hide Supply Zones
- Show/Hide Demand Zones
- Show/Hide FVGs
- Show/Hide Labels
- Show/Hide Probability
- Zone strength and expiry settings
- Custom colors for all elements
### **🔔 Alert System**
- Entry opportunity alerts
- Includes probability assessment
- Ticker symbol identification
## **Usage Instructions:**
1. **Apply to 15m chart** for active trading signals
2. **Configure settings** based on your preferences
3. **Set up alerts** for automated notifications
4. **Monitor probability levels** for trade quality assessment
The script automatically handles the complex multi-timeframe analysis while keeping the interface clean and user-friendly. All zones update dynamically and expire appropriately to avoid clutter.
Would you like me to adjust any specific parameters or add additional features?
MACD + TSI 交易信号指标 by kuaileya MACD kuaileya VX kale1668 title="🚀 强势买入信号", message="🚀 {{ticker}} 强势买入信号!价格:{{close}} | MACD和TSI同时确认多头趋势")
alertcondition(strongSell and showAlerts, title="💥 强势卖出信号", message="💥 {{ticker}} 强势卖出信号!价格:{{close}} | MACD和TSI同时确认空头趋势")
alertcondition(normalBuy and showAlerts, title="📈 买入信号", message="
IFVG ExtendedThis indicator identifies and visualizes "Imbalance Fair Value Gaps" (IFVGs) on a price chart. It highlights these gaps, tracks their evolution, and signals when they are "filled" or "invalidated" by price action. The script is quite advanced, using custom types, arrays, and dynamic drawing.
1. Types and Variables
Custom Types:
lab: Stores label information (x, y, direction).
fvg: Stores Fair Value Gap data, including its boundaries, direction, state, labels, and other properties.
Arrays:
Four arrays track bullish and bearish FVGs, and their "invalidated" (filled) versions.
Signals:
Boolean variables to store if a bullish or bearish signal is triggered.
2. User Inputs and Parameters
Display Settings:
How many recent FVGs to show, signal preference (close or wick), ATR multiplier for gap size filtering, and colors for bullish/bearish/midline.
3. Chart Data
Price Data:
Open, high, low, close, and ATR (Average True Range) are stored for use in calculations.
4. Functions
label_maker:
Draws an up or down arrow label at a given point, colored for bullish or bearish.
fvg_manage:
Checks if any FVGs in the array have been "invalidated" (i.e., price has crossed their boundary). If so, moves them to the invalidated array.
inv_manage:
Manages invalidated FVGs, checking if a signal should be fired (i.e., price has reacted to the gap). Also removes old FVGs.
send_it:
Draws the FVGs and their labels on the chart, using boxes and lines for visualization.
5. Main Logic and Visualization
FVG Detection:
On each bar, checks for new bullish or bearish FVGs based on price action and ATR filter.
Adds new FVGs to the appropriate array.
FVG Management:
Updates the arrays, moves invalidated FVGs, and checks for signals.
Drawing:
On the last bar, clears all previous drawings and redraws the current FVGs and their labels.
6. Alerts
Alert Conditions:
Sets up alerts for when a bullish or bearish IFVG signal is triggered, so users can be notified.
Summary
In short:
This script automatically finds and tracks "Imbalance Fair Value Gaps" on your chart, highlights them, and alerts you when price interacts with them in a significant way. It uses advanced Pine Script features to manage and visualize these zones dynamically, helping traders spot potential reversal or continuation points based on gap theory
FVG + Liquidity Sweepsthis is a test and i don't know if it is gonna actually work but let me know if it does.
CHoCH + BOS + LQ Sweep v6.3.8 PRO+The CHoCH + BOS + LQ Sweep PRO indicator is a comprehensive Smart Money Concepts (SMC) tool designed to identify market structure shifts, liquidity sweeps, and key supply-demand zones across multiple timeframes. It helps traders visualize crucial price action patterns like Change of Character (CHoCH), Break of Structure (BOS), and liquidity grabs that often precede significant market reversals or continuations.
This tool is especially suited for traders applying multi-timeframe analysis and liquidity-based trading strategies on Forex, crypto, indices, or commodities.
1. Liquidity Sweeps (LQ Sweeps)
Identifies when price sweeps previous highs/lows (stop hunts/liquidity grabs).
Configurable strength setting to filter minor vs. major sweeps.
Optional stop at wick or stop at close logic for more precise entries.
Old sweeps can be displayed or hidden, with user-defined limits for historical sweeps.
2. Multi-Timeframe (HTF) Sweeps
Displays liquidity sweeps from higher timeframes (M15, H1, H4, D1, W1).
Individual checkboxes allow flexible combinations (e.g., show only H1 & H4 sweeps).
Unique colors for each timeframe to differentiate visually on the chart.
3. Supply/Demand Zones
Automatically plots zones around swing highs and lows.
Zones are dynamically updated and locked once price interacts with them.
Configurable view: Show both bullish/bearish zones or filter for one side only.
Option to display/hide old zones and limit the number of zones shown.
4. Historical Sweep Management
Stores up to 5000 sweeps internally, while adhering to TradingView’s rendering limits (max 500 drawn).
Ensures chart clarity by prioritizing the most recent sweeps.
Joe Best EMAMoney Beast EMA Cross-Over with TP settings that can help track the market trend on all timeframes no matter whether you are a scalper, Day trader or Swing trader this has been modified to cater for all category traders bst usage for price action traders
Twin Range Filter V2 – Buy/Sell Signals📊 Indicator Name: Twin Range Filter – Buy/Sell Signals
📝 Description:
The Twin Range Filter is a trend-following indicator that combines two adaptive volatility filters to identify potential market reversals and trend continuations. It uses two configurable smoothing periods (fast and slow) to calculate a dynamic range around price, filtering out market noise and highlighting meaningful shifts in direction.
This indicator plots BUY and SELL signals based on price action in relation to the range filter, as well as internal trend conditions.
✅ How It Works:
Long Signal (BUY) is triggered when:
Price is above the filtered range (showing strength), and
Short-term upward momentum is confirmed.
Short Signal (SELL) is triggered when:
Price is below the filtered range (showing weakness), and
Short-term downward momentum is confirmed.
The signals are highlighted using green "Long" and red "Short" labels on the chart.
Background colors reinforce the current directional bias.
⚙️ Inputs:
Fast Period & Range: Adjust sensitivity of the fast range filter.
Slow Period & Range: Adjust smoothing of the slow range filter.
Source: Choose which price to base calculations on (e.g., Close, Open, HL2, etc.)
🔔 Alerts:
Long Signal – A new BUY condition has been detected.
Short Signal – A new SELL condition has been detected.
📌 Use Cases:
Entry timing for swing or intraday trades
Trend confirmation filter
Signal generator in automated strategies (when paired with a strategy scrip
Twin Range Filter – Buy/Sell SignalsThe Twin Range Filter is a trend-following indicator that combines two adaptive volatility filters to identify potential market reversals and trend continuations. It uses two configurable smoothing periods (fast and slow) to calculate a dynamic range around price, filtering out market noise and highlighting meaningful shifts in direction.
This indicator plots BUY and SELL signals based on price action in relation to the range filter, as well as internal trend conditions.
✅ How It Works:
Long Signal (BUY) is triggered when:
Price is above the filtered range (showing strength), and
Short-term upward momentum is confirmed.
Short Signal (SELL) is triggered when:
Price is below the filtered range (showing weakness), and
Short-term downward momentum is confirmed.
The signals are highlighted using green "Long" and red "Short" labels on the chart.
Background colors reinforce the current directional bias.
🔔 Alerts:
Long Signal – A new BUY condition has been detected.
Short Signal – A new SELL condition has been detected.
📌 Use Cases:
Entry timing for swing or intraday trades
Trend confirmation filter
Signal generator in automated strategies (when paired with a strategy script)
DAX Inducere Simplă v1.3 – Confirmare InducereDAX Inducere Simplă v1.3 – Confirmare Inducere ,signals before fvg mss and displacement
5-Min Gold Line Reversal (w/ Alerts & RSI Div)Great! Here's the enhanced version of your TradingView Pine Script, now with:
✅ Buy/Sell alerts
✅ RSI divergence detection (optional)
✅ Full visualization of Entry, Stop, Target 1, Target 2
✅ Tailored for 5-minute Gold (GC) but adaptable for other futures too
IVRS 5.0Unlock smarter trading decisions with IVRS 5.0, a cutting-edge indicator designed for Pine Script users. IVRS 5.0 offers enhanced insights into price action and momentum shifts, giving you early warnings of trend reversals and optimal entry/exit points. Built with the latest algorithmic techniques, this premium tool is ideal for traders seeking both reliability and innovation.
Key Features:
Sophisticated reversal detection logic for timely buy/sell signals.
Dynamic adaptability for all chart timeframes and asset classes.
Clean, customizable visualization to match your trading style.
Optimized performance, ensuring seamless integration into your workflow.
Take your chart analysis to the next level with IVRS 5.0 — elevate your trading with precision and confidence!