Configure a Signal Bot (TradingView Strategy)
Set up a Signal Bot for a TradingView strategy
Last updated
Set up a Signal Bot for a TradingView strategy
Last updated
This guide will help you set up a Signal Bot that works with your TradingView strategies, allowing you to receive alerts and execute trades automatically based on your non-DaviddTech TradingView signals.
Consider using a instead for a simpler setup process.
Click Signal Bot in the left sidebar
Find the Create Signal Bot form on the right side
Under the Strategy Type menu, select TradingView Strategy
Click Next to proceed
Under the General Settings tab:
Select your connected exchange from the dropdown (or click Add New Exchange)
Use the toggle to choose your Coin Pair Type:
Click the button next to {{strategy.order.contracts}}
to access position settings
Select your Position Type:
USDT: Trade with a specific USDT amount for each position
% Percentage of Wallet: Use a percentage of your available funds
Dynamic Position: Let your TradingView strategy determine position size
Base Currency Value: Specify an amount in the base currency (e.g., 0.1 BTC when trading BTC/USDT)
Configure Leverage Settings:
Set your preferred leverage for long positions
Set your preferred leverage for short positions
Set Take Profit Percentage (optional)
Set Stop Loss Percentage (optional)
Configure Multiple Take Profits if desired
If your TradingView strategy already includes take profit or stop loss, consider whether you want to use them with these settings, as they may conflict.
Enter a memorable Bot Name
Verify that the Start Condition shows "TradingView"
Click Next to proceed to the Script Configuration menu
Click the button to select the right script according to your needs.
Click Open Long to get the script for opening long positions
Click Open Short to get the script for opening short positions
Click Close Long to get the script for closing long positions
Click Close Short to get the script for closing short positions
After copying the script(s) do the following:
Now that your Signal bot is set up within TradingView, set up an alert to notify you of any trade setups or place trades automatically on your exchange by following these steps:
On TradingView, click Add Alert to open your strategy's Alerts settings (You can do so via the triple-dot menu next to your strategy's name). This will open the Create Alert form.
Make sure the first dropdown under Condition is set to your strategy's name
Set the second dropdown to one of the following:
Order fills only to have orders placed without being alerted
alert() function calls only to get alerts but no orders placed
Order fills and alert() function calls to have both
Set an alert expiration date (or Open-ended for everlasting alerts)
Name your alert (preferably the same as your Signal Bot)
Click the Notifications tab
Click Create to finish setting up your Signal bot.
After configuring all settings, click the Activate button
Your new Signal Bot will appear in your My Signals list
You can now manage your bot, view trade logs, or make adjustments as needed
Find your bot in the My Signals list
Click the three dots (⋮) menu to:
Pause your bot temporarily
View Trade Logs to track performance
Delete your bot if needed
The Script Configuration menu provides you with the code snippets you'll need to to configure your Signal Bot.
Paste the script you copied from DaviddTech in into the Message field of the Create Alert form
Check the Webhook URL Checkbox and paste the Webhook URL you copied in into the text field.
Go to TradingView and open your desired DaviddTech Strategy's settings (make sure the strategy is active on your chart, then click the Cog icon)
On the strategy's settings (under the Inputs Tab):
Ensure that the Optimiser Mode 🚀 checkbox is Not checked
Scroll all the way down until you reach the LIVE TRADING (IMPORTANT) section.
Check the Live Trading checkbox and set a Starting Date and Time to when you began (or plan to) live trading with the strategy.
Right below, under the USE SIMPLE BOT BY TRIGGER.TRADE? section, check Use Simple Bot
If desired, check the Use Safety TP and/or Use safety SL to enable your strategy's take profit/stop loss settings
Use Safety TP and Use safety SL won't work if your strategy uses a trailing stop loss.
Click the OK button under the form