OctoBot icon indicating copy to clipboard operation
OctoBot copied to clipboard

Tradingview chart snapshots included in webhook message!

Open XMVZ opened this issue 4 years ago • 9 comments

Hi!

Is there ANY way to have a chart with the corresponding timeframe sent along with the webhook message to Discord? Potentially using Puppeteer?

Maybe something like THIS?

I'm very new to coding and am REALLY trying to implement chart snapshots into the webhook message so people can visualize where the pair is at.

If ANYONE can help me at all, this has been killing me for the entire week.

THANK YOU!

XMVZ avatar Jun 02 '21 02:06 XMVZ

Hi, It looks like the {{interval}} value is proving the timeframe data in trading view webhook messages: image

GuillaumeDSM avatar Jun 02 '21 07:06 GuillaumeDSM

Hi, It looks like the {{interval}} value is proving the timeframe data in trading view webhook messages: image

Yes, that's true, but how can I then create and have a graph posted along with the message? I'm very new to coding so any help is greatly appreciated.

Going to try to get the basic Discord webhook set up now.

XMVZ avatar Jun 02 '21 07:06 XMVZ

Maybe the {{plot_}} variables can help, not sure If it's really possible to send an image though, this requires to dig deeper in tradingview. Maybe you can create an image from datasets in {{plot_}}.

GuillaumeDSM avatar Jun 02 '21 11:06 GuillaumeDSM

Maybe the {{plot_}} variables can help, not sure If it's really possible to send an image though, this requires to dig deeper in tradingview. Maybe you can create an image from datasets in {{plot_}}.

What about using something like Puppeteer or Selenium to pull an image of the chart URL or snapshot URL?

XMVZ avatar Jun 02 '21 20:06 XMVZ

It might work but will be really complicated, the OctoBot price chart is not enough for displaying the current price ? I'm trying to understand what you want to achieve exactly

GuillaumeDSM avatar Jun 02 '21 20:06 GuillaumeDSM

It might work but will be really complicated, the OctoBot price chart is not enough for displaying the current price ? I'm trying to understand what you want to achieve exactly

THIS: https://github.com/itsaLca/Advanced-Tradingview-Webhook

Supposed to do exactly what I'd like, but it doesn't. Send a chart along with the notification.

GitHub
Contribute to itsaLca/Advanced-Tradingview-Webhook development by creating an account on GitHub.

XMVZ avatar Jun 02 '21 21:06 XMVZ

Unable to add Discord as a service anyways, so kind of pointless. Oh well!

XMVZ avatar Jun 03 '21 00:06 XMVZ

Telegram is supported but not Discord yet, we will add it in the future

GuillaumeDSM avatar Jun 03 '21 08:06 GuillaumeDSM

Understood! I'll route the messages from Telegram to Discord.. However, my Webhook URL isn't showing up so I'm unable to have alerts sent to OctoBot? I've added Tradingview to my interfaces/connections. I am using the Tradingview alert strategy. For some reason no webhook URL shows up next to the token on the interfaces/connections page next to Tradingview or Web or Webhook...

How do I get my Webhook URL?

How do I fix this?

XMVZ avatar Jun 03 '21 21:06 XMVZ