#need help in setting up alert from indicator in discord channel for multiple assets and multiple tim

1 messages · Page 1 of 1 (latest)

tall folio
#

I need help to setup alerts through my indicator in my discord channel for multiple assets and for multiple time frames

worthy garden
#

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?

tall folio
#

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

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

tall folio
#

is it possible if someone can help me with this?

#

as i dont know anything about discord webhook

#

how to create and its functions

worthy garden
#

You don't have to know anything else besides copying the URL and pasting it on our dashboard

tall folio
#

Okay so i create a channel in which i need alert then , under channel settings create webhook

worthy garden
#

Yup

tall folio
#

how tradingview alert will be connected ?

tall folio
#

i created webhook it was easy damn

worthy garden
#

Cool, so now that you have the URL Discord provided, you should go to Alpha's dashboard, and create a webhook relay there

tall folio
#

what options do i select here?

worthy garden
#

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

tall folio
#

basically i want alert to come as and when indicator paint candles

worthy garden
#

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

tall folio
#

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

worthy garden
#

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

tall folio
worthy garden
#

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

tall folio
#

under condition i selected my indicator

#

however for what time frame it will throw alert is not mentioned anywhere

#

am i doing wrong?

worthy garden
#

The alert will work on whatever timeframe is currently open on your chart

tall folio
#

and if ichange the chart then?

worthy garden
#

It's going to change the alert tf as well afaik

tall folio
#

okay so its bettr i create new tradingview layout and do it

#

if i close chart then what happens? or change to different asset?

worthy garden
#

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

tall folio
#

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?

worthy garden
#

That's fine, except the "support" argument, which isn't valid afaik

tall folio
#

ohhh

#

this is what i set

worthy garden
worthy garden
# tall folio

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

tall folio
worthy garden
#

Alert message

#

As I said, alert name is only for reference inside of TV

tall folio
#

is this correct? or i need to change crossing x to support alert or something?

worthy garden
#

That is not correct

#

{"command": "put the command here", "content": "put the text here"}

#

Do not forget the curly brackets

tall folio
#

command is /c right

#

is this correct?

#

or do i also need to specify bybit or binance?

worthy garden
#

No, don't change that part

#

"command" should stay "command"

tall folio
#

Okay perfect

worthy garden
#

"content" should also stay "contnet"

tall folio
#

this is okay now i think so

worthy garden
#

This

#

You omitted those again

tall folio
#

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?

worthy garden
#

Yea that's fine

tall folio
#

thanks a lot for your help lets hope i get alerts, will keep you posted

#

thanks a lot

worthy garden
#

No worries. I may be asleep, but I'll check this thread as soon as I can / wake up

tall folio
#

sure i will update you on monday

sacred harbor
#

hi

worthy garden
worthy garden
#

Do you need help with anything related to this thread @sacred harbor?

tall folio
#

Hii

#

I have my own indicator and made a lyout

#

but under schedule layout indicator is not displaying

worthy garden
#

Is the indicator invite only?

tall folio
#

ye

worthy garden
# tall folio ye

Have you granted access to AlphaBotSystem as it’s noted during setup?

tall folio
#

nopes , i havent granted access

worthy garden
#

Then that’s the issue

#

Alpha doesn’t automatically have access to everything

tall folio
#

if i do grant access is it like anyone can scedule layout even though he has access to script via alpha?

worthy garden
#

So mods and admins usually

tall folio
#

okay

#

so whom should i give access to?

worthy garden
#

You should grant access to the script via TradingView to a user with the username “AlphaBotSystem”

tall folio
#

Done

#

so now it will display under schedule layout

#

right?

worthy garden
#

It should yeah

tall folio
#

okay

#

thanks will update