#need help in setting up alert from indicator in discord channel for multiple assets and multiple tim
1 messages · Page 1 of 1 (latest)
What kind of alerts do you want to set up exactly?
Is it price alerts or something to do with TV alerts and relaying those to Discord?
I want to setup alert from my indicator highlighted
when indicator flashes or changes colour it will send laert
alert
last time when we discussed you mentioned its possible with help of webhook but i dont know much about it , so if you can help me with this
@worthy garden
Okay. @tall folio you are looking for webhook relays, which are located in your community settings at https://www.alpha.bot/communities. Tldr is that you create a relay via which you send TV alerts. To get started, you should create a Discord webhook, then create a new relay, and use the generated URL as the URL inside of alert settings in TV
is it possible if someone can help me with this?
as i dont know anything about discord webhook
how to create and its functions
You can create a webhook inside channel settings in which you want the alerts to get sent in to by going into the integrations tab and clicking like the only button on screen
You don't have to know anything else besides copying the URL and pasting it on our dashboard
Okay so i create a channel in which i need alert then , under channel settings create webhook
Yup
how tradingview alert will be connected ?
With this
i created webhook it was easy damn
Cool, so now that you have the URL Discord provided, you should go to Alpha's dashboard, and create a webhook relay there
If you'd like to display a chart of the layout that triggered the alert, just select it from the second dropdown. You can also switch the first dropdown to /c if you just want a simple chart instead
basically i want alert to come as and when indicator paint candles
When the alert is triggered will be configured inside of TV. Right now you want to decide what to show once the alert has triggered
i want to show chart
so now i selected /c
relay URl is generated
now how to setup tradingview ? can you help me plz... sorry to bother you
Alright, now you can go to TV and in the sidebar on the right find the alerts section
You can create an alert there. The exact rules can be set on the first screen. I don't know how your indicator works, but there's probably some value the price has to cross that can be selected somewhere
Yeah so that condition part has to be properly configured. What the options are is going to depend on the indicator, which I don't have atm
under condition i selected my indicator
however for what time frame it will throw alert is not mentioned anywhere
am i doing wrong?
The alert will work on whatever timeframe is currently open on your chart
and if ichange the chart then?
It's going to change the alert tf as well afaik
okay so its bettr i create new tradingview layout and do it
if i close chart then what happens? or change to different asset?
Honestly I don't know. Years ago alerts did not work if you closed the chart, but that may have changed. I don't think the alert changes if you change the asset though
One last important thing here is the message. If you send a plain text message like you are right now with "BTCUSDT.P Crossing X", Alpha will interpret that as a /c command. So it would essentially run "/c BTCUSDT.P Crossing X" which won't work. You have two options. Either send a valid command, eg BTCUSDT.P to show a simple chart, but you can continue with any valid /c argument after the ticker (though note that /c should be omitted from the text) OR format the text as valid JSON, eg. something like `{"command": "BTCUSDT.P", "content": "BTCUSDT.P Crossing X"} to send both the command and text
i have set alert for btc and input text as "BTC 15m RSi support"
so now it will automatically come in discord channel or i have to put any function in channel?
That's fine, except the "support" argument, which isn't valid afaik
Once the alert triggers, the chart should show up once the alert is properly set up. You don't have to configure anything else
Mmm yeah that's not quite right. Alert name is not sent to the relay, only the message. So if you want to relay a message along with a command, use that JSON above
{"command": "BTCUSDT.P", "content": "BTCUSDT.P Crossing X"}
Put in the command, put in whatever text you want to send, and put that into the message
The alert name is only shown to you inside of TV
i simply copy paste this under Alert Name right?
That is not correct
{"command": "put the command here", "content": "put the text here"}
Do not forget the curly brackets
command is /c right
is this correct?
or do i also need to specify bybit or binance?
Okay perfect
"content" should also stay "contnet"
damn sorry
for gold chart i keep name as gold as shown on chart right?
whatever name is displayed on top right corner we put it
right?
Yea that's fine
No worries. I may be asleep, but I'll check this thread as soon as I can / wake up
sure i will update you on monday
hi
Hi
Do you need help with anything related to this thread @sacred harbor?
Hii
I have my own indicator and made a lyout
but under schedule layout indicator is not displaying
Is the indicator invite only?
ye
Have you granted access to AlphaBotSystem as it’s noted during setup?
nopes , i havent granted access
if i do grant access is it like anyone can scedule layout even though he has access to script via alpha?
Only people with manage messages permission can schedule posts via the bot
So mods and admins usually
You should grant access to the script via TradingView to a user with the username “AlphaBotSystem”
It should yeah