OPEN-SOURCE SCRIPT

Super Trend Daily 2.0 Alerts BF

This is an alerts script for my Super Trend 2.0 indicator. It is intended as a companion script so you can backtest using the Strategy script and generate alerts using this Study script.

This Study script has the same default settings as the Strategy script and its only purpose is to provide alerts for the long and short signals the Strategy generates. Obviously, if you want to generate alerts based on a Strategy backtest, please ensure the settings are the same in the Study as in the Strategy.

For illustration, I have plotted arrows on the chart for long and short signals, and also colored the background to show when the rate of change function determines a choppy/sideways market.

ALERTS
There are 2 alerts set up:
  • Long Entry
  • Short Entry


ILLUSTRATION
  • Green arrow = Long Entry
  • Red arrow = Short Entry
  • White background = No short trades
  • Aqua background = No long trades


EXAMPLE USE CASE
1. Open a Bitcoin/USD chart on 1D timeframe.
2. Open this script and the Super Trend 2.0 indicator script.
3. Backtest with the Strategy Backtester and change the settings if you like until you get a desirable outcome for your own purposes.
4. Once you are happy with the backtest, change the settings in the Alerts script (this one) so they match the Strategy settings.
5. Set up the alerts according to your preferences.
alertssupertrendTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer