OPEN-SOURCE SCRIPT

VG 1.0

3 038
This script is an enhanced version of SMC Structures and FVG with an advanced JSON-based alert system designed for seamless integration with webhooks and external applications (such as a Swift iOS app).

What it does
It detects and plots on the chart:

Fair Value Gaps (FVG) — bullish and bearish.

Break of Structure (BOS) and Change of Character (CHOCH).

Key Fibonacci levels (0.786, 0.705, 0.618, 0.5, 0.382) based on the current structure.

Additionally, it generates custom alerts:

FVG Alerts:

When a new FVG is created (bullish or bearish).

When an existing FVG gets mitigated.

BOS & CHOCH Alerts:

Includes breakout direction (bullish or bearish).

Fibonacci Alerts:

When price touches a configured level, with adjustable tick tolerance.

Alerts can be:

Declarative (alertcondition) for manual setup inside TradingView.

Programmatic (alert() JSON) for automated webhook delivery to your system or mobile app.

Key Features
Optional close confirmation to filter out false signals.

Standardized JSON format for direct API or mobile app integration.

Webhook-ready for automated push notifications.

Full visual control with lines, boxes, and labels.

Configurable tick tolerance for Fibonacci “touch” detection.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。