🔔Alerts - Backtest Version

Note: Use Backtest Version

The Backtest Version of Infinity Algo V3.0 includes automatic alert generation with structured messages perfect for trading automation. Unlike the standard version, alerts are triggered programmatically without manual setup.


🚀 Key Differences from Standard Version

📋 Standard Version

  • Manual setup for each signal type

  • User-defined message format

  • Basic TP/SL alerts only

  • Requires text formatting

  • Multiple alerts needed

🤖 Backtest Version

  • ✅ Automatic via code

  • ✅ Pre-formatted structure

  • ✅ All TP/SL levels included

  • ✅ Ready for automation

  • ✅ Single unified alert


⚙️ How to Enable Automatic Alerts

1

Add Backtest Indicator

Load the Backtest Version to your chart from Invite-Only Scripts

2

Configure Alert Settings

Navigate to indicator settings and enable: Enable Alerts?

3

Create Master Alert

  1. Right-click chart → Add Alert

  2. Set condition: Infinity Algo BacktestAny alert() function call

  3. Configure notifications (webhook, email, mobile)


📋 Alert Message Format

The backtest version generates structured messages perfect for automation, with optional percentage display for exit levels.

standard-output:
Exchange=BINANCE
Symbol=BTCUSDT
Side=Long
Leverage=10x
Entry=45250.50
TP1=45700.00
TP2=46150.00
TP3=46600.00
TP4=47050.00
TP5=47500.00
TP6=47950.00
SL=43250.00
SignalType=AI Sniper Buy

Multiple Take Profit Strategy

When multiple TPs are enabled, the alert includes all active levels for sophisticated exit strategies:

  • Partial exits at each TP level based on your configured percentages

  • Scale out of positions gradually to lock in profits

  • Risk reduction as price moves favorably

  • Optional percentages displayed directly in alerts for automation

📊 Understanding Exit Percentages

The Show Exit % in Alerts? setting adds position exit percentages to each level, making it easier for bots to parse exit sizes:

Without Percentages (Default):

  • Clean price levels only

  • Bot needs separate configuration for exit sizes

  • Simpler format for manual traders

With Percentages Enabled:

  • Each level shows Price (XX%)

  • Bot can parse exit sizes directly from alert

  • No additional configuration needed

Example Use Case: Your bot receives TP1=45700.00 (30%) and knows to exit 30% of the position at 45700.00 without needing a separate configuration file.


💡 Advanced Configuration

Customization Options

🏷️ Custom Symbol Override

Use the Alert Ticker setting to:

  • Send alerts for a different symbol

  • Normalize naming conventions for your broker

  • Handle exchange-specific formatting

Example: Set XBTUSD instead of BTCUSDT for BitMEX compatibility

⚡ Leverage Customization

The Alert Leverage setting allows:

  • Different leverage from display settings

  • Exchange-specific limits (e.g., max 20x)

  • Risk management overrides

  • Position sizing calculations


🛠️ Real-World Setup Examples

Example 1: Simple Long Entry

Configuration:

  • Exit Type: Percentage

  • Only TP1: 2% enabled

  • Stop Loss: 3% enabled

  • Leverage: 5x

  • Show Exit %: Disabled

Output
Exchange=BINANCE
Symbol=ETHUSDT
Side=Long
Leverage=5x
Entry=2250.75
TP1=2295.77
SL=2183.23

Example 2: Complex Multi-TP Strategy

Configuration:

  • All 6 TPs enabled

  • Stop Loss enabled

  • Signal Mode: AI Sniper

  • Leverage: 10x

  • Show Exit %: Enabled

Output with Percentages
Exchange=BINANCE
Symbol=BTCUSDT
Side=Short
Leverage=10x
Entry=45000.00
TP1=44550.00 (30%)
TP2=44100.00 (25%)
TP3=43650.00 (20%)
TP4=43200.00 (15%)
TP5=42750.00 (7%)
TP6=42300.00 (3%)
SL=46350.00 (100%)
SignalType=AI Sniper Sell

⚠️ Critical Considerations


🔍 Troubleshooting Guide

Issue
Possible Causes
Solution

No alerts firing

Settings misconfigured

• Enable Enable Alerts in settings • Verify alert condition is Any alert() function call • Ensure using Backtest version (not standard)

Wrong symbol

Override active

• Clear Alert Ticker field to use current chart • Check exchange formatting requirements

Missing TP/SL levels

Not configured

• Enable desired levels in Exit Settings • Set Exit Type to Percentage • Configure TP percentages

Webhook not receiving

Connection issue

• Test webhook URL with webhook.site • Check message format compatibility • Verify JSON formatting if needed

Duplicate alerts

Multiple alerts created

• Delete all alerts • Create only ONE master alert • Check alert history


🎯 Integration Methods

Choose your integration path based on your technical skills and needs:

Fastest Setup - Zero Programming Required

Option 1: TradingView → Telegram/Discord via Webhook Bridge

1

Create Webhook Bridge

  1. Create free account

  2. Generate webhook URL

  3. Select destination (Telegram/Discord)

2

Configure TradingView Alert

  1. Create alert with Any alert() function call

  2. Paste webhook URL from tradingview.to

  3. Done! Messages auto-forward to your channel

Option 2: Direct Discord Webhook

Discord Setup
1. Open Discord Server Settings
2. Integrations → Webhooks → New Webhook
3. Copy webhook URL
4. Paste in TradingView alert

Cornix Bot (Automated Trading)

Easiest automated execution:

  1. Get Cornix webhook URL from bot settings

  2. Paste in TradingView alert webhook field

  3. Cornix auto-parses and executes trades

Supports:

  • Multiple exchanges (Binance, Bybit, etc.)

  • Position management

  • Risk settings

  • DCA strategies

Other Trading Bots

Bot Service
Setup Difficulty
Features
Best For

Cornix

⭐ Easiest

Full automation

Beginners

3Commas

⭐⭐ Easy

DCA, Grid bots

Intermediate

TradersPost

⭐⭐ Easy

Multi-broker

Stock traders

PineConnector

⭐⭐⭐ Medium

MT4/MT5 bridge

Forex

Custom Bot

⭐⭐⭐⭐⭐ Hard

Unlimited

Developers


⚠️ Important Limits & Gotchas


📚 Quick Start Recommendations

I just want signals in Telegram/Discord

Use tradingview.to (Track A) - 2 minute setup, no coding needed

I want to auto-trade on Binance/Bybit

Use Cornix Bot - Paste webhook URL, configure risk settings, done

I need custom formatting or multiple destinations

Use Pipedream or Make (Track B) - Visual workflow builders

I'm a developer and need full control

Build custom endpoint (Track C) - See Pro tab for examples


✅ Summary

The Backtest Version provides:

Zero manual setup - All alerts handled automatically ✅ Structured format - Parse-ready for any platform ✅ Complete data - All TP/SL levels in one message ✅ Signal identification - Know exactly which strategy triggered ✅ Direct integration - Works with any webhook endpoint ✅ Backtesting accuracy - Realistic alert generation for testing

Perfect for automated trading systems, backtesting validation, and hands-free alert management.

Last updated

Was this helpful?