Parsifal.Swing.RSIThe Parsifal.Swing.RSI indicator is a module within the Parsifal Swing Suite, which includes a set of swing indicators:
• Parsifal Swing TrendScore
• Parsifal Swing Composite
• Parsifal Swing RSI
• Parsifal Swing Flow
Each module facilitates judgment of the current swing state in the underlying market.
________________________________________
Background
Market movements typically follow a time-varying trend channel within which prices oscillate. These swings within the trend are inherently tradable.
They can be approached:
• One-sidedly, in alignment with the trend (generally safer), or
• Two-sidedly, aiming to profit from mean reversions.
Note: In strong trends, mean reversions often appear as sideways consolidations, making one-sided trades more robust.
________________________________________
The Parsifal Swing Suite
The suite provides insights into current swing states and offers various entry point triggers.
All modules act as weak oscillators, meaning they fluctuate within a range but are not bounded like true oscillators (e.g., the RSI, which ranges from 0 to 100%).
________________________________________
The Parsifal.Swing.RSI – Specifics
The Parsifal.Swing.RSI is the simplest module in the suite. It uses variations of the classical RSI, explicitly combining:
• RSI: 14-period RSI of the market
• RSIMA: 14-period EMA of the RSI
• RSI21: 14-period RSI of the 21-period EMA of the market
• RSI21MA: 14-period EMA of RSI21
Component Behavior:
• RSI: Measures overbought/oversold levels but reacts very sensitively to price changes.
• RSIMA: Offers smoother directional signals, making it better for assessing swing continuation. Its slope and sign changes are more reliable indicators than pure RSI readings.
• RSI21: Based on smoothed prices. In strong trends, it reaches higher levels and reacts more smoothly than RSI.
• RSI21MA: Further smooths RSI21, serving as a medium-term swing estimator and a signal line for RSI21.
When RSI21 exceeds RSI, it indicates trend strength.
• In uptrends, RSI21 > RSI, with larger exceedance = stronger trend
• In downtrends, the reverse holds
________________________________________
Indicator Construction
The Swing RSI combines:
• RSI and RSIMA → short-term swings
• RSI21 and RSI21MA → medium-term swings
This results in:
• A fast swing curve, derived from RSI and RSI21
• A slow swing curve, derived from RSIMA and RSI21MA
This setup is smoother than RSI/RSIMA alone but more responsive than using RSI21/RSI21MA alone.
________________________________________
Background Value
The Background Value reflects the overall market state, derived from RSI21:
• > 0: shaded green → bullish mode
• < 0: shaded red → bearish mode
• The absolute value reflects confidence in the current mode
________________________________________
How to Use the Parsifal.Swing.RSI
Several change points can act as entry triggers:
• Fast Trigger: change in slope of the fast signal curve
• Trigger: fast line crossing slow line or change in slow signal's slope
• Slow Trigger: change in sign of the Background Value
Examples of these triggers are shown in the chart.
Additionally, market highs and lows aligned with swing values can serve as pivot points in evolving price movements.
________________________________________
As always, this indicator should be used alongside other tools and information in live trading.
While it provides valuable insights and potential entry points, it does not predict future price action.
It reflects the latest tendencies and should be used judiciously.
Rsi-2
RSI-EMA-Crossing with Donchian-Stop-LossThe Donchian RSI Indicator is a visual tool that combines momentum and trend analysis to identify high-quality long opportunities based on RSI crossovers, price action, and Donchian channel dynamics.
How It Works
Momentum Signal: A bullish RSI crossover is detected when the RSI crosses above its moving average.
Trend Filter: A signal is only valid if the crossover occurs while the price is above its moving average – filtering out entries against the prevailing trend.
Signal Candle: The high of the crossover candle is stored.
Entry Trigger: A valid signal occurs when a later candle closes above that signal high.
Stop-Loss (Visual Only)
The lower band of the Donchian Channel acts as a visual reference for a dynamic stop-loss level.
Features
Customizable RSI, Donchian Channel, and moving average lengths
Selectable MA types: SMA, EMA, WMA, VWMA, HMA
Signal candle highlighted (yellow background)
Entry points labeled on the chart
Price MA and Donchian Channel plotted
Trend filter improves signal quality by confirming upward bias
Use Case
Designed for swing and position traders
Optimized for use on daily or 4H charts
Swing Trade TarayıcıSwing Trade Scanner (v6) User Guide
1. Purpose:
This TradingView indicator (written in Pine Script v6) is designed to help identify swing trading opportunities. It calculates an overall trend strength and direction score by combining multiple technical analyses for up to 20 financial assets (stocks, cryptocurrencies, forex, etc.) that you specify. It presents the results in a customizable table, allowing you to quickly scan the market.
2. Analyses Used and Their Roles:
By default, the indicator uses the following 4 main technical analyses:
EMA Crossover (Default: 9/21): Used to capture short-term trend direction and potential momentum shifts. When the fast EMA (9) crosses above the slow EMA (21), it's considered a bullish signal; when it crosses below, it's a bearish signal. It's often one of the main entry/exit triggers.
RSI (Relative Strength Index - Default: 14): Measures the speed of price movements to identify overbought (OB) and oversold (OS) conditions. Reversals from the OB zone can signal potential downturns, while reversals from the OS zone can signal potential upturns. It also provides insight into the strength of the momentum.
MACD (Moving Average Convergence Divergence - Default: 12, 26, 9): A trend-following momentum indicator. The relationship between the MACD line and the signal line (crossovers) and the state of the histogram (position relative to the zero line) are used to confirm momentum shifts and trend strength.
ADX/DI (Average Directional Index - Default: 14, 14): Measures the strength (ADX) and direction (+DI/-DI lines) of a trend. Its main role is to filter signals from other indicators. A trend is considered to exist if the ADX is above a certain threshold (e.g., 25). +DI above -DI indicates an uptrend, and the reverse indicates a downtrend.
3. Scoring System:
The indicator calculates an individual score for each analysis and then combines these scores using weights you define to create a final Trend Score:
Individual Scores: Each analysis (EMA, RSI, MACD, ADX/DI) generates a decimal score between -1.0 (Strong Negative/Bearish) and +1.0 (Strong Positive/Bullish) based on its own rules. For example, RSI might score +1.0 if oversold, -1.0 if overbought, and 0.0 if neutral. MACD and ADX/DI scores can also take intermediate values reflecting both direction and strength (e.g., ±1.0, ±0.6, ±0.3, 0.0).
Weighting: In the settings, you can assign a weight (between 0.0 and 1.0) to each analysis, determining how much it influences the final score. For instance, you might give EMA crossover a higher weight and use RSI with a lower weight.
Total Score: The individual scores of the active analyses are multiplied by their assigned weights and summed up. This total is then divided by the sum of the weights of the active analyses to obtain a final, normalized Trend Score between -1.0 and +1.0. This score represents the combined view of all analyses.
4. Trend Determination:
The calculated final Trend Score is classified into an overall TREND status based on threshold values you set in the settings:
S.UP (Strong Up): Score > Strong Up Threshold (Default: 0.70)
UP: Up Threshold < Score <= Strong Up Threshold (Default: 0.35 < Score <= 0.70)
NEUTRAL: Down Threshold <= Score <= Up Threshold (Default: -0.35 <= Score <= 0.35)
DOWN: Strong Down Threshold <= Score < Down Threshold (Default: -0.70 <= Score < -0.35)
S.DOWN (Strong Down): Score < Strong Down Threshold (Default: -0.70)
This classification allows you to see at a glance which assets have strong trend potential.
5. Table Structure and Meanings:
The indicator displays the results in a table with the following columns:
TICKER: The symbol of the analyzed asset (abbreviated).
TREND: The overall trend status determined by the total score (S.UP, UP, NEUTRAL, DOWN, S.DOWN). The background color of this column also reflects this overall trend (Dark Green, Green, Gray, Red, Dark Red).
SCORE: The calculated weighted total score (between -1.00 and +1.00, with two decimal places). The background color of this column also reflects the overall trend.
EMA: Shows the result of only the EMA 9/21 analysis.
▲: EMA(9) > EMA(21) (Green Background)
▼: EMA(9) < EMA(21) (Red Background)
N: Neutral (Gray Background)
-: Analysis disabled or no data (Pale Gray Background)
RSI: Shows the result of only the RSI analysis.
OS: Oversold (RSI < 30) (Green Background)
M+: Mid Positive (30 <= RSI < 45) (Light Green/Lime Background)
N: Neutral (45 <= RSI <= 55) (Gray Background)
M-: Mid Negative (55 < RSI <= 70) (Orange Background)
OB: Overbought (RSI > 70) (Red Background)
-: Analysis disabled or no data (Pale Gray Background)
MACD: Shows the result of only the MACD analysis.
S+: Strong Positive (MACD > Signal AND Histogram > 0) (Green Background)
M+: Mid Positive (MACD > Signal BUT Histogram < 0) (Light Green/Lime Background)
N: Neutral (Other cases) (Gray Background)
M-: Mid Negative (MACD < Signal BUT Histogram > 0) (Orange Background)
S-: Strong Negative (MACD < Signal AND Histogram < 0) (Red Background)
-: Analysis disabled or no data (Pale Gray Background)
ADX/DI: Shows the result of only the ADX/DI analysis.
S+: Strong Uptrend (ADX > 40 AND +DI > -DI) (Green Background)
M+: Mid Uptrend (25 < ADX <= 40 AND +DI > -DI) (Light Green/Lime Background)
W: Weak Trend (ADX <= 25) (Gray Background)
M-: Mid Downtrend (25 < ADX <= 40 AND -DI > +DI) (Orange Background)
S-: Strong Downtrend (ADX > 40 AND -DI > +DI) (Red Background)
-: Analysis disabled or no data (Pale Gray Background)
6. Settings (Inputs):
You can customize the indicator's behavior using the following settings:
General Settings:
Analysis Timeframe: Select the timeframe for the scans (Leave blank to use the chart timeframe).
Auto Adjust Parameters and Weights: If checked, predefined parameters and weights based on the selected timeframe (1h, 4h, 1D, 1W) are used. If unchecked, or if an unsupported timeframe is selected, the manual settings below apply.
Strong/Normal Up/Down Thresholds: Adjust the score thresholds used to determine the TREND column.
Analysis Settings (Separate Group for Each Analysis):
Enable ... Analysis: Check to include the respective analysis in the score.
... Weight (Manual): If auto-adjust is off, set the weight of this analysis in the total score.
... Period/Level (Manual): If auto-adjust is off, adjust the parameters (period, level, etc.) of the respective indicator.
Symbols (1-10):
Checkbox: Check to include the respective symbol in the scan.
Text Box: Enter the symbol of the asset you want to analyze (e.g., "NASDAQ:AAPL", "BINANCE:BTCUSDT").
Table Settings:
Table Position: Choose where the table appears on the chart.
Cell Width: Adjust the width of the table cells.
Text Size: Select the general size of the text in the table (individual analysis columns are usually shown one size smaller).
7. How to Use:
Add the indicator to your TradingView chart.
Enter the indicator settings.
In the Symbols section, enter the symbols of the assets you want to analyze and check the boxes next to them.
In the General Settings section, select your desired Analysis Timeframe.
Decide whether the Auto Adjust Parameters and Weights option should be checked. If not, adjust the manual parameters and weights for each indicator in the Analysis Settings section according to your strategy.
Examine the table:
The TREND and SCORE columns give you a general overview. Focus on strong signals (S.UP, S.DOWN) or states that have just crossed thresholds (UP, DOWN).
The EMA, RSI, MACD, ADX/DI columns allow you to see in detail which analyses influenced the overall score. You can track confirming or conflicting signals here.
Combine these scan results with other rules of your swing trading strategy (support/resistance, patterns, risk management, etc.) to make trading decisions.
8. Important Notes:
This indicator does not constitute financial advice. It is merely a tool that combines technical analysis tools to help you scan the market.
The default parameters and weights in the indicator settings are for general use. For best results, it is strongly recommended that you optimize these settings by backtesting them on historical data according to your own strategy, the assets you trade, and market conditions.
No technical indicator or system generates 100% accurate signals. Always apply risk management principles and do not trade with money you cannot afford to lose.
I hope this guide helps you use the indicator effectively!
Stochastic and RSI2 entriesStochastic and RSI2 entries, v1.0
This indicator combines Stochastic and RSI to facilitate "RSI2" entry signals. Buy signals will be shown at the bottom.
The default configuration uses non-standard settings for the underlying indicators to tailor it for this type of entry strategy.
This is an entry strategy that tries to find entries close to "the dip".
A combination of Stochastic crossovers, VWAP, daily SMA50 and daily SMA200 are used to verify buy signals.
This indicator is written for bullish signals and aims to find the start of short trends or cheap entries for longer positions.
Like with any strategy, some signals will be false, and the user is advised to do some own research before using the buy signals for actual entries.
Happy trading!
RSI - 5UP Overview
The "RSI - 5UP" indicator is a versatile tool that enhances the traditional Relative Strength Index (RSI) by adding smoothing options, Bollinger Bands, and divergence detection. It provides a clear visual representation of RSI levels with customizable bands and optional moving averages, helping traders identify overbought/oversold conditions and potential trend reversals through divergence signals.
Features
Customizable RSI: Adjust the RSI length and source to fit your trading style.
Overbought/Oversold Bands: Visualizes RSI levels with intuitive color-coded bands (red for overbought at 70, white for neutral at 50, green for oversold at 30).
Smoothing Options: Apply various types of moving averages (SMA, EMA, SMMA, WMA, VWMA) to the RSI, with optional Bollinger Bands for volatility analysis.
Divergence Detection: Identifies regular bullish and bearish divergences, with visual labels ("Bull" for bullish, "Bear" for bearish) and alerts.
G radient Fills: Highlights overbought and oversold zones with gradient fills (green for overbought, red for oversold).
How to Use
1. Add to Chart: Apply the "RSI - 5UP" indicator to any chart. It works well on timeframes from 5 minutes to daily.
2. Configure Settings:
RSI Settings:
RSI Length: Adjust the period for RSI calculation (default: 14).
Source: Choose the price source for RSI (default: close).
Calculate Divergence: Enable to detect bullish/bearish divergences (default: disabled).
Smoothing:
Type: Select the type of moving average to smooth the RSI ("None", "SMA", "SMA + Bollinger Bands", "EMA", "SMMA (RMA)", "WMA", "VWMA"; default: "SMA").
Length: Set the period for the moving average (default: 14).
BB StdDev: If "SMA + Bollinger Bands" is selected, adjust the standard deviation multiplier for the bands (default: 2.0).
3.Interpret the Indicator:
RSI Levels: The RSI line (purple) oscillates between 0 and 100. Levels above 70 (red band) indicate overbought conditions, while levels below 30 (green band) indicate oversold conditions. The 50 level (white band) is neutral.
Gradient Fills: The background gradients (green above 70, red below 30) highlight overbought and oversold zones for quick reference.
Moving Average (MA): If enabled, a yellow MA line smooths the RSI. If "SMA + Bollinger Bands" is selected, green bands appear around the MA to show volatility.
Divergences: If "Calculate Divergence" is enabled, look for "Bull" (green label) and "Bear" (red label) signals:
Bullish Divergence: Indicates a potential upward reversal when the price makes a lower low, but the RSI makes a higher low.
Bearish Divergence: Indicates a potential downward reversal when the price makes a higher high, but the RSI makes a lower high.
4. Set Alerts:
Use the "Regular Bullish Divergence" and "Regular Bearish Divergence" alert conditions to be notified when a divergence is detected.
Notes
The indicator does not provide direct buy/sell signals. Use the RSI levels, moving averages, and divergence signals as part of a broader trading strategy.
Divergence detection requires the "Calculate Divergence" option to be enabled and may not work on all timeframes or assets due to market noise.
The Bollinger Bands are only visible when "SMA + Bollinger Bands" is selected as the smoothing type.
Credits
Developed by Marrulk. Enjoy trading with RSI - 5UP! 🚀
RSI Full [Titans_Invest]RSI Full
One of the most complete RSI indicators on the market.
While maintaining the classic RSI foundation, our indicator integrates multiple entry conditions to generate more accurate buy and sell signals.
All conditions are fully configurable, allowing complete customization to fit your trading strategy.
⯁ WHAT IS THE RSI❓
The Relative Strength Index (RSI) is a technical analysis indicator developed by J. Welles Wilder. It measures the magnitude of recent price movements to evaluate overbought or oversold conditions in a market. The RSI is an oscillator that ranges from 0 to 100 and is commonly used to identify potential reversal points, as well as the strength of a trend.
⯁ HOW TO USE THE RSI❓
The RSI is calculated based on average gains and losses over a specified period (usually 14 periods). It is plotted on a scale from 0 to 100 and includes three main zones:
Overbought: When the RSI is above 70, indicating that the asset may be overbought.
Oversold: When the RSI is below 30, indicating that the asset may be oversold.
Neutral Zone: Between 30 and 70, where there is no clear signal of overbought or oversold conditions.
⯁ ENTRY CONDITIONS
The conditions below are fully flexible and allow for complete customization of the signal.
______________________________________________________
🔹 CONDITIONS TO BUY 📈
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND/OR .
📈 RSI Conditions:
🔹 RSI > Upper
🔹 RSI < Upper
🔹 RSI > Lower
🔹 RSI < Lower
🔹 RSI > Middle
🔹 RSI < Middle
🔹 RSI > MA
🔹 RSI < MA
📈 MA Conditions:
🔹 MA > Upper
🔹 MA < Upper
🔹 MA > Lower
🔹 MA < Lower
📈 Crossovers:
🔹 RSI (Crossover) Upper
🔹 RSI (Crossunder) Upper
🔹 RSI (Crossover) Lower
🔹 RSI (Crossunder) Lower
🔹 RSI (Crossover) Middle
🔹 RSI (Crossunder) Middle
🔹 RSI (Crossover) MA
🔹 RSI (Crossunder) MA
🔹 MA (Crossover) Upper
🔹 MA (Crossunder) Upper
🔹 MA (Crossover) Lower
🔹 MA (Crossunder) Lower
📈 RSI Divergences:
🔹 RSI Divergence Bull
🔹 RSI Divergence Bear
______________________________________________________
______________________________________________________
🔸 CONDITIONS TO SELL 📉
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND/OR .
📉 RSI Conditions:
🔸 RSI > Upper
🔸 RSI < Upper
🔸 RSI > Lower
🔸 RSI < Lower
🔸 RSI > Middle
🔸 RSI < Middle
🔸 RSI > MA
🔸 RSI < MA
📉 MA Conditions:
🔸 MA > Upper
🔸 MA < Upper
🔸 MA > Lower
🔸 MA < Lower
📉 Crossovers:
🔸 RSI (Crossover) Upper
🔸 RSI (Crossunder) Upper
🔸 RSI (Crossover) Lower
🔸 RSI (Crossunder) Lower
🔸 RSI (Crossover) Middle
🔸 RSI (Crossunder) Middle
🔸 RSI (Crossover) MA
🔸 RSI (Crossunder) MA
🔸 MA (Crossover) Upper
🔸 MA (Crossunder) Upper
🔸 MA (Crossover) Lower
🔸 MA (Crossunder) Lower
📉 RSI Divergences:
🔸 RSI Divergence Bull
🔸 RSI Divergence Bear
______________________________________________________
______________________________________________________
🤖 AUTOMATION 🤖
• You can automate the BUY and SELL signals of this indicator.
______________________________________________________
______________________________________________________
⯁ UNIQUE FEATURES
______________________________________________________
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
______________________________________________________
📜 SCRIPT : RSI Full
🎴 Art by : @Titans_Invest & @DiFlip
👨💻 Dev by : @Titans_Invest & @DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy the Spell!
______________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
RSI + MA + Divergence + SnR + Price levelOverview
This indicator combines several technical analysis tools to give traders a comprehensive view based on the RSI indicator. Its main features include:
RSI & Moving Averages on RSI:
RSI: Calculates the RSI based on the closing price (or a user-selected source) with a configurable period (default is 14).
EMA and WMA: Computes and plots an Exponential Moving Average (EMA with a period of 9) and a Weighted Moving Average (WMA with a period of 45) on the RSI, helping to smooth out signals and better identify trends.
Price Ladder Based on RSI:
Draws horizontal lines at specified target RSI levels (from targetRSI1 to targetRSI7, default levels ranging from 20 to 80).
Calculates a target price based on the price change relative to the averaged gains and losses, providing an estimated price level when the RSI reaches those critical levels.
Divergence Detection:
Identifies divergence between price and RSI:
Bullish Divergence: Detected when the price forms a lower low but RSI fails to confirm with a corresponding lower low, with the RSI falling under a configurable threshold (d_below).
Bearish Divergence: Detected when the price forms a higher high while the RSI does not, with the RSI exceeding a configurable upper threshold (d_upper).
Optionally displays labels on the chart to alert the trader when divergence signals are detected.
Auto Support & Resistance on RSI:
Automatically calculates and plots support and resistance lines based on the RSI over different lookback periods (e.g., 34, 89, 200 bars).
Helps traders identify key RSI levels where price reversals or breakouts might occur.
Benefits for the Trader
This indicator is designed to assist traders in their decision-making process by integrating multiple technical analysis elements:
Identifying Market Trends:
By combining the RSI with its moving averages (EMA, WMA), traders can better assess market trends and the strength of these trends, thereby improving trade entry accuracy.
Early Reversal Signals via Divergence:
Divergence signals (both bullish and bearish) can help forecast potential reversals in the market, allowing traders to adjust their strategies timely.
Determining RSI-Based Support/Resistance Levels:
Automatic identification of support and resistance levels on the RSI provides key areas where a price reversal or breakout may occur, assisting traders in setting stop-loss and take-profit levels strategically.
Price Target Forecasting with the Price Ladder:
The target price labels calculated at important RSI levels provide insights into potential price objectives, aiding in risk management and profit planning.
Flexible Configuration:
Traders can customize key parameters such as the RSI period, lengths for EMA and WMA, target RSI levels, divergence conditions, and support/resistance settings. This flexibility allows the indicator to adapt to different trading styles and strategies.
How to read data
Some use-cases
Used to estimate price according to the RSI level.
When you trade using RSI, you want to set your stop-loss or take-profit levels based on RSI. By looking at the price ladder, you know the corresponding price level to enter a trade.
Used to determine the entry zone.
RSI often reacts to its own previously established support/resistance levels. Use the Auto SnR feature to identify those zones.
Used to determine the trend.
RSI and its moving averages help identify the price trend:
Uptrend: 3 lines separate and point upward.
Downtrend: 3 lines separate and point downward.
Use WMA45 to determine the trend:
Uptrend: WMA45 is moving upward or trading above the 50 level.
Downtrend: WMA45 is moving downward or trading below the 50 level.
Sideways: WMA45 is trading around the 50 level.
Use EMA9 to confirm the trend: A crossover of EMA9 through WMA45 confirms the formation of a new trend.
Configuration
The script allows users to configure a number of important parameters to suit their analytical preferences:
RSI Settings:
RSI Length (rsiLengthInput): The number of periods used to compute the RSI (default is 14, adjustable as needed).
RSI Source (rsiSourceInput): Select the price source (default is the closing price).
RSI Color (rsiClr): The color used to display the RSI line.
Moving Averages on RSI:
EMA Length (emaLength): The period for calculating the EMA on RSI (default is 9).
WMA Length (wmaLength): The period for calculating the WMA on RSI (default is 45).
EMA Color (emaClr) and WMA Color (wmaClr): Customize the colors of the EMA and WMA lines.
Price Ladder Settings:
Toggle Price Ladder (showPrice): Enable or disable the display of the price ladder.
Target RSI Levels: targetRSI1 through targetRSI7: RSI values at which target prices are calculated (default values range from 20, 30, 40, 50, 60, 70 to 80).
Price Label Color (priceColor): The text color for displaying the target price labels.
Divergence Settings:
Divergence Toggle (calculateDivergence): Option to enable or disable divergence calculation and display.
Divergence Conditions:
d_below: RSI level below which bullish divergence is considered.
d_upper: RSI level above which bearish divergence is considered.
Display Divergence Labels (showDivergenceLabel): Option to display labels on the chart when divergence is detected.
Auto Support & Resistance on RSI:
Toggle Auto S&R (enableAutoSnR): Enable or disable automatic plotting of support and resistance levels.
Lookback Periods for Support/Resistance:
L1_lookback: Lookback period for level 1 (e.g., 34 bars).
L2_lookback: Lookback period for level 2 (e.g., 89 bars).
L3_lookback: Lookback period for level 3 (e.g., 200 bars).
Support and Resistance Colors:
rsiSupportClr: Color for the support line.
rsiResistanceClr: Color for the resistance line.
Alerts:
Divergence Alerts: Alert conditions are set up to notify the trader when bullish or bearish divergence is detected, aiding in timely decision-making.
RSI Price LadderFX:XAUUSD
Overview
RSI Price Ladder is an indicator that visualizes RSI levels mapped directly to price levels across multiple timeframes.
It helps traders see where the RSI will reach certain threshold values (like 30, 50, 70) in terms of price, without calculating manually.
It dynamically draws ladder lines (price levels) based on user-defined RSI targets, allowing clear visualization of RSI movements versus price action.
Purpose for Traders
Forecast Price Zones: Understand at which price levels RSI would hit oversold/overbought zones.
Multi-Timeframe Analysis: Monitor RSI-price relationships across multiple timeframes simultaneously (e.g., M5, M15, H1, H4).
Timing Entries and Exits: Plan precise entries or exits based on expected RSI behavior without switching between charts.
Visual Clarity: Simplifies multi-timeframe RSI tracking by ladder-style price mapping directly on the current chart.
Configuration
RSI length: The period for RSI calculation (default 14).
RSI Target Levels (1–7): Define up to 7 custom RSI levels (e.g., 20, 30, 40, 50, 60, 70, 80).
Spacing Between Ladders: Horizontal spacing between different timeframe ladders on the chart.
Pointer Colors: Customize colors for current RSI, EMA(9) of RSI, and WMA(45) of RSI.
Show TF1–TF4: Toggle visibility of up to four different timeframe ladders.
Interval TF1–TF4: Select timeframes to draw ladders (choices from 1m to 1W including 3D).
Ladder Colors: Customize the ladder color for each timeframe separately.
How to read data
See explaination:
How to use
The primary goal of this indicator is to help traders easily and accurately see price levels corresponding to specific RSI values .
Identifying Multi-Timeframe Support and Resistance
According to RSI behavior:
- In an uptrend, RSI tends to find support around 40, previous RSI bottoms, and the WMA45.
- In a downtrend, RSI tends to face resistance around 60, previous RSI tops, and the WMA45.
Using the RSI Price Ladder, you can accurately pinpoint the exact price levels corresponding to these RSI support and resistance zones.
Defining Entry Zones, Stop Loss, and Take-Profit Areas Based on RSI
For example:
By observing RSI behavior, I noticed a downward trend forming.
On both M15 and H1 timeframes, RSI resistance levels align with the price zone around 3043–3054.
Thus, I can plan a sell trade in this entry zone:
- Stop loss: If RSI breaks above the resistance level, which also corresponds to a price resistance.
- Take-profits at two areas:
RSI support on M5 at RSI 30, corresponding to price 3007.
RSI support on M15 at RSI 30, corresponding to price 2988.
You see, with the ladder, we can directly visualize the price levels corresponding to RSI points on the chart, making decision-making more intuitive.
Result:
The price successfully hit TP1 and TP2.
Visualizing Buying and Selling Strength Across Timeframes
The indicator helps track the correlation of buying and selling strength across different timeframes at the same time. For instance: when selling pressure increases, higher timeframe RSI will typically be higher than lower timeframe RSI. Visualizing this makes it easier to observe and connect price movements across multiple timeframes quickly and clearly.
Visualizing When Combining with Other Methods
In this example:
- RSI shows support around 27.
- Instantly, on the price chart, I notice that the RSI 27 level aligns with the EMA200, a major dynamic price support.
Thus, a long setup can be considered:
- Entry: Near this confluence zone.
- Stop loss: Below the EMA200 or if RSI drops to 20.
Summary
RSI Price Ladder gives traders a powerful visual tool to link RSI behavior to real price levels across multiple timeframes, enhancing strategic entry/exit planning without needing to flip charts.
- Save time spotting RSI targets.
- Stay organized across multiple timeframes.
- Customize the entire ladder experience from colors to intervals.
TradeDots - Buy Sell Signals ProThe TradeDots - Buy Sell Signals Pro is an advanced technical analysis tool engineered to identify key market turning points and trend continuations. By combining multiple confirmation methods, this indicator provides traders with a comprehensive system for recognizing high-probability entry and exit points across various market conditions.
📝 HOW IT WORKS
Enhanced Supertrend Implementation
Unlike the traditional Supertrend indicator that simply changes color when price crosses above or below a calculated line, our implementation incorporates multiple layers of confirmation:
Advanced Calculation: Uses an enhanced ATR-based algorithm that incorporates trend bias detection and momentum filtering
Multi-Factor Confirmation: Considers price interaction with previous Supertrend values, not just current crossovers
Contextual Awareness: Distinguishes between different entry types based on market risk levels and momentum conditions
Visual Enhancement: Provides background shading to clearly indicate trend direction and strength
Smart Trendline Algorithm
The indicator employs a proprietary Smart Trendline that adapts to market conditions using an advanced moving average system. Unlike traditional moving averages that simply track price, the Smart Trendline incorporates volatility data to change colors based on momentum strength, providing immediate visual feedback about the current market phase with zero lag.
Calculation: Processes price data through selectable advanced calculation methods (including Hull, Jurik, and McGinley averages) with dynamic color-coding based on a modified Keltner Channel system.
Visualization: Green indicates strong bullish momentum, purple represents bearish momentum, and gray signals consolidation or uncertain conditions.
Multi-Signal Confirmation System
The indicator integrates three distinct signal mechanisms to confirm trading opportunities:
1. RSI-Sequential Reversal Signals: Combines RSI levels with seq count patterns to identify potential short-term reversals.
Calculation: Analyzes RSI conditions against specific thresholds while tracking consecutive pattern formations.
Visualization: Green triangles for buy signals and red triangles for sell signals.
2. Statistical Reversal Signals: Identifies statistically significant deviations from normal price behavior.
Calculation: Uses a modified standard deviation approach to determine when price has moved too far from its statistical average.
Visualization: Large green arrows emoji for powerful buy signals and red arrows emoji for powerful sell signals.
3. Supply & Demand Zone Detection: Automatically identifies key price levels where significant buying or selling pressure may exist.
Calculation: Uses RSI extremes combined with confirmation periods to establish high-probability reversal zones.
Visualization: Green-filled areas mark support (demand) zones and red-filled areas mark resistance (supply) zones.
Buy/Sell Signal Generation
The system generates several types of signals with varying strengths:
1. Regular Buy/Sell Signals: Generated when:
Price crosses with MA above/below the Supertrend line
RSI conditions confirm the direction
Candlestick patterns support the signal direction (bullish/bearish candle formation)
Visualized as green/red triangles
2. Strong Buy/Sell Signals: Appear when multiple confirmation factors align:
Regular buy/sell condition is met
Price is interacting with a Supply/Demand zone
Additional momentum confirmation from auxiliary indicators
Seq count reaches significant levels
Statistical Reversal signal confirms the direction
3. Breakout Signals: Special case signals that appear during:
Trend transitions after consolidation
When price breaks through significant resistance/support levels from previous trend
Following pattern completions that suggest increased momentum
Market Structure Analysis
The indicator categorizes market conditions and provides visual cues for traders:
Trend Identification: Supertrend-based algorithm with enhanced visual presentation identifies the prevailing market direction.
Bar Coloring System: Candles change color based on price position relative to EMAs to clearly display strength and direction of momentum
🛠️ HOW TO USE
Signal Interpretation
Buy Signals: "Buy" signals, Green triangles (RSI-Sequential) and large green arrows (Statistical Reversals) appear at potential buy points.
Sell Signals: "Sell" signals, Red triangles (RSI-Sequential) and large red arrows (Statistical Reversals) appear at potential sell points.
Highest Probability Entries: Occur when signals appear near or within Supply & Demand zones.
Trading Strategies
Trend-Following Strategy
1. Identify the main trend using the Smart Trendline color
2. Enter long positions during uptrends when:
Price pulls back to the Smart Trendline
Green triangles or arrows appear
Signals occur near green demand zones
3. Enter short positions during downtrends when:
Price bounces up to the Smart Trendline
Red triangles or arrows appear
Signals occur near red supply zones
Counter-Trend/Reversal Strategy
1. Look for Statistical Reversal arrows at significant price extremes
2. Confirm with an RSI-Sequential signal in the same direction
3. Pay special attention when these signals appear inside Supply & Demand zones
4. Use the Smart Trendline color change as additional confirmation
Multiple Confirmation Technique
For highest probability trades, look for:
Signal alignment (both signal types in same direction)
Supply/Demand zone interaction
Smart Trendline color supporting the signal direction
❗️LIMITATIONS
Signal Lag: The system identifies reversals after they have begun, potentially missing the absolute bottom or top.
False Signals: Can occur during periods of high volatility or range-bound markets.
Timeframe Sensitivity: Some signals work better on higher timeframes for long-term trading, while others are more effective on lower timeframes for short-term trading.
Bar Closing Requirement: All signals are based on closed candles and may be subject to change until the candle closes.
RISK DISCLAIMER
Trading involves substantial risk, and most traders may incur losses. All content, tools, scripts, articles, and education provided by TradeDots are for informational and educational purposes only. Past performance is not indicative of future results.
This indicator should be used as part of a complete trading approach that includes proper risk management, consideration of the broader market context, and confirmation from price action patterns. No trading system can guarantee profits, and users should always exercise caution and use appropriate position sizing.
Triple SRSI-MFI Ⅲ - Multi TimeframeTriple SRSI-MFI Ⅲ - Multi Timeframe Indicator
Description
The Triple SRSI-MFI Ⅲ - Multi Timeframe indicator is a powerful tool designed to combine Stochastic RSI (SRSI) and Money Flow Index (MFI) across multiple timeframes (higher, current, and lower). It provides a comprehensive view of market momentum and potential overbought/oversold conditions by calculating a weighted hybrid of SRSI-MFI values from three different timeframes. The indicator also integrates Bollinger Bands to help identify trend direction and volatility.
This indicator is ideal for traders who want to analyze market conditions across multiple timeframes without switching charts. It automatically adjusts settings based on the current timeframe and includes a dynamic weighting system optimized for Bitcoin volatility. Additionally, a real-time information panel displays the market state (buy/sell) and signal strength.
Key Features
Multi-Timeframe Analysis: Combines SRSI-MFI from higher, current, and lower timeframes for a holistic view.
Dynamic Weighting: Automatically adjusts weights for each timeframe based on Bitcoin volatility, with an option for manual customization.
Bollinger Bands Integration: Visualizes trend direction and volatility using Bollinger Bands, with customizable source selection.
Real-Time Info Panel: Displays market state (buy/sell) and signal strength (%) in the top-right corner of the chart.
Customizable Settings: Allows users to tweak MFI source, Bollinger Bands parameters, and visibility of individual components.
How to Use
Add to Chart: Add the "Triple SRSI-MFI Ⅲ - Multi Timeframe" indicator to your chart.
Interpret Signals:
Market State (Buy/Sell): Shown in the info panel. "Buy" when the average SRSI-MFI is above the Bollinger Bands basis, "Sell" when below.
Strength (%): The relative position of the average SRSI-MFI within the Bollinger Bands, scaled from 0% to 100%.
Overbought/Oversold Levels: The indicator plots horizontal lines at 80 (overbought) and 20 (oversold). Use these as potential reversal zones.
Combine with Price Action: Use the indicator in conjunction with price action or other tools for better decision-making.
Adjust Settings: Customize the settings (e.g., Bollinger Bands length, weights, visibility) to match your trading style.
Settings
MFI Source: Select the source for MFI calculation (default: "hlc3"). Options include "close", "open", "high", "low", "hl2", "hlc3", "ohlc4".
Bollinger Bands:
Length: Period for Bollinger Bands calculation (default: 20).
Multiplier: Standard deviation multiplier for the bands (default: 2.0).
Source: Choose which SRSI-MFI value to use for Bollinger Bands ("averageHybrid", "hybrid_higher", "hybrid_current", "hybrid_lower"; default: "hybrid_higher").
Weights:
Auto Weight Enabled: Enable/disable automatic weights based on Bitcoin volatility (default: true).
Higher/Current/Lower Weights: Manually set weights for each timeframe if auto-weight is disabled (defaults: 1.5, 1.0, 0.5).
Indicator On/Off:
Toggle visibility for Higher SRSI-MFI, Current SRSI-MFI, Lower SRSI-MFI, Average SRSI-MFI, and Bollinger Bands.
How It Works
SRSI-MFI Calculation:
Stochastic RSI (SRSI) and Money Flow Index (MFI) are calculated for three timeframes: higher, current, and lower.
The hybrid value (SRSI * (MFI / 100)) is computed for each timeframe.
Weighted Average:
The hybrid values are combined into a weighted average (averageHybrid) using dynamic or manual weights.
Bollinger Bands:
Bollinger Bands are applied to the selected source (e.g., hybrid_higher) to identify trend direction and volatility.
Relative Position:
The position of averageHybrid within the Bollinger Bands is scaled to a percentage (0% to 100%) for strength assessment.
Visualization:
Plots individual SRSI-MFI lines, Bollinger Bands, and overbought/oversold levels.
A real-time info panel provides market state and signal strength.
Notes
This indicator is best used as part of a broader trading strategy. It is not a standalone signal generator and should be combined with other forms of analysis.
The automatic weights are optimized for Bitcoin (BTC) volatility. For other assets, you may need to adjust the weights manually.
The indicator may require sufficient historical data to calculate higher and lower timeframe values accurately.
RSI Crossover Marker by NextPercentRSI Crossover Marker by NextPercent
This indicator combines RSI crossovers with moving averages and optional divergence detection to generate trading signals.
Key Features:
• RSI crossover signals with customizable moving average (EMA, SMA, WMA, RMA)
• Optional divergence detection
• Flexible timeframe settings
• Wait for candle close option
• Visual signals using triangles above/below price bars
Signal Generation:
• Bullish Signal: RSI crosses above the moving average
• Bearish Signal: RSI crosses below the moving average
• When divergence is enabled, signals only appear with confirmed divergence patterns
Customizable Parameters:
• RSI Length and Source
• Moving Average Type and Length
• Bollinger Band Standard Deviation
• Timeframe Selection
• Divergence Detection Toggle
Visual Signals:
• Green triangles appear below bars for bullish signals
• Red triangles appear above bars for bearish signals
Note:
This indicator is designed to help identify potential trend reversals and trading opportunities based on RSI momentum and optional divergence confirmation.
EMA Clouds with Strict Buy/Sell SignalsEMA Clouds with Strict Buy/Sell Signals - Precision Trading Unleashed
Unlock the power of trend-following precision with the EMA Clouds with Strict Buy/Sell Signals indicator, a sophisticated tool built for traders who demand reliability and clarity in their decision-making. Inspired by the legendary Ripster EMA Clouds, this indicator takes the classic cloud concept to the next level by incorporating stricter, high-confidence signals—perfect for navigating the markets on 15-minute or higher timeframes.
Why You’ll Want This on Your Chart:
Dual EMA Clouds for Crystal-Clear Trends: Watch as two dynamic clouds—formed by carefully paired Exponential Moving Averages (8/21 and 34/50)—paint a vivid picture of market momentum. The green short-term cloud and red long-term cloud provide an intuitive, at-a-glance view of trend direction and strength.
Stricter Signals, Fewer False Moves: Tired of chasing weak signals? This indicator only triggers buy and sell signals when the stars align: a cloud crossover (short-term crossing above or below long-term) and price confirmation above or below both clouds. The result? Fewer trades, higher conviction, and a cleaner chart.
Customizable Timeframe Power: Whether you’re a scalper on the 15-minute chart or a swing trader on the daily, tailor the clouds to your preferred higher timeframe (15min, 30min, 1hr, 4hr, or daily) for seamless integration into your strategy.
Visual Mastery Meets Actionable Alerts: Green buy triangles below the bars and red sell triangles above them make spotting opportunities effortless. Pair this with built-in alerts, and you’ll never miss a high-probability trade again.
How It Works:
Buy Signal: Triggers when the short-term cloud crosses above the long-term cloud and the price surges above both, signaling a robust bullish breakout.
Sell Signal: Activates when the short-term cloud dips below the long-term cloud and the price falls beneath both, confirming bearish dominance.
Cloud Visualization: The green cloud (8/21 EMA) tracks fast-moving trends, while the red cloud (34/50 EMA) anchors the broader market direction—together, they filter noise and spotlight tradable moves.
Why Traders Will Love It:
Designed for those who value precision over guesswork, this indicator cuts through market clutter to deliver signals you can trust. Whether you’re trading stocks, forex, crypto, or futures, its adaptability and strict logic make it a must-have tool for serious traders. Customize the EMA lengths, tweak the timeframe, and watch your edge sharpen.
Add EMA Clouds with Strict Buy/Sell Signals to your chart today and experience the confidence of trading with a tool that’s as disciplined as you are. Your next big move is waiting—don’t let it slip away.
Multi-Timeframe Stochastic RSI ArrowsMulti-Timeframe Stochastic RSI Arrows Indicator by The Venetian
Dear Moderators before you torch me alive theres nothing groundbreaking just very handy indicator for some users.
This indicator provides traders with a jet fighter-style heads-up display for market momentum across multiple timeframes. By displaying Stochastic RSI directional arrows for 12 different timeframes simultaneously, it offers a comprehensive view of market conditions without requiring multiple chart windows.
How It Works
The indicator calculates the Stochastic RSI for each of 12 common timeframes (1m to 3M) and represents directional movements with intuitive arrows:
- ▲ Green up arrow = Rising momentum
- ▼ Red down arrow = Falling momentum
- ◄► Yellow horizontal arrows = Flat/sideways momentum
- ► Gray right arrow = Just peaked (crossed above overbought)
- ◄ Gray left arrow = Just bottomed (crossed below oversold)
Each timeframe's status appears with its label (e.g., "1m ▲") in a clean, vertically-stacked display using ATR-based spacing to maintain consistent visual appearance regardless of price scale.
Key Features
- ATR-Based Spacing : Uses Average True Range to maintain consistent distances between labels even as chart scale changes
- Multi-Timeframe Analysis: Easily spot divergences and confluences across timeframes (1m, 3m, 5m, 15m, 30m, 1h, 2h, 4h, 1D, 1W, 1M, 3M)
- Sensitivity Control: Adjust flat detection sensitivity to filter out noise
- Customisable Appearance: Modify arrow size, vertical spacing, and show/hide timeframe labels
- Overbought/Oversold Detection: Highlights when momentum has peaked or bottomed at extreme levels
- Trading Applications
- Trend Alignment: Quickly identify when multiple timeframes align in the same direction
- Divergence Detection: Spot when shorter timeframes begin to shift against longer ones
- Entry/Exit Timing: Use crossovers of significant timeframes as potential signals
- Market Context: Maintain awareness of the bigger picture while trading shorter timeframes
This indicator doesn't break new ground technically but excels in presenting complex multi-timeframe information in a clean, actionable format — much like a pilot's heads-up display provides critical information at a glance. The ATR-based positioning ensures consistent visibility across different instruments and market conditions.
Great effort has been made for this script to adhere to TradingView's Pine Script house rules and focuses on trader usability rather than introducing novel technical concepts.
MFI Nexus Pro [trade_lexx]📈 MFI Nexus Pro is your reliable trading assistant!
📊 What is MFI Nexus Pro ?
MFI Nexus Pro is a trading indicator that analyzes cash flows in the market. It shows where money is moving — into or out of an asset, and based on this, generates buy or sell signals.
💡 The main components of the indicator
📊 The MFI Cash Flow Index (MFI)
shows the strength of cash flow into an asset. Values above 70 indicate overbought (an early sale is possible), and values below 30 indicate oversold (an early purchase is possible).
📈 Moving Averages (MA)
The indicator uses 10 different types of moving averages to smooth the MFI line.:
- SMA: Simple moving average
- EMA: Exponential moving average
- WMA: Weighted moving average
And other more complex types (HMA, KAMA, VWMA, ALMA, TEMA, ZLEMA, DEMA)
The choice of the type of moving average affects the speed of the indicator's response to market changes.
🎯 Bollinger Bands (BB)
Bands around the moving average that widen and narrow depending on volatility. They help determine when the MFI is out of the normal range.
🔄 Divergences
Divergences show discrepancies between price and MFI:
- Bullish divergence: the price is falling and the MFI is rising — an upward reversal is possible
- Bearish divergence: the price is rising and the MFI is falling — a downward reversal is possible
🔍 Indicator signals
1️⃣ Moving average signals (MA)
Buy signal
- What happens: MFI crosses its moving average from bottom to top
- What does it look like: the green triangle labeled "MA" under the chart
- What does it mean: money begins to actively flow into the asset, price growth is possible
Sell signal
- What happens: the MFI crosses the moving average from top to bottom
- What does it look like: a red triangle with the label "MA" above the chart
- What does it mean: money starts to leave the asset, the price may fall
2️⃣ Bollinger Band Signals (BB)
Buy signal
- What's happening: The MFI crosses the lower Bollinger band from bottom to top
- What it looks like: the green triangle marked "BB"
- What it means: The MFI was too low and is now starting to recover
Sell Signal
- What's going on: MFI crosses the upper Bollinger band from top to bottom
- What it looks like: a red triangle marked "BB"
- What it means: The MFI was too high and is now starting to decline
3️⃣ Divergence Signals (Div)
Buy Signal (Bullish Divergence)
- What's going on: the price is falling more than the MFI
- What it looks like: a green triangle marked "Div"
- What it means: despite the fall in price, money is already starting to return to the asset
Sell signal (bearish divergence)
- What is happening: the price is rising more strongly than the MFI
- What does it look like: the red triangle with the label "Div"
- What does it mean: despite the price increase, money is already starting to leave the asset
🛠️ Filters to filter out false signals
1️⃣ Minimum distance between the signals
- What it does: sets the minimum number of candles between signals
- Why it is needed: prevents signals from being too frequent during strong market fluctuations
- How to set it up: Set the number from 0 and above (default: 5)
2️⃣ "Waiting for the opposite signal" mode
- What it does: waits for a signal in the opposite direction before generating a new signal
- Why you need it: it helps you not to miss important trend reversals
- How to set up: just turn the function on or off
3️⃣ Filter by MFI levels
- What it does: generates signals only when the MFI is in the specified ranges
- Why it is needed: it helps to catch the moments when the market is oversold or overbought
- How to set up:
- For buy signals: set a range for oversold (e.g. 1-30)
- For sell signals: set a range for overbought (e.g. 70-100)
4️⃣ The RSI filter
- What it does: additionally checks the RSI values to confirm the signals
- Why it is needed: adds additional confirmation from another popular indicator
- How to set up: Similar to the MFI filter, set ranges for buying and selling
🔄 Signal combination modes
1️⃣ Normal mode ("None")
- How it works: all signals (MA, BB, Div) work independently of each other
- When to use it: for general market analysis or when learning how to work with the indicator
2️⃣ "And" mode ("MA and BB and Div")
- How it works: the alarm appears only when several conditions are triggered simultaneously
- Combination options:
- MA+BB: signals from the moving average and Bollinger bands
- MA+Div: signals from the moving average and divergence
- BB+Div: signals from the Bollinger bands and divergence
- MA+BB+Div: all three signals simultaneously
- When to use: for more reliable but rare signals
3️⃣ "OR" mode ("MA or BB or Div")
- How it works: the alarm appears when any of the conditions are triggered
- When to use: for frequent signals when you don't want to miss any opportunity.
🔌 Connecting to trading strategies
The indicator can be connected to your trading strategies using 5 different channels.:
1. Channel for MA signals: connects only signals from moving averages
2. BB signal channel: connects only the signals from the Bollinger bands
3. Channel for divergence signals: connects only divergence signals
4. Channel for "And" mode: connects only combined signals
5. Channel for "OR" mode: connects signals from any source
🔔 Setting up alerts
The indicator can send alerts when alarms appear.:
- Alerts for MA: when the MFI crosses the moving average
- Alerts for BB: when the MFI crosses the Bollinger bands
- Divergence alerts: when a divergence is detected
- Combined alerts: for "AND" and "OR" modes
🎭 What does the indicator look like on the chart ?
- MFI main line: purple line
- Overbought/oversold levels: horizontal lines at levels 30 and 70
- Middle line: dotted line at level 50
- MFI Moving Average: yellow line
- Bollinger bands: green lines around the moving average
- Signals: green and red triangles with corresponding labels
📚 How to start using MFI Nexus Pro
1️⃣ Initial setup
- Add an indicator to your chart
- Select the type of moving average and the period (you can leave it as the default)
- Activate the desired signal types (MA, BB, Div)
2️⃣ Filter settings
- Set the distance between the signals to get rid of unnecessary noise
- Adjust the MFI and RSI levels depending on how volatile your asset is
- If you need more reliable signals, turn on the "Waiting for the opposite signal" mode.
3️⃣ Operation mode selection
- First, use the standard mode to see all possible signals.
- When you get comfortable, try the "And" mode for more reliable signals.
- For active trading, you can use the "OR" mode
4️⃣ Setting up Alerts
- Select the types of signals you want to be notified about
- Set up alerts for "AND" or "OR" modes if you use them
5️⃣ Verification and adaptation
- Check the operation of the indicator on historical data
- Adjust the parameters for a specific asset
- Adapt the settings to your trading style
🌟 Usage examples
For trend trading
- Use MA signals in the direction of the main trend
- Turn on the "Waiting for the opposite signal" mode
- Set stricter levels for filters
For trading in a sideways range
- Use BB signals to detect bounces from the range boundaries
- Use the MFI level filter to confirm overbought/oversold conditions
- Adjust the Bollinger bands according to the width of the range
To determine the pivot points
- Pay attention to the divergence signals
- Use the "And" mode by combining divergences with other signals
- Check the RSI filter for additional confirmation
iD EMARSI on ChartSCRIPT OVERVIEW
The EMARSI indicator is an advanced technical analysis tool that maps RSI values directly onto price charts. With adaptive scaling capabilities, it provides a unique visualization of momentum that flows naturally with price action, making it particularly valuable for FOREX and low-priced securities trading.
KEY FEATURES
1 PRICE MAPPED RSI VISUALIZATION
Unlike traditional RSI that displays in a separate window, EMARSI plots the RSI directly on the price chart, creating a flowing line that identifies momentum shifts within the context of price action:
// Map RSI to price chart with better scaling
mappedRsi = useAdaptiveScaling ?
median + ((rsi - 50) / 50 * (pQH - pQL) / 2 * math.min(1.0, 1/scalingFactor)) :
down == pQL ? pQH : up == pQL ? pQL : median - (median / (1 + up / down))
2 ADAPTIVE SCALING SYSTEM
The script features an intelligent scaling system that automatically adjusts to different market conditions and price levels:
// Calculate adaptive scaling factor based on selected method
scalingFactor = if scalingMethod == "ATR-Based"
math.min(maxScalingFactor, math.max(1.0, minTickSize / (atrValue/avgPrice)))
else if scalingMethod == "Price-Based"
math.min(maxScalingFactor, math.max(1.0, math.sqrt(100 / math.max(avgPrice, 0.01))))
else // Volume-Based
math.min(maxScalingFactor, math.max(1.0, math.sqrt(1000000 / math.max(volume, 100))))
3 MODIFIED RSI CALCULATION
EMARSI uses a specially formulated RSI calculation that works with an adaptive base value to maintain consistency across different price ranges:
// Adaptive RSI Base based on price levels to improve flow
adaptiveRsiBase = useAdaptiveScaling ? rsiBase * scalingFactor : rsiBase
// Calculate RSI components with adaptivity
up = ta.rma(math.max(ta.change(rsiSourceInput), adaptiveRsiBase), emaSlowLength)
down = ta.rma(-math.min(ta.change(rsiSourceInput), adaptiveRsiBase), rsiLengthInput)
// Improved RSI calculation with value constraint
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
4 MOVING AVERAGE CROSSOVER SYSTEM
The indicator creates a smooth moving average of the RSI line, enabling a crossover system that generates trading signals:
// Calculate MA of mapped RSI
rsiMA = ma(mappedRsi, emaSlowLength, maTypeInput)
// Strategy entries
if ta.crossover(mappedRsi, rsiMA)
strategy.entry("RSI Long", strategy.long)
if ta.crossunder(mappedRsi, rsiMA)
strategy.entry("RSI Short", strategy.short)
5 VISUAL REFERENCE FRAMEWORK
The script includes visual guides that help interpret the RSI movement within the context of recent price action:
// Calculate pivot high and low
pQH = ta.highest(high, hlLen)
pQL = ta.lowest(low, hlLen)
median = (pQH + pQL) / 2
// Plotting
plot(pQH, "Pivot High", color=color.rgb(82, 228, 102, 90))
plot(pQL, "Pivot Low", color=color.rgb(231, 65, 65, 90))
med = plot(median, style=plot.style_steplinebr, linewidth=1, color=color.rgb(238, 101, 59, 90))
6 DYNAMIC COLOR SYSTEM
The indicator uses color fills to clearly visualize the relationship between the RSI and its moving average:
// Color fills based on RSI vs MA
colUp = mappedRsi > rsiMA ? input.color(color.rgb(128, 255, 0), '', group= 'RSI > EMA', inline= 'up') :
input.color(color.rgb(240, 9, 9, 95), '', group= 'RSI < EMA', inline= 'dn')
colDn = mappedRsi > rsiMA ? input.color(color.rgb(0, 230, 35, 95), '', group= 'RSI > EMA', inline= 'up') :
input.color(color.rgb(255, 47, 0), '', group= 'RSI < EMA', inline= 'dn')
fill(rsiPlot, emarsi, mappedRsi > rsiMA ? pQH : rsiMA, mappedRsi > rsiMA ? rsiMA : pQL, colUp, colDn)
7 REAL TIME PARAMETER MONITORING
A transparent information panel provides real-time feedback on the adaptive parameters being applied:
// Information display
var table infoPanel = table.new(position.top_right, 2, 3, bgcolor=color.rgb(0, 0, 0, 80))
if barstate.islast
table.cell(infoPanel, 0, 0, "Current Scaling Factor", text_color=color.white)
table.cell(infoPanel, 1, 0, str.tostring(scalingFactor, "#.###"), text_color=color.white)
table.cell(infoPanel, 0, 1, "Adaptive RSI Base", text_color=color.white)
table.cell(infoPanel, 1, 1, str.tostring(adaptiveRsiBase, "#.####"), text_color=color.white)
BENEFITS FOR TRADERS
INTUITIVE MOMENTUM VISUALIZATION
By mapping RSI directly onto the price chart, traders can immediately see the relationship between momentum and price without switching between different indicator windows.
ADAPTIVE TO ANY MARKET CONDITION
The three scaling methods (ATR-Based, Price-Based, and Volume-Based) ensure the indicator performs consistently across different market conditions, volatility regimes, and price levels.
PREVENTS EXTREME VALUES
The adaptive scaling system prevents the RSI from generating extreme values that exceed chart boundaries when trading low-priced securities or during high volatility periods.
CLEAR TRADING SIGNALS
The RSI and moving average crossover system provides clear entry signals that are visually reinforced through color changes, making it easy to identify potential trading opportunities.
SUITABLE FOR MULTIPLE TIMEFRAMES
The indicator works effectively across multiple timeframes, from intraday to daily charts, making it versatile for different trading styles and strategies.
TRANSPARENT PARAMETER ADJUSTMENT
The information panel provides real-time feedback on how the adaptive system is adjusting to current market conditions, helping traders understand why the indicator is behaving as it is.
CUSTOMIZABLE VISUALIZATION
Multiple visualization options including Bollinger Bands, different moving average types, and customizable colors allow traders to adapt the indicator to their personal preferences.
CONCLUSION
The EMARSI indicator represents a significant advancement in RSI visualization by directly mapping momentum onto price charts with adaptive scaling. This approach makes momentum shifts more intuitive to identify and helps prevent the scaling issues that commonly affect RSI-based indicators when applied to low-priced securities or volatile markets.
Supertrend and Fast and Slow EMA StrategyThis strategy combines Exponential Moving Averages (EMAs) and Average True Range (ATR) to create a simple, yet effective, trend-following approach. The strategy filters out fake or sideways signals by incorporating the ATR as a volatility filter, ensuring that trades are only taken during trending conditions. The key idea is to buy when the short-term trend (Fast EMA) aligns with the long-term trend (Slow EMA), and to avoid trades during low volatility periods.
How It Works:
EMA Crossover:
1). Buy Signal: When the Fast EMA (shorter-term, e.g., 20-period) crosses above the Slow EMA (longer-term, e.g., 50-period), this indicates a potential uptrend.
2). Sell Signal: When the Fast EMA crosses below the Slow EMA, this indicates a potential downtrend.
ATR Filter:
1). The ATR (Average True Range) is used to measure market volatility.
2). Trending Market: If the ATR is above a certain threshold, it indicates high volatility and a trending market. Only when ATR is above the threshold will the strategy generate buy/sell signals.
3). Sideways Market: If ATR is low (sideways or choppy market), the strategy will suppress signals to avoid entering during non-trending conditions.
When to Buy:
1). Condition 1: The Fast EMA crosses above the Slow EMA.
2). Condition 2: The ATR is above the defined threshold, indicating that the market is trending (not sideways or choppy).
When to Sell:
1). Condition 1: The Fast EMA crosses below the Slow EMA.
2). Condition 2: The ATR is above the defined threshold, confirming that the market is in a downtrend.
When Not to Enter the Trade:
1). Sideways Market: If the ATR is below the threshold, signaling low volatility and sideways or choppy market conditions, the strategy will not trigger any buy or sell signals.
2). False Crossovers: In low volatility conditions, price action tends to be noisy, which could lead to false signals. Therefore, avoiding trades during these periods reduces the risk of false breakouts.
Additional Factors to Consider Adding:
=> RSI (Relative Strength Index): Adding an RSI filter can help confirm overbought or oversold conditions to avoid buying into overextended moves or selling too low.
1). RSI Buy Filter: Only take buy signals when RSI is below 70 (avoiding overbought conditions).
2). RSI Sell Filter: Only take sell signals when RSI is above 30 (avoiding oversold conditions).
=> MACD (Moving Average Convergence Divergence): Using MACD can help validate the strength of the trend.
1). Buy when the MACD histogram is above the zero line and the Fast EMA crosses above the Slow EMA.
2). Sell when the MACD histogram is below the zero line and the Fast EMA crosses below the Slow EMA.
=> Support/Resistance Levels: Adding support and resistance levels can help you understand market structure and decide whether to enter or exit a trade.
1). Buy when price breaks above a significant resistance level (after a valid buy signal).
2). Sell when price breaks below a major support level (after a valid sell signal).
=> Volume: Consider adding a volume filter to ensure that buy/sell signals are supported by strong market participation. You could only take signals if the volume is above the moving average of volume over a certain period.
=> Trailing Stop Loss: Instead of a fixed stop loss, use a trailing stop based on a percentage or ATR to lock in profits as the trade moves in your favor.
=> Exit Signals: Besides the EMA crossover, consider adding Take Profit or Stop Loss levels, or even using a secondary indicator like RSI to signal an overbought/oversold condition and exit the trade.
Example Usage:
=> Buy Example:
1). Fast EMA (20-period) crosses above the Slow EMA (50-period).
2). The ATR is above the threshold, confirming that the market is trending.
3). Optionally, if RSI is below 70, the buy signal is further confirmed as not being overbought.
=> Sell Example:
1). Fast EMA (20-period) crosses below the Slow EMA (50-period).
2). The ATR is above the threshold, confirming that the market is trending.
3). Optionally, if RSI is above 30, the sell signal is further confirmed as not being oversold.
Conclusion:
This strategy helps to identify trending markets and filters out sideways or choppy market conditions. By using Fast and Slow EMAs combined with the ATR volatility filter, it provides a reliable approach to catching trending moves while avoiding false signals during low-volatility, sideways markets.
Averaged Stochastic RSI by TenozenSimplicity beats everything! Averaged Stochastic RSi is calculated using the 2 points of stochastic of the RSI, where the difference is by 2 (larger), and averaged out the stochastic's values. In result it is less noisy and more responsive towards the market's momentum.
I hope you guys find this indicator useful! So far this is the best indicator I ever had! And I also learned that simplicity is better than complex blurry/abstract problems. Ciao!
TrendMasterPro_FekonomiTrend Change and Start Signals with Weighted Conditions
The Trend Change and Start Signals with Weighted Conditions indicator leverages various technical analysis tools to generate reliable buy and sell signals. This indicator helps investors more accurately identify trend changes and start signals in the market.
Features:
Utilizes popular technical analysis tools such as MACD, RSI, EMA, and Ichimoku Cloud.
Enhances signal accuracy with additional indicators like ADX and Volume Increase.
Allows users to adjust the weights of each condition to set their importance.
The Confidence Level parameter lets you adjust the accuracy rate of the signals.
Visual Signals make it easy to track buy and sell points directly on the chart.
How It Works:
Condition Weights: Users assign weights to indicators like MACD, RSI, EMA, and Ichimoku Cloud. If you have no idea, use default settings.
Condition Fulfillment: Checks if the conditions for each indicator are met.
Confidence Level: The total weight of the fulfilled conditions must exceed the user-defined confidence level.
Signal Generation: When these conditions are met, a buy or sell signal is generated and visually displayed on the chart.
Customization:
Personalize Signals: By adjusting the weights of the indicators used, you can personalize the signals to match your trading strategy and preferences.
Use Cases:
Short-Term Investments: Identify quick trend changes for short-term trading decisions.
Long-Term Investments: Detect long-term trend starts and changes for strategic investment decisions.
Technical Analysis: Combine different technical analysis tools for more comprehensive and reliable analyses.
With this indicator, you can better understand market movements and make more informed investment decisions. Try it now and enhance your trading strategy!
by Fekonomi
Liquitive Buy/Sell Dollar AveragerLiquitive Buy/Sell Dollar Averager Indicator
The "Liquitive Buy/Sell Dollar Averager" is a versatile trading tool designed for intraday and multi-timeframe analysis, combining advanced range-bound calculations, RSI normalization, volume spikes, and candle pattern recognition to identify optimal buy and sell conditions. This indicator is particularly suitable for traders employing strategies that focus on dollar-cost averaging, position scaling, and systematic buy/sell decision-making.
Key Features:
Adaptive RSI-Based Levels:
Dynamically calculates inner bounds (IB) and outer bounds (OB) using RSI and price ranges, helping to identify overbought and oversold conditions relative to the price action.
Normalizes RSI values to the price range for seamless visualization overlaid on the chart.
Volume and Candle Analysis:
Detects significant volume spikes relative to a moving average, signaling increased market activity.
Identifies spiking green/red candles to capture momentum-driven price movements.
Dynamic Support and Resistance:
Calculates and plots support and resistance levels based on recent swing highs and lows.
Median and boundary lines help visualize key price levels for decision-making.
Profitability Check:
Buy and Sell Signals:
Checks profitability thresholds based on percentage gains/losses.
Incorporates logic for "time to buy" and "time to sell" using target profit margins.
Implements average move percentage to define realistic thresholds for buy/sell actions.
Time-Based Trading Restrictions:
Configures trading logic to disallow trades after a specific time (e.g., 3:40 PM for intraday sessions).
Ensures logical entry and exit decisions are only made within active trading hours.
Color-Coded Visualization:
Background colors dynamically shift between green (bullish), red (bearish), and neutral, depending on RSI and price position relative to the inner bounds.
Opacity of the background adjusts based on normalized RSI differences to provide a visual cue of market strength.
Customizable Parameters:
Allows user input for key settings like lookback periods, RSI length, percent ranges, volume thresholds, and transparency levels, enabling flexible configuration tailored to individual strategies.
Actionable Alerts and Signals:
Plots "Open Position", "Add to Position", and "Close Position" markers directly on the chart, making it easy to follow systematic trading rules.
How It Works:
Buy Signals:
Triggered when price conditions, volume spikes, and RSI-based thresholds align with profitability metrics.
Designed for dollar-cost averaging, identifying opportunities to add to long positions or open new positions.
Sell Signals:
Evaluates profitability conditions to identify when to close or scale out of positions.
Incorporates real-time evaluation of market momentum and profitability.
RSI+EMA+MZONES with DivergencesFeatures:
1. RSI Calculation:
Uses user-defined periods to calculate the RSI and visualize momentum shifts.
Plots key RSI zones, including upper (overbought), lower (oversold), and middle levels.
2. EMA of RSI:
Includes an Exponential Moving Average (EMA) of the RSI for trend smoothing and confirmation.
3. Bullish and Bearish Divergences:
Detects Regular divergences (labeled as “Bull” and “Bear”) for classic signals.
Identifies Hidden divergences (labeled as “H Bull” and “H Bear”) for potential trend continuation opportunities.
4. Customizable Labels:
Displays divergence labels directly on the chart.
Labels can be toggled on or off for better chart visibility.
5. Alerts:
Predefined alerts for both regular and hidden divergences to notify users in real time.
6. Fully Customizable:
Adjust RSI period, lookback settings, divergence ranges, and visibility preferences.
Colors and styles are easily configurable to match your trading style.
How to Use:
RSI Zones: Use RSI and its zones to identify overbought/oversold conditions.
EMA: Look for crossovers or confluence with divergences for confirmation.
Divergences: Monitor for “Bull,” “Bear,” “H Bull,” or “H Bear” labels to spot key reversal or continuation signals.
Alerts: Set alerts to be notified of divergence opportunities without constant chart monitoring.
3 EMA + RSI with Trail Stop [Free990] (LOW TF)This trading strategy combines three Exponential Moving Averages (EMAs) to identify trend direction, uses RSI to signal exit conditions, and applies both a fixed percentage stop-loss and a trailing stop for risk management. It aims to capture momentum when the faster EMAs cross the slower EMA, then uses RSI thresholds, time-based exits, and stops to close trades.
Short Explanation of the Logic
Trend Detection: When the 10 EMA crosses above the 20 EMA and both are above the 100 EMA (and the current price bar closes higher), it triggers a long entry signal. The reverse happens for a short (the 10 EMA crosses below the 20 EMA and both are below the 100 EMA).
RSI Exit: RSI crossing above a set threshold closes long trades; crossing below another threshold closes short trades.
Time-Based Exit: If a trade is in profit after a set number of bars, the strategy closes it.
Stop-Loss & Trailing Stop: A fixed stop-loss based on a percentage from the entry price guards against large drawdowns. A trailing stop dynamically tightens as the trade moves in favor, locking in potential gains.
Detailed Explanation of the Strategy Logic
Exponential Moving Average (EMA) Setup
Short EMA (out_a, length=10)
Medium EMA (out_b, length=20)
Long EMA (out_c, length=100)
The code calculates three separate EMAs to gauge short-term, medium-term, and longer-term trend behavior. By comparing their relative positions, the strategy infers whether the market is bullish (EMAs stacked positively) or bearish (EMAs stacked negatively).
Entry Conditions
Long Entry (entryLong): Occurs when:
The short EMA (10) crosses above the medium EMA (20).
Both EMAs (short and medium) are above the long EMA (100).
The current bar closes higher than it opened (close > open).
This suggests that momentum is shifting to the upside (short-term EMAs crossing up and price action turning bullish). If there’s an existing short position, it’s closed first before opening a new long.
Short Entry (entryShort): Occurs when:
The short EMA (10) crosses below the medium EMA (20).
Both EMAs (short and medium) are below the long EMA (100).
The current bar closes lower than it opened (close < open).
This indicates a potential shift to the downside. If there’s an existing long position, that gets closed first before opening a new short.
Exit Signals
RSI-Based Exits:
For long trades: When RSI exceeds a specified threshold (e.g., 70 by default), it triggers a long exit. RSI > short_rsi generally means overbought conditions, so the strategy exits to lock in profits or avoid a pullback.
For short trades: When RSI dips below a specified threshold (e.g., 30 by default), it triggers a short exit. RSI < long_rsi indicates oversold conditions, so the strategy closes the short to avoid a bounce.
Time-Based Exit:
If the trade has been open for xBars bars (configurable, e.g., 24 bars) and the trade is in profit (current price above entry for a long, or current price below entry for a short), the strategy closes the position. This helps lock in gains if the move takes too long or momentum stalls.
Stop-Loss Management
Fixed Stop-Loss (% Based): Each trade has a fixed stop-loss calculated as a percentage from the average entry price.
For long positions, the stop-loss is set below the entry price by a user-defined percentage (fixStopLossPerc).
For short positions, the stop-loss is set above the entry price by the same percentage.
This mechanism prevents catastrophic losses if the market moves strongly against the position.
Trailing Stop:
The strategy also sets a trail stop using trail_points (the distance in price points) and trail_offset (how quickly the stop “catches up” to price).
As the market moves in favor of the trade, the trailing stop gradually tightens, allowing profits to run while still capping potential drawdowns if the price reverses.
Order Execution Flow
When the conditions for a new position (long or short) are triggered, the strategy first checks if there’s an opposite position open. If there is, it closes that position before opening the new one (prevents going “both long and short” simultaneously).
RSI-based and time-based exits are checked on each bar. If triggered, the position is closed.
If the position remains open, the fixed stop-loss and trailing stop remain in effect until the position is exited.
Why This Combination Works
Multiple EMA Cross: Combining 10, 20, and 100 EMAs balances short-term momentum detection with a longer-term trend filter. This reduces false signals that can occur if you only look at a single crossover without considering the broader trend.
RSI Exits: RSI provides a momentum oscillator view—helpful for detecting overbought/oversold conditions, acting as an extra confirmation to exit.
Time-Based Exit: Prevents “lingering trades.” If the position is in profit but failing to advance further, it takes profit rather than risking a trend reversal.
Fixed & Trailing Stop-Loss: The fixed stop-loss is your safety net to cap worst-case losses. The trailing stop allows the strategy to lock in gains by following the trade as it moves favorably, thus maximizing profit potential while keeping risk in check.
Overall, this approach tries to capture momentum from EMA crossovers, protect profits with trailing stops, and limit risk through both a fixed percentage stop-loss and exit signals from RSI/time-based logic.
Multifactor Buy/Sell Strategy V2 | RSI, MACD, ATR, EMA, Boll.BITGET:1INCHUSDT
This Pine Script code for TradingView is a multifactor Buy/Sell indicator that combines several technical factors to generate trading signals based on trend, volatility, and volume conditions. Here’s a breakdown of the main components and functionality:
Indicator Name
- Multifactor Buy/Sell Strategy V2 — an overlay indicator applied directly on the price chart.
### Input Parameters
The script includes multiple customizable parameters:
- RSI, EMA, MACD parameters — for setting periods and signals of MACD and RSI.
- ATR and Bollinger Bands — used for volatility analysis and level determination.
- Minimum Volatility Threshold — sets a minimum Bollinger Band width threshold for determining high volatility.
Core Indicators
1. RSI — calculated to identify oversold (below 30) and overbought (above 70) conditions.
2. EMA and MACD — calculates exponential moving averages and MACD histogram to determine trend direction.
3. ATR and Bollinger Bands — used to assess current volatility and establish dynamic upper and lower bands.
Volatility and Volume Analysis
- Determines the current ATR level and Bollinger Band width to evaluate high volatility.
- Calculates the volume moving average to track periods of increased volume during high volatility.
Trend Analysis
The script uses the difference between fast and slow EMAs to define strong trends:
- Uptrend — when the fast EMA is above the slow EMA, the price is above the fast EMA, and the trend is strong.
- Downtrend — when the fast EMA is below the slow EMA, the price is below the fast EMA, and the trend is strong.
Momentum Filter
- Based on the price change over the last three bars and compared against the minimum volatility threshold to identify strong momentum.
Buy and Sell Signal Generation
- Buy Signal: Uptrend with RSI oversold, positive MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
- Sell Signal: Downtrend with RSI overbought, negative MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
Visualization
- Buy and sell signals are displayed as green and red triangles on the chart.
- Plots for fast and slow EMAs, upper and lower bands, and Bollinger Bands.
Alerts
The script includes alert conditions for buy and sell signals, allowing notifications to be sent via email or mobile app.
Information Panel
A small table on the chart displays current volatility dataThis Pine Script code for TradingView is a multifactor Buy/Sell indicator that combines several technical factors to generate trading signals based on trend, volatility, and volume conditions. Here’s a breakdown of the main components and functionality:
Indicator Name
- Multifactor Buy/Sell Strategy V2 — an overlay indicator applied directly on the price chart.
Input Parameters
The script includes multiple customizable parameters:
- **RSI, EMA, MACD parameters** — for setting periods and signals of MACD and RSI.
- **ATR and Bollinger Bands** — used for volatility analysis and level determination.
- **Minimum Volatility Threshold** — sets a minimum Bollinger Band width threshold for determining high volatility.
Core Indicators
1. RSI — calculated to identify oversold (below 30) and overbought (above 70) conditions.
2. EMA and MACD — calculates exponential moving averages and MACD histogram to determine trend direction.
3. ATR and Bollinger Bands — used to assess current volatility and establish dynamic upper and lower bands.
Volatility and Volume Analysis
- Determines the current ATR level and Bollinger Band width to evaluate high volatility.
- Calculates the volume moving average to track periods of increased volume during high volatility.
Trend Analysis
The script uses the difference between fast and slow EMAs to define strong trends:
- Uptrend — when the fast EMA is above the slow EMA, the price is above the fast EMA, and the trend is strong.
- Downtrend — when the fast EMA is below the slow EMA, the price is below the fast EMA, and the trend is strong.
Momentum Filter
- Based on the price change over the last three bars and compared against the minimum volatility threshold to identify strong momentum.
Buy and Sell Signal Generation
- Buy Signal: Uptrend with RSI oversold, positive MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
- Sell Signal: Downtrend with RSI overbought, negative MACD histogram, high volatility and volume, strong momentum, and sufficient Bollinger Band width.
Visualization
- Buy and sell signals are displayed as green and red triangles on the chart.
- Plots for fast and slow EMAs, upper and lower bands, and Bollinger Bands.
Alerts
The script includes alert conditions for buy and sell signals, allowing notifications to be sent via email or mobile app.
Information Panel
A small table on the chart displays current volatility
- Volatility Status — indicates high or low volatility.
- Bollinger Band Width — current width as a percentage.
- ATR Ratio — ratio of current ATR to long-term average ATR.
This script is suitable for trading in high-volatility conditions, combining multiple filters and factors to generate precise buy and sell signals.
Gabriel's Witcher Strategy [65 Minute Trading Bot]Strategy Description: Gabriel's Witcher Strategy
Author: Gabriel
Platform: TradingView Pine Script (Version 5)
Backtested Asset: Avalanche (Coinbase Brokage for Volume adjustment)
Timeframe: 65 Minutes
Strategy Type: Comprehensive Trend-Following and Momentum Strategy with Scalping and Risk Management Features
Overview
Gabriel's Witcher Strategy is an advanced trading bot designed for the Avalanche pair on a 65-minute timeframe. This strategy integrates a multitude of technical indicators to identify and execute high-probability trading opportunities. By combining trend-following, momentum, volume analysis, and range filtering, the strategy aims to capitalize on both long and short market movements. Additionally, it incorporates scalping mechanisms and robust risk management features, including take-profit (TP) levels and commission considerations, to optimize trade performance and profitability.
====Key Components====
Source Selection:
Custom Source Flexibility: Allows traders to select from a wide range of price and volume sources (e.g., Close, Open, High, Low, HL2, HLC3, OHLC4, VWAP, On-Balance Volume, etc.) for indicator calculations, enhancing adaptability to various trading styles.
Various curves of Volume Analysis are employed:
Tick Volume Calculation: Utilizes tick volume as a fallback when actual volume data is unavailable, ensuring consistency across different data feeds.
Volume Indicators: Incorporates multiple volume-based indicators such as On-Balance Volume (OBV), Accumulation/Distribution (AccDist), Negative Volume Index (NVI), Positive Volume Index (PVI), and Price Volume Trend (PVT) for comprehensive market analysis.
Trend Indicators:
ADX (Average Directional Index): Measures trend strength using either the Classic or Masanakamura method, with customizable length and threshold settings. It's used to open positions when the mesured trend is strong, or exit when its weak.
Jurik Moving Average (JMA): A smooth moving average that reduces lag, configurable with various parameters including source, resolution, and repainting options.
Parabolic SAR: Identifies potential reversals in market trends with adjustable start, increment, and maximum settings.
Custom Trend Indicator: Utilizes highest and lowest price points over a specified timeframe to determine current and previous trend bases, visually represented with color-filled areas.
Momentum Indicators:
Relative Strength Index (RSI): Evaluates the speed and change of price movements, smoothed with a custom length and source. It's used to not enter the market for shorts in oversold or longs for overbought conditions, and to enter for long in oversold or shorts for overboughts.
Momentum-Based Calculations: Employs both Double Exponential Moving Averages (DEMA) on a MACD-based RSI to enhance momentum signal accuracy which is then further accelerated by a Hull MA. This is the technical analysis tool that determines bearish or bullish momentum.
OBV-Based Momentum Conditions: Uses two exponential moving averages of OBV to determine bullish or bearish momentum shifts, anomalities, breakouts where banks flow their funds in or Smart Money Concepts trade.
Moving Averages (MA):
Multiple MA Types: Includes Simple Moving Average (SMA), Exponential Moving Average (EMA), Weighted Moving Average (WMA), Hull Moving Average (HMA), and Volume-Weighted Moving Average (VWMA), selectable via input parameters.
MA Speed Calculation: Measures the percentage change in MA values to determine the direction and speed of the trend.
Range Filtering:
Variance-Based Filter: Utilizes variance and moving averages to filter out trades during low-volatility periods, enhancing trade quality.
Color-Coded Range Indicators: Visualizes range filtering with color changes on the chart for quick assessment.
Scalping Mechanism:
Heikin-Ashi Candles: Optionally uses Heikin-Ashi candles for smoother price action analysis.
EMA-Based Trend Detection: Employs fast, medium, and slow EMAs to determine trend direction and potential entry points.
Fractal-Based Filtering: Detects regular or BW (Black & White) fractals to confirm trade signals.
Take Profit (TP) Management:
Dynamic TP Levels: Calculates TP levels based on the number of consecutive long or short entries, adjusting targets to maximize profits.
TP Signals and Re-Entry: Plots TP signals on the chart and allows for automatic re-entry upon TP hit, maintaining continuous trade flow.
Risk Management:
Commission Integration: Accounts for trading commissions to ensure net profitability.
Position Sizing: Configured to use a percentage of equity for each trade, adjustable via input parameters.
Pyramiding: Allows up to one additional position per direction to enhance gains during strong trends.
Alerts and Visual Indicators:
Buy/Sell Signals: Plots visual indicators (triangles and flags) on the chart to signify entry and TP points.
Bar Coloring: Changes bar colors based on ADX and trend conditions for immediate visual cues.
Price Levels: Marks significant price levels related to TP and position entries with cross styles.
Input Parameters
Source Settings:
Custom Sources (srcinput): Choose from various price and volume sources to tailor indicator calculations.
ADX Settings:
ADX Type (ADX_options): Select between 'CLASSIC' and 'MASANAKAMURA' methods.
ADX Length (ADX_len): Defines the period for ADX calculation.
ADX Threshold (th): Sets the minimum ADX value to consider a strong trend.
RSI Settings:
RSI Length (len_3): Period for RSI calculation.
RSI Source (src_3): Source data for RSI.
Trend Strength Settings:
Channel Length (n1): Period for trend channel calculation.
Average Length (n2): Period for smoothing trend strength.
Jurik Moving Average (JMA) Settings:
JMA Source (inp): Source data for JMA.
JMA Resolution (reso): Timeframe for JMA calculation.
JMA Repainting (rep): Option to allow JMA to repaint.
JMA Length (lengths): Period for JMA.
Parabolic SAR Settings:
SAR Start (start): Initial acceleration factor.
SAR Increment (increment): Acceleration factor increment.
SAR Maximum (maximum): Maximum acceleration factor.
SAR Point Width (width): Visual width of SAR points.
Trend Indicator Settings:
Trend Timeframe (timeframe): Period for trend indicator calculations.
Momentum Settings:
Source Type (srcType): Select between 'Price' and 'VWAP'.
Momentum Source (srcPrice): Source data for momentum calculations.
RSI Length (rsiLen): Period for momentum RSI.
Smooth Length (sLen): Smoothing period for momentum RSI.
OBV Settings:
OBV Line 1 (e1): EMA period for OBV line 1.
OBV Line 2 (e2): EMA period for OBV line 2.
Moving Average (MA) Settings:
MA Length (length): Period for MA calculations.
MA Type (matype): Select MA type (1: SMA, 2: EMA, 3: HMA, 4: WMA, 5: VWMA).
Range Filter Settings:
Range Filter Length (length0): Period for range filtering.
Range Filter Multiplier (mult): Multiplier for range variance.
Take Profit (TP) Settings:
TP Long (tp_long0): Percentage for long TP.
TP Short (tp_short0): Percentage for short TP.
Scalping Settings:
Scalping Activation (ACT_SCLP): Enable or disable scalping.
Scalping Length (HiLoLen): Period for scalping indicators.
Fast EMA Length (fastEMAlength): Period for fast EMA in scalping.
Medium EMA Length (mediumEMAlength): Period for medium EMA in scalping.
Slow EMA Length (slowEMAlength): Period for slow EMA in scalping.
Filter (filterBW): Enable or disable additional fractal filtering.
Pullback Lookback (Lookback): Number of bars for pullback consideration.
Use Heikin-Ashi Candles (UseHAcandles): Option to use Heikin-Ashi candles for smoother trend analysis.
Strategy Logic
Indicator Calculations:
Volume and Source Selection: Determines the primary data source based on user input, ensuring flexibility and adaptability.
ADX Calculation: Computes ADX using either the Classic or Masanakamura method to assess trend strength.
RSI Calculation: Evaluates market momentum using RSI, further smoothed with custom periods.
Trend Strength Assessment: Utilizes trend channel and average lengths to gauge the robustness of current trends.
Jurik Moving Average (JMA): Smooths price data to reduce lag and enhance trend detection.
Parabolic SAR: Identifies potential trend reversals with adjustable parameters for sensitivity.
Momentum Analysis: Combines RSI with DEMA and OBV-based conditions to confirm bullish or bearish momentum.
Moving Averages: Employs multiple MA types to determine trend direction and speed.
Range Filtering: Filters out low-volatility periods to focus on high-probability trades.
Trade Conditions:
Long Entry Conditions:
ADX Confirmation: ADX must be above the threshold, indicating a strong uptrend.
RSI and Momentum: RSI below 70 and positive momentum signals.
JMA and SAR: JMA indicates an uptrend, and Parabolic SAR is below the price.
Trend Indicator: Confirms the current trend direction.
Range Filter: Ensures market is in an upward range.
Scalping Option: If enabled, additional scalping conditions must be met.
Short Entry Conditions:
ADX Confirmation: ADX must be above the threshold, indicating a strong downtrend.
RSI and Momentum: RSI above 30 and negative momentum signals.
JMA and SAR: JMA indicates a downtrend, and Parabolic SAR is above the price.
Trend Indicator: Confirms the current trend direction.
Range Filter: Ensures market is in a downward range.
Scalping Option: If enabled, additional scalping conditions must be met.
Position Management:
Entry Execution: Places long or short orders based on the identified conditions and user-selected position types (Longs, Shorts, or Both).
Take Profit (TP): Automatically sets TP levels based on predefined percentages, adjusting dynamically with consecutive trades.
Re-Entry Mechanism: Allows for automatic re-entry upon TP hit, maintaining active trading positions.
Exit Conditions: Closes positions when TP levels are reached or when opposing trend signals are detected.
Visual Indicators:
Bar Coloring: Highlights bars in green for bullish conditions, red for bearish, and orange for neutral.
Plotting Price Levels: Marks significant price levels related to TP and trade entries with cross symbols.
Signal Shapes: Displays triangle and flag shapes on the chart to indicate trade entries and TP hits.
Alerts:
Custom Alerts: Configured to notify traders of long entries, short entries, and TP hits, enabling timely trade management and execution.
Usage Instructions
Setup:
Apply the Strategy: Add the script to your TradingView chart set to BTCUSDT with a 65-minute timeframe.
Configure Inputs: Adjust the input parameters under their respective groups (e.g., Source Settings, ADX, RSI, Trend Strength, etc.) to match your trading preferences and risk tolerance.
Position Selection:
Choose Position Type: Use the Position input to select Longs, Shorts, or Both based on your market outlook.
Execution: The strategy will automatically execute and manage positions according to the selected type, ensuring targeted trading actions.
Signal Interpretation:
Buy Signals: Blue triangles below the bars indicate potential long entry points.
Sell Signals: Red triangles above the bars indicate potential short entry points.
Take Profit Signals: Flags above or below the bars signify TP hits for long and short positions, respectively.
Bar Colors: Green bars suggest bullish conditions, red bars indicate bearish conditions, and orange bars represent neutral or consolidating markets.
Risk Management:
Default Position Size: Set to 100% of equity. Adjust the default_qty_value as needed for your risk management strategy.
Commission: Accounts for a 0.1% commission per trade. Adjust the commission_value to match your broker's fees.
Pyramiding: Allows up to one additional position per direction to enhance gains during strong trends.
Backtesting and Optimization:
Historical Testing: Utilize TradingView's backtesting features to evaluate the strategy's performance over historical data.
Parameter Tuning: Optimize input parameters to align the strategy with current market dynamics and personal trading objectives.
Alerts Configuration:
Set Up Alerts: Enable and configure alerts based on the predefined alertcondition statements to receive real-time notifications of trade signals and TP hits.
Additional Features
Comprehensive Indicator Integration: Combines multiple technical indicators to provide a holistic view of market conditions, enhancing trade signal accuracy.
Scalping Options: Offers an optional scalping mechanism to capitalize on short-term price movements, increasing trading flexibility.
Dynamic Take Profit Levels: Adjusts TP targets based on the number of consecutive trades, maximizing profit potential during favorable trends.
Advanced Volume Analysis: Utilizes various volume indicators to confirm trend strength and validate trade signals.
Customizable Range Filtering: Filters trades based on market volatility, ensuring trades are taken during optimal conditions.
Heikin-Ashi Candle Support: Optionally uses Heikin-Ashi candles for smoother price action analysis and reduced noise.
====Recommendations====
Thorough Backtesting:
Historical Performance: Before deploying the strategy in a live trading environment, perform comprehensive backtesting to understand its performance under various market conditions. These are the premium settings for Avalanche Coinbase.
Optimization: Regularly review and adjust input parameters to ensure the strategy remains effective amidst changing market volatility and trends. Backtest the strategy for each crypto and make sure you are in the right brokage when using the volume sources as it will affect the overall outcome of the trading strategy.
Risk Management:
Position Sizing: Adjust the default_qty_value to align with your risk tolerance and account size.
Stop-Loss Implementation: Although the strategy includes TP levels, they're also consided to be a stop-loss mechanisms to protect against adverse market movements.
Commission Adjustment: Ensure the commission_value accurately reflects your broker's fees to maintain realistic backtesting results. Generally, 0.1~0.3% are most of the average broker's comission fees.
Slipage: The slip comssion is 1 Tick, since the strategy is adjusted to only enter/exit on bar close where most positions are available.
Continuous Monitoring:
Strategy Performance: Regularly monitor the strategy's performance to ensure it operates as expected and make adjustments as needed. A max-drawndown hit has been added to operate in case the premium Avalanche settings go wrong, but you can turn it off an adjust the equity percentage to 50% if you are confortable with the high volatile max-drown or even 100% if your account allows you to borrow cash.
Customization:
Indicator Parameters: Tailor indicator settings (e.g., ADX length, RSI period, MA types) to better fit your specific trading style and market conditions.
Scalping Options: Enable or disable scalping based on your trading preferences and risk appetite.
Conclusion
Gabriel's Witcher Strategy is a robust and versatile trading solution designed to navigate the complexities of the Crypto market. By integrating a wide array of technical indicators and providing extensive customization options, this strategy empowers traders to execute informed and strategic trades. Its comprehensive approach, combining trend analysis, momentum detection, volume evaluation, and range filtering, ensures that trades are taken during optimal market conditions. Additionally, the inclusion of scalping features and dynamic take-profit management enhances the strategy's adaptability and profitability potential. Unlike any trading strategy, with both diligent testing and continuous monitoring under the strategy tester, it's possible to achieve sustained success by adjusting the settings to the individual Crypto that need it, for example this one is preset for Avalanche Coinbase 65 Miinutes but it can be adjust for BTCUSD or Etherium if you backtest and search for the right settings.