OPEN-SOURCE SCRIPT

Webhook Candle Sender (OHLCV)

19
This indicator sends OHLCV (Open, High, Low, Close, Volume) candle data via webhook on every confirmed bar close.

It is designed to integrate TradingView with an external trading or analytics system (e.g. a local Flask server, paper trading engine, or algorithmic agent).

Features:
• Sends data only on bar close (no repainting)
• Works on any symbol (stocks, crypto, forex)
• Works on any timeframe
• Outputs structured JSON suitable for APIs and bots
• Uses TradingView alert() function for webhook delivery

Typical use cases:
• Algorithmic trading research
• Paper trading systems
• Backtesting external strategies
• Educational and learning purposes

This script does NOT place trades, manage risk, or provide trading signals.
It only transmits candle data.

No financial advice is provided.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.