Trend Spotter - Bidirectional Credit Spread StrategyTrend Spotter – Bidirectional Credit Spread Strategy
🔍 Identify Market Trends with Confidence
Trend Spotter is a powerful trading strategy designed to help traders pinpoint high-conviction trade opportunities by analyzing key market indicators. Instead of relying on a single signal, this strategy sequentially checks multiple conditions to confirm market direction before entering a trade.
How It Works:
✅ Market Sentiment Check – You manually assess whether the broader market is favorable for trading.
✅ Trend Confirmation Using Multiple Indicators:
1️⃣ VOLD Ratio – Measures market volume trends.
2️⃣ Advance-Decline Line (ADD) – Gauges overall market strength.
3️⃣ TICK Index – Tracks intraday market momentum.
4️⃣ Bollinger Band Squeeze (BB/KC) – Detects periods of low volatility before potential breakouts.
5️⃣ VWAP (Volume-Weighted Average Price) – Confirms trade direction.
6️⃣ ATR Stop Loss – Helps set dynamic risk levels.
7️⃣ MACD Crossover – Confirms momentum shifts.
Entry & Exit Rules:
📈 Trade Entries – The strategy automatically enters long (PUT) or short (CALL) positions based on user-defined account allocation once enough signals align.
📉 Trade Exits – Positions close based on:
✔ Target Profit – % increase/decrease in value or key indicator levels.
✔ Trailing Stop – Locks in profits dynamically.
✔ Stop Loss – % decrease/increase, VWAP breach, or ATR signal.
What You’ll See on the Chart:
🔢 Indicator Count – Instead of cluttering the chart with multiple indicators, a number is displayed below each candlestick, showing how many conditions are met.
🚀 Trade Signals – Buy/Sell triggers appear when enough criteria align.
📊 Profit & Stop Levels – Clearly marked target profit and stop-loss zones.
📌 Real-Time Market Data Box – Displays live values for VOLD, TICK, and ADD Line.
Who This Is For:
✅ Traders who want data-backed confirmations before entering trades.
✅ Those looking for automated trade execution based on market conditions.
✅ Anyone wanting clear, uncluttered signals for decision-making.
Important Disclaimer:
⚠️ For Research Purposes Only – This script is designed for educational and research purposes. It is not financial advice. Traders should conduct their own analysis and trade at their own risk. I am not responsible for any financial decisions based on this script.
🔎 Tags: #TrendSpotter #OptionsTrading #TradingStrategy #MACD #VWAP #BollingerBands #Volatility #MarketMomentum #ATR #DayTrading #SwingTrading
Volume
Bidirectional Credit Spread StrategyTrend Spotter – Bidirectional Credit Spread Strategy
🔍 Identify Market Trends with Confidence
Trend Spotter is a powerful trading strategy designed to help traders pinpoint high-conviction trade opportunities by analyzing key market indicators. Instead of relying on a single signal, this strategy sequentially checks multiple conditions to confirm market direction before entering a trade.
How It Works:
✅ Market Sentiment Check – You manually assess whether the broader market is favorable for trading.
✅ Trend Confirmation Using Multiple Indicators:
1️⃣ VOLD Ratio – Measures market volume trends.
2️⃣ Advance-Decline Line (ADD) – Gauges overall market strength.
3️⃣ TICK Index – Tracks intraday market momentum.
4️⃣ Bollinger Band Squeeze (BB/KC) – Detects periods of low volatility before potential breakouts.
5️⃣ VWAP (Volume-Weighted Average Price) – Confirms trade direction.
6️⃣ ATR Stop Loss – Helps set dynamic risk levels.
7️⃣ MACD Crossover – Confirms momentum shifts.
Entry & Exit Rules:
📈 Trade Entries – The strategy automatically enters long (PUT) or short (CALL) positions based on user-defined account allocation once enough signals align.
📉 Trade Exits – Positions close based on:
✔ Target Profit – % increase/decrease in value or key indicator levels.
✔ Trailing Stop – Locks in profits dynamically.
✔ Stop Loss – % decrease/increase, VWAP breach, or ATR signal.
What You’ll See on the Chart:
🔢 Indicator Count – Instead of cluttering the chart with multiple indicators, a number is displayed below each candlestick, showing how many conditions are met.
🚀 Trade Signals – Buy/Sell triggers appear when enough criteria align.
📊 Profit & Stop Levels – Clearly marked target profit and stop-loss zones.
📌 Real-Time Market Data Box – Displays live values for VOLD, TICK, and ADD Line.
Who This Is For:
✅ Traders who want data-backed confirmations before entering trades.
✅ Those looking for automated trade execution based on market conditions.
✅ Anyone wanting clear, uncluttered signals for decision-making.
Important Disclaimer:
⚠️ For Research Purposes Only – This script is designed for educational and research purposes. It is not financial advice. Traders should conduct their own analysis and trade at their own risk. I am not responsible for any financial decisions based on this script.
🔎 Tags: #TrendSpotter #OptionsTrading #TradingStrategy #MACD #VWAP #BollingerBands #Volatility #MarketMomentum #ATR #DayTrading #SwingTrading
Combined Up down with volumeDescription of the Script: "Combined Up Down with Volume"
This Pine Script v5 indicator is designed to analyze price movements, volume conditions, and trend direction using moving averages (MA). It overlays key indicators on the chart to help traders identify potential signals based on price momentum and volume levels.
Key Features & Functionality:
1. User Inputs
use → Enables or disables the combination of momentum and volume conditions.
vol → Defines the minimum volume threshold (default: 1,000,000).
per → Specifies the minimum price change percentage (default: 5%).
2. Momentum & Volume Conditions
Rate of Change (ROC) Check:
Uses ta.roc(close, 1), measuring the percentage change in price over one bar.
If the absolute value of ROC is greater than or equal to the input percentage, it triggers a signal.
Volume Check:
If the volume of the current candle is greater than or equal to the specified threshold, it triggers a signal.
Plot Signals (Circles Below Candles):
If use = false:
ROC-based condition → Plots a circle below bars where the price change meets the threshold.
Volume-based condition → Plots a circle for bars where the volume exceeds the threshold.
If use = true:
Plots a small purple circle only when both conditions (ROC & Volume) are met.
3. Moving Averages (Trend Analysis)
20-period SMA (ma20) → Short-term trend indicator.
50-period SMA (ma50) → Medium-term trend indicator.
Color-coded 20-period SMA:
If the SMA is rising for 3 bars, it is Green (Uptrend).
If the SMA is falling for 3 bars, it is Red (Downtrend).
Otherwise, it is Gray (Neutral/Sideways market).
Both 20 and 50 SMAs are plotted on the chart, helping traders identify crossovers and overall trend direction.
Use Case:
This indicator helps traders spot: ✅ Strong price movements (+/- 5%) along with high volume, which could indicate breakouts or reversals.
✅ Trends & momentum shifts using color-coded moving averages.
✅ Potential trading opportunities when volume and momentum align.
db.Volume Spike IndicatorAn indicator that finds the average volume of the previous 10 candles and compares it with the volume of the last closed candle. If the volume of the last candle is 5 times the average of the last 10 candles, it marks this candle with a yellow symbol above or below the candle, depending on the direction of the candle.
=====
Индикатор, который находит среднее значение объём предыдущих 10 свечей и сравнивает его с объёмом последней закрытой свечи. Если объём последней свечи в 5 раз больше среднего за последние 10, то помечает эту свечу жёлтым символом над или под свечой в зависимости от направления свечи.
Volume Order Blocks [BigBeluga]Key Elements of the Script:
Indicator Setup:
The script is set up as an indicator (indicator("Volume Order Blocks ") and overlays it on the chart.
The script has a maximum of 500 lines, 500 labels, and a 5000-bar history limit to ensure performance.
Inputs:
length1 and length2: Used for the EMA calculations.
mid_l: Toggles the display of the midline (between the upper and lower order blocks).
trend_shadow: Controls whether a gradient color is applied to indicate trend strength.
col1 and col2: Define the colors for the order blocks (green for bullish, red for bearish).
EMA and Crossover Logic:
EMA Calculation: It calculates two EMAs with different periods (length1 and length2).
Crossover Logic:
A bullish crossover occurs when the 10-period EMA crosses above the 20-period EMA (cross_up).
A bearish crossover happens when the 10-period EMA crosses below the 20-period EMA (cross_dn).
Order Block Detection:
Bullish Order Blocks (lower_lvl): When a low price is detected and the volume is accumulated, it identifies a potential support level.
Bearish Order Blocks (upper_lvl): When a high price is detected, and volume accumulates, it identifies a potential resistance level.
For both bullish and bearish order blocks, the script tracks the volume at each level and calculates the mid-line, which is the average of the order block's highest and lowest prices.
Volume Analysis:
The script collects volume data for both bullish and bearish order blocks and calculates the percentage of volume associated with each block relative to the total volume of all blocks.
The volume is displayed on the chart as a label next to each order block, providing the volume in percentage and absolute terms.
Order Block Visualization:
For each bullish or bearish order block:
Upper and Lower Lines: Represent the potential resistance and support levels.
Midline: A dashed line between the upper and lower bounds (if enabled via mid_l).
Volume Label: Displays the volume associated with the block.
Line Fill: Adds a shaded fill between the upper and lower lines of each order block.
Removal of Overlapping and Crossed Order Blocks:
The script removes order blocks that overlap or are crossed by the price action.
It also deletes previous drawings when new data is generated to keep the chart clean.
Trend Shadow Coloring:
The background of the chart is shaded with a color gradient (color_trend) based on the difference between the two EMAs.
This provides a visual indication of trend strength — green for bullish and red for bearish.
How to Use the Script:
Add to TradingView:
Copy the entire script.
Go to the Pine Editor in TradingView and paste the script.
Click on "Add to Chart" to apply the indicator.
Visualizing Order Blocks:
Bullish order blocks are shown in green with shaded fills.
Bearish order blocks are shown in red with shaded fills.
The mid-line (if enabled) is displayed as a dashed line between the upper and lower lines of each order block.
Volume percentages and absolute values are displayed as labels.
Configuring the Indicator:
You can adjust the sensitivity of order block detection via the length1 and length2 parameters.
Turn the mid-line on/off using the mid_l input.
Toggle the trend shadow to show or hide the background gradient that represents trend strength.
Conclusion:
This Pine Script is a comprehensive tool for visualizing Volume Order Blocks on a chart. It helps identify key levels of support and resistance, along with the associated volume, to make more informed decisions. You can further adjust the inputs and use this strategy in combination with other indicators for additional confirmation.
Let me know if you need more modifications or explanations of specific parts!
VolumeThis volume indicator is a customizable tool designed to help traders analyze volume trends effectively. It highlights key metrics such as the average dollar volume, current dollar volume, highest up volume, rising volume, and falling volume in reference to the 50-day moving average. Users can set predetermined color schemes based on customizable volume increase thresholds, allowing for enhanced visual clarity and improved decision-making in trading strategies.
CVD OscillatorThis is a CVD with a difference.
It has deviation bands for identifying overbought & oversold conditions.
Plus potential buy/sell zones.
I will update this and make necessary improvements.
Multi-Timeframe RSI-SMA Strategy [EB]Here's a concise English explanation of the optimized multi-timeframe RSI-SMA strategy:
---
### **Strategy Overview**
A dynamic trading system combining **RSI-SMA crossovers** with adaptive parameters for all timeframes (1min to monthly). Automatically adjusts indicators, risk levels, and filters based on chart timeframe.
---
### **Key Features**
1. **Auto-Adjusting Parameters**
- *RSI/SMA Periods*: Shrink on lower TFs (10/20 for 1min), expand on higher TFs (28/200 for monthly)
- *ATR Multipliers*: 1.5x (1min) → 4.5x (monthly)
- *Volume Filters*: 2x avg volume (1min) → 0.5x (monthly)
2. **Entry Conditions**
- RSI crosses above SMA
- Price > 5-period high
- Bullish candle close
- Volume > dynamic threshold
- Uptrend confirmed (Fast EMA > Slow EMA)
3. **Risk Management**
- **Stop Loss**: ATR-based (1.5-4.5x volatility)
- **Take Profit**: 3-10% targets (scales with timeframe)
- Emergency exit on RSI reversal or 5-period low break
4. **Visual Tools**
- Green "LONG" labels below bars
- Red stop-loss line
- Green take-profit line
- Auto-adjusted alert messages
---
### **Timeframe-Specific Optimization**
| TF | RSI | SMA | ATR Mult | TP% |
|---------|------|------|----------|------|
| 1min | 10 | 20 | 1.5x | 3% |
| 1hr | 18 | 50 | 2.5x | 5% |
| Daily | 22 | 100 | 3.5x | 7% |
| Monthly | 28 | 200 | 4.5x | 10% |
---
### **Usage Notes**
1. **Chart Setup**
- Works on any US market instrument (stocks, ETFs, indices)
- Default: 2% risk per trade (adjust via `default_qty_value`)
2. **Best Applications**
- Scalping: 1-15min TFs
- Swing Trading: 4hr-daily TFs
- Position Trading: Weekly-monthly TFs
3. **Critical Filters**
- NYSE market hours for daily+ TFs
- Weekend trading blocked
- Low-volume symbols auto-filtered
---
### **Alert Examples**
```pine
Entry: "TSLA 15min LONG - Entry: $250.50, SL: $245.30, TP: $263.00"
Exit: "AAPL 1hr EXIT - Price: $185.40 (4.2% Profit)"
```
**Backtest Recommendation:** Test across 3 market cycles (bull/bear/sideways) with 0.1% commission simulation before live trading.
This self-adapting system combines technical indicators with volatility-adjusted risk management for consistent cross-TF performance.
RY-TREND MA INDICATORThis indicator is an indicator based on moving averages and atr logic. Stop loss and take profit levels are determined dynamically according to the determined atr level. It is possible to see power signals, money inflow and volume trend, volatility and market trend according to the indicators determined in the two tables on the right.
VIDYA Auto-Trading(Reversal Logic)Overview
This script is a dynamic trend-following strategy based on the Variable Index Dynamic Average (VIDYA). It adapts in real time to market volatility, aiming to enhance entry precision and optimize risk management.
---
Strategy Objectives
The objective of this strategy is to respond swiftly to sudden price movements and trend reversals, providing consistent and reliable trade signals. It is designed to be intuitive and efficient for traders of all levels.
---
Key Features
- **Momentum Sensitivity via VIDYA**: Reacts quickly to momentum shifts, allowing for accurate trend-following entries.
- **Volatility-Based ATR Bands**: Automatically adjusts stop levels and entry conditions based on current market volatility.
- **Intuitive Trend Visualization**: Uptrends are marked with green zones, and downtrends with red zones, giving traders clear visual guidance.
---
Trading Rules
- **Long Entry**: Triggered when price crosses above the upper band. Any existing short position is closed.
- **Short Entry**: Triggered when price crosses below the lower band. Any existing long position is closed.
- **Exit Conditions**: Positions are reversed based on signal changes, using a position reversal strategy.
---
Risk Management Parameters
- ETHUSD
- Account Size: $7,000
- Commission: 1 pips per round-trip trade
- Slippage: 1 pip
- Risk per Trade: 10% of account equity (adjustable)
- Number of trades: 262
---
### Trading Parameters & Considerations
- **VIDYA Length**: Defines the trend calculation period (e.g., 14)
- **Momentum Period**: Used for Chande Momentum Oscillator (CMO) calculation
- **ATR Band Distance**: Coefficient to adjust band width (e.g., 1.5)
- **Price Source**: Select from close, open, high, or low
- **Trend Colors**: Customizable colors for uptrend and downtrend zones
- **Display Options**: Toggle visibility of trend lines, bands, and other visuals
---
### Visual Support
Trend zones, entry points, and directional shifts are clearly plotted on the chart. These visual cues enhance the analytical experience and support faster decision-making.
---
### Strategy Improvements & Uniqueness
Inspired by the public work of BigBeluga, this script evolves the original concept with meaningful enhancements. By combining VIDYA and ATR bands, it offers greater adaptability and practical value compared to conventional trend-following strategies.
---
### Summary
This strategy offers a responsive and adaptive approach to trend trading, built on momentum detection and volatility-adjusted risk management. It balances clarity, precision, and practicality—making it a powerful tool for traders seeking reliable trend signals.
Volume Profile & Smart Money Explorer🔍 Volume Profile & Smart Money Explorer: Decode Institutional Footprints
Master the art of institutional trading with this sophisticated volume analysis tool. Track smart money movements, identify peak liquidity windows, and align your trades with major market participants.
🌟 Key Features:
📊 Triple-Layer Volume Analysis
• Total Volume Patterns
• Directional Volume Split (Up/Down)
• Institutional Flow Detection
• Real-time Smart Money Tracking
• Historical Pattern Recognition
⚡ Smart Money Detection
• Institutional Trade Identification
• Large Block Order Tracking
• Smart Money Concentration Periods
• Whale Activity Alerts
• Volume Threshold Analysis
📈 Advanced Profiling
• Hourly Volume Distribution
• Directional Bias Analysis
• Liquidity Heat Maps
• Volume Pattern Recognition
• Custom Threshold Settings
🎯 Strategic Applications:
Institutional Trading:
• Track Big Player Movements
• Identify Accumulation/Distribution
• Follow Smart Money Flow
• Detect Institutional Trading Windows
• Monitor Block Orders
Risk Management:
• Identify High Liquidity Windows
• Avoid Thin Market Periods
• Optimize Position Sizing
• Track Market Participation
• Monitor Volume Quality
Market Analysis:
• Volume Pattern Recognition
• Smart Money Flow Analysis
• Liquidity Window Identification
• Institutional Activity Cycles
• Market Depth Analysis
💡 Perfect For:
• Professional Traders
• Volume Profile Traders
• Institutional Traders
• Risk Managers
• Algorithmic Traders
• Smart Money Followers
• Day Traders
• Swing Traders
📊 Key Metrics:
• Normalized Volume Profiles
• Institutional Thresholds
• Directional Volume Split
• Smart Money Concentration
• Historical Patterns
• Real-time Analysis
⚡ Trading Edge:
• Trade with Institution Flow
• Identify Optimal Entry Points
• Recognize Distribution Patterns
• Follow Smart Money Positioning
• Avoid Thin Markets
• Capitalize on Peak Liquidity
🎓 Educational Value:
• Understand Market Structure
• Learn Volume Analysis
• Master Institutional Patterns
• Develop Market Intuition
• Track Smart Money Flow
🛠️ Customization:
• Adjustable Time Windows
• Flexible Volume Thresholds
• Multiple Timeframe Analysis
• Custom Alert Settings
• Visual Preference Options
Whether you're tracking institutional flows in crypto markets or following smart money in traditional markets, the Volume Profile & Smart Money Explorer provides the deep insights needed to trade alongside the biggest players.
Transform your trading from retail guesswork to institutional precision. Know exactly when and where smart money moves, and position yourself ahead of major market shifts.
#VolumeProfile #SmartMoney #InstitutionalTrading #MarketAnalysis #TradingView #VolumeAnalysis #CryptoTrading #ForexTrading #TechnicalAnalysis #Trading #PriceAction #MarketStructure #OrderFlow #Liquidity #RiskManagement #TradingStrategy #DayTrading #SwingTrading #AlgoTrading #QuantitativeTrading
Dual Volume Divergence LineDual Volume Divergence Line (DVD/Line)
🔹 Overview
The Dual Volume Divergence Line (DVD/Line) is a custom Pine Script™ indicator designed to identify potential trend reversals and continuations by analyzing volume and price divergences. This script is inspired by the original concept of the Dual Volume Divergence Index (DVDI) by DonovanWall and has been modified and enhanced by keremertem. Special thanks to DonovanWall for the original concept. The indicator combines volume-based calculations with price action to generate signals for bullish and bearish divergences, both normal and hidden. Below is a detailed breakdown of its components and functionality.
🔹 Key Features of the DVD/Line Indicator
1. Dual Volume Divergence Calculation:
- The indicator calculates two primary volume-based indices: the Positive Volume Index (PVI) and the Negative Volume Index (NVI).
- PVI measures the impact of volume on price when the price increases, while NVI measures the impact when the price decreases.
- These indices are used to detect divergences between volume and price, which can signal potential reversals or continuations.
2. Customizable Inputs:
- DVD Sampling Period: Adjusts the sensitivity of the indicator by controlling the lookback period for calculating the volume-weighted moving averages (VWMA) of PVI and NVI.
- Band Width: Defines the range for calculating the upper and lower bands, which act as dynamic support and resistance levels.
- Source: Allows users to select the price source (e.g., `hlc3`, `close`, etc.) for calculations.
3. Volume-Weighted Moving Averages (VWMA):
- Instead of using traditional moving averages, the script employs VWMA to smooth the PVI and NVI signals. This ensures that the indicator is more responsive to changes in volume.
4. Upper and Lower Bands:
- The upper and lower bands are calculated using the Root Mean Square (RMS) of the highest and lowest values of the DVD line over a user-defined period. These bands help identify overbought and oversold conditions.
5. Divergence Detection:
- The script identifies four types of divergences:
- Normal Bullish Divergence: Occurs when price makes a lower low, but the DVD line makes a higher low.
- Hidden Bullish Divergence: Occurs when price makes a higher low, but the DVD line makes a lower low.
- Normal Bearish Divergence: Occurs when price makes a higher high, but the DVD line makes a lower high.
- Hidden Bearish Divergence: Occurs when price makes a lower high, but the DVD line makes a higher high.
- These divergences are visually highlighted on the chart using labels.
6. Customizable Divergence Selection:
- Users can choose between two types of divergence calculations:
- DVDI: Based on the raw divergence values.
- DVD Line: Based on the smoothed DVD line.
7. Visual Enhancements:
- The DVD line is plotted with a color-coded scheme: blue when the DVD line is above its signal line (bullish) and pink when it is below (bearish).
- The upper and lower bands are displayed as step lines, making it easier to identify key levels.
🔹 How the Indicator Works
1. Volume-Based Calculations:
- The script starts by calculating the PVI and NVI based on the selected price source and volume data.
- PVI increases when the price rises, while NVI decreases when the price falls. These indices are then smoothed using VWMA to generate signals.
2. DVD Line Calculation:
- The DVD line is derived by combining the divergences of PVI and NVI. It is further smoothed using a Weighted Moving Average (WMA) and a linear regression line for trend analysis.
3. Divergence Detection:
- The script identifies pivot points in the DVD line and compares them with price action to detect divergences.
- Normal divergences indicate potential reversals, while hidden divergences suggest trend continuations.
4. Dynamic Bands:
- The upper and lower bands are calculated using RMS, which provides a more accurate representation of volatility compared to standard deviation or fixed-width bands.
5. Labeling:
- Divergences are labeled directly on the chart with clear text and color coding:
🟢 Bullish Divergence: Green label with "Bull".
🟩 Bearish Divergence: Red label with "Bear".
🔴 Hidden Bullish Divergence: Lime label with "hid.".
🟧 Hidden Bearish Divergence: Orange label with "hid.".
🔹 Unique Aspects of This Script
1. Volume-Weighted Smoothing:
- Unlike traditional divergence indicators that rely on simple moving averages, this script uses VWMA and WMA to ensure that volume plays a significant role in signal generation.
2. Dynamic Bands with RMS:
- The use of RMS for calculating bands provides a more adaptive and accurate representation of market conditions, especially in volatile markets.
3. Flexible Divergence Selection:
- Users can choose between raw divergence values (DVDI) or smoothed values (DVD Line), allowing for greater customization based on trading style.
4. Comprehensive Divergence Detection:
- The script detects both normal and hidden divergences, providing a complete picture of potential trend reversals and continuations.
5. User-Friendly Visuals:
- The color-coded DVD line and cross-style bands make it easy to interpret the indicator at a glance.
🔹 How to Use the Indicator
1. Trend Identification:
- Use the Middle Band and its color to identify the current trend. A green line suggests bullish momentum, while a red line indicates bearish momentum. Additionally, a bullish momentum may be indicated when the DVD line crosses up, and a bearish momentum may be indicated when it crosses down the Middle Band.
2. Divergence Trading:
- Look for divergences between the DVD line and price action. Normal divergences can be used for counter-trend trades, while hidden divergences can confirm trend continuations.
3. Band Breakouts:
- Monitor the upper and lower bands for potential breakout or reversal signals. A break above the upper band may indicate overbought conditions, while a break below the lower band may suggest oversold conditions.
4. Customization:
- Adjust the sampling period and band width to suit different timeframes and trading strategies. Shorter periods are more sensitive, while longer periods provide smoother signals.
🔹 Conclusion
The Dual Volume Divergence Line (DVD/Line) is a powerful and versatile indicator that combines volume analysis with price action to generate actionable trading signals. Its unique use of volume-weighted smoothing, dynamic bands, and comprehensive divergence detection sets it apart from traditional divergence indicators. Whether you're a day trader or a long-term investor, this tool can help you identify high-probability trading opportunities with greater accuracy and confidence.
📌 Disclaimer: This script is for educational purposes only and does not constitute financial advice. Always conduct your own analysis before making trading decisions.
Nef33 Forex & Crypto Trading Signals PRO
1. Understanding the Indicator's Context
The indicator generates signals based on confluence (trend, volume, key zones, etc.), but it does not include predefined SL or TP levels. To establish them, we must:
Use dynamic or static support/resistance levels already present in the script.
Incorporate volatility (such as ATR) to adjust the levels based on market conditions.
Define a risk/reward ratio (e.g., 1:2).
2. Options for Determining SL and TP
Below, I provide several ideas based on the tools available in the script:
Stop Loss (SL)
The SL should protect you from adverse movements. You can base it on:
ATR (Volatility): Use the smoothed ATR (atr_smooth) multiplied by a factor (e.g., 1.5 or 2) to set a dynamic SL.
Buy: SL = Entry Price - (atr_smooth * atr_mult).
Sell: SL = Entry Price + (atr_smooth * atr_mult).
Key Zones: Place the SL below a support (for buys) or above a resistance (for sells), using Order Blocks, Fair Value Gaps, or Liquidity Zones.
Buy: SL below the nearest ob_lows or fvg_lows.
Sell: SL above the nearest ob_highs or fvg_highs.
VWAP: Use the daily VWAP (vwap_day) as a critical level.
Buy: SL below vwap_day.
Sell: SL above vwap_day.
Take Profit (TP)
The TP should maximize profits. You can base it on:
Risk/Reward Ratio: Multiply the SL distance by a factor (e.g., 2 or 3).
Buy: TP = Entry Price + (SL Distance * 2).
Sell: TP = Entry Price - (SL Distance * 2).
Key Zones: Target the next resistance (for buys) or support (for sells).
Buy: TP at the next ob_highs, fvg_highs, or liq_zone_high.
Sell: TP at the next ob_lows, fvg_lows, or liq_zone_low.
Ichimoku: Use the cloud levels (Senkou Span A/B) as targets.
Buy: TP at senkou_span_a or senkou_span_b (whichever is higher).
Sell: TP at senkou_span_a or senkou_span_b (whichever is lower).
3. Practical Implementation
Since the script does not automatically draw SL/TP, you can:
Calculate them manually: Observe the chart and use the levels mentioned.
Modify the code: Add SL/TP as labels (label.new) at the moment of the signal.
Here’s an example of how to modify the code to display SL and TP based on ATR with a 1:2 risk/reward ratio:
Modified Code (Signals Section)
Find the lines where the signals (trade_buy and trade_sell) are generated and add the following:
pinescript
// Calculate SL and TP based on ATR
atr_sl_mult = 1.5 // Multiplier for SL
atr_tp_mult = 3.0 // Multiplier for TP (1:2 ratio)
sl_distance = atr_smooth * atr_sl_mult
tp_distance = atr_smooth * atr_tp_mult
if trade_buy
entry_price = close
sl_price = entry_price - sl_distance
tp_price = entry_price + tp_distance
label.new(bar_index, low, "Buy: " + str.tostring(math.round(bull_conditions, 1)), color=color.green, textcolor=color.white, style=label.style_label_up, size=size.tiny)
label.new(bar_index, sl_price, "SL: " + str.tostring(math.round(sl_price, 2)), color=color.red, textcolor=color.white, style=label.style_label_down, size=size.tiny)
label.new(bar_index, tp_price, "TP: " + str.tostring(math.round(tp_price, 2)), color=color.blue, textcolor=color.white, style=label.style_label_up, size=size.tiny)
if trade_sell
entry_price = close
sl_price = entry_price + sl_distance
tp_price = entry_price - tp_distance
label.new(bar_index, high, "Sell: " + str.tostring(math.round(bear_conditions, 1)), color=color.red, textcolor=color.white, style=label.style_label_down, size=size.tiny)
label.new(bar_index, sl_price, "SL: " + str.tostring(math.round(sl_price, 2)), color=color.red, textcolor=color.white, style=label.style_label_up, size=size.tiny)
label.new(bar_index, tp_price, "TP: " + str.tostring(math.round(tp_price, 2)), color=color.blue, textcolor=color.white, style=label.style_label_down, size=size.tiny)
Code Explanation
SL: Calculated by subtracting/adding sl_distance to the entry price (close) depending on whether it’s a buy or sell.
TP: Calculated with a double distance (tp_distance) for a 1:2 risk/reward ratio.
Visualization: Labels are added to the chart to display SL (red) and TP (blue).
4. Practical Strategy Without Modifying the Code
If you don’t want to modify the script, follow these steps manually:
Entry: Take the trade_buy or trade_sell signal.
SL: Check the smoothed ATR (atr_smooth) on the chart or calculate a fixed level (e.g., 1.5 times the ATR). Also, review nearby key zones (OB, FVG, VWAP).
TP: Define a target based on the next key zone or multiply the SL distance by 2 or 3.
Example:
Buy at 100, ATR = 2.
SL = 100 - (2 * 1.5) = 97.
TP = 100 + (2 * 3) = 106.
5. Recommendations
Test in Demo: Apply this logic in a demo account to adjust the multipliers (atr_sl_mult, atr_tp_mult) based on the market (forex or crypto).
Combine with Zones: If the ATR-based SL is too wide, use the nearest OB or FVG as a reference.
Risk/Reward Ratio: Adjust the TP based on your tolerance (1:1, 1:2, 1:3)
Volume Order Blocks [BigBeluga]Volume Order Blocks is a powerful indicator that identifies significant order blocks based on price structure, helping traders spot key supply and demand zones. The tool leverages EMA crossovers to determine the formation of bullish and bearish order blocks while visualizing their associated volume and relative strength.
🔵 Key Features:
Order Block Detection via EMA Crossovers:
Plots bullish order blocks at recent lows when the short EMA crosses above the long EMA.
Plots bearish order blocks at recent highs when the short EMA crosses below the long EMA.
Uses customizable sensitivity through the “Sensitivity Detection” setting to fine-tune block formation.
Volume Collection and Visualization:
Calculates the total volume between the EMA crossover bar and the corresponding high (bearish OB) or low (bullish OB).
Displays the absolute volume amount next to each order block for clear volume insights.
Percentage Volume Distribution:
Shows the percentage distribution of volume among bullish or bearish order blocks.
100% represents the cumulative volume of all OBs in the same category (bullish or bearish).
Order Block Removal Conditions:
Bullish order blocks are removed when the price closes below the bottom of the block.
Bearish order blocks are removed when the price closes above the top of the block.
Helps maintain chart clarity by only displaying relevant and active levels.
Midline Feature:
Dashed midline inside each order block indicates the midpoint between the upper and lower boundaries.
Traders can toggle the midline on or off through the settings.
Shadow Trend:
Shadow Trend dynamically visualizes trend strength and direction by adapting its color intensity based on price movement.
🔵 Usage:
Supply & Demand Zones: Use bullish and bearish order blocks to identify key market reversal or continuation points.
Volume Strength Analysis: Compare volume percentages to gauge which order blocks hold stronger market significance.
Breakout Confirmation: Monitor block removal conditions for potential breakout signals beyond support or resistance zones.
Trend Reversals: Combine EMA crossovers with order block formation for early trend reversal detection.
Risk Management: Use OB boundaries as potential stop-loss or entry points.
Volume Order Blocks is an essential tool for traders seeking to incorporate volume-based supply and demand analysis into their trading strategy. By combining price action, volume data, and EMA crossovers, it offers a comprehensive view of market structure and potential turning points.
BCVC - Volume & Big Candle ColorThe BCVC (Volume & Big Candle Color) indicator helps traders identify significant price movements accompanied by unusual volume activity. By dynamically coloring bars based on volume spikes and candle size, it highlights potential momentum shifts, breakouts, or reversals. This tool is ideal for traders who want to:
Spot institutional buying/selling activity.
Confirm trend strength using volume and price volatility.
Filter noise by focusing on high-impact bars.
Key Features
Volume Spike Detection:
Compares current volume to a moving average (EMA) of volume.
Highlights bars where volume exceeds the average by a user-defined multiplier.
Big Candle Detection:
Identifies bars with a range (high-low) larger than the historical average range (EMA of candle ranges).
Thresholds for "big candles" are customizable.
Color-Coded Logic:
White Bars: High volume + Big candle + Bullish (close > open).
Orange Bars: High volume + Big candle + Bearish (close < open).
Blue Bars: High volume + Regular candle + Bullish.
Maroon Bars: High volume + Regular candle + Bearish.
Input Parameters
Volume Settings:
Volume Period: EMA length for average volume calculation (default: 20).
Volume Multiplier: Threshold multiplier for volume spikes (e.g., 1.25 = 25% above average).
Candle Size Settings:
Lookback Period: EMA length for average candle range (default: 7).
Big Candle Multiplier: Threshold multiplier for large candles (e.g., 1.3 = 30% above average range).
How It Works
Volume Analysis:
The indicator calculates an EMA of volume over the specified period.
If the current bar’s volume exceeds Average Volume × Volume Multiplier, it’s flagged as a high-volume bar.
Candle Range Analysis:
The average candle range (high-low) is calculated using an EMA over the lookback period.
A "big candle" is identified when the current bar’s range exceeds Average Range × Big Candle Multiplier.
Combined Signals:
High-volume bars are colored based on whether they are bullish/bearish and whether their range exceeds the big-candle threshold.
Example: A white bar (high volume + big candle + bullish) suggests strong buying pressure with institutional participation.
Usage Scenarios
Breakout Confirmation: A white/orange bar at a support/resistance level may validate a breakout.
Reversal Signals: A maroon/orange bar after a long trend could indicate exhaustion and potential reversal.
Trend Strength: Clusters of blue/white bars during uptrends (or maroon/orange in downtrends) confirm momentum.
Benefits
Visual Clarity: Instantly spot high-impact bars without manually scanning volume or candle size.
Customizable Sensitivity: Adjust multipliers to filter noise (e.g., increase for fewer signals).
Universal Application: Works on all timeframes and instruments (stocks, forex, crypto).
Notes
Best Paired With: Trendlines, support/resistance levels, or momentum oscillators (e.g., RSI).
Avoid False Signals: Use higher multipliers (e.g., 1.5) on lower timeframes to reduce noise.
Session Profile AnalyzerWhat’s This Thing Do?
Hey there, trader! Meet the Session Profile Analyzer (SPA) your new go-to pal for breaking down market action within your favorite trading sessions. It’s an overlay indicator that mixes Rotation Factor (RF), Average Subperiod Range (ASPR), Volume Value Area Range (VOLVAR), and TPO Value Area Range (TPOVAR) into one tidy little toolkit. Think of it as your market vibe checker momentum, volatility, and key levels, all served up with a grin.
The Cool Stuff It Does:
Rotation Factor (RF) : Keeps tabs on whether the market’s feeling bullish, bearish, or just chilling. It’s like a mood ring for price action shows “UP ↑,” “DOWN ↓,” or “NONE ↔.”
ASPR : Averages out the range of your chosen blocks. Big swings? Tiny wiggles? This tells you the session’s energy level.
VOLVAR : Dives into volume to find where the action’s at, with a smart twist it adjusts price levels based on the session’s size and tiny timeframe moves (capped at 128 so your chart doesn’t cry).
TPOVAR : Grabs lower timeframe data to spot where price hung out the most, TPO-style. Value zones, anyone?
Dynamic Precision : No ugly decimal overload SPA matches your asset’s style (2 decimals for BTC, 5 for TRX, you get it).
How to Play With It:
Session Start/End : Pick your trading window (say, 0930-2200) and a timezone (America/New_York, or wherever you’re at).
Block Size : Set the chunk size for RF and ASPR like 30M if you’re into half-hour vibes.
Value Area Timeframe : Go micro with something like 1S for VOLVAR and TPOVAR precision.
Label : Size it (small to huge), color it (white, neon pink, whatever), and slap it where you want (start, mid, end).
How It All Works (No PhD Required):
RF : Imagine breaking your session into blocks (via Block Size). For each block, SPA checks if the high beats the last high (+1) or not (0), and if the low dips below the last low (-1) or not (0). Add those up, and boom positive RF means upward vibes, negative means downward, near zero is “meh.” Use it to catch trends or spot when the market’s napping.
ASPR : Takes those same blocks, measures high-to-low range each time, and averages them. It’s your volatility pulse big ASPR = wild ride, small ASPR = snooze fest. Great for sizing up session action.
VOLVAR : Here’s the fun part. It takes the session’s full range (high minus low), divides it by the average range of your tiny Value Area Timeframe bars (e.g., 1S), and picks a sensible number of price levels capped at 128 so it doesn’t overthink. Then it bins volume into those levels, finds the busiest price (POC), and grows a 70% value area around it. Perfect for spotting where the big players parked their cash.
TPOVAR : Grabs midpoints from those tiny timeframe bars, sorts them, and snips off the top and bottom 15% to find the 70% “value zone” where price chilled the most. Think of it as the market’s comfort zone great for support/resistance hunting.
Why You’ll Like It:
Whether you’re scalping crypto, swinging forex, or dissecting stocks, SPA’s got your back. Use RF to catch momentum shifts like jumping on an “UP ↑” trend or fading a “DOWN ↓” exhaustion. ASPR’s your secret weapon for sizing up trades: a big ASPR (say, 100 on BTC) means you can aim for juicy targets (like 1-2x ASPR) or set invalidations tight when it’s tiny (e.g., 0.001 on TRX) to dodge chop. VOLVAR and TPOVAR are your level-finders nail those key zones where price loves to bounce or break, perfect for entries, stops, or profit grabs. It’s like having a trading co-pilot who’s chill but knows their stuff.
Heads-Up:
Load enough history for those micro timeframes to shine (1S needs some bars to work with).
Keeps things light won’t bog down your chart even with decent-sized sessions.
Let’s Roll:
Slap SPA on your chart, tweak it to your style, and watch it spill the beans on your session. Happy trading, fam may your pips be plenty and your losses few!
Multi-Period Rolling VWAPMulti-Period Rolling VWAP (MP-RVWAP)
This indicator plots multiple Rolling Volume-Weighted Average Price (RVWAP) lines over different time periods (7, 14, 30, 60, 90, 180, and 360 days) on a single chart. Each RVWAP is calculated using a user-defined timeframe and source (default: HLC3), ensuring consistency across chart resolutions.
Key Features:
Customizable Periods: Toggle visibility for each period (7d, 14d, 30d, 60d, 90d, 180d, 360d) and adjust their colors.
Labels: Each RVWAP line is labeled at the end (e.g., "7d", "360d") for easy identification.
Standard Deviation Bands: Optional bands can be added above and below each RVWAP, with customizable multipliers (set to 0 to hide).
Flexible Timeframe: Define a single timeframe (default: 1D) for all RVWAP calculations, independent of the chart’s timeframe.
Minimum Bars: Set a minimum number of bars (default: 10) to ensure reliable calculations.
Usage:
Ideal for traders analyzing price trends across multiple time horizons. Enable/disable specific RVWAPs, tweak colors, and add bands to suit your strategy.
Momentum Volume Divergence (MVD) EnhancedMomentum Volume Divergence (MVD) Enhanced is a powerful indicator that detects price-momentum divergences and momentum suppression for reversal trading. Optimized for XRP on 1D charts, it features dynamic lookbacks, ATR-adjusted thresholds, and SMA confirmation. Signals include strong divergences (triangles) and suppression warnings (crosses). Includes a detailed user guide—try it out and share your feedback!
Setup: Add to XRP 1D chart with defaults (mom_length_base=8, vol_length_base=10). Signals: Red triangle (sell), Green triangle (buy), Orange cross (bear warning), Yellow cross (bull warning). Confirm with 5-day SMA crossovers. See full guide for details!
Disclaimer: This indicator is for educational purposes only, not financial advice. Trading involves risk—use at your discretion.
Momentum Volume Divergence (MVD) Enhanced Indicator User Guide
Version: Pine Script v6
Designed for: TradingView
Recommended Use: XRP on 1-day (1D) chart
Date: March 18, 2025
Author: Herschel with assistance from Grok 3 (xAI)
Overview
The Momentum Volume Divergence (MVD) Enhanced indicator is a powerful tool for identifying price-momentum divergences and momentum suppression patterns on XRP’s 1-day (1D) chart. Plotted below the price chart, it provides clear visual signals to help traders spot potential reversals and trend shifts.
Purpose
Detect divergences between price and momentum for buy/sell opportunities.
Highlight momentum suppression as warnings of fading trends.
Offer actionable trading signals with intuitive markers.
Indicator Components
Main Plot
Volume-Weighted Momentum (vw_mom): Blue line showing momentum adjusted by volume.
Above 0 = bullish momentum.
Below 0 = bearish momentum.
Zero Line: Gray dashed line at 0, separating bullish/bearish zones.
Key Signals
Strong Bearish Divergence:
Marker: Red triangle at the top.
Meaning: Price makes a higher high, but momentum weakens, confirmed by a drop below the 5-day SMA.
Action: Potential sell/short signal.
Strong Bullish Divergence:
Marker: Green triangle at the bottom.
Meaning: Price makes a lower low, but momentum strengthens, confirmed by a rise above the 5-day SMA.
Action: Potential buy/long signal.
Bearish Suppression:
Marker: Orange cross at the top + red background.
Meaning: Strong bullish momentum with low volume in a volume downtrend, suggesting fading strength.
Action: Warning to avoid longs or exit early.
Bullish Suppression:
Marker: Yellow cross at the bottom + green background.
Meaning: Strong bearish momentum with low volume in a volume uptrend, suggesting fading weakness.
Action: Warning to avoid shorts or exit early.
Debug Plots (Optional)
Volume Ratio: Gray line (volume vs. its MA) vs. yellow line (threshold).
Momentum Threshold: Purple lines (positive/negative momentum cutoffs).
Smoothed Momentum: Orange line (raw momentum).
Confirmation SMA: Purple line (price trend confirmation).
Labels
Text labels (e.g., "Bear Div," "Bull Supp") mark detected patterns.
How to Use the Indicator
Step-by-Step Trading Process
1. Monitor the Chart
Load your XRP 1D chart with the indicator applied.
Observe the blue vw_mom line and signal markers.
2. Spot a Signal
Primary Signals: Look for red triangles (strong_bear) or green triangles (strong_bull).
Warnings: Note orange crosses (suppression_bear) or yellow crosses (suppression_bull).
3. Confirm the Signal
For Strong Bullish Divergence (Buy):
Green triangle appears.
Price closes above the 5-day SMA (purple line) and a recent swing high.
Optional: Volume ratio (gray line) exceeds the threshold (yellow line).
For Strong Bearish Divergence (Sell):
Red triangle appears.
Price closes below the 5-day SMA and a recent swing low.
Optional: Volume ratio (gray line) falls below the threshold (yellow line).
4. Enter the Trade
Long:
Buy at the close of the signal bar.
Stop loss: Below the recent swing low or 2 × ATR(14) below entry.
Short:
Sell/short at the close of the signal bar.
Stop loss: Above the recent swing high or 2 × ATR(14) above entry.
5. Manage the Trade
Take Profit:
Aim for a 2:1 or 3:1 risk-reward ratio (e.g., risk $0.05, target $0.10-$0.15).
Or exit when an opposite suppression signal appears (e.g., orange cross for longs).
Trailing Stop:
Move stop to breakeven after a 1:1 RR move.
Trail using the 5-day SMA or 2 × ATR(14).
Early Exit:
Exit if a suppression signal appears against your position (e.g., suppression_bull while short).
6. Filter Out Noise
Avoid trades if a suppression signal precedes a divergence within 2-3 days.
Optional: Add a 50-day SMA on the price chart:
Longs only if price > 50-SMA.
Shorts only if price < 50-SMA.
Example Trades (XRP 1D)
Bullish Trade
Signal: Green triangle (strong_bull) at $0.55.
Confirmation: Price closes above 5-SMA and $0.57 high.
Entry: Buy at $0.58.
Stop Loss: $0.53 (recent low).
Take Profit: $0.63 (2:1 RR) or exit on suppression_bear.
Outcome: Price hits $0.64, exit at $0.63 for profit.
Bearish Trade
Signal: Red triangle (strong_bear) at $0.70.
Confirmation: Price closes below 5-SMA and $0.68 low.
Entry: Short at $0.67.
Stop Loss: $0.71 (recent high).
Take Profit: $0.62 (2:1 RR) or exit on suppression_bull.
Outcome: Price drops to $0.61, exit at $0.62 for profit.
Tips for Success
Combine with Price Levels:
Use support/resistance zones (e.g., weekly pivots) to confirm entries.
Monitor Volume:
Rising volume (gray line above yellow) strengthens signals.
Adjust Sensitivity:
Too many signals? Increase div_strength_threshold to 0.7.
Too few signals? Decrease to 0.3.
Backtest:
Review 20-30 past signals on XRP 1D to assess performance.
Avoid Choppy Markets:
Skip signals during low volatility (tight price ranges).
Troubleshooting
No Signals:
Lower div_strength_threshold to 0.3 or mom_threshold_base to 0.2.
Check if XRP’s volatility is unusually low.
False Signals:
Increase sma_confirm_length to 7 or add a 50-SMA filter.
Indicator Not Loading:
Ensure the script compiles without errors.
Customization (Optional)
Change Colors: Edit color.* values (e.g., color.red to color.purple).
Add Alerts: Use TradingView’s alert menu for "Strong Bearish Divergence Confirmed," etc.
Test Other Assets: Experiment with BTC or ETH, adjusting inputs as needed.
Disclaimer
This indicator is for educational purposes only and not financial advice. Trading involves risk, and past performance does not guarantee future results. Use at your own discretion.
Setup: Use on XRP 1D with defaults (mom_length_base=8, vol_length_base=10). Signals: Red triangle (sell), Green triangle (buy), Orange cross (bear warning), Yellow cross (bull warning). Confirm with 5-day SMA cross. Stop: 2x ATR(14). Profit: 2:1 RR or suppression exit. Full guide available separately!
Price and Volume Breakout - Jemmy TradeThe "Price and Volume Breakout" indicator is designed to identify potential breakout opportunities by analyzing both price and volume trends. It uses a combination of historical price highs, volume peaks, and a customizable Simple Moving Average (SMA) to signal bullish breakouts. When the price exceeds the highest price of the defined breakout period and is supported by high volume, the indicator triggers visual alerts on the chart. These include dotted lines, labels, and boxes highlighting accumulation zones, along with dynamically calculated stop loss and take profit levels.
Key Features:
• Breakout Detection: Compares the current closing price to the highest price and volume over specified periods to signal a breakout.
• Customizable Stop Loss Options: Offers three methods for setting stop loss levels:
o Below SMA: Positions stop loss a user-defined percentage below the SMA.
o Lowest Low: Uses the lowest low over a specific look-back period.
o Range Average: Calculates an average based on the previous price range.
• Dynamic Take Profit Calculation: Automatically computes take profit levels based on the defined risk-to-reward ratio.
• Visual Chart Elements: Draws breakout lines, stop loss and take profit indicators, labels (e.g., "🚀 Breakout Buy", "🔴 Stop Loss", "🟢 Take Profit"), and boxes marking accumulation zones for easy visualization.
• Alert Conditions: Includes alert functionality to notify traders when breakout conditions are met, enabling timely trading decisions.
How to Use:
1. Customization: Adjust settings such as the breakout periods for price and volume, the length of the SMA, stop loss options, and the risk-to-reward ratio to fit your trading strategy.
2. Signal Identification: When the price exceeds the highest value from the previous period, accompanied by high volume and confirmation from the SMA, the indicator displays a "Breakout Buy" signal.
3. Risk Management: The indicator calculates appropriate stop loss and take profit levels automatically based on your selected parameters, ensuring a balanced risk/reward setup.
4. Alerts: Utilize the built-in alert conditions to receive notifications whenever the breakout criteria are satisfied, helping you act promptly.
PLEASE USE IT AS PER YOUR OWN RISK MANAGEMENT STRATEGIES.
Keywords:
#Breakout #Trading #VolumeAnalysis #TechnicalAnalysis #PriceAction #RiskManagement #TrendFollowing #TradingSignals #PriceBreakout #SmartTrading #JemmyTrade
MLB Momentum IndicatorMLB Momentum Indicator is a no‐lookahead technical indicator designed to signal intraday trend shifts and potential reversal points. It combines several well‐known technical components—Moving Averages, MACD, RSI, and optional ADX & Volume filters—to deliver high‐probability buy/sell signals on your chart.
Below is an overview of how it works and what each part does:
1. Moving Average Trend Filter
The script uses two moving averages (fast and slow) to determine the primary trend:
isUpTrend if Fast MA > Slow MA
isDownTrend if Fast MA < Slow MA
You can select the MA method—SMA, EMA, or WMA—and customize lengths.
Why it matters: The indicator only gives bullish signals if the trend is up, and bearish signals if the trend is down, helping avoid trades that go against the bigger flow.
2. MACD Confirmation (Momentum)
Uses MACD (with user‐defined Fast, Slow, and Signal lengths) to check momentum:
macdBuySignal if the MACD line crosses above its signal line (bullish)
macdSellSignal if the MACD line crosses below its signal line (bearish)
Why it matters: MACD crossovers confirm an emerging momentum shift, aligning signals with actual price acceleration rather than random fluctuation.
3. RSI Overbought/Oversold Filter
RSI (Relative Strength Index) is calculated with a chosen length, plus Overbought & Oversold thresholds:
For long signals: the RSI must be below the Overbought threshold (e.g. 70).
For short signals: the RSI must be above the Oversold threshold (e.g. 30).
Why it matters: Prevents buying when price is already overbought or shorting when price is too oversold, filtering out possible poor‐risk trades.
4. Optional ADX Filter (Trend Strength)
If enabled, ADX must exceed a chosen threshold (e.g., 20) for a signal to be valid:
This ensures you’re only taking trades in markets that have sufficient directional momentum.
Why it matters: It weeds out choppy, sideways conditions where signals are unreliable.
5. Optional Volume Filter (High‐Participation Moves)
If enabled, the indicator checks whether current volume is above a certain multiple of its moving average (e.g., 1.5× average volume).
Why it matters: High volume often indicates stronger institutional interest, validating potential breakouts or reversals.
6. ATR & Chandelier (Visual Reference)
For reference only, the script can display ATR‐based stop levels or a Chandelier Exit line:
ATR (Average True Range) helps gauge volatility and can inform stop‐loss distances.
Chandelier Exit is a trailing stop technique that adjusts automatically as price moves.
Why it matters: Though this version of the script doesn’t execute trades, these lines help you see how far to place stops or how to ride a trend.
7. Final Bullish / Bearish Signal
When all conditions (trend, MACD, RSI, optional ADX, optional Volume) line up for a long, a green “Long” arrow appears.
When all conditions line up for a short, a red “Short” arrow appears.
Why it matters: You get a clear, on‐chart signal for each potential entry, rather than needing to check multiple indicators manually.
8. Session & Date Filtering
The script allows choosing a start/end date and an optional session window (e.g. 09:30–16:00).
Why it matters: Helps limit signals to a specific historical backtest range or trading hours, which can be crucial for day traders (e.g., stock market hours only).
Putting It All Together
Primary Trend → ensures you trade in line with the bigger direction.
MACD & RSI → confirm momentum and avoid overbought/oversold extremes.
ADX & Volume → optional filters for strong trend strength & genuine interest.
Arrows → each potential buy (Long) or sell (Short) signal is clearly shown on your chart.
Use Cases
5‐Minute Scalping: Shorter RSI/MACD lengths to catch small, frequent intraday moves.
Swing Trading: Larger MAs, bigger RSI thresholds, and using ADX to filter only major trends.
Cautious Approach: Enable volume & ADX filters to reduce false signals in choppy markets.
Benefits & Limitations
Benefits:
Consolidates multiple indicators into one overlay.
Clear buy/sell signals with optional dynamic volatility references.
Flexible user inputs adapt to different trading styles/timeframes.
Limitations:
Like all technical indicators, it can produce false signals in sideways or news‐driven markets.
Success depends heavily on user settings and the particular market’s behavior.
Summary
The MLB Momentum Indicator combines a trend filter (MAs), momentum check (MACD), overbought/oversold gating (RSI), and optional ADX/Volume filters to create clear buy/sell arrows on your chart. This approach encourages trading in sync with both trend and momentum, and helps avoid suboptimal entries when volume or trend strength is lacking. It can be tailored to scalp micro‐moves on lower timeframes or used for higher‐timeframe swing trading by adjusting the input settings.
Volume Profile [ActiveQuants]The Volume Profile indicator visualizes the distribution of trading volume across price levels over a user-defined historical period. It identifies key liquidity zones, including the Point of Control (POC) (price level with the highest volume) and the Value Area (price range containing a specified percentage of total volume). This tool is ideal for traders analyzing support/resistance levels, market sentiment , and potential price reversals .
█ CORE METHODOLOGY
Vertical Price Rows: Divides the price range of the selected lookback period into equal-height rows.
Volume Aggregation: Accumulates bullish/bearish or total volume within each price row.
POC: The row with the highest total volume.
Value Area: Expands from the POC until cumulative volume meets the user-defined threshold (e.g., 70%).
Dynamic Visualization: Rows are plotted as horizontal boxes with widths proportional to their volume.
█ KEY FEATURES
- Customizable Lookback & Resolution
Adjust the historical period ( Lookback ) and granularity ( Number of Rows ) for precise analysis.
- Configurable Profile Width & Horizontal Offset
Control the relative horizontal length of the profile rows, and set the distance from the current bar to the POC row’s anchor.
Important: Do not set the horizontal offset too high. Indicators cannot be plotted more than 500 bars into the future.
- Value Area & POC Highlighting
Set the percentage of total volume required to form the Value Area , ensuring that key volume levels are clearly identified.
Value Area rows are colored distinctly, while the POC is marked with a bold line.
- Flexible Display Options
Show bullish/bearish volume splits or total volume.
Place the profile on the right or left of the chart.
- Gradient Coloring
Rows fade in color intensity based on their relative volume strength .
- Real-Time Adjustments
Modify horizontal offset, profile width, and appearance without reloading.
█ USAGE EXAMPLES
Example 1: Basic Volume Profile with Value Area
Settings:
Lookback: 500 bars
Number of Rows: 100
Value Area: 70%
Display Type: Up/Down
Placement: Right
Image Context:
The profile appears on the right side of the chart. The POC (orange line) marks the highest volume row. Value Area rows (green/red) extend above/below the POC, containing 70% of total volume.
Example 2: Total Volume with Gradient Colors
Settings:
Lookback: 800 bars
Number of Rows: 100
Profile Width: 60
Horizontal Offset: 20
Display Type: Total
Gradient Colors: Enabled
Image Context:
Rows display total volume in a single color with gradient transparency. Darker rows indicate higher volume concentration.
Example 3: Left-Aligned Profile with Narrow Value Area
Settings:
Lookback: 600 bars
Number of Rows: 100
Profile Width: 45
Horizontal Offset: 500
Value Area: 50%
Profile Placement: Left
Image Context:
The profile shifts to the left, with a tighter Value Area (50%).
█ USER INPUTS
Calculation Settings
Lookback: Historical bars analyzed (default: 500).
Number of Rows: Vertical resolution of the profile (default: 100).
Profile Width: Horizontal length of rows (default: 50).
Horizontal Offset: Distance from the current bar to the POC (default: 50).
Value Area (%): Cumulative volume threshold for the Value Area (default: 70%).
Volume Display: Toggle between Up/Down (bullish/bearish) or Total volume.
Profile Placement: Align profile to the Right or Left of the chart.
Appearance
Rows Border: Customize border width/color.
Gradient Colors: Enable fading color effects.
Value Area Colors: Set distinct colors for bullish and bearish Value Area rows.
POC Line: Adjust color, width, and visibility.
█ CONCLUSION
The Volume Profile indicator provides a dynamic, customizable view of market liquidity. By highlighting the POC and Value Area, traders can identify high-probability reversal zones, gauge market sentiment, and align entries/exits with key volume levels.
█ IMPORTANT NOTES
⚠ Lookback Period: Shorter lookbacks prioritize recent activity but may omit critical levels.
⚠ Horizontal Offset Limitation: Avoid excessively high offsets (e.g., close to ±300). TradingView restricts plotting indicators more than 500 bars into the future, which may truncate or hide the profile.
⚠ Risk Management: While the indicator highlights areas of concentrated volume, always use it in combination with other technical analysis tools and proper risk management techniques.
█ RISK DISCLAIMER
Trading involves substantial risk. The Volume Profile highlights historical liquidity but does not predict future price movements. Always use stop-loss orders and confirm signals with additional analysis. Past performance is not indicative of future results.
📊 Happy trading! 🚀
Volume Aggregated Spot & FuturesAggregated volume for cryptos using spot and perpetual contracts but only those that are based on normal volume and not on tick volume.
Provides more reliable volume than volume from one provider.
Thanks to HALDRO because it's his code and I simplified it to create this version.