OPEN-SOURCE SCRIPT

Chart Markup SwiftEdge

720
Chart Markup SwiftEdge

Description:

Chart Markup SwiftEdge is a powerful and customizable Pine Script indicator designed to enhance technical analysis by overlaying key price levels on your TradingView charts. It combines liquidity level detection and round number visualization to help traders identify potential areas of support, resistance, and price interaction. Built from the ground up with original logic and extensive customization options, this indicator offers unique functionality for traders seeking actionable insights.

Key Features:

Liquidity Levels: Automatically detects and displays buyside (BSL) and sellside (SSL) liquidity levels based on swing highs and lows. Users can customize the number of levels, line styles, colors, and swing threshold for precise analysis.
Round Number Lines: Plots user-defined round number levels above and below the current price, with options for line extension, label offsets, and color differentiation based on price position.
Flexible Styling: Offers extensive input options for fonts, text sizes, line widths, and colors, allowing seamless integration with any chart setup.
Alert Conditions: Includes built-in alerts for buyside and sellside liquidity level interactions, enabling timely trading decisions.
Performance Optimized: Efficiently handles up to 500 lines, labels, and boxes, ensuring smooth performance even on large datasets.
Inspiration and Credits:
This script is inspired by concepts from open-source Pine Script authors CandelaCharts and melodicfish, both licensed under the Mozilla Public License 2.0 (MPL 2.0). While their work provided conceptual inspiration, Chart Markup SwiftEdge introduces significant enhancements, including:

A novel liquidity detection algorithm with customizable swing thresholds and invalidation logic.
Advanced round number plotting with dynamic color adjustments and user-defined increments.
A streamlined user interface with grouped input settings for ease of use.
Optimized data structures (UDTs) and array management for improved performance.
These improvements ensure that the script is a distinct and valuable addition to the TradingView community, far beyond the scope of the original inspirations. The codebase is published as open-source under MPL 2.0, in line with the licensing requirements of the referenced works.

How to Use:

Add the indicator to your chart.
Adjust the General Settings to customize text size, font, and branding visibility.
Configure Liquidity Settings to select the type (Buyside, Sellside, or Both), number of levels, colors, and line styles.
Modify Round Number Settings to set the rounding increment, number of lines, and label offsets.
Enable alerts for liquidity level interactions via TradingView’s alert system.
Notes:

This script is designed for public use and is not a test or incomplete project.
It has been thoroughly tested to ensure compatibility with TradingView’s Pine Script v6.
The indicator adds unique value by combining liquidity and round number analysis in a single, user-friendly tool.
License:
Published under the Mozilla Public License 2.0 (mozilla.org/MPL/2.0/). Feel free to study, modify, and share the code in accordance with the license terms.

Feedback:
I welcome feedback and suggestions to further improve Chart Markup SwiftEdge. Please share your thoughts via TradingView’s messaging system or comments section.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.