Hello traders,
In the last video we learnt How to create simple web-hook to send alerts to telegram. In this tutorial, we will try to build a bit more on it and to also include chart snapshots along with plain alert messages.
Webhook code is updated in the replit repository here: replit.com/@trendoscope/Tradingview-Telegram-Bot?v=1
https://www.tradingview.com/x/NQe0OrXz/
Once, setup, run the repl and capture base URL
https://www.tradingview.com/x/zYidauHF/
⬜ Webhook API
Webhook post request URL format below:
Pine Script®
⬜ Capturing Chart URL
https://www.tradingview.com/x/fSdvAyBI/
Note: Make sure you create different chart for different instruments which you are trying to get alert. Also make sure your chart is saved and all the indicators are in palce.
⬜ Testing on postman
https://www.tradingview.com/x/cAVV2rW8/
⬜ Creating the alert
https://www.tradingview.com/x/C335SHIf/
https://www.tradingview.com/x/5QK3Pqr4/
In the last video we learnt How to create simple web-hook to send alerts to telegram. In this tutorial, we will try to build a bit more on it and to also include chart snapshots along with plain alert messages.
Webhook code is updated in the replit repository here: replit.com/@trendoscope/Tradingview-Telegram-Bot?v=1
https://www.tradingview.com/x/NQe0OrXz/
Once, setup, run the repl and capture base URL
https://www.tradingview.com/x/zYidauHF/
⬜ Webhook API
Webhook post request URL format below:
https://<base_url>/webhook?jsonRequest=<true/false>&tblfmt=<tblfmt>&chart=<chartUrl>&loginRequired=<true/false>
- jsonRequest - true/false. Set it to true only if you are sending alerts in the form of json. If set to true and the alert message is not in json format, it will throw error
- tblfmt - Values taken from python library tabulate. Defines how to display the json message in tabular format. Applicable only if jsonRequest is true
- chart - Chart URL from tradingview for which snapshot need to be captured
- loginRequired - true/false. Use this only if you are using a private non shared chart for snapshot or if your chart contains invite only scripts which needs to be shown in the chart snapshot.
⬜ Capturing Chart URL
https://www.tradingview.com/x/fSdvAyBI/
Note: Make sure you create different chart for different instruments which you are trying to get alert. Also make sure your chart is saved and all the indicators are in palce.
⬜ Testing on postman
https://www.tradingview.com/x/cAVV2rW8/
⬜ Creating the alert
https://www.tradingview.com/x/C335SHIf/
https://www.tradingview.com/x/5QK3Pqr4/
注释
Those having issues with login and screen capture, please fork the repl again and try. I have fixed the login issue.Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
相关出版物
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
Trial - trendoscope.io/trial
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
Subscribe - trendoscope.io/pricing
Blog - docs.trendoscope.io
相关出版物
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。