Conditional Supertrend (RSI < 40)Supertrend is calculated based on ATR and multiplier (factor).
RSI is used as a condition to display the Supertrend only when RSI is below 40.
The line is colored green for bullish trend and red for bearish, but it only appears when RSI < 40.
Cari dalam skrip untuk "supertrend"
Anlik Trade Merkezi SupertrendSupertrend modified with vwma. In addition to the supertrend settings in the settings section, determine the vwma length and set it according to the chart timeframe.
Supertrend ATR TableThis is a multi timeframe table that shows a supertrend based ATR for timeframes from 5 minutes to monthly.
It is one half of a set of two indicators. This one is the table and the other one, Supertrend Lines Labels Full Set plots lines and labels.
The table is arranged left to right from shortest to highest timeframe
There are also alerts for each timeframe ATR that are best placed on a chart of 15 min or higher to avoid multiple repeat alerts within a short span of time.
One of the higher level uses is to track trend progression by seeing price move from timeframe ATR to another
User inputs cover colors, and how far in ticks "near" is defined as there are four colors in the table - up, down, up/near and down/near
The ATR settings are also changeable by user input
Supertrend Buy or Sell Signal - oringan fixI fixed SuperTrend little (origin if from LazyBear)
I love SuperTrend !!!!! so nice script!!!
and
I like alt-coin and 4hour candle.
That is why i fixed it.
Recommand 4hour and 4factor, 1pd.
and 1 trade per day.
It loose often but the loss ratio is about -8~15%
But when it win, it could earn much money!
If i have better idea, i will update this script
Korean : 4시간 봉 추천합니다. 하루에 한번정도의 매매를 목표로 설정했습니다. 더 좋은 설정값을 찾으면 업데이트할게요.
지표 추가 방법 간단 설명 (나중에 자세한 글 써서 스팀잇 할 예정)
아래 하단에 add to favorite 누르고, 차트 보는 중에 우클릭 - 지표넣기 - 즐겨찾기 - 지표이름찾아서 클릭.
Supertrend 1.0 with AlertsThe same as the original Supertrend 1.0 indicator except I have added alerts and set the bar colour based on the trend.
Original code is here:
SuperTrend Momentum OscillatorOverview
The SuperTrend Momentum Oscillator (SMO) is a powerful technical analysis tool designed to identify trend direction and strength in financial markets. It combines short-term and long-term oscillator calculations to provide traders with a comprehensive view of market conditions through an intuitive candle-based visualization system.
Key Features
Dual-period oscillator system (short-term and long-term)
Candle-based visualization showing trend direction and alignment
Color-coded trend direction based on the main (slower) trend line
Candle size reflecting alignment between fast and slow components
High-confidence "Super" signals (green diamonds for buys, purple diamonds for sells)
Market liquidity insights through oscillator readings
Understanding the Candle Visualization
Main Trend vs. Fast Money
The SMO uses two key components that work together:
Main Trend Line (Slower): The longer-period oscillator that acts as the primary trend indicator
Dictates the overall color of the candles (green for uptrend, red for downtrend)
Represents the dominant market direction
Fast Line (Quicker): The shorter-period oscillator that reacts more quickly to price changes
Helps determine the size of candles through its alignment with the main trend
Represents "fast money" or shorter-term price reactions
Candle Components and Their Meaning
1. Candle Color
The color of each candle is determined by the direction of the main trend line:
Green Candles: Main trend line is rising (bullish)
Indicates an overall uptrend regardless of short-term fluctuations
Remains green even when the fast line temporarily moves against the trend
Red Candles: Main trend line is falling (bearish)
Indicates an overall downtrend regardless of short-term fluctuations
Remains red even when the fast line temporarily moves against the trend
2. Candle Body Size
The body size of each candle represents the alignment between fast and main trend lines:
Large Bodies: Both fast and main trend lines are moving in the same direction
Trading Action: Strong confirmation of the trend direction
Confidence Level: High confidence signals
Small Bodies: Fast line is moving against the main trend line
Trading Action: Exercise caution; potential for temporary pullback or consolidation
Confidence Level: Lower confidence in immediate continuation
3. Wick Length
Wicks (shadows) provide additional information about price rejection and volatility:
Long Wicks: Indicate price rejection and potential volatility
Trading Action: Be cautious of trend continuation when long wicks appear
Confidence Level: Reduced confidence in immediate trend continuation
Short Wicks: Indicate strong directional control with minimal rejection
Trading Action: More confidence in trend continuation
Confidence Level: Higher confidence in the current trend direction
Candle Patterns Over Time
The progression of candles provides valuable trend information:
Large Green Candles: Main trend is up and fast line confirms (strong bullish)
Trading Action: Consider entering or adding to long positions
Confidence Level: High confidence in uptrend
Small Green Candles: Main trend is up but fast line is moving down (caution in uptrend)
Trading Action: Hold existing long positions but wait before adding
Confidence Level: Moderate confidence in uptrend, possible short-term pullback
Large Red Candles: Main trend is down and fast line confirms (strong bearish)
Trading Action: Consider entering or adding to short positions
Confidence Level: High confidence in downtrend
Small Red Candles: Main trend is down but fast line is moving up (caution in downtrend)
Trading Action: Hold existing short positions but wait before adding
Confidence Level: Moderate confidence in downtrend, possible short-term bounce
Super Signals - High Confidence Trading Opportunities
The SMO focuses exclusively on high-confidence "Super" signals:
Green Diamond Super Buy Signals
Meaning: Both short-term and long-term oscillators are generating buy signals simultaneously
Visual Indicator: Green diamond markers at the bottom of the indicator (0 level)
Trading Action: Strong entry signal for long positions
Confidence Level: High confidence signal, especially when accompanied by large green candles
Purple Diamond Super Sell Signals
Meaning: Both short-term and long-term oscillators are generating sell signals simultaneously
Visual Indicator: Purple diamond markers at the top of the indicator (100 level)
Trading Action: Strong entry signal for short positions or exit signal for long positions
Confidence Level: High confidence signal, especially when accompanied by large red candles
Market Liquidity Concept
The SMO provides a unique perspective on market conditions that goes beyond traditional oscillator interpretations:
Low Oscillator Readings (Below 20)
When the oscillator shows low readings (below 20), this indicates:
Traditional interpretation: Market is oversold, potential for upward reversal
Liquidity interpretation: Insufficient money in the market
This suggests thin trading conditions where large orders may have outsized impact
Price movements may be more erratic and less predictable
Breakouts may lack follow-through due to insufficient participation
High Oscillator Readings (Above 80)
When the oscillator shows high readings (above 80), this indicates:
Traditional interpretation: Market is overbought, potential for downward reversal
Liquidity interpretation: Abundant money in the market
This suggests deep trading conditions with high participation
Price movements tend to be more orderly and trend-based
Breakouts may have stronger follow-through due to high participation
Trading Strategies with SMO
Strategy 1: Main Trend with Alignment Confirmation
This strategy uses the main trend direction with alignment confirmation:
Entry Criteria:
Main trend direction is established (green or red candles)
Fast line aligns with main trend (large candles)
Super signal confirms (green or purple diamond)
Exit Criteria:
For long positions: When candles turn red or Super Sell signal appears
For short positions: When candles turn green or Super Buy signal appears
Stop Loss Placement:
For long positions: Below recent swing low
For short positions: Above recent swing high
Strategy 2: Counter-Trend Opportunity Detection
This strategy identifies potential counter-trend opportunities:
Entry Criteria:
Small candles appear (indicating disagreement between fast and main trend lines)
Oscillator reaches extreme levels (above 80 or below 20)
Wait for candle color change before entering
Position Sizing:
Use smaller position sizes for counter-trend trades
Increase size only when main trend confirms the new direction
Exit Criteria:
Take profit at the first sign of alignment in the opposite direction
Use tighter stops than with trend-following trades
Strategy 3: Market Liquidity Strategy
This strategy incorporates the market liquidity concept:
For Low Liquidity Conditions (Readings below 20):
Wait for Super Buy signals (green diamond)
Use smaller position sizes
Be prepared for potentially erratic price movements
Look for signs of increasing liquidity (expanding candle bodies) before adding to positions
For High Liquidity Conditions (Readings above 80):
Consider holding positions longer despite "overbought" readings
Use trailing stops to capture extended moves
Be aware that trends may persist longer than expected
Practical Trading Scenarios
Scenario 1: Strong Trend Confirmation
Candle Pattern: Series of large green candles (main trend up, fast line confirms)
Signal: Green diamond Super Buy marker at the bottom (0 level)
Background: Intensifying green gradient
Action: Enter long position with confidence
Stop Loss: Below recent swing low
Take Profit: When candles become small or turn red
Scenario 2: Trend Weakening Detection
Candle Pattern: Green candles becoming smaller (main trend still up, but fast line diverging)
Signal: No new signals
Background: Fading green gradient
Action: Tighten stops on long positions, prepare for potential reversal
Reasoning: Fast money is starting to move against the main trend
Scenario 3: Trend Reversal Identification
Candle Pattern: Transition from small green candles to red candles (main trend changing)
Signal: Appearance of purple diamond Super Sell marker at the top (100 level)
Background: Changing from green to red gradient
Action: Exit long positions and potentially enter short positions
Timing: Most effective when reversal occurs near overbought (80) level
Supertrend and Fast and Slow EMA StrategyThis strategy combines Exponential Moving Averages (EMAs) and Average True Range (ATR) to create a simple, yet effective, trend-following approach. The strategy filters out fake or sideways signals by incorporating the ATR as a volatility filter, ensuring that trades are only taken during trending conditions. The key idea is to buy when the short-term trend (Fast EMA) aligns with the long-term trend (Slow EMA), and to avoid trades during low volatility periods.
How It Works:
EMA Crossover:
1). Buy Signal: When the Fast EMA (shorter-term, e.g., 20-period) crosses above the Slow EMA (longer-term, e.g., 50-period), this indicates a potential uptrend.
2). Sell Signal: When the Fast EMA crosses below the Slow EMA, this indicates a potential downtrend.
ATR Filter:
1). The ATR (Average True Range) is used to measure market volatility.
2). Trending Market: If the ATR is above a certain threshold, it indicates high volatility and a trending market. Only when ATR is above the threshold will the strategy generate buy/sell signals.
3). Sideways Market: If ATR is low (sideways or choppy market), the strategy will suppress signals to avoid entering during non-trending conditions.
When to Buy:
1). Condition 1: The Fast EMA crosses above the Slow EMA.
2). Condition 2: The ATR is above the defined threshold, indicating that the market is trending (not sideways or choppy).
When to Sell:
1). Condition 1: The Fast EMA crosses below the Slow EMA.
2). Condition 2: The ATR is above the defined threshold, confirming that the market is in a downtrend.
When Not to Enter the Trade:
1). Sideways Market: If the ATR is below the threshold, signaling low volatility and sideways or choppy market conditions, the strategy will not trigger any buy or sell signals.
2). False Crossovers: In low volatility conditions, price action tends to be noisy, which could lead to false signals. Therefore, avoiding trades during these periods reduces the risk of false breakouts.
Additional Factors to Consider Adding:
=> RSI (Relative Strength Index): Adding an RSI filter can help confirm overbought or oversold conditions to avoid buying into overextended moves or selling too low.
1). RSI Buy Filter: Only take buy signals when RSI is below 70 (avoiding overbought conditions).
2). RSI Sell Filter: Only take sell signals when RSI is above 30 (avoiding oversold conditions).
=> MACD (Moving Average Convergence Divergence): Using MACD can help validate the strength of the trend.
1). Buy when the MACD histogram is above the zero line and the Fast EMA crosses above the Slow EMA.
2). Sell when the MACD histogram is below the zero line and the Fast EMA crosses below the Slow EMA.
=> Support/Resistance Levels: Adding support and resistance levels can help you understand market structure and decide whether to enter or exit a trade.
1). Buy when price breaks above a significant resistance level (after a valid buy signal).
2). Sell when price breaks below a major support level (after a valid sell signal).
=> Volume: Consider adding a volume filter to ensure that buy/sell signals are supported by strong market participation. You could only take signals if the volume is above the moving average of volume over a certain period.
=> Trailing Stop Loss: Instead of a fixed stop loss, use a trailing stop based on a percentage or ATR to lock in profits as the trade moves in your favor.
=> Exit Signals: Besides the EMA crossover, consider adding Take Profit or Stop Loss levels, or even using a secondary indicator like RSI to signal an overbought/oversold condition and exit the trade.
Example Usage:
=> Buy Example:
1). Fast EMA (20-period) crosses above the Slow EMA (50-period).
2). The ATR is above the threshold, confirming that the market is trending.
3). Optionally, if RSI is below 70, the buy signal is further confirmed as not being overbought.
=> Sell Example:
1). Fast EMA (20-period) crosses below the Slow EMA (50-period).
2). The ATR is above the threshold, confirming that the market is trending.
3). Optionally, if RSI is above 30, the sell signal is further confirmed as not being oversold.
Conclusion:
This strategy helps to identify trending markets and filters out sideways or choppy market conditions. By using Fast and Slow EMAs combined with the ATR volatility filter, it provides a reliable approach to catching trending moves while avoiding false signals during low-volatility, sideways markets.
SuperTrend with Chebyshev FilterModified Super Trend with Chebyshev Filter
The Modified Super Trend is an innovative take on the classic Super Trend indicator. This advanced version incorporates a Chebyshev filter, which significantly enhances its capabilities by reducing false signals and improving overall signal quality. In this post, we'll dive deep into the Modified Super Trend, exploring its history, the benefits of the Chebyshev filter, and how it effectively addresses the challenges associated with smoothing, delay, and noise.
History of the Super Trend
The Super Trend indicator, developed by Olivier Seban, has been a popular tool among traders since its inception. It helps traders identify market trends and potential entry and exit points. The Super Trend uses average true range (ATR) and a multiplier to create a volatility-based trailing stop, providing traders with a dynamic tool that adapts to changing market conditions. However, the original Super Trend has its limitations, such as the tendency to produce false signals during periods of low volatility or sideways trading.
The Chebyshev Filter
The Chebyshev filter is a powerful mathematical tool that makes an excellent addition to the Super Trend indicator. It effectively addresses the issues of smoothing, delay, and noise associated with traditional moving averages. Chebyshev filters are named after Pafnuty Chebyshev, a renowned Russian mathematician who made significant contributions to the field of approximation theory.
The Chebyshev filter is capable of producing smoother, more responsive moving averages without introducing additional lag. This is possible because the filter minimizes the worst-case error between the ideal and the actual frequency response. There are two types of Chebyshev filters: Type I and Type II. Type I Chebyshev filters are designed to have an equiripple response in the passband, while Type II Chebyshev filters have an equiripple response in the stopband. The Modified Super Trend allows users to choose between these two types based on their preferences.
Overcoming the Challenges
The Modified Super Trend addresses several challenges associated with the original Super Trend:
Smoothing: The Chebyshev filter produces a smoother moving average without introducing additional lag. This feature is particularly beneficial during periods of low volatility or sideways trading, as it reduces the number of false signals.
Delay: The Chebyshev filter helps minimize the delay between price action and the generated signal, allowing traders to make timely decisions based on more accurate information.
Noise Reduction: The Chebyshev filter's ability to minimize the worst-case error between the ideal and actual frequency response reduces the impact of noise on the generated signals. This feature is especially useful when using the true range as an offset for the price, as it helps generate more reliable signals within a reasonable time frame.
The Great Replacement
The Modified Super Trend with Chebyshev filter is an excellent replacement for the original Super Trend indicator. It offers significant improvements in terms of signal quality, responsiveness, and accuracy. By incorporating the Chebyshev filter, the Modified Super Trend effectively reduces the number of false signals during low volatility or sideways trading, making it a more reliable tool for identifying market trends and potential entry and exit points.
In-Depth Guide to the Modified Super Trend Settings
The Modified Super Trend with Chebyshev filter offers a wide range of settings that allow traders to fine-tune the indicator to suit their specific trading styles and objectives. In this section, we will discuss each setting in detail, explaining its purpose and how to use it effectively.
Source
The source setting determines the price data used for calculations. The default setting is hl2, which calculates the average of the high and low prices. You can choose other price data sources such as close, open, or ohlc4 (average of open, high, low, and close prices) based on your preference.
Up Color and Down Color
These settings control the color of the trend line when the market is in an uptrend (up_color) and a downtrend (down_color). You can customize these colors to your liking, making it easier to visually identify the current market trend.
Text Color
This setting controls the color of the text displayed on the chart when using labels to indicate trend changes. You can choose any color that contrasts well with your chart background for better readability.
Mean Length
The mean_length setting determines the length (number of bars) used for the Chebyshev moving average calculation. A shorter length will make the moving average more responsive to price changes, while a longer length will produce a smoother moving average. It is crucial to find the right balance between responsiveness and smoothness, as a too-short length may generate false signals, while a too-long length might produce lagging signals. The default value is 64, but you can experiment with different values to find the optimal setting for your trading strategy.
Mean Ripple
The mean_ripple setting influences the Chebyshev filter's ripple effect in the passband (Type I) or stopband (Type II). The ripple effect represents small oscillations in the frequency response, which can impact the moving average's smoothness. The default value is 0.01, but you can experiment with different values to find the best balance between smoothness and responsiveness.
Chebyshev Type: Type I or Type II
The style setting allows you to choose between Type I and Type II Chebyshev filters. Type I filters have an equiripple response in the passband, while Type II filters have an equiripple response in the stopband. Depending on your preference for smoothness and responsiveness, you can choose the type that best fits your trading style.
ATR Style
The atr_style setting determines the method used for calculating the Average True Range (ATR). By default (false), it uses the traditional high-low range. When set to true, it uses the absolute difference between the open and close prices. You can choose the method that works best for your trading strategy and the market you are trading.
ATR Length
The atr_length setting controls the length (number of bars) used for calculating the ATR. Similar to the mean_length, a shorter length will make the ATR more responsive to price changes, while a longer length will produce a smoother ATR. The default value is 64, but you can experiment with different values to find the optimal setting for your trading strategy.
ATR Ripple
The atr_ripple setting, like the mean_ripple, influences the ripple effect of the Chebyshev filter used in the ATR calculation. The default value is 0.05, but you can experiment with different values to find the best balance between smoothness and responsiveness.
Multiplier
The multiplier setting determines the factor by which the ATR is multiplied before being added
Super Trend Logic and Signal Optimization
The Modified Super Trend with Chebyshev filter is designed to minimize false signals and provide a clear indication of market trends. It does so by using a combination of moving averages, Average True Range (ATR), and a multiplier. In this section, we will discuss the Super Trend's logic, its ability to prevent false signals, and the early warning crosses added to the indicator.
Super Trend Logic
The Super Trend's logic is based on a combination of the Chebyshev moving average and ATR. The Chebyshev moving average is a smooth moving average that effectively filters out market noise, while the ATR is a measure of market volatility.
The Super Trend is calculated by adding or subtracting a multiple of the ATR from the Chebyshev moving average. The multiplier is a user-defined value that determines the distance between the trend line and the price action. A larger multiplier results in a wider channel, reducing the likelihood of false signals but potentially missing out on valid trend changes.
Preventing False Signals
The Super Trend is designed to minimize false signals by maintaining its trend direction until a significant change in the market occurs. In a downtrend, the trend line will only decrease in value, and in an uptrend, it will only increase. This helps prevent false signals caused by temporary price fluctuations or market noise.
When the price crosses the trend line, the Super Trend does not immediately change its direction. Instead, it employs a safety logic to ensure that the trend change is genuine. The safety logic checks if the new trend line (calculated using the updated moving average and ATR) is more extreme than the previous one. If it is, the trend line is updated; otherwise, the previous trend line is maintained. This mechanism further reduces the likelihood of false signals by ensuring that the trend line only changes when there is a significant shift in the market.
Early Warning Crosses
To provide traders with additional insight, the Modified Super Trend with Chebyshev filter includes early warning crosses. These crosses are plotted on the chart when the price crosses the trend line without the safety logic. Although these crosses do not necessarily indicate a trend change, they can serve as a valuable heads-up for traders to monitor the market closely and prepare for potential trend reversals.
In conclusion, the Modified Super Trend with Chebyshev filter offers a significant improvement over the original Super Trend indicator. By incorporating the Chebyshev filter, this modified version effectively addresses the challenges of smoothing, delay, and noise reduction while minimizing false signals. The wide range of customizable settings allows traders to tailor the indicator to their specific needs, while the inclusion of early warning crosses provides valuable insight into potential trend reversals.
Ultimately, the Modified Super Trend with Chebyshev filter is an excellent tool for traders looking to enhance their trend identification and decision-making abilities. With its advanced features, this indicator can help traders navigate volatile markets with confidence, making more informed decisions based on accurate, timely information.
Supertrend Filtered with MA ADX,Vol & RSI,RVSItest script that combines Supertrend Filtered with MA ADX,Vol & RSI,RVSI
Supertrend Explorer First_40This indicator was brought by Kıvanç Özbilgiç. I only modified it to search for 40 stocks on BIST. The other stocks are listed as Second_40, Third_40 and Fourth_40.
Supertrend But Only Buy Signals
Supertrend but only greens
use only i f u like greens
red means price go down i dont like price down i hate red
i want green price go up
please only use for buy green signal. this is a financial tool only for greens
[LunaOwl] 超級趨勢 (SuperTrend)SuperTrend indicator was developed by Olivier Seban. it shows trend direction. In addition,it provides buy/sell signal. while using super trend indicator, it is better to put stop loss. In fact, you can use the line for stop loss. In addition, you can also trail it as the price move in either direction. wish you a happy trade life.
超級趨勢是奧利維爾.塞班所開發。它可以顯示趨勢和買賣訊號,使用超級趨勢請設置止損單。其實你可以用移動止損線設置。也能價格波動的時候進行追蹤。祝大家交易愉快。
The purpose of publishing Chinese Scripts is to make Pine close to more Chinese user.
發布中文腳本的目的,是希望可以讓 Pine 親近更多中文圈的使用者。
VJ2 Supertrend V1.0 - Buy or Sell Signal with alert supertrend indicator added alert on short and long
Supertrend with 3 parametersthis supertrend has 3 parameter value which is very efectfull.pls apply this and earn together
SuperTrend ATR + RSI with signalThis is an updated version of Crée par J.Dow's very interesting indicator- myself and Squiggles added the alert function in there. The original description and explanation can be seen here.
Some settings work better than others on different timeframes- have a play around, I'd be interested in seeing what optimum settings you might be able to find.