Skip to main content

ZenAlgo - AggDelta

Overview

The ZenAlgo - AggDelta Indicator is a cutting-edge tool designed for traders who want deep insight into volume activity and market sentiment across multiple exchanges. This indicator provides comprehensive analysis by aggregating volume data from a wide range of cryptocurrency exchanges and using it to calculate delta values, divergences, and cumulative delta, all while offering powerful visualization options.

Core Functionalities

Cumulative Delta (AggDelta)

  • Calculation:
    • Computes cumulative delta using volume data.
    • Differentiates buy and sell volumes based on candle structure.
    • Visualized as a histogram with dynamic colors indicating trends and thresholds.
    • Histogram:
      • Displays the cumulative delta values dynamically, with enhanced visibility through color-coded trends.
      • Provides clear insights into bullish and bearish conditions by mapping cumulative delta against volume buy/sell data.

Divergences

  • Types of Divergences:
    • Regular and Hidden divergences for:
      • Cumulative Delta
      • Moving Averages (EMAs)
      • Up/Down Volume
  • Logic:
    • Fractal-based divergence identification.
    • Customizable lookback periods.

Moving Averages

  • Multi-EMA Setup:
    • Includes Main, Secondary, and Third EMAs.
    • Supports SMA, EMA, WMA, HMA, RMA with custom lengths.
  • Dynamic Thresholds:
    • Third EMA states (e.g., Extreme Hot, Warm).
    • Temperature-based visual insights.

Volume Analysis

  • Breakdown:
    • Separate Spot and Perpetual volume metrics.
    • Aggregated Spot (ASpot) and Perpetual (APerp) calculations.
  • Percentage Analysis:
    • Highlights buy/sell contributions.
  • Table Representation:
    • Summarizes Spot and Perpetual metrics, including total volumes and deltas.
    • Aggregated values for ASpot and APerp, with a clear delta breakdown.
    • Displays data in an easy-to-read format for quick decision-making.

Visual Enhancements

  • ZenAlgo Theme:
    • Dynamic color schemes with gradients.
    • Reflects volume conditions and trends.
  • Background Coloring:
    • Conditional colors based on market states.
  • Labels and Lines:
    • Divergence insights.
    • Cumulative volume trends.
  • Table Representation:
    • Summarizes Spot and Perpetual metrics, including total volumes and deltas.
    • Provides insights into aggregated values for quick decision-making.
    • Histogram Visualization:
      • A visually enriched histogram of cumulative delta highlights the bullish and bearish volume dynamics.
      • Easily identifies trends and divergences, helping traders to act promptly.

Alerts

  • Event Triggers:
    • Divergence signals.
    • Crossover detection.
    • Volume conditions.
  • Custom Messages:
    • Unique alerts tailored to key events.

Customization Options

Theme Settings

  • Toggle between Light and Dark modes.

Table Settings

  • Position, size, and font customization for tables.

Volume Settings

  • Adjustable lookback periods.
  • Preferences for volume analysis.

EMA Settings

  • Separate configurations for each moving average.

Visual Settings

  • Enable or disable background colors, gradients, and labels.

Extras

Spot vs. Perpetual Table

  • Experimental Feature:
    • Detailed breakdown of Spot and Perpetual volume metrics.
    • Includes buy/sell volumes and delta comparisons.
    • Table Summaries:
      • Organized layout includes:
        • Spot, Perpetual, Aggregated Spot (ASpot), and Aggregated Perpetual (APerp) metrics.
        • Total and delta values with percentage breakdowns for quick insights.

Total Delta Visualization

  • Combined delta values.
  • Histogram with gradient background conditions.

Market State Logic

  • Determines bullish, bearish, and neutral states based on:
    • Cumulative volume trends.
    • Temperature-based thresholds.

This script integrates advanced volume analysis, divergence detection, and customizable visuals to provide a comprehensive market overview. Let me know if you need adjustments or further refinements!