Quarterly Revenue & Growthinspired by TrendSpider. Monitoring a company's earning revenue quarter by quarter.
指標和策略
Zonas de Soporte EURUSD Multi-Timeframe//@version=5
indicator("Zonas de Soporte EURUSD Multi-Timeframe", overlay=true)
// Configuraciones
lookback = input.int(200, "Velas a analizar", minval=50)
tolerance = input.float(0.5, "Tolerancia %", minval=0.1)
touchesMin = input.int(3, "Toques mínimos para validar soporte", minval=2)
// Función para encontrar zonas de soporte
f_findSupportZones(_low, _label) =>
var float zones = na
var int found = 0
for i = 0 to lookback - 1
float base = _low
int touches = 0
for j = i + 1 to lookback - 1
if math.abs(_low - base) <= base * (tolerance / 100)
touches := touches + 1
if touches >= touchesMin
label.new(bar_index , base, text="Zona " + _label + " " + str.tostring(base, format.mintick),
style=label.style_label_up, color=color.green, textcolor=color.white, size=size.small)
found := found + 1
found
// Múltiples temporalidades
low_h1 = request.security("EURUSD", "60", low)
low_h4 = request.security("EURUSD", "240", low)
low_d1 = request.security("EURUSD", "D", low)
low_w1 = request.security("EURUSD", "W", low)
low_mn1 = request.security("EURUSD", "M", low)
// Llamadas a la función
zonesH1 = f_findSupportZones(low_h1, "H1")
zonesH4 = f_findSupportZones(low_h4, "H4")
zonesD1 = f_findSupportZones(low_d1, "D1")
zonesW1 = f_findSupportZones(low_w1, "W1")
zonesMN1 = f_findSupportZones(low_mn1, "MN1")
// Reporte
if bar_index % 50 == 0
label.new(bar_index, high, text="Reporte Zonas Soporte H1: "+str.tostring(zonesH1)+" H4: "+str.tostring(zonesH4)+" D1: "+str.tostring(zonesD1)+" W1: "+str.tostring(zonesW1)+" MN1: "+str.tostring(zonesMN1),
style=label.style_label_down, yloc=yloc.abovebar, size=size.normal,
textcolor=color.black, color=color.new(color.white, 80))
Multi-Time Period Charts with Wicks - ENEXSLWe wanted to see the candle wicks on the official Multi-Time Period Charts indicator.
This version has wick calculations added. Please see www.tradingview.com for the original indicator breakdown.
In short, this indicator will reference larger time periods and draw a candle with the wick around a smaller timeframe chart..
SMA Crossing Background Color (Multi-Timeframe)When day trading or scalping on lower timeframes, it’s often difficult to determine whether the broader market trend is moving upward or downward. To address this, I usually check higher timeframes. However, splitting the layout makes the charts too small and hard to read.
To solve this issue, I created an indicator that uses the background color to show whether the current price is above or below a moving average from a higher timeframe.
For example, if you set the SMA Length to 200 and the MT Timeframe to 5 minutes, the indicator will display a red background on the 1-minute chart when the price drops below the 200 SMA on the 5-minute chart. This helps you quickly recognize that the trend on the higher timeframe has turned bearish—without having to open a separate chart.
デイトレード、スキャルピングで短いタイムフレームでトレードをするときに、大きな動きは上に向いているのか下に向いているのかトレンドがわからなくなることがあります。
その時に上位足を確認するのですが、レイアウトをスプリットすると画面が小さくて見えにくくなるので、バックグラウンドの色で上位足の移動平均線では価格が上なのか下なのかを表示させるインジケーターを作りました。
例えば、SMA Length で200を選び、MT Timeframeで5分を選べば、1分足タイムフレームでトレードしていて雲行きが怪しくなってくるとBGが赤になり、5分足では200線以下に突入しているようだと把握することができます。
EMA Shadow Trading_TixThis TradingView indicator, named "EMA Shadow Trading_Tix", combines Exponential Moving Averages (EMAs) with VWAP (Volume-Weighted Average Price) and a shadow fill between EMAs to help traders identify trends, momentum, and potential reversal zones. Below is a breakdown of its key functions:
1. EMA (Exponential Moving Average) Settings
The indicator allows customization of four EMAs with different lengths and colors:
EMA 1 (Default: 9, Green) – Short-term trend filter.
EMA 2 (Default: 21, Red) – Medium-term trend filter.
EMA 3 (Default: 50, Blue) – Mid-to-long-term trend filter.
EMA 4 (Default: 200, Orange) – Long-term trend filter (often used as a "bull/bear market" indicator).
Key Features:
Global EMA Source: All EMAs use the same source (default: close), ensuring consistency.
Toggle Visibility: Each EMA can be independently shown/hidden.
Precision Calculation: EMAs are rounded to the minimum tick size for accuracy.
Customizable Colors & Widths: Helps in distinguishing different EMAs easily.
How Traders Use EMAs:
Trend Identification:
If price is above all EMAs, the trend is bullish.
If price is below all EMAs, the trend is bearish.
Crossovers:
A shorter EMA crossing above a longer EMA (e.g., EMA 9 > EMA 21) suggests bullish momentum.
A shorter EMA crossing below a longer EMA (e.g., EMA 9 < EMA 21) suggests bearish momentum.
Dynamic Support/Resistance:
EMAs often act as support in uptrends and resistance in downtrends.
2. Shadow Fill Between EMA 1 & EMA 2
The indicator includes a colored fill (shadow) between EMA 1 (9-period) and EMA 2 (21-period) to enhance trend visualization.
How It Works:
Bullish Shadow (Green): Applies when EMA 1 > EMA 2, indicating a bullish trend.
Bearish Shadow (Red): Applies when EMA 1 < EMA 2, indicating a bearish trend.
Why It’s Useful:
Trend Confirmation: The shadow helps traders quickly assess whether the short-term trend is bullish or bearish.
Visual Clarity: The fill makes it easier to spot EMA crossovers and trend shifts.
3. VWAP (Volume-Weighted Average Price) Integration
The indicator includes an optional VWAP overlay, which is useful for intraday traders.
Key Features:
Customizable Anchor Periods: Options include Session, Week, Month, Quarter, Year, Decade, Century, Earnings, Dividends, Splits.
Hide on Higher Timeframes: Can be disabled on 1D or higher charts to avoid clutter.
Adjustable Color & Width: Default is purple, but users can change it.
How Traders Use VWAP:
Mean Reversion: Price tends to revert to VWAP.
Trend Confirmation:
Price above VWAP = Bullish bias.
Price below VWAP = Bearish bias.
Breakout/Rejection Signals: Strong moves away from VWAP may indicate continuation or exhaustion.
4. Practical Trading Applications
Trend-Following Strategy:
Long Entry: Price above all EMAs + EMA 1 > EMA 2 (green shadow). Optional: Price above VWAP for intraday trades.
Short Entry: Price below all EMAs + EMA 1 < EMA 2 (red shadow). Optional: Price below VWAP for intraday trades.
Mean Reversion Strategy:
Pullback to EMA 9/21/VWAP: Look for bounces near EMAs or VWAP in a strong trend.
Multi-Timeframe Confirmation:
Higher timeframe EMAs (50, 200) can be used to filter trades (e.g., only trade longs if price is above EMA 200).
Conclusion
This EMA Shadow Trading Indicator is a versatile tool that combines:
✔ Multiple EMAs for trend analysis
✔ Shadow fill for quick trend visualization
✔ VWAP integration for intraday trading
It is useful for swing traders, day traders, and investors looking for trend confirmation, momentum shifts, and dynamic support/resistance levels.
Volume MAs Oscillator | Lyro RSVolume MAs Oscillator | Lyro RS
Overview
The Volume MAs Oscillator is a powerful volume‑adjusted momentum tool that combines custom‑weighted moving averages on volume‑weighted price with smoothed deviation bands. It offers dynamic insights into trend direction, overbought/oversold conditions, and relative valuation — all within a single indicator
Key Features
Volume‑Adjusted Moving Averages: Moving averages can be volume‑weighted using the following formula: a moving average of (Price × Volume) divided by a moving average of Volume. This formula is applied across more than 14 different moving averages; however, it is not used with the VWMA, as VWMA is inherently a volume-weighted moving average.
Percentage Oscillator: Displays the normalized difference: (source – MA) / MA * 100, centered around zero for easy interpretation of strength and direction.
Deviation Bands: Builds upper and lower bands from standard deviation of the oscillator over a selected lookback, with distinct positive/negative multipliers and optional smoothing to reduce noise.
Inputs: Band Length, Band Smoothing, Positive Band Multiplier, Negative Band Multiplier.
Multi‑Mode Signal System:
1. Trend Mode – Colors oscillator according to breaks above (bullish) or below (bearish) respective bands.
2. Reversion Mode – Inverses color logic: signals overextensions beyond bands as reversion opportunities, greys inside the bands.
3. Valuation Mode – Applies a gradient color scale (UpC ⇄ DnC) to reflect relative valuation strength.
Customizable Visuals: Select from 5 pre‑set palettes—Classic, Mystic, Major Themes, Accented, Royal—or define your own custom bullish/bearish colors.
Chart enhancements include color‑coded oscillator line, deviation bands, glow‑effect midline at zero, background shading and candlestick/bar coloring aligned to signal mode.
Built‑In Signals: Automatically plots ▲ oversold and ▼ overbought markers upon crosses of lower/upper bands (in trend or reversion modes), enhancing signal clarity.
How It Works
MA Calculation – Applies the selected MA type to price × volume (normalized by MA of volume) or direct VWMA.
Oscillator Output – Calculates the % difference of source vs. derived MA.
Band Construction – Computes rolling standard deviation; applies user‑defined multipliers; smooths bands with exponential blending.
Mode-Dependent Coloring & Signals –
• Trend: Highlights strength trends via band cross coloring.
• Reversion: Flags extremes beyond bands as potential pullbacks.
• Valuation: Uses gradient to reflect oscillator’s position relative to recent range.
Signal Markers – Deploys arrows and color rules to flag overbought (▼) or oversold (▲) conditions when bands are breached.
Practical Use
Trend Confirmation – In Trend Mode, use upward price_diff cross above upper band as bullish; downward cross below lower band as bearish.
Mean Reversion – In Reversion Mode, fading extremes beyond bands may precede a retracement.
Relative Valuation – Valuation Mode shines when assessing how extended price_diff is, with gradient colors indicating valuation zones.
Bars/candles color‑coded to oscillator state boosts clarity of market tone and allows for rapid visual scanning.
Customization
Adjust MA type/length to tune responsiveness vs. smoothing.
Configure band settings for volatility sensitivity.
Toggle between signal modes for trend-following or reversion strategies.
Stylish visuals: pick or customize color schemes to match your chart setup.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals.
Heiken Ashi Candles - CustomizableHeiken Ashi Candles – Customizable Overlay
This TradingView indicator displays accurate Heiken Ashi candles directly on your price chart, perfectly synced with TradingView’s built-in Heiken Ashi source. It’s ideal for traders who want to backtest or analyze Heiken Ashi structure without switching chart types. The indicator also includes full customization of candle body and wick colors for both bullish and bearish candles—perfect for tailoring your chart visuals to your preferences.
Painel de Velas 1H e 2H + Grade DiáriaIndicator Description "1H and 2H Candlestick Panel + Daily Grid"
Overview
This advanced indicator for TradingView combines a candlestick information panel on multiple timeframes with a daily grid of supports and resistances, providing a complete market overview for intraday and swing trading.
Main Features
1. Automatic Daily Grid
Previous Close Line: Highlighted red line marking the previous day's close.
Support/Resistance Grid:
4 lines above (blue) and 4 lines below (gold) the previous close, spaced according to a configurable distance.
Automatic update at the beginning of each new day.
Customizable distance between lines in the inputs.
2. Multi-Timeframe Candlestick Panel
Information table in the upper right corner with data from:
Included timeframes: Current, 30M, 1H, 2H, 3H, 4H, 6H, 12H and Daily (1D).
Displayed information:
Open and Close
Price difference (value and color according to direction)
Candle type (Positive/Negative)
Time remaining until candlestick close (HH:MM:SS format)
3. Confluence Signals
Buy Alert: When all candlesticks (from current to daily) are positive.
Sell Alert: When all candlesticks (from current to daily) are negative.
Visual signals: Buy/sell arrows on the chart and configurable alerts.
Customizable Settings
Grid Distance (Dots): Adjust the distance between daily support/resistance lines.
How to Use
Daily Grid:
Use the blue lines (above) as potential resistance and the gold ones (below) as support.
The red line (previous close) is a key level for analysis.
Candlestick Panel:
Monitor the direction of candlesticks on different timeframes to identify trends.
Use the remaining time to plan entries before the close of important candlesticks.
Confluence Signals:
Trade in the direction of confluence when all timeframes are aligned (buy or sell).
Benefits
✔ Efficient multi-timeframe analysis
✔ Visual identification of support/resistance zones
✔ Automatic alerts for strong setups
✔ Easy grid customization
Ideal for traders who trade based on price action and timeframe confluence!
Intermarket Analysis ProIntermarket Analysis Pro Indicator
Overview
The Intermarket Analysis Pro is a sophisticated trading indicator designed for forex traders, integrating technical analysis with comprehensive macroeconomic insights. This tool features Exponential Moving Averages (EMA 10/20) for trend detection, a consolidated table combining timeframe biases, trading signals, and intermarket data, delivering a holistic view to optimize decision-making in volatile markets.
Usage Instructions
Installation: Access TradingView, navigate to the Pine Editor, paste the script, and save it as "Intermarket_Analysis_Pro". Apply it to your desired forex chart (e.g., EURUSD on a 5-minute timeframe).
Configuration:
EMA Settings: Select EMA Source as "close" for precise alignment with candle closes, adjust EMA 10 Period (default 10) and EMA 20 Period (default 20) to suit your strategy, and toggle Show EMA Value Labels or Show (B)/(S) Signal Labels for enhanced visibility.
Table Settings: Enable Show Combined Table, select Combined Table Position (e.g., "Bottom Right"), and choose Text Size (e.g., "Small") for optimal display.
Intermarket Parameters: Fine-tune Bias Threshold (default 0.3) and Score Change Threshold (default 10) to refine intermarket bias sensitivity.
Display Options: Switch between "Light" or "Dark" themes to match your chart environment.
Signal Interpretation:
EMA Indicators: A crossover of EMA 10 (orange) above EMA 20 (blue) signals a potential BUY, while a crossunder indicates a SELL. Confirm with "(B)" or "(S)" labels on the chart.
Combined Table: Analyze timeframe biases (e.g., "BULLISH" on 1m), logic signals (e.g., "BUY" on 5m), and intermarket trends (e.g., "EUR Rise (+30)") to align with market conditions.
Strategic Application: Utilize on lower timeframes (1m, 5m) for scalping or higher timeframes (1h, 4h) for swing trading. Ensure smooth scrolling to verify EMA and table synchronization with candles.
Alert Setup: Configure alerts for "Buy Signal" or "Sell Signal" on your preferred timeframe to receive real-time notifications.
Key Features
EMA 10/20: Provides customizable short-term trend analysis with optional value labels.
Unified Table: Merges SimpleBias (timeframe trends), Logic (trading signals), and Intermarket (global currency, index, and bond movements) into a single, scrollable interface.
Intermarket Insights: Evaluates 18 assets (e.g., DXY, SPX500, EUR, XAUUSD) for macroeconomic sentiment, updated hourly with color-coded change indicators.
Customization: Offers adjustable positions, sizes, and thresholds to adapt to individual trading preferences.
Market Context: Reflects current sentiment, such as a bullish EURUSD trend supported by weak NFP data and hawkish ECB policies (as of July 2025).
Best Practices
Timeframe Alignment: Match the chart timeframe with your analysis to ensure accurate EMA and table data representation.
Optimal Trading Hours: Maximize effectiveness during the NY session (08:00-17:00 EST) when intermarket activity is most pronounced.
Troubleshooting: If EMA lags during scrolling, disable labels or reduce additional indicators. Report discrepancies (e.g., "EMA 10 at 1.08840, candle at 1.08850") for further optimization.
Additional Notes
The Intermarket Analysis Pro is tailored for traders seeking to integrate global sentiment with technical signals. Test thoroughly on a demo account and adjust settings to align with your trading strategy. As of July 5, 2025, 04:04 AM WIB, the market indicates a bullish EURUSD outlook, with intermarket data reinforcing BUY opportunities on lower timeframes.
Position Trading Strategy - EMA + FVG (Conservative)claude.ai
# 📊 Conservative Position Trading Strategy - EMA + FVG
## 🎯 **Strategy Overview**
This indicator combines **Exponential Moving Averages (EMA)** with **Fair Value Gap (FVG)** analysis to identify high-probability trading opportunities. Designed specifically for **funded account traders** who need consistent, conservative performance with strict risk management.
---
## 🔧 **Key Features**
### ✅ **Smart Entry Scoring System (1-10 Scale)**
- **EMA Alignment**: 3 points maximum
- **Price Position**: 2 points maximum
- **Momentum Confirmation**: 2 points maximum
- **Volume Validation**: 1 point maximum
- **FVG Proximity**: 2 points maximum
### ✅ **Advanced Signal Filtering**
- **Confluence Filter**: Ensures strong trend alignment
- **Volatility Filter**: Avoids choppy market conditions
- **Time Separation**: Prevents overtrading
- **Enhanced Exit Logic**: Color-coded position tracking
### ✅ **Risk Management Features**
- **Pyramiding Control**: Configurable position scaling
- **Conservative Position Sizing**: Based on account risk
- **Smart Exit Conditions**: Protects profits and limits losses
---
## ⚙️ **Settings Configuration**
### 🎯 **Entry Signal Strength**
| Setting | Conservative | Moderate | Aggressive |
|---------|-------------|----------|------------|
| **Minimum Entry Score** | 8-9 | 7-8 | 6-7 |
| **FVG Threshold** | 0.20% | 0.15% | 0.10% |
| **Use Confluence Filter** | ✅ ON | ✅ ON | ❌ OFF |
| **Volatility Filter** | ✅ ON | ✅ ON | ❌ OFF |
**📝 Recommendation**: Start with **Conservative** settings for funded accounts, then adjust based on performance.
### 🏗️ **Pyramiding Configuration**
| Account Type | Pyramid Levels | Risk Per Trade | Max Drawdown Target |
|-------------|----------------|----------------|---------------------|
| **Funded Account** | 1-2 | 0.25-0.5% | <3% |
| **Personal Account** | 2-3 | 0.5-1.0% | <5% |
| **High Risk** | 3-4 | 1.0-2.0% | <10% |
### 🔧 **Recommended Settings by Trading Style**
#### 🛡️ **Ultra Conservative (Funded Accounts)**
```
Minimum Entry Score: 8
Pyramid Levels: 1
Risk Per Trade: 0.25%
FVG Threshold: 0.20%
Confluence Filter: ON
Volatility Filter: ON
Min Candle Separation: 8
```
#### ⚖️ **Balanced Approach**
```
Minimum Entry Score: 7
Pyramid Levels: 2
Risk Per Trade: 0.5%
FVG Threshold: 0.15%
Confluence Filter: ON
Volatility Filter: ON
Min Candle Separation: 5
```
#### 🎯 **Moderate Aggressive**
```
Minimum Entry Score: 6
Pyramid Levels: 3
Risk Per Trade: 1.0%
FVG Threshold: 0.10%
Confluence Filter: OFF
Volatility Filter: OFF
Min Candle Separation: 3
```
---
## 📈 **How to Use**
### 1️⃣ **Setup Process**
1. Add the indicator to your chart
2. Configure settings based on your account type
3. Set up alerts for entry/exit signals
4. Monitor the info table for real-time metrics
### 2️⃣ **Signal Interpretation**
- **Green Labels (L + Score)**: Long entry signals
- **Red Labels (S + Score)**: Short entry signals
- **Green EXIT L**: Long position exits
- **Magenta EXIT S**: Short position exits
### 3️⃣ **Info Table Monitoring**
- **Long/Short Score**: Current entry strength
- **Trend**: Overall market direction
- **Position**: Current position status
- **Pyramids**: Active scaling levels
- **Volatility**: Market condition assessment
---
## 🎨 **Visual Elements**
### 📊 **Chart Display**
- **Blue Line**: EMA 21 (Short-term trend)
- **Orange Line**: EMA 55 (Medium-term trend)
- **Red Line**: EMA 233 (Long-term trend)
- **Background Colors**: Subtle trend indication
- **Entry/Exit Labels**: Clear signal identification
### 📋 **Information Table**
Real-time dashboard showing:
- Current signal strength
- Position status
- Risk metrics
- Market conditions
---
## ⚠️ **Important Notes**
### 🔴 **Risk Disclaimers**
- **Past performance does not guarantee future results**
- **Always use proper risk management**
- **Test thoroughly on demo accounts first**
- **Funded account rules vary by provider**
### 💡 **Best Practices**
- **Backtest extensively** before live trading
- **Start with conservative settings**
- **Monitor maximum drawdown closely**
- **Keep detailed trading records**
- **Follow your funded account rules**
### 📅 **Recommended Timeframes**
- **Primary Analysis**: 4H, 1D
- **Entry Timing**: 1H, 15M
- **Avoid**: <15M timeframes
---
## 🎓 **Strategy Logic**
### 📈 **Entry Conditions**
1. **EMA Alignment**: Trend direction confirmation
2. **Price Position**: Above/below key EMAs
3. **Momentum**: RSI and price change validation
4. **Volume**: Above-average trading activity
5. **FVG Proximity**: Near unfilled gaps
### 📉 **Exit Conditions**
- EMA crossovers (trend change)
- Price breaks key support/resistance
- Momentum reversal signals
- Position management rules
---
## 🏆 **Performance Optimization**
### 📊 **For Better Results**
- **Combine with market structure analysis**
- **Use multiple timeframe confirmation**
- **Respect overall market trends**
- **Avoid trading during major news events**
### 🔧 **Customization Tips**
- **Adjust EMA periods** for different markets
- **Modify FVG threshold** based on volatility
- **Experiment with scoring weights**
- **Fine-tune risk parameters**
---
## 💬 **Community & Support**
### 📝 **Feedback Welcome**
- Share your settings and results
- Report any bugs or issues
- Suggest improvements
- Post your backtesting results
### 🤝 **Collaboration**
This strategy is designed to evolve with community input. Your feedback helps make it better for everyone!
---
## 🎯 **Final Recommendations**
### ✅ **Do:**
- Start conservative and adjust gradually
- Backtest thoroughly across different market conditions
- Keep detailed performance records
- Follow strict risk management rules
### ❌ **Don't:**
- Use maximum aggressive settings immediately
- Ignore drawdown limits
- Trade without proper backtesting
- Violate your funded account rules
---
**📞 Remember**: This indicator is a tool to assist your trading decisions. Always combine it with proper risk management, market analysis, and your own trading plan. Success in trading comes from discipline, patience, and continuous learning.
**🎯 Good luck and trade safely!**
Latest Prev Day Supply/Demand ZonesSupply and demand zones are key price levels where buyers and sellers previously clashed, creating areas of support (demand) and resistance (supply). Day traders use these zones as strategic entry and exit points by buying when price pulls back to demand zones and selling when price rallies to supply zones, always waiting for confirmation through candlestick patterns or momentum indicators before entering trades. These zones work best when combined with proper risk management (stop losses below demand zones for longs, above supply zones for shorts) and are most effective in trending or ranging markets rather than choppy sideways action. The strongest zones are those that have held multiple times with high volume, and day traders typically mark these levels each morning based on the previous day's price action, focusing on the most recent and relevant zones closest to current price levels for the highest probability trades.
Advanced Currency Strength Meter# Advanced Currency Strength Meter (ACSM)
The Advanced Currency Strength Meter (ACSM) is a scientifically-based indicator that measures relative currency strength using established academic methodologies from international finance and behavioral economics. This indicator provides traders with a comprehensive view of currency market dynamics through multiple analytical frameworks.
### Theoretical Foundation
#### 1. Purchasing Power Parity (PPP) Theory
Based on Cassel's (1918) seminal work and refined by Froot & Rogoff (1995), PPP suggests that exchange rates should reflect relative price levels between countries. The ACSM momentum component captures deviations from long-term equilibrium relationships, providing insights into currency misalignments.
#### 2. Uncovered Interest Rate Parity (UIP) and Carry Trade Theory
Building on Fama (1984) and Lustig et al. (2007), the indicator incorporates volatility-adjusted momentum to capture carry trade flows and interest rate differentials that drive currency strength. This approach helps identify currencies benefiting from interest rate differentials.
#### 3. Behavioral Finance and Currency Momentum
Following Burnside et al. (2011) and Menkhoff et al. (2012), the model recognizes that currency markets exhibit persistent momentum effects due to behavioral biases and institutional flows. The indicator captures these momentum patterns for trading opportunities.
#### 4. Portfolio Balance Theory
Based on Branson & Henderson (1985), the relative strength matrix captures how portfolio rebalancing affects currency cross-rates and creates trading opportunities between different currency pairs.
### Technical Implementation
#### Core Methodologies:
- **Z-Score Normalization**: Following Sharpe (1994), provides statistical significance testing without arbitrary scaling
- **Momentum Analysis**: Uses return-based metrics (Jegadeesh & Titman, 1993) for trend identification
- **Volatility Adjustment**: Implements Average True Range methodology (Wilder, 1978) for risk-adjusted strength
- **Composite Scoring**: Equal-weight methodology to avoid overfitting and maintain robustness
- **Correlation Analysis**: Risk management framework based on Markowitz (1952) portfolio theory
#### Key Features:
- **Multi-Source Data Integration**: Supports OANDA, Futures, and CFD data sources
- **Scientific Methodology**: No arbitrary scaling or curve-fitting; all calculations based on established statistical methods
- **Comprehensive Dashboard**: Clean, professional table showing currency strengths and best trading pairs
- **Alert System**: Automated notifications for strong/weak currency conditions and extreme values
- **Best Pair Identification**: Algorithmic detection of highest-potential trading opportunities
### Practical Applications
#### For Swing Traders:
- Identify currencies in strong uptrends or downtrends
- Select optimal currency pairs based on relative strength divergence
- Time entries based on momentum convergence/divergence
#### For Day Traders:
- Use with real-time futures data for intraday opportunities
- Monitor currency correlations for risk management
- Detect early reversal signals through extreme value alerts
#### For Portfolio Managers:
- Multi-currency exposure analysis
- Risk management through correlation monitoring
- Strategic currency allocation decisions
### Visual Design
The indicator features a clean, professional dashboard that displays:
- **Currency Strength Values**: Each major currency (EUR, GBP, JPY, CHF, AUD, CAD, NZD, USD) with color-coded strength values
- **Best Trading Pairs**: Filtered list of highest-potential currency pairs with BUY/SELL signals
- **Market Analysis**: Real-time identification of strongest and weakest currencies
- **Potential Score**: Quantitative measure of trading opportunity strength
### Data Sources and Latency
The indicator supports multiple data sources to accommodate different trading needs:
- **OANDA (Delayed)**: Free data with 15-20 minute delay, suitable for swing trading
- **Futures (Real-time)**: CME currency futures for real-time analysis
- **CFDs**: Alternative real-time data source option
### Mathematical Framework
#### Strength Calculation:
Momentum = (Price - Price ) / Price * 100
Z-Score = (Price - Mean) / Standard Deviation
Volatility-Adjusted = Momentum / ATR-based Volatility
Composite = 0.5 * Momentum + 0.3 * Z-Score + 0.2 * Volatility-Adjusted
#### USD Strength Derivation:
USD strength is calculated as the weighted average of all USD-based pairs, providing a true baseline for relative strength comparison.
### Performance Considerations
The indicator is optimized for:
- **Computational Efficiency**: Uses Pine Script v6 best practices
- **Memory Management**: Appropriate lookback periods and array handling
- **Visual Clarity**: Clean table design optimized for both light and dark themes
- **Alert Reliability**: Robust signal generation with statistical significance testing
### Limitations and Risk Disclosure
- Model performance may vary during extreme market stress (Black Swan events)
- Requires stable data feeds for accurate calculations
- Not optimized for high-frequency scalping strategies
- Central bank interventions may temporarily distort signals
- Performance assumes normal market conditions with behavioral adjustments
### Academic References
- Branson, W. H., & Henderson, D. W. (1985). "The Specification and Influence of Asset Markets"
- Burnside, C., Eichenbaum, M., & Rebelo, S. (2011). "Carry Trade and Momentum in Currency Markets"
- Cassel, G. (1918). "Abnormal Deviations in International Exchanges"
- Fama, E. F. (1984). "Forward and Spot Exchange Rates"
- Froot, K. A., & Rogoff, K. (1995). "Perspectives on PPP and Long-Run Real Exchange Rates"
- Jegadeesh, N., & Titman, S. (1993). "Returns to Buying Winners and Selling Losers"
- Lustig, H., Roussanov, N., & Verdelhan, A. (2007). "Common Risk Factors in Currency Markets"
- Markowitz, H. (1952). "Portfolio Selection"
- Menkhoff, L., Sarno, L., Schmeling, M., & Schrimpf, A. (2012). "Carry Trades and Global FX Volatility"
- Sharpe, W. F. (1994). "The Sharpe Ratio"
- Wilder, J. W. (1978). "New Concepts in Technical Trading Systems"
### Usage Instructions
1. **Setup**: Add the indicator to your chart and select your preferred data source
2. **Currency Selection**: Choose which currencies to analyze (default: all major currencies)
3. **Methodology**: Select calculation method (Composite recommended for most users)
4. **Monitoring**: Watch the dashboard for strength changes and best pair opportunities
5. **Alerts**: Set up notifications for strong/weak currency conditions
EMA, DEMA (x2), SMMA (x2) Combo [V6]The averages of one EMA, two DEMA, and two SMMA are combined. parameters can be adjusted. The transaction is entered and exited according to the intersections.
Divergence Screener [Trendoscope®]🎲Overview
The Divergence Screener is a powerful TradingView indicator designed to detect and visualize bullish and bearish divergences, including hidden divergences, between price action and a user-selected oscillator. Built with flexibility in mind, it allows traders to customize the oscillator type, trend detection method, and other parameters to suit various trading strategies. The indicator is non-overlay, displaying divergence signals directly on the oscillator plot, with visual cues such as lines and labels on the chart for easy identification.
This indicator is ideal for traders seeking to identify potential reversal or continuation signals based on price-oscillator divergences. It supports multiple oscillators, trend detection methods, and alert configurations, making it versatile for different markets and timeframes.
🎲Features
🎯Customizable Oscillator Selection
Built-in Oscillators : Choose from a variety of oscillators including RSI, CCI, CMO, COG, MFI, ROC, Stochastic, and WPR.
External Oscillator Support : Users can input an external oscillator source, allowing integration with custom or third-party indicators.
Configurable Length : Adjust the oscillator’s period (e.g., 14 for RSI) to fine-tune sensitivity.
🎯Divergence Detection
The screener identifies four types of divergences:
Bullish Divergence : Price forms a lower low, but the oscillator forms a higher low, signaling potential upward reversal.
Bearish Divergence : Price forms a higher high, but the oscillator forms a lower high, indicating potential downward reversal.
Bullish Hidden Divergence : Price forms a higher low, but the oscillator forms a lower low, suggesting trend continuation in an uptrend.
Bearish Hidden Divergence : Price forms a lower high, but the oscillator forms a higher high, suggesting trend continuation in a downtrend.
🎯Flexible Trend Detection
The indicator offers three methods to determine the trend context for divergence detection:
Zigzag : Uses zigzag pivots to identify trends based on higher highs (HH), higher lows (HL), lower highs (LH), and lower lows (LL).
MA Difference : Calculates the trend based on the difference in a moving average (e.g., SMA, EMA) between divergence pivots.
External Trend Signal : Allows users to input an external trend signal (positive for uptrend, negative for downtrend) for custom trend analysis.
🎯Zigzag-Based Pivot Analysis
Customizable Zigzag Length : Adjust the zigzag length (default: 13) to control the sensitivity of pivot detection.
Repaint Option : Choose whether divergence lines repaint based on the latest data or wait for confirmed pivots, balancing responsiveness and reliability.
🎯Visual and Alert Features
Divergence Visualization : Divergence lines are drawn between price pivots and oscillator pivots, color-coded for easy identification:
Bullish Divergence : Green
Bearish Divergence : Red
Bullish Hidden Divergence : Lime
Bearish Hidden Divergence : Orange
Labels and Tooltips : Labels (e.g., “D” for divergence, “H” for hidden) appear on price and oscillator pivots, with tooltips providing detailed information such as price/oscillator values, ratios, and pivot directions.
Alerts : Configurable alerts for each divergence type (bullish, bearish, bullish hidden, bearish hidden) trigger on bar close, ensuring timely notifications.
🎲 How It Works
🎯Oscillator Calculation
The indicator calculates the selected oscillator (or uses an external source) and plots it on the chart.
Oscillator values are stored in a map for reference during divergence calculations.
🎯Pivot Detection
A zigzag algorithm identifies pivots in the oscillator data, with configurable length and repainting options.
Price and oscillator pivots are compared to detect divergences based on their direction and ratio.
🎯Divergence Identification
The indicator compares price and oscillator pivot directions (HH, HL, LH, LL) to identify divergences.
Trend context is determined using the selected method (Zigzag, MA Difference, or External).
Divergences are classified as bullish, bearish, bullish hidden, or bearish hidden based on price-oscillator relationships and trend direction.
🎯Visualization and Alerts
Valid divergences are drawn as lines connecting price and oscillator pivots, with corresponding labels.
Alerts are triggered for allowed divergence types, providing detailed information via tooltips.
🎯Validation
Divergence lines are validated to ensure no intermediate bars violate the divergence condition, enhancing signal reliability.
🎲 Usage Instructions as Indicator
🎯Add to Chart:
Add the “Divergence Screener ” to your TradingView chart.
The indicator appears in a separate pane below the price chart, plotting the oscillator and divergence signals.
🎯Configure Settings:
Adjust the oscillator type and length to match your trading style.
Select a trend detection method and configure related parameters (e.g., MA type/length or external signal).
Set the zigzag length and repainting preference.
Enable/disable alerts for specific divergence types.
I🎯nterpret Signals:
Bullish Divergence (Green) : Look for potential buy opportunities in a downtrend.
Bearish Divergence (Red) : Consider sell opportunities in an uptrend.
Bullish Hidden Divergence (Lime) : Confirm continuation in an uptrend.
Bearish Hidden Divergence (Orange): Confirm continuation in a downtrend.
Use tooltips on labels to review detailed pivot and divergence information.
🎯Set Alerts:
Create alerts for each divergence type to receive notifications via TradingView’s alert system.
Alerts include detailed text with price, oscillator, and divergence information.
🎲 Example Scenarios as Indicator
🎯 With External Oscillator (Use MACD Histogram as Oscillator)
In order to use MACD as an oscillator for divergence signal instead of the built in options, follow these steps.
Load MACD Indicator from Indicator library
From Indicator settings of Divergence Screener, set Use External Oscillator and select MACD Histograme from the dropdown
You can now see that the oscillator pane shows the data of selected MACD histogram and divergence signals are generated based on the external MACD histogram data.
🎯 With External Trend Signal (Supertrend Ladder ATR)
Now let's demonstrate how to use external direction signals using Supertrend Ladder ATR indicator. Please note that in order to use the indicator as trend source, the indicator should return positive integer for uptrend and negative integer for downtrend. Steps are as follows:
Load the desired trend indicator. In this example, we are using Supertrend Ladder ATR
From the settings of Divergence Screener, select "External" as Trend Detection Method
Select the trend detection plot Direction from the dropdown. You can now see that the divergence signals will rely on the new trend settings rather than the built in options.
🎲 Using the Script with Pine Screener
The primary purpose of the Divergence Screener is to enable traders to scan multiple instruments (e.g., stocks, ETFs, forex pairs) for divergence signals using TradingView’s Pine Screener, facilitating efficient comparison and identification of trading opportunities.
To use the Divergence Screener as a screener, follow these steps:
Add to Favorites : Add the Divergence Screener to your TradingView favorites to make it available in the Pine Screener.
Create a Watchlist : Build a watchlist containing the instruments (e.g., stocks, ETFs, or forex pairs) you want to scan for divergences.
Access Pine Screener : Navigate to the Pine Screener via TradingView’s main menu: Products -> Screeners -> Pine, or directly visit tradingview.com/pine-screener/.
Select Watchlist : Choose the watchlist you created from the Watchlist dropdown in the Pine Screener interface.
Choose Indicator : Select Divergence Screener from the Choose Indicator dropdown.
Configure Settings : Set the desired timeframe (e.g., 1 hour, 1 day) and adjust indicator settings such as oscillator type, zigzag length, or trend detection method as needed.
Select Filter Criteria : Select the condition on which the watchlist items needs to be filtered. Filtering can only be done on the plots defined in the script.
Run Scan : Press the Scan button to display divergence signals across the selected instruments. The screener will show which instruments exhibit bullish, bearish, bullish hidden, or bearish hidden divergences based on the configured settings.
🎲 Limitations and Possible Future Enhancements
Limitations are
Custom input for oscillator and trend detection cannot be used in pine screener.
Pine screener has max 500 bars available.
Repaint option is by default enabled. When in repaint mode expect the early signal but the signals are prone to repaint.
Possible future enhancements
Add more built-in options for oscillators and trend detection methods so that dependency on external indicators is limited
Multi level zigzag support
RSI For LoopTitle: RSI For Loop
SurgeQuant’s RSI with Threshold Colors and Bar Coloring indicator is a sophisticated tool designed to identify overbought and oversold conditions using a customizable Relative Strength Index (RSI). By averaging RSI over a user-defined lookback period, this indicator provides clear visual signals for bullish and bearish market conditions. The RSI line and price bars are dynamically colored to highlight momentum, making it easier for traders to spot potential trading opportunities.
How It Works
RSI Calculation:
Computes RSI based on a user-selected price source (Close, High, Low, or Open) with a configurable length (default: 5). Optional moving average smoothing refines the RSI signal for smoother analysis.
Lookback Averaging:
Averages the RSI over a user-defined lookback period (default: 5) to generate a stable momentum indicator, reducing noise and enhancing signal reliability.
Threshold-Based Signals:
Long Signal: Triggered when the averaged RSI exceeds the upper threshold (default: 52), indicating overbought conditions.
Short Signal: Triggered when the averaged RSI falls below the lower threshold (default: 48), indicating oversold conditions.
Visual Representation
The indicator provides a clear and customizable visual interface: Green RSI Line and Bars: Indicate overbought conditions when the averaged RSI surpasses the upper threshold, signaling potential long opportunities.
Red RSI Line and Bars: Indicate oversold conditions when the averaged RSI drops below the lower threshold, signaling potential short opportunities.
Neutral Gray RSI Line: Represents RSI values between thresholds for neutral market conditions.
Threshold Lines: Dashed gray lines mark the upper and lower thresholds on the RSI panel for easy reference.
Customization & Parameters
The RSI with Threshold Colors and Bar Coloring indicator offers flexible parameters to suit
various trading styles: Source: Select the input price (default: Close; options: Close, High, Low, Open).
RSI Length: Adjust the RSI calculation period (default: 5).
Smoothing: Enable/disable moving average smoothing (default: enabled) and set the smoothing length (default: 10).
Moving Average Type: Choose from multiple types (SMA, EMA, DEMA, TEMA, WMA, VWMA, SMMA, HMA, LSMA, ALMA; default: ALMA).
ALMA Sigma: Configure the ALMA smoothing parameter (default: 5).
Lookback Period: Set the period for averaging RSI (default: 5).
Thresholds: Customize the upper (default: 52) and lower (default: 48) thresholds for signal generation.
Color Settings: Transparent green and red colors (70% transparency) for bullish and bearish signals, with gray for neutral states.
Trading Applications
This indicator is versatile and can be applied across various markets and strategies: Momentum Trading: Highlights strong overbought or oversold conditions for potential entry or exit points.
Trend Confirmation: Use bar coloring to confirm RSI-based signals with price action on the main chart.
Reversal Detection: Identify potential reversals when RSI crosses the customizable thresholds.
Scalping and Swing Trading: Adjust parameters (e.g., RSI length, lookback) to suit short-term or longer-term strategies.
Final Note
SurgeQuant’s RSI with Threshold Colors and Bar Coloring indicator is a powerful tool for traders seeking to leverage RSI for momentum and reversal opportunities. Its combination of lookback-averaged RSI, dynamic threshold signals, and synchronized RSI and bar coloring offers a robust framework for informed trading decisions. As with all indicators, backtest thoroughly and integrate into a comprehensive trading strategy for optimal results.
Institutional Momentum Scanner [IMS]Institutional Momentum Scanner - Professional Momentum Detection System
Hunt explosive price movements like the professionals. IMS identifies maximum momentum displacement within 10-bar windows, revealing where institutional money commits to directional moves.
KEY FEATURES:
▪ Scans for strongest momentum in rolling 10-bar windows (institutional accumulation period)
▪ Adaptive filtering reduces false signals using efficiency ratio technology
▪ Three clear states: LONG (green), SHORT (red), WAIT (gray)
▪ Dynamic volatility-adjusted thresholds (8% ATR-scaled)
▪ Visual momentum flow with glow effects for signal strength
BASED ON:
- Pocket Pivot concept (O'Neil/Morales) applied to price momentum
- Adaptive Moving Average principles (Kaufman KAMA)
- Market Wizards momentum philosophy
- Institutional order flow patterns (5-day verification window)
HOW IT WORKS:
The scanner finds the maximum price displacement in each 10-bar window - where the market showed its hand. An adaptive filter (5-bar regression) separates real moves from noise. When momentum exceeds the volatility-adjusted threshold, states change.
IDEAL FOR:
- Momentum traders seeking explosive moves
- Swing traders (especially 4H timeframe)
- Position traders wanting institutional footprints
- Anyone tired of false breakout signals
Default parameters (10,5) optimized for 4H charts but adaptable to any timeframe. Remember: The market rewards patience and punishes heroes. Wait for clear signals.
"The market is honest. Are you?"
Stochastic RSI (Self-Comparing Color)Stochastic RSI (Self-Comparing Color)
Color Based Coding based on High and Low close
Multi-Tool Indicator v6This is a versatile technical analysis tool designed to help traders quickly assess market trends and momentum. It combines a customizable Moving Average (MA) with Relative Strength Index (RSI) signals to highlight key market conditions directly on the chart.
🔧 Key Features:
Configurable Moving Average (MA):
Supports SMA (Simple Moving Average) and EMA (Exponential Moving Average).
User-defined length to match your strategy.
Plotted directly on the price chart for trend tracking.
RSI-Based Signal Detection:
Uses RSI to detect overbought (above 70) and oversold (below 30) conditions.
Plots red/green triangle shapes above/below bars when these conditions occur.
Background Highlighting:
Changes chart background to red when overbought and green when oversold to improve visual clarity.
Alerts for Key RSI Events:
Alerts can be triggered when RSI enters overbought or oversold zones.
Useful for automated strategy notifications.
MA Value Labels:
A label shows the current value of the MA near the most recent bar.
Price x Vol StochasticAn enhanced Fast Stochastic (FSTO) indicator that integrates volume as a conviction amplifier.
This script modifies the price stochastic to range from −1 to +1, allowing it to express directional momentum. Volume stochastic remains in the range of 0 to +1, serving as a direction-neutral amplifier.
The result is a bi-directional composite stochastic that:
>> Emphasizes congruent signals (e.g., strong price direction with strong volume).
>> Minimizes misleading or incongruent signals from high volume paired with neutral or conflicting price movement.
Ideal for identifying high-conviction breakouts and momentum divergences with volume support.
DDOG Breakout Dashboard Proull-featured breakout dashboard that gives you visual clarity, trade confidence, and the tactical edge you love. Here’s the upgraded layout with:
🧩 Multi-pane visualizations
🔔 Global alert conditions for breakout moves
📉 Dynamic Open Interest (OI) overlays for futures tracking
🔁 Modular scripting to integrate with your existing RSI dashboards
My Script v6SMA Calculation: Computes a Simple Moving Average of the selected input source (default is the closing price) over a user-defined period (Length, default 14).
Buy Signal: Displays a green "BUY" label below the bar when the price crosses above the SMA (bullish crossover).
Sell Signal: Displays a red "SELL" label above the bar when the price crosses below the SMA (bearish crossunder).
Overlay Enabled: The indicator is drawn directly on the price chart (overlay=true).