BEST Supertrend CCIHello traders
Today I present you a Supertrend not based on candle close but based on a CCI (Commodity Channel Index)
How does it work?
Bull event: CCI crossing over the 0 line
Bear event: CCI crossing below the 0 line
When the event is triggered, the script will plot the Supertrend as follow
UP Trend = High + ATR * Factor
DOWN Trend = Low - ATR * Factor
This is an alternative of the classical Supertrend based on candle close being above/beyond the previous Supertrend level.
Hope you'll enjoy it and it will improve your trading making you a better trader
Dave
Supertrend
BEST Supertrend StrategyHello traders
Sharing a sample Supertrend strategy to illustrate how to calculate a convergence and using it in a strategy
I based the setup as follow:
- Entries on Supertrend MTF breakout + moving average cross. Entering whenever there is a convergence
- exit whenever a Simple Moving Averages cross in the opposite direction happen
- possibility to filter only Longs/Shorts or both
All the best
Dave
BEST Multicolor Supertrend InfoPanelHello traders
Today is a Pinescript hack to display multiple colors in one label.
I used that panel to show the Supertrend Long Term values (weekly, monthly, quarterly, yearly)
What is a Supertrend?
Definition : SuperTrend is an indicator that works on all timeframes and all instruments (stocks, futures, forex, ...). It is a great tool to follow market trends and optimizes your profits.
SuperTrend evolves below or above the prices depending on the trend. You can use it as an exit position indicator when its direction changes. You can also use it to place your stops.
So.... the hack is?
The hack is about creating a new label for each line - versus creating just one label containing the whole text
Best regards,
Dave
Trend-Following Combo-SuperTrend, EMA, Aroon, DMI, Laguerre RSIThis is a trend-following indicator which condenses two SuperTrend indicators -- one based on analysis over a shorter period of time (1.5, 7), and one based on analysis over a longer period of time (1.65, 100) -- into a single indicator which appears on your chart only when both the shorter- and longer-term analysis indicates a "SuperTrend" in the same direction.
Additionally, potential trade entry indicators are displayed in the form of up and down arrows when (by default) three of the following five indicators suggest that the market is trending in the same direction as both the shorter- and longer-term SuperTrend indicators:
EMA Crossover (8, 15)
Aroon Indicator (8)
Aroon Oscillator (8)
Directional Movement Index (DI +/-) (8)
Laguerre RSI (13)
You may update the parameters of any of the indicators to match your own preferences.
Additionally, you may also adjust the "Threshold" of indicators that must be in agreement with the SuperTrend to show a potential trade entry arrow. Bear in mind that if you set the Indicator Threshold too low, you will see more frequent trade entry arrows, many of which will not be profitable if taken. Similarly, set this value too high, and you will see fewer trade entry arrows that may not appear until after most of the "juice" in the trend has evaporated. Ideal values for the threshold seem to be between 2-4, depending on the symbol you are trading.
The following image shows all of the indicators referenced above on a 5-minute chart of the SPY during a single trading day:
And, here is the same period of time showing only the Trend-Following Combo indicator with default settings:
This indicator would not have been possible save for work contributed by the following:
SuperTrend by Rajandran R
Aroon w/ crossovers highlighted by seiglerj
Aroon Oscillator by jcrewolinsky
Directional Movement Index by TradingView
Laguerre RSI (Self Adjusting Alpha with Fractals Energy) by everget
Super Trend Daily 2.0 Alerts BFThis is an alerts script for my Super Trend 2.0 indicator . It is intended as a companion script so you can backtest using the Strategy script and generate alerts using this Study script.
This Study script has the same default settings as the Strategy script and its only purpose is to provide alerts for the long and short signals the Strategy generates. Obviously, if you want to generate alerts based on a Strategy backtest, please ensure the settings are the same in the Study as in the Strategy.
For illustration, I have plotted arrows on the chart for long and short signals, and also colored the background to show when the rate of change function determines a choppy/sideways market.
ALERTS
There are 2 alerts set up:
Long Entry
Short Entry
ILLUSTRATION
Green arrow = Long Entry
Red arrow = Short Entry
White background = No short trades
Aqua background = No long trades
EXAMPLE USE CASE
1. Open a Bitcoin/USD chart on 1D timeframe.
2. Open this script and the Super Trend 2.0 indicator script.
3. Backtest with the Strategy Backtester and change the settings if you like until you get a desirable outcome for your own purposes.
4. Once you are happy with the backtest, change the settings in the Alerts script (this one) so they match the Strategy settings.
5. Set up the alerts according to your preferences.
Centerline SupertrendA centerline/non-chart indicator version of Everget's Supertrend script for use in NNFX-style indicator setups, with the emphasis on this indicator NOT adding visual clutter to the main charting area with a baseline indicator already present.
This is literally the EXACT same script as Everget's Supertrend, but not drawn on the chart and with the fill/stop and fill/state level removed.
Adjust to your timeframe/asset and backtest/forward-test accordingly.
Source script by Everget (Supertrend):
SuperTrend Strategy This is almost the same strategy that Alex Orekhov (everget) sells to unnoticed newbies... The only thing he added was a tool that analyses the better performance of the indicator, that is the difference from his script, and i dont have it here, what i have is what is freely distributed in many communities... But as i follow him for more than 1 year i saw that theese configs. In more than 95% of the time range betweern 7.2-6.8 with the most common settings the 7-7
So i made a description of each part of the code that i WRITED and is free and i am just using the configs that are public in Alex Orekhov (everget) profile. If it is public the configs he use in his charts and he is not the owner of the code right? Also the code is very easy to find in google in the MQL5 community or in a lot of videos in youtube.
He charges $10 for a 4 day trial (LOL) and $100 for this shit.
Here is a strategy that has a correlation with 95% of the time of the Profitable Strategy that he sells.
SuperTrend BacktesterThis is a backtesting script for the famous Super Trend.
Features
- Custom Date Range
- Custom Targets and Risks
Requested by Dlatrella
Fabonacci Trailer - [Backtester]This study comes with the following indicators and features:
ADX indicator
Chop indicator
Super Trend indicator
Trailing Take Profit and Stop Loss
Entry, Take Profit, and Stop Loss Alerts
Renko chart support
And a few more indicators in the back-end to increase accuracy and optimize entries
The study version with all alerts can be found in my profile. It is not repainting and we advise to use alerts on “Once Per Bar Close”.
Please note that this script is based on invite only.
Fabonacci Trailer - [Alerts]This script comes with the following indicators and features:
ADX indicator
Chop indicator
Super Trend indicator
Trailing Take Profit and Stop Loss
Entry, Take Profit, and Stop Loss Alerts
Renko chart support
And a few more indicators in the back-end to increase accuracy and optimize entries
This script works really well as a scalper on lower Time Frames as well as on higher Time Frames. Besides that you can also use it on pretty much any coin or asset.
This script is not repainting. We advise to use alerts on “Once Per Bar Close”.
If you’d like to automate this script you can do that by using AutoView, ProfitView, ProfitTrailer, CryptoHopper etc.
Please note that this script is based on invite only.
[STRATEGY] SuperTrendA private strategy from the Profitable SuperTrend preview for backtesting purposes.
Super Trend Daily 2.0 BFThis is my Super Trend Daily strategy but with one important difference. You can now adjust settings for long or short signals individually and separately. For example, the condition for a long signal may require a different parameter setting than the condition for a short signal. Each parameter in the signal generation can be tuned. You can also decide what kind of stop loss you want for each side - you could have a fixed stop loss for longs and an ATR derived stop loss for shorts, or whatever.
We also have the option to choose if we want longs, shorts or both.
INISTRUCTIONS
Look at the background colors:
Green line = long signal
Red line = short signal
Aqua = No long trades
White = No short trades
Yellow dotted line = stop loss for long
Orange dotted line = stop loss for short
The aqua and white backgrounds mean the conditions are choppy/sideways according to our settings we applied to the rate of change function for a long/short signal respectively. It is possible to get a long signal in a white background, but not a short signal. Similarly, it is possible to get a short signal in an aqua background, but not a long signal.
This is a work in progress so any suggestions for improvements are welcome.
Super Trend Daily BF 🚀Super Trend is based on volatility and attempts to show the overall greater trend of a market. Thanks to everget for the idea of improving the Super Trend code. Thanks to kiasaki for ROC code.
The idea here is to enter a trade upon trend reversal (unless we have a white background - this indicates choppy/sideways market).
INSTRUCTIONS
Follow the background color for signals of a trend reversal.
Bright green = long
Bright red = short
White = no trade
We use a fixed stop loss here of 6% but I have included the option to apply an ATR based stop loss in Settings. No take profit. No re-entering until we get an opposing signal.
I use a Rate of Change function to detect when we should stay out due to choppy sideways price action.
This strategy was optimised for XBT/USD on Bitmex 1 day chart, ideal settings for other pairs will differ.
SuperTrend (Self-Adjusting Parameters for Highest Profitability)SuperTrend (Self-Adjusting Parameters for Highest Profitability)
The SuperTrend is a trend-following indicator.
It works best when it is used along with other indicators.
It performs well in trending markets and can give false signals in volatile markets.
It becomes Smart when its Multiplier and Period parameters are automatically detected .
• Self-Adjusting Multiplier and Period parameters
• The graphs for Profitability, SuperTrend Multiplier, SuperTrend Period and the SuperTrend itself are available to choose for display from the indicator settings
• A chart layout can be made just for the Smart SuperTrend, having all the graphs nicely displayed
• Alerts for changes in Trend, Multiplier, Period, Profitability
The range for Multiplier, Period and Time can be changed in the indicator settings.
This affects the loading speed (smaller range, faster to load), as well as the accuracy of the signals.
The indicator switches to the most profitable Multiplier and Period parameters automatically, in real-time .
It scans across the entire historical data made available by TradingView.
The Smart SuperTrend works on all timeframes and symbols available on TradingView.
It does not repaint!
But several aspects must be considered:
- 1. TradingView periodically removes access to old data while giving access to new data in real-time.
____ The frequency depends on the timeframe, amount of data. It can happen daily for second charts, weekly for minute charts.
____ Since the Indicator wouldn't have access to that old data anymore, the Profitability may change its value, causing a certain degree of repainting.
- 2. The starting time for Backtest must be inserted in the settings panel.
____ As long as that starting time has available price data, the SuperTrend will NOT get repainted.
____ A suggested starting date for the analysis is shown on the chart. Insert the date in the indicator settings.
This indicator is compatible with the Wrapper Module of the Risk Management System indicator, which means they can work together as a trading bot .
DH: (Study) Super Smart SuperTrend: Self AdjustingSUPER SMART SUPERTREND (Study Version w/Alerts)
Using data from other indicators I came up with a SMART SUPERTREND that auto-adjusts as the market changes - shall we call it "Artificial Intelligence?" Yes, you can fine tune it for specific assets and timeframes, but once the settings are entered, it auto-adjusts as the market and prices evolve.
This is the STUDY version of "Super Smart SuperTrend" with ALERTS. There is also a STRATEGY version which is designed for backtesting various settings.
STRATEGY VERSION FOR BACKTESTING IS HERE
ABOUT THIS INDICATOR
As the name suggests, 'Supertrend' is a trend-following indicator that is notably popular here on Tradingview and elsewhere. It does a remarkably great job of recognizing a trend (in progress) and it will signal you to initiate a position when the trend is clear. Perhaps the greater value of Supertrend is that it helps keep you in your position until that trend is over.
WHAT'S THE BEST ATR PERIOD AND MULTIPLIER?
There are two important data points we must enter for Supertrend to work, namely the 'period (ATR number of candles or days)' and the 'multiplier (value by which ATR is multiplied)' BTW, in case you don't know, ATR signals the degree of price volatility. A common default setting is 10 for the ATR period and 3 for the multiplier.
SORRY, BUT THE MOVIE STARTED HALF HOUR AGO...
Unfortunately Supertrend has a couple of big weaknesses. Generally, it fails in a sideways-moving market and when it does detect a trend, the signal to get in (or out) comes rather late. It's like someone telling you about a great movie they're watching, but by the time you start watching, one-third of the movie is over... bummer, right?
HOW TO IMPROVE SUPERTREND
One solution is to combine Supertrend with other indicators such as MACD, Parabolic SAR, RSI, etc. And another solution is to experiment (backtest) with the Period and Multiplier settings for the asset and timeframe you are considering for trade.
For the STANDARD SETTINGS in this "Super Smart SuperTrend" indicator, I have set 9 for the ATR and 2.2 for the multiplier as default after backtesting on Bitcoin and other crypto (mostly in the 15 minute to 6 HOUR timeframe). Of course you can change this easily to any ATR period and Multiplier you like.
BUT... WHY NOT GET SMART?
I started thinking, it might be best if we let the market determine candle-by-candle what the settings should be. If everyone says that Supertrend works best in conjunction with other indicators, why not do our "conjuncting" programmatically (ie: automatically) sorta like artificial intelligence!
HOW IT WORKS
So here's what I did. Using data from other indicators I came up with a SMART SUPERTREND that auto-adjusts as the market changes. It still has settings so you can fine tune it for specific assets and timeframes, but once the settings are entered, it auto-adjusts as the market and prices evolve.
With "Super Smart SuperTrend" there is no ATR period setting (that is determined programmatically) and now there are TWO multipliers you can experiment with... (a lower one set at 1.7 default and a higher one at 2.5). These multiplier settings create a multiplier range that can be used programmatically to adjust the multiplier as the market and prices evolve.
THE RESULTS
Across all time frames and assets I've tested, I generally get better results. Better entries, better exits and well defined trends. In comparison with a STANDARD Supertrend, it is not radically different, but when it does differ "Super Smart SuperTrend: is almost always better. All this is substantiated by backtesting of course.
SAMPLE BACKTEST RESULTS (BTC/USD)
Using Indicator Defaults
TIMEFRAME STANDARD RESULTS SUPER SMART RESULTS
% Profitable | Profit Factor % Profitable | Profit Factor
DAY 58.33% 9.38 75.00% 10.77
4 HOUR 78.43% 18.22 80.95% 21.78
1 HOUR 74.11% 8.98 70.13% 9.34
15 MIN 58.10% 6.10 71.43% 9.48
Keep in mind that "Profit Factor" is key. It basically tells you what you'd make for every ONE DOLLAR invested by consistently trading with the backtested parameters.
SUPER SMART SUPERTREND FEATURES
• There is a STUDY VERSION w/Alerts
• There is a STRATEGY VERSION for Backtesting
• Standard 'Current Time Frame' SuperTrend Line
• Standard 'Higher Time Frame' SuperTrend Line
• Auto-Adjusting Dynamic Optimized SuperTrend Line
> Most Signals Are Same or Better than Standard
> Refine Results w/Sensitivity Inputs (2 Multipliers)
> Impressive Comparison Backtests
• Both Standard and Smart Signals and Alerts
• Toggle Any Line/Signal (On/Off)
• Toggle Backtest
> Standard vs. "Smart Auto-Adjust"
> Backtest Higher Timeframe Only
WHAT MORE COULD YOU ASK FOR?
So glad you asked. Actually, there is more... Super Smart SuperTrend is incorporated into my premier indicator set called: STONEHENGE PLUS: SUPERTREND TRADING TOOLKIT.
With STONEHENGE, I'm combining this Super Smart SuperTrend with dozens of other indicators plus predictive "Stones." Check out STONEHENGE... you'll be in Trader's Heaven.
That's it. Get "SMART" Today!
STONEHENGE PLUS:
The Complete SuperTrend Trading Toolkit
SUPER SMART SUPERTREND ALSO WORKS WITH:
STONEHENGE BASIC: Double Stone Version (Study w/Alerts):
######
######
PLEASE HIT THE LIKE BUTTON (and follow me... lots of great stuff in the works!)
As always, I appreciate your support. Please share with others.
ENJOY!
Dan Hollings
Master Crypto Grid Trader
Stonehenge Master Mason
Host of the "High Leverage Lounge"
Please Explore My Other Indicators, Scripts, Grids and Educational Ideas.
@DanHollings on Tradingview.
Additional Links Below...
DH: (Strategy) Super SmartSuper Trend: Backtest VersionSUPER SMART SUPERTREND (Strategy Version w/ Backtesting)
Across all time frames and assets I've tested, this indicator gives me better results... Better entries, better exits and well defined trends. In comparison with a STANDARD Supertrend, it is not radically different, but when it does differ "Super Smart SuperTrend" is almost always better.
This is the STRATEGY version of "Super Smart SuperTrend" ready for your backtesting. There is also a STUDY version with ALERTS which might be better for live trading if you want Alerts.
STUDY VERSION WITH ALERTS IS HERE
##################################
##################################
ABOUT THIS INDICATOR
As the name suggests, 'Supertrend' is a trend-following indicator that is notably popular here on Tradingview and elsewhere. It does a remarkably great job of recognizing a trend (in progress) and it will signal you to initiate a position when the trend is clear. Perhaps the greater value of Supertrend is that it helps keep you in your position until that trend is over.
WHAT'S THE BEST ATR PERIOD AND MULTIPLIER?
There are two important data points we must enter for Supertrend to work, namely the 'period (ATR number of candles or days)' and the 'multiplier (value by which ATR is multiplied)' BTW, in case you don't know, ATR signals the degree of price volatility. A common default setting is 10 for the ATR period and 3 for the multiplier.
SORRY, BUT THE MOVIE STARTED HALF HOUR AGO...
Unfortunately Supertrend has a couple of big weaknesses. Generally, it fails in a sideways-moving market and when it does detect a trend, the signal to get in (or out) comes rather late. It's like someone telling you about a great movie they're watching, but by the time you start watching, one-third of the movie is over... bummer, right?
HOW TO IMPROVE SUPERTREND
One solution is to combine Supertrend with other indicators such as MACD, Parabolic SAR, RSI, etc. And another solution is to experiment (backtest) with the Period and Multiplier settings for the asset and timeframe you are considering for trade.
For the STANDARD SETTINGS in this "Super Smart SuperTrend" indicator, I have set 9 for the ATR and 2.2 for the multiplier as default after backtesting on Bitcoin and other crypto (mostly in the 15 minute to 6 HOUR timeframe). Of course you can change this easily to any ATR period and Multiplier you like.
BUT... WHY NOT GET SMART?
I started thinking, it might be best if we let the market determine candle-by-candle what the settings should be. If everyone says that Supertrend works best in conjunction with other indicators, why not do our "conjuncting" programmatically (ie: automatically) sorta like artificial intelligence!
HOW IT WORKS
So here's what I did. Using data from other indicators I came up with a SMART SUPERTREND that auto-adjusts as the market changes. It still has settings so you can fine tune it for specific assets and timeframes, but once the settings are entered, it auto-adjusts as the market and prices evolve.
With "Super Smart SuperTrend" there is no ATR period setting (that is determined programmatically) and now there are TWO multipliers you can experiment with... (a lower one set at 1.7 default and a higher one at 2.5). These multiplier settings create a multiplier range that can be used programmatically to adjust the multiplier as the market and prices evolve.
THE RESULTS
Across all time frames and assets I've tested, I generally get better results. Better entries, better exits and well defined trends. In comparison with a STANDARD Supertrend, it is not radically different, but when it does differ "Super Smart SuperTrend: is almost always better. All this is substantiated by backtesting of course.
SAMPLE BACKTEST RESULTS (BTC/USD)
*Using Indicator Defaults*
TIMEFRAME STANDARD RESULTS SUPER SMART RESULTS
% Profitable | Profit Factor % Profitable | Profit Factor
DAY 58.33% 9.38 75.00% 10.77
4 HOUR 78.43% 18.22 80.95% 21.78
1 HOUR 74.11% 8.98 70.13% 9.34
15 MIN 58.10% 6.10 71.43% 9.48
Keep in mind that "Profit Factor" is key. It basically tells you what you'd make for every ONE DOLLAR invested by consistently trading with the backtested parameters.
SUPER SMART SUPERTREND FEATURES
• There is a STUDY VERSION w/Alerts
• There is a STRATEGY VERSION for Backtesting
• Standard 'Current Time Frame' SuperTrend Line
• Standard 'Higher Time Frame' SuperTrend Line
• Auto-Adjusting Dynamic Optimized SuperTrend Line
> Most Signals Are Same or Better than Standard
> Refine Results w/Sensitivity Inputs (2 Multipliers)
> Impressive Comparison Backtests
• Both Standard and Smart Signals and Alerts
• Toggle Any Line/Signal (On/Off)
• Toggle Backtest
> Standard vs. "Smart Auto-Adjust"
> Backtest Higher Timeframe Only
WHAT MORE COULD YOU ASK FOR?
So glad you asked. Actually, there is more... Super Smart SuperTrend is incorporated into my premier indicator set called: STONEHENGE PLUS: SUPERTREND TRADING TOOLKIT.
By combining Super Smart SuperTrend with dozens of other indicators plus the predictive "Stones" of Stonehenge, you'll be in Trader's Heaven.
That's it. Get "SMART" Today!
STONEHENGE PLUS:
The Complete SuperTrend Trading Toolkit
#################################
#################################
SUPER SMART SUPERTREND ALSO WORKS WITH:
STONEHENGE BASIC: Double Stone Version (Study w/Alerts):
PLEASE HIT THE LIKE BUTTON (and follow me... lots of great stuff in the works!)
As always, I appreciate your support. Please share with others.
ENJOY!
Dan Hollings
Master Crypto Grid Trader
Stonehenge Master Mason
Host of the "High Leverage Lounge"
Please Explore My Other Indicators, Scripts, Grids and Educational Ideas.
@DanHollings on Tradingview.
Additional Links Below...
SuperC BF 🚀Based on some code from noro and kiasaki - thank you.
A Super Trend is a trend over a long period of time. There are lots of existing scripts that generate signals based on the overall direction of an instrument. What if we combined this idea with a measure of Money Flow and added a filter to try to avoid choppy sideways action?
I started with a super trend foundation and added an MFI calculation to account for volume flowing into and out of the asset. Then added a Rate of Change function to stay out of trades when there is not much up/down movement.
INSTRUCTIONS
Bright green background = go long
Bright red background = go short
COLOR OVERVIEW
A white background means we don't trade
A green background means we have a long condition
A red background means we have a short condition
The cloud is green when we have a long condition, red when we have a short condition.
The cloud is yellow if we should be in a long already but the current candle is not satisfying all long conditions.
The cloud is orange if we should be in a short already but the current candle is not satisfying all short conditions.
The line at the bottom is MFI - this is green when the current candle is greater than the last, red when it is less than the last.
SIGNAL GENERATION
A long condition is when MFI > MFI AND we are not in a choppy market AND when price is above the super trend.
A short condition is when MFI < MFI AND we are not in a choppy market AND when price is below the super trend.
We use a fixed Stop Loss of 2% here on the daily timeframe for XBT/USD.
If we get stopped out from a long and we still have the conditions for a long, we re-enter. Same for short.
Supertrend Multi Time Frame (No Repaint)This is non repaiting Supertrend Multi Time Frame script.
There is an option for Higher Tİme Frame Period. if you choose "Auto" then Higher Time Frame calculation would be made by script. Or you can choose "User Defined" and then you must choose the period for Higher Time Frame.
You better use this script with some indicators, RSI , Momentum etc.
_ LonesomeTheBlue _
Supertrend Multi Time Frame (No Repaint)This is non repaiting Supertrend Multi Time Frame script.
There is an option for Higher Tİme Frame Period. if you choose "Auto" then Higher Time Frame calculation made by script. Or you can choose "User Defined" and then you must choose the period for Higher Time Frame.
You better use this script with some indicators, RSI, Momentum etc.
If you find my works useful, please consider a donation
BTC: 19qDW9AShZhBZsGuXcgRzam5Fbpc3EU8EV
ETH: 0x39c8552371b9b7f4e324197af460ba8bc8e18ef9
Super Trend 4hr XBT BFThis script is designed for XBT/USD on Bitmex 4hr chart .
The signals are generated from a calculation of the overall super trend using ATR.
The stop loss level is also determined by a separate ATR calculation. This allows for dynamic stop loss placement depending on how volatile the market. Lower ATR = tighter Stop.
I tried a Take-Profit function but it seems the best results I can find come from exiting a trade upon an opposing signal.
INSTRUCTIONS
1. Go Long when background turns green, or short when it turns red.
2. Set your stop loss as indicated on the chart by the dotted lines. Yellow is stop loss for a long signal, orange for short.
3. Exit on an opposing signal.
NB: the Stop losses are only plotted on the chart when we are not stopped out. If we get stopped out, we wait for the next signal.
Custom Self-Adjusting SuperTrendA custom version of Self Adjusting SuperTrend that can be used as source for your trading frameworks and indicators.
SuperTrend Cloud StrategyExperimental strategy to improve accuracy of SuperTrend Cloud. I am attempting to use STD deviation to manipulate the multiplier of the SuperTrend cloud. Greater STD Deviation = Oscillation in price action which can be applied to multiplier of SuperTrend to filter out bad trades and improve accuracy.