Weekly & Monthly RSI Strategy with Buy/Sell SignalsrtrtrRSI signal when buy or when sell if above 40 RSI then buy
Göstergeler ve stratejiler
Fibonacci Retracement Levels (Corrected)This script, "Fibonacci Retracement Levels (Corrected)," is designed to accurately calculate and display Fibonacci retracement levels based on the input data. It aims to provide improved precision and usability for analyzing market trends and price movements.
Note:
This script is published for testing purposes only. It is not intended for production or live trading environments. Feedback and suggestions are welcome for further improvement.
Multi-Timeframe Volume-Weighted RSIA multiple timeframe volume-weighted RSI.
Blue Line = Current Time Frame
Orange Line = Select your desired Time Frame
e.g. Blue = Daily, Orange = Weekly
1. Incorporates Market Commitment
Value: By factoring in volume, the volume-weighted RSI captures the intensity of trading activity behind price movements.
Why it’s useful:
Regular RSI measures price momentum but does not differentiate between moves with high or low trading activity.
A volume-weighted RSI assigns greater importance to price changes occurring on high volume, reflecting stronger market conviction.
2. Improved Signal Reliability
Value: Signals generated by a volume-weighted RSI (e.g., overbought or oversold conditions) may be more reliable because they account for the level of trader participation.
Why it’s useful:
Low-volume price movements often result in false signals or "noise."
A volume-weighted RSI helps filter out such noise, reducing the likelihood of false breakouts or fake reversals.
3. Better Divergence Detection
Value: Divergences between price action and the RSI (bullish or bearish divergences) are more meaningful when confirmed by volume.
Why it’s useful:
Regular RSI might show divergence in price momentum, but this divergence might lack substance if the underlying volume is weak.
A volume-weighted RSI ensures that divergence signals align with periods of significant market participation.
4. Enhanced Trend Analysis
Value: Trends supported by strong volume are given more weight, helping traders better identify and follow trends.
Why it’s useful:
Regular RSI might show overbought or oversold signals prematurely during strong trends.
Volume-weighted RSI considers whether trends are backed by significant market activity, helping avoid early exits.
5. More Meaningful Overbought/Oversold Levels
Value: Levels like 70 (overbought) and 30 (oversold) are more credible when supported by volume.
Why it’s useful:
In a regular RSI, overbought or oversold levels might occur on light trading, leading to false reversals.
A volume-weighted RSI ensures these levels are triggered by substantial market participation, increasing their reliability.
Practical Applications:
Trend Confirmation: Use the volume-weighted RSI to confirm whether momentum in a trend is supported by strong participation.
Divergence Spotting: Identify divergences with more confidence by prioritizing those with volume support.
Filtering False Breakouts: Avoid entering trades during weak volume phases by focusing on volume-weighted RSI signals.
Limitations:
Market Type Dependency: Its usefulness may diminish in low-volume assets or markets where volume data is unavailable (e.g., forex).
XAMD/AMDX ICT 01 [TradingFinder] SMC Quarterly Theory Cycles🔵 Introduction
The XAMD/AMDX strategy, combined with the Quarterly Theory, forms the foundation of a powerful market structure analysis. This indicator builds upon the principles of the Power of 3 strategy introduced by ICT, enhancing its application by incorporating an additional phase.
By extending the logic of Power of 3, the XAMD/AMDX tool provides a more detailed and comprehensive view of daily market behavior, offering traders greater precision in identifying key movements and opportunities
This approach divides the trading day into four distinct phases : Accumulation (19:00 - 01:00 EST), Manipulation (01:00 - 07:00 EST), Distribution (07:00 - 13:00 EST), and Continuation or Reversal (13:00 - 19:00 EST), collectively known as AMDX.
Each phase reflects a specific market behavior, providing a structured lens to interpret price action. Building on the fractal nature of time in financial markets, the Quarterly Theory introduces the Four Quarters Method, where a currency pair’s price range is divided into quarters.
These divisions, known as quarter points, highlight critical levels for analyzing and predicting market dynamics. Together, these principles allow traders to align their strategies with institutional trading patterns, offering deeper insights into market trends
🔵 How to Use
The AMDX framework provides a structured approach to understanding market behavior throughout the trading day. Each phase has its own characteristics and trading opportunities, allowing traders to align their strategies effectively. To get the most out of this tool, understanding the dynamics of each phase is essential.
🟣 Accumulation
During the Accumulation phase (19:00 - 01:00 EST), the market is typically quiet, with price movements confined to a narrow range. This phase is where institutional players accumulate their positions, setting the stage for future price movements.
Traders should use this time to study price patterns and prepare for the next phases. It’s a great opportunity to mark key support and resistance zones and set alerts for potential breakouts, as the low volatility makes immediate trading less attractive.
🟣 Manipulation
The Manipulation phase (01:00 - 07:00 EST) is often marked by sharp and deceptive price movements. Institutions create false breakouts to trigger stop-losses and trap retail traders into the wrong direction. Traders should remain cautious during this phase, focusing on identifying the areas of liquidity where these traps occur.
Watching for price reversals after these false moves can provide excellent entry opportunities, but patience and confirmation are crucial to avoid getting caught in the manipulation.
🟣 Distribution
The Distribution phase (07:00 - 13:00 EST) is where the day’s dominant trend typically emerges. Institutions execute large trades, resulting in significant price movements. This phase is ideal for trading with the trend, as the market provides clearer directional signals.
Traders should focus on identifying breakouts or strong momentum in the direction of the trend established during this period. This phase is also where traders can capitalize on setups identified earlier, aligning their entries with the market’s broader sentiment.
🟣 Continuation or Reversal
Finally, the Continuation or Reversal phase (13:00 - 19:00 EST) offers a critical juncture to assess the market’s direction. This phase can either reinforce the established trend or signal a reversal as institutions adjust their positions.
Traders should observe price behavior closely during this time, looking for patterns that confirm whether the trend is likely to continue or reverse. This phase is particularly useful for adjusting open positions or initiating new trades based on emerging signals.
🔵 Settings
Show or Hide Phases.
Adjust the session times for each phase :
Accumulation: 19:00-01:00 EST
Manipulation: 01:00-07:00 EST
Distribution: 07:00-13:00 EST
Continuation or Reversal: 13:00-19:00 EST
Modify Visualization : Customize how the indicator looks by changing settings like colors and transparency.
🔵 Conclusion
AMDX provides traders with a practical method to analyze daily market behavior by dividing the trading day into four key phases: Accumulation, Manipulation, Distribution, and Continuation or Reversal. Each phase highlights specific market dynamics, offering insights into how institutional activity shapes price movements.
From the quiet buildup in the Accumulation phase to the decisive trends of the Distribution phase, and the critical transitions in Continuation or Reversal, this approach equips traders with the tools to anticipate movements and make informed decisions.
By recognizing the significance of each phase, traders can avoid common traps during Manipulation, capitalize on clear trends during Distribution, and adapt to changes in the final phase of the day.
The structured visualization of market phases simplifies decision-making for traders of all levels. By incorporating these principles into your trading strategy, you can enhance your ability to align with market trends, optimize entry and exit points, and achieve more consistent results in your trading journey.
ICT Macro Sessions by @zeusbottradingICT Macro Sessions Indicator
The ICT Macro Sessions Indicator is a powerful tool designed for traders who follow the ICT (Inner Circle Trader) methodology and want to optimize their trading during specific high-probability time intervals. This indicator highlights all the key macro sessions throughout the trading day in the GMT+8 (Hong Kong) time zone.
What Does the Indicator Do?
This indicator visually marks ICT Macro Sessions on your trading chart using background colors and optional labels. Each session corresponds to specific time intervals when institutional activity is most likely to drive price action. By focusing on these periods, traders can align their strategies with market volatility and liquidity, increasing their chances of success.
Highlighted Sessions
The indicator covers all major ICT Macro Sessions, each with a unique color for easy identification:
London Macro 1 (15:33–16:00 GMT+8):
- Marks the early London session, often characterized by strong directional moves.
London Macro 2 (17:03–17:30 GMT+8):
- Captures the mid-London session, where price frequently reacts to liquidity levels.
New York AM Macro 1 (22:50–23:10 GMT+8):
- Highlights the start of the New York session, a prime time for price reversals or continuations.
New York AM Macro 2 (23:50–00:10 GMT+8):
- Focuses on late-morning New York activity, often aligning with key news releases.
New York Lunch Macro (00:50–01:10 GMT+8):
- Covers the lunch period in New York, where price may consolidate or set up for afternoon moves.
New York PM Macro 1 (02:10–02:40 GMT+8):
- Tracks post-lunch activity in New York, often featuring renewed volatility.
New York PM Macro 2 (04:15–04:45 GMT+8):
- Captures late-session moves as institutional traders finalize their positions.
Features of the Indicator
Fixed Time: The indicator is pre-configured for GMT+8 but it will adapt automatically to your timezone. No need to change anything in the code.
Background Highlighting: Each session is visually marked with a unique background color for quick recognition.
Optional Labels: Traders can enable or disable labels for each session, providing flexibility in how information is displayed.
Session Toggles: You can choose which sessions to display based on your trading preferences and strategy.
Intraday Timeframes: The indicator is optimized for intraday charts with timeframes of 45 minutes or less. You can change it to anything you like.
Why Use This Indicator?
The ICT Macro Sessions Indicator helps traders focus on the most critical times of the trading day when institutional activity is at its peak. These periods often coincide with significant price movements, making them ideal for scalping, day trading, or even swing trading setups. By visually highlighting these sessions, the indicator eliminates guesswork and allows traders to plan their trades with precision.
Stock Range Finder with 50% Retracementlocal lows will have a blue label with the text "Low" below the bar.
Local highs will have a red label with the text "High" above the bar.
The 50% retracement level will be plotted in orange.
The background will turn green when the retracement condition is met.
Top-Down Analysis previous day Top-Down Analysis 2nd Candle with Enhanced Features
This powerful TradingView script is designed for traders looking for a comprehensive and customizable top-down analysis tool. The indicator plots horizontal lines based on significant price levels from multiple timeframes (Daily, 4-Hour, 1-Hour, and Weekly), offering clear reference points for technical analysis. Each timeframe is associated with high and low levels from the previous candle, and these levels are represented with customizable line styles, colors, and widths.
Key Features:
Multi-Timeframe Support: Displays high and low levels from the previous candle for the Daily, 4-Hour, 1-Hour, and Weekly timeframes. Customize which timeframes to show.
Customizable Line Appearance: Choose the line color, style (solid, dotted, dashed), and width for each timeframe. This allows for a personalized chart appearance to suit your trading strategy.
Text Labels: Add custom text labels to each line, and move them dynamically to the right, keeping them visible as the candles progress. The labels can be customized with user-defined text for each timeframe’s high and low levels.
Toggle Line Visibility: Easily control the visibility of the horizontal lines and their labels for each timeframe, allowing you to focus on the levels that matter most.
Price Alerts: Set price alerts when the price crosses any of the plotted levels, including the Daily, 4-Hour, 1-Hour, and Weekly levels. Receive notifications when significant price interactions occur.
User Control: With inputs for changing timeframes, colors, labels, and more, this indicator is fully customizable to fit your trading style.
This indicator is ideal for day traders, swing traders, and anyone utilizing multi-timeframe analysis for more informed decision-making.
Z-ScoreThe z-score (also known as the standard score) measures how many standard deviations a data point is from the mean of a dataset. It helps determine whether a data point is typical or unusual compared to the dataset.
The formula for the z-score is:
z = \frac{x - \mu}{\sigma}
Where:
• x = the value being evaluated
• \mu = the mean of the dataset
• \sigma = the standard deviation of the dataset
Interpretation:
• A positive z-score indicates the data point is above the mean.
• A negative z-score indicates the data point is below the mean.
• A z-score of 0 means the data point is exactly at the mean.
Customizable Psychological LevelsThe Customizable Psychological Levels indicator is designed to simplify the process of marking psychological levels on your chart without the need to manually add lines. Psychological levels are critical price zones where market participants often make decisions, such as round numbers or price levels that align with key technical analysis thresholds.
This indicator offers a fully automated way to plot these levels, with customizable options for intervals, colors, line thickness, and styles. Traders can focus more on their analysis and decision-making while relying on this tool to display consistent and accurate psychological levels across different timeframes.
Key Features:
Automated Level Drawing:
Major, intermediate, and minor levels are plotted automatically based on user-defined intervals.
No need to draw lines manually, saving time and ensuring precision.
Customizable Settings:
Choose intervals for each level type (major, intermediate, minor).
Select unique colors, line thickness, and styles (solid, dashed, or dotted) to distinguish levels visually.
Non-Overlapping Levels:
Includes an option to prevent overlapping levels, ensuring a clean and organized chart.
Dynamic or Fixed Levels:
Levels adjust dynamically to the chart’s price range, making them suitable for various instruments and timeframes.
Benefits:
Enhances productivity by automating the process of marking psychological levels.
Offers a highly customizable and visually appealing solution for traders who rely on psychological levels in their trading strategies.
Helps traders quickly identify critical price zones and make informed decisions.
This tool is perfect for both beginner and experienced traders who want to streamline their workflow while maintaining a professional and systematic approach to technical analysis.
5/22 MA Strategy with Dynamic Channel + AL/SAT//@version=5
indicator("5/22 MA Strategy with Dynamic Channel + AL/SAT", overlay=true)
// === Parametreler ===
length = input.int(50, title="Kanal Uzunluğu (Bar Sayısı)")
offset = input.int(2, title="Kanal Genişliği Çarpanı") // ATR ile kanal genişliği
// === Hareketli Ortalamalar (5 ve 22) ===
ma_fast = ta.ema(close, 5) // Hızlı EMA (5)
ma_slow = ta.ema(close, 22) // Yavaş EMA (22)
// === RSI Hesaplama ===
rsi = ta.rsi(close, 14)
// === MACD Hesaplama ===
= ta.macd(close, 12, 26, 9)
// === ATR (Volatilite için) ===
atr = ta.atr(14)
// === Üst ve Alt Seviyelerin Hesaplanması (Kanal) ===
highest_high = ta.highest(high, length) // Son 'length' barın en yüksek değeri
lowest_low = ta.lowest(low, length) // Son 'length' barın en düşük değeri
middle = (highest_high + lowest_low) / 2
upper_band = highest_high + offset * atr
lower_band = lowest_low - offset * atr
// === Kanal Çizgilerinin Gösterimi ===
plot(highest_high, title="Üst Kanal", color=color.blue, linewidth=1)
plot(lowest_low, title="Alt Kanal", color=color.blue, linewidth=1)
plot(middle, title="Orta Çizgi", color=color.orange, linewidth=1)
plot(upper_band, title="Üst Genişlik", color=color.green, linewidth=1)
plot(lower_band, title="Alt Genişlik", color=color.red, linewidth=1)
// === Al/Sat Sinyalleri (5/22 MA Stratejisi) ===
ma_crossover = ta.crossover(ma_fast, ma_slow) // 5 MA, 22 MA'yı yukarı kesiyor
ma_crossunder = ta.crossunder(ma_fast, ma_slow) // 5 MA, 22 MA'yı aşağı kesiyor
// Al Sinyali: 5/22 MA kesişimi + RSI düşük (momentum onayı) + MACD pozitif kesişim
buy_signal = ma_crossover and rsi < 50 and ta.crossover(macdLine, signalLine)
// Sat Sinyali: 5/22 MA kesişimi + RSI yüksek (momentum onayı) + MACD negatif kesişim
sell_signal = ma_crossunder and rsi > 50 and ta.crossunder(macdLine, signalLine)
// === Grafikte Al/Sat İşaretleme ===
plot(ma_fast, color=color.blue, title="Fast EMA (5)")
plot(ma_slow, color=color.orange, title="Slow EMA (22)")
// === Al ve Sat Yazıları Ekleyin ===
if buy_signal
label.new(bar_index, low, text="AL", style=label.style_label_up, color=color.green, textcolor=color.white, size=size.small)
if sell_signal
label.new(bar_index, high, text="SAT", style=label.style_label_down, color=color.red, textcolor=color.white, size=size.small)
// === Alarm Koşulları ===
alertcondition(buy_signal, title="Buy Signal Alert", message="5/22 MA + RSI + MACD Buy Signal Detected!")
alertcondition(sell_signal, title="Sell Signal Alert", message="5/22 MA + RSI + MACD Sell Signal Detected!")
// === Risk Yönetimi: ATR ile Stop-Loss Seviyeleri ===
long_stop_loss = buy_signal ? close - 1.5 * atr : na // Al pozisyonu için stop-loss
short_stop_loss = sell_signal ? close + 1.5 * atr : na // Sat pozisyonu için stop-loss
// Stop-loss çizgileri
if buy_signal
line.new(x1=bar_index , y1=long_stop_loss, x2=bar_index, y2=long_stop_loss, color=color.red, width=1, extend=extend.right, style=line.style_dashed)
if sell_signal
line.new(x1=bar_index , y1=short_stop_loss, x2=bar_index, y2=short_stop_loss, color=color.red, width=1, extend=extend.right, style=line.style_dashed)
ATR-Based Stop-LossАвтоматический расчет стоп-лосса.
Красная линия стоп-лосс для шорта.
Зеленая линия стоп-лосс для лонга.
Коэфициент по умолчанию 1.5. На высокой валантильности можно его увеличить.
flara EMA and BBWPcombinacion: EMA and BBWP. perfecto para trazar ema de 10, 55 y 200. se agrega las bandas de bollinger
ALL DAILY OPENSThis indicator Plots the daily opens in a distribution fashion, good for backtest purposes or key levels identifier
RS Theory IndicatorHow to Use:
Customize the Reference Symbol: In the settings of the indicator, you can change the referenceSymbol to the benchmark or asset you want to compare against.
RS Interpretation:
RS > 1: The current asset is outperforming the reference symbol.
RS < 1: The current asset is underperforming the reference symbol.
RS = 1: The current asset and the reference symbol are performing equally.
Alerts: You can enable alerts for when the RS crosses certain levels (e.g., when RS > 1 or RS < 1).
How It Works:
Reference Symbol: The user inputs the benchmark asset or symbol (e.g., "SPY" for an S&P 500 ETF). This will be used as the comparison symbol.
RS Calculation: The RS Value is calculated by dividing the current asset's close price by the reference asset's close price:
RS
=
Close Price of Current Asset
Close Price of Reference Asset
RS=
Close Price of Reference Asset
Close Price of Current Asset
Plotting:
The RS value is plotted on the chart as a line.
A horizontal line at RS = 1 is drawn for easy comparison, representing parity (when the asset and reference symbol have the same price).
Background Coloring: The background is colored:
Green when RS > 1 (indicating the asset is outperforming the benchmark).
Red when RS < 1 (indicating the asset is underperforming the benchmark).
Alerts: Alerts are triggered when the RS value is above or below 1, indicating outperformance or underperformance relative to the benchmark.
RSI on Price Indicator Advanced Multi-Level RSIRSI on Price Indicator | Advanced Multi-Level RSI with Customizable Levels & Background Fill (Free Pine Script for TradingView)
Unlock the full potential of your TradingView charts with the 'RSI on Price NEW' indicator. This free Pine Script offers multi-level RSI bands, customizable overbought/oversold levels, and eye-catching background fills. Perfect for intraday, daily, weekly, or monthly analysis. Enhance your trading strategy today!
Take your trading analysis to the next level with the 'RSI on Price NEW' indicator for TradingView. This powerful and free Pine Script overlay brings the RSI directly onto your price chart, combining multiple levels of RSI calculations for detailed insights. With fully customizable settings for RSI periods, overbought/oversold thresholds, and dynamic color-coded background fills, this script is perfect for traders who want precision and clarity. Whether you're trading intraday, daily, weekly, or monthly charts, this script offers unparalleled versatility. Optimize your trading strategy today with this innovative RSI tool!
Black Line 50 RSI in center
above that 3 line is 60, 70, 80
below black line is 40, 30, 20 RSI
2 bars BarsInputs:
The script allows you to specify the values for each state (HH, HL, LL, LH) for two bars.
Labels as Bars:
Instead of line.new, this script uses label.new to simulate a pseudo-bar chart.
Bars are visually represented as labels, with distinct positions and colors.
Offset Logic:
The offset ensures that each category has its labels (bars) placed at the correct horizontal distance.
Custom Categories:
The categories array ("HH", "HL", "LL", "LH") links to their respective values.
Volume Volatility and Delta Indicator (HN)This Volume Volatility Indicator with Overall Average from Hossein.N helps you visualize the volatility of volume on different timeframes and compares it to the average volume over a given period. It includes several components:
Volume Volatility Indicator (Blue Line): This shows the volatility of volume relative to its moving average over a specified period. Higher values indicate more volatile trading conditions.
Long-Term Volatility Average (Orange Line): This line shows the moving average of the volume volatility indicator over a longer period. It acts as a benchmark for comparing the current volume volatility with historical trends.
Average Volume on Up Days (Green Line): Displays the average volume on days when the price is going up (green).
Average Volume on Down Days (Red Line): Displays the average volume on days when the price is going down (red).
Delta in Percentage (Blue Line): This shows the difference between the average volume of up days and down days, expressed as a percentage of the overall moving average of volume. It can be used to identify bullish or bearish volume imbalances. For example:
Positive values indicate that the volume on up days is stronger than on down days, which could suggest a bullish trend.
Negative values suggest that volume on down days is stronger than on up days, potentially indicating a bearish trend.
Zero Line (Gray Dotted Line): A reference line at 0 that helps you identify when the delta is positive or negative, and visualize the neutral point where volume is balanced between up and down days.
How to Use This Indicator:
Add to Your Chart: Copy the script above and paste it into TradingView's Pine Script editor. Click "Add to Chart" to visualize the indicator.
Interpret the Indicator:
Volume Volatility: A higher value suggests high market volatility. When volume is highly volatile, it may indicate more significant price movements or market uncertainty.
Long-Term Average of Volatility: Use this line as a reference to see whether current volatility is above or below average over a longer period.
Delta in Percentage: This is particularly useful to compare the strength of buying and selling volume. A positive delta percentage suggests strong buying pressure, while a negative delta suggests strong selling pressure. The closer the delta is to zero, the more balanced the volume between up and down days.
Use for Trend Confirmation: The indicator can help confirm trends. If the delta percentage is positive and increasing, and the volume volatility is above average, it could signal strong bullish momentum. Conversely, if the delta is negative and the volume volatility is rising, it may suggest bearish sentiment.
Risk Disclaimer:
Important: This indicator is a tool designed to help analyze market conditions. It does not guarantee success in trading and should not be used as the sole basis for making trading decisions. Always do your own research, consider other factors (e.g., price action, market news, fundamentals), and manage your risk appropriately. Trading involves significant risk, and you should only trade with money you can afford to lose. Always ensure you understand the risks involved in trading and use risk management strategies.
By using this tool, you accept full responsibility for any trading decisions and the outcomes thereof. The information presented is for educational and informational purposes only.
Crypto Value RainbowThe best way to value Crypto value is comparing Crypto price against the available money supply circulating in the economy. There are 3 different 4 different type of money supply M0/M1/M2/M3 which denotes the level of money printed by central government to the final credit lend out to the economy via fractional banking system. This rainbow valuation measures the relative Crypto price against the M0/M1/M2/M3 from most popular currency that account for more than 75% of money supply in the world.
CV = US MS + EU MS + CN MS + JP MS + UK MS
CV = Crypto Value
MS = Money Supply
This can only be applied to a few crypto currency:
- BTCUSD Bitcoin
- ETHUSD Ehereum
- BNBUSD BNB
- SOLUSD Solana
- XRPUSD XRP
- TONUSD Toncoin
- DOGEUSD Dogecoin
- TRXUSD Tron
- ADAUSD Cardano
- AVAXUSD Avalanche
The rainbow color is the multiplier for the total Crypto Value by 1x,2x,3x,...,10x
Multi-Timeframe ATRsThis Multi-Timeframe ATR Indicator displays the Average True Range (ATR) values from multiple timeframes on a single chart, allowing traders to assess market volatility across different time periods. The indicator calculates and plots the ATR for the 1-hour, 3-hour, 4-hour, 1-day, and 2-day timeframes, with the option to toggle each timeframe on or off based on user preferences. By visualizing these ATR values, traders can identify potential price movement expectations for various timeframes and better understand how volatility is shifting across the market. This tool is handy for traders who want to gauge volatility over different time periods and incorporate it into their trading strategies.
By evaluating higher timeframes when entering trades, a trader can better understand market conditions. This insight helps the trader make informed decisions about whether to remain in the trade for a longer period.
The indicator is fully customizable, with color-coded plots for each timeframe and optional labels that display the ATR values directly on the chart. It is ideal for traders looking to add volatility insights to their technical analysis without cluttering their charts.
EMAs CrossThis script generates a line that changes color when evaluating the values and intersections of the 7-, 14-, and 42-day exponential averages, indicating possible entry and exit points.
In general, yellow indicates the beginning of an uptrend, green confirms an uptrend, and brown indicates a downtrend.
Using this script together with the RSI can help you make decisions about the best times to enter and exit positions.
The script was created to generate an indicator in a separate window from the main chart, but adding this indicator to the main window can help you visualize and interpret market movements.
TechniTrend: Volatility and MACD Trend Highlighter🟦 Overview
The "Candle Volatility with Trend Prediction" indicator is a powerful tool designed to identify market volatility based on candle movement relative to average volume while also incorporating trend predictions using the MACD. This indicator is ideal for traders who want to detect volatile market conditions and anticipate potential price movements, leveraging both price changes and volume dynamics.
It not only highlights candles with significant price movements but also integrates a trend analysis based on the MACD (Moving Average Convergence Divergence), allowing traders to gauge whether the market momentum aligns with or diverges from the detected volatility.
🟦 Key Features
🔸Volatility Detection: Identifies candles that exceed normal price fluctuations based on average volume and recent price volatility.
🔸Trend Prediction: Uses the MACD indicator to overlay trend analysis, signaling potential market direction shifts.
🔸Volume-Based Analysis: Integrates customizable moving averages (SMA, EMA, WMA, etc.) of volume, providing a clear visualization of volume trends.
🔸Alert System: Automatically notifies traders of high-volatility situations, aiding in timely decision-making.
🔸Customizability: Includes multiple settings to tailor the indicator to different market conditions and timeframes.
🟦 How It Works
The indicator operates by evaluating the price volatility in relation to average volume and identifying when a candle's volatility surpasses a threshold defined by the user. The key calculations include:
🔸Average Volume Calculation: The user selects the type of moving average (SMA, EMA, etc.) to calculate the average volume over a set period.
🔸Volatility Measurement: The indicator measures the body change (difference between open and close) and the high-low range of each candle. It then calculates recent price volatility using a standard deviation over a user-defined length.
🔸Weighted Index: A unique index is created by dividing price change by average volume and recent volatility.
🔸Highlighting Volatility: If the weighted index exceeds a customizable threshold, the candle is highlighted, indicating potential trading opportunities.
🔸Trend Analysis with MACD: The MACD line and signal line are plotted and adjusted with a user-defined multiplier to visualize trends alongside the volatility signals.
🟦 Recommended Settings
🔸Volume MA Length: A default of 14 periods for the average volume calculation is recommended. Adjust to higher periods for long-term trends and shorter periods for quick trades.
🔸Volatility Threshold Multiplier: Set at 1.2 by default to capture moderately significant movements. Increase for fewer but stronger signals or decrease for more frequent signals.
🔸MACD Settings: Default MACD parameters (12, 26, 9) are suggested. Tweak based on your trading strategy and asset volatility.
🔸MACD Multiplier: Adjust based on how the MACD should visually compare to the average volume. A multiplier of 1 works well for most cases.
🟦 How to Use
🔸Volatile Market Detection:
Look for highlighted candles that suggest a deviation from typical price behavior. These candles often signify an entry point for short-term trades.
🔸Trend Confirmation:
Use the MACD trend analysis to verify if the highlighted volatile candles align with a bullish or bearish trend.
For example, a bullish MACD crossover combined with a highlighted candle suggests a potential uptrend, while a bearish crossover with volatility signals may indicate a downtrend.
🔸Volume-Driven Strategy:
Observe how volume changes impact candle volatility. When volume rises significantly and candles are highlighted, it can suggest strong market moves influenced by big players.
🟦 Best Use Cases
🔸Trend Reversals: Detect potential trend reversals early by spotting divergences between price and MACD within volatile conditions.
🔸Breakout Strategies: Use the indicator to confirm price breakouts with significant volume changes.
🔸Scalping or Day Trading: Customize the indicator for shorter timeframes to capture rapid market movements based on volatility spikes.
🔸Swing Trading: Combine volatility and trend insights to optimize entry and exit points over longer periods.
🟦 Customization Options
🔸Volume-Based Inputs: Choose from SMA, EMA, WMA, and more to define how average volume is calculated.
🔸Threshold Adjustments: Modify the volatility threshold multiplier to increase or decrease sensitivity based on your trading style.
🔸MACD Tuning: Adjust MACD settings and the multiplier for trend visualization tailored to different asset classes and market conditions.
🟦 Indicator Alerts
🔸High Volatility Alerts: Automatically triggered when candles exceed user-defined volatility levels.
🔸Bullish/Bearish Trend Alerts: Alerts are activated when highlighted volatile candles align with bullish or bearish MACD crossovers, making it easier to spot opportunities without constantly monitoring the chart.
🟦 Examples of Use
To better understand how this indicator works, consider the following scenarios:
🔸Example 1: In a strong uptrend, observe how volume surges and volatility highlight candles right before price consolidations, indicating optimal exit points.
🔸Example 2: During a downtrend, see how the MACD aligns with volume-driven volatility, signaling potential short-selling opportunities.
Non-repainting ticker
The objective here is to provide a "non-repainting" source to indicators, meaning being sure that data is stable and will not affect the results, w/o having to make any change into the indicators
To use it :
1- include this "NRT" indicators onto your page : nothing will be displayed, just keep it.
2- as an exemple, when running any other indicator onto this page, and willing to select "close" as a source, just select instead " NRT: close" into source input; your indicator will then run "non-repainting"
Available sources : open, high, low , close, hl2, hlc3, ohlc4, hlcc4