TradingView webhook
With OctoBot, you can listen to https://www.tradingview.com signals and automate trades.

OctoBot configuration

Simply add the Trading-view service into your OctoBot's configuration and setup your webhook service.

TradingView account

    Create an account at https://www.tradingview.com (join for free
    button)
    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
    Add your credit card or paypal account to validate your trial account and click on
Your account is now ready to be used with OctoBot !

Create an alert

    Go to the right menu and click on the alert button
    Create a new alert with
    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 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 to .. code-block:
    1
    EXCHANGE={{exchange}}
    2
    SYMBOL={{ticker}}
    3
    SIGNAL=BUY
    Copied!
    if it's a buy signal
OR
1
EXCHANGE={{exchange}}
2
SYMBOL={{ticker}}
3
SIGNAL=SELL
Copied!
if it's a sell signal
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:
1
TOKEN=YOUR_TOKEN
Copied!
Last modified 2mo ago