Create

TradingView

Alert

1. Visit Alerts tab

alert-tab

2. Exchange set up

Select Exchange and fill in your API Keys. Then click “Next”.

exchange-setup

3. Select TradingView script type

Select the type of script you want to create alerts for.

Choose between

Strategy

or

Indicator

script.
script-type

4. Set order settings

Choose Amount type (Balance percentage / USD Amount), set its value and input the desired leverage.

order-settings

5. Confirm settings

Confirm alert settings and click “Generage”.

order-summary

6. Webhook Alert Parameters

Selinity will generate a Webhook Url and an Alert Message.

webhook-parameters

The next steps vary depending on the type of script you have selected:

➣ Set Alert for

Strategy

Script

1. Visit your TradingView

Chart

Strategy must be added on the chart.

Select “Strategy Tester” tab and click “report” button.

tradingview-strategy

2. Select Add alert

strategy-add-alert

3. On “Settings” tab delete default alert message

strategy-settings

4. Copy & Paste the generated Alert Message

strategy-alert-message

5. On “Notifications” tab Copy & Paste the generated Webhook Url

Then click “Create” button to finish the setup.

strategy-webhook-url

➣ Set Alert for

Indicator

Script

1. Select signal order type

The Indicator you use may export several alert conditions. That means you might need to create more than one Alert based on the conditions you want to trigger.

For example, if the Indicator exports signals to open long positions create alert using “Long Open” type.

If that Indicator exports Stop Loss signals create another alert using “Long Close” type.

Create another alert for Take Profit signals using “Long Close” type.

Then create separate alerts for Short related signals.

indicator-signal-type
Indicator ConditionSignal Type
Open long positionline-upLong Open
Close long positionexit-longLong Close
Stop Loss for long positionexit-longLong Close
Take Profit for long positionexit-longLong Close
Open short positionline-downShort Open
Close short positionexit-shortShort Close
Stop Loss for short positionexit-shortShort Close
Take Profit for short positionexit-shortShort Close

2. Visit your TradingView

Chart

Indicator must be added on the chart.

Select alarm button.

tradingview-indicator

3. Create Alert

On “Alerts” tab click plus button.

indicator-create-alert

4. Set your Indicator as Condition

On “Settings” tab select your indicator under Condition section.

indicator-alert-condition

5. Select Indicator’s targeted alert condition

Indicator’s alert conditions should follow a meaningful naming convention so you understand the purpose of each one.

In this example, “LONG” means “Open Long”, “SHORT” is for “Open Short” and “CLOSE” means “Close opened position”.

indicator-trigger

6. Set Trigger frequency

Select how often the alert should be triggered. Most common is “Once Per Bar Close”.

indicator-alert-frequency

7. On “Settings” tab delete default alert message

indicator-delete-message

8. Copy & Paste the generated Alert Message

indicator-alert-message

9. On “Notifications” tab Copy & Paste the generated Webhook Url

Then click “Create” button to finish the setup.

indicator-webhook-url