Dual RSI Differential - Strategy [presentTrading]█ Introduction and How it is Different
The Dual RSI Differential Strategy introduces a nuanced approach to market analysis and trading decisions by utilizing two Relative Strength Index (RSI) indicators calculated over different time periods. Unlike traditional strategies that employ a single RSI and may signal premature or delayed entries, this method leverages the differential between a shorter and a longer RSI. This approach pinpoints more precise entry and exit points, providing a refined tool for traders to exploit market conditions effectively, particularly in overbought and oversold scenarios.
Most important: it is a good eductional code for swing trading.
For beginners, this Pine Script provides a complete function that includes crucial elements such as holding days and the option to configure take profit/stop loss settings:
- Hold Days: This feature ensures that trades are not exited too hastily, helping traders to ride out short-term market volatility. It's particularly valuable for swing trading where maintaining positions slightly longer can lead to capturing significant trends.
- TPSL Condition (None by default): This setting allows traders to focus solely on the strategy's robust entry and exit signals without being constrained by preset profit or loss limits. This flexibility is crucial for learning to adjust strategy settings based on personal risk tolerance and market observations.
BTCUSD 6h LS Performance
█ Strategy, How It Works: Detailed Explanation
🔶 RSI Calculation:
The RSI is a momentum oscillator that measures the speed and change of price movements. It is calculated using the formula:
RSI = 100 - (100 / (1 + RS))
Where RS (Relative Strength) = Average Gain of up periods / Average Loss of down periods.
🔶 Dual RSI Setup:
This strategy involves two RSI indicators:
RSI_Short (RSI_21): Calculated over a short period (21 days).
RSI_Long (RSI_42): Calculated over a longer period (42 days).
Differential Calculation:
The strategy focuses on the differential between these two RSIs:
RSI Differential = RSI_Long - RSI_Short
This differential helps to identify when the shorter-term sentiment diverges from longer-term trends, signaling potential trading opportunities.
BTCUSD Local picuture
🔶 Signal Triggers:
Entry Signal: A buy (long) signal is triggered when the RSI Differential exceeds -5, suggesting strengthening short-term momentum. Conversely, a sell (short) signal occurs when the RSI Differential falls below +5, indicating weakening short-term momentum.
Exit Signal: Trades are generally exited when the RSI Differential reverses past these thresholds, indicating a potential momentum shift.
█ Trade Direction
This strategy accommodates various trading preferences by allowing selections among long, short, or both directions, thus enabling traders to capitalize on diverse market movements and volatility.
█ Usage
The Dual RSI Differential Strategy is particularly suited for:
Traders who prefer a systematic approach to capture market trends.
Those who seek to minimize risks associated with rapid and unexpected market movements.
Traders who value strategies that can be finely tuned to different market conditions.
█ Default Settings
- Trading Direction: Both — allows capturing of upward and downward market movements.
- Short RSI Period: 21 days — balances sensitivity to market movements.
- Long RSI Period: 42 days — smoothens out longer-term fluctuations to provide a clearer market trend.
- RSI Difference Level: 5 — minimizes false signals by setting a moderate threshold for action.
Use Hold Days: True — introduces a temporal element to trading strategy, holding positions to potentially enhance outcomes.
- Hold Days: 5 — ensures that trades are not exited too hastily, helping to ride out short-term volatility.
- TPSL Condition: None — enables traders to focus solely on the strategy's entry and exit signals without preset profit or loss limits.
- Take Profit Percentage: 15% — aims for significant market moves to lock in profits.
- Stop Loss Percentage: 10% — safeguards against large losses, essential for long-term capital preservation.
Swingtrading
SMT/Divergence Suite (any Indicator)Hello Traders!
The TRN SMT/Divergence Suite detects divergences for any given indicator, even custom ones and divergences any two given instruments (SMT – smart money technique/tool). The indicator finds with unrivaled precision bullish and bearish as well as regular and hidden divergences. The main difference compared to other SMT/divergences indicators is that this indicator finds rigorously the extreme peaks of each swing, both in price and in the corresponding indicator/instrument. This precision is unmatched and therefore this is one of the best SMT/divergences detectors. The indicator helps traders to identify potential changes in trend before they occur.
Feature List
Works with any given custom oscillators or indicator
SMT (Smart Money Technique)/Divergence detecting for any given instruments
11 different build-in oscillators (incl. Cumulative Delta)
Customizable look and feel
The TRN SMT/Divergence Suite works with any given indicator, even custom ones. In addition, there are 11 built-in indicators. We have chosen a selection of different momentum, trend following and volume oscillators that gives you maximum flexibility. Most noticeable is the cumulative delta indicator, which works astonishingly well as a divergence indicator.
Following is the full list of the build in indicators/oscillators:
Awesome Oscillator (AO)
Commodity Channel Index (CCI)
Cumulative Delta Volume (CDV)
Chaikin Money Flow (CMF)
Moving Average Convergence Divergence (MACD)
Money Flow Index (MFI)
Momentum
On Balance Volume (OBV)
Relative Strength Index (RSI)
Stochastic
Williams Percentage Range (W%R)
The divergences are colored with vivid lines and labels. Bullish divergences are distinguished with luminous blue lines, while bearish divergences are denoted by striking red lines. Upon detecting a divergence, the colored lines act as a visual indicator for traders, signaling an imminent possibility of a trend reversal. In response, traders can leverage this valuable insight to make informed decisions in their trading activities.
Choose Your Custom Divergence Indicator
Handpick your custom indicator, and the TRN SMT/Divergence Suite will hunt for divergences in your preferred market and timeframe. Importantly, you must add the indicator to your chart. Afterwards, simply go to the “Parameters” section in the indicator settings and choose "External Indicator/SMT". If the custom indicator has one reference value, then choose this value in the “External Indicator/SMT (High)” field. If there are high and low values (e.g. candles), then you also must set the “External Indicator Low/SMT” field.
In the provided graphic, we've chosen the stochastic RSI as our example, and as you can see, the TRN SMT/Divergence Suite instantly identifies and plots bullish and bearish divergences on your chart.
Make sure that the TRN SMT/Divergence Suite is in the same panel as the custom divergence indicator and that both indicators are pinned to the same scale of your chart.
Smart Money Technique (SMT)/Divergence detecting in Relation to other Instruments
Smart Money Technique/Tool (SMT) means the divergence detection between two related instruments. The TRN SMT/Divergence Suite finds divergences in relation to other instruments, e.g. NQ vs. ES or BTCUSDT vs. ETHUSDT. Just add another instrument to the chart. As representation style you can choose lines or candles/bars. Afterwards, simply go to the “Parameters” section in the indicator settings and choose "External Indicator/SMT". If the second instrument is represented as line, then choose this value in the “External Indicator/SMT (High)” field. If there are high and low values (e.g. candles/bars), then you also must set the “External Indicator/SMT Low” field.
The detection of SMTs can help traders to decide whether the trend continues, or a reversal is imminent. E.g. if the NQ makes a new higher high but the ES fails to do so and makes a new lower high, then the TRN SMT/Divergence Suite shows a divergence. As a result, the probability is high that the trend will not continue, and the trader can make an informed decision about what to do next.
How to set Parameters for Divergence Indicators
To begin, access the indicator settings. Look for the "Parameters" section where you can fine-tune Parameters 1-3. The default settings are already optimized for the oscillators AO, RSI, CDV, W%R, MFI and Stochastic. For other divergence indicators, you might want to adjust the settings to your liking. The parameter order is the same as in the corresponding divergence indicator.
What are Divergences?
When the price of an asset moves in one direction, but its indicators move in the opposite direction, this is called a divergence. Divergences can be a powerful signal that a trend reversal is about to occur.
There are two types of regular divergences: bullish and bearish. A bullish divergence occurs when the price of an asset makes a lower low, but its indicators make a higher low. This can be a sign that the asset is oversold and that a reversal is imminent. A bearish divergence, on the other hand, occurs when the price of an asset makes a higher high, but its indicators (such as Relative Strength Index - RSI) make a lower high. This can be a sign that the asset is overbought and that a reversal is imminent.
Next to regular divergences there are hidden divergences. These divergences occur when the price of an asset moves in the opposite direction of an indicator, suggesting a possible shift in the underlying trend. In trading, hidden bearish and hidden bullish divergences are patterns that traders often look for on price charts to identify potential trend reversals or continuation patterns.
Conclusion
While signals from TRN SMT/Divergence Suite can be informative, it is important to recognize that their reliability may vary. Bearish and bullish divergences are not foolproof indicators and should be used in conjunction with other analysis techniques and risk management strategies.
Risk Disclaimer
The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.
Trend and Reversal ScannerHello Traders!
The TRN Trend and Reversal Scanner highlights in a user-friendly and easy to read table trend and reversal signals from up to 20 assets of your choosing. With it, you can efficiently monitor your preferred instruments simultaneously without jumping from one chart to the next. You will never miss a signal again. The indicator automatically finds swing-based up and down trends, bullish and bearish divergences, detects ranges and range breakouts as well as trend and reversal signals by the built-in trend detection algorithm called TRN Bars. Furthermore, you can conveniently stay updated with real-time alerts, notifying you whenever the scanner finds interesting market situations.
Feature List
Swing-based up and down trend detection
Divergence detection for any given (Custom) Indicator
Price range and breakout detection
Bar trend and reversal detection
Scanner alerts
The value of this indicator is to support traders to easily identify trend-based signals in an automated way and across many different markets at the same time. The trader saves a lot of time scanning the markets for up and down swings, divergences, consolidations and bar pattern-based trends and reversals, since finding and alerting these signals is done automatically for the trader.
For a visualization of the detected signals, you can add the TRN Bars and the Swing Suite indicator to your chart.
How does Trend Scanner work?
On the right side of the chart, you can find a table displaying the symbols monitored by the TRN Trend and Reversal Scanner for signal detection (first column). The table provides information on the status of each symbol. This visual representation allows you to quickly identify evolving signals across different symbols, helping you stay informed and make timely trading decisions.
The scanner operates specifically on the timeframe you are currently viewing, ensuring that the detected signals align precisely with your trading perspective.
In the following, we will describe the different signals displayed in the different columns of the table
Column 1 – Symbols
Column 2 – Bar Trend & Signals
Column 3 – Up & Down Swing Trend
Column 4 – Ranges & Range Breakouts
Column 5 – Bullish Divergences
Column 6 – Bearish Divergences
Bar Trend & Signals
In the second column, you can observe the status of TRN Bars, the built-in trend detection algorithm.
UP – Uptrend
DN – Downtrend
REV (Green) – Bullish Reversal Bar
REV (Red) – Bearish Reversal Bar
CON (Green) – Bullish Continuation Bar
CON (Red) – Bearish Continuation Bar
B/O (Green) – Bullish Range Breakout Bar
B/O (Red) – Bearish Range Breakout Bar
TRN Bars is designed to spot bullish and bearish trends and reversals. The trend analysis is based on a new algorithm that weights several different inputs:
classical and advanced bar patterns and their statistical frequency
probability distributions of price expansions after certain bar patterns
bar information such as wick length in %, overlapping of the previous bar in % and many more
historical trend and consolidation analysis
It provides high-probability trend continuation analysis and reversal detections.
Up and Downtrend
The second column (Trend) indicates whether the price of the asset moves within an uptrend (UP) or a downtrend (DN), as detected by our unique swing detection algorithm, on the selected timeframe.
The swing detection algorithm identifies pivot points (swings) with high accuracy. It works in real-time and does not need a look-a-head to find swings.
Ranges & Range Breakouts
The third column provides insights into the price behavior of a symbol within the selected timeframe, as analyzed by the range feature of the TRN Bars algorithm.
ACTIVE – Price moves within a price range
UP – Breakout detected
DN – Breakdown detected
UP CONF – Breakout confirmed
DN CONF – Breakdown confirmed
The bar range feature automatically finds consolidations where the price range of several consecutives bars is rather small. The detection of the bar ranges includes among other things the overlapping percentage of these bars.
Divergence Detection for any given (Custom) Indicator
The divergence detector finds with unrivaled precision bullish and bearish as well as regular and hidden divergences. The main difference compared to other divergences indicators is that this indicator finds rigorously the extreme peaks of each swing, both in price and in the corresponding indicator. This precision is unmatched and therefore this is one of the best divergences detectors.
The build in divergence detector works with any given indicator, even custom ones. In addition, there are 11 built-in indicators. Most noticeable is the cumulative delta indicator, which works astonishingly well as a divergence indicator. Full list:
External Indicator (see next section for the setup)
Awesome Oscillator (AO)
Commodity Channel Index (CCI)
Cumulative Delta Volume (CDV)
Chaikin Money Flow (CMF)
Moving Average Convergence Divergence (MACD)
Money Flow Index (MFI)
Momentum
On Balance Volume (OBV)
Relative Strength Index (RSI)
Stochastic
Williams Percentage Range (W%R)
Another highlight of the divergence detection is that it works with every indicator, even custom ones. To do this, you must add the (custom) indicator to your chart. Afterwards, simply go to the “Divergence Detection” section in the indicator settings and choose "External Indicator". If the custom indicator has one reference value, then choose this value in the “External Indicator (High)” field. If there are high and low values (e.g. candles), then you also must set the “External Indicator Low” field.
The visualization of the divergence detection is represented in the fifth column (Div Bull) and the sixth and last column (Div Bear).
REG – Regular divergence detected
HID – Hidden divergence detected
Scanner Alerts
You can opt to receive alerts for the following scenarios:
Detected up and down swings
Detected bullish and bearish divergences
Detected bar trend changes
Confirmed Reversal Bars
Confirmed Continuation Bars
Confirmed ange breakouts
The alert function is activated for all symbols listed in the scanner and corresponds to the timeframe of the chart you are currently viewing. This ensures that you receive alerts specifically tailored to the symbols and timeframe you are interested in.
Risk Disclaimer
The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.
Swing Suite (SMT/Divergences + Gann Swings)Hello Traders!
TRN Swing Suite (SMT/Divergences + Gann Swings) is an indicator which identifies, and highlights pivot points (swings) and prints a lot of information about the swings in the chart (e.g. length, duration, cumulative Delta, ...). Furthermore, it detects divergences in connection with any given indicator, even custom ones. In addition to this, you can choose the algorithm to compute the swings. The famous Gann-Swing algorithm and the extremely precise TRN Swing algorithm (called Standard) are available for selection, as well as two other variants. Compared to other swing or zig-zag indicators it works in real-time, does not need a look-a-head to find swings and is not repainting. Moreover, equal (double) highs and lows are detected and displayed. The TRN Swing Suite helps traders to visualize the pure price action and identify key turning points or trends. The indicator comes with the following features:
Precise real-time swing detection without repainting
Divergence detecting for any given (custom) indicator - with 11 different preset indicators
SMT (Smart Money Technique)/Divergence detecting in relation to other instruments
Swing Performance Statistics
Swing support and resistance levels
Swing trend for multiple swing sizes
Equal/double high and low detection
4 different swing computation styles
Displaying of swing labels, values and information
Customizable settings as well as look and feel
It's important to note that the TRN Swing Suite is a visual tool and does not provide specific buy or sell signals. It serves as a guide for traders to analyze market structure in depth and make well-informed trading decisions based on their trading strategy and additional technical analysis.
Divergence Detection for any given (Custom) Indicator
The divergence detector finds with unrivaled precision bullish and bearish as well as regular and hidden divergences. The main difference compared to other divergences indicators is that this indicator finds rigorously the extreme peaks of each swing, both in price and in the corresponding indicator. This precision is unmatched and therefore this is one of the best divergences detectors.
The build in divergence detector works with any given indicator, even custom ones. In addition, there are 11 built-in indicators. Most noticeable is the cumulative delta indicator, which works astonishingly well as a divergence indicator. Full list:
External Indicator (see next section for the setup)
Awesome Oscillator (AO)
Commodity Channel Index (CCI)
Cumulative Delta Volume (CDV)
Chaikin Money Flow (CMF)
Moving Average Convergence Divergence (MACD)
Money Flow Index (MFI)
Momentum
On Balance Volume (OBV)
Relative Strength Index (RSI)
Stochastic
Williams Percentage Range (W%R)
The divergences are colored with vivid lines and labels. Bullish divergences are distinguished with luminous blue lines, while bearish divergences are denoted by striking red lines. Upon detecting a divergence, the colored lines act as a visual indicator for traders, signaling an imminent possibility of a trend reversal. In response, traders can leverage this valuable insight to make informed decisions in their trading activities.
Choose Your Custom Divergence Indicator
Handpick your custom indicator, and the TRN Swing Suite will hunt for divergences on your preferred market and timeframe. Importantly, you must add the indicator to your chart. Afterwards, simply go to the “Divergence Detection” section in the TRN Swing Suite indicator settings and choose "External Indicator". If the custom indicator has one reference value, then choose this value in the “External Indicator (High)” field. If there are high and low values (e.g. candles), then you also must set the “External Indicator Low” field.
In the provided graphic, we've chosen the stochastic RSI as our example, and as you can see, the TRN Swing Suite instantly identifies and plots bullish and bearish divergences on your chart.
Smart Money Technique (SMT)/Divergence detecting in Relation to other Instruments
Smart Money Technique/Tool (SMT) means the divergence detection between two related instruments. The TRN Swing Suite finds divergence in relation to other instruments, e.g. NQ vs ES or BTCUSDT vs ETHUSDT. Just add another instrument to the chart. As representation style you can choose lines or candles/bars. Afterwards, simply go to the “Divergence Detection” section in the TRN Swing Suite indicator settings and choose "External Indicator". If the second instrument is represented as line, then choose this value in the “External Indicator (High)” field. If there are high and low values (e.g. candles/bars), then you also must set the “External Indicator Low” field.
The detection of SMTs can help traders to decide whether the trend continues, or a reversal is imminent. E.g. if the NQ makes a new higher high but the ES fails to do so and makes a new lower high, then the TRN Swing Suite shows a divergence. As a result, the probability is high that the trend will not continue, and the trader can make an informed decision about what to do next.
How to Set Parameters for Divergence Indicators
To begin, access the indicator settings and find the “Divergence Detection”. Look for the "Parameters" sections where you can fine-tune Parameters 1-3. The default settings are already optimized for the oscillators AO, RSI, CDV, W%R, MFI and Stochastic. For other divergence indicators, you might want to adjust the settings to your liking. The parameter order is the same as in the corresponding divergence indicator.
TRN Swing Suite Statistics
Unveil the untapped potential of advanced Swing Statistics! Gain invaluable insights into historical swings and turning points. Elevate your expertise by harnessing this treasure trove of data to supercharge signal reliability, while masterfully planning stop loss and take profit strategies with unrivaled accuracy. Within the TRN Swing Suite lie two powerful statistics, each offering distinct insights to empower your trading prowess.
Swing Statistic
The Swing Statistic comprises of two series, one for up swings (Up) and one for down swings (Down), with values given in points. The columns have the following meaning:
Up or down
# - total number of analyzed swings
Overall ∅ Length - average length of all swings in points
Overall ∅ Duration - average duration of swings in bars
∅ Length - average lengths for custom-defined swing counts
∅ Duration - average durations for custom-defined swing counts
The custom-defined swing count is used to determine the swing length/duration for the last x swings. Note, in the case of well-established assets like Microsoft or Nvidia, which have undergone one or more stock splits, the overall average in column three may deviate significantly from those in column five. That is why column 5 is useful.
Relation Statistic
The Relation Statistic highlights percentages representing the historical occurrence of specific high and low sequences. In the first column (in %), various types of highs and lows are listed as reference points.
For example, the first row corresponds to "HH followed by", where the second column (#) displays the total count of higher highs (HH) considered. The subsequent columns showcase the percentages of how often certain patterns follow the initial HH.
Fields marked in blue represent sequences that occurred in over 50% of cases. The darker the shade of blue in each field, the higher the percentage.
Use Swing Statistics to Validate Stop-Loss and Take-Profit Levels
No matter which signals you choose to trade, consulting Swing Statistics can significantly enhance the reliability of these signals.
For example, when looking for a long entry after a lower low (LL), you can examine the likelihood of a subsequent lower high (LH) or even a higher high (HH). Combining this valuable information with your predetermined Take Profit level allows you to better assess whether your target can be achieved successfully. Additionally, you can add the average up swing length to the lower low for an alternative Take Profit level. Similarly, you can verify the probability of the next low being a higher low (HL) or another lower low (LL) to determine the likelihood of your Stop Loss being triggered. Align the length of the last down swing with the average down swing length for an alternative Stop Loss.
Swing Support and Resistance Levels
Swing support and resistance levels are horizontal lines starting from a swing high or swing low and representing natural support and resistance levels. Price tends to respect this levels one way or another. In most cases, old swing highs and swing lows provide a lot of liquidity to the market. For example, for a swing high there are at least three different market players at work:
Traders put there stop loss above the swing high
Breakout traders go long above the swing high
Turtle soup (reverse) trader go short above the swing high
Swing Trend (Multiple Sizes)
The TRN Swing Suite can display either at the top or at the bottom the prevailing swing trends for the main trend seen in the chart and for two additional swing sizes. This is useful to see the swing trend for medium and bigger swings to get a clear picture of the market.
Getting an Edge with the TRN Swing Suite
The indicator clearly displays up trends, defined as a sequence of higher highs (HH) and higher lows (HL), with green labels and down trends, defined as a sequence of lower lows (LL) and lower highs (LH), with red labels. Equal highs/double tops (DT) and equal lows/ double bottoms (DB) are highlighted in gold.
In addition, the labels show a full stack of valuable information about the swings to maximize your accuracy.
Length
Length percentage in relation to the last swing length
Duration
Time
Volume
Cumulative Delta
In an uptrend the up swings should have higher volume und higher cumulative delta than the down swings. The duration and time for down swings in an uptrend should be shorter than for the up swings.
Use Cases for Swing Detection
Trend Identification
By connecting the swing highs and lows, traders can identify and analyze the prevailing trend in the market. An uptrend is characterized by higher swing highs and lows, while a downtrend is characterized by lower highs and lower lows. The indicator helps traders visually assess the strength and continuity of the trend.
Support And Resistance Levels
The swing highs and lows can act as support and resistance levels. Swing highs may act as resistance levels where selling pressure increases, while swing lows may act as support levels where buying pressure increases. Traders often pay attention to these levels as potential areas for trade entries, exits, or placing stop-loss orders.
Pattern Recognition
The swings identified by the indicator can help traders recognize chart patterns, such as equal high/lows, consolidations, wedges, triangles or more complex patterns like Gartley or Head and Shoulders. These patterns can provide insights into potential trend continuation or reversal.
Trade Entry and Exit
Traders may use TRN Swing to determine potential trade entry and exit points. For example, in an uptrend, traders may look for opportunities to enter long positions near swing lows or on pullbacks to support levels. Conversely, in a downtrend, traders may consider short positions near swing highs or on retracements to resistance levels.
Swing Styles
In addition to the standard swings, you have the flexibility to choose between various swing styles, including ticks, percent, or even the famous Gann swings.
Standard
Gann
Ticks
Percent
Conclusion
While signals from TRN Swings can be informative, it is important to recognize that their reliability may vary. Various external factors can impact market prices, and it is essential to consider your risk tolerance and investment goals when executing trades.
Risk Disclaimer
The content, tools, scripts, articles, and educational resources offered by TRN Trading are intended solely for informational and educational purposes. Remember, past performance does not ensure future outcomes.
Swing Sniper by Republic of TradersSwing Sniper: A Comprehensive Market Reversal Indicator
Description:
Swing Sniper, developed by Republic of Traders, is a sophisticated trading indicator designed for traders who require precise market reversal signals. It performs optimally across all trading instruments and timeframes, offering both reliability and precision.
How It Works:
Swing Sniper employs a complex signal generation mechanism that activates only when six distinct conditions align within a specific timeframe. This includes:
A modified Commodity Channel Index (CCI) that helps identify short-term price fluctuations.
A Relative Momentum Index (RMI) utilized for recognizing long-term market trends.
A Supertrend indicator serves as a dynamic trend filter.
Several custom parameters that enhance signal reliability.
These components work synergistically to ensure that each trading signal is robust and well-founded. The indicator specializes in capturing significant market reversals by requiring a confirmation of trend reversal through a break and close above or below a previous supply/demand zone.
Usage Instructions:
Upon a valid signal, Swing Sniper advises traders that a potential market reversal has occurred and an entry may be considered in the direction of the new trend. Traders are recommended to set alerts for "once per candle close," allowing them to monitor multiple charts and timeframes simultaneously. Proper risk management is encouraged by placing stop losses just below or above the previous swing low or high and the signal candle's low or high. Take profits should similarly be set to capitalize on potential swings.
Why Choose Swing Sniper:
Swing Sniper is designed not only as a tool for generating entries but as a strategic component of your trading methodology. It brings a clear, analytical approach to navigating the markets, supported by detailed and logical indicator collaboration. This ensures users understand the underlying mechanics and can apply the tool effectively within their trading strategy.
Commitment to Originality and Utility:
Swing Sniper is a unique creation, adhering to TradingView’s standards by offering actionable insights that are distinct from other indicators available on the platform. It is meticulously crafted, featuring an original combination of technical analysis tools tailored to enhance market reversal detection.
Disclaimer:
Past performance is not indicative of future results. Always exercise due diligence and consider market conditions when trading.
Visualization Aid:
The accompanying chart visualization helps users identify signal examples, marked with a red triangle for market reversals short and a green triangle for market reversals long.
Embrace the strategic depth and precision of Swing Sniper and enhance your trading confidence and accuracy in financial markets.
Swing Trading Indicators (Improved)This "Swing Trading Indicators" script is a sophisticated trading tool designed for traders who wants to use technical analysis for identifying optimal entry points, safeguarding profits, and protect their capital. With foundations loosely based on the momentum burst strategy by Pradeep Bonde, Kristjan Kullamaggie's trading methodologies, and incorporating automatic stop-losses based on Average Daily Range (ADR) and Average True Range (ATR), this script offers a comprehensive solution if you want to capitalize on short-term market movements.
Key Features:
Indicators and Moving Averages: Includes EMA (5, 10, 20, 50 days), SMA (200 days), and the highest and lowest prices over 200 days to provide a multifaceted view of market trends and momentum.
Thrust Indicator: Central to the script, the thrust indicator signals a buy point when a candlestick bar closes above the highs of the last two days, indicating a momentum burst. This feature is particularly inspired by Pradeep Bonde's 4% breakout strategy, highlighting the script's capability to identify range expansion and upward thrusts as key entry moments.
Automatic Stop-Levels: Utilizes ADR and ATR to set dynamic stop-losses, helping traders to manage risk effectively by adapting to market volatility.
Comprehensive Market Analysis : Through volume analysis, RSI, closing range, and other parameters, the script offers a deep dive into market dynamics, aiding in decision-making.
Who Should Use It:
This tool is ideal for swing traders and momentum traders focused on short to medium-term gains. Its robust set of features makes it suitable for those who prefer a data-driven approach to identify buying opportunities and manage risk.
Trading Style Compatibility:
The thrust indicator shines in momentum trading strategies, providing clear signals for entering trades ahead of potential price jumps. The integration of moving averages and volume analysis supports a variety of trading styles, including day trading and swing trading, by offering insights into trend strength and potential reversals.
How the Thrust Indicator Works:
When you see a thrust indicator (green upwards arrow below a candle) when the price is moving out of a consolidation or low volatility price-range , that's the buy point.
The thrust indicator is NOT indended as an indicator for long term positions or trend reversals, but for entries at a good price while capturing the first day of a potential 5-20% move in the coming 3-5 days.
The thrust indicator pinpoints moments when a stock shows a strong upward momentum, characterized by a candlestick closing above the highs of the preceding two days. This identifies a momentum burst, signaling an optimal entry point for traders looking to profit from a short-term price movement, typically ranging from 5-20% over the following 3-5 days. Such precision in identifying entry points is invaluable for traders focusing on capturing quick gains from market volatility.
"Top / Watch out" Indicator:
In addition to the script's core functionality, the "WatchOut" indicator plays a crucial role in identifying potential reversals after significant price movements. By analyzing conditions such as recent price increases compared to the average daily range, RSI levels, and the opening price distance from the EMA, the "WatchOut" indicator alerts traders to exercise caution. This feature is pivotal for those looking to avoid entering trades that might be on the verge of a pullback or reversal, enhancing the script's utility in managing risk.
Smallest Swing [Truth Indie]This indicator is designed to test the smallest swing draw using the swing capture concept of the Pivot Points High Low indicator, setting the length to 1 for all periods, and combining it with price action that I think makes sense.
Example of a valid swing high.
Example of a valid swing low.
Kernel Regression RibbonKernel Regression Ribbon is a flexible, visually pleasing trend identification tool. Plotting 8 different kernel regressions of different types and parameters allows the user to see where levels of support and resistance are being tested, retested and broken.
What’s Kernel Regression?
A statistical method for estimating the best fitting curve for a dataset, in this case, a time/price chart.
How’s Kernel Regression different from a Moving Average?
A Moving Average is basically a simple form of Kernel Regression, in that it uses a fixed (Retangular) Kernel function. In an MA, all data points are weighted equally over its length. However, a Kernel function reacts more to data points that are closer to the current point. This means it will adapt more quickly to changes in data than an MA. Due to this adaptability, Kernel functions often form part of Machine Learning.
Using this indicator:
Explore the default Regular mode first to get a feel for the inputs, which are more numerous than for MAs. Try out different settings, filters and intervals to get the best out of each kernel. Not all parameters are available for each KR. There are info tips to explain this in the menu, but I’ve also included handy, optional labels on the chart for each KR as a more accessible guide.
Once you know your way round the Regular mode, check out the Presets and start changing the parameters of each kernel to your liking in the “User KR1, KR2, … “ mode. Each kernel type has its strong and weak points. Blending different kernels is where this indicator comes into its own. Give your charts a funky shine!
This indicator does NOT repaint.
This script acknowledges, and hopefully showcases, the great work of @veryfid Kernel Regression Toolkit.
buy/sell signals with Support/Resistance (InvestYourAsset) 📣The present indicator is a MACD based buy/sell signals indicator with support and resistance, that can be used to identify potential buy and sell signals in a security's price.
📣It is based on the MACD (Moving Average Convergence Divergence) indicator, which is a momentum indicator that shows the relationship between two moving averages of a security's price.
📣 The indicator also plots support and resistance levels, which can be used to confirm buy and sell signals. The support and resistance can also be used as a stoploss for existing position.
👉 To use the indicator, simply add it to your trading chart. The indicator will plot three sections:
📈 Price and Signals: This section plots the security's price and the MACD buy and sell signals.
📈 MACD Oscillator: This section plots the MACD oscillator, which is a histogram that shows the difference between the two moving averages.
📈 Moving Averages: This section plots the two moving averages that the MACD oscillator is based on.
📈 Support and Resistance: This section plots support and resistance levels, which are calculated based on the security's recent price action.
👉 To identify buy and sell signals, you can look for the following:
📈 Buy signal: When shorter Moving Average crosses over longer Moving Average.
📈 Sell signal: When shorter moving average crosses under longer moving average.
📈 You can also look for divergences between the MACD oscillator and the security's price. A divergence occurs when the MACD oscillator is moving in one direction, but the security's price is moving in the opposite direction. Divergences can be a sign of a potential trend reversal.
👉 To confirm buy and sell signals, you can look for support and resistance levels take a look at below snapshot. If a buy signal occurs at a support level, it is a stronger signal than if it occurs at a random price level. Similarly, if a sell signal occurs at a resistance level, it is a stronger signal than if it occurs at a random price level.
⚡ Here is a example of how to use the indicator to identify buy signal:
☑ Add the indicator to your trading chart.
☑Look for a buy signal when short MA crosses over Long MA.
☑Look for the buy signal to occur at a support level.
☑Enter a long position at the next candle.
☑Place a stop loss order below the support level.
☑Take profit when the MACD line crosses below the signal line, or when the security reaches a resistance level.
⚡ Here is an example of how to use the indicator to identify a sell signal:
☑Add the indicator to your trading chart.
☑Look for a sell signal, when shorter moving average crosses under longer moving average.
☑Look for the sell signal to occur at a resistance level.
☑Enter a short position at the next candle.
☑Place a stop loss order above the resistance level.
☑Take profit when the MACD line crosses above the signal line, or when the security reaches a support level.
✅Things to consider while using the indicator:
📈Look for buy signals in an uptrend and sell signals in a downtrend. This will increase the likelihood of your trades being successful.
📈Place your stop losses below the previous swing low or support for buy signals and above the previous swing high or resistance for sell signals. This will help to limit your losses if the trade goes against you.
📈Consider taking profits at key resistance and support levels. This will help you to lock in your profits and avoid giving them back to the market.
Follow us for timely updates regarding indicators that we may publish in future and give it a like if you appreciate the indicator.
REMA CROSSOVER BY JUGNUThis indicator triggers alerts for long and short positions on DAILY TIME FRAME for SWING trades based on the conditions which described below. This script will generate alerts when the following conditions are met:
LONG POSITION:
RSI(14) above 50.
EMA(5) crosses above EMA(10).
Indicator Triangle Green below price bars
SHORT POSITION:
RSI(14) below 50.
EMA(5) crosses down EMA(10).
Indicator Triangle RED above price bars
This script plots green and red triangles below and above the price bars to indicate long and short alert conditions, respectively. It also triggers alerts when these conditions are met.
Swing based support and resistanceThis indicator provided here is for identifying swing-based support and resistance levels. It uses two swing lengths, which can be adjusted by the user, to identify swings in the price data. For each swing length, the script calculates the support level as the low of the swing if the trend is up, or the high of the swing if the trend is down. It then plots the support and resistance levels on the chart, along with buy and sell signals.
The buy and sell signals are generated by comparing the current closing price to the support and resistance levels. If the closing price is above the support level, the script plots a buy signal. If the closing price is below the level, the script plots a sell signal.
To use the script, you would first need to add it to your trading platform. Once it is added, you can configure the swing lengths and other parameters to suit your trading style. You can then apply the script to a chart and begin using the support and resistance levels and buy and sell signals to make trading decisions.
Points to be noted while using the indicator:
# The script is designed to be used on a daily chart. However, you can also use it on other timeframes, such as weekly or monthly charts.
# The swing lengths that you choose will depend on your trading style. If you are a swing trader, you may want to use longer swing lengths. If you are a day trader, you may want to use shorter swing lengths.
# Remember, the support and resistance levels generated by the script are not exact price points. They are rather zones where demand and supply can change. Therefore, you should always use other technical analysis tools and indicators to confirm your trading decisions.
# Overall, the script is a useful tool for identifying swing-based support and resistance levels. It can be used by traders of all experience levels to generate trading ideas and improve their trading performance.
To use the swing-based support and resistance indicator with respect to price, you can follow these steps:
=> Identify the support and resistance levels that have been generated by the indicator.
=> Look for price action that is taking place near these levels.
=> If the price is above the level, look for bullish reversals or continuations.
=> If the price is below the level, look for bearish reversals or continuations.
For Example,
=> Bullish reversal: The price is above the level and forms a bullish candlestick pattern, such as a bullish hammer or engulfing pattern.
=> Bullish continuation: The price is above the level and bounces off of the level.
=> Bearish reversal: The price is below the level and forms a bearish candlestick pattern, such as a bearish hammer or engulfing pattern.
=> Bearish continuation: The price is below the level and rejects the level.
$$ You can also use the indicator to identify potential trading entry and exit points. For example, you could enter a long trade when the price breaks above a resistance level and exit the trade when the price retraces to the resistance level. Or, you could enter a short trade when the price breaks below a support level and exit the trade when the price rallies to the support level.
This swing-based support and resistance indicator is just one tool that you can use to trade. You should always use other technical analysis tools and indicators, such as price action and trend analysis, to confirm your trading decisions.
Additionally:
=> Be aware of the overall trend direction. If the trend is up, you should be looking for bullish reversals or continuations. If the trend is down, you should be looking for bearish reversals or continuations.
=> Use a stop loss order to limit your risk on each trade.
=> Consider using a position sizing strategy to manage your risk.
=> Do your own research and backtest any trading strategy before using it in a live trading environment.
Follow us for timely updates regarding future indicators and give it a like if you appreciate the indicator.
Nitin Swing TradingThis is a CPR which indicates pivot points based on monthly price action.
The Orange line acts as a resistance area, blue lines act as pivot point/CPR and green one is support.
One can study retrospective chart to analyse how market has respected these Support and Resistance levels.
A guide on how to trade using this indicator?
1. If you see the resistance is broken after multiple attempt - We can Go Long
2.If you see price going down below CPR, We can Go Short
3.If you see price taking support at support level - We can Go Long.
Risk reward should always be 1:1 then gradually increase it to 1:2 & 1:3
It is advised to consult with your financial advisor before taking any trade just based on any indicator. You have to manage risk before entering any trade.
Swing Ranges [ChartPrime]Swing Ranges is an indicator designed to provide traders with valuable insights into swing movements and real-time support and resistance (SR) levels. This tool detects price swings and plots boxes around them, allowing traders to visualize the market dynamics efficiently. The indicator's primary focus is on real-time support and resistance levels, empowering traders to make well-informed decisions in dynamic market conditions.
Key Features:
Swing Box Visualization:
Swing Ranges excels at detecting swings in the price data and visually representing them with boxes on the price chart. This enables traders to quickly identify swing ranges, essential for understanding market trends and potential reversal points. VWAP POCs are also provided giving areas of high activity in each block.
Real-Time Support and Resistance Levels:
The core feature of Swing Ranges is its real-time support and resistance levels. These levels are dynamically calculated based on the volume-weighted data for each specific range. The indicator displays the strength of support and resistance zones with percentage bars, indicating the ratio between bullish and bearish volume. This real-time information empowers traders to assess the strength and significance of each SR level, enhancing their ability to execute well-timed trades.
ATR (Average True Range) Value:
Swing Ranges also includes an ATR value label, which shows the Average True Range for the selected period. ATR aids traders in understanding market volatility, enabling them to set appropriate stop-loss and take-profit levels for their trades.
VWAP (Volume Weighted Average Price) Information:
Traders c an readily access the VWAP value through the indicator's label. VWAP provides insights into the average price at which an asset has been traded, helping traders identify potential fair value areas and market trends.
Price Difference Percentage:
Swing Ranges displays the percentage difference between the high and low of each swing. This information allows traders to gauge the magnitude of price movements and assess potential profit targets more effectively.
The indicator also has a NV value. If the NV is high e.g. 10% or more there is indecision in the market and the market is trying to remain in a given range.
Settings Inputs:
1. Length Control:
The Length setting input in Swing Ranges allows traders to adjust the sensitivity of the indicator to detect swings. Traders can customize the length based on their trading strategies and timeframes.
2. ATR Period Adjustment:
The ATR Period input allows traders to fine-tune the calculation period for the Average True Range. This feature enables traders to adapt the indicator to different market conditions and asset classes.
Swing Ranges: Real-Time Support and Resistance Indicator is a comprehensive tool that combines swing visualization with dynamic support and resistance levels. By focusing on real-time SR levels, this indicator equips traders with the essential information needed to make confident trading decisions in ever-changing market conditions.
Swing Breaker Strategy [v0.1] - Support and resistance breakoutSwing Breaker Strategy - Support and Resistance Breakouts
This strategy has no repainting.
Default settings:
Swing Barsback: 10
Number of Swings: 3
Stoploss Candles Lookback: 5
Why these default settings?
This strategy has been backtested with over 100 trades, and on a larger scale of 1000 trades, it has reported a 1.33 profit factor with a maximum 5% cumulative drawdown, using no leverage. In this backtest, the settings (10,3,5) were used, becoming the default settings as they are more adaptable to different market conditions.
How does this strategy work?
Defining swing lows (support) and swing highs (resistance): We can locate these candles by looking at a symmetrical candle unit around them. For example, the default settings present a 10 swing bars back, which means there is no superior level within a 10-candle radius in the case of a swing high, and the opposite for a swing low. Swings are located a few candles after, just the number of swing bars back (width), because it is needed to ensure it is a swing.
Locating trends: We locate trends by looking at consecutive swings. For example, in the default settings, to determine a bullish trend, we need 3 consecutive ascending swing lows; for a bearish trend, 3 consecutive descending swing highs. You can find this parameter in settings as "Number of swings."
When a trend is formed, a stop entry is placed at the last swing until it is broken.
Just after the entry, the stop is placed at the lowest (in the case of a long) or the highest (in the case of a short) of the last candles. You can define that number in the settings as "Stoploss candles lookback," which default is 5. The take profit is placed at 2 times the stop value, resulting in a 2 risk-reward ratio.
Why is this strategy protected?
No other strategy combines the way of locating swings and turning it into a strategy, including customizable parameters such as stop loss, swing width and introducing the number of swings. That's why we decided to protect it.
RedK Relative Strength Ribbon: RS Ribbon and RS ChartsRedK Relative Strength Ribbon (RedK RS_Ribbon) is TA tool that plots the Relative Strength of the current chart symbol against another symbol, or an index of choice. It enables us to see when a stock is gaining strength (or weakness) relative to (an index that represents) the market, and when it hits new highs or lows of that relative strength, which may lead to better trading decisions.
I searched TV for existing RS indicators but didn't find what I really wanted, so I put this together and added some additional features for my own use. It started as a simple RS line with new x-weeks Hi/Lo markers, then evolved into what you see here in v1.0 with the ability to plot a full RS chart in regular or HA candle types. Hope this will be useful to some other growth traders here on TV.
What is Relative Strength (RS)
------------------------------------
(RS is a comprehensive concept in TA, below is a quick summary - please research further if it's not already a familiar topic)
Relative Strength (RS) is a technical concept / indicator used mainly by growth / swing / momentum traders to compare the performance of one security or asset against another. RS measures the price performance of a specific security relative to a benchmark, such as an index or another asset. It's not to be confused with the famous Relative Strength Index (RSI) technical indicator
For example, In the context of comparing a stock's relative strength to the SPY (S&P 500) index, the relative strength calculation involves dividing the stock's price or price-related value (e.g., close price) by the corresponding value of the SPY index. The resulting ratio (and its trend over time) indicates the relative performance of the stock compared to the index.
Traders and investors use relative strength analysis to identify securities that have been showing relative strength or weakness compared to a benchmark, which can help in making investment decisions or identifying the "market leaders" and potential trading opportunities.
There are so many books and documentation about the RS concept and its importance to identify market leaders, especially when recovering from a bear market - if you're interested in the concept, please search more about it and review some of that literature. There's also a more detailed definition of Relative Strength in this article on Invstopedia
RedK RS_Ribbon features and options
---------------------------------------------------
The indicator settings provide many options and features - see the settings box below
- Change / choose base symbol
The default is to use SPY as the base symbol - so we're comparing the chart's symbol to a proxy of the S&P 500 - Some traders may prefer to use the QQQ - or other index or ETF that acts as a proxy for the industry / sector / market they are trading
- RS Calculation / RS line
we use the simple form of the RS calculation,
RS = closing price of current chart symbol / closing price of the base symbol (default is SPY) * 100
some RS documentation will use the Rate of Change (RoC) - but that's not what we're using here.
- The RS_Ribbon
* Once the RS line is plotted, it made sense to add couple of moving averages to it, to make it easier to observe the trend of the RS and the changes in that trend as you can see in the sample chart on top.
* The RS_Ribbon is made up of a fast and slow moving averages and will change color (green / red) based on detected trend RS direction - the 2 MA types and lengths can be changed until you get the setup that provides the best view for you of the RS trend over time. My preferred settings are used as defaults here.
- Identifying New (x)Week Hi/Lo RS Values
* Most traders would be interested when the calculated RS hits a new 52-week high or low value.
* There are cases where we may want to see when a new RS Hi/Lo has been hit for a different period - for example, a quarter (13 weeks)
* the number of weeks can be changed as well as adjusting the numbers of trading days per week (if needed for certain symbols/exchanges)
- Working with Different Timeframes
* Now these "markers" will only be available in the daily and weekly timeframes and there is a good reason for that, it's not the fact that i'm lazy :) and that enabling this in timeframes lower than 1D would have been some heavy lifting, but the reality is that with RS, we're really interested if a "day's close" hits a new RS high or low value against the moving window of x weeks (and the weeks close also) - if you think of this more, at lower TF, RS can hit a lower value that never end up registering on the daily closing and that causes a lot of visual confusion. So i took the "cleaner way out" of that issue.
* note that you can choose a different timeframe for the RS_Ribbon than the chart - if you do, please make sure the chart is at a lower timeframe than the indicator's - (and in that case remember to hide the candles because they won't make much sense)
i wanted to leverage TV's built-in multi-Timeframe (MTF) support with the caveat that using the indicator at lower TF with a chart at a higher TF (example chart at 1Wk and indicator at 1D) will show inaccurate results. If this sounds confusing, keep the indicator TF same as the chart.
the example here shows a 2-Hr chart against 1D RS_Ribbon
- Using RS Charts and RS Candles
* Beside the ability to plot the RS "closing" value with the RS line, the indicator provides the ability to show a "full" RS Chart with candles that represent the relative values of open, high, low. and close against the base symbol.
* the RS Charts can be used for regular chart analysis, for example, we can identify common chart patterns like Cup & Handle, VCP, Head & Shoulder..etc using these charts .. which can provide some edge over the price charts
* for the Heikin Ashi fans, I added the ability to choose classic or HA candles for the chart. note you have to enable the option to show the RS candles first before you choose the option to switch to HA.
The chart below shows a side-by-side comparison on the 2 RS chart types
Closing remarks
-----------------------
* RS is a good way to identify market/sector leaders (who will usually recover from a bear market before others) - and enable us to see the strength that comes from the broader makrket versus the one that comes from the stock's own performance and identify good trading opportunities
* I'll continue to update this work and alerts will come in next version - but wanted to check initial reaction and value
* as usual, if you decide to use this in your chart analysis, it's necessary to combine with other momentum, trend, ...etc indicators and do not make trading decision only based on the signales from a single indicator
Stocashi + CaffeineCrush Momentum Indicator by CoffeeShopCryptoThis is just a fun script to give a different representation to the ever popular Stochastic RSI
Even for me over the years the stochastic has been a difficult one to use in trading merely because of its choppy look.
Since Heikin-Ashi Candles do such a powerful job in smoothing out the look of choppy markets,
I decided to test it out on the look of the Stochastic RSI.
From an initial visual standpoint it worked out WAY better than I thought but it seemed to need something more.
I decided to use the PineScript "Color.From_Gradient" feature to give the Stochastic a more 3 dimensional look, which really brought the "old-school" indicator to life.
Description:
The CaffeineCrush Momentum Indicator is your ultimate trading companion, blending the invigorating world of coffee with the excitement of market momentum. Just like a finely brewed cup of joe,
This indicator provides you with a powerful insight into market dynamics, helping you stay in the trading groove.
As you sip on this caffeinated delight, CaffeineCrush monitors the velocity and strength of price movements,
measuring the momentum of the market. But here's where it gets even more enticing – it goes a step further by incorporating a pressure indication, adding a stimulating twist to your trading experience.
Imagine yourself in a bustling coffee shop, surrounded by the aroma of freshly roasted beans and the energetic buzz of conversations.
CaffeineCrush mimics that atmosphere, keeping you on your toes, always aware of market forces at play.
With CaffeineCrush, you'll never miss a beat. It identifies and highlights moments of heightened momentum and increased pressure,
giving you an edge in capturing profitable opportunities. Just like a perfectly extracted espresso shot, this indicator helps you maintain your trading momentum and navigate the market with confidence.
So, grab your favorite cup of joe, fire up your trading charts, and let CaffeineCrush awaken your trading prowess.
Stay in the groove, embrace the buzz, and master the momentum with this flavorful indicator by your side.
Divergence -
Regular Divergence shows when there is a conflict between the strength of the trend and the swing of the price movement.
Hidden Divergence -
Are to be traded using the same methods as hidden divergences of the MACD or the RSI. A hidden divergence is commonly a trend CONTINUATION move.
Pink Pause -
This shows a ranging area where price is taking a pause. It can be a single candle or a string of candles. But histogram with continue with its RED / GREEN colors once the pause is over.
Stocashi + CaffeineCrush is not an entry / exit indicator. It's designed to help you understand:
1. Weather your trend is continuing
2. When it pauses
3. Has your pullback started / ended
Its best used near area of conflict. For example:
1. If you have a breakout to the low side of support zone, and you get a BULLISH divergence, this can be viewed as a false breakout.
2. If you trading towards the opposite area of a range or key level and you get conflicting movement in the Stocashi + CaffeineCrush, then you should take ur profits and wait for the next move.
3. If you are following through with example 2 above, but get NO conflicts, you can immediately look for a secondary take profit area and split / hedge your take profits.
Swing Action PriceEnglish:
**Description of "Swing Action Price" TradingView Script**
"Swing Action Price" is a custom technical indicator designed to identify swing highs and swing lows in a financial market. The script calculates and plots various lines on the chart to visualize these swing points. Swing highs are points where the price has made a local peak, while swing lows are points where the price has made a local trough.
The indicator displays the following lines on the chart:
1. Dotted lines representing each individual swing high and swing low identified on different timeframes (10, 30, 60, 100, 150, 200, 700, and 1000 bars).
2. Dotted lines representing the most recent swing high and swing low for the current bar.
How the indicator works:
1. The script uses historical price data to calculate swing highs and swing lows based on specific conditions.
2. For each of the mentioned timeframes, the indicator identifies the highest high and lowest low within a defined number of bars (10, 30, 60, etc.).
3. Once a new swing high or swing low is identified, the corresponding dotted lines are drawn on the chart, extending from the previous swing point to the current one.
The "Swing Action Price" indicator can be used by traders to visually identify key support and resistance levels in the market. It helps them recognize potential trend reversals or continuation points, which may be valuable for making trading decisions.
Please note that trading indicators should always be used in conjunction with other technical and fundamental analysis tools to make informed trading choices. The "Swing Action Price" indicator is offered under the Mozilla Public License 2.0, and the developer's username is "damianjorgeportillo."
Remember that past performance is not indicative of future results, and it's essential to exercise caution and apply risk management strategies when trading financial markets.
/******************************/
Spanish:
**Descripción del Script "Swing Action Price" en TradingView**
"Swing Action Price" es un indicador técnico personalizado diseñado para identificar máximos y mínimos en un mercado financiero. El script calcula y muestra diversas líneas en el gráfico para visualizar estos puntos de inflexión. Los máximos se producen cuando el precio alcanza un pico local, mientras que los mínimos ocurren cuando el precio alcanza un valle local.
El indicador muestra las siguientes líneas en el gráfico:
1. Líneas punteadas que representan cada máximo y mínimo individual identificado en diferentes marcos de tiempo (10, 30, 60, 100, 150, 200, 700 y 1000 barras).
2. Líneas punteadas que representan el máximo y mínimo más reciente para la barra actual.
Cómo funciona el indicador:
1. El script utiliza datos históricos de precios para calcular los máximos y mínimos en función de ciertas condiciones.
2. Para cada uno de los marcos de tiempo mencionados, el indicador identifica el máximo más alto y el mínimo más bajo dentro de un número específico de barras (10, 30, 60, etc.).
3. Una vez que se identifica un nuevo máximo o mínimo, se dibujan las líneas punteadas correspondientes en el gráfico, extendiéndose desde el punto de inflexión anterior hasta el actual.
El indicador "Swing Action Price" puede ser utilizado por traders para identificar visualmente niveles clave de soporte y resistencia en el mercado. Ayuda a reconocer posibles puntos de inversión o continuación de tendencia, lo que puede ser valioso para tomar decisiones comerciales.
Por favor, ten en cuenta que los indicadores de trading siempre deben utilizarse junto con otras herramientas de análisis técnico y fundamental para tomar decisiones comerciales informadas. El indicador "Swing Action Price" se ofrece bajo la Licencia Pública de Mozilla 2.0, y el nombre de usuario del desarrollador es "damianjorgeportillo".
Recuerda que el rendimiento pasado no garantiza resultados futuros, y es esencial ser cauteloso y aplicar estrategias de gestión de riesgos al operar en los mercados financieros.
Swing Algo V1.4◆ Introduction
The latest version of the Swing Algo features a complementary system consisting of two internal swing trading logics: an enhanced Swing Algo V1.3 and a secondary control engine to stabilize the overall strategy behaviour in times of increased market chop. Both algorithms feature different averaging lines as well as oscillators, leading to a higher strategy diversification for swing trading as well as a reduced maximum drawdown in comparison to each stand-alone strategy.
While the Swing Algo V1.x series so far featured a single trend-following swing algorithm for each release, where one just switches between Long and Short trades based on one general logic, here two strategies, which act independently of each other, are applied. Due to this, we introduce a third position a trader can be in: the Hedge. The overall logic is as follows:
When both sub-logics are Long, the overall strategy is Long.
When both sub-logics are Short, the overall strategy is Short.
When one sub-logic is Long and the other is Short, the overall strategy is in a Hedge position. It doesn't matter which component is Short and which is Long.
As PineScript doesn't currently offer a real steady hedging-function for two competing swing trading sub-logics (in the sense of a continuously applied Hedge state after hedging conditions are met at least once for an entry), a workaround via position closes was created for this release. For each new internal sub-signal, the overall strategy changes its state (Long/Short/Hedge) visibly on the chart, and the trader can adjust their position accordingly.
For detailed differences to previous Swing Algo V1.x releases, see further below.
◆ Purpose of this Script
This indicator will give Long, Short and Hedge signals on the chart that can be used for e.g. swing trading. Each of the aforementioned sub-logics uses a combination of several (custom) functions and rules to find good entry points for trend trading. After many iterations and tests I came up with this particular setup, which is highly optimized for the ETH/USD trading pair on the daily (D) timeframe.
Attention was also paid to stability, as all parameters are set onto plateaus, so that smaller changes in the characteristic price action should not affect the efficiancy too much, done as an attempt to reduce overfitting as much as possible. Additionally this dual algorithm system is specifically designed to have a safety net: should for the unlikely scenario one swing trading algorithm not trigger at a certain mid-term reversal point, the probability is high that the other will trigger, resulting in an overall hedged position (so that no money is lost in the meantime) until the first algorithm can rejoin at the next mid-term trend change.
For other assets and/or timeframes it is in principle possible to change algorithmic parameters within the indicator settings to tune the swing algorithms, though it is strongly recommended to use the standard asset and timeframe mentioned above.
◆ Viability
For the here presented backtest data, we omitted the biggest portion of the cryptocurrency bullrun in 2017 (starting only at 1st July 2017) so that the results become more realistic for long-term swing traders (investing at least 2-4 years into trading) if such large runs do not happen again. As cryptocurrencies like Ethereum are still to this date capable of doing comparatively smaller runs of about 2-3x in a few weeks/months during accumulation phases (as witnessed e.g. in 2020 and more recently in 2023) and bigger runs during bullmarkets (as witnessed in 2021), the quality of the shown results is still realistic for long-term trend trading efforts over several years, Note that very conservative trading parameters as mentioned below in "Forwardtesting and Backtesting" are used here.
Generally do not expect results in a matter of days or weeks, and of course as with any trading strategy past performances are not indicative of future results.
◆ Forwardtesting and Backtesting
The individual components have been back- and partially forwardtested: The first sub-logic is an advancement of Swing Algo V1.3, with which we have extensive experience running back to October 2020 for its release, while the secondary control strategy, which was privately published for DeanTrader members as a stand-alone script on TradingView in June 2022 and was running in the background since then, is showing good & expected behaviour so far.
While this does not mean that fowardtesting was performed specifically for the combined Swing Algo V1.4 system we have now (which cannot be done realistically considering the timeframes used, i.e. months and especially years), we can at least look at some considerable experience with the individual components. Then again, as I have implemented an exact hedging-function so that both sub-algorithms run independently from each other, it is not likely to see any unexpected behaviour resulting purely from the combination into one script.
For strategy backtesting you can choose the backtest time interval to test the performance of this algorithm for different time windows and different trading pairs. Here various backtesting parameters (e.g. trading fees) can be customized. Default settings for the shown backtest are a starting balance of $1000, a slippage of 20 ticks (= $0.20) and a trading fee of 0.05 % (which is the worst taker fee on the Kraken Pro futures exchange) to have realistic settings. However as we do not conduct many trades with this strategy, fees should not impact our performance too much. As long-term swing traders, we at DeanTrader generally devote one initial portion of our portfolio to swing trading and from then on always use 100% of this portion for the next trade to get the compounding starting. This is in difference to other trading styles which use various, often very small, percentage values for their short- or mid-term trades. Please note that for the here presented backtest only 10% of compounded equity is used for each successive trade to show an estimation for a lower risk & lower reward approach . Keep this in mind when evaluating the backtest data. You can set appropriate values for each backtest parameter in the "Properties" setting menu of the strategy, including the order size percentage of equity value for your trades. Also note that due to the small number of trades the statistical significance is low. It is not possible to gather an abundance of long-term trend signals in the order of hundreds or thousands trades, as much more time would have to pass for this in the case of rather new assets like Ethereum.
Additionally to the TradingView Strategy Tester you can also plot your equity directly on the chart to get a sense for the performance. For this you can also scale the equity graph to e.g. match the starting point of your equity with some price point on the chart to get a direct comparison to 'Buy & Hold' strategies over time.
This indicator (and all other content I provide) is no financial advice. If you use this indicator you agree to my Terms and Conditions which can be found on my website linked on my TradingView profile or in my signature.
◆ Visual Representation on the Chart
Shown below is a screenshot of how the chart looks like when the strategy is applied. Here we can see two different averaging lines, where each line belongs to one of the two sub-logics respectively. Note that this is not a MA-crossover strategy, and the crossing of the lines is not accounted for in the code at all and therefore has no effect on the strategy's signal output. Also note that the price scale is set on logarithmic.
The space between the lines is filled with a faint background color as a rough visual indicator. Magenta-colored fills indicate zones where only Short or Hedge signals can appear, while green-colored fills indicate zones where only Long or Hedge signals can appear. Gray-colored fills mark zones where only Hedge signals can appear, which also means that Hedge signals can appear in any zone. So treat those background fills more as a visual aid to roughly know what can happen next, but pay most attention to the actual signals (with arrows) that appear on the chart.
◆ Differences to Other Versions
Consists now of two competing sub-algorithms instead of just one algorithm. The new system outputs Long, Short and Hedge signals instead of just Long and Short signals.
The first sub-logic is the spiritual successor of the original Swing Algo V1.3 release, with a modified oscillator part.
The second sub-logic serves as a control algorithm (while still having equal rights in terms of strategy impact), newly introduced to the Swing Algo series, but already forwardtested for roughly a year at time of release.
Lowers risk significantly by diversifying swing trading strategies, so that for the rare scenario of a missed trend on one sub-algorithm, losses are prevented as the overall strategy is hedged during that time.
Lowers risk further as the maximum drawdown of the combined strategy is reduced by roughly 1/3 in comparison to each stand-alone strategy while almost retaining the same net profit over a 6-year backtest compared to the first, leading sub-logic.
No guesswork anymore when to use which short leverage (1x corresponding to a Hedge, or 2x corresponding to a Short with an asset-value-change-to-gain-proportionality of -1) as it is clearly defined within the trading system via the displayed signals. In earlier Swing Algo versions, the short leverage for any particular Short signal had to be chosen by hand dependent on market sentiment, which required further market analysis, or was fixed at 2x, leading to less flexibility.
◆ Access
For access please contact me via DM on TradingView or via other channels (linked on my TradingView profile and in my signature).
ChanLun [AlgoTrader]ChanLun, also known as Entanglement Theory or "缠论," is a highly regarded technical analysis methodology that originated in China. Since its introduction in 2006, ChanLun has rapidly gained significant attention and a strong following within the Chinese trader community due to its exceptional ability to navigate complex market dynamics.
ChanLun places great emphasis on market structure, price action, momentum, and the intricate interplay between market forces. It recognizes that the market operates in cyclical patterns and aims to capture the underlying structure and rhythm of price movements. Through meticulous analysis of the intricate relationships between price and time, it provides traders with a unique perspective on market trends, potential reversals, and critical turning points.
This indicator incorporates three fundamental components of the ChanLun methodology, namely "Candle Standardization," "Fractal," and "Stroke."
- "Candle Standardization" is a process in which the candles are standardized to ensure strict directional consistency and eliminate the presence of inner bars or outer bars.
- "Fractal" refers to the formation of three consecutive "standardized" bars, with the middle bar demonstrating a definitive higher or lower value compared to the bars surrounding it.
- "Stroke" is a line connecting a top fractal and a bottom fractal, subject to the strict condition that there is a minimum of one free bar positioned between them. This requirement ensures that a stroke encompasses a minimum span of five bars from end to end. It is crucial to emphasize that the top fractal consistently maintains a higher value than the bottom fractal.
Within the ChanLun algorithm, these components are processed meticulously and sequentially. The initial step involves candle standardization, where the candles are harmonized to adhere to strict criteria. Subsequently, the identification of fractals takes place by examining the standardized candles. Finally, the stroke component is applied, establishing connections between top and bottom fractals while ensuring the defined conditions are met.
The final component, stroke, enables traders to identify and visualize significant price swings or trends while effectively filtering out minor fluctuations. This functionality proves particularly valuable in recognizing major support and resistance levels, trend reversals, and chart patterns, enhancing the overall analysis process.
__________________________________________________________________________________________________________
本指标严格按照缠论原理实现了三个核心要素,分别为“K线标准化”、“分型”和“笔”。它旨在为缠友们提供准确而可靠的市场分析工具,以在交易中获得更好的表现。
该指标的特色如下:
1. 实时标记分型和笔:本指标具备实时识别和标记分型和笔的功能,以提供清晰的信号和准确的趋势判断。
2. 多种笔算法选择:本指标提供三种不同的笔算法,包括“老笔”、“新笔”和“4K”。这样的设计能够满足不同缠友的个性化需求,让大家根据自己的偏好和策略选择最适合的算法。
3. 自定义颜色:缠友们可以根据自己的喜好和需求,自定义指标的颜色方案。这样的灵活性使得指标能够与图表风格和视觉需求完美匹配。
4. 完美实现K线回放功能:本指标充分利用了K线回放功能,使缠友们能够回顾和分析历史市场数据,从而可以更好地研究和理解市场趋势,提高对市场的洞察力和决策能力。
7 Closes above/below 5 SMAThis script looks for 7 consecutive closes above/below the 5-period SMA. The indicator is inspired by legendary trader Linda Raschke's work.
Usage
The script can can be used in three main ways. I think you will find more uses.
First are the two models for which the indicator was created, both inspired by Raschke:
1) Persistency of trend / Extended run setup.
Around 10-12 times per year we get a persistency of trend in instruments in general.
After 7 consecutive closes above/below the 5-period as price pulls back we can look to enter in the direction of the main trend as it moves up/down above/below 5 ma again. You should use price action trading to pinpoint the entries. Now try to hold this as long as possible. Way longer than you can percieve or think is possible. Up to 24-28 periods is what we are looking for in these cases.
2) Normal usage.
When the trend is not persistent, it is possible to use this as an oscillating signal, for a shorter term trade, where we can look for a short or long term reversal setup in price action.
3) I also use it at as a learning to see the swing trades clearer. You can also use it as a visual aid for developing new variances of the classic swing trading setup.
Read and listen to Linda Raschkes work to learn more.
TIme frames
The principles works in all time frames but may change depending on calendar differences. We will see more instances/year in shorter time frames.
Why closes above the 5 SMA
As you may or may not know the 5 SMA is a very important indicator. You can think of it like this, If price is above 5, it is innocent until proven guilty but if price is below 5 we use the french law system which means it is guilty until proven innocent. 7 closes above 5 is a very good predictor of possible short term direction changes.
Use together with:
I prefer to use this indicator together with either regular SMA:s, one short and one macro term. For example 10 ma and 100 ma.
Or you can use it with a a Hull 21-period MA together with a 240-period WMA.
Settings:
I added settings so you can change preferences for changing shape, where to display the shape and in what color
Visual aid
I wanted to keep one dot for each consecutive day, this way we will get a grouping of days and dots. The amount in this group can be of use in itself to inform you of the strength of trend. This can inform you if this oscillation predicts a short term eversal or a continuation. You need skills in reading price action to use this to your advantage.
SwingConfidence ScoreSwingConfidence is a scoring system that helps us quantitatively manage risk & position size in swing trading.
SwingConfidence uses T3 moving average to determine the swing state in which the instrument is in. So, this is supposed to be used with my previously posted Simple Swing with T3MA indicator . The T3MA ribbon consists of a fast and a slow moving average (MA). The ribbon is green when the fast MA is above the slow MA. This green ribbon represents the upswing. Similarly, the red ribbon represents the downswing.
The score takes into account the swing state of 2 chosen benchmark indices (by default, these are NIFTY & CNXSMALLCAP). It has 2 components:
- Weekly Swing
- Daily Swing
Weekly Swing
The script uses the Simple Swing indicator on weekly charts of of 2 benchmark indices to determine whether the index is in a weekly upswing or downswing.
- If the color of the weekly ribbon is green, we are in a weekly Upswing.
- If the color of the weekly ribbon is red, we are in a weekly Downswing.
Daily Swing
The script uses the Simple Swing indicator on daily charts of 2 benchmark indices to determine the daily swing state. There can be any one of total 6 swing states on a daily chart:
- Early Upswing (close above red ribbon)
- Confirmed upswing (green ribbon)
- Upswing under strain (close inside green ribbon)
- Early Downswing (close below green ribbon)
- Confirmed downswing (red ribbon)
- Downswing under strain (close inside red ribbon)
SwingConfidence Scoring
The script prints the Weekly & Daily Swing states, & assigns a score to each index from 0 to 50, where 0 is the most bearish score, & 50 is the most bullish score. The sum of the scores is the final SwingConfidence score. e.g. If both indices are in a confirmed upswing, then the score reads 50 + 50 = 100.
How to use the SwingConfidence score?
There are multiple ways by which we can use the SwingConfidence score:
- If the SwingConfidence value is 100%, then we can go in with the maximum open risk our strategy allows. As the score starts decreasing, we keep on closing/modifying our positions, so as to keep the open risk proportionately down. Once the score reaches to zero, we must not be having any open risk. We can achieve this by either going in all-cash, or bringing the stop losses to breakeven.
- Another way is to use this is via a progressive exposure method. If the SwingConfidence value is 100%, then we go with full position size (e.g. 1% capital-at-risk). If the value is 0%, we sit out in cash. Between these 2 extremes, we reduce/increase our position size accordingly.
Please note that this script will display only on the daily timeframe.
Damage Indicator by Scipio ProScipio Pro's Damage Indicator detects strong momentum on tops and bottoms. It is intended for swing trading.
The script analyzes both recent and less-recent price action and performs candle stick analysis. It also uses SDs and multiple Bollinger Bands to find dynamic levels for entries.
A Bears Damaged signal emerges whenever there is convincing proof of strength at a bottom. Often, when the market reverses quickly, traders are caught offside and are forced to buy higher. The reverse goes for Bulls Damaged signals, which mean there is convincing proof of bearish strength at a (local?) top.
Whether the move gets legs depends in large part on the structure in which the show of momentum takes place. It is sensible to wonder after each signal whether the market structure (and other relevant context such as the majority of cash having been sidelined) dictates that risk-reward is skewed to the upside or to the downside. If, for example, a Bears Damaged signal emerges on the daily and risk-reward on the weekly is skewed to the upside, go 4x larger (again, just an example). If, on the other hand, the same signal emerges on the daily while the risk-reward is skewed to the downside on the weekly, bet much smaller and tighten your stop-loss. For best results, I suggest you always check one timeframe higher for your long-term risk-reward bias. (No financial advice, of course.)
Under Settings you'll find the so-called Noise Protection , which is switched "on" by default. We recommend you keep this switched on. Noise Protection ensures you do not see Damage signals on timeframes lower than the 4 hour. After all, chasing momentum on low timeframes is a losing game. The amount of noise increases exponentially as you move lower down the timeframes. Again, this indicator is for swing trades. Don't use it for scalping.
It should be useful for all assets, but is of course more useful on some than on others. As with all indicators, signals tend to be more meaningful if the asset in question is at least somewhat liquid, for instance.
As always, use at your own risk. Using indicators is no substitute for using one's brain.
Excess Invites Punishment (EIP) by Scipio ProScipio Pro's EIP is a reversal indicator. It is based on two types of evidence.
1) Proof of Fatigue -- The move that triggers the signal is losing momentum
2) Proof of Excess -- The move that triggers the signal is excessive
If both are the case, we get a signal.
The script uses standard deviations and Bollinger Bands for measuring excess and the ATR for the Breakout Continuation Protection (see below). For fatigue, the EIP detects divergences from indicators like OBV, MACD, RSI and more. It expresses these with a number. For example, if the EIP detects 9 bullish divergences, it prints the number 9 below the corresponding candle.
Hesitant Buy and Hesitant Sell mean there may have been a breakout recently, as measured with the ATR, meaning there is an increased likelihood of continuation. These can provide good buys or sells but more caution is warranted. You can adjust the so-called Breakout Continuation Protection in Settings. Doing so may lead to either more or less "hesitant" signals.
The signals don't repaint. Of course, the divergences get recalculated as the market evolves, as they should. But signals like Buy, Sell, Hesitant Buy, and Hesitant Sell never repaint.
The EIP is useful on many different time-frames and with many different assets, be they in stocks or crypto. The images below show results from BTC, MATIC, and S&P 500 over multiple years, both on small and large time-frames.
As always, use at your own risk. Using indicators is no substitute for using one's brain.