Mercurio Retrógrado y CorrelaciónUser Guide: "Mercury Retrograde and Correlation" Indicator
This custom indicator for TradingView is designed to explore possible relationships between astrological Mercury Retrograde periods and market behavior. TradingView is a versatile platform that allows you to analyze markets and use custom tools like this one.
The indicator combines two tools in one:
Mercury Retrograde Period Display: Automatically highlights on the chart the dates when Mercury is retrograde.
Correlation Analysis: Measures and displays how synchronized the movement of the asset you are monitoring is with another asset of your choice (e.g., the S&P 500).
What do you see on the chart?
When you apply this indicator to your chart in TradingView, you will see the following elements:
Purple Background: The purple shaded areas show you exactly when the Mercury Retrograde periods occurred or will occur in 2024 and 2025. This allows you to identify at a glance if a specific candle or price movement occurred during one of these events.
Correlation Line (Orange): This line, displayed on the main panel, measures the relationship between the asset on your chart and the asset you choose in the settings.
Near +1.0: It means the two assets are moving in the same direction (if one goes up, the other goes down).
Near -1.0: It means they are moving in opposite directions (if one goes up, the other goes down).
Near 0: There is no clear relationship in their movements.
Reference Lines (Green and Red): The dotted lines at +0.7 (green) and -0.7 (red) help you quickly identify when the correlation is strong, either positive or negative.
廣量指標
Heikin Ashi Trend Strategy (Beginner)FOR BEGINNERS
Perfect! Below is a custom Pine Script for TradingView that:
Uses Heikin Ashi candles
Shows buy/sell signals based on trend conditions:
3+ green/red Heikin Ashi candles
Price above/below 20 EMA
RSI filter for momentum
Momentum & stoch rsimomentum and stochastic rsi indicator ideal for day trading. momenum is set to 80 for a smooth and safe analysis.
Oz SIGNAL PRO v6 is a powerful 15-minute trend-following indicator tailored for precision trading. It detects Break of Structure (BOS) and CHoCH signals with built-in volume confirmation and overlays premium/discount zones directly on the chart. The indicator includes:
🔹 Visual buy/sell labels at breakout points
🔸 Dynamic EMA and VWAP for trend filtering
🟩 Automatic support/resistance zones
🔔 Alert-ready for signal automation
Ideal for intraday traders seeking clean, high-confidence signals.
Upgrade-ready: Easily extend with FVGs, order blocks, liquidity sweeps & backtesting.
ALRais Gold Indicator🔍 What Does the AlRais Gold Indicator Do?
The AlRais Gold Indicator is a custom technical analysis tool built for TradingView using Pine Script. It is designed to help traders identify high-probability buy and sell opportunities based on market structure, Fibonacci retracement levels, and dynamic stop loss and take profit targets.
⸻
🧠 Key Features of the AlRais Gold Indicator:
1. Trend Break Detection:
• The indicator detects when a trendline (based on highs and lows) is broken.
• After the trendline is broken, it waits for a retest of the broken level to confirm a potential entry zone.
2. Entry Zone (Buy/Sell Zone):
• When the trendline is broken and retested successfully:
• A Buy Zone is drawn (blue rectangle) if it’s a bullish breakout.
• A Sell Zone is drawn (red rectangle) for a bearish breakout.
• These zones are based on Fibonacci levels (50%–61.8%) and serve as optimal entry areas.
• Inside the zone, a label like “Buy Zone” or “Sell Zone” is displayed.
3. Dynamic Stop Loss (SL):
• A stop loss level is calculated dynamically:
• For buy setups: SL is placed just below the last swing low.
• For sell setups: SL is above the last swing high.
• A red label “SL” with the price appears at this level.
4. Take Profit Targets (TP1–TP4):
• The indicator automatically calculates four target levels based on Fibonacci
ALRais Gold Indicator🔍 What Does the AlRais Gold Indicator Do?
The AlRais Gold Indicator is a custom technical analysis tool built for TradingView using Pine Script. It is designed to help traders identify high-probability buy and sell opportunities based on market structure, Fibonacci retracement levels, and dynamic stop loss and take profit targets.
⸻
🧠 Key Features of the AlRais Gold Indicator:
1. Trend Break Detection:
• The indicator detects when a trendline (based on highs and lows) is broken.
• After the trendline is broken, it waits for a retest of the broken level to confirm a potential entry zone.
2. Entry Zone (Buy/Sell Zone):
• When the trendline is broken and retested successfully:
• A Buy Zone is drawn (blue rectangle) if it’s a bullish breakout.
• A Sell Zone is drawn (red rectangle) for a bearish breakout.
• These zones are based on Fibonacci levels (50%–61.8%) and serve as optimal entry areas.
• Inside the zone, a label like “Buy Zone” or “Sell Zone” is displayed.
3. Dynamic Stop Loss (SL):
• A stop loss level is calculated dynamically:
• For buy setups: SL is placed just below the last swing low.
• For sell setups: SL is above the last swing high.
• A red label “SL” with the price appears at this level.
4. Take Profit Targets (TP1–TP4):
• The indicator automatically calculates four target levels based on Fibonacci
D15 Precision IndicatorD15 Precision Indicator
The D15 Precision Indicator is a high-accuracy intraday trading tool optimized for 15-minute charts. It identifies precise BUY and SELL signals only when all key conditions align:
✅ Price above/below EMA 21 & EMA 50
✅ Price above/below VWAP
✅ Price within predefined support/resistance zones
✅ Break of Structure (BOS) confirmed by pivot levels
✅ High-volume breakout candle
✅ Optional confirmation from previous candles for added precision
The script includes:
Clear visual arrows (BUY/SELL)
Dynamic background highlights for signals
Support/Resistance zone boxes
All key indicators plotted (EMA, VWAP, zones)
Ideal for disciplined traders aiming for 80%+ win rate through strict signal filtering and visual clarity.
Golden Zone SMC Trend Tablo + ZigzagTrend Table + Zigzag Indicator (Swing Logic, All Timeframes)
This is a comprehensive TradingView Pine Script indicator that combines trend analysis with zigzag pattern visualization across multiple timeframes.
Key Features:
1. Multi-Timeframe Trend Analysis:
Analyzes 8 different timeframes: 1M, 5M, 15M, 1H, 4H, Daily, Weekly, Monthly
Uses swing-based logic to determine trend direction
Calculates two types of trends: External (Ext) and Internal (Int) based on different swing lengths
2. Swing Direction Detection:
External trends use 5-period swing analysis
Internal trends use 3-period swing analysis
Determines "Long" or "Short" bias based on price position relative to swing highs/lows
Excludes inside bars from swing calculations for accuracy
3. Volatility Measurements:
Max MTG: Maximum volatility over 50 periods (highest-lowest range as percentage)
Current MTG: Current volatility over 10 periods
Color-coded display (red when volatility > 35%, green otherwise)
4. Visual Table Display:
Real-time table positioned at bottom-right corner
9 columns (timeframes) × 5 rows (metrics)
Color-coded trend directions (green for Long, red for Short)
Updates every 5 bars for performance optimization
5. Zigzag Pattern Overlay:
Draws continuous zigzag lines connecting swing highs and lows
Configurable period length (default: 5)
Maintains last 20 swing points for clean visualization
Orange-colored lines with 2-pixel width
6. Technical Implementation:
Uses request.security() for multi-timeframe data
Implements pivot high/low detection with ta.pivothigh() and ta.pivotlow()
Maintains historical swing data using arrays
Excludes inside bars from swing calculations
This indicator is particularly useful for traders who need a comprehensive view of market structure across multiple timeframes, combining trend analysis with pattern recognition in a single, easy-to-read dashboard format.
RSI Strategy V1-HardcodedThis strategy is optimized for specific market behavior and has shown the best results on HUT (Hut 8 Mining).
Backtesting on other assets may yield different outcomes.
STMD Indicator PROThe STMD Indicator PRO is designed for traders looking to capture strong trends using moving average alignment and the powerful Elephant Bar pattern, popularized by Oliver Velez.
📋 How it works?
✔ Simple Moving Averages:
SMA 8 (Black)
SMA 13 (Purple)
SMA 20 (Blue)
SMA 200 (Red, optional filter)
✔ Signal conditions:
All SMAs aligned and trending in the same direction
Price near the short-term SMAs
A strong candle (Elephant Bar) with a big body and small opposite wick
Signal only on the first or second consecutive candle of the same color
✅ Features
✔ Background color showing trend bias
✔ Alerts ready: STMD Buy and STMD Sell
✔ Optional SMA 200 filter for higher timeframe confirmation
📌 Disclaimer: This script is for educational purposes only. Not financial advice.
Bollinger Bottom + Middle Lines with Inline TextThis script visualizes key Bollinger Band levels based on two different SMAs (20 & 50 periods), with clear labeling and a smart price table.
🔸 Features:
Draws lower and middle Bollinger Band lines for both SMA(20) and SMA(50)
Inline text at the end of each line instead of default labels (cleaner view)
A dynamic table in the top-right corner, sorted from highest to lowest level
Color-coded rows:
▪️ Orange → BB20 Mid & BB20 Lower
▪️ Green → BB50 Mid & BB50 Lower
Auto-updates each bar without cluttering the chart
✅ Ideal for identifying technical accumulation zones
✅ Suitable for investors using scaling-in strategies or mean-reversion logic
Glamour ETF Index vs. QQQ mit MA10, MA20 & MA50Stan Weinstein uses the term "Glamour Index" as a sentiment indicator to assess how speculative or overheated the stock market is. The Glamour Index measures the relationship between so-called "glamour stocks" (trendy stocks, hyped stocks with high media attention and sometimes extreme price increases) and solid, more conservative stocks. Weinstein uses this index to: 1) Analyze market sentiment – particularly whether the market is in a speculative euphoria phase.
2) Identify warning signs of a potential top formation or an impending downturn.
My basket compares performance against the QQQ (alternatively, SPY or any other benchmark is also possible).
My basket consists of the ETFs in the ARK universe, as well as other growth ETFs such as IPO, FFTY, and QQQJ.
📊 Stock Info + Support/ResistanceThis strategy was developed with the goal of identifying potential entry and exit zones for trading stocks and ETFs, using a swing trading approach based on multi-timeframe demand and supply zone detection.
The script tracks trends and identifies critical movement zones using the ADR (Average Daily Range) indicator across three timeframes: daily, weekly, and monthly, calculating them according to the opening range.
In addition, the script integrates the RSI indicator to assess overbought/oversold conditions. Signals are only generated when an extreme RSI level (below 30 or above 70) coincides with the price entering a demand or supply zone across all three timeframes.
The output includes only graphic arrows on the chart at entry and exit points, with no visual clutter or unnecessary indicators.
---
How to Use:
Suitable for swing trading, not for intraday scalping.
Apply to a clean chart.
Can be combined with external indicators such as support/resistance detection (e.g., SRMTF) — though this is optional.
This script does not constitute investment advice and is intended for monitoring purposes only.
PROFIT PURIFY SL/TargetsEach level has its own colored line:
Entry: White
Stop Loss: Red
Target 1: Orange
Target 2: Yellow
Target 3: Green
Each level has clear price labels that appear at the signal bar
The lines will remain visible until the next trade signal occurs
For long positions, targets appear above entry and SL below
For short positions, targets appear below entry and SL above
RSI with Background Colorhis script implements a trading strategy based on an EMA (Exponential Moving Average) crossover, confirmed by the RSI (Relative Strength Index), and includes a built-in stop-loss and take-profit.
AI-Powered Market and Fast Trend AnalysisAI-Powered Market and Fast Trend Analysis Presentation V7
Hello,
This presentation explains the core features and functionality of your "AI-Powered Market and Fast Trend Analysis" Pine Script indicator used on the TradingView platform.
1. General Overview
This indicator combines various technical analysis indicators and an AI-based decision-making mechanism to analyze market trends, volatility, volume movements, and potential reversal points. Its purpose is to provide users with a comprehensive and quick overview to make more informed buy/sell decisions.
2. General Settings and Periods
The indicator offers several input parameters to customize the analysis:
General Settings: Allows you to adjust the calculation periods for core indicators such as Period (General), TTM Period, Stoch %K/%D Period, Keltner Channel Multiplier, Volume Oscillator Fast/Slow Period.
3. AI Decision Weights
The AI decision mechanism, which is the heart of the indicator, generates a final AI score by assigning weights to different category scores:
Trend Indicators Weight: The impact of trend indicators such as Supertrend, TTM Squeeze, QQE, Vortex, RSI, Stochastic, Moving Averages (SMA, EMA, WMA, VWMA), MACD, Ichimoku Kijun, TEMA, HMA on the final score.
Momentum Indicators Weight: The impact of momentum indicators on the final score.
Volatility Indicators Weight: The impact of volatility indicators such as Bollinger Band Width, ATR, Keltner Channel Width, Donchian Channel Width, NATR.
Volume Indicators Weight: The impact of volume indicators such as OBV, AD, CMF, MFI, Volume Oscillator, VPT, VWAP.
Candlestick Pattern Weight (New): The impact of candlestick patterns like Doji, Bullish/Bearish Engulfing, Hammer, Shooting Star on the AI decision.
Reversal Momentum Weight (New): The impact of sudden price movements and reversal signals on the AI decision.
Market Context Weight: Determines how the general market sentiment from BIST indices (XU100, XU030, XBANK), in addition to the traded symbol's data, influences the AI decision. This weight controls how much the symbol's own data versus index data affects the AI decision.
4. AI Decision Thresholds
The AI score is converted into buy/sell signals based on specific threshold values, and the strength of the score is qualified:
AI Buy/Sell Thresholds: Separate buy and sell thresholds are defined for different asset classes like BIST stocks and Gold/MGC1.
Score Qualification Thresholds (New): The strength of the AI score is determined by levels such as Very Strong Buy/Sell, Strong Buy/Sell, Moderate Buy/Sell, Weak Buy/Sell.
Category-Based Signal Thresholds: Separate buy/sell thresholds exist for each category like trend, volatility, and volume.
5. Market Context Integration
The indicator analyzes not only the data of the traded symbol but also the data from BIST indices (XU100, XU030, XBANK) to incorporate general market sentiment into the AI decision. This provides a more holistic and reliable analysis.
6. Target Point Calculations
The indicator calculates potential buy and sell targets using ATR (Average True Range) multipliers. These targets are shown separately for different timeframes (30 Min, 1 Hour, 4 Hour, 1 Day, 1 Week) and are also marked on the chart. Additionally, Nearest Buy/Sell and Farthest Buy/Sell targets are determined from all timeframes.
7. Candlestick Patterns and Coloring
Pattern Detection: Automatically detects and marks important candlestick patterns such as Doji, Bullish Engulfing, Bearish Engulfing, Hammer, and Shooting Star on the chart.
Candlestick Coloring: Candlesticks are dynamically colored based on detected patterns and volume inflow. For example, in a Bullish Engulfing pattern, the candlestick turns solid green, while candlesticks with volume inflow are shown in white.
Fake Rally Indicator (New): Generates a "Fake Rally" signal when the overall AI score is still in a bearish zone, but there are bullish candlesticks and weak reversal signals.
8. Overbought/Oversold and Indecision Zones
On the chart, Overbought, Oversold, and Indecision zones are visually marked based on price movements within a specific period. These zones help you understand whether the price is near potential reversal points.
9. Panel Information (Top Right Corner)
The information panel located in the top right corner of the chart summarizes all important analysis results:
AI Decision: The general AI signal (Very Strong Buy/Sell, Strong Buy/Sell, etc.) and its color.
Score: The final AI score and its color (green, yellow, red).
Direction: The general market direction determined by AI (UP, DOWN, SIDEWAYS).
Category Signal: The combined signal of trend, volatility, and volume categories.
Confirmation Signal (New): The overall confidence level generated by combining the final AI score and the category signal (DEFINITE BUY/SELL, VERY STRONG, STRONG, MODERATE, WEAK, UNCERTAIN).
Timeframe-Based Status: Trend, Volatility, and Volume statuses for 30 Min, 1 Hour, 4 Hour, 1 Day, and 1 Week timeframes (Uptrend/Downtrend/Neutral, Inflow/Outflow/Neutral).
Candlestick Pattern: The detected candlestick pattern in the active timeframe.
Market Index Score: The average AI score of BIST indices.
Buyer/Seller Power (New): The percentage distribution of buyer and seller power in the current candlestick.
Target Buy/Sell: Potential buy and sell targets calculated for each timeframe.
Nearest/Farthest Buy/Sell (New): The nearest and farthest buy/sell points determined from targets across all timeframes.
10. How It Helps
This indicator helps you make sense of complex market data and assists you with:
Quick Decision Making: Allows you to quickly see the overall market situation and potential buy/sell signals at a glance.
Trend Identification: Helps you understand trends across different timeframes and their strength.
Risk Management: Supports your risk management strategies with target points and volatility analyses.
Market Sentiment: Enables you to make more accurate decisions by considering the general market context through index integration.
Important Note: When using the indicator for buy/sell decisions, please consider removing the "Overall AI Score" line and the "Buy/Sell Threshold" lines from the chart for a cleaner full-screen view.
I hope this presentation helps you better understand your code and proves useful in your TradingView operations.
Sincerely,
Multi-Timeframe Trend Analysis [Aaron Diaz]🧠 Indicator Review: Multi-Timeframe Trend Analysis
📌 What Does It Do?
The "Multi-Timeframe Trend Analysis" indicator by Aaron Diaz performs a trend assessment across multiple timeframes using Exponential Moving Averages (EMAs) as internal logic. Instead of plotting EMAs on the chart, this version only displays a clean dashboard that shows whether each EMA is trending up or down, keeping your chart clutter-free.
🧾 Based on the original indicator by BigBeluga, this version was modified by Aaron Diaz to remove the EMA plots and focus solely on actionable trend information via a table.
🔍 How It Works
It calculates 5 different EMAs (default: 20, 30, 40, 50, 60 periods).
For each EMA, it checks if it’s trending up (EMA > EMA 2 candles ago) or down.
These signals are then evaluated across 5 customizable timeframes (e.g., 1h, 2h, 3h, etc.).
A dashboard/table appears on the top-right corner of your screen, showing:
🢁 = Uptrend for that EMA and timeframe.
🢃 = Downtrend.
It uses color codes (green = bullish, purple = bearish) to make trend reading fast and intuitive.
🧱 Technical Foundations
Exponential Moving Averages (EMAs):
EMAs give more weight to recent prices, making them highly responsive to current trends.
Widely used to detect momentum and reversals.
Multi-Timeframe Analysis (MTF):
Helps confirm trend strength by analyzing multiple timeframes.
Reduces false signals and noise found in a single timeframe.
📈 Suggested Strategy: "MTF Trend Confluence"
🎯 Goal:
Only trade when multiple timeframes confirm the same directional bias.
✅ Long Entry Rules:
At least 3 out of 5 timeframes must show 🢁 on at least 4 of the 5 EMAs.
Confirm entry with:
A bullish candlestick pattern.
A breakout above recent resistance.
Optional filter: RSI or MACD not in overbought zone.
🔻 Short Entry Rules:
At least 3 timeframes must show 🢃 on at least 4 EMAs.
Confirm with:
A bearish candle or breakdown below support.
Optional filter: RSI or MACD not in oversold zone.
🛑 Exit Rules:
Take Profit at key support/resistance levels or at a 2:1 risk-reward ratio.
Stop Loss below/above the last swing or fixed % (e.g., 1.5–2%).
Exit early if the dashboard shows a shift in trend across key timeframes.
🧪 Example Use Case
You're trading on a 15-minute chart:
The dashboard shows 🢁 across 1h, 2h, and 3h timeframes for EMA20, EMA30, and EMA40.
Price breaks a local resistance level.
You enter long and target the next liquidity zone, placing your stop-loss below the most recent swing low.
⚠️ Important Notes
This is not a signal generator—it’s a trend confirmation tool.
Best used for swing or intraday trend trading.
Avoid using it in ranging or sideways markets.
İsmetChenil v6 - AdvancedLong-term is more stable. Short-term long signals are stronger and perform better in crypto and stock markets year-to-date.
Bandas de Bollinger con Shading 20% de WilliamsJMDBandas de Bollinger al 20% simple útil para operar con acciones.
Crypto Spot Volume Ratio**Overview**
This TradingView Pine Script v7 indicator computes and visualizes each exchange’s spot‐volume share relative to the average across ten major venues. By plotting ten “volume coefficients” around a baseline of 1, you immediately see which exchanges are trading above or below the aggregate average in each bar (timeframe period).
---
## 1. Data Sources
The script pulls spot trading volume for the current symbol (e.g. BTC/USDT, ETH/USDT, SOL/USDT, etc.) from these ten exchanges:
* Binance
* OKX
* Bybit
* KuCoin
* Gate.io
* HTX
* Kraken (USD pair)
* Coinbase (USD pair)
* Bitstamp (USD pair)
* Bitfinex (USD pair)
For USD-quoted venues (Coinbase, Kraken, Bitstamp, Bitfinex), it automatically converts the symbol suffix from “USDT” to “USD.”
---
## 2. Calculation Steps
1. **Fetch Volumes**
Using `request.security`, the script retrieves `volume` from each exchange’s contract at the chart’s timeframe.
2. **Sum and Average**
* **Total Volume (`sumVol`)** = sum of all ten exchanges’ volumes.
* **Average Volume (`avgVol`)** = `sumVol / 10‘.
3. **Compute Coefficients**
For each exchange *i*,
A coefficient > 1 means that exchange’s volume is above the ten‐exchange average; < 1 means below average.
4. **Rendering**
* **Table**: A horizontal row in the top‐right corner lists each enabled exchange’s coefficient (formatted to two decimals).
* **Plots**: Ten overlaid line plots show each exchange’s coefficient time series. A dashed horizontal line at **1** marks the average baseline.
---
## 3. Configuration Options
In the indicator’s settings panel, you can toggle **“Show …”** for any of the ten exchanges. Disabling an exchange will hide both its table entry and its plotted line—but does **not** change the average calculation (which always divides by 10).
---
## 4. Interpretation & Significance
* **Relative Activity**: By normalizing each venue to the ten‐exchange average, you spot shifts in where volume is concentrated.
* **Liquidity Insights**: Exchanges consistently above 1 may offer deeper liquidity, tighter spreads, or attract more order flow. Those below 1 may lag on volume, signaling lower activity or potential outages.
* **Arbitrage & Flow Monitoring**: Sudden spikes on a particular exchange (coefficient >> 1) can indicate localized buying/selling pressure, useful for spotting arbitrage windows, large order flows, or exchange-specific events.
* **Market Health**: Tracking the dispersion of these coefficients over time gives you a quick visual of how balanced or skewed the overall market activity is across venues.
---
## 5. How It Works in Practice
1. **Attach** this indicator to any USDT or USD spot chart (e.g., BTCUSDT, ETHUSDT).
2. **Observe** which exchange lines rise above the dashed **1** line—those venues are currently trading more volume than the average of the ten.
3. **Use** the table to see exact coefficient values each bar.
4. **Toggle** exchanges on/off to focus on specific venues without affecting the universal average baseline.
By comparing ten exchanges on a single pane, you gain real-time clarity on where crypto liquidity and activity are most intense—and where it temporarily wanes—empowering more informed trading, arbitrage strategies, and market‐structure analysis.