General Description and Unique Features of this Script
Introducing the ultimate trend-following (long-only) strategy that offers a unique feature you won't find anywhere else!
1. Our script/strategy utilizes Mark Minervini's Trend-Template as a qualifier for identifying stocks and other financial securities in confirmed uptrends. Mark Minervini, a 3x US Investment Champion, developed the Trend-Template, which covers eight different and independent characteristics that can be adjusted and optimized in this trend-following strategy to ensure the best results. The strategy will only trigger buy-signals in case the optimized qualifiers are being met.
2. Our strategy is based on supply/demand balance in the market, making it timeless and effective across all timeframes. Whether you're day trading using 1- or 5-min charts or swing-trading using daily charts, this strategy can be applied and works very well.
3. We also incorporate technical indicators such as RSI and MACD to identify low-risk pullback entries in the context of confirmed uptrends. By doing so, the risk profile of this strategy and drawdowns are being reduced to an absolute minimum, giving you peace of mind while trading.
Minervini’s Trend-Template and the ‘Stage-Analysis’ of the Markets
This strategy is a so-called 'long-only' strategy. This means that we only take long positions, short positions are not considered. The best market environment for such strategies are periods of stable upward trends in the so-called stage 2 - uptrend. In stable upward trends, we increase our market exposure and risk. In sideways markets and downward trends or bear markets, we reduce our exposure very quickly or go 100% to cash and wait for the markets to recover and improve. This allows us to avoid major losses and drawdowns.
This simple rule gives us a significant advantage over most undisciplined traders and amateurs!
'The Trend is your Friend'. This is a very old but true quote. What's behind it???
• 98% of stocks made their biggest gains in a Phase 2 upward trend. • If a stock is in a stable uptrend, this is evidence that larger institutions are buying the stock sustainably. • By focusing on stocks that are in a stable uptrend, the chances of profit are significantly increased. • In a stable uptrend, investors know exactly what to expect from further price developments. This makes it possible to locate low-risk entry points.
The goal is not to buy at the lowest price – the goal is to buy at the right price!
Each stock goes through the same maturity cycle – it starts at stage 1 and ends at stage 4
This strategy focuses on identifying stocks in confirmed stage 2 uptrends. This in itself gives us an advantage over long-term investors and less professional traders.
By focusing on stocks in a stage 2 uptrend, we avoid losses in downtrends (stage 4) or less profitable consolidation phases (stages 1 and 3). We are fully invested and put our money to work for us, and we are fully invested when stocks are in their stage 2 uptrends.
But how can we use technical chart analysis to find stocks that are in a stable stage 2 uptrend?
Mark Minervini has developed the so-called 'trend template' for this purpose. This is an essential part of our JS-TechTrading pullback strategy. For our watchlists, only those individual values that meet the tough requirements of Minervini's trend template are eligible.
The Trend Template
• 200d MA increasing over a period of at least 1 month, better 4-5 months or longer • 150d MA above 200d MA • 50d MA above 150d MA and 200d MA • Course above 50d MA, 150d MA and 200d MA • Ideally, the 50d MA is increasing over at least 1 month • Price at least 25% above the 52w low • Price within 25% of 52w high • High relative strength according to IBD.
We have developed an algorythm (for TradingView) that uses Minervini’s trend template as a qualifier. This means that the strategy only generates trading signals in case the selected elements of the trend template are being met. The user is fully flexible to adjust the requirements of this Trend-Template qualifier:
This strategy is normally applied to the daily chart ideal for selecting individual stocks for trend-following strategies. Nevertheless, Minervini’s principles are timeless and this alogrithmic strategy with the Trend-Template qualifier can also be applied to any other timframe. The qualifier #9 (RS-Ratings) can be modified and optimized in the strategy’s settings to fit your individual needs. In general, it should be noted that ideally all 8/8 trend template criteria are met. Stocks or other securities that meet only some of these 8 criteria can also be very promising candidates for this strategy, provided that backtesting yields good results.
The Pullback Strategy
For the JS-TechTrading pullback strategy, only stocks and other financial instruments that meet the selected criteria of Mark Minervini's trend template are considered. If not, the strategy will not generate any signals. Further prerequisites for generating a buy signal is that the individual value is in a short-term oversold state (RSI). When the selling pressure is over and the continuation of the uptrend can be confirmed by the MACD after reaching a price low, a buy signal is issued by the pullback strategy. Stop-loss limits and profit targets can be set variably.
Relative Strength Index (RSI)
The Relative Strength Index (RSI) is a technical indicator developed by Welles Wilder in 1978. The RSI is used to perform a market value analysis and identify the strength of a trend as well as overbought and oversold conditions. The indicator is calculated on a scale from 0 to 100 and shows how much an asset has risen or fallen relative to its own price in recent periods.
The RSI is calculated as the ratio of average profits to average losses over a certain period of time. A high value of the RSI indicates an overbought situation, while a low value indicates an oversold situation. Typically, a value > 70 is considered an overbought threshold and a value < 30 is considered an oversold threshold. A value above 70 signals that a single value may be overvalued and a decrease in price is likely , while a value below 30 signals that a single value may be undervalued and an increase in price is likely. For example, let's say you're watching a stock XYZ. After a prolonged falling movement, the RSI value of this stock has fallen to 26. This means that the stock is oversold and that it is time for a potential recovery. Therefore, a trader might decide to buy this stock in the hope that it will rise again soon.
Moving Average Convergence Divergence (MACD)
The MACD (Moving Average Convergence Divergence) is a technical indicator used in both short-term and long-term trading strategies. The indicator was developed by Gerald Appel and is one of the most well-known indicators for the stock market. The MACD consists of two lines calculated by the difference between two moving averages. The first line is a fast moving average that targets a short period of time. The second line is a slow moving average that targets a longer period of time. In addition, a trigger line is calculated, which consists of another moving average of the MACD line. The MACD line is the difference between the fast and slow moving average. The greater the difference between the two lines, the more likely a subsequent price increase. The lower the difference, the more likely a subsequent price drop is. If the MACD line crosses upwards over the trigger line, this is a buy signal that signals a potential price increase. If the MACD line crosses down below the trigger line, this is a sell signal that signals a potential price weakening.
This strategy is applicable to all timeframes and the relevant parameters for the underlying indicators (RSI and MACD) can be adjusted and optimized as needed.
Backtesting
Backtesting give outstanding results on all timeframes and drawdowns can be reduced to a minimum level. Swing-Traders (daily charts) will see that the strategy does not give any buy signals during market corrections and bear markets. Settings for backtesting are: - Period from Jan 2000 until now - Starting capital 100k USD - Position size = 25% of equity - 0.01% commission = USD 2.50.- per Trade
Other comments
• This strategy has been designed to identify the most promising, highest probability entries and trades for each stock or other financial security. • The trend-template qualifier is highly selective and filters out the most promising swing-trading entries. As a result, you will normally only find a single-digit number of trades for each stock or other financial security per year in case you apply this strategy for the daily charts. Shorter timeframes will result in a higher number of trades / year. • As a result, traders need to apply this strategy for a full watchlist rather than just one financial security.
版本注释
The following changes have been implemented into this update (version 2) of the ‘Minervini Pullback Strategy_Trend-Template Qualifier’:
1. Both the backtesting results and the real-time trading signals are now based on real-time prices versus the close of the candles in the previous version. This further improves the efficiency of the trading-robot.
2. A new drop-down menu has been implemented for a) backtesting and b) generating real-time trading signals. Background is that strategies which do not have this function are subject to misses with regards to real-time trading signals. The alerts for real-time trading can be modified.