Indicator alerts
Choose an alert condition supplied by your indicator and provide a clear trade message. Add the private Copygram webhook URL to that alert’s notification settings.
Turn TradingView indicator and strategy alerts into OANDA trades. Connect your Copygram webhook, map symbols and set independent receiver sizing. Automate Live and Practice accounts while keeping your strategy on TradingView.
TradingView supplies the alert. Copygram applies your receiver rules. OANDA receives the order.
A TradingView to OANDA trade copier turns webhook alert messages into instructions for a connected OANDA account. Copygram receives the alert, interprets its action and applies your room’s symbol mapping, position sizing and trade-management settings.
Create a TradingView connector as the room’s source and add OANDA as a receiver. Use a TradingView plan with webhook notifications and two-factor authentication enabled. Your indicator or strategy supplies the alert logic; each receiver keeps its own settings.
Connect the account, create a webhook source, configure your alert and receiver, then activate the room.
In Copygram, add a trading account and choose OANDA. Enter your OANDA personal access token in API Key, choose Account Type (Live/Practice), then use Account Selection to select the receiver. Enter the token in this connection flow; your alert message contains trade instructions.
Open Connectors → TradingView in Copygram and create your webhook URL. Choose that connector as the room’s source and add OANDA as a receiver. Configure each additional receiver independently.
Create an alert for your indicator or strategy event. Add the Copygram URL to the Webhook URL field and enter an actionable trade message. Enable two-factor authentication and use a TradingView plan with webhook notifications.
| Symbol | Action | AI | Status |
|---|---|---|---|
| XAUUSD | Buy open | 87% | Executed |
| EURUSD | Sell open | 72% | Executed |
| GBPJPY | Close | – | Closed |
| USDJPY | Buy open | 45% | Skipped |
Map the incoming symbol to your OANDA instrument. Set receiver sizing and symbol-specific lot exceptions, then configure stops, targets, multiple take-profit allocations, close and modification controls, filters and your trading schedule.
Activate your room to route TradingView alerts to your Live or Practice OANDA account. Follow the alert, Copygram log and resulting order. Reuse the original signal_id in later alerts that modify or close the same trade.
Keep your trading logic on TradingView. Send the event and message that describe the action you want OANDA to follow.
Choose an alert condition supplied by your indicator and provide a clear trade message. Add the private Copygram webhook URL to that alert’s notification settings.
For strategy order events, use the message supplied by your Pine strategy. TradingView supports {{strategy.order.alert_message}} in the alert’s Message field.
Pine alert() calls can build dynamic trade instructions. Choose the alert event that represents your intended action so the same trade does not produce overlapping instructions.
TradingView saves a snapshot when an alert is created. Recreate the alert after changing the relevant script, inputs or chart context, and retire the previous alert when it should stop.
TradingView runs active alerts on its servers. Copygram receives the webhook in the cloud, so your browser and a personal VPS do not need to stay running.
Map the outgoing alert symbol to your OANDA instrument and configure receiver size using its quantity and precision settings.
Map the symbol in your actual TradingView message to the exact instrument shown for the OANDA receiver. GBPJPY → GBP_JPY illustrates a plain alert symbol mapped to an OANDA API instrument identifier.
Use the OANDA instrument list for the selected account. Match the market, exact identifier, price precision and trading session to the instrument you automate.
Copygram’s documented webhook volume uses lots. OANDA’s v20 API expresses order quantity in units. Configure your Copygram receiver sizing and symbol-specific lot exceptions using the destination instrument’s specifications.
A chart label, an exchange-prefixed ticker such as OANDA:GBPJPY and an API identifier describe different naming formats. Map the symbol your alert actually sends to the exact OANDA receiver instrument.
GBPJPY → GBP_JPY is an illustrative mapping. Use the identifiers and size specifications shown for your selected OANDA account.
Use clear fields for the trade instruction. Reuse the opening alert’s identifier for later modifications and targeted closes.
Opening alert
Later stop-loss update
Same trade. Same signal_id.
Describe the intended opening or management action, direction and order type.
Name the incoming instrument. Symbol mapping connects it to the receiver’s exact instrument.
Use lots in Copygram’s documented message format. Configure receiver sizing in Copygram; OANDA API unit quantities are a separate representation of the order size.
Include an entry price when it is relevant to the instruction, such as a pending order.
Use price levels for stop loss and take profit. Configure multiple take-profit behavior in your receiver settings.
Assign an original ID to each new trade. Reuse that ID when a later alert modifies or closes that specific trade.
The opening alert defines signal_id. A follow-up instruction for that trade uses the same ID; each new trade gets its own ID.
Copygram interprets the message’s intent without requiring one rigid JSON schema. Explicit fields make your instructions easier to read and manage.
The symbol, volume, prices and ID are illustrative values. Copy an example and adapt it to your strategy. Enter your OANDA token only in the account connection flow.
Give every receiver its own mapping, sizing and trade-management rules. Configure how the same TradingView source is handled by each connected account.
Choose fixed-size, multiplier, balance-based or risk-based receiver sizing. Symbol-specific lot exceptions take priority over general settings. Use each OANDA instrument’s size and precision specifications.
Map incoming TradingView symbols to exact OANDA instruments. Apply prefix or suffix rules and symbol filters to define the instructions each receiver follows.
Configure stop-loss and take-profit behavior, including whether to accept an instruction without those levels. Set protective orders using the destination instrument’s price basis and your receiver settings.
Enable Copy Close Orders and Copy Modif Orders for the actions you want to follow. Reuse the original signal_id in targeted management alerts. Close opposite orders is a receiver setting.
Choose your receiver’s schedule and timezone. Align the automation window with the market sessions and TradingView alert events you want to follow.
Set multiple take-profit levels and percentage-based partial-close allocations for webhook signals. Configure the allocations using your OANDA instrument’s quantity, minimum size and volume precision.
Use your TradingView alert log, Copygram room and receiver history to follow the complete automation workflow.
Manage your active TradingView alerts and Copygram webhook connector. Review the selected condition, webhook URL and message for the instruction being sent.
Manage the OANDA API connection, Live/Practice environment and selected receiver account in Copygram. Give every receiver its own mapping, sizing and management settings.
Follow the webhook source, connected receivers and room activity in Copygram. Keep the room active to route your TradingView instructions automatically.
Review symbol filters, the trading schedule and optional AI Trade Validation if enabled for your receiver.
Follow the alert symbol, mapped OANDA instrument, resulting order quantity and protective levels. Use receiver sizing and lot exceptions to define the intended size.
Use the original signal_id to follow a trade’s opening, modifications and closes alongside the receiver settings applied by Copygram.
Follow the TradingView alert log, Copygram processing log and OANDA account history to see the complete alert-to-order workflow.
Create an API key in your OANDA account settings. Both live and practice environments are supported.
There is no strict JSON schema: Copygram's AI works out the intent from the fields you send. The more fields you include, the more
predictable execution is. Plain-text commands like close EURUSD also work.
{
"action": "sell",
"symbol": "GBPJPY",
"volume": 0.01
} {
"action": "buy",
"symbol": "XAUUSD",
"volume": 0.10,
"sl": 2330.50,
"tp": 2365.00,
"signal_id": "tv_102938"
} {
"action": "close",
"signal_id": "tv_102938"
} | Field | Purpose | Example | Needed |
|---|---|---|---|
| action | What to do: open, modify, close, close half, move SL to breakeven | "buy" | Recommended |
| order_type | Direction and order type | "BUY LIMIT" | Recommended |
| symbol | Instrument to trade | "GBPJPY" | Recommended |
| volume | Lot size or contracts | 0.01 | Recommended |
| entry | Entry price, mainly for pending orders | 185.250 | Optional |
| sl | Stop loss price | 184.800 | Optional |
| tp | Take profit price | 186.500 | Optional |
| signal_id | Your ID for the trade, reused by later modify and close alerts | "qt_102938" | To modify or close later |
You only need a signal_id to modify or close a specific trade later. The opening alert defines it and every later
alert for that trade reuses it; let your strategy generate a unique ID per trade.
Every plan runs in the cloud with unlimited trade executions and Rooms. Save more than 50% by paying yearly.
Compare plansAnswers about webhooks, Pine alerts, trade identifiers and OANDA receiver controls.
Yes. Copygram receives TradingView webhook alerts and routes trade instructions to your connected OANDA receiver. Configure symbol mapping, position sizing and trade-management controls for each account. Live and Practice accounts are supported.
Connect OANDA in Copygram with API Key, choose Live or Practice and select the receiver account. Create a webhook under Connectors → TradingView and use it as a room’s source. Add the OANDA receiver, paste the webhook URL into your TradingView alert, configure the message and receiver settings, then activate the room.
Use a TradingView plan that includes webhook notifications and enough alerts for your strategy. Enable two-factor authentication on TradingView and add your private Copygram webhook URL to the alert’s notification settings.
You can use an existing indicator or strategy that supplies suitable alert events and an actionable message. Pine Script lets you define custom alert logic and dynamic messages. Choose the event that represents your intended trade instruction.
TradingView runs active alerts on its servers, and Copygram handles webhook routing in the cloud. Your browser and a personal VPS do not need to remain running for this webhook workflow. Keep your alerts active and your account connections configured.
Enter your OANDA personal access token in API Key, choose Account Type (Live/Practice), then use Account Selection to choose the receiver. Enter the token in Copygram’s connection flow. Your TradingView alert message contains trade instructions, not the token.
Include a clear action, order type, symbol and volume. The documented volume is in lots; entry, stop-loss and take-profit values are prices. Add signal_id when later alerts will manage the trade. Copygram uses intent-based parsing without requiring one rigid JSON schema.
Assign an original signal_id when opening a trade and reuse it in every later alert that modifies or closes that specific trade. Give each new trade its own ID and enable the corresponding close and modification controls in the receiver settings.
Yes. Copygram provides multiple take-profit controls for webhook sources, including percentage-based partial-close allocations. Configure the targets and allocations using your OANDA instrument’s order quantity, minimum size and volume precision.
Map the symbol in the outgoing TradingView message to the exact OANDA instrument, such as the illustrative GBPJPY → GBP_JPY mapping. Copygram’s documented webhook volume uses lots; OANDA’s v20 API expresses order quantity in units. Configure receiver sizing and symbol-specific lot exceptions using the selected instrument’s specifications. Lot exceptions take priority over general money-management settings.
Choose the order-fill event or alert() call that represents the instruction you want to send. For strategy order messages, TradingView supports {{strategy.order.alert_message}} in the alert Message field. Recreate the running alert after changing the relevant script, inputs or chart context.
Yes. A Copygram room connects one TradingView source to one or more receivers within your plan’s allowance. Add each OANDA receiver, select its Live or Practice environment and account, and give it independent mapping, sizing, trade-management and scheduling settings.
Connect TradingView as the source, add your OANDA accounts and set the rules for each one. Copygram runs it in the cloud.