Simply add the Trading-view service into your OctoBot's configuration and setup your webhook service.
- To be able to send signals from tradingview.com, you need a pro account, if you don't have one, you can use the pro trial by clicking on
Your account is now ready to be used with OctoBot !
- Choose the condition : an indicator cross, a price drop, whatever you want
- Add your OctoBot webhook as the following screenshot.You can find OctoBot's webhook on your OctoBot's configuration page or in OctoBot's starting logs. It should be an url like https://XXXXXXXX.octobot.cloud/webhook/trading_view or http://XXXXXXXX.ngrok.io/webhook/trading_view.WARNING: To improve performances, webhooks are started only when required, this means that you need to activate a webhook related tentacle to get the webhook url (a tentacle such as the trading view signals trading mode)
- Set the alert message
The alert format is designed to be easily used from TradingView. Minimal alerts contain the exchange name, the alert symbol (BTCUSDT for BTC/USDT and BTC/USDT:USDT) and the side of the order to create. Example:
if it's a buy signal
if it's a sell signal
Additional order details can be added to the alert. These are optional:
ORDER_TYPEis the type of order, it can be
VOLUMEis the volume of the order in base asset (BTC for BTC/USDT) it can a flat amount (ex: 0.1 to trade 0.1 BTC on BTC/USD), a % of the total portfolio value (ex: 2%) or a % of the available holdings (ex: 12a%).
PRICEis the price of the limit order in quote asset (USDT for BTC/USDT)
STOP_PRICEis the price of the stop order to create. When increasing the position or buying in spot trading, the stop loss will automatically be created once the initial order is filled. When decreasing the position (or selling in spot) using a LIMIT
ORDER_TYPE, the stop loss will be created instantly.
TAKE_PROFIT_PRICEis the price of the take profit order to create. When increasing the position or buying in spot trading, the take profit will automatically be created once the initial order is filled. When decreasing the position (or selling in spot) using a LIMIT
ORDER_TYPE, the take profit will be created instantly.
REDUCE_ONLYwhen true, only reduce the current position (avoid accidental short position opening when reducing a long position). Only used in futures trading. Default is false
You can also use a token to add a security layer on your webhook using an identification token, this token is randomly generated by your OctoBot and can be found on the configuration interface and in execution logs.
To add your token on the tradingview.com signal: add the following line to the alert message:
Last modified 1mo ago