RSI Volatility Suppression Zones [BigBeluga]RSI Volatility Suppression Zones is an advanced indicator that identifies periods of suppressed RSI volatility and visualizes these suppression zones on the main chart. It also highlights breakout dynamics, giving traders actionable insights into potential market momentum.
🔵 Key Features:
Detection of Suppression Zones:
Identifies periods where RSI volatility is suppressed and marks these zones on the main price chart.
Breakout Visualization:
When the price breaks above the suppression zone, the box turns aqua, and an upward label is drawn to indicate a bullish breakout.
If the price breaks below the zone, the box turns purple, and a downward label is drawn for a bearish breakout.
Breakouts accompanied by a "+" label represent strong moves caused by short-lived, tight zones, signaling significant momentum.
Wave Labels for Consolidation:
If the suppression zone remains unbroken, a "wave" label is displayed within the gray box, signifying continued price stability within the range.
Gradient Intensity Below RSI:
A gradient strip below the RSI line increases in intensity based on the duration of the suppressed RSI volatility period.
This visual aid helps traders gauge how extended the low volatility phase is.
🔵 Usage:
Identify Breakouts: Use color-coded boxes and labels to detect breakouts and their direction, confirming potential trend continuation or reversals.
Evaluate Market Momentum: Leverage "+" labels for strong breakout signals caused by short suppression phases, indicating significant market moves.
Monitor Price Consolidation: Observe gray boxes and wave labels to understand ongoing consolidation phases.
Analyze RSI Behavior: Utilize the gradient strip to measure the longevity of suppressed volatility phases and anticipate breakout potential.
RSI Volatility Suppression Zones provides a powerful visual representation of RSI volatility suppression, breakout signals, and price consolidation, making it a must-have tool for traders seeking to anticipate market movements effectively.
Relative Strength Index (RSI)
Bottom Detection Monitor**Bottom-Fishing Monitor**
This indicator utilizes the RSI value when it falls below 30. The difference between the RSI value and 30 is accumulated over time. If the RSI value exceeds 30 during this period, the accumulated value is automatically reset to zero, and the calculation starts anew. Once the accumulated value reaches the set threshold, it resets again.
The default threshold is set to 100.
This concept originally emerged from observing one-minute trading charts, where it is particularly suitable for smaller timeframes. In cases of a continuous, strong downward trend on higher timeframes, the threshold might need to be set much higher. This could result in the indicator's graph becoming overly distorted. Additionally, since the volatility characteristics and amplitude vary for different instruments, I’ve made this threshold adjustable for users.
Using the same principle, I’ve also created a similar detection mechanism based on CCI.
Under normal circumstances, this curve stays close to the zero line. However, during a downward trend where RSI falls below 30, the curve starts to rise. When the suddenly increasing curve peaks and then drops back to the zero line, it signals a bottom-fishing opportunity. That said, due to the threshold setting, multiple peaks may appear consecutively. Users should be aware of this in practice and can adjust the threshold to mitigate such occurrences.
This is the beginning of my open-source journey.
I respect creative ideas and redefined expressions.
Thank you, TradingView community, for giving me this opportunity.
Simple RSI StrategySimple RSI Strategy for Educational Purposes
This Pine Script, built with TradingView's latest version (v6), implements a Simple RSI Strategy designed to highlight overbought and oversold conditions in the market. It leverages the Relative Strength Index (RSI) as a tool to trigger long entries and exits based on user-defined thresholds.
Key Features:
Customizable RSI Parameters: Adjust the RSI length, overbought, and oversold levels to fit different trading scenarios.
Risk Management Parameters: Includes configurable initial capital, position sizing as a percentage of equity, slippage, and commission for realistic backtesting.
Visual Enhancements: Overbought and oversold zones are clearly plotted with gradient fills and color-coded signals for better interpretability.
Signal Triggers: Long entries are initiated when the RSI crosses above the oversold level, and positions are closed when the RSI crosses below the overbought level.
Important Note:
This script is intended solely for educational purposes. While it provides insights into basic RSI-based strategies, it does not account for advanced risk management, market conditions, or position hedging. Users should exercise additional caution and implement comprehensive risk management techniques, such as stop losses and portfolio diversification, when applying similar strategies in live trading.
Backtest results and performance metrics derived from this script may not accurately reflect real-world outcomes due to limitations such as slippage, order execution timing, and market volatility.
Disclaimer: Trading involves significant financial risk. This script is not investment advice. Users should consult with a financial advisor and perform thorough testing before deploying any trading strategy.
This description emphasizes the educational aspect of the script while encouraging traders to incorporate robust risk management practices.
MACD + RSI LabelsThe indicator shows the BUY and SELl signals based on the MACD and RSI. The RSI is kept between 40 and 60.
MACD + RSI LabelsThis indicator shows the buy and sell indicator on the chart when MACD crossing the signal line and RSI is above 40 or below 60
NAMA Stochastic RSI - Quan DaoThanks for many follows in the beginning of 2025.
I would love to share publicly a new indicator with all of you to show my gratitude.
It's a simple oscillator, using my NAMA moving average at the core of the RSI of the Stochastic RSI indicator.
Probably should be used for long-term investment, as I set the default period for the stochastic pretty big.
The use is pretty forward:
- When you have the green arrow at the bottom, it's time to consider a buy.
- When you have the red arrow at the top, it's time to consider a sell.
I would love to hear your feedback on how you used it and if it's useful for you at all.
Cheers,
Four RSI hajianاین اندیکاتور توسط 4 اندیکاتور ار اس ای تحلیل را انجام داده و در نقاط اشبا برای شما سیگنال صادر میکند
JAHMUDOSThis indicator combines the **SMA** (Simple Moving Average) and **RSI** (Relative Strength Index) to identify key trading areas. The **SMA** helps determine the overall trend, while the **RSI** indicates overbought and oversold conditions. The indicator highlights potential **entry zones** for trades based on these two indicators and helps find favorable entry points. Additionally, it shows **Stop-Loss levels** to manage risk and indicates potential **profit areas** to maximize returns.
MACD + RSI LabelsThis indicator shows the BUY and SELL signals based on the MACD and RSI signals. the RSI is kept between 40 and 60.
Customizable EMA & RSI Indicator-TG1. *Customizable EMA Inputs:*
- Each EMA (10, 20, 50, 100, 200) is now customizable with its own length, color, and line thickness.
2. *Preserved RSI Settings:*
- The RSI section remains unchanged but with full user configurability for length, source, and colors.
3. *Overlay Configuration:*
- Set overlay=true so EMAs are plotted directly on the chart while RSI remains a separate indicator below.
### How to Use:
Adjust EMA lengths, colors, and thickness from the indicator settings panel to suit your preferences.
RSI Integral by Hawkeye ChartingThe Hawkeye Charting Integral RSI is a highly intuitive and easy-to-understand indicator that shows you when the price is overbought or oversold.
It also includes optional Buy and Sell labels that you can toggle on or off.
If you have any questions, feel free to leave an Commentary.
Wishing you successful trading!
RShar Seasonal RSISeasonal RSI
This indicator, Seasonal RSI, is designed to enhance trading decisions by combining the **Relative Strength Index (RSI)** with insights derived from historical **seasonality patterns**. It not only calculates RSI but also overlays seasonality data for the current week of the year, providing traders with a more contextualized view of market conditions.
---
### **Key Features**
#### 1. **Relative Strength Index (RSI) Calculation**
- The script calculates the RSI for a user-defined period (`RSI Length`), which is an oscillator used to measure the speed and magnitude of price changes.
- RSI values are plotted on the chart, helping traders identify **overbought** and **oversold** conditions.
- Thresholds for **Overbought** and **Oversold** levels are customizable, with default values of 70 and 30, respectively.
---
#### 2. **Dynamic RSI Coloring Based on Seasonality**
- The color of the RSI line dynamically adjusts based on historical **win rates** for the current week of the year:
- **Bright Green** for win rates > 65%.
- **Green** for win rates between 50-65%.
- **Red** for win rates between 35-50%.
- **Dark Red** for win rates < 35%.
- This feature gives traders a quick visual cue about whether the historical performance of the current week tends to be bullish, neutral, or bearish.
---
#### 3. **Overbought and Oversold Level Visualization**
- Overbought and oversold levels are displayed as dotted horizontal lines on the RSI chart.
- These levels act as visual guides for potential price reversals:
- **Overbought (default 70)**: Indicates potential selling pressure.
- **Oversold (default 30)**: Indicates potential buying pressure.
---
#### 4. **Seasonality Data Integration**
- Historical **seasonality data** is used to analyze price performance patterns for each week of the year:
- **Win Rate**: The percentage of years in which prices closed higher during the current week.
- **Average Weekly Change**: The average price percentage change during the current week over historical data.
- This data provides additional context to RSI readings, helping traders align their strategies with seasonal tendencies.
---
#### 5. **Information Table Overlay**
- A table is displayed in the **top-right corner** of the chart, summarizing seasonality data for the current week:
- **Week Win Rate**: Displays the percentage of historical years where prices rose during this week.
- **Avg Weekly Change**: Shows the average percentage price change for the current week. Positive values are displayed in green, and negative values are shown in red.
- This overlay provides actionable insights without cluttering the chart.
---
### **How It Works**
1. **Seasonality Data**:
- A function (`getSeasonalityForWeek`) fetches or uses predefined mock seasonality data for each week of the year.
- For each week, it calculates:
- The **Win Rate** (percentage of years with positive performance).
- The **Mean Change** (average price percentage change).
2. **RSI Plot**:
- The RSI line is plotted on the chart.
- The line's color is determined by the win rate for the current week, providing a visual representation of historical performance trends.
3. **Threshold Visualization**:
- Horizontal lines for overbought and oversold levels are drawn to assist in identifying potential reversal points.
4. **Information Table**:
- The table summarizes the current week's seasonality data for quick reference, helping traders make data-driven decisions.
---
### **Use Cases**
- **Short-Term Traders**:
Use the dynamic RSI colors and seasonality table to align short-term trades with historical patterns of weekly performance.
- **Swing Traders**:
Identify whether a stock or market is in an overbought/oversold condition while considering the seasonal tendency for the week.
- **Contextual Decision-Making**:
Combine traditional RSI signals with historical data to reduce false signals and improve timing.
---
### **Limitations**
- The script uses **mock seasonality data** in its default state. To make it fully functional, replace the mock data with actual historical performance metrics for your specific ticker or market.
- The indicator does not fetch real-time external data due to Pine Script’s limitations, so all seasonality data must be manually updated or hardcoded.
---
This indicator provides a powerful way to combine technical analysis with historical trends, offering a unique edge to traders by adding seasonal context to RSI signals.
MA RSI MACD Signal SuiteThis Pine Script™ is designed for use in Trading View and generates trading signals based on moving average (MA) crossovers, RSI (Relative Strength Index) signals, and MACD (Moving Average Convergence Divergence) indicators. It provides visual markers on the chart and can be configured to suit various trading strategies.
1. Indicator Overview
The indicator includes signals for:
Moving Averages (MA): It tracks crossovers between different types of moving averages.
RSI: Signals based on RSI crossing certain levels or its signal line.
MACD: Buy and sell signals generated by MACD crossovers.
2. Inputs and Customization
Moving Averages (MAs):
You can customize up to 6 moving averages with different types, lengths, and colors.
MA Type: Choose from different types of moving averages:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
HMA (Hull Moving Average)
SMMA (RMA) (Smoothed Moving Average)
WMA (Weighted Moving Average)
VWMA (Volume Weighted Moving Average)
T3, DEMA, TEMA
Source: Select the price to base the MA on (e.g., close, open, high, low).
Length: Define the number of periods for each moving average.
Examples:
MA1: Exponential Moving Average (EMA) with a period of 9
MA2: Exponential Moving Average (EMA) with a period of 21
RSI Settings:
RSI is calculated based on a user-defined period and is used to identify potential overbought or oversold conditions.
RSI Length: Lookback period for RSI (default 14).
Overbought Level: Defines the overbought threshold for RSI (default 70).
Oversold Level: Defines the oversold threshold for RSI (default 30).
You can also adjust the smoothing for the RSI signal line and customize when to trigger buy and sell signals based on the RSI crossing these levels.
MACD Settings:
MACD is used for identifying changes in momentum and trends.
Fast Length: The period for the fast moving average (default 12).
Slow Length: The period for the slow moving average (default 26).
Signal Length: The period for the signal line (default 9).
Smoothing Method: Choose between SMA or EMA for both the MACD and the signal line.
3. Signal Logic
Moving Average (MA) Crossover Signals:
Crossover: A bullish signal is generated when a fast MA crosses above a slow MA.
Crossunder: A bearish signal is generated when a fast MA crosses below a slow MA.
The crossovers are plotted with distinct colors, and the chart will display markers for these crossover events.
RSI Signals:
Oversold Crossover: A bullish signal when RSI crosses over its signal line below the oversold level (30).
Overbought Crossunder: A bearish signal when RSI crosses under its signal line above the overbought level (70).
RSI signals are divided into:
Aggressive (Early) Entries: Signals when RSI is crossing the oversold/overbought levels.
Conservative Entries: Signals when RSI confirms a reversal after crossing these levels.
MACD Signals:
Buy Signal: Generated when the MACD line crosses above the signal line (bullish crossover).
Sell Signal: Generated when the MACD line crosses below the signal line (bearish crossunder).
Additionally, the MACD histogram is used to identify momentum shifts:
Rising to Falling Histogram: Alerts when the MACD histogram switches from rising to falling.
Falling to Rising Histogram: Alerts when the MACD histogram switches from falling to rising.
4. Visuals and Alerts
Plotting:
The script plots the following on the price chart:
Moving Averages (MA): The selected MAs are plotted as lines.
Buy/Sell Shapes: Triangular markers are displayed for buy and sell signals generated by RSI and MACD.
Crossover and Crossunder Markers: Crosses are shown when two MAs crossover or crossunder.
Alerts:
Alerts can be configured based on the following conditions:
RSI Signals: Alerts for oversold or overbought crossover and crossunder events.
MACD Signals: Alerts for MACD line crossovers or momentum shifts in the MACD histogram.
Alerts are triggered when specific conditions are met, such as:
RSI crosses over or under the oversold/overbought levels.
MACD crosses the signal line.
Changes in the MACD histogram.
5. Example Usage
1. Trend Reversal Setup:
Buy Signal: Use the RSI oversold crossover and MACD bullish crossover to identify potential entry points in a downtrend.
Sell Signal: Use the RSI overbought crossunder and MACD bearish crossunder to identify potential exit points or short entries in an uptrend.
2. Momentum Strategy:
Combine MACD and RSI signals to identify the strength of a trend. Use MACD histogram analysis and RSI levels for confirmation.
3. Moving Average Crossover Strategy:
Focus on specific MA crossovers, such as the 9-period EMA crossing above the 21-period EMA, for buy signals. When a longer-term MA (e.g., 50-period) crosses a shorter-term MA, it may indicate a strong trend change.
6. Alerts Conditions
The script includes several alert conditions, which can be triggered and customized based on the user’s preferences:
RSI Oversold Crossover: Alerts when RSI crosses over the signal line below the oversold level (30).
RSI Overbought Crossunder: Alerts when RSI crosses under the signal line above the overbought level (70).
MACD Buy/Sell Crossover: Alerts when the MACD line crosses the signal line for a buy or sell signal.
7. Conclusion
This script is highly customizable and can be adjusted to suit different trading strategies. By combining MAs, RSI, and MACD, traders can gain multiple perspectives on the market, enhancing their ability to identify potential buy and sell opportunities.
4x Stochastic and 1x RSI Buy and Sell SignalsBuy signal (green), when Stochastic 9, 14, 40 and 60 are bellow 20.
Sell signal (red), when Stochastic 9, 14, 40 and 60 are above 80.
Buy signal is larger, when RSI is also bellow 30.
Sell signal is larger, when RSI is also above 70.
Using RSI is optional and can be disabled.
Use this signals when confirmed by another indicators, like support and resistance levels, EMAs and fundamental analysis.
MTF RSI CandlesThis Pine Script indicator is designed to provide a visual representation of Relative Strength Index (RSI) values across multiple timeframes. It enhances traditional candlestick charts by color-coding candles based on RSI levels, offering a clearer picture of overbought, oversold, and sideways market conditions. Additionally, it displays a hoverable table with RSI values for multiple predefined timeframes.
Key Features
1. Candle Coloring Based on RSI Levels:
Candles are color-coded based on predefined RSI ranges for easy interpretation of market conditions.
RSI Levels:
75-100: Strongest Overbought (Green)
65-75: Stronger Overbought (Dark Green)
55-65: Overbought (Teal)
45-55: Sideways (Gray)
35-45: Oversold (Light Red)
25-35: Stronger Oversold (Dark Red)
0-25: Strongest Oversold (Bright Red)
2. Multi-Timeframe RSI Table:
Displays RSI values for the following timeframes:
1 Min, 2 Min, 3 Min, 4 Min, 5 Min
10 Min, 15 Min, 30 Min, 1 Hour, 1 Day, 1 Week
Helps traders identify RSI trends across different time horizons.
3. Hoverable RSI Values:
Displays the RSI value of any candle when hovering over it, providing additional insights for analysis.
Inputs
1. RSI Length:
Default: 14
Determines the calculation period for the RSI indicator.
2. RSI Levels:
Configurable thresholds for RSI zones:
75-100: Strongest Overbought
65-75: Stronger Overbought
55-65: Overbought
45-55: Sideways
35-45: Oversold
25-35: Stronger Oversold
0-25: Strongest Oversold
How It Works:
1. RSI Calculation:
The RSI is calculated for the current timeframe using the input RSI Length.
It is also computed for 11 additional predefined timeframes using request.security.
2. Candle Coloring:
Candles are colored based on their RSI values and the specified RSI levels.
3. Hoverable RSI Values:
Each candle displays its RSI value when hovered over, via a dynamically created label.
Multi-Timeframe Table:
A table at the bottom-left of the chart displays RSI values for all predefined timeframes, making it easy to compare trends.
Usage:
1. Trend Identification:
Use candle colors to quickly assess market conditions (overbought, oversold, or sideways).
2. Timeframe Analysis:
Compare RSI values across different timeframes to determine long-term and short-term momentum.
3. Signal Confirmation:
Combine RSI signals with other indicators or patterns for higher-confidence trades.
Best Practices
Use this indicator in conjunction with volume analysis, support/resistance levels, or trendline strategies for better results.
Customize RSI levels and timeframes based on your trading strategy or market conditions.
Limitations
RSI is a lagging indicator and may not always predict immediate market reversals.
Multi-timeframe analysis can lead to conflicting signals; consider your trading horizon.
Fibonacci Retracement Dynamic with RSI TickerCe script de retracement de Fibonacci dynamique trace les niveaux de Fibonacci en temps réel sur le graphique, en se basant sur les derniers hauts et bas du marché. Il met à jour ces niveaux au fur et à mesure de l'évolution des prix. Les niveaux de Fibonacci calculés incluent : 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, et 100%, chacun étant configurable avec des couleurs personnalisées.
Le script permet également de suivre la valeur du RSI en temps réel. Le label RSI est affiché en haut à droite du graphique, mettant à jour la valeur du RSI à chaque barre.
Caractéristiques principales :
Calcul des niveaux de Fibonacci sur les derniers hauts et bas détectés.
Affichage dynamique des niveaux de Fibonacci en temps réel, avec des couleurs personnalisables.
Mise à jour du RSI à chaque barre avec un label RSI positionné à droite du graphique.
Ce script est idéal pour les traders qui utilisent les retracements de Fibonacci pour repérer les zones de support et de résistance clés, tout en surveillant en temps réel la force du marché via le RSI.
This dynamic Fibonacci retracement script plots Fibonacci levels in real-time on the chart, based on the latest market highs and lows. It updates these levels as the price evolves. The calculated Fibonacci levels include: 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, and 100%, each configurable with custom colors.
The script also allows you to track the real-time RSI value. The RSI label is displayed at the top right of the chart, updating the RSI value at each bar.
Key Features:
Fibonacci levels calculated based on the latest detected highs and lows.
Dynamic display of Fibonacci levels in real-time with customizable colors.
RSI updated at each bar with an RSI label positioned at the right side of the chart.
This script is ideal for traders using Fibonacci retracements to identify key support and resistance areas while simultaneously monitoring market strength in real-time with the RSI.
RSI Overbought and Oversold Levels - Mikel VaqueroThis Pine Script strategy is designed to trade using RSI (Relative Strength Index) overbought and oversold levels. Below is an overview of its functionality:
1. RSI Configuration
RSI Length: Calculates RSI with a customizable length (default is 14).
Key Levels: Includes overbought (70), oversold (30), and an optional middle level (50).
RSI Source: Uses the closing price by default, but it's adjustable.
2. Risk and Reward Parameters
Defines Stop Loss, Take Profit, and Partial Profit levels in pips, converted to the chart's price scale.
3. Trading Window
Operates only within a specific time window in GMT+2 (default: 8:00 to 11:00).
4. RSI Calculation and Conditions
Computes RSI based on price changes.
Detects two conditions:
Overbought: RSI crosses above level 70.
Oversold: RSI crosses below level 30.
5. Visual Representation
Plots RSI and key levels on the chart.
Displays labels when RSI reaches overbought ("B") or oversold ("S") conditions.
6. Alerts
Triggers automatic alerts when RSI crosses overbought or oversold levels.
7. Entry and Exit Management
Entry Conditions:
Long: When RSI is oversold.
Short: When RSI is overbought.
Exit Conditions:
Partial Take Profit: Closes 50% of the position at a predefined price level.
Full Take Profit: Closes the entire position upon reaching the full profit target.
Stop Loss: Closes the position if the price reverses by a defined amount.
Dynamic Breakeven: Moves the Stop Loss to the entry price after reaching the partial profit level.
8. State Management
Prevents duplicate entries in the same direction during an open position.
Strategy Summary
This strategy is ideal for trading within a specific time range using RSI signals. It dynamically manages positions with partial profits and breakeven adjustments, balancing simplicity and customization.
Feel free to adjust parameters such as RSI length, time windows, and pip values to suit your trading style.
Red Pill VWAP/RSI DivergenceI created this indicator to identify moments in time VWAP and RSI are diverging.
Ideally useful in strong trend, bullish or bearish, as a potential entry point on a pull back for continuation. Not to be used as a stand alone signal, but rather in conjunction with any possible trend/momentum strategy.
VWAP is identified as the blue line. Green label(blue pill) is your potential entry on a pull back when price is above, stacked EMAS & VWAP for a long position. Red label(red pill) is your potential entry on a pull back when price is below inversely stacked EMAS & VWAP for a short position. These are the 2 ideal scenarios I have found. Please back test for yourself
I have had great results but must emphasis this is not a stand alone buy/sell. I use it in confluence to add conviction to my current A+ setups.
***Pivot ribbon in chart created by Saty Mahajan set to 3/10 time warp works ideal in conjunction.
***please note false positive and false negative signals can occur, particularly in chop
I hope you find this helpful . TRADE SAFE!
Xmaster Formula Indicator [TradingFinder] No Repaint Strategies🔵 Introduction
The Xmaster Formula Indicator is a powerful tool for forex trading, combining multiple technical indicators to provide insights into market trends, support and resistance levels, and price reversals. Developed in the early 2010s, it is widely valued for generating reliable buy and sell signals.
Key components include Exponential Moving Averages (EMA) for identifying trends and price momentum, and MACD (Moving Average Convergence Divergence) for analyzing trend strength and direction.
The Stochastic Oscillator and RSI (Relative Strength Index) enhance accuracy by signaling potential price reversals. Additionally, the Parabolic SAR assists in identifying trend reversals and managing risk.
By integrating these tools, the Xmaster Formula Indicator provides a comprehensive view of market conditions, empowering traders to make informed decisions.
🔵 How to Use
The Xmaster Formula Indicator offers two distinct methods for generating signals: Standard Mode and Advance Mode. Each method caters to different trading styles and strategies.
Standard Mode :
In Standard Mode, the indicator uses normalized moving average data to generate buy and sell signals. The difference between the short-term (10-period) and long-term (38-period) EMAs is calculated and normalized to a 0-100 scale.
Buy Signal : When the normalized value crosses above 55, accompanied by the trend line turning green, a buy signal is generated.
Sell Signal : When the normalized value crosses below 45, and the trend line turns red, a sell signal is issued.
This mode is simple, making it ideal for traders looking for straightforward signals without the need for additional confirmations.
Advance Mode :
Advance Mode combines multiple technical indicators to provide more detailed and robust signals.
This method analyzes trends by incorporating :
🟣 MACD
Buy Signal : When the MACD histogram bars are positive.
Sell Signal : When the MACD histogram bars are negative.
🟣 RSI
Buy Signal : When RSI is below 30, indicating oversold conditions.
Sell Signal : When RSI is above 70, suggesting overbought conditions.
🟣 Stochastic Oscillator
Buy Signal : When Stochastic is below 20.
Sell Signal : When Stochastic is above 80.
🟣 Parabolic SAR
Buy Signal : When SAR is below the price.
Sell Signal : When SAR is above the price.
A signal is generated in Advance Mode only when all these indicators align :
Buy Signal : All conditions point to a bullish trend.
Sell Signal : All conditions indicate a bearish trend.
This mode is more comprehensive and suitable for traders who prefer deeper analysis and stronger confirmations before executing trades.
🔵 Settings
Method :
Choose between "Standard" and "Advance" modes to determine how signals are generated. In Standard Mode, signals are based on normalized moving average data, while in Advance Mode, signals rely on the combination of MACD, RSI, Stochastic Oscillator, and Parabolic SAR.
Moving Average Settings :
Short Length : The period for the short-term EMA (default is 10).
Mid Length : The period for the medium-term EMA (default is 20).
Long Length : The period for the long-term EMA (default is 38).
MACD Settings :
Fast Length : The period for the fast EMA in the MACD calculation (default is 12).
Slow Length : The period for the slow EMA in the MACD calculation (default is 26).
Signal Line : The signal line period for MACD (default is 9).
Stochastic Settings :
Length : The period for the Stochastic Oscillator (default is 14).
RSI Settings :
Length : The period for the Relative Strength Index (default is 14).
🔵 Conclusion
The Xmaster Formula Indicator is a versatile and reliable tool for forex traders, offering both simplicity and advanced analysis through its Standard and Advance modes. In Standard Mode, traders benefit from straightforward signals based on normalized moving average data, making it ideal for quick decision-making.
Advance Mode, on the other hand, provides a more detailed analysis by combining multiple indicators like MACD, RSI, Stochastic Oscillator, and Parabolic SAR, delivering stronger confirmations for critical market decisions.
While the Xmaster Formula Indicator offers valuable insights and reliable signals, it is important to use it alongside proper risk management and other analytical methods. By leveraging its capabilities effectively, traders can enhance their trading strategies and achieve better outcomes in the dynamic forex market.
Big Candle Identifier with RSI Divergence and Advanced Stops1. Strategy Objective
The main goal of this strategy is to:
Identify significant price momentum (big candles).
Enter trades at opportune moments based on market signals (candlestick patterns and RSI divergence).
Limit initial risk through a fixed stop loss.
Maximize profits by using a trailing stop that activates only after the trade moves a specified distance in the profitable direction.
2. Components of the Strategy
A. Big Candle Identification
The strategy identifies big candles as indicators of strong momentum.
A big candle is defined as:
The body (absolute difference between close and open) of the current candle (body0) is larger than the bodies of the last five candles.
The candle is:
Bullish Big Candle: If close > open.
Bearish Big Candle: If open > close.
Purpose: Big candles signal potential continuation or reversal of trends, serving as the primary entry trigger.
B. RSI Divergence
Relative Strength Index (RSI): A momentum oscillator used to detect overbought/oversold conditions and divergence.
Fast RSI: A 5-period RSI, which is more sensitive to short-term price movements.
Slow RSI: A 14-period RSI, which smoothens fluctuations over a longer timeframe.
Divergence: The difference between the fast and slow RSIs.
Positive divergence (divergence > 0): Bullish momentum.
Negative divergence (divergence < 0): Bearish momentum.
Visualization: The divergence is plotted on the chart, helping traders confirm momentum shifts.
C. Stop Loss
Initial Stop Loss:
When entering a trade, an immediate stop loss of 200 points is applied.
This stop loss ensures the maximum risk is capped at a predefined level.
Implementation:
Long Trades: Stop loss is set below the entry price at low - 200 points.
Short Trades: Stop loss is set above the entry price at high + 200 points.
Purpose:
Prevents significant losses if the price moves against the trade immediately after entry.
D. Trailing Stop
The trailing stop is a dynamic risk management tool that adjusts with price movements to lock in profits. Here’s how it works:
Activation Condition:
The trailing stop only starts trailing when the trade moves 200 ticks (profit) in the right direction:
Long Position: close - entry_price >= 200 ticks.
Short Position: entry_price - close >= 200 ticks.
Trailing Logic:
Once activated, the trailing stop:
For Long Positions: Trails behind the price by 150 ticks (trail_stop = close - 150 ticks).
For Short Positions: Trails above the price by 150 ticks (trail_stop = close + 150 ticks).
Exit Condition:
The trade exits automatically if the price touches the trailing stop level.
Purpose:
Ensures profits are locked in as the trade progresses while still allowing room for price fluctuations.
E. Trade Entry Logic
Long Entry:
Triggered when a bullish big candle is identified.
Stop loss is set at low - 200 points.
Short Entry:
Triggered when a bearish big candle is identified.
Stop loss is set at high + 200 points.
F. Trade Exit Logic
Trailing Stop: Automatically exits the trade if the price touches the trailing stop level.
Fixed Stop Loss: Exits the trade if the price hits the predefined stop loss level.
G. 21 EMA
The strategy includes a 21-period Exponential Moving Average (EMA), which acts as a trend filter.
EMA helps visualize the overall market direction:
Price above EMA: Indicates an uptrend.
Price below EMA: Indicates a downtrend.
H. Visualization
Big Candle Identification:
The open and close prices of big candles are plotted for easy reference.
Trailing Stop:
Plotted on the chart to visualize its progression during the trade.
Green Line: Indicates the trailing stop for long positions.
Red Line: Indicates the trailing stop for short positions.
RSI Divergence:
Positive divergence is shown in green.
Negative divergence is shown in red.
3. Key Parameters
trail_start_ticks: The number of ticks required before the trailing stop activates (default: 200 ticks).
trail_distance_ticks: The distance between the trailing stop and price once the trailing stop starts (default: 150 ticks).
initial_stop_loss_points: The fixed stop loss in points applied at entry (default: 200 points).
tick_size: Automatically calculates the minimum tick size for the trading instrument.
4. Workflow of the Strategy
Step 1: Entry Signal
The strategy identifies a big candle (bullish or bearish).
If conditions are met, a trade is entered with a fixed stop loss.
Step 2: Initial Risk Management
The trade starts with an initial stop loss of 200 points.
Step 3: Trailing Stop Activation
If the trade moves 200 ticks in the profitable direction:
The trailing stop is activated and follows the price at a distance of 150 ticks.
Step 4: Exit the Trade
The trade is exited if:
The price hits the trailing stop.
The price hits the initial stop loss.
5. Advantages of the Strategy
Risk Management:
The fixed stop loss ensures that losses are capped.
The trailing stop locks in profits after the trade becomes profitable.
Momentum-Based Entries:
The strategy uses big candles as entry triggers, which often indicate strong price momentum.
Divergence Confirmation:
RSI divergence helps validate momentum and avoid false signals.
Dynamic Profit Protection:
The trailing stop adjusts dynamically, allowing the trade to capture larger moves while protecting gains.
6. Ideal Market Conditions
This strategy performs best in:
Trending Markets:
Big candles and momentum signals are more effective in capturing directional moves.
High Volatility:
Larger price swings improve the probability of reaching the trailing stop activation level (200 ticks).
[MAD] Self-Optimizing RSIOverview
This script evaluates multiple RSI lengths within a specified range, calculates performance metrics for each, and identifies the top 3 configurations based on a custom scoring system. It then plots the three best RSI curves and optionally displays a summary table and label.
How It Works
The script calculates a custom RSI for each length in the range.
It simulates entering a long position when RSI crosses below the Buy Value and exits when RSI crosses above the Sell Value.
Each trade's return is stored in the relevant StatsContainer.
Metrics Computation
After all bars have been processed,
* Net Profit,
* Sharpe Ratio, and
* Win Rate
are computed for each RSI length.
A weighted score is then derived using the input weights.
Top 3 Identification
The script finds the three RSI lengths with the highest scores.
The RSI lines for these top 3 lengths are plotted in different colors.
If enabled, a table listing the top 3 results (Rank, RSI length, Sharpe, NetPnL, Win Rate) is shown.
If enabled, a label with the highest-scoring RSI length and its score is placed on the final bar.
Usage Tips
Adjust Min RSI Length and Max RSI Length to explore a narrower or wider range of periods.
Be aware, to high settings will slow down the calculation.
Experiment with different RSI Buy Value and RSI Sell Value settings if you prefer more or fewer trade signals.
Confirm that Min Trades Required aligns with the desired confidence level for the computed metrics.
Modify Weight: Sharpe, Weight: NetProfit, and Weight: WinRate to reflect which metrics are most important.
Troubleshooting
If metrics remain - or NaN, confirm enough trades (Min Trades Required) have occurred.
If no top 3 lines appear, it could mean no valid trades were taken in the specified range, or the script lacks sufficient bars to calculate RSI for some lengths. In this case set better buyvalue and sellvalues in the inputs
Disclaimer
Past performance is not indicative of future results specialy as this indicator can repaint based on max candles in memory which are limited by your subscription