Custom TradingView Alerts
Use TradingView alerts to open, manage, and control trades in SageMaster Forex via secure webhooks. This guide explains how to set up Custom TradingView Alerts, when to use V1 vs V2, and includes ready-to-paste JSON examples. This guide is for educational and informational purposes only and does not constitute financial advice. Trading involves risk, including possible loss of capital. Webhook alerts and strategy actions depend on user configuration, connected broker account permissions, market conditions, and broker execution. Users remain solely responsible for their own settings and trading decisions.
Written By Ehsaan XP
Last updated 18 days ago
What are Custom TradingView Alerts?
Custom TradingView Alerts allow TradingView to send webhook messages to SageMaster Forex. When an alert fires, SageMaster reads the JSON payload and based on your configuration, may:
Submit a user-directed order instruction through your connected broker account, or
Apply configured actions to an existing position, such as partial close or breakeven, through your connected broker account.
This supports webhook-based strategy actions from TradingView, based on your selected settings.
Prerequisites
Active SageMaster account
Ability to create TradingView alerts
Basic understanding of trading concepts and related risks (lots, risk %, SL/TP)
Step 1: Create a Strategy
Log in to SageMaster
Go to Strategies โ Create a Strategy
Under Trigger Condition, select Custom TradingView Alert (or Custom TradingView Alert V2)

Complete the remaining fields according to your strategy configuration and preferences.
This enables webhook-based instructions from TradingView based on your configuration.
Step 2: Connect TradingView (Webhook Setup)
Open TradingView
Create a new alert (price, indicator, or strategy)


Enable Webhook URL in alert actions

Copy the webhook URL from SageMaster (Alerts tab)

Paste it into TradingViewโs Webhook URL field

Step 3: Add the Webhook Message (JSON)
In TradingView, paste a JSON payload into the Webhook Message field.


The structure depends on whether you are:
Managing static take profit and stop loss values in the strategy (V1), or
Using a configurable strategy setup with variable take-profit and stop-loss values. (V2)
V1 vs V2 โ Which Should I Use?

Use V1 if your strategy:
Uses "Fixed Stop Loss and Take Profit" or "Fixed Stop Loss with TP ratio" for SL/TP type
Uses "Risk percentage" or "Fixed lot" for money management
Use V2 if you:
Want TradingView alerts to provide entry instructions with available SL/TP types
Need access to all position-sizing configuration options.
Common Tips
Test alerts on demo accounts first
Ensure symbol names match exactly
Always include
{{time}}in alerts for accurate timestampsConfirm alerts fire correctly in TradingView
Appendix: Ready-to-Paste JSON Examples
JSON examples for each strategy are available under the Alerts tab.
