You can download the code of the trend line backtester as see in the video. If the video gets more than 100 in total likes and comments I’ll upload an upgraded version for free that will also offer alerts for automated trading with bots.
Original version in video
Update: version with alerts available
- Set alerts for longs and for shorts separately (one alert for longs, one alert for shorts).
- Manage position size in the bot platform, this alert won’t support sending sizes.
- When creating the alert use {{strategy.order.alert_message}} in the message and use your bot platform webhook URL.
- For supporting limit orders further work is needed to send the exit prices!