How to Create Manual TradingView Webhook Alerts for AlgoWay Automation

How to create manual TradingView webhook alerts for AlgoWay automation

Manual TradingView webhook alerts let you turn a simple chart condition into an AlgoWay trading command without using a full TradingView strategy. You choose a condition such as price crossing a level, paste a fixed JSON message, enable the AlgoWay webhook URL, and TradingView sends the command when the condition is triggered.

This page is written for traders searching for manual TradingView webhook alert, TradingView price alert webhook, TradingView alert JSON, manual webhook trading bot, TradingView webhook URL, AlgoWay manual alert, and TradingView alerts to broker.

The route is:

Manual TradingView condition → TradingView webhook URL → AlgoWay webhook → broker, exchange or trading platform

This guide focuses on manual alerts created from TradingView chart conditions. It also explains how to use AlgoWay's test webhook tool when you want to test the same JSON without waiting for a TradingView alert to trigger.

Last updated: 2026-05-12 • Author: AlgoWay

Quick Answer: How to Create a Manual TradingView Webhook Alert

To create a manual TradingView webhook alert for AlgoWay:

  1. Create or open an AlgoWay webhook route.
  2. Copy the AlgoWay webhook URL.
  3. Open your TradingView chart.
  4. Create a manual alert from a price, drawing, indicator, crossing or custom condition.
  5. Paste one valid JSON message into the alert message field.
  6. Open the Notifications tab.
  7. Enable Webhook URL.
  8. Paste the AlgoWay webhook URL.
  9. Save the alert.
  10. When the condition triggers, check AlgoWay Webhook Logs.

Basic manual BUY alert:

{
  "platform_name": "metatrader5",
  "ticker": "{{ticker}}",
  "order_contracts": "1",
  "order_action": "buy"
}

TradingView replaces {{ticker}} when the alert fires. The size and action are fixed because this is a manual alert, not a strategy-generated order.

Manual TradingView Alerts vs Strategy Alerts

Manual alerts and strategy alerts are different. Use the correct message style for the alert type.

Alert type Typical trigger Typical JSON Best use case
Manual alert Price crossing, drawing, condition, indicator value Fixed action and fixed size Simple manual automation and route testing
Strategy alert Pine Script strategy order event {{strategy.order.contracts}}, {{strategy.market_position}} Fully automated strategy execution
Indicator alert Indicator alertcondition or custom alert Fixed or indicator-generated JSON Indicator-based trading signals

For full strategy automation, use the central guide: How to create a TradingView webhook alert.

When Manual Webhook Alerts Make Sense

Manual TradingView webhook alerts are useful when you want control without writing or running a full strategy.

Use manual alerts when:

  • you want to trigger a buy or sell when price crosses a specific level;
  • you want to test an AlgoWay webhook route with fixed JSON;
  • you trade manually but want TradingView to send the execution command;
  • you want a simple alert for one symbol and one action;
  • you want to trigger a close/flat command from a chart condition;
  • you are checking broker, exchange or MT5 execution before connecting a strategy.

Manual alerts are not ideal for advanced position logic unless you create clear entry, exit and risk alerts separately.

Before You Start

Prepare the following:

  • active AlgoWay account;
  • an AlgoWay webhook route for your destination platform;
  • correct platform connection, API credentials or EA connection;
  • TradingView chart and symbol;
  • TradingView plan that supports webhook alerts;
  • valid fixed JSON message;
  • small test size;
  • access to AlgoWay Webhook Logs.

Step 1. Get Your AlgoWay Webhook URL

Open the AlgoWay dashboard and copy the webhook URL for the route you want to test or automate.

  1. Open Dashboard → Your Webhooks.
  2. Find the route for the platform you want to use.
  3. Confirm the platform is correct: MetaTrader 5, DxTrade, TradeLocker, Binance, Coinbase, ProjectX, Tradovate or another destination.
  4. Copy the webhook URL or UUID.

Webhook URL format:

https://algoway.co/your-webhook-uuid

The old version of this guide showed an example webhook URL. That example is not a live value for your account. Always use the URL generated by your own AlgoWay dashboard.

Step 2. Create the Manual Alert in TradingView

Open TradingView and create the alert from the chart condition you want to use.

  1. Open the chart and choose the symbol, for example BTCUSD, EURUSD, NQ or another instrument.
  2. Click the Alert button.
  3. Select the condition, such as Price Crossing, Crossing Up, Crossing Down or an indicator condition.
  4. Set the price level or condition parameters.
  5. Choose alert frequency.
  6. Paste the JSON message into the Message field.
  7. Open Notifications.
  8. Enable Webhook URL.
  9. Paste your AlgoWay webhook URL.
  10. Click Create.

For a price-crossing alert, the message can be fixed because the condition itself decides when the command is sent.

Manual Alert JSON Examples

Each TradingView alert should contain one valid JSON message. Do not paste several JSON blocks into one alert.

MetaTrader 5 BUY Alert

{
  "platform_name": "metatrader5",
  "ticker": "{{ticker}}",
  "order_contracts": "0.01",
  "order_action": "buy"
}

MetaTrader 5 SELL Alert

{
  "platform_name": "metatrader5",
  "ticker": "{{ticker}}",
  "order_contracts": "0.01",
  "order_action": "sell"
}

MetaTrader 5 FLAT / Close Alert

{
  "platform_name": "metatrader5",
  "ticker": "{{ticker}}",
  "order_action": "flat"
}

Coinbase BUY Alert

{
  "platform_name": "coinbase",
  "ticker": "BTC-USD",
  "order_contracts": "0.001",
  "order_action": "buy"
}

ProjectX Futures BUY Alert

{
  "platform_name": "projectx",
  "ticker": "MNQ",
  "order_contracts": 1,
  "order_action": "buy"
}

Manual Alert with Price Value

{
  "platform_name": "metatrader5",
  "ticker": "{{ticker}}",
  "order_contracts": "0.01",
  "order_action": "buy",
  "price": "{{close}}"
}

Use {{close}} when you want AlgoWay logs to include the TradingView close price at alert time.

Supported Manual order_action Values

The most common manual values are:

Value Meaning Typical manual use
buy Open or process a buy-side command. Price crosses above a resistance level.
sell Open or process a sell-side command. Price crosses below a support level.
long Directional long value where supported. Indicator produces long condition.
short Directional short value where supported. Indicator produces short condition.
flat Close or flatten logic where supported. Exit condition or manual close alert.

The exact effect depends on the destination platform and AlgoWay trade mode. Read: How AlgoWay handles opposite trading signals.

Manual Alerts with Stop Loss and Take Profit

If the route supports SL/TP fields, you can add them to the fixed JSON message.

{
  "platform_name": "metatrader5",
  "ticker": "{{ticker}}",
  "order_contracts": "0.01",
  "order_action": "buy",
  "stop_loss": "100",
  "take_profit": "200"
}

Before live use, confirm whether your route interprets stop_loss and take_profit as points, pips, percent or another configured distance model.

Step 3. Test the Signal

Test the route before using live size.

  1. Create the TradingView alert with small size.
  2. Temporarily choose an easy-to-trigger condition if needed.
  3. Wait for the alert to fire.
  4. Check AlgoWay Webhook Logs.
  5. Check the destination platform, broker, exchange or MT5 logs.
  6. Verify symbol, action and size.

If you do not want to wait for TradingView, use AlgoWay's test webhook tool.

Manual Test from AlgoWay Dashboard

AlgoWay also lets you test payload delivery directly from the dashboard:

  1. Open Webhook Logs.
  2. Click Test Webhook.
  3. Select the webhook route.
  4. Enter symbol, action and quantity.
  5. Send the test.
  6. Check the platform response.

This is useful for testing syntax, credentials, EA connection and broker/exchange acceptance before using TradingView.

Step 4. Check AlgoWay Logs

AlgoWay logs help identify where a manual alert failed.

Observation Likely meaning
No new log entry TradingView did not send the webhook, the URL is wrong, or the alert did not trigger.
Payload received but JSON error The message is not valid JSON.
Payload received but platform rejected Destination credentials, symbol, size, session, margin or platform rules rejected the order.
Payload received and order accepted The route works. Continue testing exits and risk behavior.

Common Manual Webhook Alert Problems

Webhook URL Is Not Enabled

The JSON message alone is not enough. In TradingView, open Notifications and enable Webhook URL.

Example URL Was Used

Do not use documentation example URLs. Use the real AlgoWay webhook URL from your dashboard.

Invalid JSON

Use double quotes, correct commas and one JSON object. Broken JSON can trigger Error 415. Read: How to fix AlgoWay webhook Error 415.

Wrong platform_name

If the webhook route is ProjectX but the JSON says metatrader5, the signal can be routed incorrectly or rejected.

Wrong Ticker

TradingView {{ticker}} may not match the broker or exchange symbol. Check symbol mapping.

Invalid Size

The size must match platform rules. MT5 uses lots, futures usually use whole contracts, and crypto exchanges may require minimum quantity or step size.

Alert Fires More Than Expected

Check TradingView frequency. For many manual alerts, use a controlled one-time trigger or clear alert management.

Platform Receives Close Command but Position Remains Open

Check whether flat is supported for the route, whether the symbol matches, and whether the position belongs to the same account and route logic.

Safe Launch Checklist

Before live manual automation, confirm:

  • the AlgoWay webhook route is active;
  • the TradingView alert condition is correct;
  • Webhook URL is enabled;
  • the URL is copied from your AlgoWay dashboard;
  • the JSON is valid;
  • platform_name matches the route;
  • ticker is correct or mapped;
  • size is minimal and valid;
  • the destination platform accepts the test order;
  • AlgoWay logs show the expected payload and response.

Related AlgoWay Guides

Final Summary

Manual TradingView webhook alerts are the simplest way to send fixed trading commands to AlgoWay. Create a price or condition alert, paste one valid JSON message, enable the AlgoWay webhook URL, trigger the alert, and verify the result in AlgoWay Webhook Logs.

Use manual alerts for simple price-level automation, route testing and fixed buy/sell/flat commands. Use strategy alerts when the order size and direction should come from Pine Script strategy logic.