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.
متذبذبات
+ 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
RSI Trend Bias█ OVERVIEW
The RSI Trend Bias indicator is a custom technical analysis tool that utilizes the Relative Strength Index (RSI) to gauge market momentum and identify potential trend shifts. By monitoring RSI crossovers and crossunders relative to customizable threshold levels, the indicator provides clear visual cues that distinguish between bullish and bearish market conditions. This flexible approach makes it suitable for both short-term scalping and longer-term trend analysis.
█ KEY FEATURES
Dynamic RSI Trend Detection
The indicator dynamically determines market bias by monitoring the RSI for crossovers above the upper threshold and crossunders below the lower threshold. This method ensures that only significant momentum shifts trigger a change in trend, reducing false signals in volatile markets.
Adaptive Visualizations
The RSI Trend Bias indicator enhances clarity by plotting the RSI with colors that reflect current market conditions. Additionally, it offers an optional background color change to further emphasize bullish or bearish states, providing immediate visual feedback to traders.
Clear Threshold Indicators
Upper and lower threshold levels are plotted as constant reference lines, clearly delineating overbought and oversold regions. These markers help traders quickly assess market conditions at a glance.
Customizable Settings
Users have full control over key parameters including the RSI length, threshold levels, and visual settings. This customization allows the indicator to be tailored for different markets and trading styles, ensuring optimal performance across various timeframes.
█ UNDERLYING METHODOLOGY & CALCULATIONS
RSI Calculation
The indicator computes the Relative Strength Index over a user-defined period (default is 14), providing a measure of market momentum that reflects price changes over time.
Trend Determination Logic
By detecting when the RSI crosses above the upper threshold, the indicator signals a shift towards bullish momentum. Conversely, a crossunder below the lower threshold indicates bearish conditions. This straightforward binary approach filters out minor fluctuations, ensuring clarity in trend analysis.
Visual Signal Integration
Based on the detected trend, the RSI line is dynamically colored—green for bullish conditions and red for bearish conditions. An optional background color change further reinforces these signals, offering an immediate visual cue of prevailing market sentiment.
█ HOW TO USE THE INDICATOR
1 — Apply the Indicator
• Add the RSI Trend Bias indicator to a separate pane in your trading platform.
2 — Adjust Settings for Your Market
• RSI Length – Define the period for RSI calculation (default is 14).
• Threshold Levels – Set the upper (default 70) and lower (default 30) thresholds to identify overbought and oversold conditions.
• Visual Customization – Choose the bullish (green) and bearish (red) colors, and enable background color changes to enhance visual trend recognition.
3 — Interpret the Signals
• RSI Line – Observe the dynamically colored RSI line; a shift to green signals bullish momentum, while red indicates bearish conditions.
• Threshold Levels – Use the constant upper and lower lines as reference points for overbought and oversold states.
• Signal Timing – A crossover above the upper threshold or a crossunder below the lower threshold suggests potential entry or exit points.
4 — Integrate with Your Trading Strategy
• Combine RSI Trend Bias signals with other technical analysis tools to confirm market direction.
• Utilize the visual cues for fine-tuning your entry and exit decisions, ensuring robust risk management and optimized trade timing.
█ CONCLUSION
The RSI Trend Bias indicator offers a streamlined yet effective approach to monitoring market momentum. By leveraging the established principles of RSI analysis alongside dynamic visual cues, it enables traders to quickly identify bullish and bearish trends. Its customizable features and clear threshold indicators make it a valuable tool for enhancing technical analysis and making informed trading decisions.
Footprint Delta Candles + Real-Time VolumeKey Features:
Volume Delta Calculation 📊:
The indicator calculates the delta between the buying and selling volumes of each candlestick.
buyVolume is the volume if the closing price is higher than the opening price (📈)
sellVolume is the volume if the closing price is lower than the opening price (📉)
The difference between these two values (delta) is used to determine whether the candlestick is bullish or bearish.
Point of Control (POC) 📍:
POC is the price with the highest volume between the buy volume and sell volume in a given time period (length).
POC is represented by a blue line.
Candlestick Color 🌈:
Candlesticks are colored according to the delta value:
Green (📈) when delta > 0
Red (📉) when delta < 0
Volume Bars 📊:
Buy Volume Bar: The green bar indicates the buying volume, which is scaled according to the maximum volume in the length range.
Sell Volume Bar: The red bar indicates the selling volume, which is scaled accordingly.
Volume Indicator 🔊:
A small circle is displayed above or below the candle, depending on whether the volume is greater than the buy or sell volume. The size of the circle is small so as not to overwhelm the display.
Customization Options ⚙️:
Delta Length (length): Sets the number of candles used to calculate the delta and POC.
POC Line Visibility (showPOC): Toggles the display of the Point of Control (POC) line.
Volume Scale Factor (volScale): Controls the expansion of the volume bar.
Volume Transparency (volTransparency): Adjusts the transparency of the volume bar.
How it works 🔧:
The script tracks the trading volume for each candle and calculates the delta (the difference between the buy and sell volumes).
The Point of Control (POC) is calculated over a given period of time to show the most traded prices.
The color of the candlestick is determined by whether the delta value is positive (📈) or negative (📉).
The volume in each candlestick is represented by a bar that expands to the highest volume in the period, which is superimposed on the price chart.
The small circles help show whether the buy or sell volume is higher. To emphasize the analysis of market pressure
General usage 🛠️:
This indicator is suitable for traders who want to track the trading volume in real time 📅 and help to see how much buying or selling pressure there is ⚡ The Point of Control (POC) line shows the most traded price levels, which can be important support or resistance levels 🔑
Using this indicator allows for a more complete analysis of price movements, including both price movement (candlesticks) and trading volume analysis 💡
This indicator works on
#crypto #forex #gold and all assets.
Advanced RSI Divergence with Smoothing MAThis script combines RSI Divergence detection with a Smoothing Moving Average (MA) overlay on the RSI, offering traders a powerful tool to identify potential trend reversals and confirm signals. By smoothing the RSI line, the script reduces noise and provides clearer visualization of market conditions, making it easier to spot high-probability trading opportunities.
The script is designed to detect both Regular and Hidden Divergences, which are key indicators of potential trend reversals or continuations. Additionally, it includes a customizable MA overlay on the RSI line, along with optional Bollinger Bands for added volatility insights.
Key Features:
1. RSI Divergence Detection:
Identifies Regular Bullish and Bearish Divergences (potential trend reversals).
Detects Hidden Bullish and Bearish Divergences (potential trend continuations).
Plots clear labels and trendlines on the chart to highlight divergence signals.
2. Smoothing Moving Average (MA):
Adds a customizable MA overlay on the RSI line to smooth out noise and improve signal clarity.
Supports multiple MA types: SMA, EMA, SMMA (RMA), WMA, VWMA.
Optional Bollinger Bands around the MA for additional volatility insights.
3. Customizable Inputs:
Adjustable RSI period, source, and divergence lookback settings.
Configurable MA type, length, and Bollinger Bands settings.
4. Visual Enhancements:
Plots RSI with overbought/oversold levels (70/30).
Adds gradient fills for overbought and oversold regions for better visualization.
Displays the smoothing MA as a yellow line for easy identification.
5. Alerts:
Built-in alerts for Regular Bullish/Bearish Divergences and Hidden Bullish/Bearish Divergences.
Why This Script is Unique:
While RSI divergence detection is a common concept, this script stands out by combining it with a smoothing MA overlay and optional Bollinger Bands on the RSI line. This unique combination:
Reduces noise and false signals by smoothing the RSI line.
Provides additional confirmation of divergence signals through the MA overlay.
Offers flexibility with multiple MA types and customizable settings to adapt to different trading styles and market conditions.
The integration of Bollinger Bands around the MA further enhances the script by providing insights into RSI volatility, which is not commonly available in open-source RSI divergence scripts.
Why Closed-Source:
This script uses a proprietary combination of RSI divergence detection, smoothing MA overlays, and Bollinger Bands to create a unique and highly effective trading tool. The specific logic and calculations used to combine these elements are the result of extensive research and backtesting, and the source code is protected to maintain its competitive edge.
How to Use:
Apply the script to your chart and adjust the RSI and MA settings to suit your trading strategy.
Look for divergence signals (Regular or Hidden) confirmed by the smoothing MA.
Use the Bollinger Bands (if enabled) to gauge RSI volatility and filter out low-probability signals.
Set up alerts for divergence signals to stay informed of potential trading opportunities.
Triple StochasticIndicator to plot together 3 stochastics. The idea of this is to be able to identify entries looking at the 3 stochastics crossing between them or key levels.
Options Scalping IndicatorUsed RSI, Volume Surge Calculation, and EMA to scalp potential Binary Trades.
Cumulative Volume Delta and RSI with divergence signalVolume Delta & Cumulative Volume Delta (CVD)
Volume Delta: Calculates buy and sell volumes based on price movements. Plots these volumes as columns.
Cumulative Volume Delta: Uses lower timeframe data to calculate and plot cumulative volume delta (CVD) candles. Includes error-checking for missing volume data.
Volume Delta Table (Optional): Displays buy, sell, and cumulative volumes in a table.
RSI & Divergence
RSI Calculation: Computes the RSI based on price changes and plots it with upper, middle, and lower bands.
Smoothing MA (Optional): Adds various moving averages (SMA, EMA, etc.) and Bollinger Bands to the RSI plot.
Divergence Calculation (Optional): Identifies and plots bullish and bearish divergences based on RSI and price pivots. Sets alerts for these divergences.
RSI Table (Optional): Displays the current RSI value in a table.
Trend Detector [victhoreb]Trend Detector is a streamlined indicator that uses the Pearson correlation coefficient between the average price and time to determine market trends. It measures how closely price movement follows the progression of time over a user-defined period, providing a clear gauge of trend direction on a scale from -1 to 1.
How It Works:
The indicator calculates the correlation between price and time. A positive correlation means that as time advances, the price generally rises—signaling an uptrend. Conversely, a negative correlation indicates that the price tends to fall over time, highlighting a downtrend.
With its simple yet effective approach, Trend Detector offers traders an immediate visual and quantitative insight into prevailing market trends.
Crypto Fear & Greed Score [Underblock]Crypto Fear & Greed Score - Methodology & Functioning
Introduction
The Crypto Fear & Greed Score is a comprehensive indicator designed to assess market sentiment by detecting extreme conditions of panic (fear) and euphoria (greed). By combining multiple technical factors, it helps traders identify potential buying and selling opportunities based on the emotional state of the market.
This indicator is highly customizable, allowing users to adjust weight parameters for RSI, volatility, Bitcoin dominance, and trading volume, making it adaptable to different market conditions.
Key Components
The indicator consists of two primary sub-scores:
Fear Score (Panic) - Measures the intensity of fear in the market.
Greed Score (Euphoria) - Measures the level of overconfidence and excessive optimism.
The difference between these two values results in the Net Score, which indicates the dominant market sentiment at any given time.
1. Relative Strength Index (RSI)
The indicator utilizes multiple RSI timeframes to measure momentum and overbought/oversold conditions:
RSI 1D (Daily) - Captures medium-term sentiment shifts.
RSI 4H (4-hour) - Identifies short-term market movements.
RSI 1W (Weekly) - Helps detect long-term overbought/oversold conditions.
2. Volatility Analysis
High volatility is often associated with fear and panic-driven selling.
Low volatility in bullish markets may indicate complacency and overconfidence.
3. Bitcoin Dominance (BTC.D)
Bitcoin dominance provides insights into capital flow between Bitcoin and altcoins:
Rising BTC dominance suggests fear as investors move into BTC for safety.
Declining BTC dominance indicates increased risk appetite and potential market euphoria.
4. Buying and Selling Volume
The indicator analyzes both buying and selling volume, ensuring a clearer confirmation of market sentiment.
High buying volume in uptrends reinforces bullish momentum.
Spikes in selling volume indicate panic and possible market bottoms.
Calculation Methodology
The indicator allows users to adjust weight parameters for each component, making it adaptable to different trading strategies. The formulas are structured as follows:
Fear Score (Panic Calculation)
Fear Score = (1 - RSI_1D) * W_RSI1D + (1 - RSI_4H) * W_RSI4H + (1 - Dominance) * W_Dominance + Volatility * W_Volatility + Sell Volume * W_SellVolume
Greed Score (Euphoria Calculation)
Greed Score = RSI_1D * W_RSI1D + RSI_4H * W_RSI4H + Dominance * W_Dominance + (1 - Volatility) * W_Volatility + Buy Volume * W_BuyVolume
Net Fear & Greed Score
Net Score = (Greed Score - Fear Score) * 100
Interpretation:
Above 70: Extreme greed -> possible overbought conditions.
Below -70: Extreme fear -> potential buying opportunity.
Near 0: Neutral market sentiment.
Trend Reversal Detection
The indicator includes two moving averages for enhanced trend detection:
Short-term SMA (50-periods) - Reacts quicklier to changes in sentiment.
Long-term SMA (200-periods) - Captures broader trend reversals.
How Crossovers Work:
Short SMA crossing above Long SMA -> Potential bullish reversal.
Short SMA crossing below Long SMA -> Possible bearish trend shift.
Alerts for SMA crossovers help traders act on momentum shifts in real-time.
Customization and Visualization
The Net Score dynamically changes color: green for greed, red for fear.
Users can adjust weightings directly from settings, avoiding manual script modifications.
Reference levels at 70 and -70 provide clarity on extreme market conditions.
Conclusion
The Crypto Fear & Greed Score provides a powerful and objective measure of market sentiment, helping traders navigate extreme conditions effectively.
🟢 If the Net Score is below -70, panic may present a buying opportunity.
🔴 If the Net Score is above 70, excessive euphoria may indicate a selling opportunity.
⚖️ Neutral values suggest a balanced market sentiment.
By customizing weight parameters and utilizing trend reversal alerts, traders can gain a deeper insight into market psychology and make more informed trading decisions. 🚀
Volume + Buy/Sell Trend Signal1. การคำนวณ Volume Delta 📊:
สคริปต์จะคำนวณความแตกต่างระหว่างปริมาณการซื้อและการขายในแต่ละแท่งเทียน (delta) โดยการเปรียบเทียบราคาปิดและราคาเปิด:
ถ้าราคาปิดสูงกว่าราคาเปิด (ขาขึ้น) จะถือเป็นปริมาณการซื้อ
ถ้าราคาปิดต่ำกว่าราคาเปิด (ขาลง) จะถือเป็นปริมาณการขาย
2. สีของแท่งเทียน 🌈:
แท่งเทียนจะมีสีตามค่า delta:
สีเขียว (📈) เมื่อ delta > 0 (ขาขึ้น)
สีแดง (📉) เมื่อ delta < 0 (ขาลง)
3. การแสดง Volume Bar 📊:
แสดงแถบปริมาณการซื้อขาย (Volume Bar) บนกราฟที่มีขนาดปรับตามปริมาณสูงสุดในช่วง length
แถบ Volume จะแสดงเป็นสีเทา และมีความโปร่งใส (ตามค่าที่ตั้งไว้ใน volTransparency)
4. คำนวณค่า Moving Averages 📉:
SMA (Simple Moving Average) คำนวณจากราคาปิดในช่วง smaLength เพื่อช่วยกำหนดแนวโน้มโดยรวม
HMA (Hull Moving Average) คำนวณจากราคาปิดในช่วง hmaLength เพื่อให้ค่าเฉลี่ยที่ไวขึ้นและช่วยแยกแยะโซนต่างๆ
5. การกำหนด Demand & Supply Zones 🏙️:
Demand Zone: เมื่อราคาปิดมากกว่า HMA (สัญญาณขาขึ้น)
Supply Zone: เมื่อราคาปิดน้อยกว่า HMA (สัญญาณขาลง)
6. สัญญาณเทรนด์ 📉📈:
สัญญาณเทรนด์ (trendSignal) จะถูกกำหนดโดยการเปรียบเทียบราคาปิดกับ SMA:
ถ้าราคาปิดสูงกว่า SMA → สัญญาณ Buy
ถ้าราคาปิดต่ำกว่า SMA → สัญญาณ Sell
ถ้าราคาปิดใกล้ SMA → สัญญาณ Neutral
7. การแสดง Trend Signal 🟢🔴:
สัญญาณ Buy หรือ Sell จะแสดงทางด้านขวาของแท่งเทียนเฉพาะเมื่อมีการเกิดสัญญาณเหล่านี้ (ไม่แสดงเมื่อเป็น Neutral)
สัญญาณ Buy จะแสดงเป็นสีเขียว และ สัญญาณ Sell จะแสดงเป็นสีแดง
This indicator works on
#crypto #forex #gold and all assets.
Volume Delta & RSIVolume Delta & Cumulative Volume Delta (CVD)
Volume Delta: Calculates buy and sell volumes based on price movements. Plots these volumes as columns.
Cumulative Volume Delta: Uses lower timeframe data to calculate and plot cumulative volume delta (CVD) candles. Includes error-checking for missing volume data.
Volume Delta Table (Optional): Displays buy, sell, and cumulative volumes in a table.
RSI & Divergence
RSI Calculation: Computes the RSI based on price changes and plots it with upper, middle, and lower bands.
Smoothing MA (Optional): Adds various moving averages (SMA, EMA, etc.) and Bollinger Bands to the RSI plot.
Divergence Calculation (Optional): Identifies and plots bullish and bearish divergences based on RSI and price pivots. Sets alerts for these divergences.
RSI Table (Optional): Displays the current RSI value in a table.
Fibonacci Retracement with Color Fillการทำงานหลัก:
การคำนวณ Fibonacci Levels 📊:
คำนวณจุดสูงสุด (high_price) และจุดต่ำสุด (low_price) จาก 20 แท่งเทียนล่าสุด 📈.
ใช้ค่าที่ได้ในการคำนวณระดับ Fibonacci 5 ระดับ:
0% (จุดต่ำสุด) 🏁
23.6% 🌱
38.2% 🌊
61.8% 🍊
100% (จุดสูงสุด) 🔝
การเติมสี 🎨:
ใช้การเติมสีระหว่างระดับ Fibonacci แต่ละระดับเพื่อช่วยให้การมองเห็นกราฟชัดเจนขึ้น 🧐. โดยจะมีสีที่แตกต่างกันตามแต่ละช่วง:
0% ถึง 23.6%: สีเขียว 🍃
23.6% ถึง 38.2%: สีน้ำเงิน 🌊
38.2% ถึง 61.8%: สีส้ม 🍊
61.8% ถึง 100%: สีแดง 🔴
การแสดงผล Fibonacci Levels 📏:
แสดงค่าของระดับ Fibonacci แต่ละระดับ (เช่น 0%, 23.6%, 38.2%, 61.8%, 100%) บนกราฟด้วย Labels ที่มีสีแตกต่างกันไปตามระดับ Fibonacci 🔠 เพื่อให้ผู้ใช้สามารถเห็นได้ชัดเจน.
โค้ดส่วนสำคัญ:
คำนวณระดับ Fibonacci โดยการใช้ฟังก์ชัน ta.highest และ ta.lowest เพื่อหาจุดสูงสุดและต่ำสุดของ 20 แท่งเทียนที่ผ่านมา 🔎.
ใช้ plot ในการแสดงระดับ Fibonacci แต่ละระดับ 📊.
ใช้ fill เพื่อเติมสีระหว่างระดับ Fibonacci 🎨.
แสดง Labels เพื่อระบุค่าของแต่ละระดับ Fibonacci 🏷️.
ตัวอย่างการทำงาน:
ถ้าราคาปิดในช่วง 20 แท่งเทียนที่ผ่านมาอยู่ที่จุดสูงสุด 100 และจุดต่ำสุด 50, โปรแกรมจะคำนวณระดับ Fibonacci จากราคานี้และแสดงระดับต่าง ๆ เช่น 23.6%, 38.2%, ฯลฯ พร้อมเติมสีระหว่างระดับเหล่านี้ 🎯.
โค้ดนี้จะช่วยให้การวิเคราะห์กราฟง่ายขึ้น โดยเฉพาะในการหาแนวรับและแนวต้านตาม Fibonacci Levels ที่เป็นที่นิยมในกลยุทธ์การเทรด 🚀.
This indicator works on
#crypto #forex #gold and all assets.
Trading Ampel 3/10Der Trading Ampel 3/10 Indikator basiert auf dem 3/10 Oszillator und ermöglicht eine Trendbewertung über zwei frei wählbare, höher gelegene Timeframes. Die Ampelschaltung erfolgt basierend auf individuell definierten Regeln für verschiedene Zustände des Oszillators.
Die Farbe des EMA (Exponential Moving Average) dient als Ampel und zeigt den aktuellen Marktstatus an.
Statistical Option Trade SignalKey Components:
RSI and Moving Averages:
This script uses RSI and a simple moving average (SMA) to generate bullish and bearish signals.
When RSI is oversold (below 30), and the price is above the 50-period moving average, it suggests a bullish signal (buy calls).
When RSI is overbought (above 70), and the price is below the moving average, it suggests a bearish signal (buy puts).
Signal Generation:
Signals are displayed on the chart as labels ("Buy Call" or "Buy Put").
Visual Indicators:
Background colors change based on the signals to indicate bullish or bearish sentiment.
How to Use This:
Technical Setup: This script is primarily focused on providing a technical signal for when to buy a call (bullish) or a put (bearish) based on price action and RSI.
Option Strategy: This script does not calculate options pricing directly but gives the direction in which you should consider placing an option trade.
RSI, ADX, MACD & Stochastic by MBRSI, ADX, MACD & Stochastic by MB
This comprehensive trading indicator combines four powerful technical analysis tools into a single script:
Relative Strength Index (RSI): Measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset.
Average Directional Index (ADX): Used to quantify trend strength and helps traders identify strong trends.
Moving Average Convergence Divergence (MACD): A trend-following momentum indicator that shows the relationship between two moving averages of a security’s price.
Stochastic Oscillator: Compares a particular closing price of a security to a range of its prices over a certain period of time.
Features:
Adjustable Parameters: Fine-tune the length of each indicator to match your trading strategy.
Combined Oscillator: A normalized composite indicator that integrates the RSI, ADX, MACD, and Stochastic Oscillator to provide a holistic view of market conditions.
Reference Plots: Visualize individual indicators alongside the combined oscillator for deeper analysis.
Overbought/Oversold Levels: Highlight key levels to aid in identifying potential reversal points.
Parameters:
RSI Length
MA Length
ADX Length
DI Length
MACD Fast Length
MACD Slow Length
MACD Signal Length
Stochastic K Length
Stochastic D Length
Stochastic K Smoothing
This script is designed to provide traders with a comprehensive tool for analyzing market trends and identifying potential trading opportunities. The combined oscillator offers a unique perspective by integrating multiple indicators into a single, easy-to-read plot.
Mansi Rahi Financial Freedom RSI DH✅ Avoids strict crossovers (which rarely happen)
✅ Checks if RSI enters the required range instead of requiring a crossover
✅ Prevents excessive signals by ensuring RSI was not already in the same range
This should now display buy/sell signals correctly on a 1-hour chart.
TradingCircuit EMA Cloud Features
✅ EMA Clouds for Better Visualization
Short-Term Cloud (10 & 21 EMA) → Captures short-term momentum
Medium-Term Cloud (44 & 63 EMA) → Confirms trend strength
Long-Term EMA (200 EMA) → Acts as the main trend filter
✅ Dynamic Trend Coloring
The clouds change color based on EMA crossovers, providing instant visual trend identification.
Green Cloud = Bullish Momentum
Red/Orange Cloud = Bearish Momentum
✅ 📊 Trend Dashboard with 7-Class Trend Detection
A trend label appears on the chart based on the alignment of EMAs:
1️⃣ 🔥 Strong Uptrend → All EMAs aligned upwards (10 > 21 > 44 > 63 > 200)
2️⃣ 📈 Mild Uptrend → Short and Medium EMAs above the 200 EMA but not perfectly aligned
3️⃣ 🟢 Weak Uptrend → Only Short-Term EMA Cloud is above 200 EMA
4️⃣ 🟡 Sideways Market → Mixed EMA alignment, no clear trend
5️⃣ 🔴 Weak Downtrend → Short-Term EMA Cloud is below the 200 EMA, but Medium-Term isn’t
6️⃣ 📉 Mild Downtrend → Both Short and Medium EMA Clouds below 200 EMA
7️⃣ 🚨 Strong Downtrend → All EMAs aligned downward (10 < 21 < 44 < 63 < 200)
✅ Fully Customizable
Enable/Disable individual EMA clouds
Toggle Trend Dashboard ON/OFF
Transparent clouds for a clean look
Long-Term 200 EMA plotted as a black line for clear reference
🔧 How to Use?
1️⃣ Add this indicator to your chart on TradingView
2️⃣ Observe EMA Clouds for trend confirmation
3️⃣ Follow the Trend Dashboard for easy decision-making
4️⃣ Use in combination with other indicators like RSI or Volume for better confirmation
⚡ Best Suited For?
✅ Day Traders & Swing Traders – Quickly spot reversals and trend shifts
✅ Trend Followers – Stay in sync with the dominant trend
✅ Algo Traders – Can be used as a base for automated strategies
📌 Notes
⚠️ This indicator does not generate buy/sell signals! It is meant to enhance trend visualization.
🚀 Best results when used with other confluence factors like price action, support/resistance, and volume analysis.
👉 If you find this indicator useful, don’t forget to like & comment! 🚀
Happy Trading! 📊🔥
Advanced RSI Buy/Sell with FiltersAdvanced RSI Strategy with Multi-Timeframe Support, Extra Trend Filters & Auto Stop-Loss Calculation
This script adds:
✅ Multi-Timeframe Support → Confirms trend using a higher timeframe RSI
✅ More Trend Filters → Uses both EMA (50) & Supertrend for stronger confirmation
✅ Auto Stop-Loss Calculation → Sets SL based on ATR (Adaptive to volatility)
AN_B_EMACrossEMA crossover (short-term EMA crossing above long-term EMA).
Positive MACD (MACD line greater than the signal line).
RSI above 55.
A "B" label is plotted below the candle when conditions are satisfied.
Combined WMA and ADX//@version=6
indicator("Combined WMA and ADX", shorttitle="WMA & ADX", overlay=true, timeframe="", timeframe_gaps=true)
// --- WMA Inputs ---
lenWMA = input.int(9, minval=1, title="WMA Length")
src = input(close, title="WMA Source")
offset = input.int(title="WMA Offset", defval=0, minval=-500, maxval=500, display=display.data_window)
// --- ADX Inputs ---
adxlen = input(14, title="ADX Smoothing")
dilen = input(14, title="DI Length")
// --- WMA Calculation ---
outWMA = ta.wma(src, lenWMA)
// --- ADX and DI Calculation ---
dirmov(len) =>
up = ta.change(high)
down = -ta.change(low)
plusDM = na(up) ? na : (up > down and up > 0 ? up : 0)
minusDM = na(down) ? na : (down > up and down > 0 ? down : 0)
truerange = ta.rma(ta.tr, len)
plus = fixnan(100 * ta.rma(plusDM, len) / truerange)
minus = fixnan(100 * ta.rma(minusDM, len) / truerange)
adx(dilen, adxlen) =>
= dirmov(dilen)
sum = plus + minus
adx = 100 * ta.rma(math.abs(plus - minus) / (sum == 0 ? 1 : sum), adxlen)
adx
sigADX = adx(dilen, adxlen)
// --- Plot WMA and ADX ---
plot(outWMA, title="WMA", color=color.blue, offset=offset)
plot(sigADX, title="ADX", color=color.red)
RSI & MACDRSI & MACD combined for tradingview users
RSI & MACD combined for tradingview users
RSI & MACD combined for tradingview users