Enhanced Spread MonitorThis indicator helps you monitor market spreads and identify potential trading opportunities by analyzing spread behavior, market liquidity, and volatility across multiple exchanges. It's particularly useful for crypto traders looking for market inefficiencies or arbitrage opportunities.
Visuals:
-Blue Line: The real-time spread, enhanced by market conditions
-Orange Line: A smoothed threshold that helps identify unusual spread levels
-Red Background: Appears when the spread exceeds the threshold, signaling a potential opportunity
Key Features:
Multi-Exchange Monitoring
-Can track up to 3 different exchanges/markets
-Option to view individual or aggregated spreads
-Useful for spotting arbitrage opportunities between venues
Enhanced Spread Detection
-Automatically amplifies the spread when liquidity is low
-Increases sensitivity during volatile periods
-Helps identify true trading costs beyond the simple bid-ask spread
How to Configure:
Symbol Settings
-Choose up to three markets to monitor
-Enable "Aggregate Multiple Symbols" to see a volume-weighted combined view
Market Impact Factor (Depth Settings)
-Default: 0.5
-Higher values (>1.0): More sensitive to low liquidity
-Lower values (<0.5): More conservative spread estimation
Volatility Settings
-Short-term Volatility: React to immediate market changes
-Long-term Volatility: Establish baseline market behavior
-Recommended: Keep long-term 3-5x larger than short-term
Threshold Settings
-Historical Lookback: How much history to consider (500 bars recommended)
-Threshold Smoothing: Stability of the threshold line (14 default)
-Std Dev Multiplier: How extreme spreads need to be for signals (2.0 default)
Trading Application:
-Watch for red background highlighting - these are potential opportunities
Consider trading when:
-Spread exceeds threshold significantly
-Multiple exchanges show similar patterns
-Market conditions suggest the spread is due to real inefficiencies
Be cautious when:
-High volatility is the main driver of spread increases
-Only one exchange shows unusual spread behavior
-Market depth is very low (might be hard to execute)
Risk Management:
-Large spreads during low liquidity might indicate difficult trading conditions
-Verify actual executable prices before trading
-Consider exchange fees and withdrawal costs for arbitrage
Indicadores de Banda
Pro Stock Scanner + MACD# Pro Stock Scanner - Advanced Trading System
### Professional Scanning System Combining MACD, Momentum & Technical Analysis
## 🎯 Indicator Purpose
This indicator was developed to identify high-quality trading opportunities by combining:
- Strong positive momentum
- Clear technical trend
- Significant trading volume
- Precise MACD signals
## 💡 Core Mechanics
The indicator is based on three core components:
### 1. Advanced MACD Analysis (40%)
- MACD line crossover tracking
- Momentum strength measurement
- Positive/negative divergence detection
- Score range: 0-40 points
### 2. Trend Analysis (40%)
- Moving average relationships (MA20, MA50)
- Primary trend direction
- Current trend strength
- Score range: 0-40 points
### 3. Volume Analysis (20%)
- Comparison with 20-day average volume
- Volume breakout detection
- Score range: 0-20 points
## 📊 Scoring System
Total score (0-100) composition:
```
Total Score = MACD Score (40%) + Trend Score (40%) + Volume Score (20%)
```
### Score Interpretation:
- 80-100: Strong Buy Signal 🔥
- 65-79: Developing Bullish Trend ⬆️
- 50-64: Neutral ↔️
- 0-49: Technical Weakness ⬇️
## 📈 Chart Markers
1. **Large Blue Triangle**
- High score (80+)
- Positive MACD
- Bullish MACD crossover
2. **Small Triangles**
- Green: Bullish MACD crossover
- Red: Bearish MACD crossover
## 🎛️ Customizable Parameters
```
MACD Settings:
- Fast Length: 12
- Slow Length: 26
- Signal Length: 9
- Strength Threshold: 0.2%
Volume Settings:
- Threshold: 1.5x average
```
## 📱 Information Panel
Real-time display of:
1. Total Score
2. MACD Score
3. MACD Strength
4. Volume Score
5. Summary Signal
## ⚙️ Optimization Guidelines
Recommended adjustments:
1. **Bull Market**
- Decrease MACD sensitivity
- Increase volume threshold
- Focus on trend strength
2. **Bear Market**
- Increase MACD sensitivity
- Stricter trend conditions
- Higher score requirements
## 🎯 Recommended Trading Strategy
### Phase 1: Initial Scan
1. Look for 80+ total score
2. Verify sufficient trading volume
3. Confirm bullish MACD crossover
### Phase 2: Validation
1. Check long-term trend
2. Identify nearby resistance levels
3. Review earnings calendar
### Phase 3: Position Management
1. Set clear stop-loss
2. Define realistic profit targets
3. Monitor score changes
## ⚠️ Important Notes
1. This indicator is a supplementary tool
2. Combine with fundamental analysis
3. Strict risk management is essential
4. Not recommended for automated trading
## 📈 Usage Examples
Examples included:
1. Successful buy signal
2. Trend reversal identification
3. False signal analysis and lessons learned
## 🔄 Future Updates
1. RSI integration
2. Advanced alerts
3. Auto-optimization features
## 🎯 Key Benefits
1. Clear scoring system
2. Multiple confirmation layers
3. Real-time market feedback
4. Customizable parameters
## 🚀 Getting Started
1. Add indicator to chart
2. Adjust parameters if needed
3. Monitor information panel
4. Wait for strong signals (80+ score)
## 📊 Performance Metrics
- Success rate: Monitor and track
- Best performing in trending markets
- Optimal for swing trading
- Most effective on daily timeframe
## 🛠️ Technical Details
```pine
// Core components
1. MACD calculation
2. Volume analysis
3. Trend confirmation
4. Score computation
```
## 💡 Pro Tips
1. Use multiple timeframes
2. Combine with support/resistance
3. Monitor sector trends
4. Consider market conditions
## 🤝 Support
Feedback and improvement suggestions welcome!
## 📜 License
MIT License - Free to use and modify
## 📚 Additional Resources
- Recommended timeframes: Daily, 4H
- Best performing markets: Stocks, ETFs
- Optimal market conditions: Trending markets
- Risk management guidelines included
## 🔍 Final Notes
Remember:
- No indicator is 100% accurate
- Always use proper position sizing
- Combine with other analysis tools
- Practice proper risk management
// @version=5
// @description Pro Stock Scanner - Advanced trading system combining MACD, momentum and volume analysis
// @author AviPro
// @license MIT
//
// This indicator helps identify high-quality trading opportunities by analyzing:
// 1. MACD momentum and crossovers
// 2. Trend strength and direction
// 3. Volume patterns and breakouts
//
// The system provides:
// - Total score (0-100)
// - Visual signals on chart
// - Information panel with key metrics
// - Customizable parameters
//
// IMPORTANT: This indicator is for educational and informational purposes only.
// Always conduct your own analysis and use proper risk management.
//
// If you find this indicator helpful, please consider leaving a like and comment!
// Feedback and suggestions for improvement are always welcome.
Category SpaghettiThis indicator aims to analyze the strength and weakness between categories by grouping multiple symbols into a single category, calculating the geometric or weighted average rate of change over a specified period, and displaying it as a Spaghetti Chart.
On the left side of the screen, it displays the rate of change for each category, while on the right side, it shows the rate of change for symbols belonging to the selected category.
The indicator is computationally heavy as it can draw up to 10 symbols per category and up to 20 categories. You can slightly improve performance by reducing the number of bars loaded in the Performance Settings.
#################### Settings Description ####################
Calculation Method
You can select either the geometric average or the weighted average.
When the Weighting option is checked, the calculation uses "symbol*weight," enabling weighting for the symbols.
ROC Period
Select the calculation period for the rate of change.
If a symbol included in the calculation period is newly listed or delisted, the result will be NaN.
Date and Time
When checked, the rate of change is calculated from the specified date and time.
Base Symbol Basis Chart
When checked, the rate of change is displayed based on the base symbol specified in Base Symbol.
Highlight
When checked, only the categories specified by numbers in the text box are highlighted.
Separate the numbers with commas.
==================== Symbols Table Settings ====================
Symbols Table
When checked, the Symbols Table is displayed on the right side of the screen.
Select Category
Displays the rate of change for the symbols belonging to the selected category.
Display Limit
When checked, switches the display of the rate of change from all entries to only the top or bottom symbols based on the selected count.
Text Size
Adjusts the text size in the table.
==================== Category Table Settings ====================
Category Table
When checked, the Category Table is displayed on the left side of the screen.
Other settings are similar to the Symbols Table Settings.
==================== Category Settings ====================
Base Symbol
Sets the symbol used for comparison in each category.
The settings include an ON/OFF checkbox, symbol name, color, and line thickness.
Category setting field
The settings include an ON/OFF checkbox, category name, color, line thickness, and a text area below.
In the text area, enter the symbols that make up the category, one per line, in the format "symbol" or "symbol*weight", ensuring each entry is on a new line.
You can register up to 10 symbols per category; registering more than 11 symbols will result in an error.
==================== Color Settings ====================
Table Text
Sets the text color in the table.
Table Background
Sets the table background color.
Positive
Sets the display color when the rate of change is positive.
Negative
Sets the display color when the rate of change is negative.
Reset Line
When checked, a vertical line is drawn at points where the calculation period changes.
Label Shift
Specifies the position of the category name labels displayed on the right side of the Spaghetti Chart.
==================== Performance Settings ====================
Request Bars Count
Sets the number of candlesticks to be called for rate of change calculations.
The smaller the number, the lighter the processing load is expected to be.
----------------------------------------------------------------------------------------------
このインジケーターは、複数のシンボルを一つのカテゴリーにまとめて指定した期間の幾何平均または加重平均騰落率を計算し、Spaghetti Chartとして描画することで、カテゴリー間の強弱の分析を目的としています。
画面左側に各カテゴリーの騰落率、右側に指定したカテゴリーに属するシンボルの騰落率を表示しています。
カテゴリーあたり最大10シンボル、最大20カテゴリーを描画するため、インジケーターの動作が非常に重くなります。
設定のPerformance Settingsから読み込むBarsの数を減らすことで動作が少しだけ軽量になります。
#################### 設定の説明 ####################
Calculation Method
幾何平均と加重平均を選択できます。
Weightingにチェックを入れると「symbol*weight」となり、計算時にシンボルの重み付けが有効になります。
ROC Period
騰落率の計算期間を選択します。
計算期間中に新規上場または上場廃止したシンボルが含まれる場合、計算結果はNaNとなります。
Date and Time
チェックを入れると指定した日時からの騰落率を計算します。
Base Symbol Basis Chart
チェックを入れるとBase Symbolで設定したシンボル基準での騰落率を表示します。
Highlight
チェックを入れるとテキストボックスで指定した番号のカテゴリーのみがハイライトされます。
番号はカンマで区切ってください。
==================== Symbols Table Settings ====================
Symbols Table
チェックを入れると画面右側のSymbols Tableを表示します。
Select Category
選択した番号のカテゴリーに属するシンボルの騰落率を表示します。
Display Limit
チェックを入れると騰落率を全件表示から選択した件数の上位下位のみ表示に切り替えます。
Text Size
テーブルのテキストサイズを変更します。
==================== Category Table Settings ====================
Category Table
チェックを入れると画面左側のCategory Tableを表示します。
他の設定はSymbols Table Settingsと同様です。
==================== Category Settings ====================
Base Symbol
各カテゴリーの比較対象となるシンボルを設定します。
設定は左からON/OFFチェックボックス、シンボル名、色、ラインの太さです。
Category setting field
設定は左からON/OFFチェックボックス、カテゴリー名、色、ラインの太さ、下の段のテキストエリアはカテゴリーを構成するシンボルを入力します。
テキストエリアは、一行ごとに「symbol」または「symbol*weight」のように記述し、必ず改行を行ってください。
最大10シンボルまで登録可能で、11シンボル以上登録するとエラーになります。
==================== Color Settings ====================
Table Text
テーブルのテキストカラーです。
Table Background
テーブルの背景色です。
Positive
騰落率がプラスの時の表示色です。
Negative
騰落率がマイナスの時の表示色です。
Reset Line
チェックを入れると計算期間が切り替えるポイントに縦線を描画します。
Label Shift
Spaghetti Chartの右側に表示するカテゴリー名のラベル位置を指定します。
==================== Performance Settings ====================
Request Bars Count
騰落率計算時に呼び出すローソク足の本数です。
数値が小さいほど動作が軽量になるはずです。
Hezy Levels {Darkoexe}This indicator plots area's of hesitation as price levels on the chart or at least perceived areas of hesitation. I call them "hezy levels". Area's of hesitation are defined as being price levels where price usually has trouble displacing through. Either price will displace through them with hesitation or price will reject off that level.
Each hezy level starts with an attribute "chance" when they are first formed that has the value 3. If price breaks clean through a hezy level, the hezy levels integrity will decrease which will decrement chance by 1. If price rejects off a hezy level, the hezy levels integrity will increase which will increment chance by 1. All hezy levels start orange. If chance reaches a value of 5, it's corresponding hezy level will be changed to blue, if chance reaches a value of 1 its corresponding hezy level will be changed to pink, and if chance reaches a value of 0, the hezy level will be deleted with all its attributes.
Creating a hezy level:
After a candle close, if the script detects a clean rejection at a price point it will search up to 5000 bars back for the most recent area of rejection that happened at that same relative price point. If the script does find rejection at that price point, then the script will ensure that the potential hezy level is valid between the past rejecting price point and the current rejecting price point. If it is valid, the script then ensures the hezy level does not already exist at the relative specified price point, if it does no hezy level will be added. If it does not already exist, if there's a hezy level close to the price point, a new hezy level will be created between the price point and the hezy level and the upper, lower or both hezy level will be deleted.
Factors:
ATR same price factor is the range from a hezy level that is considered the same price level. The factor is multiplied with the ATR to determine the range.
ATR same hezy factor is the range from a hezy level that is considered the same hezy level. This means if there's another hezy level in that range, they are considered the same hezy level and will be merged. The factor is multiplied with the ATR to determine the range.
ATR same break hezy factor is the range from a hezy level where if the close of a candle and the open of a candle are outside the range, then the hezy level will have been considered broken. The factor is multiplied with the ATR to determine the range.
Hammer Ratio:
This indicator considers hammers/shooting stars for hesitation, so if one of these types of candles form near a hezy level, that hezy levels integrity may increase. The ratio is based on the size of the body compared to the entire candle top to bottom. If the body is entirely contained on one side of the candle with a margin of error of the ratio, then that candle will be considered a hammer or shooting star.
GapAura: Dynamic Gap [AstroHub]GapAura is a powerful indicator designed to analyze and visualize price gaps on your charts. It focuses on the key levels created by gaps between the open of the current day and the close of the previous day. The indicator connects these gap levels with trend-like lines, allowing traders to easily identify significant price movements and potential turning points in the market.
GapCloud automatically differentiates between upward and downward gaps, helping traders visualize important support and resistance levels that emerge following these gaps. The lines representing these gaps behave like trend lines, providing clear and actionable insights for market analysis. Unlike traditional gap indicators, GapCloud offers a dynamic approach to gap visualization, making it easier for traders to assess the impact of price gaps on future market movement.
How to Use:
Gap Up: When the open of the current day is higher than the close of the previous day, GapCloud draws a line connecting these two levels. This visualizes the gap upward and helps identify the trend direction, as well as potential support zones.
Gap Down: When the open of the current day is lower than the close of the previous day, the indicator draws a line that connects these levels, showing a downward gap. This can highlight potential resistance levels.
The lines for each gap are connected to form continuous trend-like levels, giving traders a clear picture of market structure. These lines can also be used to identify areas of strong support or resistance, and potential turning points where the price may reverse or continue in the same direction.
What Makes This Indicator Unique:
GapCloud stands out by transforming gaps into trend-like lines, offering more than just a simple visualization of the gap itself. By connecting the open and close levels of the current and previous day, it allows traders to see how these price differences can act as significant support or resistance levels. These lines help traders spot market trends and potential reversals more clearly, giving them an edge in making more informed trading decisions.
The ability to visualize gaps as trend lines gives traders a unique advantage in understanding market behavior. Gaps are not just seen as isolated events; they are integrated into the overall market structure and can provide critical insights into the potential price direction.
In addition to this, GapCloud offers a high degree of customization. Users can adjust the thickness, style, and color of the gap lines to fit their trading preferences and style. This makes the indicator adaptable to various types of trading strategies, from short-term to long-term analysis.
Key Features:
Identifies and visualizes gaps between the open of the current day and the close of the previous day.
Converts gap levels into trend-like lines, providing clarity and actionable insights for traders.
Helps identify potential support and resistance levels based on gap locations.
Fully customizable settings, including line thickness, style, and color, to suit individual trading preferences.
Provides a dynamic approach to gap analysis, helping traders forecast market direction and potential reversals with greater accuracy.
GapCloud is an essential tool for any trader looking to enhance their market analysis. By visualizing price gaps as connected trend lines, it simplifies the process of identifying key levels and market structure, giving traders an edge in understanding price movements and making more informed decisions.
MomentumQ BreadthMomentumQ Breadth Indicator
The MomentumQ Breadth Indicator is a powerful, user-friendly tool designed to help traders analyze market breadth for two major indices: S&P 500 and NASDAQ , with customizable time frames to suit various trading strategies. This indicator aims to provide valuable insights into market momentum, helping traders identify bullish, neutral, and bearish conditions with ease.
How It Works :
Index Selection :
Users can choose between S&P 500 and NASDAQ indices, allowing for flexibility in market analysis.
Time Period Customization :
Choose between 20-Day or 50-Day periods to analyze short-term or medium-term market breadth trends.
Dynamic Symbol Mapping :
The script dynamically fetches data for the selected index and time frame using TradingView's request.security() function.
Symbols used :
S&P 20-Day: S5TW
S&P 50-Day: S5FI
NASDAQ 20-Day: NDTW
NASDAQ 50-Day: NDFI
Key Features :
Dynamic Configuration :
Through intuitive dropdown menus, users can easily select their desired index and time period directly from the settings.
Visual Representation :
A clean, blue line plot represents the selected breadth data, dynamically updating based on user input.
Threshold Levels:
Horizontal lines mark key levels to interpret market sentiment:
Bullish (>70): Indicates strong upward momentum.
Neutral (50): Suggests balanced or uncertain market conditions.
Bearish (<30): Signals potential downward momentum.
User-Friendly Design :
No complex configurations required; the dropdown options make it simple to adapt the indicator to your needs.
Concepts and Calculations :
The indicator fetches market breadth data from predefined symbols based on the user’s selection. Breadth indicators measure the degree of participation in the market, offering valuable insights into overall market strength or weakness. This tool allows traders to identify overbought or oversold conditions and better understand the prevailing market trend.
How to Use :
Open the indicator settings.
Select the desired Index: Choose between "S&P" or "NASDAQ."
Select the desired Time Period: Choose between "20-Day" or "50-Day."
Observe the plotted breadth line and interpret it in conjunction with the threshold levels:
Bullish (>70): Momentum is strongly upward.
Neutral (50): Momentum is balanced or uncertain.
Bearish (<30): Momentum is strongly downward.
Incorporate the insights from this indicator into your trading strategy to better time entries, exits, or to confirm market trends.
Why It’s Useful :
The MomentumQ Breadth Indicator adds significant value to traders by:
Allowing flexible customization for different indices and time frames.
Providing clear thresholds for market sentiment to guide decision-making.
Offering a user-friendly interface suitable for traders of all levels.
OBV Divergence Indicator [TradingFinder] On-Balance Vol Reversal🔵 Introduction
The On-Balance Volume (OBV) indicator, introduced by Joe Granville in 1963, is a powerful technical analysis tool used to measure buying and selling pressure based on trading volume and price.
By aggregating trading volume—adding it on positive days and subtracting it on negative days—OBV creates a cumulative line that reflects market volume pressure, making it valuable for confirming trends, identifying entry and exit points, and forecasting potential price movements.
Divergences between price and OBV often provide significant signals. A bearish divergence occurs when the price forms higher highs while the OBV line forms lower highs. This discrepancy indicates that upward momentum is weakening, increasing the likelihood of a downward trend.
In contrast, a bullish divergence happens when the price makes lower lows, but the OBV line forms higher lows. This suggests increasing buying pressure and the potential for an upward trend reversal.
For instance, if the price is rising but the OBV trendline is falling, it may signal a bearish divergence, warning of a possible price decline. Conversely, if the price is falling while the OBV line is rising, this could signal a bullish divergence, indicating a possible price recovery. These signals are particularly useful for identifying market turning points.
OBV often acts as a leading indicator, moving ahead of price changes. For example, a rising OBV alongside stable or declining prices can signal an impending upward breakout.
Conversely, a declining OBV with rising prices may indicate that the current uptrend is losing strength. Traders using this strategy often consider entering positions at breakout levels while setting stop losses near recent swing highs or lows to manage risk effectively.
This integration highlights how OBV divergences can provide actionable insights for predicting price movements and managing trades efficiently.
Bullish Divergence :
Bearish Divergence :
🔵 How to Use
The OBV indicator, as a cumulative tool, assists analysts in comparing volume and price changes to identify new trends and key levels for entering or exiting trades. Beyond confirming existing trends, it is particularly effective in analyzing positive and negative divergences between price and volume, providing valuable signals for trading decisions.
🟣 Bullish Divergence
A bullish divergence occurs when the price continues its downward or stable trend, but the OBV line starts rising, forming a higher low compared to its previous low. This suggests increasing volume on up days relative to down days and often signals a reversal to the upside.
For instance, if an asset's price stabilizes near a support level but the OBV line shows an upward trend, this divergence could present an opportunity to enter a long position.
🟣 Bearish Divergence
A bearish divergence occurs when the price forms higher highs, but the OBV line declines, creating lower highs compared to previous peaks. This indicates decreasing volume on up days relative to down days and often acts as a warning for a reversal to the downside.
For example, if an asset’s price approaches a resistance level while OBV starts declining, this divergence may signal the beginning of a downtrend and could indicate a good time to exit long trades or enter short positions.
🔵 Setting
Period : The "Period" setting allows you to define the number of bars or intervals for "Periodic" and "EMA" modes. A shorter period captures more short-term movements, while a longer period smooths out the fluctuations and provides a broader view of market trends.
You can enable or disable labels to highlight key levels or divergences and tables to show numerical details like values and divergence types. These options allow for a customized chart display.
🔵 Table
The following table breaks down the main features of the oscillator. It covers four critical categories: Exist, Consecutive, Divergence Quality, and Change Phase Indicator.
Exist : If divergence is detected, a "+" will appear in this row.
Consecutive: Shows the number of consecutive divergences that have formed in a short period.
Divergence Quality : Evaluates the quality of the divergence based on the number of occurrences. One is labeled "Normal," two are "Good," and three or more are considered "Strong."
Change Phase Indicator : If a phase change is detected between two oscillation peaks, this is marked in the table.
🔵 Conclusion
The OBV (On Balance Volume) indicator is a simple yet effective tool in technical analysis that combines volume and price changes to provide a comprehensive view of market buying and selling pressure. By identifying positive and negative divergences, OBV enables analysts to detect early signs of trend reversals and refine their trading strategies.
Divergences in OBV often precede price changes, making it a leading indicator for predicting market movements. Using OBV alongside other technical tools can enhance decision-making accuracy and help traders identify better entry and exit points. However, it is essential to consider the limitations of OBV, such as the potential for signal errors and the impact of sudden news events.
Ultimately, OBV serves as a complementary tool in technical analysis, aiding in trend identification, signal confirmation, and risk management. A thoughtful application of this indicator, in combination with other analytical tools, can create valuable opportunities for profiting in financial markets.
Exponential Avg Body Size Green vs RedDescription :
This indicator calculates and plots the Exponential Moving Average (EMA) of green and red candlestick body sizes, allowing traders to easily visualize market momentum and sentiment shifts. The script includes the following features:
Customizable EMA Period: Users can set the number of candles to calculate the EMA through an input setting, with a default value of 21.
Separate Green and Red Candle Averages: Differentiates between bullish (green) and bearish (red) candlestick movements, plotting them as distinct lines.
Dynamic Range Control: Users can adjust the chart range (e.g., -50 to 50) for better visibility of the plotted lines.
Baseline for Reference: A horizontal baseline at 0 serves as a visual aid for easier interpretation.
Standalone Indicator Pane: The script is designed to display in a separate pane, preventing overlap with the price chart.
Use Case:
This indicator is ideal for traders seeking to analyze the relative strength of bullish versus bearish price movements over a specific period. The separation of green and red averages helps identify trends, potential reversals, or shifts in momentum.
ROC with AveragesMain Idea
This script provides traders with a comprehensive view of market momentum by calculating the Rate of Change (ROC) and categorizing its impact into averages of positive, negative, and total values.
Key Features
Rate of Change (ROC) Calculation: Measures the percentage change in closing prices over a user-defined period.
Categorical Averages:
Positive Average: Average ROC for upward movements.
Negative Average: Average ROC for downward movements.
Total Average: Aggregate average across all movements.
Dynamic Visualization: Plots ROC alongside its categorized averages for better trend analysis.
Benefits
Simplifies the evaluation of market trends by breaking down data into actionable insights.
Helps traders identify the strength of upward or downward movements.
Offers a clear visual representation for quick decision-making.
This structure highlights the purpose and value of the script while aligning with the Minto Pyramid Principle. Let me know if you'd like further refinements!
الفكرة الرئيسية
يوفر هذا السكربت للمتداولين رؤية شاملة لزخم السوق من خلال حساب معدل التغير (ROC) وتصنيفه إلى متوسطات القيم الإيجابية والسلبية والإجمالية.
المميزات الرئيسية
حساب معدل التغير (ROC): يقيس النسبة المئوية للتغير في أسعار الإغلاق خلال فترة محددة يختارها المستخدم.
المتوسطات التصنيفية:
المتوسط الإيجابي: متوسط معدل التغير للحركات الصعودية.
المتوسط السلبي: متوسط معدل التغير للحركات الهبوطية.
المتوسط الإجمالي: متوسط إجمالي يشمل جميع الحركات.
تصور ديناميكي: يعرض معدل التغير إلى جانب المتوسطات المصنفة لتسهيل تحليل الاتجاهات.
الفوائد
يبسط تقييم اتجاهات السوق من خلال تقسيم البيانات إلى رؤى قابلة للتنفيذ.
يساعد المتداولين على تحديد قوة الحركات الصعودية أو الهبوطية.
يقدم تمثيلاً بصرياً واضحاً لاتخاذ قرارات سريعة ودقيقة.
MERCURY-PRO by DrAbhiramSivprasd“MERCURYPRO”
The MERCURYPRO indicator is a custom technical analysis tool designed to provide dynamic trend signals based on a combination of the Chande Momentum Oscillator (CMO) and Standard Deviation (StDev). This indicator helps traders identify trend reversals or continuation based on the behavior of the price and momentum.
Key Features:
• Source Input: The indicator works with any price data, with the default set to close, which represents the closing price of each bar.
• Length Input: A period (default value 9) is used to determine the calculation window for the Chande Momentum Oscillator and Standard Deviation.
• Fixed CMO Length Option: Users can choose whether to use a fixed CMO length of 9 or adjust the length to the user-defined pds value.
• Calculation Method: The indicator allows switching between using the Chande Momentum Oscillator (CMO) or Standard Deviation (StDev) for the momentum calculation.
• Alpha: The smoothing factor used in the calculation of the MERCURYPRO value, which is based on the length of the period input (pds).
Core Calculation:
1. Momentum Calculation: The script calculates the momentum by determining the change in the source price (e.g., close) from one period to the next.
2. Chande Momentum Oscillator (CMO): The positive and negative momentum components are calculated and then summed over the specified period. This value is normalized to a percentage to determine the momentum strength.
3. K Value Calculation: The script selects either the CMO or Standard Deviation (depending on the user setting) to calculate the k value, which represents the dynamic price momentum.
4. MERCURYPRO Line: The final output of the indicator, MERCURYPRO, is computed using a weighted average of the k value and the previous MERCURYPRO value. The line is smoothed using the Alpha parameter.
Plot and Signal Generation:
• Color Coding: The line is color-coded based on the direction of MERCURYPRO:
• Blue: The trend is bullish (MERCURYPRO is rising).
• Maroon: The trend is bearish (MERCURYPRO is falling).
• Default Blue: Neutral or sideways market conditions.
• Plotting: The MERCURYPRO line is plotted with varying colors depending on the trend direction.
Alerts:
• Color Change Alert: The indicator has an alert condition based on when the MERCURYPRO line crosses its previous value. This helps traders stay informed about potential trend reversals or continuation signals.
Use Case:
• Trend Confirmation: Traders can use the MERCURYPRO indicator to identify whether the market is in a strong trend or not.
• Signal for Entries/Exits: The color change and crossovers of the MERCURYPRO line can be used as entry or exit signals, depending on the trader’s strategy.
Overall Purpose:
The MERCURYPRO indicator combines momentum analysis with smoothing techniques to offer a dynamic, responsive tool for identifying market trends and potential reversals. It is particularly useful in conjunction with other technical indicators to provide confirmation for trade setups.
How to Use the MERCURYPRO Indicator:
The MERCURYPRO indicator is designed to help traders identify trend reversals and market conditions. Here are a few ways you can use it:
1. Trend Confirmation (Bullish or Bearish)
• Bullish Trend: When the MERCURYPRO line is colored Blue, it indicates a rising trend, suggesting that the market is bullish.
• Action: You can consider entering long positions when the line turns blue, or holding your existing positions if you’re already long.
• Bearish Trend: When the MERCURYPRO line is colored Maroon, it signals a downward trend, indicating a bearish market.
• Action: You may consider entering short positions or closing any long positions when the line turns maroon.
2. Trend Reversal Alerts
• Color Change: The MERCURYPRO indicator changes color when there’s a trend reversal. The alert condition triggers when the MERCURYPRO crosses above or below its previous value, signaling a potential shift in the trend.
• Action: You can use this alert as a signal to monitor potential entry or exit points for trades. For example, a crossover from maroon to blue could indicate a potential buying opportunity, while a crossover from blue to maroon could suggest a selling opportunity.
3. Use with Other Indicators for Confirmation
• While the MERCURYPRO provides valuable trend insights, it’s often more effective when used in combination with other indicators like RSI (Relative Strength Index), MACD, or moving averages to confirm signals.
• Example: If MERCURYPRO turns blue and RSI is above 50, it may signal a strong bullish trend, enhancing the confidence to enter a long trade.
4. Divergence
• Watch for divergence between the MERCURYPRO line and the price chart:
• Bullish Divergence: If the price makes new lows while MERCURYPRO is showing higher lows, it suggests a potential bullish reversal.
• Bearish Divergence: If the price makes new highs while MERCURYPRO is showing lower highs, it suggests a potential bearish reversal.
Example of Use:
• Example 1: If the MERCURYPRO line changes from maroon to blue, you might enter a long position. After the MERCURYPRO line turns blue, use an alert to monitor the price action. If other indicators (like RSI) also suggest strength, your confidence in the trade will increase.
• Example 2: If the MERCURYPRO line shifts from blue to maroon, it could be a signal to close long positions and consider shorting the market if other conditions align (e.g., moving averages also turn bearish).
Warning for Using the MERCURYPRO Indicator:
1. Lagging Indicator:
• The MERCURYPRO is a lagging indicator, meaning it responds to price changes after they have occurred. This may delay entry and exit signals, and it’s crucial to combine it with other leading indicators to get timely information.
2. False Signals in Range-bound Markets:
• In choppy or sideways markets, the MERCURYPRO line can produce false signals, flipping between blue and maroon frequently without showing a clear trend. It’s important to avoid trading based on these false signals when the market is not trending.
3. Overreliance on One Indicator:
• Relying solely on MERCURYPRO can be risky. Always confirm signals with additional tools like volume analysis, price action, or other indicators to increase the accuracy of your trades.
4. Market Conditions Matter:
• The indicator may work well in trending markets, but in highly volatile or news-driven environments, it may provide misleading signals. Ensure that you take market fundamentals and external news events into consideration before acting on the indicator’s signals.
5. Risk Management:
• As with any technical indicator, MERCURYPRO is not infallible. Always use appropriate risk management techniques such as stop-loss orders to protect your capital. Never risk more than you can afford to lose on a trade.
6. Backtest First:
• Before implementing MERCURYPRO in live trading, make sure to backtest it on historical data. Test the strategy with various market conditions to assess its effectiveness and identify any potential weaknesses.
By considering these guidelines and warnings, you can use the MERCURYPRO indicator more effectively and mitigate potential risks in your trading strategy.
Index Trend MapThe Index Trend Map is a versatile and powerful tool designed to provide a sentiment heatmap for major market indices. This indicator tracks the average trend direction across multiple indices data points, including a default setting for S&P 500 Futures ( NYSE:ES ), Nasdaq 100 Futures ( SEED_ALEXDRAYM_SHORTINTEREST2:NQ ), Dow Jones Futures ( SEED_CRYPTOSLATE_VANTAGEPOINT:YM ), Russell 2000 Futures ( CAPITALCOM:RTY ) and traditionally inverse data points like the VIX– allowing traders to quickly assess overall market sentiment and make more informed trading decisions.
Key Features:
Sentiment Heatmap: Displays a color-coded heatmap for indices, with green indicating bullish sentiment and red indicating bearish sentiment. Each index’s sentiment is calculated on a scale from 0 to 100, with 50 as the neutral point.
Bullish/Bearish Percentages: Real-time calculations of the percentage of indices in bullish or bearish territory are displayed in a dynamic table for easy reference.
Tracks Major Indices: Monitors popular indices or their related futures contracts with the option to include custom tickers.
Inverse Sentiment Options: Allows users to invert sentiment calculations for specific symbols (e.g., VIX or DXY) to reflect their inverse relationship to broader market trends.
Customizable Moving Averages: Choose from SMA, EMA, WMA, or DEMA to tailor the trend calculation to your trading strategy.
Overlay Sentiment Colors on Candles: Option to display sentiment as green (bullish) or red (bearish) directly on price chart candles, enhancing market trend visibility.
Heatmap Visualization:
The heatmap assigns each index a sentiment score based on its calculated average.
Sentiment values above the 50 midline indicate bullish sentiment, while those below 50 indicate bearish sentiment.
Dynamic Table:
Located in the bottom right corner, this table displays real-time percentages of indices that are bullish and bearish. Example: If 4 out of 6 index data points are bullish, the table will show 66.6% bullish and 33.3% bearish.
Best Used For:
Intraday Traders: Assess real-time index sentiment during active market hours to make data-driven trading decisions.
Swing Traders: Monitor index trends over time to identify shifts in market sentiment and positioning opportunities.
Market Breadth Analysis: Identify broader market strength or weakness by analyzing multiple indices simultaneously.
Fair Value Gap DetectorHow this indicator works:
It detects two types of FVGs:
Bullish FVG: Occurs when the low of the current candle is higher than the high of the candle from 2 bars ago (creates an upward gap)
Bearish FVG: Occurs when the high of the current candle is lower than the low of the candle from 2 bars ago (creates a downward gap)
Features:
Allows users to toggle both bullish and bearish FVG detection independently
Customizable colors for both bullish (default green) and bearish (default red) FVGs
Visualizes FVGs using:
Boxes that highlight the gap area (with 80% transparency)
Labels that mark each FVG ("Bull FVG" or "Bear FVG")
Visual representation:
Bullish FVGs are marked with green boxes and downward-pointing labels
Bearish FVGs are marked with red boxes and upward-pointing labels
This indicator can be useful for :
Identifying potential areas where price might return to
Finding potential support and resistance zones
Understanding market structure and momentum shifts
[Linus] VWAO DeviationThe VWAP (Volume Weighted Average Price) Deviation Script is a sophisticated tool designed to help traders analyze the interplay between price and volume. By calculating deviations from the VWAP, it identifies critical support and resistance levels, enabling more informed trading decisions.
This script computes the VWAP based on a selected data source (defaulting to the closing price) and determines deviations above and below it using either the Average Deviation or Standard Deviation method. Users can customize their preference through the script's input settings. These deviations are visually plotted as bands on the chart, offering clear insights into areas where price may revert or break out.
A standout feature of the script is its Cross Count Monitor, which tracks how often the price crosses above the Upper Deviation Level 2 and below the Lower Deviation Level 2 within a user-defined lookback period. This data is displayed in a table at the bottom-right corner of the chart and can be toggled on or off via an input setting.
The Cross Count Monitor provides traders with valuable historical insights into the frequency of price interactions with deviation levels, helping to identify potential trading opportunities based on established price behaviors. This functionality makes the script an indispensable tool for traders seeking to enhance their market analysis and strategy development.
ATR Multi-Timeframe (Trend Direction + Current Levels) Indicator Name
ATR Multi-Timeframe (Trend Direction + Current Levels)
Description
This indicator helps you visualize support and resistance levels based on the Average True Range (ATR) and track the current trend direction across multiple timeframes (daily, weekly, and monthly). It is a valuable tool for traders looking to enhance decision-making and market volatility analysis.
Key Features
Multi-Timeframe ATR Analysis:
Calculates the Average True Range (ATR) and True Range (TR) for daily, weekly, and monthly timeframes.
Trend Direction Indicators:
Displays trend direction using arrows (▲ for uptrend, ▼ for downtrend) with color-coded labels (green for uptrend, red for downtrend).
Support and Resistance Levels:
Dynamically calculates trend levels (Open ± ATR) and opposite levels for each timeframe.
Persistent lines extend these levels into the future for better visualization.
Customizable Settings:
Toggle visibility of daily, weekly, and monthly levels.
Adjust line width and colors for each timeframe.
Summary Table:
Displays a compact table showing ATR percentages, TR percentages, and trend direction for all timeframes.
Why Use This Indicator?
Quickly identify key support and resistance levels across different timeframes.
Understand market volatility through ATR-based levels.
Spot trends and reversals with easy-to-read visual elements.
How to Use:
Add the indicator to your chart.
Enable or disable specific timeframes (Daily, Weekly, Monthly) in the settings.
Adjust line styles and colors to match your preferences.
Use the displayed levels to plan entry/exit points or manage risk.
This indicator is perfect for both swing and intraday traders who want a clear and dynamic view of volatility and trend across multiple timeframes.
Continuous Multi-Factor Trend Oscillator with Rolling Liquidity
// **Overview**
This script generates a *Continuous Multi-Factor Trend Oscillator* that integrates multiple market dynamics, including **long-term trends**, **short-term trends**, **volume adjustments**, **volatility factors**, **ADX trend strength**, and **rolling liquidity**. The result is a smooth, dynamic oscillator that reflects comprehensive market conditions.
### **Key Features**
1. **Long-Term Trend Score (LT Score)**: Measures the deviation of price from its EMA, normalized by standard deviation. Captures broad trend direction.
2. **Short-Term Trend Score (ST Score)**: Evaluates the slope of a short-period EMA, normalized by ATR, to reflect shorter-term momentum.
3. **Volume Adjustment**: Adjusts trend scores based on the relative volume compared to its moving average.
4. **Volatility Adjustment**: Incorporates ATR into the scoring system, penalizing or boosting scores based on current volatility compared to historical norms.
5. **ADX Trend Strength**: Uses ADX to identify trend strength, scaling scores positively or negatively depending on whether the market is trending or ranging.
6. **Rolling Liquidity**: Analyzes persistent buying or selling pressure by aggregating net buy/sell liquidity over a rolling lookback period.
### **Calculation Workflow**
- **Inputs**: Configurable parameters like long/short periods, ATR period, ADX smoothing, and volume lookback.
- **Trend Scores**: LT and ST scores are computed separately to capture trend dynamics across different timeframes.
- **Adjustments**: Volume, volatility, ADX, and rolling liquidity adjustments are calculated and scaled appropriately.
- **Final Oscillator**: Combines all scores into a single value and applies smoothing for clarity.
### **How It Works**
1. *Long-Term and Short-Term Trends*: Trend scores are calculated based on EMAs and normalized using standard deviation or ATR.
2. *Volume and Liquidity Factors*: Incorporates net up/down volume and liquidity to reflect market participation levels.
3. *ADX Strength*: Distinguishes trending vs. ranging markets, influencing the oscillator direction accordingly.
4. *Final Output*: All factors are combined into a single oscillator, smoothed using an EMA.
### **Visualization**
- The oscillator is plotted as a continuous line with dynamic scaling:
- **Above 75**: *Very Bullish*
- **Below -75**: *Very Bearish*
- **Threshold Levels (50/-50, 10/-10)**: Provide additional interpretative guidance.
- **Labels**: Displays sentiment at the last bar for quick reference (e.g., *Strongly Bullish*, *Neutral*).
### **Use Cases**
- Ideal for identifying market conditions (bullish, bearish, neutral) based on multiple factors.
- Can serve as a confirmation tool alongside price action or other indicators.
### **Customizable Parameters**
- All periods (e.g., long-term, short-term, ATR, ADX) and lookbacks are adjustable, allowing fine-tuning based on market behavior and trading preferences.
How to use:
Volume Delta Candles HTF [TradingFinder] LTF Volume Candles 🔵 Introduction
In financial markets, understanding the concepts of supply and demand and their impact on price movements is of paramount importance. Supply and demand, as fundamental pillars of economics, reflect the interaction between buyers and sellers.
When buyers' strength surpasses that of sellers, demand increases, and prices tend to rise. Conversely, when sellers dominate buyers, supply overtakes demand, causing prices to drop. These interactions play a crucial role in determining market trends, price reversal points, and trading decisions.
Volume Delta Candles offer traders a practical way to visualize trading activity within each candlestick. By integrating data from lower timeframes or live market feeds, these candles eliminate the need for standalone volume indicators.
They present the proportions of buying and selling volume as intuitive colored bars, making it easier to interpret market dynamics at a glance. Additionally, they encapsulate critical metrics like peak delta, lowest delta, and net delta, allowing traders to grasp the market's internal order flow with greater precision.
In financial markets, grasping the interplay between supply and demand and its influence on price movements is crucial for successful trading. These fundamental economic forces reflect the ongoing balance between buyers and sellers in the market.
When buyers exert greater strength than sellers, demand dominates, driving prices upward. Conversely, when sellers take control, supply surpasses demand, and prices decline. Understanding these dynamics is essential for identifying market trends, pinpointing reversal points, and making informed trading decisions.
Volume Delta Candles provide an innovative method for evaluating trading activity within individual candlesticks, offering a simplified view without relying on separate volume indicators. By leveraging lower timeframe or real-time data, this tool visualizes the distribution of buying and selling volumes within a candle through color-coded bars.
This visual representation enables traders to quickly assess market sentiment and understand the forces driving price action. Buyer and seller strength is a critical concept that focuses on the ratio of buying to selling volumes. This ratio not only provides insights into the market's current state but also serves as a leading indicator for detecting potential shifts in trends.
Traders often rely on volume analysis to identify significant supply and demand zones, guiding their entry and exit strategies. Delta Candles translate these complex metrics, such as Maximum Delta, Minimum Delta, and Final Delta, into an easy-to-read visual format using Japanese candlestick structures, making them an invaluable resource for analyzing order flows and market momentum.
By merging the principles of supply and demand with comprehensive volume analysis, tools like the indicator introduced here offer unparalleled clarity into market behavior. This indicator calculates the relative strength of supply and demand for each candlestick by analyzing the ratio of buyers to sellers.
🔵 How to Use
The presented indicator is a powerful tool for analyzing supply and demand strength in financial markets. It helps traders identify the strengths and weaknesses of buyers and sellers and utilize this information for better decision-making.
🟣 Analyzing the Highest Volume Trades on Candles
A unique feature of this indicator is the visualization of price levels with the highest trade volume for each candlestick. These levels are marked as black lines on the candles, indicating prices where most trades occurred. This information is invaluable for identifying key supply and demand zones, which often act as support or resistance levels.
🟣 Trend Confirmation
The indicator enables traders to confirm bullish or bearish trends by observing changes in buyer and seller strength. When buyer strength increases and demand surpasses supply, the likelihood of a bullish trend continuation grows. Conversely, decreasing buyer strength and increasing seller strength may signal a potential bearish trend reversal.
🟣 Adjusting Timeframes and Calculation Methods
Users can customize the indicator's candlestick timeframe to align with their trading strategy. Additionally, they can switch between moving average and current candle modes to achieve more precise market analysis.
This indicator, with its accurate and visual data display, is a practical and reliable tool for market analysts and traders. Using it can help traders make better decisions and identify optimal entry and exit points.
🔵 Settings
Lower Time Frame Volume : This setting determines which timeframe the indicator should use to identify the price levels with the highest trade volume. These levels, displayed as black lines on the candlesticks, indicate prices where the most trades occurred.
It is recommended that users align this timeframe with their primary chart’s timeframe.
As a general rule :
If the main chart’s timeframe is low (e.g., 1-minute or 5-minute), it is better to keep this setting at a similarly low timeframe.
As the main chart’s timeframe increases (e.g., daily or weekly), it is advisable to set this parameter to a higher timeframe for more aligned data analysis.
Cumulative Mode :
Current Candle : Strength is calculated only for the current candlestick.
EMA (Exponential Moving Average) : The strength is calculated using an exponential moving average, suitable for identifying longer-term trends.
Calculation Period : The default period for the exponential moving average (EMA) is set to 21. Users can modify this value for more precise analysis based on their specific requirements.
Ultra Data : This option enables users to view more detailed data from various market sources, such as Forex, Crypto, or Stocks. When activated, the indicator aggregates and displays volume data from multiple sources.
🟣 Table Settings
Show Info Table : This option determines whether the information table is displayed on the chart. When enabled, the table appears in a corner of the chart and provides details about the strength of buyers and sellers.
Table Size : Users can adjust the size of the text within the table to improve readability.
Table Position : This setting defines the table’s placement on the chart.
🔵 Conclusion
The indicator introduced in this article is designed as an advanced tool for analyzing supply and demand dynamics in financial markets. By leveraging buyer and seller strength ratios and visually highlighting price levels with the highest trade volume, it aids traders in identifying key market zones.
Key features, such as adjustable analysis timeframes, customizable calculation methods, and precise volume data display, allow users to tailor their analyses to market conditions.
This indicator is invaluable for analyzing support and resistance levels derived from trade volumes, enabling traders to make more accurate decisions about entering or exiting trades.
By utilizing real market data and displaying the highest trade volume lines directly on the chart, it provides a precise perspective on market behavior. These features make it suitable for both novice and professional traders aiming to enhance their analysis and trading strategies.
With this indicator, traders can gain a better understanding of supply and demand dynamics and operate more intelligently in financial markets. By combining volume data with visual analysis, this tool provides a solid foundation for effective decision-making and improved trading performance. Choosing this indicator is a significant step toward refining analysis and achieving success in complex financial markets.
Support and Resistance TrendlinesStrategy:
Support: Identified as the lowest low over a specific period.
Resistance: Identified as the highest high over a specific period.
Dynamic Trendlines: We’ll use the concept of a rolling window to calculate the highest highs and lowest lows over the last n bars (you can adjust the number of bars for more sensitivity).
Explanation:
Lookback Period (length): The number of bars over which we calculate the support and resistance levels. You can adjust this value depending on the timeframe and the sensitivity you want for the trendlines.
Resistance: This is the highest high over the length of bars. We use ta.highest(high, length) to find the highest high within the specified lookback period.
Support: This is the lowest low over the length of bars. We use ta.lowest(low, length) to find the lowest low within the specified lookback period.
Plotting the Lines:
We plot the support and resistance as horizontal lines on the chart using plot().
Additionally, we create dynamic trendlines that update automatically with each new bar. The line.new function creates lines that can be modified dynamically as new price data comes in.
Line Persistence:
The line functions are used to create horizontal lines that persist across bars. The trendlines adjust their position as the bars move forward.
How It Works:
This indicator will automatically detect the highest and lowest prices over the last n bars and draw support (green line) and resistance (red line) levels on the chart.
The trendlines will adjust as the market evolves and provide visual reference points for potential areas of price reversal.
How to Use This Script:
Copy and paste the Pine Script code into the Pine Script Editor on TradingView.
Save the script, and then add it to your chart.
Adjust the Lookback Period input to suit your trading strategy and timeframe.
The support and resistance levels will be drawn dynamically, and the lines will update as new bars form.
Customizations:
You can modify the number of bars (length) used to calculate support and resistance, depending on the timeframes you're interested in.
If you need more advanced trendline drawing (such as drawing trendlines between significant high/low points or automatic adjustment to more complex patterns), you might need to implement more advanced logic using peaks and valleys or price action patterns.
Let me know if you need any further adjustments!
Alert Kabi Family Unlimited Alarm indicator for any time frame and any type of currency, stock and index
اندییکاتور آلارم نامحدود برای هر تایم فریم و هر شاخص و ارز و سهام
Settings :
1- Before starting, clear all alarms in the trading view alarm section
2- Specify your alarm areas and currency pairs in the indicator settings section
3- Go to the trading view alarm section, click create alert, select the name of the indicator and click OK
4- Good Luck
T e L : @Ar3781
1- قبل از شروع تمام آلارم های تریدینگ ویو را پاک کنید
2- در قسمت تنظیمات اندیکاتور نواحی آلارم و جفت ارز خود را مشخص کنید
3- به قسمت الارم تریدینگ ویو رفته ایجاد هشدار را زده و اسم اندیکاتور را انتخاب کنید و اوکی کنید
4- مـــــــوفق بــــــاشـید
Cumulative volume analysisAfter user define the ragion area. While break out the region area, you can try this indicator to notice when the power is ended and maybe reverse the trend.
1. The user enters the start time, and end time
2. The indicator will record the highest, lowest price, and cumulative amount during this period.
The cumulative amount is calculated by adding up the amount of each K bar, regardless of whether it rises or falls.
3. When the cumulative amount is reduced to less than or equal to 0, make a plotshape arrow
4.There are two diferent method to record the volume. Try the better way to different product.
Custom RSI & MACD Momentum Entry SignalsIndicator Explanation: Custom RSI & MACD Momentum Entry Signals
Introduction
The "Custom RSI & MACD Momentum Entry Signals" indicator combines the Relative Strength Index (RSI) and the Moving Average Convergence Divergence (MACD) to generate precise long and short entry signals. This indicator offers a powerful combination of overbought/oversold zones, momentum analysis, and RSI-EMA crossovers to assist traders in making better decisions.
How the Indicator Works
1. RSI Calculation and EMA
The RSI is calculated based on the closing price with an adjustable period (default: 14).
An Exponential Moving Average (EMA) of the RSI (default: 9) is plotted to identify RSI trend changes.
When the RSI crosses its EMA upwards, it signals a bullish impulse. Conversely, a downward cross indicates a bearish impulse.
2. MACD Calculation and Momentum Shifts
The MACD line is derived from the difference between a fast EMA (default: 12) and a slow EMA (default: 26).
The Signal line is the EMA of the MACD line (default: 9).
The MACD histogram represents the difference between the MACD line and the Signal line.
Momentum shifts are detected as follows:
Weakening Bearish: Histogram is negative but increasing (less bearish pressure).
Strengthening Bullish: Histogram is positive and rising.
Weakening Bullish: Histogram is positive but decreasing.
Strengthening Bearish: Histogram is negative and falling.
Signal Generation
Long Signals
A Long signal is triggered when all of the following conditions are met:
The RSI was previously below 30 (oversold condition).
MACD momentum shifts from "strengthening bearish" to "weakening bearish" or turns bullish.
The RSI crosses its EMA upwards.
A green upward arrow is displayed below the bar, and the background is lightly shaded green for additional visualization.
Short Signals
A Short signal is triggered when all of the following conditions are met:
The RSI was previously above 70 (overbought condition).
MACD momentum shifts from "strengthening bullish" to "weakening bullish" or turns bearish.
The RSI crosses its EMA downwards.
A red downward arrow is displayed above the bar, and the background is lightly shaded red for additional visualization.
Visual Elements
RSI and EMA:
The RSI is shown in purple.
The RSI EMA is shown in blue.
Horizontal lines at 30 (oversold) and 70 (overbought) provide additional context.
MACD:
The MACD line is displayed in blue.
The Signal line is displayed in orange.
The zero line is added for easier interpretation.
Signals:
Green arrows: Long signals.
Red arrows: Short signals.
Background color: Light green for long conditions, light red for short conditions.
Use Cases
This indicator is ideal for:
Trend Followers: Combining RSI and MACD allows traders to identify entry points during impulsive trend shifts.
Swing Traders: Long and short signals can be used at reversal points to capture short-term price movements.
Momentum Traders: By considering MACD momentum, the indicator provides additional confidence in signal generation.
Customizable Settings
The indicator provides flexible input options:
RSI Period (default: 14)
RSI EMA Period (default: 9)
MACD Parameters: Fast, slow, and signal EMAs can be adjusted.
Conclusion
The Custom RSI & MACD Momentum Entry Signals indicator is a powerful tool for traders looking to combine RSI and MACD to identify high-probability entry signals. With clear visualization and precise signal generation, traders can make decisions more efficiently and capitalize on market movements.
Cryptocurrency SentimentOverview
This script focuses on calculating and visualizing the sentiment difference between LONG positions and SHORT positions for a selected cryptocurrency pair on the Bitfinex exchange. It provides a clean and clear visual representation of the sentiment, helping traders analyze market behavior.
Key Features
Dynamic Symbol Selection:
The script automatically detects the cryptocurrency symbol from the chart (syminfo.basecurrency) and dynamically constructs the LONGS and SHORTS ticker symbols.
Works seamlessly for pairs like BTCUSD, ETHUSD, and others available on Bitfinex.
Sentiment Calculation:
The sentiment difference is calculated as:
Sentiment Difference=−1×(100− SHORTS/LONGS ×100)
LONGS : The total number of long positions.
SHORTS : The total number of short positions.
If SHORTS is 0, the value is safely skipped to avoid division errors.
Color Coding:
The script visually highlights the sentiment difference:
Green Line: Indicates that LONG positions are dominant (bullish sentiment).
Red Line: Indicates that SHORT positions are dominant (bearish sentiment).
Zero Reference Line:
A gray horizontal line at 0 helps users quickly identify the transition between bullish (above zero) and bearish (below zero) sentiment.
How It Works
Fetching Data:
The script uses request.security to fetch LONGS and SHORTS data at the current chart timeframe (timeframe.period) for the dynamically generated Bitfinex tickers.
Handling Data:
Missing or invalid data (NaN) is filtered out to prevent errors.
Extreme spikes or irregular values are safely avoided.
Visualization:
The sentiment difference is plotted with dynamic color coding:
Green when LONGS > SHORTS (bullish sentiment).
Red when SHORTS > LONGS (bearish sentiment).
Benefits
Market Sentiment Insight: Helps traders quickly identify if the market is leaning towards bullish or bearish sentiment based on actual LONG and SHORT position data.
Dynamic and Adaptive: Automatically adjusts to the selected cryptocurrency symbol on the chart.
Clean Visualization: Focuses solely on sentiment difference with color-coded signals, making it easy to interpret.
Best Use Cases
Trend Confirmation: Use the sentiment difference to confirm trends during bullish or bearish moves.
Market Reversals: Identify potential reversals when sentiment shifts from positive (green) to negative (red) or vice versa.
Sentiment Monitoring: Monitor the overall market bias for cryptocurrencies like BTC, ETH, XRP, etc., in real-time.
Sample Chart Output
Above Zero → Green Line: Bullish sentiment dominates.
Below Zero → Red Line: Bearish sentiment dominates.
Zero Line → Transition point for shifts in sentiment.
Johnny The Scalper - Momentum/Speed [by Oberlunar]The Johnny The Scalper indicator is designed to provide scalpers with insights into market momentum and speed dynamics by analyzing the price movement within candles. It calculates the "candle speed," defined as the range of a candle (high minus low) divided by the elapsed time in seconds since the candle opened. Users can customize the distance for comparison by specifying how many candles back the indicator should look when calculating the speed difference (`Diff`).
The script retrieves the speed of the specified candle from the past (`candle_speed_x`) and compares it to the speed of the current candle, calculating the difference (`speed_difference`). The indicator also identifies whether the current candle and the candle from the past are bullish (green) or bearish (red), using this information to interpret the dynamics of the difference.
If the difference is negative, it means the current candle's speed is slower than the reference candle's speed. A negative difference combined with candles of the same direction suggests a slowdown, while candles of opposite directions indicate a slowing reversal. A positive difference suggests that the current candle is faster. If the candles have the same direction, it signifies an acceleration in the current trend; if their directions differ, it indicates a faster reversal.
The results are displayed graphically as labels on the chart. Labels above the candles show the difference Diff with color-coded backgrounds based on the calculated dynamics:
orange for a slowdown in the same direction,
red for a slowing reversal,
green for acceleration in the same direction,
and blue for a faster reversal.
An additional label below the candle optionally displays the current candle's speed in real time. This indicator helps scalpers identify momentum shifts and potential reversals in a highly customizable manner, adapting to different trading strategies and timeframes.
[LUCAS] Pivot Points High Low & Missed Reversal Levels English:
Pivot Points High Low & Missed Reversal Levels Indicator
This TradingView indicator is designed to identify and highlight significant pivot points on the price chart, focusing on high and low levels that might indicate key price levels for potential reversals. It uses historical price data to calculate the pivot points based on high and low values, which traders can use to spot market turning points and make informed trading decisions.
The indicator also includes "Missed Reversal Levels," which are levels where the market previously reversed, but the price didn’t fully reach these levels again, indicating potential future reversal points. These levels are important for identifying price zones that may become support or resistance in the future.
Key Features:
Calculation of pivot points based on high and low levels.
Identification of missed reversal levels, which are critical for predicting future price movements.
Visual markers on the chart to highlight these significant levels for easier analysis.
Português:
Indicador Pontos de Pivô Alta Baixa e Níveis de Reversão Perdidos
Este indicador do TradingView foi desenvolvido para identificar e destacar pontos de pivô significativos no gráfico de preços, com foco nos níveis altos e baixos que podem indicar níveis-chave de preço para possíveis reversões. Ele usa dados históricos de preços para calcular os pontos de pivô com base nos valores máximos e mínimos, o que os traders podem usar para identificar pontos de reversão do mercado e tomar decisões de negociação informadas.
O indicador também inclui "Níveis de Reversão Perdidos", que são níveis onde o mercado reverteu anteriormente, mas o preço não atingiu completamente esses níveis novamente, indicando potenciais pontos de reversão futuros. Esses níveis são importantes para identificar zonas de preço que podem se tornar suporte ou resistência no futuro.
Principais Características:
Cálculo dos pontos de pivô com base nos níveis altos e baixos.
Identificação de níveis de reversão perdidos, críticos para prever futuros movimentos de preço.
Marcadores visuais no gráfico para destacar esses níveis significativos para facilitar a análise.
Español:
Indicador Puntos de Pivote Alto Bajo y Niveles de Reversión Perdidos
Este indicador de TradingView está diseñado para identificar y resaltar puntos de pivote significativos en el gráfico de precios, enfocándose en los niveles altos y bajos que podrían indicar puntos clave de precio para posibles reversiones. Utiliza datos históricos de precios para calcular los puntos de pivote basados en los valores altos y bajos, que los traders pueden usar para detectar puntos de reversión del mercado y tomar decisiones comerciales informadas.
El indicador también incluye los "Niveles de Reversión Perdidos", que son niveles en los que el mercado se invirtió previamente, pero el precio no alcanzó completamente esos niveles nuevamente, indicando puntos de reversión futuros potenciales. Estos niveles son importantes para identificar zonas de precio que pueden convertirse en soporte o resistencia en el futuro.
Características Principales:
Cálculo de puntos de pivote basados en los niveles altos y bajos.
Identificación de niveles de reversión perdidos, cruciales para predecir futuros movimientos de precios.
Marcadores visuales en el gráfico para resaltar estos niveles significativos para un análisis más fácil.