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
👉 Trading frameworks and signals documentation
💬 Discord channel: https://discord.gg/K6NCTX4
📺 Youtube channel: https://bit.ly/3bKvnZu
Basically the calculation is made so that the Trend is equals to 1 when bullish, -1 when bearish.
is there a way to alert me right when the supertrend line changes color? or what settings should i use for accurate results?
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