Daveatt

Supertrend collector

Hello traders

This is an example of how you can add multiple indicators into a unique one
In this instance, I added two supertrend multitimeframes and draw them on a different timeframe chart

Enjoy
David
發布通知: - Adding alerts
開源腳本

秉持真正的TradingView精神,該腳本的作者將其開源發佈,因此交易者可以理解和驗證它。為作者加油!您可以免費使用它,但是在發佈中重複使用此程式碼受網站規則的約束。您可以把它加入到常用以在圖表上使用它。

想在圖表上使用此腳本?
💰 Results/Blogs: https://bit.ly/2ULUtjo

⏩ Signals/Pricing: https://best-trading-indicator.com/pages/pricing

🐦 Twitter: https://twitter.com/bti_trading

👉 Get a $30 discount on TradingView: https://bit.ly/2UM5OA0

📺 Youtube: https://bit.ly/3bKvnZu

評論

Thanks for sharing this script, it's quite wonderful! I deduced a strategy from it, and backtested it from 2011 till date, lo and behold the results are mind blowing. This script now constitute my trading strategy for cryptocurrency.
+1 回覆
Wonderful indicator
+1 回覆
Daveatt raja74sekhar
@raja74sekhar, Thank you :)
回覆
Repaints :(
回覆
how do you make it send an alert when the trend line goes from red to green or vice versa?
回覆
Daveatt budthatsmyrealname
@budthatsmyrealname, Hi there, I added them lines 52-55
Basically the calculation is made so that the Trend is equals to 1 when bullish, -1 when bearish.
回覆
@Daveatt, hi, thanks for the response. right now i have it set to alert me when "btc" "goes below" "supertrend" and because of that, when price just touches the supertrend line, it gives false signals. but i noticed that there shouldnt be false signals if it would alert me when the super trend line turns red or turns green because that is the official signal

is there a way to alert me right when the supertrend line changes color? or what settings should i use for accurate results?

thanks
+1 回覆
Daveatt budthatsmyrealname
@budthatsmyrealname, the alerts are set here in the code, last 4 lines
alertcondition(ST1_Trend_MTF == 1, title='Buy Alert ST1 Trend', message="Buy Alert ST1 Trend")
alertcondition(ST1_Trend_MTF == -1, title='Sell Alert ST1 Trend', message='Sell Alert ST1 Trend')
alertcondition(ST2_Trend_MTF == 1, title='Buy Alert ST2 Trend', message="Buy Alert ST2 Trend")
alertcondition(ST2_Trend_MTF == -1, title='Sell Alert ST2 Trend', message='Sell Alert ST2 Trend')

You have to set my alerts :) not the ones by default. Example : 'Buy Alert ST1 Trend' means when the price goes above the ST1

As I did an update, you'll have to remove the indicator from your chart and adding it back again making sure the version used is greater than the one used before

Hope it makes sense
回覆
Daveatt Daveatt
@Daveatt, Also makes sure you set the alerts on the candle close. Otherwise, indeed, you'll get some fakeouts for sure.
回覆