Supertrend FilterA derivation of the famous SuperTrend indicator.
My motivation for such indicator was to use more recursion in the original SuperTrend code, this work was made quite fast but feel free to modify it, as always my work is more for inspirational use than anything else so i hope it will inspire you to get more involved with the SuperTrend code or to start coding with Pine.
The indicator no longer act as a trailing-stop but more like a filter, this is due to the fact that the indicator conditions are swapped and that the output is reused many times in the calculation.
Parameters change as well and involve particular gestion. The Factor Parameter is no longer an integer but decimals such that 0 < Factor < 1 .
When the Period is high the indicator tend to become less linear/static and look more like a classic moving average.So it is important to have higher Factor values when the Period is high and reciprocally.Here a table to help you with parameters settings :
for Period = 1 to 50 Factor = 0.5
for Period = 50 to 100 Factor = 0.6
for Period = 100 to 150 Factor = 0.7
for Period = 150 to 200 Factor = 0.8
for Period = 200 to 300 Factor = 0.9
There could be a formula to scale the Factor depending on the Period but there would be no proof that the scaling method used is optimal.
Hope you enjoy
For any questions/demands feel free to pm me, i would be happy to help you
Supertrend
Supertrend//Author - Rajandran R
//www.marketcalls.in
study("Supertrend V1.0 - Buy or Sell Signal", overlay = true)
Factor=input(2, minval=1,maxval = 100)
Pd=input(7, minval=1,maxval = 100)
Up=hl2-(Factor*atr(Pd))
Dn=hl2+(Factor*atr(Pd))
TrendUp=close >TrendUp ? max(Up,TrendUp ) : Up
TrendDown=close TrendDown ? 1: close< TrendUp ? -1: nz(Trend ,1)
Tsl = Trend==1? TrendUp: TrendDown
linecolor = Trend == 1 ? green : red
plot(Tsl, color = linecolor , style = line , linewidth = 2,title = "SuperTrend")
plotshape(cross(close,Tsl) and close>Tsl , "Up Arrow", shape.triangleup,location.belowbar,green,0,0)
plotshape(cross(Tsl,close) and close<Tsl , "Down Arrow", shape.triangledown , location.abovebar, red,0,0)
//plot(Trend==1 and Trend ==-1,color = linecolor, style = circles, linewidth = 3,title="Trend")
plotarrow(Trend == 1 and Trend == -1 ? Trend : na, title="Up Entry Arrow", colorup=lime, maxheight=60, minheight=50, transp=0)
plotarrow(Trend == -1 and Trend == 1 ? Trend : na, title="Down Entry Arrow", colordown=red, maxheight=60, minheight=50, transp=0)
Super-Trend-fibIn this model we have fib Donchian channel with super trend alerts (B=buy) S =sell
and trailing volume system up trend alert and down trend alert
so have fun
SuperTrend+fibI took the script from here so credit to the author
made some slight modification and add fib to make the buy point more stable
have fun
p.s
it can be improve further with addition of some extra, I did not check if it repaint as it not my code
Super-Trend-reversefisher fiterall the code is made here
I just change liitle the buy and sell point and add reverse fisher for reducing bad signals. the script can be made better if I add more stuff but for the time being seems ok
have fun
Supertrend A/D BreakoutModified Hoffman A/D:
1. uses standard supertrend to determine up/down direction (previous version used ema crossover)
2. uses improved A/D candlestick patterns
I'm optimistic about this one
TRBTrue Range Bands; the 'Supertrend', also known as a volatility stop, using a 14 period length and 3x multiplier.
VMA's (T=1h, 2h, 4h, 8h)Plots four VMA's (Variable/Volatility Moving Average) in multiple static resolutions (1h, 2h, 4h, 8h), ideal for support/resistance/stops on predictably trending symbols like BTCUSD.
Example:
Supertrend blind followingThis strategy is showing what would be if you just follow supertrand indicator. As we know, supertrand doesn't appear immediately and we need to wait the next bar for decision about entering. So you can see what will happen if you take position after supertrend finally formed. This indicator is extremely dangerous without another tools and can give very serious drawdown. Take care of yourself...
SuperTrend_ChannelThis set up created to understand support and resistance as per ATR (Average True Range)
Existing setup of supertrend modified to Channel set up
It is created for study purpose , Buying or selling not suggested as per this
Thank you
SuperTrend Multi Time Frame with Alerts V.1SuperTrend Multi Time Frame with Alerts.
You can add long and short alerts for all supertrend viewed on the graph.
The script plot 5min, 1H and D Supertrend.
Enjoy!
SuperTrend MultiTimeFrame with Alerts V.1SuperTrend Multi Time Frame with Multi Alerts ... you can insert alerts for all supertrend viewed on graph.
Different alerts for long and short.
This script plot 5min, 1H and 1D!
Enjoy!
Supertrend Grid 1.0See the current pair's Supertrend direction on 4 different timeframes at once, so you won't get caught with your pants down trading against the trend. Handy for quickly space-barring through a watchlist.
Default settings are (from top to bottom) Daily, 4H, 1H and 15M but these can be changed. Any suggestions, let me know.
All indicators in one!All indicators in one!
Hull MA (2 colors) + Bollinger Bands + 6 EMA + 50 SMA + 200 SMA + Parabolic SAR + SUPER TREND (2 colors) + Doji signals (yellow)
Supertrend - 3 signal settings - (Long/Short entry tool)Using SuperTrend lines to indicate a good time for entering on long or short; 3 supertrend settings together. All 3 lines must agree in order to confirm entry. Works like magic!
Feel free to combine with any other of your trusted tools in making decisions.
--------------
Disclaimer:
Above stated is only my personal method, and should not be seen or used as trading advise. Be sure to do further analysis in order to make your decisions in trading. Your trading decisions and methods of are at your own risk.
Supertrend CloudSupertrend is a simple yet great indicator which is based hard data, especially when combined with an additional ST line which has its multiplication doubled.
Enjoy :)
SuperTrend V.1 AlertThis script is to use with "SuperTrend V1.0 - Buy or Sell Signal" by Rajandran.r
Use it with original Strategy for add TradingView Alert.
Enjoy!
Bollinger Bands V2 [Super Trend]################################## Anglais ######################################
With the News Bollinger Bands V2 , you can choose the source of the color (Color with Price or Color with the Super Trend ATR).
You can also view the Super Trend on the chart and the configure.
this allows you to quickly identify trends and the acceleration phase and accumulation
Sorry for my basic English
//J.Dow
################################## Français ######################################
Avec les Nouvelles Bollinger Bands V2 , vous pouvez choisir la source de la couleur ( couleur avec le prix ou la couleur avec le Super Tendance ATR ) .
Vous pouvez aussi consulter le Super Tendance sur le graphique et le configure.
cela vous permet d'identifier rapidement les tendances et la phase d'accélération et d'accumulation
//J.Dow