How to Set Supertrend Alerts: Direction Changes and Confirmation
Configure Supertrend direction-change alerts, check ATR and multiplier settings, and distinguish notification delivery from trading execution.
Setup Steps
Add Supertrend and record the configuration
Add the built-in Supertrend. Record ATR length, multiplier and timeframe. The calculation uses ATR-based bands around the high-low midpoint; do not invent a configurable close-price source for the built-in version. A 10-period ATR and multiplier 3 can be an example for evaluation, not a best setting.
Inspect the available direction-change conditions
Open Create Alert with Supertrend selected. Prefer an explicitly named uptrend, downtrend or trend-change condition when exposed by that implementation. Check its description and direction. Do not assume a generic price cross against a visually broken line is identical to the algorithm’s state change.
Define any additional filter separately
If the rule also requires price above VWAP or a particular session, record that condition explicitly. Check whether your available multi-condition alert supports the combination or whether a custom implementation is needed. No improvement in win rate follows just from adding another filter.
Save the alert context
Choose the frequency, expiry and notification method in your account. For a rule defined on completed candles, select Once Per Bar Close where available. Record the symbol, timeframe and inputs. Recreate the alert after changing the script or its inputs; the running alert retains its saved configuration.
Verify delivery on new market data
Treat chart inspection and delivery as separate checks. Bar Replay can help inspect historical plots, but server alerts continue using live data. Check a new event against the alert log, then check the chosen notification channel. This is a test procedure, not a claim that delivery or investment performance has been tested here.
Alert Conditions Reference
Conditions to define and verify for the selected indicator.
| Condition | Signal | Notes |
|---|---|---|
| Supertrend changes to uptrend | Bullish algorithm state | Describe the direction rather than relying on a customizable line color. |
| Supertrend changes to downtrend | Bearish algorithm state | A state change does not prove that a sustained decline will follow. |
| Any Supertrend direction change | Either transition | Different from alerting on every bar that remains in a trend. |
| Direction change with another filter | A separately specified combined rule | Record whether the conditions must occur on the same completed bar. |
Parameters to record and evaluate
Examples describe the configuration, not validated trading settings.
| Parameter | Starting value or requirement | Description |
|---|---|---|
| ATR length | 10, example | Controls the volatility lookback, not a guaranteed response delay. |
| Multiplier | 3, example | Scales the ATR band distance. A larger value does not prove better trade outcomes. |
| Band basis | Built-in high-low midpoint | Do not confuse the basis with a user-selectable price source or the true-range calculation. |
| Confirmation time | Specify chart and higher timeframe | A chart-bar close does not necessarily finalize a higher-timeframe input. |
FAQ
Alert Setup FAQ
Must I write code for a one-direction alert?
Does Only Once reset for each new trend?
Does Pine Script provide Telegram integration?
Why might my alert differ from a colored flip on the chart?
Will a larger multiplier remove false signals?
Official documentation
Need a custom alert rule?
Describe the condition in Pineify’s coding agent, then review the generated Pine Script and test its timing and delivery in TradingView.
Explore Pine Script coding