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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明