Skip to main content

Send Signals from Your Server

The guide covers how to set up a bot with your own IP and send signals from your own server.

Written by Jacob

You can send signals to your WunderTrading bot not only from TradingView but also directly from your own server.

To achieve this, go to Settings and select Bot Server IP.

Next, add your IP address by clicking Add New and entering your server’s IP.

Once your IP address is added and approved, you can connect your bot to your own server using the newly added IP address.

To complete the setup:

Go to the Signal bot tab and click Create bot.

Select API request in the Signal bot Bot start condition parameter.

Bot settings format: Form

If your bot has fixed parameters such as Take Profit, stop loss etc. then your Bot setting format - Form Settings.

Settings:

Fill in the parameters in the form according to your strategy. Once the form is filled, click "Create Bot" button.

Alerts:

In the alerts section make sure that you input the correct comments that you are passing from your server. Also, ensure that the Webhook URL is set to:

https://wtalerts.com/bot/custom


Bot settings format: JSON

Settings:

If you select JSON format, that will allow you to pass each variable dynamically with every new signal. This is suitable for the cases when the variables are not fixed.

Below is the example of the JSON code that you should pass to the webhook:

{
"code": "<Your Enter Long/Short code>",
"amountPerTrade": "0.1",
"amountPerTradeType": "percents",
"orderType": "limit",
"amountPerTradeMultiplier": 2.5,
"leverage": 2.5,
"priceDeviation": {
"deviation": 0.01,
"deviationType": "percents",
"priceType": "last"
},
"timeInForce": 180,
"takeProfits": [
{
"priceDeviation": 0.1,
"portfolio": 0.5
},
{
"priceDeviation": 0.5,
"portfolio": 0.5
}
],
"stopLoss": {
"priceDeviation": 0.5
},
"moveToBreakeven": {
"activationPriceDeviation": 0.005,
"executePriceDeviation": 0.003
},
"trailingStop": {
"activation": 0.05,
"execute": 0.005
},
"keepPositionOpen": true,
"reduceOnly": true,
"placeConditionalOrdersOnExchange": false,
"dca": {
"extraOrderCount": 10,
"extraOrderDeviation": 0.005,
"extraOrderVolumeMultiplier": 1.1,
"extraOrderDeviationMultiplier": 1.1,
"takeProfitsBasedOn": "average_price",
"stopLossBasedOn": "entry_order",
"applyDcaForFirstSafetyOrder": false
}
}

Alerts:

In the alerts section make sure that you input the correct comments that you are passing from your server. Also, ensure that the Webhook URL is set to:

https://wtalerts.com/bot/custom

Did this answer your question?