Volume-Adjusted Schaff Trend Cycle (VASTC)Volume-Adjusted Schaff Trend Cycle (VASTC)
The VASTC is a fairly fast-moving oscillator designed to identify trends early and signal when trends may be nearing their end. While it can be used for both trend-following and mean-reversion strategies , it shines in trend-following setups. It’s particularly useful for catching the start of a trend and giving early warnings that a trend might end soon, making it a valuable addition to a multi-indicator system.
How It Works:
The VASTC adapts the traditional Schaff Trend Cycle by adjusting the MACD component with volume data. This volume-adjusted MACD is run through two stochastic processes , applying exponential smoothing to enhance responsiveness. Volume sensitivity allows the VASTC to adapt dynamically to periods of high or low trading activity, providing more reliable trend signals.
Recommended Use:
Use VASTC in confluence with other indicators to confirm trend entries and exits. It’s best for identifying early trend setups rather than sustaining prolonged trend trades. When used alongside other indicators, especially those with a longer-term outlook or momentum based trend indicators, you’ll gain a clearer signal for potential exits or entries. Always backtest the VASTC on your chosen assets to determine the most effective input parameters, as the defaults may not suit all markets or assets. Different assets behave differently, and adjustments in parameters can improve its ability to analyze the assets you're looking at.
Parameters:
Length : Sets the primary smoothing length.
Fast/Slow Length : Adjust the speed of the volume-adjusted MACD component.
Factor : Controls the final smoothing applied to the STC.
Overbought/Oversold Levels : Defines overbought/oversold levels.
Experiment with these settings to customize the VASTC to your trading strategy and asset.
Disclaimer : This indicator is a tool to complement your trading analysis and should not be used in isolation. Always backtest and use other confluence signals for best results. The assets I looked at when making this indicator are almost certainly different than what you're looking at.
STC
Adaptive Schaff Trend Cycle (STC) [AlgoAlpha]Introducing the Adaptive Schaff Trend Cycle by AlgoAlpha: Elevate Your Trading Strategies 🚀
Discover precision and adaptability with the Adaptive Schaff Trend Cycle 🎯, meticulously crafted for traders seeking an edge in the markets. This advanced tool integrates sophisticated algorithms to offer clear insights and real-time analytics 📈.
Key Features:
⚙️Adaptive Signal Processing: Utilizes evolving calculations to adjust to market changes, offering highly responsive signals.
🔍Enhanced MACD Analysis: Innovates on the traditional MACD, providing new insights into market dynamics through an adaptive lens.
🎨Customizable Visual Experience: Features customizable up and down colors for tailored chart analysis.
🔔Real-Time Alerts: Stay informed with instant alerts on indicator changes.
Quick Guide to Using the Adaptive STC Indicator
1. 🔧 Adding the Indicator: Search for "Adaptive Schaff Trend Cycle (STC) " within TradingView's Indicators & Strategies and apply it to your chart. Customize the settings according to your trading style for optimum results.
2.👀 Market Analysis: Monitor the STC and Histogram values closely. The indicator's color gradients provide a visual representation of momentum shifts, helping you to identify trends more clearly.
3. 🚨 Set Alerts: Enable alerts for specific conditions like significant moves up or down, or when the histogram crosses zero. This feature ensures you never miss a potential trading opportunity.
How It Works:
The Adaptive Schaff Trend Cycle by AlgoAlpha introduces a dynamic approach to market analysis, refining traditional indicators through adaptive logic to align with fluctuating market conditions. Here's a concise overview of its operation:
🔄 Adaptive MACD Adjustment: The foundation of the indicator is an enhanced MACD calculation, which dynamically adjusts its parameters based on real-time market trends and momentum. This algorithmic adjustment aims to ensure the MACD's responsiveness to market changes, adapting its sensitivity to offer timely insights .
🌟 Integration of Schaff Trend Cycle (STC): After adjusting the MACD, the indicator calculates STC values to provide a smoothed representation of market trends. By normalizing and smoothing the MACD values on a scale from 0 to 100, the STC method helps in identifying market phases with a clear visualization. The smoothing process is designed to mitigate noise and focus on significant market movements .
📊 Visualization and Alerts: To aid in the interpretation of these insights, the Adaptive Schaff Trend Cycle employs color gradients and customizable visual settings to indicate momentum shifts. These visual cues, combined with alert functionalities, are structured to assist traders in monitoring market developments, enabling them to make informed decisions based on the presented data .
🛠️The Adaptive Schaff Trend Cycle thus merges adaptive MACD adjustments with STC methodology, supported by visual and alert features, to create a tool aimed at enhancing market analysis. By focusing on adaptability and current market conditions, it provides a nuanced view of market trends, intended to support traders in their decision-making processes without promising predictive accuracy or reliability .
Trend Deviation strategy - BTC [IkkeOmar]Intro:
This is an example if anyone needs a push to get started with making strategies in pine script. This is an example on BTC, obviously it isn't a good strategy, and I wouldn't share my own good strategies because of alpha decay.
This strategy integrates several technical indicators to determine market trends and potential trade setups. These indicators include:
Directional Movement Index (DMI)
Bollinger Bands (BB)
Schaff Trend Cycle (STC)
Moving Average Convergence Divergence (MACD)
Momentum Indicator
Aroon Indicator
Supertrend Indicator
Relative Strength Index (RSI)
Exponential Moving Average (EMA)
Volume Weighted Average Price (VWAP)
It's crucial for you guys to understand the strengths and weaknesses of each indicator and identify synergies between them to improve the strategy's effectiveness.
Indicator Settings:
DMI (Directional Movement Index):
Length: This parameter determines the number of bars used in calculating the DMI. A higher length may provide smoother results but might lag behind the actual price action.
Bollinger Bands:
Length: This parameter specifies the number of bars used to calculate the moving average for the Bollinger Bands. A longer length results in a smoother average but might lag behind the price action.
Multiplier: The multiplier determines the width of the Bollinger Bands. It scales the standard deviation of the price data. A higher multiplier leads to wider bands, indicating increased volatility, while a lower multiplier results in narrower bands, suggesting decreased volatility.
Schaff Trend Cycle (STC):
Length: This parameter defines the length of the STC calculation. A longer length may result in smoother but slower-moving signals.
Fast Length: Specifies the length of the fast moving average component in the STC calculation.
Slow Length: Specifies the length of the slow moving average component in the STC calculation.
MACD (Moving Average Convergence Divergence):
Fast Length: Determines the number of bars used to calculate the fast EMA (Exponential Moving Average) in the MACD.
Slow Length: Specifies the number of bars used to calculate the slow EMA in the MACD.
Signal Length: Defines the number of bars used to calculate the signal line, which is typically an EMA of the MACD line.
Momentum Indicator:
Length: This parameter sets the number of bars over which momentum is calculated. A longer length may provide smoother momentum readings but might lag behind significant price changes.
Aroon Indicator:
Length: Specifies the number of bars over which the Aroon indicator calculates its values. A longer length may result in smoother Aroon readings but might lag behind significant market movements.
Supertrend Indicator:
Trendline Length: Determines the length of the period used in the Supertrend calculation. A longer length results in a smoother trendline but might lag behind recent price changes.
Trendline Factor: Specifies the multiplier used in calculating the trendline. It affects the sensitivity of the indicator to price changes.
RSI (Relative Strength Index):
Length: This parameter sets the number of bars over which RSI calculates its values. A longer length may result in smoother RSI readings but might lag behind significant price changes.
EMA (Exponential Moving Average):
Fast EMA: Specifies the number of bars used to calculate the fast EMA. A shorter period results in a more responsive EMA to recent price changes.
Slow EMA: Determines the number of bars used to calculate the slow EMA. A longer period results in a smoother EMA but might lag behind recent price changes.
VWAP (Volume Weighted Average Price):
Default settings are typically used for VWAP calculations, which consider the volume traded at each price level over a specific period. This indicator provides insights into the average price weighted by trading volume.
backtest range and rules:
You can specify the start date for backtesting purposes.
You can can select the desired trade direction: Long, Short, or Both.
Entry and Exit Conditions:
LONG:
DMI Cross Up: The Directional Movement Index (DMI) indicates a bullish trend when the positive directional movement (+DI) crosses above the negative directional movement (-DI).
Bollinger Bands (BB): The price is below the upper Bollinger Band, indicating a potential reversal from the upper band.
Momentum Indicator: Momentum is positive, suggesting increasing buying pressure.
MACD (Moving Average Convergence Divergence): The MACD line is above the signal line, indicating bullish momentum.
Supertrend Indicator: The Supertrend indicator signals an uptrend.
Schaff Trend Cycle (STC): The STC indicates a bullish trend.
Aroon Indicator: The Aroon indicator signals a bullish trend or crossover.
When all these conditions are met simultaneously, the strategy considers it a favorable opportunity to enter a long trade.
SHORT:
DMI Cross Down: The Directional Movement Index (DMI) indicates a bearish trend when the negative directional movement (-DI) crosses above the positive directional movement (+DI).
Bollinger Bands (BB): The price is above the lower Bollinger Band, suggesting a potential reversal from the lower band.
Momentum Indicator: Momentum is negative, indicating increasing selling pressure.
MACD (Moving Average Convergence Divergence): The MACD line is below the signal line, signaling bearish momentum.
Supertrend Indicator: The Supertrend indicator signals a downtrend.
Schaff Trend Cycle (STC): The STC indicates a bearish trend.
Aroon Indicator: The Aroon indicator signals a bearish trend or crossover.
When all these conditions align, the strategy considers it an opportune moment to enter a short trade.
Disclaimer:
THIS ISN'T AN OPTIMAL STRATEGY AT ALL! It was just an old project from when I started learning pine script!
The backtest doesn't promise the same results in the future, always do both in-sample and out-of-sample testing when backtesting a strategy. And make sure you forward test it as well before implementing it!
Furthermore this strategy uses both trend and mean-reversion systems, that is usually a no-go if you want to build robust trend systems .
Don't hesitate to comment if you have any questions or if you have some good notes for a beginner.
Moonhub Cycle IndexMoonhub Cycle Index is a composite index derived from three popular technical analysis indicators: Moving Average Convergence Divergence (MACD), Schaff Trend Cycle (STC), and Detrended Price Oscillator (DPO). The indicator is designed to help identify potential trends and market sentiment by combining the unique characteristics of each indicator.
Key components of the indicator include:
Input Parameters:
COEMA Length (len_DIema): The length of the Exponential Moving Average (EMA) applied to the Custom Index. Default is set to 9.
COSMA Length (len_DIsma): The length of the Simple Moving Average (SMA) applied to the Custom Index. Default is set to 30.
Indicators:
MACD: A momentum oscillator that shows the relationship between two moving averages of a security's price. It is calculated using the difference between the 12-period and 26-period EMA, and a 9-period EMA (signal line) of the MACD.
STC: A cyclic indicator that identifies cyclical trends in the market. It is calculated using the Stochastic oscillator formula applied to the close, high, and low prices over a 10-period lookback window.
DPO: A price oscillator that eliminates the trend from price data to focus on underlying cycles. It is calculated using a custom function that shifts the price by half the length and subtracts the SMA from the shifted price.
Custom Index: The composite index is calculated by taking the average of the MACD line, STC, and DPO.
COEMA and COSMA: Exponential and Simple Moving Averages applied to the Custom Index using the lengths specified by the input parameters (len_DIema and len_DIsma).
Plots: The Custom Index, COEMA, and COSMA are plotted with different colors and line widths to visualize their interaction and provide insights into potential market trends.
This Custom Index Indicator can be useful for traders who want to analyze the market using a combination of these indicators to make more informed decisions. It can also help identify potential trends and market sentiment by combining the unique characteristics of each indicator.
Candles - The WhaleThe strategy is based on candle patterns, with confluence indicators. Note some of the candles are rare, they can be found only a specific timeframe, or within specific stocks.
The added patterns are as follows:
- Bullish Engulfing
It is formed by two candles, the second candlestick engulfing the first candlestick. The first candle is a bearish candle that indicates the continuation of the downtrend.
The second candlestick is a long bullish candle that completely engulfs the first candle and shows that the bulls are back in the market.
- Bullish Harami
It consists of two candlestick charts, the first candlestick being a tall bearish candle, and the second, being a small bullish candle which should be in the range of the first candlestick.
The first bearish candle shows the continuation of the bearish trend and the second candle shows that the bulls are back in the market.
- Piercing Line
Two candles from it, the first candle being a bearish candle which indicates the continuation of the downtrend.
The second candle is a bullish candle that opens the gap down but closes more than 50% of the real body of the previous candle, which shows that the bulls are back in the market and a bullish reversal is going to take place.
- Bullish Belt
A Bullish Belt Hold, known as “yorikiri” in Japanese, is a single Japanese candlestick pattern that suggests a possible reversal of the current downtrend.
- Bullish Kicker
A bullish kicker is a two candlestick pattern that’s usually formed after a significant downtrend, but could also appear after an uptrend.
- Abandoned Baby
The abandoned baby candlestick pattern is a three-bar reversal pattern. It is similar to the morning and evening star formations and is a very reliable reversal signal when it occurs after a sharp rise or drop.
- Homing Pigeon
The bullish homing pigeon is a two-candle bullish reversal pattern that occurs at the end of a bearish trend. Both candles are negative, but the second candle is confined within the range of the previous candle.
- Breakaway
Breakaway patterns are multi-candle formations found on Japanese candlestick charts that suggest a market reversal may be in the offing. An actual breakaway is a five candlestick formation that occurs in either an upward or downward trend.
- Concealing Baby Swallow
The Concealing Baby Swallow candlestick pattern is a four-candlestick pattern that can signal a bullish reversal price movement or a bearish continuation move, depending on where it occurs in the overall market structure. However, the pattern is quite rare, and you may not encounter it in your trading.
- Doji Dragonfly
A dragonfly doji can be an indicator of a reversal in price. When the price of a security has shown a downward trend, it might signal an upcoming price increase.
- Doji Gravestone
The Gravestone Doji forms when the price closes at relatively the same level where it opened, providing that the open coincides with the low or at least the two are very close
- Doji Star
Consists of a long bullish candle, followed by a Doji that gaps up, then a third bearish candle that gaps down and closes well within the body of the first candle. An Evening Doji Star is a three-candle bearish reversal pattern similar to the Evening Star.
- Kicker
A kicker pattern is a two-bar candlestick pattern that predicts a change in the direction of an asset's price trend. This pattern is characterized by a sharp reversal in price over the span of two candlesticks. Traders use it to determine which group of market participants is in control of the direction.
- Ladder Bottom
Is a five-candle bullish reversal pattern that occurs at the end of a bullish trend. The four first candles are bearish and followed by a positive candle that starts with a positive gap.
- MatHold
A bullish pattern begins with a large bullish candle followed by a gap higher and three smaller candles which move lower.
- Matching Low
A matching low is a bullish two-candle reversal pattern that forms in an ongoing downtrend. As to its appearance, a matching low consists of two candlesticks that are negative, but the close at or around the same price.
- Meeting Lines
Bullish meeting lines are a two-candle bullish reversal pattern that occurs in a downtrend and signals a reversal of the trend. The first candle of the bullish meeting lines is bearish, and followed by a positive candle that closes very near the close of the previous candle.
- Morning Doji Star
It is made of 3 candlesticks, the first being a bearish candle, the second, a Doji, and the third being a bullish candle.
The first candle shows the continuation of the downtrend. The second candle being a doji indicates indecision in the market. The third bullish candle shows that the bulls are back in the market and a reversal will take place. The second candle should be completely out of the real bodies of the first and third candles.
- Rising Three Method1
Rising three methods is a bullish continuation pattern that appears in an ongoing uptrend. The Rising three methods pattern consists of five candles. where the first and last candles are long and bullish, with three small bearish candles in between.
- Rising Three Method2
It is the same as "Rising Three Method1" but with a different calculation
- Upside Tasuki Gap1
Is a bullish continuation candlestick pattern that forms in an ongoing uptrend. It consists of three candles, where the two first are bullish with a positive gap in-between, and followed by a negative candle that closes in the gap formed between the first two candles.
- Upside Tasuki Gap2
It is the same as "Upside Tasuki Gap1" but with a different calculation
- Three Line Strike1
Is a four-candle bullish continuation candlestick pattern. It forms a bullish trend and is believed to signal the continuation of the bullish trend.
- Three Line Strike2
It is the same as "Three Line Strike2" but with a different calculation
The confluence indicators:
Movement Averages: multi options checks, you can select what to check to open a position, and the description of each open is in the strategy.
Volume Oscillator: positive signal if the volume is above zero.
EMA: positive signal if the candle source is above EMA.
VWAP: positive signal if the candle source is above VWAP.
BTC Trend: it is an equation to track the BTC price movement
The profit is based on TSL, while the stop loss is based on ATR, or lowest candle.
The recommended time frame is 4 hours.
Strategy Myth-Busting #1 - UT Bot+STC+Hull [MYN]This is part of a new series we are calling "Strategy Myth-Busting" where we take open public manual trading strategies and automate them. The goal is to not only validate the authenticity of the claims but to provide an automated version for traders who wish to trade autonomously.
Our first one is an automated version of the " The ULTIMATE Scalping Trading Strategy for 2022 " strategy from " My Trading Journey " who claims to have achieved not only profits but a 98.3% win rate. As you can see from the backtest results below, I was unable to substantiate anything close to that that claim on the same symbol (NVDA), timeframe (5m) with identical instrument settings that " My Trading Journey " was demonstrating with. Strategy Busted.
If you know of or have a strategy you want to see myth-busted or just have an idea for one, please feel free to message me.
This strategy uses a combination of 3 open-source public indicators:
UT Bot Alerts by QuantNomad
STC Indicator - A Better MACD By shayankm
Basic Hull Ma Pack tinkered by InSilico
Trading Rules:
5 min candles
Long
New Buy Signal from UT Bot Alerts Strategy
STC is green and below 25 and rising
Hull Suite is green
Short
New Sell Signal from UT Bot Alerts Strategy
STC is red and above 75 and falling
Hull Suite is red
Trend trader + STC [CHFIF] - CV This script is my first strategy script coupling the Trend trader (indicator developed by Andrew Abraham in the Trading the Trend article of TASC September 1998.) and Schaff Trend Cycle . The STC indicator is widely used to identify trends and their directions. It is sometimes used by traders to predict trend reversals as well. Based on the movement of the Schaff Trend Cycle , buy or sell signals are generated, which are then used by traders to initiate either long or short positions.
Around I built a user interface to help you in creating a customized strategy to your need.
My idea behind doing this was to make customizable parameters and back testing easier than manually with a lot of flexibility and options. More possibility we have, more solutions we find right? So I started this script few weeks ago to be my first script (second in reality, but first to be published.)
Strategy it self is made out of 2 simple step:
1→ STC gives a Buy/Sell signal.
2→Price is closing above the TT (Buy) or below (Sell) and the signal is the same as given by the STC .
To complete your strategy in order to reach the best result, I added few options:
→ Money management: Define the type of risk you want to take (entry risk will always risk the same percentage of your portfolio disregarding the size of the SL, Fix amount of money, fix amount of the capital (portfolio). NOTE: Margin is not coded yet, target is to show liquidation price. Please keep an eye on the releases to know when it is released.
→ Stop loss and Take profit management: Define the type of target you want to use (ATR, fixed percentage, pivots points) and even customise different take profit level or activate the trailing. Each type of target is customizable via the menu
→ Moving average: You can also complete the strategy using different moving average. To draw it tick the box on the left, to use it in the calculation of the result, tick the box "Price>MA" in front of the needed EMA . You can select different type of MA ( SMA , EMA , DEMA , TEMA , RMA, HMA , WMA , VWAP , VWMA , etc...)
→ RSI: 4 possible approach to use the RSI to complement the strategy:
• OB/OS => short position will be taken only if RSI goes under the lower limit. Long if the RSI goes above the limit. Ticking confirmation will wait to cross back the limit to validate the condition
• Rev OB/OS => Short will be taken if RSI is below lower limit and stays below. Long will be taken if RSI is above upper limit and stays above.
• MA dominance => RSI has to be above MA for long, below for short. Confirmation box ticked requires 2 bars with the RSI on a side to validate signal.
• MA Dominance + limit => It is a combination of the requirement of the provious option and also Rev. OB/OS
→ Volume confirmation => This will consider the volume MA for entry confirmation. The volume will have to be above the MA define by the value entered in the field.
→ Waddah Attar explosion indicator can also be used as a filter for entries in this way:
• Explosion line > dead zone to validate entries
• Trend > dead zone to validate entry
• Both > dead zone is a compound of both rules above to get entry confirmation
→ ADX can also be used as a filter. I added 2 Threshold in order to have a minimum level of acceptance for valid entry but also a maximum level.
When your strategy is setup, you can setup alerts and I would recommend to setup the date range before doing the alerts. Why? Simply because the script do not cover pyramiding and will give a signal only if a trade is not ongoing.
In setting up the sessions at which you would want to trade, no signal within those range can be missed. You can setup 2 sessions, the days and also the global range of backtesting.
MM SIGMA STC+ADXThe Schaff Trend Cycle (STC) is a charting indicator that is commonly used to identify market trends and provide buy and sell signals to traders. Developed in 1999 by noted currency trader Doug Schaff, STC is a type of oscillator and is based on the assumption that, regardless of time frame, currency trends accelerate and decelerate in cyclical patterns.12
How STC Works
Many traders are familiar with the moving average convergence/divergence (MACD) charting tool, which is an indicator that is used to forecast price action and is notorious for lagging due to its slow responsive signal line . By contrast, STC’s signal line enables it to detect trends sooner. In fact, it typically identifies up and downtrends long before MACD indicator.
While STC is computed using the same exponential moving averages as MACD, it adds a novel cycle component to improve accuracy and reliability. While MACD is simply computed using a series of moving average, the cycle aspect of STC is based on time (e.g., number of days).
It should also be noted that, although STC was developed primarily for fast currency markets, it may be effectively employed across all markets, just like MACD. It can be applied to intraday charts, such as five minutes or one-hour charts, as well as daily, weekly, or monthly time frames.
Introduction to ADX
ADX is used to quantify trend strength. ADX calculations are based on a moving average of price range expansion over a given period of time. The default setting is 14 bars, although other time periods can be used.1 ADX can be used on any trading vehicle such as stocks, mutual funds, exchange-traded funds and futures.
ADX is plotted as a single line with values ranging from a low of zero to a high of 100. ADX is non-directional; it registers trend strength whether price is trending up or down.2 The indicator is usually plotted in the same window as the two directional movement indicator (DMI) lines, from which ADX is derived (shown below).Quantifying Trend Strength
ADX values help traders identify the strongest and most profitable trends to trade. The values are also important for distinguishing between trending and non-trending conditions. Many traders will use ADX readings above 25 to suggest that the trend is strong enough for trend-trading strategies. Conversely, when ADX is below 25, many will avoid trend-trading strategies.
ADX Value Trend Strength
0-25 Absent or Weak Trend
25-50 Strong Trend
50-75 Very Strong Trend
75-100 Extremely Strong Trend
Low ADX is usually a sign of accumulation or distribution. When ADX is below 25 for more than 30 bars, price enters range conditions, and price patterns are often easier to identify. Price then moves up and down between resistance and support to find selling and buying interest, respectively. From low ADX conditions, price will eventually break out into a trend. Below, the price moves from a low ADX price channel to an uptrend with strong ADX.
Added Buy/Sell alerts
ADX filters based on the threshold you put in the settings.
great for trend and trade confirmation
[UPRIGHT Trading] Awesome STC+Hello Traders,
I hope you all are doing well.
Today I'm releasing another one of my favorites: the Schaff Trend Cycle (STC). In 2008, Doug Schaff publically released the STC as an improvement on cycle oscillators and the MACD, hence its common nickname, "The better MACD."
This oscillator is essentially a fusion of the benefits of trend and cycle indicators; the idea is to minimize their drawbacks, such as lags or false signals. The STC is mainly used to determine or confirm price direction and market reversals.
We calculate the STC as a double smoothed stochastic of the MACD, which outputs an oscillator that moves between 0 and 100.
How is it typically used?
In trending markets, we can expect the oscillator to move up if the market is in the accelerating uptrend and an accelerating downtrend are to push the oscillator down.
In sideways markets, the STC shows oversold when it reverses after falling below 25; overbought when the STC turns down from above 75.
How the Awesome STC+ is different:
This STC uses several complex equations and filters to improve accuracy and reduce lag.
My original STC wave.
Multiple extremely accurate Buy/Sell signals not found on a traditional STC indicator.
Ability to use 4 different background highlights and several buy/sell and confirmation signals.
Fully customizable (as always), ability to turn on or off any signals, change any of the colors to suit your needs.
Pre-filled Alerts.
Reversals and Continuations.
Chart should look like this:
Please see the "Author's Instructions" for access.
Cheers,
Mike
(UPRIGHT Trading)
Strategy - Uber STC - Schaff Trend Cycle [UTS]Backtesting of Uber STC - Schaff Trend Cycle
Backtest with focus win/loss profitability.
Formula: profitability = win / (win+loss)
Default equity 100k USD
Default 2% Risk per trade
Default currency USD
Define backtest interval precisely by month, year, day
LONG and SHORT positions
Visualize SL and TP on chart
ATR (len: 14, smooth: SMA)
ATR based Stop-Loss, if hit trade will be closed and considered as loss
ATR based Take-Profit, if hit trade will be closed and considered as win
On TP or SL hit the trade is closed and marked as win/loss
STC w/ Zero Lag MACDSTC + Zero Lag MACD (includes regular MACD also)
What I added here was two other variables
The Schaff Trend Cycle working with Zero Lag Macd to give you double confirmation on your Higher Time Frame entries such as 4H, 6H, and Daily.
You may also turn on regular MACD instead of Zero Lag, if you'd like.
***Red Dot for Bear
***Green Dot for Bull
***Higher Confirmation is:
Red Dot + Red MACD for Bear
Green Dot + Green MACD for Bull
More confirmation to come!
CHEERS
If you would like to get in contact with me, please reach out to me via DM here, or Twitter. It's the best way to get in touch with me in regards to indicators, and market analysis. Enjoy!
-RingoKid
WOMBO COMBO: EMA & VWAP & MACD & BB & STCHello my fellow investors,
After hours of reading, backtesting, and YouTube video watching I discovered that EMA, VWAP, BB, MACD, and STC produce the most consistent results for investment planning. This strategy allows you to pick between the aforementioned indicators or layer them together.
It works on the pricipal of:
1) Always follow the market trend - buy/sell above/below 200EMA
2) Follow corporate investing trends - buy/sell above/below VWAP
3) Apply MACD check - buy--> MACD line above signal line and corssover below histogram \\ sell --> MACD line below signal line and crossover above histogram.
4) Check volitility with price against BB limits upper/Sell or lower/buy
5) When STC crosses about 10 buy and when it drops below 90 sell
6) Exit position when stop loss is triggered or profit target is hit. BB also provides a parameter to exit positions.
This code is the product of many hours of hard work on the part of the greater tradingview community. The credit goes to everyone in the community who has put code out there for the greater good.
Schaff Trend Cycle w/ MACD HistogramWhat Is Schaff Trend Cycle? (Reference from Investopedia)
The Schaff Trend Cycle (STC) is a charting indicator that is commonly used to identify market trends and provide buy and sell signals to traders. Developed in 1999 by noted currency trader Doug Schaff, STC is a type of oscillator and is based on the assumption that, regardless of time frame, currency trends accelerate and decelerate in cyclical patterns.
How STC Works
Many traders are familiar with moving average convergence/divergence (MACD) charting tool, which is an indicator that is used to forecast price action and is notorious for lagging due to its slow responsive signal line . By contrast, STC’s signal line enables it to detect trends sooner. In fact, it typically identifies up and downtrends long before MACD indicator.
While STC is computed using the same exponential moving averages as MACD, it adds a novel cycle component to improve accuracy and reliability. While MACD is simply computed using a series of moving average, the cycle aspect of STC is based on time (e.g. number of days).
It should also be noted that, although STC was developed primarily for fast currency markets, it may be effectively employed across all markets, just like MACD. It can be applied to intraday charts, such as five minutes or one hour charts, as well as daily, weekly, or monthly time frames.
What's included the indicator?
Zero MACD lag algorithm (can be enabled/disabled)
MACD Histogram (has a different calculation to show the trend clearly. Can revert to original algo but will not truly reflect the current trend.)
Histogram peaks
STC pivots
How to use this indicator?
Use the STC overbought/oversold to determine trend strength.
Use the MACD zeroline crossover to determine the trend if bull/bear
For risky trades:
Long or cover when STC shows a bullish pivot. Exit or short on STC bear pivots
For conservative trades:
Long when MACD histogram crosses above midline. Exit or short on STC bear pivots
Settings:
Default is Fast - 5, Slow - 20. You can turn it up to Fast - 10, Slow - 30.
You can enable or disable certain features if you dont like to see them.
Russ Renko STCTraders,
This indicator is a Renko version of the Schaff Trend Cycle (STC). It is not meant to be used alone but as confirmation tool. Buy when green arrow appears, short when red arrow appears if your other indicators agree.
It works equally well on all time frames using ATR Renko brick sizes as well as when using custom brick sizes on a 1 min Renko chart. This is a version 3 script with no repainting.
russrenko.com
Thank you,
Russ Renko
STC Indicator - A Better MACD [SHK]The Schaff Trend Cycle indicator is the product of combining Slow Stochastics and the moving average convergence/divergence (MACD). The MACD has a reputation as a trend indicator, but it's also notorious for lagging due to its slow responsive signal line. The improved signal line gives the STC its relevance as an early warning sign to detect currency trends.
Read more on Investopedia:
Schaff Trend: A Faster And More Accurate Indicator