RSI Oversold IndicatorThe RSI Signal indicator is designed to help traders quickly identify oversold conditions in the market based on the Relative Strength Index (RSI). It highlights points where the RSI falls below 30, signaling potential reversal zones or buying opportunities.
Features:
Green Triangles: A green triangle is plotted below the candle whenever the RSI drops below the 30 level, indicating oversold conditions.
Customization: Allows adjustment of RSI length and data source (e.g., close, open).
Simple and Intuitive: Perfect for traders who use trend reversal strategies.
Recommended Use:
Combine this indicator with other tools, such as support and resistance levels or moving averages, to confirm signals.
Best suited for volatile markets where quick reversals are common.
This indicator is ideal for traders seeking a visually clear and efficient way to spot entry opportunities. 🚀
Indeks Kekuatan Relatif / Relative Strength Index (RSI)
RSI & Parabolic SAR StrategyThis indicator will help you take entry in Banknifty when ever their is a signal
Indikator-Status über verschiedene ZeitintervalleAbgebildet werden hier die Statuswerte der folgenden Indikatoren:
- Ichimoku
- MACD
- SuperTrend (angelehnt an den VolumeSuperTrend von Zeiierman)
- TriState SuperTrend
- Squeeze Momentum
In der Übersicht zusammengefasst, werden die Werte für die jeweiligen Indikatoren aus den TimeFrames 3m, 5m, 15m, 30m, 60m und 1440m (=1D) dargestellt und geben somit einen übersichtlich zusammengefassten Gesamtüberblick, welcher sich gut in die persönliche Handelsstrategie integrieren lässt.
Ausgegeben werden folgende Werte:
- Buy = Einstiegssignal für eine mögliche Long-Position
- Sell = Einstiegssignal für eine mögliche Short-Position
- Neutral / Range = Kein klarer Trend erkennbar (= Seitwärtstrend)
- action = Squeeze Momentum Release = Unterstützung für einen Tradeeinstieg
- wait = Squeeze Momentum Capture = Squeeze Momentum noch nicht "abgeschlossen"
(Es handelt sich hierbei um mein erstes Script, aber für Verbesserungstipps, Wünsche oder Ratschläge bin ich gerne zu haben ;) )
Trinity OscillatorTrinity Oscillator by TrinityHub
Il Trinity Oscillator è un indicatore rivoluzionario sviluppato da TrinityHub, progettato per offrire un'analisi avanzata e multifattoriale dei mercati finanziari. Grazie alla sua struttura unica, questo indicatore combina diverse matrici di analisi per fornire agli utenti una comprensione chiara del prezzo e informazioni utili per prendere decisioni più consapevoli.
Caratteristiche Principali:
Analisi Multimercato:
Integra dati provenienti da Forex, Metalli Preziosi e Indici, offrendo una visione completa delle dinamiche di mercato.
Calcolo Dinamico:
Utilizza un approccio adattivo basato su indicatori specifici che variano in base al mercato in tempo reale.
Precisione e Versatilità:
Ideale per trader su diversi mercati e strumenti, dai futures agli indici e ai metalli preziosi.
Visualizzazione Intuitiva:
Fornisce indicazioni chiare di livelli di ipervalutato e ipersvalutato, rispetto alla matrice di riferimento del mercato selezionato.
Perché Scegliere il Trinity Oscillator?
Creato da Traders con anni di esperienza, il Trinity Oscillator rappresenta l'equilibrio perfetto tra semplicità e potenza analitica. Questo strumento avanzato è progettato per i traders che cercano un vantaggio competitivo sui mercati finanziari.
Disclaimer di Non Responsabilità:
Il Trinity Oscillator è uno strumento di analisi e non costituisce consulenza finanziaria. TrinityHub non garantisce risultati specifici e non è responsabile per perdite derivanti dall'uso dell'indicatore. L'utilizzo è a esclusivo rischio dell'utente.
Contattaci Per qualsiasi domanda o supporto, puoi contattare il team di TrinityHub all’indirizzo trinitytradingplatform @ gmail.com
Sito Web:
www.trinitytrading.it
Igul Ishan RSI 98% Win RateThis strategy gives more than 98% win rate across all time frames with sharpe ratio 2.445 in 5Min time frames of index chart.
This script uses RSI Over bought/Over sold conditions for entry.
This script uses Trailing Stop Loss for Exit.
This script uses trading session timing for force close for intraday purpose.
There is a problem with the script that most likely its repainting.
I have made this strategy public to gather solution/idea how to get rid of the repainting while preserving the win rate of the strategy with the other good parameters.
Universal Valuation System Overview 🔍
The Universal Valuation System (UVS) is an advanced valuation-focused indicator that provides insights into whether an asset is statistically overvalued or undervalued, helping traders understand where an asset sits within its historical value range. Unlike trend indicators, UVS emphasizes value analysis through a unique combination of performance ratios and statistical metrics, synthesizing this data into an overall Z-score. This score reflects the asset’s position within a typical normal distribution curve, allowing traders to make data-driven decisions based on historical valuation patterns.
Normal Distribution: A Statistical Foundation for Valuation 📊
The UVS leverages the normal distribution model as its core statistical framework. In a normal distribution, values tend to cluster around a central mean, with predictable probabilities for deviation. In financial markets, this means that most price or valuation levels hover around an average range, while extreme highs or lows are less frequent.
Under normal distribution:
68% of values lie within one standard deviation of the mean.
95% of values lie within two standard deviations.
99.7% of values lie within three standard deviations.
Using Z-scores, UVS calculates where current valuation metrics fall relative to this distribution, identifying overvalued (above-average) or undervalued (below-average) zones. This helps traders interpret an asset’s relative value, showing whether it is more likely to revert toward its mean or is experiencing an exceptional deviation.
Key Components and Ratios in UVS 🔀
UVS includes a range of valuation metrics that work together to determine the Z-score:
Sharpe Ratio: Measures return relative to risk, offering insight into the quality of returns.
Sortino Ratio: Focuses on downside deviation, helping gauge negative returns’ impact.
Omega Ratio: Assesses the likelihood of gains versus losses, providing a risk-adjusted performance measure.
Crosby Ratio: Examines volatility patterns, adding dimension to the valuation signal.
VWAP (Volume-Weighted Average Price) Z-Score: Assesses price relative to volume, highlighting valuation when volume supports price movements.
Price ROC Z-Score: Uses the rate of price change to give a volatility-adjusted price movement signal.
By averaging these ratios, UVS forms a composite Z-score representing an overall valuation signal. This Z-score directly reflects the asset’s position within its historical distribution, indicating whether it’s in a typical, overbought, or oversold range.
DCA (Dollar-Cost Averaging) Application with UVS 💵
The UVS provides powerful insights for those using Dollar-Cost Averaging (DCA) by signaling periods when an asset may be overvalued or undervalued relative to its historical distribution. This model-based approach helps traders strategically adjust their DCA timing:
Overvalued (Overbought) Zones:
When the Z-score indicates that an asset is in an overbought zone (typically above +2 standard deviations), DCA buyers may choose to reduce purchases or pause, as this zone suggests the asset is currently at a premium relative to its historical norms.
Undervalued (Oversold) Zones:
In undervalued regions (typically below -2 standard deviations), the UVS suggests a favorable accumulation point for DCA. These periods allow traders to buy at below-average valuations, optimizing their cost basis over time.
Valuation Zone Display and Accessibility 🌈
UVS includes several user-friendly display options, helping traders interpret its signals easily:
Composite Zone Highlighting: Displays overbought and oversold zones with color gradients, clearly visualizing statistical extremes.
Ratio Breakdown: Allows users to view individual Z-scores for each component, understanding the specific contributions to the overall valuation signal.
Color Blindness Mode: Offers multiple color settings to ensure clear interpretation across different visual needs.
Summary: Structured Value Analysis for Informed DCA Decisions
UVS is designed to be a reliable tool for traders looking to anchor their DCA and valuation-based strategies in statistical reality. By identifying valuation zones within a normal distribution framework, UVS enables a disciplined approach to asset accumulation based on relative value rather than price trends.
Important Note: UVS does not predict future performance. It provides a statistical view of historical valuation, which should be supplemented with additional analysis and risk management practices. Past patterns do not guarantee future results.
AXEL RSI colour candles [Insomnia]**AXEL RSI candles **
The "AXEL RSI candles " indicator is designed to help traders visualize overbought and oversold conditions by coloring candlesticks based on RSI (Relative Strength Index) levels. This indicator uses three customizable levels for both overbought and oversold conditions, providing a more detailed view of market momentum and potential reversal points.
### Key Features
1. **Customizable RSI Levels**:
- The indicator allows users to adjust the length of the RSI period and define three separate levels for overbought (default: 74, 80, and 90) and oversold (default: 30, 25, and 20) conditions.
- These levels help identify different stages of market momentum, with stronger colors indicating deeper levels of overbought or oversold conditions.
2. **Candle Color Coding**:
- Based on RSI levels, the indicator colors the candles to reflect the strength of the overbought or oversold condition:
- Light blue for the first overbought level (74), blue for the second (80), and dark blue for the highest level (90).
- Yellow for the first oversold level (30), orange for the second (25), and black for the deepest level (20).
- This visual representation allows traders to quickly assess the market’s state and make informed decisions based on price momentum.
3. **Real-Time Adaptation**:
- The color of the candles changes in real-time as the RSI value fluctuates, enabling traders to react promptly to shifts in market momentum. This feature is especially useful for identifying potential entry and exit points based on overbought and oversold conditions.
### How to Use
- **Overbought Signals**: When the RSI value enters the first, second, or third overbought level, the candles will turn light blue, blue, or dark blue, respectively. These colors can signal potential reversal zones or areas to watch for weakening momentum.
- **Oversold Signals**: When the RSI value falls into the oversold levels, the candles turn yellow, orange, or black. These colors indicate potential buying opportunities or areas where momentum may shift upward.
- **Customizability**: Users can adjust the RSI length and each of the overbought and oversold thresholds, tailoring the indicator to their preferred settings and trading style.
### Disclaimer
This indicator provides visual assistance in analyzing market momentum, but it should not be solely relied upon for trading decisions. Combining this indicator with additional tools, such as support and resistance levels or trend analysis, can enhance trading accuracy.
Machine Learning RSI [BackQuant]Machine Learning RSI
The Machine Learning RSI is a cutting-edge trading indicator that combines the power of Relative Strength Index (RSI) with Machine Learning (ML) clustering techniques to dynamically determine overbought and oversold thresholds. This advanced indicator adapts to market conditions in real-time, offering traders a robust tool for identifying optimal entry and exit points with increased precision.
Core Concept: Relative Strength Index (RSI)
The RSI is a well-known momentum oscillator that measures the speed and change of price movements, oscillating between 0 and 100. Typically, RSI values above 70 are considered overbought, and values below 30 are considered oversold. However, static thresholds may not be effective in all market conditions.
This script enhances the RSI by integrating a dynamic thresholding system powered by Machine Learning clustering, allowing it to adapt thresholds based on historical RSI behavior and market context.
Machine Learning Clustering for Dynamic Thresholds
The Machine Learning (ML) component uses clustering to calculate dynamic thresholds for overbought and oversold levels. Instead of relying on fixed RSI levels, this indicator clusters historical RSI values into three groups using a percentile-based initialization and iterative optimization:
Cluster 1: Represents lower RSI values (typically associated with oversold conditions).
Cluster 2: Represents mid-range RSI values.
Cluster 3: Represents higher RSI values (typically associated with overbought conditions).
Dynamic thresholds are determined as follows:
Long Threshold: The upper centroid value of Cluster 3.
Short Threshold: The lower centroid value of Cluster 1.
This approach ensures that the indicator adapts to the current market regime, providing more accurate signals in volatile or trending conditions.
Smoothing Options for RSI
To further enhance the effectiveness of the RSI, this script allows traders to apply various smoothing methods to the RSI calculation, including:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Weighted Moving Average (WMA)
Hull Moving Average (HMA)
Linear Regression (LINREG)
Double Exponential Moving Average (DEMA)
Triple Exponential Moving Average (TEMA)
Adaptive Linear Moving Average (ALMA)
T3 Moving Average
Traders can select their preferred smoothing method and adjust the smoothing period to suit their trading style and market conditions. The option to smooth the RSI reduces noise and makes the indicator more reliable for detecting trends and reversals.
Long and Short Signals
The indicator generates long and short signals based on the relationship between the RSI value and the dynamic thresholds:
Long Signals: Triggered when the RSI crosses above the long threshold, signaling bullish momentum.
Short Signals: Triggered when the RSI falls below the short threshold, signaling bearish momentum.
These signals are dynamically adjusted to reflect real-time market conditions, making them more robust than static RSI signals.
Visualization and Clustering Insights
The Machine Learning RSI provides an intuitive and visually rich interface, including:
RSI Line: Plotted in real-time, color-coded based on its position relative to the dynamic thresholds (green for long, red for short, gray for neutral).
Dynamic Threshold Lines: The script plots the long and short thresholds calculated by the ML clustering process, providing a clear visual reference for overbought and oversold levels.
Cluster Plots: Each RSI cluster is displayed with distinct colors (green, orange, and red) to give traders insights into how RSI values are grouped and how the dynamic thresholds are derived.
Customization Options
The Machine Learning RSI is highly customizable, allowing traders to tailor the indicator to their preferences:
RSI Settings : Adjust the RSI length, source price, and smoothing method to match your trading strategy.
Threshold Settings : Define the range and step size for clustering thresholds, allowing you to fine-tune the clustering process.
Optimization Settings : Control the performance memory, maximum clustering steps, and maximum data points for ML calculations to ensure optimal performance.
UI Settings : Customize the appearance of the RSI plot, dynamic thresholds, and cluster plots. Traders can also enable or disable candle coloring based on trend direction.
Alerts and Automation
To assist traders in staying on top of market movements, the script includes alert conditions for key events:
Long Signal: When the RSI crosses above the long threshold.
Short Signal: When the RSI crosses below the short threshold.
These alerts can be configured to notify traders in real-time, enabling timely decisions without constant chart monitoring.
Trading Applications
The Machine Learning RSI is versatile and can be applied to various trading strategies, including:
Trend Following: By dynamically adjusting thresholds, this indicator is effective in identifying and following trends in real-time.
Reversal Trading: The ML clustering process helps identify extreme RSI levels, offering reliable signals for reversals.
Range-Bound Trading: The dynamic thresholds adapt to market conditions, making the indicator suitable for trading in sideways markets where static thresholds often fail.
Final Thoughts
The Machine Learning RSI represents a significant advancement in RSI-based trading indicators. By integrating Machine Learning clustering techniques, this script overcomes the limitations of static thresholds, providing dynamic, adaptive signals that respond to market conditions in real-time. With its robust visualization, customizable settings, and alert capabilities, this indicator is a powerful tool for traders seeking to enhance their momentum analysis and improve decision-making.
As always, thorough backtesting and integration into a broader trading strategy are recommended to maximize the effectiveness!
NASI +The NASI + indicator is an advanced adaptation of the classic McClellan Oscillator, a tool widely used to gauge market breadth. It calculates the McClellan Oscillator by measuring the difference between the 19-day and 39-day EMAs of net advancing issues, which are optionally adjusted to account for the relative strength of advancing vs. declining stocks.
To enhance this analysis, NASI + applies the Relative Strength Index (RSI) to the cumulative McClellan Oscillator values, generating a unique momentum-based view of market breadth. Additionally, two extra EMAs—a 10-day and a 4-day EMA—are applied to the RSI, providing further refinement to signals for overbought and oversold conditions.
With NASI +, users benefit from:
-A deeper analysis of market momentum through cumulative breadth data.
-Enhanced sensitivity to trend shifts with the applied RSI and dual EMAs.
-Clear visual cues for overbought and oversold conditions, aiding in intuitive signal identification.
MACD+RSI+BBDESCRIPTION
The MACD + RSI + Bollinger Bands Indicator is a comprehensive technical analysis tool designed for traders and investors to identify potential market trends and reversals. This script combines three indicators: the Moving Average Convergence Divergence (MACD), the Relative Strength Index (RSI), and Bollinger Bands. Each of these indicators provides unique insights into market behavior.
FEATURES
MACD (Moving Average Convergence Divergence)
The MACD is a trend-following momentum indicator that shows the relationship between two moving averages of a security’s price.
The script calculates the MACD line, the signal line, and the histogram, which visually represents the difference between the MACD line and the signal line.
RSI (Relative Strength Index)
The RSI is a momentum oscillator that measures the speed and change of price movements. It ranges from 0 to 100 and is typically used to identify overbought or oversold conditions.
The script allows users to set custom upper and lower thresholds for the RSI, with default values of 70 and 30, respectively.
Bollinger Bands
Bollinger Bands consist of a middle band (EMA) and two outer bands (standard deviations away from the EMA). They help traders identify volatility and potential price reversals.
The script allows users to customize the length of the Bollinger Bands and the multiplier for the standard deviation.
Color-Coding Logic
The histogram color changes based on the following conditions:
Black: If the RSI is above the upper threshold and the closing price is above the upper Bollinger Band, or if the RSI is below the lower threshold and the closing price is below the lower Bollinger Band.
Green (#4caf50): If the RSI is above the upper threshold but the closing price is not above the upper Bollinger Band.
Light Green (#a5d6a7): If the histogram is positive and the RSI is not above the upper threshold.
Red (#f23645): If the RSI is below the lower threshold but the closing price is not below the lower Bollinger Band.
Light Red (#faa1a4): If the histogram is negative and the RSI is not below the lower threshold.
Inputs
Bollinger Bands Settings
Length: The number of periods for the moving average.
Basis MA Type: The type of moving average (SMA, EMA, SMMA, WMA, VWMA).
Source: The price source for the Bollinger Bands calculation.
StdDev: The multiplier for the standard deviation.
RSI Settings
RSI Length: The number of periods for the RSI calculation.
RSI Upper: The upper threshold for the RSI.
RSI Lower: The lower threshold for the RSI.
Source: The price source for the RSI calculation.
MACD Settings
Fast Length: The length for the fast moving average.
Slow Length: The length for the slow moving average.
Signal Smoothing: The length for the signal line smoothing.
Oscillator MA Type: The type of moving average for the MACD calculation.
Signal Line MA Type: The type of moving average for the signal line.
Usage
This indicator is suitable for various trading strategies, including day trading, swing trading, and long-term investing.
Traders can use the MACD histogram to identify potential buy and sell signals, while the RSI can help confirm overbought or oversold conditions.
The Bollinger Bands provide context for price volatility and potential breakout or reversal points.
Example:
From the example, it can clearly see that the Selling Climax and Buying Climax, marked as orange circle when a black histogram occurs.
Conclusion
The MACD + RSI + Bollinger Bands Indicator is a versatile tool that combines multiple technical analysis methods to provide traders with a comprehensive view of market conditions. By utilizing this script, traders can enhance their analysis and improve their decision-making process.
Alex JMA RSX Clone with Price & Divergence [LazyBear]Indicator Description:
RSX Indicator (RSXC_LB): This script is based on a clone of the JMA RSX (Relative Strength Index clone by LazyBear). It is a momentum-based indicator that helps identify overbought and oversold levels, as well as potential trend reversals.
Functional Changes:
Convergence is now marked with a white line on the RSX plot.
Bullish Divergence is marked with a green line, indicating potential upward movement.
Bearish Divergence is marked with a red line, indicating potential downward movement.
The default state is marked with a blue line.
Strong Divergences (both bullish and bearish) are highlighted with triangle markers on the chart.
Updated Features:
The script now visualizes convergence and divergence more clearly using distinct colors:
White: Convergence (indicates potential trend strength).
Green: Bullish divergence (possible price increase).
Red: Bearish divergence (possible price decrease).
Blue: Neutral/default state.
Triangle markers indicate strong divergences, making it easier for the user to spot critical moments.
This visual enhancement aims to provide clearer and more intuitive signals for traders using the RSX indicator, helping them identify trend changes and reversals more effectively.
Depth Trend Indicator - RSIDepth Trend Indicator - RSI
This indicator is designed to identify trends and gauge pullback strength by combining the power of RSI and moving averages with a depth-weighted calculation. The script was created by me, Nathan Farmer and is based on a multi-step process to determine trend strength and direction, adjusted by a "depth" factor for more accurate signal analysis.
How It Works
Trend Definition Using RSI: The RSI Moving Average ( rsiMa ) is calculated to assess the current trend, using customizable parameters for the RSI Period and MA Period .
Trends are defined as follows:
Uptrend : RSI MA > Critical RSI Value
Downtrend : RSI MA < Critical RSI Value
Pullback Depth Calculation: To measure pullback strength relative to the current trend, the indicator calculates a Depth Percentage . This is defined as the portion of the gap between the moving average and the price covered by a pullback.
Depth-Weighted RSI Calculation: The Depth Percentage is then applied as a weighting factor on the RSI Moving Average , giving us a Weighted RSI line that adjusts to the depth of pullbacks. This line is rather noisy, and as such we take a moving average to smooth out some of the noise.
Key Parameters
RSI Period : The period for RSI calculation.
MA Period : The moving average period applied to RSI.
Price MA Period : Determines the SMA period for price, used to calculate pullback depth.
Smoothing Length : Length of smoothing applied to the weighted RSI, creating a more stable signal.
RSI Critical Value : The critical value (level) used in determining whether we're in an uptrend or a downtrend.
Depth Critical Value : The critical value (level) used in determining whether or not the depth weighted value confirms the state of a trend.
Notes:
As always, backtest this indicator and modify the parameters as needed for your specific asset, over your specific timeframe. I chose these defaults as they worked well on the assets I look at, but it is likely you tend to look at a different group of assets over a different timeframe than what I do.
Large pullbacks can create large downward spikes in the weighted line. This isn't graphically pleasing, but I have tested it with various methods of normalization and smoothing and found the simple smoothing used in the indicator to be best despite this.
Black RSI (Multi Symbol RSI)📌 GENERAL OVERVIEW
Black RSI (Multi Symbol RSI) is an indicator with multiple-RSI (multi-symbol support), It is a powerful indicator designed for analyzing the relative strength of multiple financial instruments within a single chart. This indicator essentially combines multiple instances of the Relative Strength Index (RSI) for different symbols, allowing traders to compare and contrast market conditions for a broader, simultaneous analysis of various assets. By tracking RSI across multiple assets, traders can identify broader market trends, and sector rotations, or pinpoint relative strengths and weaknesses among different instruments. Please check the below sections for details.
Black RSI (Multi Symbol RSI) Indicator Features Summary:
+ Multiple RSI with multi-symbol ◢
This indicator plots Primary+3 multiple RSI for multiple symbols at once. For instance, it could simultaneously show the RSI of indices (e.g., SPX, NASDAQ) or stocks within a sector, providing insights into how these assets are moving relative to one another.
+ Custom Divergence Module ◢
It allows the user to select the divergence source among the multiple RSI (Primary, 1st, 2nd or 3rd RSI) and displays regular/hidden bullish/bearish divergence for selected RSI only.
+ Custom RSI Moving Average/BBs ◢
It allows the user to select the RSI moving average/BBs source among the multiple RSI (Primary, 1st, 2nd or 3rd RSI) and displays moving average/BBs for selected RSI only.
+ Alert Triggers ◢
The indicator can incorporate alert functions that notify the user when an RSI threshold (e.g., overbought or oversold levels) is crossed for any of the selected symbols.
📌HOW TO USE IT
Confirm Trends Across Symbols: Use the indicator to confirm trends across multiple assets. For example, if most symbols within a sector or index are showing RSI levels above 50, it may indicate a bullish trend in that sector. Conversely, if most RSIs are below 50, it may signal bearish sentiment.
Spot Divergences: Look for RSI divergences across symbols, which can hint at potential reversals. For instance, if most symbols show declining RSI levels while a few have increasing RSI, it could indicate relative strength in those few, making them candidates for closer watch.
Identify Overbought/Oversold Conditions: By observing the RSI levels of multiple symbols, you can identify when certain assets are overbought (typically RSI > 70) or oversold (typically RSI < 30). When multiple assets show similar RSI levels, this can indicate broader market sentiment or sector momentum.
Sector Rotation Analysis: In longer-term trading or portfolio rebalancing, a Multi-RSI Multi-Symbol indicator can help detect sector rotation patterns by showing which sectors are gaining strength (higher RSI) and which are weakening, facilitating informed sectoral shifts.
Use in Conjunction with Other Indicators: The Multi-RSI can serve as a supporting indicator alongside trend indicators like Moving Averages or Bollinger Bands, helping to confirm entry and exit points. For example, if a symbol’s RSI shows an overbought condition and it aligns with a resistance level from a Moving Average, this could strengthen a sell signal.
Customization: Customize the settings to match your trading style. For instance, day traders might prefer a shorter RSI period and timeframes, while swing traders may benefit from longer timeframes and smoother RSI.
⚙️Black RSI (Multi Symbol RSI) SETTINGS
Black RSI (Multi) Dashboard ◢
+ 1st RSI: Enable/Disable 1st RSI
+ 2nd RSI: Enable/Disable 2nd RSI
+ 3rd RSI: Enable/Disable 3rd RSI
RSI Primary Tools ◢
+ RSI Moving Average/Bollinger Bands: Enable/Disable RSI Moving Average/Bollinger Bands
+ Smooth RSI: Enable/Disable Smooth RSI (for Primary RSI)
+ RSI Divergence: Enable/Disable Divergence for user-selected RSI
RSI Secondary Tools ◢
+ RSI OB/OS Color Bars: Enable/Disable RSI OB/OS Color Bars for user-selected RSI
+ RSI OB/OS Highlights: Enable/Disable OB/OS Highlights for user-selected RSI
+ Background: Enable/Disable RSI Background
+ Primary RSI Settings ▾
- Override Primary RSI Symbol: Allows the user to select the symbol for Primary RSI
- Primary RSI Length: User input primary RSI length value
- Primary RSI Source: User primary RSI source selection
- RSI Line Thickness: User input line thickness value for primary RSI
- Primary RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS Primary RSI Highlights
- RSI Overbought Threshold: The user can set the RSI overbought threshold value. This Overbought Threshold value will also be applied to All RSI (Primary, 1st, 2nd, 3rd) and "RSI Divergence overbought condition" and "RSI OB/OS Highlights"
- RSI Oversold Threshold: The user can set the RSI oversold threshold value. The lower band (oversold line) of RSI. This Oversold Threshold value will also be applied to All RSI (Primary, 1st, 2nd, 3rd) and "RSI Divergence oversold condition" and "RSI OB/OS Highlights"
+ 1st RSI Settings ▾
- Override 1st RSI Symbol: Allows the user to select the symbol for 1st RSI
- 1st RSI Length: User input 1st RSI length value
- 1st RSI Source: User 1st RSI source selection
- RSI Line Thickness: User input line thickness value for 1st RSI
- 1st RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS 1st RSI Highlights
+ 2nd RSI Settings ▾
- Override 2nd RSI Symbol: Allows the user to select the symbol for 2nd RSI
- 2nd RSI Length: User input 2nd RSI length value
- 2nd RSI Source: User 2nd RSI source selection
- RSI Line Thickness: User input line thickness value for 2nd RSI
- 2nd RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS 2nd RSI Highlights
+ 3rd RSI Settings ▾
- Override 3rd RSI Symbol: Allows the user to select the symbol for 3rd RSI
- 3rd RSI Length: User input 3rd RSI length value
- 3rd RSI Source: User 3rd RSI source selection
- RSI Line Thickness: User input line thickness value for 3rd RSI
- 3rd RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS 3rd RSI Highlights
+ RSI Bands & Threshold Settings ▾
- RSI Middle Band: Allows the user to plot optional RSI band on the RSI Oscillator
- RSI Bullish Band: Allows the user to plot optional RSI band on the RSI Oscillator
- RSI Bearish Band: Allows the user to plot optional RSI band on the RSI Oscillator
+ Primary RSI Smooth Settings ▾
- Type: The user selected Smooth MA type for Primary RSI. With RSI Smooth enabled, it will also affect Primary RSI Divergences detection (all divergences will be plotted according to the "Smoothed RSI line")
- Length: User input Smooth MA length value for Primary RSI
+ RSI Moving Average Settings ▾
- MA/BB RSI Source: Allows the user to MA/BB source selection
- MA/BB Enable/Disable: Allows the user to select Moving average only, BBs only or Both to display on the RSI Oscillator
- RSI Moving Average Colors: Allows the user to select Bullish/Bearish colours of RSI Moving Average
- RSI Moving Average Type: Allows the user to select RSI MA Type
- RSI Moving Average Length: User input RSI MA length value
- RSI Moving Average Thickness: User input RSI MA thickness
- Bollinger Bands Colors: Allows the user to select BBs colours
- BB StdDev: user input Bollinger Bands standard deviation value
+ RSI Divergence Settings ▾
- Divergence RSI source: User selection of divergence source .
- Divergence source: User selection of divergence source . "oscillator" (divergence detection with high/low or close of RSI), "price" (divergence detection with high/low or close of price)
- Bull price source: User selection of Bull price source. Bull price source: "Low" (low of price divergence detection), "Close" (close of price divergence detection) (linked to "price" in "Divergence source")
- Bear price source: User selection of Bear price source. Bear price source: "High" (high of price divergence detection), "Close" (close of price divergence detection) (linked to "price" in "Divergence source")
- Low/High left bars: How many candles to compare on the left side of a candle when deciding whether it is a pivot. The lower the number is, the earlier pivots (and therefore divergences) will be signalled, but the quality of those detections could be lower.
- Low/High right bars: How many candles to compare on the right side of a candle when deciding whether it is a pivot. The lower the number is, the earlier pivots (and therefore divergences) will be signalled, but the quality of those detections could be lower.
- Maximum lookback bars: The maximum length of a divergence (number of bars). If a detected divergence is longer than this, it will be discarded.
- Price threshold: User selection of Price threshold, higher values more lines
- RSI threshold: User selection of RSI threshold, higher values more lines
- Show Lows: Displays lows of RSI
- Show Highs: Displays highs of RSI
- Show Divergence as:
- Line Style:
- Line thickness: User input divergence line thickness value
- Label Transparency: it could reduce label mess on the oscillator line, input "100" for label text only without label background
- Labels Text Color: User label text colour selection
Auto Text Color > Auto colour change of label text according to Dark/Light chart theme
- Bull Divergences: Enable/Disable of Bull divergences
> Color: User selection of Bull divergence color
> Potential Bull: It will plot potential regular bull divergence with a dotted line.
- Bear Divergences: Enable/Disable of Bear divergences
> Color: User selection of Bear divergence color
> Potential Bear: It will plot potential regular bear divergence with a dotted line.
- Hidden Bull Div: Enable/Disable of Hidden Bull divergences
> Color: User selection of Hidden Bull divergence colour
> Potential H.Bull: It will plot potential hidden bull divergence with a dotted line.
- Hidden Bear Div: Enable/Disable of Hidden Bear divergences
> Color: User selection of Hidden Bear divergence colour
> Hidden Bear divergence: It will plot potential hidden bear divergence with a dotted line.
> Regular Bull oversold only: It will show Regular Bullish RSI divergences in the oversold zone only, RSI oversold threshold can be configured in the "Primary RSI Settings" section.
> Regular Bear overbought only: It will show Regular Bearish RSI divergences in the overbought zone only, RSI overbought threshold can be configured in the "Primary RSI Settings" section.
+ RSI OB/OS Colored Bars Settings▾
- OB/OS Bar RSI Source: User selection of OB/OS Bars RSI source .
- Overbought Bar Color: User RSI OB Bars colour selection
- Oversold Bar Color: User RSI OS Bars colour selection
+ Overbought/Oversold Highlights ▾
- OB/OS Highlights RSI Source: User selection of OB/OS Highlights RSI source .
- Overbought Highlights : Enable/Disable Overbought Highlights
- Oversold Highlights : Enable/Disable Oversold Highlights
- Transparency: Gradient transparency of highlighted area
+ RSI Line & Label Settings ▾
- Show Symbol label: Enable/Disable each RSI symbol label.
- RSI line offset: Shifts the RSI to the left or the right on the given number of bars, Default is 0
+ Background Setting ▾
- Custom Background Color: User selection of Background color
Feedback & Bug Report
If you find any bugs in this indicator or have any suggestions, please let me know. Please give feedback & appreciate it if you like to see more future updates and indicators. Thank you
BTX27-MAXIndicator Description: BTX27-MAX
The BTX27-MAX is a comprehensive trading indicator designed to provide traders with customizable signals and alerts based on RSI and ATR calculations. It offers both automatic and manual configurations, making it adaptable to various currency pairs and trading styles. The indicator integrates with Telegram for real-time alerts and includes features for trade management and performance tracking.
Key Features:
Customizable Color Themes: Choose between Dark and Light color styles to match your chart preferences.
Automatic or Manual Configuration: Automatically sets optimal parameters for selected currency pairs or allows manual input for personalized settings.
RSI and ATR-Based Signals: Utilizes RSI smoothing and ATR calculations to identify potential trading opportunities.
Automatic SL and TP Levels: Projects customizable Stop-Loss and Take-Profit levels directly on the chart.
Telegram Integration: Sends customized buy or sell alerts with trade details to your Telegram channel.
Day and Time Filters: Allows selection of trading days and specific trading hours for signal generation.
Trade Summary Table: Displays the results of the last three trades (Win/Loss) directly on the chart.
Customizable Alert Messages: Personalize the messages sent to Telegram for both buy and sell signals.
Visual Enhancements: Colors candles based on trend direction and highlights the trading session on the chart.
How Does the Indicator Work?
Color Style Selection:
- Choose between "Dark" or "Light" themes to match your chart setup.
Currency Pair Selection:
- Select from predefined currency pairs: "EURUSD M5", "USDCAD M3", "GBPUSD M9", "XAUUSD M9".
Automatic vs. Manual Configuration:
- Automatic Configuration: When enabled, the indicator automatically sets parameters optimized for the selected currency pair.
- Manual Configuration: Allows you to input your own parameters for RSI period, smoothing factor, liquidity factors, and SL/TP ticks.
Telegram Integration:
- Input your Telegram chat ID to receive real-time alerts when signals are generated.
Trading Days and Hours:
- Customize which days of the week you want to receive signals.
- Set specific trading start and end hours to focus on preferred trading sessions.
Indicator Calculations:
- Calculates RSI and applies smoothing to identify the trend.
- Uses ATR for volatility measurement and to set dynamic liquidity bands.
Signal Generation:
- A Buy Signal is generated when specific RSI and ATR conditions are met.
- A Sell Signal is generated under the opposite conditions.
- Signals are only generated during the specified trading days and hours.
Trade Execution Visuals:
- Automatically draws SL and TP boxes on the chart for each signal.
- Colors candles based on trend direction: bullish, bearish, or neutral.
Telegram Alerts:
- Sends customized messages to your Telegram channel, including trade details like entry price, SL, TP, volatility, and trend direction.
Trade Summary Table:
- Displays the results of the last three trades ("✅ TP" for Take Profit hit, "❌ SL" for Stop Loss hit) on the chart.
How to Use the Indicator?
Setup:
- Add the indicator to your TradingView chart.
- Choose your preferred Color Style (Dark or Light).
- Select the Currency Pair you are trading.
- Decide whether to use Automatic Configuration or input your own settings.
Configure Telegram Alerts:
- Input your Telegram Chat ID to receive alerts.
- Customize the Buy and Sell alert messages if desired.
Set Trading Days and Hours:
- Enable or disable trading on specific days of the week.
- Set your preferred trading session hours.
Monitor Signals:
- Watch for buy or sell labels appearing on the chart.
- Use the SL and TP boxes to plan your trade entries and exits.
Review Trade Performance:
- Check the trade summary table to see the outcomes of recent trades.
What Makes This Indicator Original?
Adaptable Configuration: Offers both automatic and manual settings, making it suitable for traders of all levels and various trading instruments.
Comprehensive Alerts: Provides detailed alerts via Telegram, including custom messages and comprehensive trade information.
Trade Management Tools: Automatically calculates and visualizes SL and TP levels, aiding in effective risk management.
Performance Tracking: Includes an on-chart summary of recent trade results, helping traders assess the indicator's effectiveness over time.
Visual Customization: Enhances chart visuals with color themes, candle coloring, and trading session highlights.
Additional Considerations
Testing and Optimization: Before using the indicator in live trading, test it in a demo account and adjust settings as needed.
Complementary Analysis: Use in conjunction with other technical or fundamental analysis tools to confirm signals.
Risk Management: Ensure that the automatically calculated SL and TP levels align with your risk tolerance and trading strategy.
Market Awareness: Stay informed about economic events that may impact the instruments you are trading.
Example Configuration
Assuming you are trading "EURUSD M5" with Automatic Configuration enabled:
RSI Period: 15
RSI Smoothing Factor: 14
Rapid Liquidity Factor: 2.238
Liquidity Threshold: 15
SL Ticks: 100
TP Ticks: 300
Trading Days: Tuesday, Wednesday, Thursday
Trading Hours: Start at 8:00, End at 10:00
Telegram Chat ID: Your unique Telegram chat ID
Conclusion
The BTX27-MAX indicator is a versatile tool that combines technical analysis with automated trade management and alerting features. Its adaptability through automatic and manual configurations makes it suitable for a wide range of trading styles and instruments. By integrating real-time Telegram alerts and providing on-chart visual aids, it enhances decision-making processes and helps traders manage their trades more effectively.
Ready for immediate use in TradingView, this indicator can be a valuable addition to your trading toolkit.
Dynamic RSI Mean Reversion StrategyDynamic RSI Mean Reversion Strategy
Overview:
This strategy uses an RSI with ATR-Adjusted OB/OS levels in order to enhance the quality of it's mean reversion trades. It also incorporates a form of trend filtering in an effort to minimize downside and maximize upside. The backtest has fewer trades, as it uses substantial filtering to enhance trade quality. As you can see, I didn't cherry pick the results, so the results aren't the most beautiful thing you'll see in your life. I did this to ensure nobody gets misled. If you need a higher frequency of trades, consider removing the trend filter or increasing the length of the EMAs used for trend detection.
Features:
Dynamic OB/OS Levels: Uses ATR to adjust overbought and oversold thresholds dynamically, making the RSI more responsive in varying volatility conditions. This approach enhances signal strength by expanding the RSI range in high volatility and tightening it in low volatility.
Mean Reversion Focus: Designed for mean reversion but incorporates a trend-following filter to reduce countertrend trades. When the RSI is high, it often indicates an uptrend, so a trend filter prevents shorting in these cases and the same goes for downtrends and longing.
Trend Filtering: A moving average cross trend filter checks for the trend direction, with the RSI signal line color-coded to reflect trend shifts. Entries occur when the RSI crosses above or below the dynamic thresholds and is not a countertrend trade.
Stop Losses: Stop losses are set based on ATR distance from the entry price, providing volatility-adjusted protection.
Note:
If you're using this strategy on assets with a higher price, remember to increase the initial capital in the strategy settings. Otherwise, the strategy won't generate any (or many) trades and you'll end up with some inaccurate results.
Recommended Use:
Test it on different assets and timeframes. I’ve found the best results with standard RSI inputs, a relatively slow ATR, and a slower MA cross for trend filtering. Thus, the defaults are set that way. If the trend metrics are too slow, you’ll filter out too many good trades while allowing crummy ones; if too fast, most trades may be filtered out. As always, this has a lot of configurability so experiment to find the balance that works for your trading style.
Trend IdentifierThe “Trend Identifier” indicator is designed to help traders quickly identify trending and sideways market conditions, allowing them to adapt their strategies based on the prevailing market sentiment. By combining several technical analysis tools—ATR (Average True Range), ADX (Average Directional Index), EMA (Exponential Moving Average), and RSI (Relative Strength Index)—this script provides insights into the market’s strength, direction, and volatility to improve trade decision-making.
How It Works
1. ATR (Average True Range):
• ATR measures market volatility. In this script, ATR is used in combination with a moving average to identify periods of rising or falling volatility, which helps differentiate between trending and non-trending conditions.
2. ADX (Average Directional Index):
• ADX is a key component in identifying the strength of a trend. The script uses a threshold system to classify market conditions:
• If ADX is low (below a specified threshold plus a buffer) and ATR indicates low volatility, the market is likely in a sideways condition.
• If ADX is high (above a threshold minus a buffer) with increasing ATR, the market is likely in a trending condition.
3. EMA (Exponential Moving Average):
• A 20-period EMA is used instead of a simple moving average to enhance trend detection speed. The close price’s position relative to the EMA helps identify bullish or bearish trends when combined with ADX and ATR data.
4. RSI (Relative Strength Index):
• RSI acts as a confirmation tool for trend strength. A bullish trend is confirmed if RSI is above 50 and the price is above the EMA, whereas a bearish trend is confirmed if RSI is below 50 and the price is below the EMA.
Market Condition Signals
• Sideways Signal:
• When ADX and ATR indicate a low-volatility, sideways market, the indicator changes the background color to gray, signaling potential low-trend movement or consolidation. A “S” symbol appears above the bars, making it easier to spot this condition.
• Bullish Trend:
• When conditions favor a strong upward trend, the background changes to green. A “B” symbol is displayed below the bar, indicating the onset of a bullish market condition.
• Bearish Trend:
• Conversely, if conditions indicate a downward trend, the background color changes to red. A “S” symbol is displayed below the bar, showing a bearish trend condition.
Using the Indicator
This indicator helps traders understand the current market structure in a glance:
• Sideways (Gray): Low-volatility consolidation period, ideal for range-bound strategies or waiting for a breakout.
• Bullish (Green): Confirmed uptrend, potentially suitable for buying or long entries.
• Bearish (Red): Confirmed downtrend, ideal for short selling or exiting long positions.
The “Trend Identifier” is a powerful tool for traders who seek a clear view of the market structure, using a balanced approach of volatility, trend strength, and momentum. By combining the power of ATR, ADX, EMA, and RSI, this indicator provides a nuanced picture of the market’s behavior, assisting traders in making more informed decisions.
Stoch RSI and RSI Buy/Sell Signals with MACD Trend FilterDescription of the Indicator
This Pine Script is designed to provide traders with buy and sell signals based on the combination of Stochastic RSI, RSI, and MACD indicators, enhanced by the confirmation of candle colors. The primary goal is to facilitate informed trading decisions in various market conditions by utilizing different indicators and their interactions. The script allows customization of various parameters, providing flexibility for traders to adapt it to their specific trading styles.
Usefulness
This indicator is not just a mashup of existing indicators; it integrates the functionality of multiple momentum and trend-detection methods into a cohesive trading tool. The combination of Stochastic RSI, RSI, and MACD offers a well-rounded approach to analyzing market conditions, allowing traders to identify entry and exit points effectively. The inclusion of color-coded signals (strong vs. weak) further enhances its utility by providing visual cues about the strength of the signals.
How to Use This Indicator
Input Settings: Adjust the parameters for the Stochastic RSI, RSI, and MACD to fit your trading style. Set the overbought/oversold levels according to your risk tolerance.
Signal Colors:
Strong Buy Signal: Indicated by a green label and confirmed by a green candle (close > open).
Weak Buy Signal: Indicated by a blue label and confirmed by a green candle (close > open).
Strong Sell Signal: Indicated by a red label and confirmed by a red candle (close < open).
Weak Sell Signal: Indicated by an orange label and confirmed by a red candle (close < open).
Example Trading Strategy Using This Indicator
To effectively use this indicator as part of your trading strategy, follow these detailed steps:
Setup:
Timeframe : Select a timeframe that aligns with your trading style (e.g., 15-minute for intraday, 1-hour for swing trading, or daily for longer-term positions).
Indicator Settings : Customize the Stochastic RSI, RSI, and MACD parameters to suit your trading approach. Adjust overbought/oversold levels to match your risk tolerance.
Strategy:
1. Strong Buy Entry Criteria :
Wait for a strong buy signal (green label) when the RSI is at or below the oversold level (e.g., ≤ 35), indicating a deeply oversold market. Confirm that the MACD shows a decreasing trend (bearish momentum weakening) to validate a potential reversal. Ensure the current candle is green (close > open) if candle color confirmation is enabled.
Example Use : On a 1-hour chart, if the RSI drops below 35, MACD shows three consecutive bars of decreasing negative momentum, and a green candle forms, enter a buy position. This setup signals a robust entry with strong momentum backing it.
2. Weak Buy Entry Criteria :
Monitor for weak buy signals (blue label) when RSI is above the oversold level but still below the neutral (e.g., between 36 and 50). This indicates a market recovering from an oversold state but not fully reversing yet. These signals can be used for early entries with additional confirmations, such as support levels or higher timeframe trends.
Example Use : On the same 1-hour chart, if RSI is at 45, the MACD shows momentum stabilizing (not necessarily negative), and a green candle appears, consider a partial or cautious entry. Use this as an early warning for a potential bullish move, especially when higher timeframe indicators align.
3. Strong Sell Entry Criteria :
Look for a strong sell signal (red label) when RSI is at or above the overbought level (e.g., ≥ 65), signaling a strong overbought condition. The MACD should show three consecutive bars of increasing positive momentum to indicate that the bullish trend is weakening. Ensure the current candle is red (close < open) if candle color confirmation is enabled.
Example Use : If RSI reaches 70, MACD shows increasing momentum that starts to level off, and a red candle forms on a 1-hour chart, initiate a short position with a stop loss set above recent resistance. This is a high-confidence signal for potential price reversal or pullback.
4. Weak Sell Entry Criteria :
Use weak sell signals (orange label) when RSI is between the neutral and overbought levels (e.g., between 50 and 64). These can indicate potential short opportunities that might not yet be fully mature but are worth monitoring. Look for other confirmations like resistance levels or trendline touches to strengthen the signal.
Example Use : If RSI reads 60 on a 1-hour chart, and the MACD shows slight positive momentum with signs of slowing down, place a cautious sell position or scale out of existing long positions. This setup allows you to prepare for a possible downtrend.
Trade Management:
Stop Loss : For buy trades, place stop losses below recent swing lows. For sell trades, set stops above recent swing highs to manage risk effectively.
Take Profit : Target nearby resistance or support levels, apply risk-to-reward ratios (e.g., 1:2), or use trailing stops to lock in profits as price moves in your favor.
Confirmation : Align these signals with broader trends on higher timeframes. For example, if you receive a weak buy signal on a 15-minute chart, check the 1-hour or daily chart to ensure the overall trend is not bearish.
Real-World Example: Imagine trading on a 15-minute chart :
For a buy:
A strong buy signal (green) appears when the RSI dips to 32, MACD shows declining bearish momentum, and a green candle forms. Enter a buy position with a stop loss below the most recent support level.
Alternatively, a weak buy signal (blue) appears when RSI is at 47. Use this as a signal to start monitoring the market closely or enter a smaller position if other indicators (like support and volume analysis) align.
For a sell:
A strong sell signal (red) with RSI at 72 and a red candle signals to short with conviction. Place your stop loss just above the last peak.
A weak sell signal (orange) with RSI at 62 might prompt caution but can still be acted on if confirmed by declining volume or touching a resistance level.
These strategies show how to blend both strong and weak signals into your trading for more nuanced decision-making.
Technical Analysis of the Code
1. Stochastic RSI Calculation:
The script calculates the Stochastic RSI (stochRsiK) using the RSI as input and smooths it with a moving average (stochRsiD).
Code Explanation : ta.stoch(rsi, rsi, rsi, stochLength) computes the Stochastic RSI, and ta.sma(stochRsiK, stochSmoothing) applies smoothing.
2. RSI Calculation :
The RSI is computed over a user-defined period and checks for overbought or oversold conditions.
Code Explanation : rsi = ta.rsi(close, rsiLength) calculates RSI values.
3. MACD Trend Filter :
MACD is calculated with fast, slow, and signal lengths, identifying trends via three consecutive bars moving in the same direction.
Code Explanation : = ta.macd(close, macdLengthFast, macdLengthSlow, macdSignalLength) sets MACD values. Conditions like macdLine < macdLine confirm trends.
4. Buy and Sell Conditions :
The script checks Stochastic RSI, RSI, and MACD values to set buy/sell flags. Candle color filters further confirm valid entries.
Code Explanation : buyConditionMet and sellConditionMet logically check all conditions and toggles (enableStochCondition, enableRSICondition, etc.).
5. Signal Flags and Confirmation :
Flags track when conditions are met and ensure signals only appear on appropriate candle colors.
Code Explanation : Conditional blocks (if statements) update buyFlag and sellFlag.
6. Labels and Alerts :
The indicator plots "BUY" or "SELL" labels with the RSI value when signals trigger and sets alerts through alertcondition().
Code Explanation : label.new() displays the signal, color-coded for strength based on RSI.
NOTE : All strategies can be enabled or disabled in the settings, allowing traders to customize the indicator to their preferences and trading styles.
Trade 1 + StatergyThe Relative Strength Index (RSI) is a momentum oscillator used in technical analysis that measures the speed and change of price movements of a security within a range of 0 to 100. It is most commonly set to a 14-period timeframe and helps traders identify overbought or oversold conditions, suggesting potential reversal points in the market. Divergence occurs when the price trend and the RSI trend move in opposite directions. A bullish divergence signals potential upward movement when prices are making new lows while the RSI makes higher lows. Conversely, a bearish divergence suggests a possible downward trend when prices are making new highs but the RSI is making lower highs. These signals are crucial for traders looking to capture shifts in momentum and adjust their trading strategies accordingly.
use full to
5 min
10 min
15 min decition
Options Series - Technical Analysis Chart➤ Simple Technical Chart Only:
➤ With MA-20 Overlay and Volatility background bars:
➤ With RSI Candles:
⭐ Overview and How It Works:
This script provides a multi-asset analysis tool to assess various market conditions across four symbols simultaneously. It combines several indicators such as daily price change, Moving Averages (MA), Bollinger Bands (BB), Parabolic SAR, RSI, and VWAP to generate buy/sell signals and trend indicators. Its strength lies in the layered use of indicators to enhance signal reliability, making it valuable for traders needing cross-validation in decision-making.
⭐ Key Features and Functionality:
The script evaluates each symbol's price against various indicators and conditions:
Daily Price Conditions: It checks if each symbol’s close price is above or below the previous day’s open, close, and intra-day ranges, forming a foundational bullish/bearish condition.
Range Breakout 1st 5min Candle (ORB): Opening Range Breakout levels are calculated and compared with current close prices, detecting breakout/breakdown conditions.
ORB Body: This basically calculates the previous day Daily candle body size, if todays Daily candle body size is greater than previous day, then we can say that we are having good momentum else its likely to be in-sidebar trading.
Moving Averages (MA): It leverages EMA-20, 2-day, and 3-day exponential moving averages to gauge short to medium-term trends.
RSI and VWAP: Relative Strength Index (RSI) determines overbought or oversold conditions, while VWAP compares prices to volume-weighted levels.
Bollinger Bands and Trend Analysis: Detects volatility and potential breakout conditions.
Concept of ORB Body:
Current_PrevDay_Body = (math.max(var_Current_PrevD_Open, var_Current_PrevD_Close) - math.min(var_Current_PrevD_Open, var_Current_PrevD_Close))
Current_Upper_ORB = var_Current_D_Open + Current_PrevDay_Body
Current_Lower_ORB = var_Current_D_Open - Current_PrevDay_Body
Current_TodayDay_Body = math.max(var_Current_D_Open, var_Current_Close) - math.min(var_Current_D_Open, var_Current_Close)
Current_ORBBody = Current_TodayDay_Body > Current_PrevDay_Body
Current_Upper_ORB_bull = (var_Current_Close > Current_Upper_ORB)
Current_Lower_ORB_bear = (var_Current_Close < Current_Lower_ORB)
🎨 Visualizations and User Experience:
The script can dynamically display colored backgrounds indicating trends when conditions are met. For example, the bgcolor function changes the background when certain trend-based criteria are satisfied, offering visual cues to users. Additionally, the checkbox input toggles trend bar visualizations, enhancing user experience by providing a quick visual reference without needing to interpret individual data points manually.
RSI-Based Candle Coloring:
➤ The script customizes candle colors based on RSI thresholds, specifically defining upper (60) and lower (40) RSI levels. When the RSI value exceeds the upper threshold, candles are colored as bullish (green), and if it falls below the lower threshold, candles are colored as bearish (red). Neutral RSI values result in a default color (gray).
➤ This setup offers a visually intuitive way to identify potential trend directions based on RSI levels, making it ideal for traders looking to gauge momentum visually.
⭐ Settings and Customization:
With multiple user-configurable inputs, the script allows for tailored analysis. Customizable parameters, such as enabling/disabling trend bars and setting various look-back periods for indicators like Bollinger Bands and Moving Averages, make it adaptable to various trading styles and preferences. It also allows users to modify visual elements like colors and styles, improving flexibility.
⭐ Uniqueness of the Concept:
The unique aspect of this script is its multi-symbol approach combined with complex conditions. By comparing not only one but four symbols simultaneously, it provides a broader market view and allows traders to correlate signals across different assets, offering a potential edge for diversified or comparative strategies. Additionally, the incorporation of ORB and multi-timeframe MAs gives it a robustness often lacking in simpler single-symbol scripts.
🚀 Conclusion:
This script is a powerful multi-indicator tool suited for traders looking for a comparative, multi-symbol analysis. With features like ORB, Bollinger Band-based trend detection, and MA cross-verification, it can assist traders in identifying and validating trend signals across assets. The user-friendly visualizations and customizable settings further enhance its usability, making it versatile for various trading strategies and preferences.
Z-Score RSI StrategyOverview
The Z-Score RSI Indicator is an experimental take on momentum analysis. By applying the Relative Strength Index (RSI) to a Z-score of price data, it measures how far prices deviate from their mean, scaled by standard deviation. This isn’t your traditional use of RSI, which is typically based on price data alone. Nevertheless, this unconventional approach can yield unique insights into market trends and potential reversals.
Theory and Interpretation
The RSI calculates the balance between average gains and losses over a set period, outputting values from 0 to 100. Typically, people look at the overbought or oversold levels to identify momentum extremes that might be likely to lead to a reversal. However, I’ve often found that RSI can be effective for trend-following when observing the crossover of its moving average with the midline or the crossover of the RSI with its own moving average. These crossovers can provide useful trend signals in various market conditions.
By combining RSI with a Z-score of price, this indicator estimates the relative strength of the price’s distance from its mean. Positive Z-score trends may signal a potential for higher-than-average prices in the near future (scaled by the standard deviation), while negative trends suggest the opposite. Essentially, when the Z-Score RSI indicates a trend, it reflects that the Z-score (the distance between the average and current price) is likely to continue moving in the trend’s direction. Generally, this signals a potential price movement, though it’s important to note that this could also occur if there’s a shift in the mean or standard deviation, rather than a meaningful change in price itself.
While the Z-Score RSI could be an insightful addition to a comprehensive trading system, it should be interpreted carefully. Mean shifts may validate the indicator’s predictions without necessarily indicating any notable price change, meaning it’s best used in tandem with other indicators or strategies.
Recommendations
Before putting this indicator to use, conduct thorough backtesting and avoid overfitting. The added parameters allow fine-tuning to fit various assets, but be careful not to optimize purely for the highest historical returns. Doing so may create an overly tailored strategy that performs well in backtests but fails in live markets. Keep it balanced and look for robust performance across multiple scenarios, as overfitting is likely to lead to disappointing real-world results.
XAUUSD 10-Minute StrategyThis XAUUSD 10-Minute Strategy is designed for trading Gold vs. USD on a 10-minute timeframe. By combining multiple technical indicators (MACD, RSI, Bollinger Bands, and ATR), the strategy effectively captures both trend-following and reversal opportunities, with adaptive risk management for varying market volatility. This approach balances high-probability entries with robust volatility management, making it suitable for traders seeking to optimise entries during significant price movements and reversals.
Key Components and Logic:
MACD (12, 26, 9):
Generates buy signals on MACD Line crossovers above the Signal Line and sell signals on crossovers below the Signal Line, helping to capture momentum shifts.
RSI (14):
Utilizes oversold (below 35) and overbought (above 65) levels as a secondary filter to validate entries and avoid overextended price zones.
Bollinger Bands (20, 2):
Uses upper and lower Bollinger Bands to identify potential overbought and oversold conditions, aiming to enter long trades near the lower band and short trades near the upper band.
ATR-Based Stop Loss and Take Profit:
Stop Loss and Take Profit levels are dynamically set as multiples of ATR (3x for stop loss, 5x for take profit), ensuring flexibility with market volatility to optimise exit points.
Entry & Exit Conditions:
Buy Entry: T riggered when any of the following conditions are met:
MACD Line crosses above the Signal Line
RSI is oversold
Price drops below the lower Bollinger Band
Sell Entry: Triggered when any of the following conditions are met:
MACD Line crosses below the Signal Line
RSI is overbought
Price moves above the upper Bollinger Band
Exit Strategy: Trades are closed based on opposing entry signals, with adaptive spread adjustments for realistic exit points.
Backtesting Configuration & Results:
Backtesting Period: July 21, 2024, to October 30, 2024
Symbol Info: XAUUSD, 10-minute timeframe, OANDA data source
Backtesting Capital: Initial capital of $700, with each trade set to 10 contracts (equivalent to approximately 0.1 lots based on the broker’s contract size for gold).
Users should confirm their broker's contract size for gold, as this may differ. This script uses 10 contracts for backtesting purposes, aligned with 0.1 lots on brokers offering a 100-contract specification.
Key Backtesting Performance Metrics:
Net Profit: $4,733.90 USD (676.27% increase)
Total Closed Trades: 526
Win Rate: 53.99%
Profit Factor: 1.44 (1.96 for Long trades, 1.14 for Short trades)
Max Drawdown: $819.75 USD (56.33% of equity)
Sharpe Ratio: 1.726
Average Trade: $9.00 USD (0.04% of equity per trade)
This backtest reflects realistic conditions, with a spread adjustment of 38 points and no slippage or commission applied. The settings aim to simulate typical retail trading conditions. However, please adjust the initial capital, contract size, and other settings based on your account specifics for best results.
Usage:
This strategy is tuned specifically for XAUUSD on a 10-minute timeframe, ideal for both trend-following and reversal trades. The ATR-based stop loss and take profit levels adapt dynamically to market volatility, optimising entries and exits in varied conditions. To backtest this script accurately, ensure your broker’s contract specifications for gold align with the parameters used in this strategy.
Mean Reversion Entry Signal
Mean Reversion Entry Signal Indicator
The Mean Reversion Entry Signal indicator is a trading tool designed for traders looking to capitalize on market corrections. This script leverages mean reversion principles, utilizing price levels and the Relative Strength Index (RSI) to generate potential entry signals for both long and short positions.
Key Features:
1. **Dynamic Price Levels**:
- The indicator calculates critical price levels over a user-defined lookback period, including:
- High (H)**: The highest price point over the lookback period.
- Low (L)**: The lowest price point over the lookback period.
- Midpoint (M)**: The average of the high and low.
- Midpoint High (Mh)** and **Midpoint Low (Ml)**: Additional reference levels derived from M for more nuanced trading signals.
2. User-Configurable Inputs:
- Lookback Period: Traders can specify the number of hours to look back for the calculations, allowing for tailored analysis that fits various trading strategies. By default the lookback is set for 24 hours, as i consider it the most adequate for day trading.
- Aggression Level: This input lets users choose their trading strategy's intensity, affecting the sensitivity of entry signals based on the percentage difference from the midpoint.
3. Entry Signal Generation:
The script evaluates market conditions to signal potential trades:
- Long Entries: Indicated when the price is below the Ml level and the price demonstrates a significant distance from the midpoint (M), coupled with RSI being near the oversold territory.
- Short Entries: Triggered when the price exceeds the Mh level, also indicating a significant distance from M, while the RSI indicates near overbought conditions.
4. Visual Indicators:
Clear visual signals are plotted directly on the chart:
- Long Signals are represented as upward triangles in green.
- Short Signals appear as downward triangles in red.
- Important price levels (M, H, L, Mh, and Ml) are displayed to provide traders with immediate context for potential trades.
5. No Entry Zone:
The area between Mh and Ml is shaded to indicate a "No Entry Zone," helping traders identify regions where conditions may not be favorable for taking new positions.
This can also be used as potencial profit taking area.
Conclusion
1. This indicator was built mainly for day trading, using timeframes between 1 minute and 1 hour. If you want to use it in 1D time frame, for instance, you should adjust the lookback period to 120 hours or so.
2. To use this as a strategy, you should not be afraid to "add to your losers" as the trade goes against you and the signals continue to appear.
Enjoy
COT Trendfilter + SignalsCOT Trendfilter + Signals Indicator
Data Processing and Usage: The COT indicator processes Commitments of Traders (COT) data provided by the CFTC. Users can select from various participant groups, including Commercials, Large Speculators, and Small Speculators. However, it is important to note that the signal logic of the indicator is exclusively applicable to the net positions of Commercials. This is because Commercials tend to trade contrarily, meaning their trading decisions often run against the prevailing market trend.
Functionality of the Indicators
1. Cycle COT
The cCOT is an enhanced version of the classic RSI. It incorporates additional smoothing based on market vibrations, along with adaptive upper and lower bands based on cyclical memory. The cCOT uses the current dominant cycle length as input and highlights trading signals when the signal line crosses above or below the adaptive bands. Compared to the standard RSI, the cCOT responds more quickly to market movements.
For detailed information on the cCOT, please refer to Chapter 4 "Fine tuning technical indicators" in the book "Decoding the Hidden Market Rhythm, Part 1" by Lars von Thienen.
2. Adaptive Ultra-Smooth Momentum Indicator
The Adaptive Ultra-Smooth Momentum Indicator (CSI) provides an optimized momentum oscillator based on the current dominant cycle. It addresses three common issues with standard indicators: excessive false signals, signal delay, and the need for length adjustments. The CSI offers adaptive smoothing, zero delay, and accurate detection of turning points.
For further information about the CSI, please refer to Chapter 10 "Cycle Swing Indicator: Trading the swing of the dominant cycle" in the book "Decoding the Hidden Market Rhythm, Part 1" by Lars von Thienen.
Signals and Validation
The indicator generates various trading signals:
cCOT:
A buy signal is indicated by an airplane emoji (🛫), while a sell signal is marked by another airplane emoji (🛬).
COT Momentum:
A buy signal is shown by the symbol “∿” in green, while a sell signal is represented by the same symbol in red.
Standard COT Index (Willco):
A buy signal is depicted by a “B” (in green), while a sell signal is shown by an “S” (in red).
Additionally, the validity of the signals is checked. If a previous signal becomes invalid in the following week, it is marked with a gray “x,” indicating that these signals may not be reliable. Users can also switch between net positions, long, and short to analyze the most relevant data for them.
Background Color
The color in the channel can indicate the strength of the Commercials' long-term trend. A channel background color signals an active long-, short-term trend, while no color suggests that there is no clear long-term trend present.
Strange behavior
When only a sharp spike is displayed and the rest is flat, the length settings of the Cycle Length Index should be increased. This can occur when the length is too short, resulting in an unusual spike to properly generate the channel.
Disclaimer
The use of this indicator and the generated signals is at your own risk. The author assumes no responsibility for trading decisions made based on these signals. Please be aware that trading financial instruments involves risks.