@JoshF We already shared the code for the alerts. Scroll up a bit and take a look at message #68
Hi Ben, These alerts do not work for pushing to a mobile device/email - unless I am mistaken and there is a way to include these SMS/email alerts within ThinkScript?. Neither does this solve the problem of being able to use this strategy in a conditional order or study alert (where mobile alerts are available) where the "rec usage" function is not permitted.@JoshF We already shared the code for the alerts. Scroll up a bit and take a look at message #68
Hello, BenTen, can you please modify the code for Bubble to move it slightly lower or higher (depending on situation), otherwise its just sits on candle and is hard to read on some charts.@San If you want to remove the bubble, delete the following lines from the code:
Rich (BB code):
AddChartBubble(close crosses below ST, low, low, color.Dark_Gray); AddChartBubble(close crosses above ST, high, high, color.Dark_Gray, no);
# SuperTrend # Mobius # Chat Room Request # 11.20.2019 tomsk Enhanced and adjusted bubbles with coloring and description tag input AtrMult = 1.0; input nATR = 4; input AvgType = AverageType.HULL; input PaintBars = yes; input n = 0; def n1 = n + 1; def ATR = MovingAverage(AvgType, TrueRange(high, close, low), nATR); def UP = HL2 + (AtrMult * ATR); def DN = HL2 + (-AtrMult * ATR); def ST = if close < ST then UP else DN; plot SuperTrend = ST; SuperTrend.AssignValueColor(if close < ST then Color.RED else Color.GREEN); AssignPriceColor(if PaintBars and close < ST then Color.RED else if PaintBars and close > ST then Color.GREEN else Color.CURRENT); AddChartBubble(close[n] crosses below ST[n], low[n+1] + TickSize() * n, "Sell @ " + low[n1], color.Cyan, yes); AddChartBubble(close[n] crosses above ST[n], high[n+1] - TickSize() * n, "Buy @ " + high[n1], color.Yellow, no); # End Code SuperTrend
@BenTen yeah I am searching for them as we speak...I did notice that some use ATR and some are ATR and CCI...I just would like something that does not repaint. I have seen various version of the SuperTrend as well but some do repaint mid candle etc...More or less I wanted to see what people are using as their favorite SuperTrends and compile something that I mentioned to @tomsk above...@HighBredCloud There are multiple versions of the SuperTrend indicator. I don't think none of them would repaint. A few have been posted on here before as well.
Yeah, I've got it on 5 minutes on the TOS side, I've altered nothing in the script except for adding the hashtag to exclude bearish scans.@BbenSD By doesn't work, what do you mean by that? No signal? Did you adjust the timeframe in the scanner to the timeframe that you want? By default, it will scan for signals on the daily chart.
Alright, mine came up with the same results. But if you were to look at the stocks on a 5-minute chart, only 15 of the 50 on that page had within 1 bar, generated the Bullish Supertrend bubble, why? Have any idea to filter out the inaccuracies? And really, thanks for the help bro.@BbenSD Using the snippet you posted, I ran the scanner, and here are my results from the S&P 500 watchlist / 5min chart.
I checked some of these results, and they were showing correctly. I do not see any issue on my side.
|Thread starter||Similar threads||Forum||Replies||Date|
|L||Help converting Pivot Point Supertrend to thinkscript||Questions||1|
|R||3 SuperTrend + Support and Resistance Level Strategy for ThinkorSwim||Strategies||52|
|R||SuperTrend Yahoo Finance Type for ThinkorSwim||Indicators||14|
|SuperTrend and RSI Laguerre Indicator for ThinkorSwim||Indicators||16|