RSI Divergence_v1This indicator detects RSI Divergences (both regular and reverse) to identify potential reversals and trend continuations. It integrates ADX & DI for trend strength confirmation, MACD from the weekly timeframe for momentum validation, and ATR-based stop loss levels for risk management.
Have back tested with Nifty50 with Positive returns and Drawdown %. TIA.
Osilatörler
ترکیب اندیکاتورها برای سیگنالهای پیشرفته//@version=5
indicator("ترکیب اندیکاتورها برای سیگنالهای پیشرفته", overlay=true)
// تنظیمات پارامترهای اندیکاتورها
fast_length = input.int(9, title="طول دوره MA سریع")
slow_length = input.int(21, title="طول دوره MA کند")
rsi_length = input.int(14, title="طول دوره RSI")
macd_fast_length = input.int(12, title="طول دوره MACD سریع")
macd_slow_length = input.int(26, title="طول دوره MACD کند")
macd_signal_length = input.int(9, title="طول دوره سیگنال MACD")
// محاسبه میانگینهای متحرک
fast_ma = ta.sma(close, fast_length)
slow_ma = ta.sma(close, slow_length)
// محاسبه RSI
rsi = ta.rsi(close, rsi_length)
// محاسبه MACD
= ta.macd(close, macd_fast_length, macd_slow_length, macd_signal_length)
// شرایط برای سیگنالها
buy_condition = (ta.crossover(fast_ma, slow_ma)) and (rsi < 30) and (macd_line > signal_line)
sell_condition = (ta.crossunder(fast_ma, slow_ma)) and (rsi > 70) and (macd_line < signal_line)
// نمایش سیگنالها روی نمودار
plotshape(series=buy_condition, title="سیگنال خرید", location=location.belowbar, color=color.green, style=shape.labelup, text="خرید")
plotshape(series=sell_condition, title="سیگنال فروش", location=location.abovebar, color=color.red, style=shape.labeldown, text="فروش")
// هشدارها برای سیگنالها
alertcondition(buy_condition, title="سیگنال خرید", message="سیگنال خرید ایجاد شد!")
alertcondition(sell_condition, title="سیگنال فروش", message="سیگنال فروش ایجاد شد!")
Double RSIthis double rsi is very easy to read. the zero line determines whether trend is bearish or bullish. look for cross up at the zero line and vice versa
Options Trading Buy/Sell SignalsI've started the Pine Script for generating buy and sell signals for options trading using three key indicators (Moving Average Crossover, RSI, and MACD Histogram). You can view and edit it in the canvas. Let me know if you need any specific tweaks!
Naveen %R (140) ScreenerNaveen %R (140) Screener
Description: The "Naveen %R (140) Screener" is a custom-built Pine Script indicator designed to identify oversold and overbought conditions in the cryptocurrency market. Tailored for traders who focus on altcoins, this indicator provides a sophisticated approach to market analysis using the Williams %R formula, adapted with a longer period of 140 to capture more extensive market cycles.
Features:
Longer Lookback Period: Utilizes a 140-period high and low to calculate the Williams %R, providing a broader view of market sentiment and potential reversals.
Oversold and Overbought Signals: Clearly marks oversold conditions when the indicator value falls below -95, and overbought conditions when it rises above -5.
Customizable Alerts: Traders can set alerts for oversold and overbought signals, enabling timely decisions based on specific trading strategies.
Visual Tools: Includes blue lines to display the Williams %R values, with red and green horizontal lines marking overbought and oversold thresholds, respectively.
Screener Compatibility: Optimized for use in TradingView’s cryptocurrency screener, allowing traders to filter and identify potential trading opportunities across multiple altcoins based on the indicator’s signals.
Use Case: Ideal for traders looking for a reliable technical tool to gauge extreme conditions in the altcoin markets. Whether you are a day trader aiming for quick turnovers or a long-term investor looking for entry and exit points, the Naveen %R (140) Screener helps you navigate the volatility with more confidence.
How to Use:
Apply the indicator to any cryptocurrency chart within TradingView.
Configure alerts to be notified when oversold or overbought conditions are met.
Use the output of this script to filter altcoins in the TradingView screener, helping you focus your analysis on coins that meet specific criteria set by the indicator.
Perfect for both new and experienced traders, the "Naveen %R (140) Screener" is a must-have tool in your trading arsenal to enhance your decision-making process and refine your trading strategies.
Stochastic and RSI DZStoch and RSI combined. I use it on timeframe 15M.
Parameters can be edited as needed.
For example on Stoch I use : K Lenght = 21, K Smoothing = 5, and D Smoothing 5
On RSI - Smoothing Lenght = 20
Rsi & Ema Optimization Buy-Sell Signal Cuneyt UgurThis indicator is a beta version indicator that aims to generate trading signals by optimizing the RSI (Relative Strength Index) and EMA (Exponential Moving Average) indicators.
Short and long exponential moving averages catch the breaks by following the trends of the bottom and top values of price movements in a certain period, cleared of contradictions. In addition, for RSI, it optimizes the bottom and top points of the RSI and creates buy and sell signals where there are parallels with the price breakdowns.
Recommendation for use: It is recommended to use it for at least 1 hour.d: At least 1 hour.
Ultimator's RSI Smoother 3.0This indicator uses two RSI timeframes that are smoothed out by applying a SMA to the RSI lines. It's goal is to pinpoint optimal bottoms and tops on a general basis for all timeframes by marking them on the smoothed RSI lines as different colored dots for visual effect.
When the conditions are met at a low RSI for both lines, it creates a dot on the upper line to indicate a possible bottom.
When the conditions are met at high RSI for both lines, it creates a dot on the lower line to indicate a possible top.
This indicator is meant for any timeframe, and the RSI lengths as well as smoothing lengths are opened as user inputs to allows users to fine tune the conditions to their needs.
Quad Rotation Stochastic (Offset Panels)Based on Day Trading Radio (DTR) concept for Quad Rotation of 4 stochastics
Dynamic Timeframe Trend AnalyzerThe Dynamic Timeframe Trend Analyzer is an advanced trading indicator designed to dynamically adjust key trading metrics based on the selected timeframe. It identifies market regimes, trends, and mean reversion conditions, making it a powerful tool for traders looking to adapt to changing market dynamics.
🔍 Key Features
✅ Timeframe-Aware Calculations – Automatically scales indicators (ADX, EMA, RSI, ATR) based on the selected timeframe for improved adaptability.
✅ Market Regime Detection – Classifies the market as Strong Uptrend, Strong Downtrend, Choppy, or Mean Reversion based on ADX, DI, RSI, and volatility factors.
✅ Mean Reversion Signals – Detects extreme price deviations and RSI extremes, indicating potential reversal zones.
✅ Dynamic Stop Loss & Take Profit – Adapts SL/TP levels based on volatility, trend strength, and regime conditions.
✅ Visual Signals & Alerts – Provides buy/sell signals with color-coded background changes, persistence settings, and alerts for key trading opportunities.
✅ Status Table Display – A real-time dashboard showing the current trend, ADX strength, RSI levels, volatility, and market conditions.
📈 How It Works
Uses ADX and DI to determine trend strength and classify the market.
EMA Alignment helps identify strong or weak trends.
Volatility Adjustments dynamically modify stop-loss and take-profit levels.
Mean Reversion Detection finds extreme price deviations for potential reversals.
Custom Alerts notify traders about trend changes, buy/sell opportunities, and stop loss hits.
🛠️ How to Use
Apply the indicator to your chart.
Choose your preferred timeframe – the script automatically adjusts indicator settings for optimal performance.
Watch for trend changes and reversal signals to refine your entries and exits.
Use the status table for real-time insights into the current market regime.
🚀 Perfect for traders who want a dynamic and intelligent trend-following system with built-in risk management!
Williams %RIndicator Name:
Williams %R
Disclaimer
Various factors can affect changes in the value of financial assets. These include, but are not limited to, geopolitical issues, industry policies, and technological developments within the industry. Other influencing elements include expectations of interest rates, inflation or deflation, unemployment rates, company development strategies, company revenues and liabilities, investor sentiment, and preferences for investor trading strategies. These factors may pose a risk of loss to investors' investment costs. Moreover, the past performance of individual trades does not guarantee future results or returns. Therefore, no a single idea, algorithm, script, indicator, or system content can account for all factors influencing financial asset value fluctuations. Investors are fully responsible for any investment decisions they make, and such decisions should be based entirely on an assessment of their financial situation, investment goals, risk tolerance, and liquidity needs.
The content provided in my ideas, algorithms, scripts, indicators, and systems is intended solely to demonstrate changes in the value of financial assets for educational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. The provider will not accept liability for any loss or damage, including, without limitation, any loss of investment costs, which may arise directly or indirectly from the use of or reliance on such information.
About Coffee
I would be delighted if my ideas, algorithms, scripts, indicators, and code can assist or inspire your pricing model. Should you feel inclined to buy me a cup of coffee, please feel free to contact me on TradingView. I am also more than willing to share my proprietary code indicators with you, along with practical usage tips for the related indicators.
CRYPTOCAP:ETH | CRYPTOCAP:USDT | CRYPTOCAP:USDC
0xE1b33484211595Ba4Dd9d6fEa52D64e873AfDe12
CRYPTOCAP:SOL | CRYPTOCAP:USDT | CRYPTOCAP:USDC
H8P3o2mqsb4u1R3TZa9PXKg5e5weyQFHVFMfZUPjheYE
CRYPTOCAP:USDT | CRYPTOCAP:USDC
TKQQNAZqBLQQMBSE98kEQdg6wRRqykNveh
CRYPTOCAP:BTC
bc1pkylhtk7srdqk6cyk7vfggzkkv8898drnmjpnvv69mp99uswh6rlstq63vr
Introduction to Indicator
Non-negative and negative values of the Williams %R indicator model.
Applicable to all time intervals.
Indicator effect display
S&P 500 Index ( SP:SPX )
S&P 500 Index ( SP:SPX )
Tesla, Inc. ( NASDAQ:TSLA )
Tesla, Inc. ( NASDAQ:TSLA )
Bitcoin / U.S. Dollar ( BITSTAMP:BTCUSD )
Bitcoin / U.S. Dollar ( BITSTAMP:BTCUSD )
KDJ Stochastic of MA ModelIndicator Name:
KDJ Stochastic of MA Model
Disclaimer
Various factors can affect changes in the value of financial assets. These include, but are not limited to, geopolitical issues, industry policies, and technological developments within the industry. Other influencing elements include expectations of interest rates, inflation or deflation, unemployment rates, company development strategies, company revenues and liabilities, investor sentiment, and preferences for investor trading strategies. These factors may pose a risk of loss to investors' investment costs. Moreover, the past performance of individual trades does not guarantee future results or returns. Therefore, no a single idea, algorithm, script, indicator, or system content can account for all factors influencing financial asset value fluctuations. Investors are fully responsible for any investment decisions they make, and such decisions should be based entirely on an assessment of their financial situation, investment goals, risk tolerance, and liquidity needs.
The content provided in my ideas, algorithms, scripts, indicators, and systems is intended solely to demonstrate changes in the value of financial assets for educational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. The provider will not accept liability for any loss or damage, including, without limitation, any loss of investment costs, which may arise directly or indirectly from the use of or reliance on such information.
About Coffee
I would be delighted if my ideas, algorithms, scripts, indicators, and code can assist or inspire your pricing model. Should you feel inclined to buy me a cup of coffee, please feel free to contact me on TradingView. I am also more than willing to share my proprietary code indicators with you, along with practical usage tips for the related indicators.
CRYPTOCAP:ETH | CRYPTOCAP:USDT | CRYPTOCAP:USDC
0xE1b33484211595Ba4Dd9d6fEa52D64e873AfDe12
CRYPTOCAP:SOL | CRYPTOCAP:USDT | CRYPTOCAP:USDC
H8P3o2mqsb4u1R3TZa9PXKg5e5weyQFHVFMfZUPjheYE
CRYPTOCAP:USDT | CRYPTOCAP:USDC
TKQQNAZqBLQQMBSE98kEQdg6wRRqykNveh
CRYPTOCAP:BTC
bc1pkylhtk7srdqk6cyk7vfggzkkv8898drnmjpnvv69mp99uswh6rlstq63vr
Introduction to Indicator
KDJ stochastic values generated by various from 7 types of moving averages (WSMA, SMA, EMA, RMA, HMA, WMA, VWMA) pricing models of the same cycles.
Applicable to all time intervals.
Indicator effect display
S&P 500 Index ( SP:SPX )
S&P 500 Index ( SP:SPX )
Tesla, Inc. ( NASDAQ:TSLA )
Tesla, Inc. ( NASDAQ:TSLA )
Bitcoin / U.S. Dollar ( BITSTAMP:BTCUSD )
Bitcoin / U.S. Dollar ( BITSTAMP:BTCUSD )
UT Bot Combined (Corrected)its a custom ut bot, It is custom made for indian stock market, it predicts much better than the standard one
ADX - Colored//using the simplest version of ADX to identify trending zone marked as blue and dull period marked or colored as black
Crypto 40 PulseCrypto 40 Pulse – Indicator Overview
The Crypto 40 Pulse is a market-tracking indicator designed to measure how many of up to 40 selected assets (initially the top 40 cryptocurrencies by market cap at the time of creation) are currently trading above a chosen Moving Average (MA). By default, it monitors popular crypto pairs, but you can customize it to track stocks, forex pairs, or any other assets you prefer.
How It Works
Symbol Selection & Customization
The indicator provides 40 slots, each representing a different asset.
You can enable or disable each symbol using checkboxes—disabled symbols are excluded from the calculation.
Moving Average Options
You can choose between SMA, EMA, WMA, or SMMA in the settings.
By default, the indicator uses a 200-period EMA, a widely used metric for identifying long-term trends.
Oscillator Logic
The script checks whether the closing price of each active symbol is above the selected Moving Average.
Every asset that meets this condition contributes +1 to the total count (countAbove).
This count is then displayed as an oscillator, ranging from 0 to the number of enabled assets.
Dynamic Overbought & Oversold Levels
The overbought threshold is set at 80% of enabled symbols, while the oversold threshold is at 20%.
A midline (50%) helps visualize the balance between bullish and bearish sentiment.
These levels adjust automatically based on the number of symbols enabled.
Who Can Use It?
While the indicator is preloaded with top 40 crypto assets, you can replace these with stocks, indices, forex pairs, or any other market symbols.
The time frame aligns with your chart—on a daily chart, for example, it evaluates each asset’s daily closing price against the selected MA.
Additional Notes
Free & Open-Source: You can use, study, and modify this script for non-commercial purposes.
Attribution: If you modify and share an updated version, please credit the original creator @PROTON_24
TradingView Limitations: Due to script constraints, only 40 symbols can be tracked at a time using request.security().
Final Thoughts
The Crypto 40 Pulse is a powerful tool for monitoring multi-asset market momentum. Customize it to fit your strategy and gain deeper insights into broader market trends!
Ragi's Divergence HelperThis is Ragi's Divergence Helper is a TradingView indicator designed to track bullish and bearish divergences across multiple timeframes. It provides a clear, structured dashboard that remains fixed in a chosen corner of the chart for easy visibility.
Recommendations:
Put dashboard on lower left corner is less obstructive.
Use along with any RSI indicator for confirmations of bullish and bearish divergences.
Key Features:
✅ Timeframe Coverage: Monitors 5m, 10m, 15m, 30m, 1H, 2H, 4H, and Daily timeframes.
✅ Divergence Detection: Identifies whether a bullish (green) or bearish (red) divergence is present on each timeframe, displaying "None" if no divergence is detected.
✅ Divergence Lineup: Summarizes the overall market direction by checking if multiple timeframes align bullish or bearish.
✅ Customizable Settings: Users can adjust colors, panel position (Top Right, Bottom Right, Bottom Left, Top Left), and background color for better chart integration.
✅ Fixed & Readable Panel: Ensures the information is always visible without interfering with price action analysis.
How to Use It:
If multiple timeframes show bullish divergences, it may indicate a potential trend reversal or continuation to the upside.
If multiple timeframes show bearish divergences, it may signal a possible price drop or reversal downward.
When no divergences are present, it suggests no immediate divergence-based trading opportunity.
This indicator is ideal for traders looking for quick divergence insights across different timeframes without needing to analyze multiple indicators manually. 🚀
Short vs Long MA Crossover Alerts• This indicator spot potential reversal of the market while identifying Accumulation/Distribution zones.
• It is compatible with any instrument and timeframe; parameters should be adapted at will. Each levels can act like support and resistance.
• The blue dots appear when the oscillator is piercing the +200 overbought level of the -200 oversold level.
• Matrix series technical indicators are mathematical calculations applied to stock market data to provide insights and signals for investors. These
indicators analyze historical price and volume data to identify patterns, trends, and potential trading opportunities. They are based on the principle
that past price behavior can help predict future price movements.
• Matrix series indicators utilize various mathematical formulas and statistical techniques to generate signals. They can be broadly categorized into
trend-following indicators, oscillators, and volatility indicators.
• Trend-following indicators, such as moving averages, assess the direction and strength of a stock's trend. They help investors identify if a stock is in
an uptrend, downtrend, or sideways consolidation phase.
• Oscillators, such as the relative strength index (RSI) or stochastic oscillator, measure the momentum and overbought/oversold conditions of a stock.
These indicators indicate whether a stock is overbought (potentially due for a downward correction) or oversold (possibly poised for an upward
bounce).
• Volatility indicators, such as Bollinger Bands or Average True Range (ATR), measure the volatility or price range of a stock. They provide insights into
potential breakouts or trend reversals based on changes in volatility levels.
• Overall, matrix series technical indicators assist investors in making informed decisions by providing visual representations or numerical values that can help identify potential entry or exit points in the stock market.
MACD/RSI/EMA D1/H4/H1This script is a custom indicator written in Pine Script, designed for use on TradingView. It combines multiple technical analysis tools to analyze market conditions across three different timeframes: daily (D1), 4-hour (H4), and 1-hour (H1). The indicator focuses on three main technical indicators: MACD, RSI, and EMA.
Key Functions:
1. MACD (Moving Average Convergence Divergence):
• The script calculates the MACD line and its signal line. It detects whether the MACD is moving upwards (bullish) or downwards (bearish) by comparing the current and previous values.
2. RSI (Relative Strength Index):
• RSI is calculated for each timeframe, and it indicates whether the market is overbought (>50, bullish) or oversold (<50, bearish).
3. EMA (Exponential Moving Average):
• The script calculates the 20, 50, and 200-period EMAs. It checks whether the short-term EMA (20) is above the medium (50) and long-term EMA (200), which would signal a bullish market. The opposite would signal a bearish market.
Timeframes:
• The indicator calculates values for D1, H4, and H1 timeframes.
Logic for Strong and Weak Signals:
• Strong Buy: All timeframes (D1, H4, H1) show a bullish trend (MACD > 0, RSI > 50, and bullish EMA conditions).
• Weak Buy: Either D1 or H4 or H1 shows a bullish trend (but not all).
• Strong Sell: All timeframes show a bearish trend.
• Weak Sell: Either D1 or H4 or H1 shows a bearish trend.
• Wait: No clear signal is present.
Table:
The results of the analysis are presented in a table at the bottom right of the TradingView chart, showing:
• MACD direction (with arrows indicating whether the MACD is bullish or bearish).
• RSI values (with arrows showing whether it’s above or below 50).
• EMA state (with arrows showing whether the market is in a bullish, bearish, or neutral state).
• Signal: The overall recommendation (strong/weak buy/sell or wait), along with the corresponding color.
This script helps traders to quickly visualize the trend strength across multiple timeframes and make more informed trading decisions based on a combination of MACD, RSI, and EMA signals.
HTF Traffic Light Indicator 3/10 OscillatorThe Traffic Light 3/10 Indicator is based on the 3/10 Oscillator and allows trend evaluation across two freely selectable higher timeframes. The traffic light signaling is determined by individually defined rules for different states of the oscillator.
The color of the EMA (Exponential Moving Average) acts as a traffic light.
Currently, there is still a small bug:
The color of the EMA does not update correctly when a new candle forms. The correct color is only displayed after manually reloading the window. If anyone from the community finds a solution for this, a fix would be highly appreciated! Maybe this function could help with the solution: Higher-timeframe requests
RSI Squared (Cutlers - Cutlers)Cutler's RSI calculation based on Cutler's RSI derived from price.
Credits to TanHef for the original script for the Cutler's RSI, which is used in this script to generate the final RSI calculation.
RSI Squared (Cutlers - Normal)Regular RSI calculation based on Cutler's RSI derived from price.
Credits to @TanHef for the original script for the Cutler's RSI, which is used in this script to generate the final RSI calculation.
+ Stochastic S/R ZonesHey, all. I have a new indicator here that displays zones on your price chart where the stochastic oscillator has moved out of overbought or oversold back into the range of the indicator that is bounded by those two levels.
I know there are many support and resistance indicators on TradingView already, at least a couple of which use the RSI in a similar way as I am using the stochastic here, but I still believe this is a fairly novel interpretation of the stochastic, and it is, in my opinion, a better oscillator than the RSI to be used in this way.
In addition to the zones being plotted on the chart, the indicator also, optionally, can color candles or plot shapes above candles when the 50 line is crossed, so if you want to use this as a simple momentum indicator without desire of having the below chart indicator taking up screen space, you're pretty much covered on the typical signals you might want from it (with the exception of %K / %D crosses, but there are alerts for that).
Visually, it is a simple, clean indicator. There are the zones, and then candle colors or shapes if you opt to add those. These zones are actually drawn from the candle preceding the cross over or cross under. Reason for that is often times the candle of the cross is fairly impulsive and exiting a consolidation. That period of consolidation is what is important to highlight, at least as far as I am concerned. The zones themselves extend until they are broken by a candle. A support zone stops at the candle that closes below its low. Vice versa for a resistance zone.
Usage is fairly simple. All the standard stochastic inputs are available for you to adjust to your heart's content. Additionally, you can choose either the %K or %D line to use as the source from which the zones are drawn, candles are colored, and shapes are plotted. Not sure if this will matter to most people, but I figured it should be made available.
This should be obvious, but I feel it must be said, just because an oscillator (any oscillator) has exited overbought or oversold does not mean that there must be a reversal (or in the case of a trend pullback, continuation). The oscillator can always simply immediately move back into overbought/sold. Just because a support box prints does not mean you should mortgage your house on a long trade. In strong trends, and depending on your oscillator settings, the indicator might draw a box then only a couple of candles later break it, continuing on with the trend. This of course is telling you something, and you would be wise to listen. As with all things trading, context is important.
Here are a few extra screens for you.
I really hope you all like this. It's been ages since I've created anything new, and despite its simplicity and the few lines of code that make it up, it took a lot of work, as I am a poor coder.
Enjoy,
Scott
Astro: Moon SizeThe Astro: Moon Size indicator, built using AstroLib , calculates the distance and visualizes the apparent size of the Moon based on astronomical positioning. This script is tailored for the 1D timeframe and provides insights into lunar perigees (closest approach) and apogees (farthest distance), making it useful for astrologically-informed trading strategies.
New Astro Indicators Feature:
By setting the Julian Date to X number of days in the future, and offsetting the plot by X number of bars accordingly, it is now possible to visualize future projections of TradingView indicators that reference the AstroLib . This feature has been long requested and is far overdue, so thank you to everyone who pushed for this feature release. Enjoy, time travelers from the future!!
Key Features:
Moon Size Calculation: Uses Julian Date (J2000) conversion and AstroLib functions to determine the Moon's apparent distance.
Future Projection: Displays the Moon's distance from 28 up to 500 days ahead, with color gradients indicating proximity/size.
Pivot Identification: Marks local maxima (apogees) and minima (perigees) with labeled date stamps for easy reference.
Dynamic Labeling: Adapts label positioning and size based on the Moon's current trend and relative size.
Usage Notes:
⚠️ Timeframe Restriction: For now, the script only functions on the 1D timeframe and will prompt an error otherwise.
⚠️ Asset Restriction: This script is meant to be loaded on charts for assets that trade 24/7, like BTCUSD historical index.