MÈGAS ALGO : ZIG-ZAG CYCLE INSIGTH [INDICATOR]Overview
The Zig-Zag Cycle Insigth is a revisited version of the classic Zig Zag indicator, designed to provide traders with a more comprehensive and actionable view of price movements.
This advanced tool not only highlights significant price swings but also incorporates additional features such as cycle analysis, real-time data tracking, and Fibonacci retracement levels. These enhancements make it an invaluable resource for identifying trends, potential reversal points, and market structure.
This indicator adheres to TradingView's guidelines and is optimized for both technical analysts and active traders who seek deeper insights into market dynamics.
Key Features:
1. Customizable Thresholds for Price Movements:
- Users can set personalized thresholds for price movement percentages and time periods.
This ensures that only significant price swings are plotted, reducing noise and increasing
clarity.
- Straight lines connect swing highs and lows, providing a cleaner visual representation of
the trend.
2. Cycle Analysis Table:
- A dynamic table is included to analyze price cycles based on three key factors:
- Price Change: Measures the magnitude of each swing (high-to-low or low-to-high).
- Time Duration (Bar Count): Tracks the number of bars elapsed between consecutive swings,
offering precise timing insights.
- Volume: Analyzes trading volume during each segment of the cycle.
- The indicator calculates the **maximum**, **minimum**, and **mean** values for each
parameter across all completed cycles, providing deeper statistical insights into market
behavior.
- This table updates in real-time, offering traders a quantitative understanding of how price
behaves over different cycles.
3. Real-Time Data Integration:
- The indicator displays live updates of current price action relative to the last identified
swing high/low. This includes:
- Current distance from the last pivot point.
- Percentage change since the last pivot.
- Volume traded since the last pivot.
4. Fibonacci Retracement Levels:
- Integrated Fibonacci retracement levels are dynamically calculated based on the most
recent significant swing high and low.
- Key retracement levels (23.6%, 38.2%, 50%, 61.8%, and 78.6%) are plotted alongside the Zig
Zag lines, helping traders identify potential support/resistance zones.
- Extension levels (100%, 161.8%, etc.) are also included to anticipate possible breakout
targets.
5. Customizable Alerts:
- Users can configure alerts for specific real-time conditions, such as:
- Price Change
- Duration
- Volume
- Fibonacci Retracement Levels
How It Works:
1. Zig Zag Identification:
- The indicator scans historical price data to identify significant turning points where the
price moves by at least the user-defined percentage threshold.
- These turning points are connected by straight lines to form the Zig Zag pattern.
2. Cycle Analysis:
For each completed cycle (from one swing high/low to the next), the indicator calculates:
- Price Change: Difference between the start and end prices of the cycle.
- Maximum Price Change: The largest price difference observed across all cycles.
- Minimum Price Change: The smallest price difference observed across all cycles.
- Mean Price Change: The average price difference across all cycles.
- Time Duration (Bar Count): Number of bars elapsed between consecutive swings.
- Maximum Duration: The longest cycle in terms of bar count.
- Minimum Duration: The shortest cycle in terms of bar count.
- Mean Duration: The average cycle length in terms of bar count.
- Volume: Total volume traded during the cycle.
- Maximum Volume: The highest volume traded during any single cycle.
- Minimum Volume: The lowest volume traded during any single cycle.
- Mean Volume: The average volume traded across all cycles.
- These calculations provide traders with a statistical overview of market behavior, enabling
them to identify patterns and anomalies in price, time, and volume.
3. Fibonacci Integration:
- Once a new swing high or low is identified, the indicator automatically calculates Fibonacci
retracement and extension levels.
- These levels serve as reference points for potential entry/exit opportunities.
4. Real-Time Updates:
- As the market evolves, the indicator continuously monitors the relationship between the
current price and the last identified swing point.
- Real-time metrics, such as percentage change and volume, are updated dynamically.
5. Alerts Based on Real-Time Parameters:
- The indicator allows users to set customizable alerts based on real-time conditions:
- Price Change Alert: Triggered when the real-time price change is less or greater than a
predefined percentage threshold (e.g., > or < fixed value).
- Duration Alert: Triggered when the cycle duration (in bars) is less or greater than a
predefined
bar count threshold (e.g., > or < fixed value).
- Volume Alert: Triggered when the trading volume during the current cycle is less or greater
than a predefined volume threshold (e.g., > or < fixed value).
Advantages of Zig-Zag Cycle Insigth
- Comprehensive Insights: Combining cycle analysis, Fibonacci retracements, and real-time data
provides a holistic view of market conditions.
- Statistical Analysis: The inclusion of maximum, minimum, and mean values for price change,
duration, and volume offers deeper insights into market behavior.
- Actionable Signals: Customizable alerts ensure traders never miss critical market events based
on real-time price, duration, and volume parameters.
- User-Friendly Design: Clear visuals and intuitive controls make it accessible for traders of all
skill levels.
Reference:
TradingView/ZigZag
TradingView/AutofibRetracement
Please Note:
This indicator is provided for informational and educational purposes only. It is not financial advice, and it should not be considered a recommendation to buy, sell, or trade any financial instrument. Trading involves significant risks, including the potential loss of your entire investment. Always conduct your own research and consult with a licensed financial advisor before making any trading decisions.
The results and images provided are based on algorithms and historical/paid real-time market data but do not guarantee future results or accuracy. Use this tool at your own risk, and understand that past performance is not indicative of future outcomes.
Volume
Dynamic Volume Profile Oscillator | OpusDynamic Volume Profile Oscillator | Opus 📈
Technical Indicator Overview
The Dynamic Volume Profile Oscillator | Opus is an advanced analytical tool 🛠️ that blends price action with volume analysis to deliver superior trend detection and trade entry signals. By calculating volume-weighted mean price deviations, this indicator adapts to market conditions, identifying overbought, oversold, and momentum shifts with greater precision than traditional oscillators.
Key Features 🌟
Adaptive Volume Profiling ✅: Continuously tracks recent volume concentrations to pinpoint key liquidity zones where price action is likely to react 📊.
Mean Reversion Mode ⚙️: Measures deviations from the volume-weighted average price (VWAP) to detect price exhaustion and potential reversal points ⚡.
Oscillator Smoothing 🚦: Applies a customizable EMA smoothing (default: 5) to reduce noise and enhance signal clarity.
Dynamic Midline & Zones 🌈: Features a self-adjusting midline and adaptive overbought/oversold zones based on historical oscillator values and standard deviation.
Signal Crossovers : Utilizes fast (5-period) and slow (15-period) EMA crossovers to capture early momentum shifts.
Gradient Zone Visualization 🎨: Displays color-coded zones (cyan for bullish, magenta for bearish) with multi-layered gradients to reflect trend strength 💪.
Usage Guidelines 📋
Bullish Momentum (Cyan) ✅ : Enter long positions when the oscillator exceeds the adaptive midline or the fast EMA crosses above the slow EMA, indicating upward momentum 🚀.
Bearish Momentum (Magenta) ❌ : Exit or short when the oscillator falls below the adaptive midline or the fast EMA crosses below the slow EMA, signaling a potential downtrend 🛑.
Overbought/Oversold Detection : Watch for extreme deviations into the gradient zones to anticipate reversals, especially in mean reversion mode ⚠️.
Signal Strength Evaluation : Assess gradient shading—darker zones suggest stronger signals, while lighter shades indicate caution 💡.
Customizable Settings ⚙️
Volume Analysis : Select price source (default: close), volume source (default: volume), lookback period (default: 50), and profile periods (default: 10) 🔧.
Oscillator Settings : Adjust smoothing length (default: 5), sensitivity (default: 1.0), and enable/disable mean reversion mode 🎚️.
Threshold Settings : Toggle adaptive midline (default: on), set midline period (default: 50), and adjust zone width multiplier (default: 1.5) 📏.
Display Options : Enable/disable color bars and customize gradient colors for a tailored visual experience 🖌️.
Applications 🌍
The Dynamic Volume Profile Oscillator | Opus is a versatile tool for traders seeking to combine volume-based insights with oscillator precision. Its adaptive design and gradient visualization excel at identifying liquidity-driven trends, momentum shifts, and reversal opportunities, making it ideal for dynamic markets and varied trading strategies 💼.
Technical Methodology (Bonus Section) 🔍
1. Volume Profile Calculation : Builds a profile of recent price-volume relationships, calculating VWAP and weighted deviation over a lookback period.
2. Oscillator Generation : Normalizes volume or deviation data (depending on mean reversion mode) and applies EMA smoothing for the main oscillator.
3. Signal Processin g: Uses fast and slow EMA crossovers and an adaptive midline (based on standard deviation) to generate trend signals.
4. Visualization : Implements multi-layered gradient fills between zones and midline, with bar coloring to reflect bullish/bearish states.
All under a Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0) © 2025 Opus Capital 💼.
Volume Flow with Bollinger Bands and EMA Cross SignalsThe Volume Flow with Bollinger Bands and EMA Cross Signals indicator is a custom technical analysis tool designed to identify potential buy and sell signals based on several key components:
Volume Flow: This component combines price movement and trading volume to create a signal that indicates the strength or weakness of price movements. When the price is rising with increasing volume, it suggests strong buying activity, whereas falling prices with increasing volume indicate strong selling pressure.
Bollinger Bands: Bollinger Bands consist of three lines:
The Basis (middle line), which is a Simple Moving Average (SMA) of the price over a set period.
The Upper Band, which is the Basis plus a multiple of the standard deviation (typically 2).
The Lower Band, which is the Basis minus a multiple of the standard deviation. Bollinger Bands help identify periods of high volatility and potential overbought/oversold conditions. When the price touches the upper band, it might indicate that the market is overbought, while touching the lower band might indicate oversold conditions.
EMA Crossovers: The script includes two Exponential Moving Averages (EMAs):
Fast EMA: A shorter-term EMA, typically more sensitive to price changes.
Slow EMA: A longer-term EMA, responding slower to price changes. The crossover of the Fast EMA crossing above the Slow EMA (bullish crossover) signals a potential buy opportunity, while the Fast EMA crossing below the Slow EMA (bearish crossover) signals a potential sell opportunity.
Background Color and Candle Color: The indicator highlights the chart's background with specific colors based on the signals:
Green background for buy signals.
Yellow background for sell signals. Additionally, the candles are colored green for buy signals and yellow for sell signals to visually reinforce the trade opportunities.
Buy/Sell Labels: Small labels are placed on the chart:
"BUY" label in green is placed below the bar when a buy signal is generated.
"SELL" label in yellow is placed above the bar when a sell signal is generated.
Working of the Indicator:
Volume Flow Calculation: The Volume Flow is calculated by multiplying the price change (current close minus the previous close) with the volume. This product is then smoothed with a Simple Moving Average (SMA) over a user-defined period (length). The result is then multiplied by a multiplier to adjust its sensitivity.
Price Change = close - close
Volume Flow = Price Change * Volume
Smoothed Volume Flow = SMA(Volume Flow, length)
The Volume Flow Signal is then: Smooth Volume Flow * Multiplier
This calculation represents the buying or selling pressure in the market.
Bollinger Bands: Bollinger Bands are calculated using the Simple Moving Average (SMA) of the closing price (basis) and the Standard Deviation (stdev) of the price over a period defined by the user (bb_length).
Basis (Middle Band) = SMA(close, bb_length)
Upper Band = Basis + (bb_std_dev * Stdev)
Lower Band = Basis - (bb_std_dev * Stdev)
The upper and lower bands are plotted alongside the price to identify the price's volatility. When the price is near the upper band, it could be overbought, and near the lower band, it could be oversold.
EMA Crossovers: The Fast EMA and Slow EMA are calculated using the Exponential Moving Average (EMA) function. The crossovers are detected by checking:
Buy Signal (Bullish Crossover): When the Fast EMA crosses above the Slow EMA.
Sell Signal (Bearish Crossover): When the Fast EMA crosses below the Slow EMA.
The long_condition variable checks if the Fast EMA crosses above the Slow EMA, and the short_condition checks if it crosses below.
Visual Signals:
Background Color: The background is colored green for a buy signal and yellow for a sell signal. This gives an immediate visual cue to the trader.
Bar Color: The candles are colored green for buy signals and yellow for sell signals.
Labels:
A "BUY" label in green appears below the bar when the Fast EMA crosses above the Slow EMA.
A "SELL" label in yellow appears above the bar when the Fast EMA crosses below the Slow EMA.
Summary of Buy/Sell Logic:
Buy Signal:
The Fast EMA crosses above the Slow EMA (bullish crossover).
Volume flow is positive, indicating buying pressure.
Background turns green and candles are colored green.
A "BUY" label appears below the bar.
Sell Signal:
The Fast EMA crosses below the Slow EMA (bearish crossover).
Volume flow is negative, indicating selling pressure.
Background turns yellow and candles are colored yellow.
A "SELL" label appears above the bar.
Usage of the Indicator:
This indicator is designed to help traders identify potential entry (buy) and exit (sell) points based on:
The interaction of Exponential Moving Averages (EMAs).
The strength and direction of Volume Flow.
Price volatility using Bollinger Bands.
By combining these components, the indicator provides a comprehensive view of market conditions, helping traders make informed decisions on when to enter and exit trades.
VWAP StrategyVWAP and volatility filters for structured intraday trades.
How the Strategy Works
1. VWAP Anchored to Session
VWAP is calculated from the start of each trading day.
Standard deviations are used to create bands above/below the VWAP.
2. Entry Triggers: Al Brooks H1/H2 and L1/L2
H1/H2 (Long Entry): Opens below 2nd lower deviation, closes above it.
L1/L2 (Short Entry): Opens above 2nd upper deviation, closes below it.
3. Volatility Filter (ATR)
Skips trades when deviation bands are too tight (< 3 ATRs).
4. Stop Loss
Based on the signal bar’s high/low ± stop buffer.
Longs: signalBarLow - stopBuffer
Shorts: signalBarHigh + stopBuffer
5. Take Profit / Exit Target
Exit logic is customizable per side:
VWAP, Deviation Band, or None
6. Safety Exit
Exits early if X consecutive bars go against the trade.
Longs: X red bars
Shorts: X green bars
Explanation of Strategy Inputs
- Stop Buffer: Distance from signal bar for stop-loss.
- Long/Short Exit Rule: VWAP, Deviation Band, or None
- Long/Short Target Deviation: Standard deviation for target exit.
- Enable Safety Exit: Toggle emergency exit.
- Opposing Bars: Number of opposing candles before safety exit.
- Allow Long/Short Trades: Enable or disable entry side.
- Show VWAP/Entry Bands: Toggle visual aids.
- Highlight Low Vol Zones: Orange shading for low volatility skips.
Tuning Tips
- Stop buffer: Use 1–5 points.
- Target deviation: Start with VWAP. In strong trends use 2nd deviation and turn off the counter-trend entry.
- Safety exit: 3 bars recommended.
- Disable short/long side to focus on one type of reversal.
Backtest Setup Suggestions
- initial_capital = 2000
- default_qty_value = 1 (fixed contracts or percent-of-equity)
Trendingline ZMDConfirming the Breakout
To avoid false breakouts, consider these confirmation signals:
A candle close beyond the trendline.
Increased volume during the breakout.
Retesting the trendline as support/resistance.
Trading the Breakout
Entry: Enter a trade after confirmation signals.
Stop Loss: Place a stop loss slightly beyond the trendline to limit risk.
Take Profit: Set profit targets based on support/resistance levels or Fibonacci extensions.
Trendline Retest Strategy
After breaking a trendline, the price often retests the broken trendline before continuing in the new direction. If the price respects the trendline as a new support/resistance, it adds further confirmation.
By following these steps, traders can effectively use trendline breakouts to identify high-probability trading opportunities.
SMA Trend Panel// This indicator presents a compact panel for traders, combining SMA-based trend tracking and key volume/momentum technical indicators.
// The panel displays short-, mid-, and long-term SMAs (13, 50, 200), MACD, ADX, Stochastic RSI,
// OBV, CMF, volume change, weekly/monthly pivot levels, and ATR (volatility) directly on the chart.
// Each cell shows the current condition of its indicator with a symbol: positive (✅), negative (❌), or neutral (🔄).
// It is designed for traders who want to quickly assess overall technical conditions at a glance.
Exponential Action Map (EAM)### **Exponential Action Map (EAM) – Description and Differences from VPVR**
The Exponential Action Map (EAM) indicator is a Pine Script-based volume profile indicator that offers **a weighted representation of buying and selling activity**. Unlike the standard **Volume Profile Visible Range (VPVR)**, which simply shows traded volume at various price levels, the EAM provides the following additional features:
1. **Exponential Weighting**:
- Instead of treating the volume of all considered bars equally, the EAM uses a **decay factor** to gradually diminish the significance of older data. This allows **more recent price movements to have greater influence**, making it particularly useful for short-term analysis.
2. **Exponential Stealth Move (ESM)**:
- In addition to buy and sell volume, the EAM calculates and displays the **Exponential Stealth Move (ESM)**.
- This measures the relative price movement compared to volume and highlights areas where **significant price changes occur with low volume**, which may indicate institutional activity or strong momentum.
- The ESM visualization is not present in VPVR, making it a distinct and valuable feature.
3. **Visualization Methodology**:
- Instead of simple histograms like in VPVR, volume is represented by **dynamic boxes** that encompass Buy (EBA), Sell (ESA), and Stealth Move (ESM) activities.
- The size and color of these boxes are **customizable**, allowing for clear differentiation between various volume types.
4. **Flexibility & Configuration**:
- Users can adjust parameters such as **Number of Bars, Decay Factor, Bar Width, and Maximum History Data**.
- The ability to **toggle historical data visibility** offers a **tailored view** that VPVR does not provide.
**Conclusion:** The EAM extends the classic volume profile (VPVR) by introducing **time-weighted volume analysis and detection of Stealth Moves (ESM)**. This not only highlights price levels with high trading volume but also reveals **price movements with low liquidity**, which can potentially indicate institutional interest.
Custom VWAPThe Custom VWAP indicator provides traders with a streamlined approach to tracking Volume Weighted Average Price (VWAP) across multiple timeframes. Unlike standard VWAP indicators that limit users to a single timeframe, this tool allows multiple VWAPs to be enabled simultaneously, including Session, Weekly, Monthly, Yearly, and an RTH (Regular Trading Hours) VWAP.
Features:
Multi-Timeframe Support: Enable or disable individual VWAPs without adding multiple indicators.
RTH VWAP Option: Includes a dedicated RTH VWAP, which is not available in the standard TradingView VWAP tool.
Customizable Labels & Styling: Adjust colors, line widths, and label placements to match your charting preferences, keeping the chart organized.
Horizontal VWAP Lines: Optional horizontal lines provide clear price level visualization.
Automatic Reset: VWAPs update at the start of each session, week, month, or year, ensuring accurate calculations without manual adjustments.
This indicator is useful for traders who rely on VWAP levels for decision-making while keeping their charts clean and efficient.
Triple Confirmation Scalper v2Bu strateji, trend takibi ve aşırı alım/satım koşullarını birleştirir. İşlem sinyallerini filtrelemek için hacim artışını kullanır.
This strategy combines trend following and overbought/sold conditions. It uses volume spike to filter out trading signals.
Triple Confirmation Scalper
3 temel gösterge + 2 filtre kullanarak yalancı sinyalleri minimize eder.
1. Kullanılan Göstergeler ve Parametreler:
Gösterge Parametreler Amacı
EMA 9 9 periyot (Close) Kısa vadeli momentum.
EMA 21 21 periyot (Close) Trend yönü.
RSI 14 periyot Aşırı alım/satım.
VWAP 20 periyot Ortalama giriş çıkış fiyatı.
OBV (On-Balance Volume) Hacim trendi.
Özellikler ve Optimizasyonlar:
Gelişmiş VWAP Hesaplaması: HLC3 (high+low+close/3) kullanarak daha doğru VWAP değerleri
Dinamik Risk Yönetimi:
Stop-loss: Son 5 mumun en düşük/en yüksek seviyesi ±%1
Take-profit: %1.5 kar hedefi (1.5:1 risk/reward)
Hacim Analizi:
OBV göstergesiyle hacim trendi onayı
20 periyotluk hacim ortalaması üzerinde spike kontrolü
Görselleştirmeler:
EMA'lar ve VWAP bantları çizilir
Trend yönüne göre arkaplan renklendirmesi
Alert Sistem:
Long/Short sinyalleri için tradingview alertleri
Strateji Ayarları:
%100 equity kullanımı
%0.1 komisyon hesaba katılmış
Long/Short pozisyonlara izin verilmiş
Daha agresif bir strateji için:
EMA periyotlarını 5-13 yapabilirsiniz
RSI eşiklerini 40-60 arasına çekebilirsiniz
Take-profit/Stop-loss oranlarını 2:1 yapabilirsiniz
“Triple Confirmation Scalper”
Minimizes false signals using 3 basic indicators + 2 filters.
1. Indicators and Parameters used:
Indicator Parameters Purpose
EMA 9 9 period (Close) Short-term momentum.
EMA 21 21 periods (Close) Trend direction.
RSI 14 periods Overbought/sold.
VWAP 20 periods Average entry and exit price.
OBV (On-Balance Volume) Volume trend.
Features and Optimizations:
Advanced VWAP Calculation: more accurate VWAP values using HLC3 (high+low+close/3)
Dynamic Risk Management:
Stop-loss Lowest/highest level of the last 5 candles ±1
Take-profit: 1.5% profit target (1.5:1 risk/reward)
Volume Analysis:
Volume trend confirmation with OBV indicator
Spike control over 20-period volume averaging
Visualizations:
EMAs and VWAP bands are plotted
Background coloring according to trend direction
Alert System:
Tradingview alerts for Long/Short signals
Strategy Settings:
100% equity utilization
0.1% commission taken into account
Long/Short positions allowed
Turnover in CroreA simple indicator for turnover in crores.
You can set a threshold volume of your choice, and the indicator will display volumes below this threshold in red and volumes above it in green.
Volume Spikes Pro - relative volume comparisonThe Enhanced Volume Spike Detector builds on the basic relative volume comparison by adding price direction analysis and more sophisticated categorization of volume events.
Directional Analysis
This indicator doesn't just identify volume spikes, but categorizes them as:
- **Bullish**: Volume spike with upward price movement
- **Bearish**: Volume spike with downward price movement
- **Neutral**: Volume spike with minimal price change
- **Strong**: Exceptional volume spike (2.5x+ default) regardless of direction
Visual Classification
Different color schemes instantly communicate the volume spike type:
- Green for bullish volume (price rising)
- Red for bearish volume (price falling)
- Dark Green for strong bullish volume
- Dark Red for strong bearish volume (price falling)
Customization Tips
- For day trading or short timeframes: Consider reducing MA length to 10-15
- For swing trading: The default 20 is appropriate
- For position trading or longer timeframes: Consider increasing to 30-50
- For more selective signals: Increase multiplier to 2.0 or higher
- For more comprehensive detection: Decrease multiplier to 1.3-1.4
Percentage Premium ComparisonPercentage Price Comparison for different tickers. Set and compare who is in the drivers seat
GQT GPT - Volume-based Support & Resistance Zones V2搞钱兔,搞钱是为了更好的生活。
Title: GQT GPT - Volume-based Support & Resistance Zones V2
Overview:
This strategy is implemented in PineScript v5 and is designed to identify key support and resistance zones based on volume-driven fractal analysis on a 1-hour timeframe. It computes fractal high points (for resistance) and fractal low points (for support) using volume moving averages and specific price action criteria. These zones are visually represented on the chart with customizable lines and zone fills.
Trading Logic:
• Entry: The strategy initiates a long position when the price crosses into the support zone (i.e., when the price drops into a predetermined support area).
• Exit: The long position is closed when the price enters the resistance zone (i.e., when the price rises into a predetermined resistance area).
• Time Frame: Trading signals are generated solely from the 1-hour chart. The strategy is only active within a specified start and end date.
• Note: Only long trades are executed; short selling is not part of the strategy.
Visualization and Parameters:
• Support/Resistance Zones: The zones are drawn based on calculated fractal values, with options to extend the lines to the right for easier tracking.
• Customization: Users can configure the appearance, such as line style (solid, dotted, dashed), line width, colors, and label positions.
• Volume Filtering: A volume moving average threshold is used to confirm the fractal signals, enhancing the reliability of the support and resistance levels.
• Alerts: The strategy includes alert conditions for when the price enters the support or resistance zones, allowing for timely notifications.
⸻
搞钱兔,搞钱是为了更好的生活。
标题: GQT GPT - 基于成交量的支撑与阻力区间 V2
概述:
本策略使用 PineScript v5 实现,旨在基于成交量驱动的分形分析,在1小时级别的图表上识别关键支撑与阻力区间。策略通过成交量移动平均线和特定的价格行为标准计算分形高点(阻力)和分形低点(支撑),并以自定义的线条和区间填充形式直观地显示在图表上。
交易逻辑:
• 进场条件: 当价格进入支撑区间(即价格跌入预设支撑区域)时,策略在没有持仓的情况下发出做多信号。
• 离场条件: 当价格进入阻力区间(即价格上升至预设阻力区域)时,持有多头头寸则会被平仓。
• 时间范围: 策略的信号仅基于1小时级别的图表,并且仅在指定的开始日期与结束日期之间生效。
• 备注: 本策略仅执行多头交易,不进行空头操作。
可视化与参数设置:
• 支撑/阻力区间: 根据计算得出的分形值绘制支撑与阻力线,可选择将线条延伸至右侧,便于后续观察。
• 自定义选项: 用户可以调整线条样式(实线、点线、虚线)、线宽、颜色及标签位置,以满足个性化需求。
• 成交量过滤: 策略使用成交量移动平均阈值来确认分形信号,提高支撑和阻力区间的有效性。
• 警报功能: 当价格进入支撑或阻力区间时,策略会触发警报条件,方便用户及时关注市场变化。
⸻
Supertrend Fix1. Strategy Concept:
A. Ema Crossover of 20 and 50
B. Supertrend signal
C. Volume breakout of before 20 candles
Whenever ema crossed above and supertrend gives buy signal and Volume breaks out it will take a buy trade and in opposite scenario it will take a short trade.
2. Indicators Used: Ema 20 and Ema 50, Volume, supertrend.
3. Buy/Sell Conditions: Only when all 3 conditions satisfys then take entry.
4. Timeframe: 5m
VWAP + 2-Bar 9 EMA + Secondary MA System✅1. VWAP + 9 EMA Trend System
Detects when the 9 EMA crosses above or below the VWAP.
Bullish cross (9 EMA above VWAP with price confirmation) triggers a green vertical line and "VWAP BUY" label.
Bearish cross triggers a red vertical line and "VWAP SELL" label.
Use this to identify major trend shifts and momentum changes.
✅2-Bar EMA Signal System (Clean Entry/Exit Triggers)
Buy signal: When the previous two closes are above the 9 EMA.
Sell signal: When the previous two closes are below the 9 EMA.
One signal per direction: Prevents clutter by avoiding duplicate signals during trend continuation.
Great for cleaner entries after confirmation or for short-term directional bias.
✅3. Secondary Moving Average (Optional)
Select from SMA, EMA, WMA, VWMA, or RMA.
Customize the length (commonly used for 100 or 200 MA).
Use as a long-term trend filter or additional confluence.
🎛 Customization Options:
Toggle each system on or off independently
Choose secondary MA type and length
View or hide individual lines: VWAP, 9 EMA, secondary MA
Alert-ready for all buy/sell signals
🧠 Ideal For:
Trend traders
Reversal traders
Confirmation-based entries
Intraday and swing trading
FunkyQuokka's $ Volume💡 Why $ Volume Matters
Share volume alone is a half-truth — 1M shares traded at $5 isn’t the same as 1M shares at $500. That’s where dollar volume steps in, offering a far more accurate view of institutional interest, breakout validity, liquidity zones and overall trader conviction.
📈 Features:
Clean histogram of dollar volume (close × volume)
Orange line showing customizable average $ volume
K/M/B formatting for axis scale (no huge ugly numbers)
Minimal design to blend into a multi-pane layout
⚙️ Inputs:
Tweakable average length – defaults to 20
By FunkyQuokka 🦘
Gufs VWAPI expanded on a public script to be able to show customizable horizontal price lines (and standard) on multiple timeframes (session, week, month, year) with corresponding text labels.
I like my charts clutter free, and this helps me accomplish that.
Let me know what you think, it's my first publish. Thanks!
Tendencia y Fuerza [4H - Sin Límites]This custom indicator combines two key elements for analyzing financial markets on a 4-hour timeframe:
Trend direction (bullish/bearish).
Brute force of the movement (no numerical limits).
🔍 Main Components:
1. Trend Line (Green/Red):
Green: Uptrend (20 EMA > 50 EMA on the 4-hour period).
Red: Downtrend (20 EMA < 50 EMA on the 4-hour period).
Purpose: To quickly identify market direction.
--------------------------------------------------------------------------------------------------------------------
MFI Module (Raw Output)Outputs raw Money Flow Index (MFI) values for modular use in other scripts.
Useful for confluence-based strategies that reference external modules via request.security().
VWAP with EMA Cross + Dynamic Colorupdated version of the vwap plus with 9ema cross and changes color based on if price is above or blow vwap . and a floating bullish or bearish sign to stay on right side of market
Malama's big MACDMalama's Big MACD" is a versatile TradingView indicator designed to help traders identify high-probability buy and sell opportunities in fast-moving markets, particularly on short timeframes like 1-5 minute charts. It solves the common problem of filtering out market noise by combining a predictive price model (Stochastic Price Predictor, or SPP) with a comprehensive set of momentum and trend indicators (MACD, RSI, moving averages, and more). Whether you're scalping quick trades or confirming longer-term trends, this tool provides clear signals and visual cues to boost confidence and timing.
The indicator operates in two main layers:
Stochastic Price Predictor (SPP): This predictive engine forecasts short-term price movements using a simplified Monte Carlo simulation. It analyzes recent price changes, volatility (via ATR), and Stochastic RSI to estimate the likelihood of an upward or downward move within a set horizon (e.g., 3 bars). Buy signals trigger when the probability of an upward move exceeds a confidence threshold (default 65%) and the market isn’t overbought, while sell signals activate for downward moves when not oversold.
Comprehensive Indicator Suite: This layer combines classic tools like MACD (for momentum), RSI (for overbought/oversold conditions), moving averages (for trend direction), and ATR (for volatility-based levels). It generates signals when these align—e.g., a bullish MACD crossover paired with an oversold RSI and a rising fast MA. A unique "JKH RSI" (a fast RSI variant) adds extra confirmation, while manual sentiment input lets you tweak signals based on your market bias.
The script overlays these signals on your chart, color-codes trends, and highlights key levels (like stop-loss and profit targets) to make decision-making intuitive.
How to Use It
Adding to TradingView:
Copy the script into TradingView’s Pine Editor (under "Indicators" > "Pine Editor").
Click "Save," name it (e.g., "Malama's Big MACD"), then "Add to Chart."
Configuring Settings:
Open the indicator’s settings via the gear icon.
Adjust SPP settings (e.g., "Lookback Period" to 5 for short-term focus, "Confidence Threshold" to 65% for faster signals).
Tweak the Comprehensive settings (e.g., MACD lengths: 5/13/5 for scalping, or longer like 12/26/9 for swing trading).
Toggle visuals (e.g., enable "Show Predicted Range" or "Highlight Volume Spikes") under "Visual Settings."
Interpreting Signals:
SPP Signals: Green "BUY (SPP)" labels below bars or red "SELL (SPP)" above bars indicate predictive opportunities.
Comprehensive Signals: Lime "BUY (Comp)" or red "SELL (Comp)" labels show confirmed momentum trades. Blue/orange MACD arrows and green/red RSI dots add context.
Trend Line: Green means uptrend (fast MA > slow MA), red is downtrend, orange is neutral.
Extras: Purple ATR lines suggest stop-loss/profit targets; yellow backgrounds flag volume spikes.
Tips:
Beginners: Start with default settings and focus on SPP signals for quick trades. Use ATR lines to set safe exits.
Pros: Experiment with "Sentiment Input" (-1 to 1) to bias signals, or adjust MACD/MA lengths for your timeframe. Pair with volume spikes for breakout confirmation.
Originality
What makes "Malama's Big MACD" stand out is its hybrid approach: it fuses a predictive Monte Carlo model (SPP) with a robust multi-indicator confirmation system. Unlike standard MACD or RSI tools, it offers:
Short-Term Prediction: SPP’s probability-based signals cater to scalpers, rare in most indicators.
Layered Confirmation: Combines MACD, RSI, fast/slow MAs, and a custom JKH RSI for stronger filtering.
Visual Clarity: Trend coloring, predicted price ranges, and ATR-based levels make it a one-stop shop.
Flexibility: Adjustable for scalping or swing trading, with manual sentiment for personalized tuning.
This isn’t just another MACD—it’s a dynamic, all-in-one toolkit that adapts to your trading style, blending foresight with precision.
VWAP with Bank/Psychological Levels by TBTPH V.2This Pine Script defines a custom VWAP (Volume Weighted Average Price) indicator with several additional features, such as dynamic bands, bank levels, session tracking, and price-crossing detection. Here's a breakdown of the main elements and logic:
Key Components:
VWAP Settings:
The VWAP calculation is based on a source (e.g., hlc3), with an option to hide the VWAP on daily (1D) or higher timeframes.
You can choose the VWAP "anchor period" (Session, Week, Month, etc.) for adjusting the VWAP calculation to different time scales.
VWAP Bands:
The script allows you to plot bands above and below the VWAP line.
You can choose the calculation mode for the bands (Standard Deviation or Percentage), and the bands' width can be adjusted with a multiplier.
These bands are drawn using a gray color and can be filled to create a shaded area.
Bank Level Calculation:
The concept of bank levels is added as horizontal levels spaced by a user-defined multiplier.
These levels are drawn as dotted lines, and price labels are added to indicate each level.
You can define how many bank levels are drawn above and below the base level.
Session Indicators (LSE/NYSE):
The script identifies the open and close times of the London Stock Exchange (LSE) and the New York Stock Exchange (NYSE) sessions.
It limits the signals to only appear during these sessions.
VWAP Crossing Logic:
If the price crosses the VWAP, the script colors the candle body white to highlight this event.
Additional Plot Elements:
A background color is applied based on whether the price is above or below the 50-period Simple Moving Average (SMA).
The VWAP line dynamically changes color based on whether the price is above or below it (green if above, red if below).
Explanation of Key Sections:
1. VWAP and Band Calculation:
pinescript
Copy
= ta.vwap(src, isNewPeriod, 1)
vwapValue := _vwap
stdevAbs = _stdevUpper - _vwap
bandBasis = calcModeInput == "Standard Deviation" ? stdevAbs : _vwap * 0.01
upperBandValue1 := _vwap + bandBasis * bandMult_1
lowerBandValue1 := _vwap - bandBasis * bandMult_1
This code calculates the VWAP value (vwapValue) and standard deviation-based bands (upperBandValue1 and lowerBandValue1).
2. Bank Levels:
pinescript
Copy
baseLevel = math.floor(currentPrice / bankLevelMultiplier) * bankLevelMultiplier
The base level for the bank levels is calculated by rounding the current price to the nearest multiple of the bank level multiplier.
Then, a loop creates multiple bank levels:
pinescript
Copy
for i = -bankLevelRange to bankLevelRange
level = baseLevel + i * bankLevelMultiplier
line.new(x1=bar_index - 50, y1=level, x2=bar_index + 50, y2=level, color=highlightColor, width=2, style=line.style_dotted)
label.new(bar_index, level, text=str.tostring(level), style=label.style_label_left, color=labelBackgroundColor, textcolor=labelTextColor, size=size.small)
3. Session Logic (LSE/NYSE):
pinescript
Copy
lse_open = timestamp("GMT", year, month, dayofmonth, 8, 0)
lse_close = timestamp("GMT", year, month, dayofmonth, 16, 30)
nyse_open = timestamp("GMT-5", year, month, dayofmonth, 9, 30)
nyse_close = timestamp("GMT-5", year, month, dayofmonth, 16, 0)
The script tracks session times and filters the signals based on whether the current time falls within the LSE or NYSE session.
4. VWAP Crossing Detection:
pinescript
Copy
candleCrossedVWAP = (close > vwapValue and close <= vwapValue) or (close < vwapValue and close >= vwapValue)
barcolor(candleCrossedVWAP ? color.white : na)
If the price crosses the VWAP, the candle's body is colored white to highlight the cross.
Accumulation-Distribution CandlesThis enhanced price visualization tool interprets each candle through the lens of effort versus result, blending volume, range, and closing bias into a rich, color-coded display of Accumulation and Distribution pressure.
While compatible with any timeframe, this indicator is designed primarily for use on the 1D chart, where Wyckoff-style market phases are most clearly expressed. (Adjust visibility setting accordingly). After analyzing the high-timeframe phase, traders may switch to lower timeframes and apply faster execution tools more effectively.
Candle bodies are dynamically colored using a five-tier scale:
💙 Dark Blue — heavy accumulation
🩵 Pale Blue — mild accumulation
🌚 Gray — neutral / balanced behavior
💛 Pale Yellow — mild distribution
🧡 Deep Yellow — heavy distribution
Coloring is based on a normalized strength score, calculated using a blend of price movement and effort (with or without volume). This helps visually isolate Markup, Markdown, Re-accumulation, and Distribution at a glance.
The indicator also features optional microstructure overlays:
🟦 🟧 Zone highlighting — background shading for strong accumulation/distribution zones
📌 Pin bars — classic rejection wicks, optionally filtered by above-average volume
🔺 Fractals — 5-bar swing highs and lows, color-matched to the reference candle (not shown)
🟥 🟩 Engulfing candles — basic engulfing logic filtered by directional strength (not shown)
Every element is toggleable. The candle logic will auto-adjust for volume-less tickers such as DXY, and includes structural defaults for both traditional and crypto assets (5-day vs 7-day week logic).
🧐 Strategy tips: This tool is not meant to generate signals — it's meant to show the story. Start by identifying the market phase using the 1D chart, then move to lower timeframes with confluence tools such as SUPeR TReND 2.718 and/or the Granular MA Ribbon. This indicator is designed to slot cleanly into a multi-layered workflow of visual structure and informed execution.