MA 50/150Simple MA at 50 and 150. Important levels, especially looking at the 1-Day chart, for momentum and swing trading equities and ETFs.
Indicatori e strategie
STOCK EXCHANGE + SILVER BULLET FRAMESThis script is an updated version of the " NY/LDN/TOK Stock Exchange Opening Hours " script.
Objective
Displays global stock exchange sessions (New York, London, Tokyo) with session frames, highs/lows, and opening lines. Includes ICT Silver Bullet windows (NY, London, Tokyo) with configurable shading. Past sessions are frozen at close, ongoing sessions update dynamically until closure, and upcoming sessions are pre-drawn. Fully customizable with options for weekends, labels, padding, opacity, and individual session toggles.
It is designed to help traders quickly interpret market context, liquidity zones, and session-based price behavior.
Main Features
Past sessions (historical data)
• Session Frames:
• Each box is frozen at the session’s close.
• The left edge aligns with the opening time, while the right edge is fixed at the closing time.
• The top and bottom reflect the highest and lowest prices during the session.
• Session Labels:
• Names (NY, LDN, TOK) displayed above the frame, aligned left, in the same color as the frame.
• Opening Lines:
• Vertical dotted lines mark the start of each session.
Ongoing and upcoming sessions (live market)
• Dynamic Session Frames:
• The right edge is locked at the future close time.
• The top and bottom update in real time as new highs and lows form.
• Labels and Lines:
• The session label is visible above the active frame.
• Opening lines are drawn as soon as the session begins.
Silver Bullet Time Windows (ICT concept)
• Highlights key liquidity windows within sessions:
• New York: 10:00–11:00 and 14:00–15:00
• London: 08:00–09:00
• Tokyo: 09:00–10:00
• Silver Bullet zones are shaded with configurable opacity (default 5%).
Customization and Options
• Enable or disable individual sessions (NY, London, Tokyo).
• Toggle weekend display (frames and Silver Bullets).
• Adjust label size, padding, and text visibility.
• Control frame opacity (default 0%).
• Optimized memory management with automatic pruning of old graphical objects.
MACROFLOW 200 — Bias & Triggersstephtradez model
MACROFLOW 200 — at a glance (the elevator pitch)
Trade direction = Macro Bias + 1H 200 EMA filter + DXY confirm.
Locations = 1H supply/demand zones.
Triggers (15m): (T1) Retest rejection, (T2) Liquidity sweep + BOS/CHOCH, (T3) Momentum break + shallow pullback.
Stops: structure‑based beyond zone with ATR buffer.
Targets: 2R base, scale at 1.5R, trail to next HTF zone.
Sessions: 7–10 pm ET and 9:30–10:30 am ET.
Risk: tight, prop‑friendly max 1% per session
NAS100 Component Sentiment Scanner# NAS100 Component Sentiment Scanner
## 🎯 Overview
The NAS100 Component Sentiment Scanner analyzes the top-weighted stocks in the NASDAQ-100 index to provide real-time bullish/bearish sentiment signals that can help predict NAS100 price movements. This indicator combines multiple technical analysis methods to give traders a comprehensive view of underlying market sentiment.
## 📊 How It Works
The indicator calculates sentiment scores for major NASDAQ-100 components (AAPL, MSFT, NVDA, GOOGL, AMZN, META, TSLA, AVGO, COST, NFLX) using:
- **RSI Analysis**: Identifies overbought/oversold conditions
- **Moving Average Trends**: Compares fast vs slow MA positioning
- **Volume Confirmation**: Validates moves with volume thresholds
- **Price Momentum**: Analyzes recent price direction
- **Market Cap Weighting**: Uses actual NASDAQ-100 weightings for accuracy
## 🚀 Key Features
### Real-Time Sentiment Analysis
- Weighted composite score based on individual stock analysis
- Color-coded sentiment line (Green = Bullish, Red = Bearish)
- Dynamic background coloring for strong signals
### Interactive Data Table
- Shows individual stock scores and signals
- Bullish/Bearish stock count summary
- Customizable position and size
### Smart Signal System
- **Bullish Signals**: Green triangle up when sentiment crosses threshold
- **Bearish Signals**: Red triangle down when sentiment falls below threshold
- **Alert Conditions**: Automatic notifications for signal changes
## ⚙️ Customization Options
### Technical Analysis Settings
- **RSI Period**: Adjust lookback period (default: 14)
- **RSI Levels**: Set overbought/oversold thresholds
- **Moving Averages**: Configure fast/slow MA periods
- **Volume Threshold**: Set volume confirmation multiplier
### Signal Thresholds
- **Bullish/Bearish Levels**: Customize trigger points
- **Strong Signal Levels**: Set extreme sentiment thresholds
- Fine-tune sensitivity to market conditions
### Display Options
- **Toggle Table**: Show/hide sentiment data table
- **Table Position**: 6 position options (Top/Bottom/Middle + Left/Right)
- **Table Size**: Choose from Tiny, Small, Normal, or Large
- **Background Colors**: Enable/disable signal backgrounds
- **Signal Arrows**: Show/hide buy/sell indicators
### Stock Selection
- **Individual Control**: Enable/disable any of the 10 major stocks
- **Dynamic Weighting**: Automatically adjusts calculations based on selected stocks
- **Flexible Analysis**: Focus on specific sectors or market leaders
## 📈 How to Use
### 1. Basic Setup
1. Add the indicator to your NAS100 chart
2. Default settings work well for most traders
3. Observe the sentiment line and signals
### 2. Signal Interpretation
- **Score > 30**: Bullish bias for NAS100
- **Score > 50**: Strong bullish signal
- **Score -30 to 30**: Neutral/consolidation
- **Score < -30**: Bearish bias for NAS100
- **Score < -50**: Strong bearish signal
### 3. Trading Strategies
**Trend Following:**
- Buy NAS100 when bullish signals appear
- Sell/short when bearish signals trigger
- Use background colors for quick visual confirmation
**Divergence Trading:**
- Watch for sentiment/price divergences
- Strong sentiment with weak NAS100 price = potential breakout
- Weak sentiment with strong NAS100 price = potential reversal
**Consensus Trading:**
- Monitor bullish/bearish stock counts in table
- 8+ stocks aligned = strong directional bias
- Mixed signals = wait for clearer consensus
### 4. Advanced Usage
- Combine with your existing NAS100 trading strategy
- Use multiple timeframes for confirmation
- Adjust thresholds based on market volatility
- Focus on specific stocks by disabling others
## 🔔 Alert Setup
The indicator includes built-in alert conditions:
1. Go to TradingView Alerts
2. Select "NAS100 Component Sentiment Scanner"
3. Choose from available alert types:
- NAS100 Bullish Signal
- NAS100 Bearish Signal
- Strong Bullish Consensus
- Strong Bearish Consensus
## 💡 Pro Tips
### Optimization
- **High Volatility**: Increase signal thresholds (±40, ±60)
- **Low Volatility**: Decrease thresholds (±20, ±40)
- **Day Trading**: Use smaller table, focus on real-time signals
- **Swing Trading**: Enable background colors, larger thresholds
### Best Practices
- Don't use as a standalone system - combine with price action
- Check individual stock table for context
- Monitor during market open for most reliable signals
- Consider earnings seasons for individual stock impacts
### Market Conditions
- **Trending Markets**: Higher accuracy, use with trend following
- **Ranging Markets**: Watch for false signals, increase thresholds
- **News Events**: Individual stock news can skew sentiment temporarily
## 🎨 Visual Guide
- **Green Line Above Zero**: Bullish sentiment building
- **Red Line Below Zero**: Bearish sentiment building
- **Background Color Changes**: Strong signal confirmation
- **Triangle Arrows**: Entry/exit signal points
- **Table Colors**: Quick sentiment overview
## ⚠️ Important Notes
- This indicator analyzes component stocks, not NAS100 directly
- Market cap weightings approximate real NASDAQ-100 weightings
- Sentiment can change rapidly during volatile periods
- Always use proper risk management
- Combine with other technical analysis tools
## 🔧 Troubleshooting
- **No signals**: Check if thresholds are too extreme
- **Too many signals**: Increase threshold sensitivity
- **Table not showing**: Ensure "Show Sentiment Table" is enabled
- **Missing stocks**: Verify individual stock toggles in settings
---
**Suitable for**: Day traders, swing traders, NAS100 specialists, index traders
**Best Timeframes**: 5min, 15min, 1H, 4H
**Market Sessions**: US market hours for highest accuracy
MA44 StrategyMA-44 Strategy
• The previous candle closes below the 44-day MA,
• The current candle closes just above or immediately above the 44-day MA,
• Followed by a green candle,
• With the 44-day MA above the 50-day MA (indicating an uptrend).
Bollinger Bands % | QuantEdgeB📊 Introducing Bollinger Bands % (BB%) by QuantEdgeB
🛠️ Overview
BB% | QuantEdgeB is a volatility-aware momentum tool that maps price within a Bollinger envelope onto a normalized scale. By letting you choose the base moving average (SMA, EMA, DEMA, TEMA, HMA, ALMA, EHMA, THMA, RMA, WMA, VWMA, T3, LSMA) and even Heikin-Ashi sources, it adapts to your style while keeping readings consistent across symbols and timeframes. Clear thresholds and color-coded visuals make it easy to spot emerging strength, fading moves, and potential mean-reversions.
✨ Key Features
• 🔹 Flexible Baseline
Pick from 12 MA types (plus Heikin-Ashi source option) to tailor responsiveness and smoothness.
• 🔹 Normalized Positioning
Price is expressed as a percentage of the band range, yielding an intuitive 0–100 style read (can exceed in extreme trends).
• 🔹 Actionable Thresholds
Default Long 55 / Short 45 levels provide simple, objective triggers.
• 🔹 Visual Clarity
Color-coded candles, shaded OB/OS zones, and adaptive color themes speed up decision-making.
• 🔹 Ready-to-Alert
Built-in alerts for long/short transitions.
📐 How It Works
1️⃣ Band Construction
A moving average (your choice) defines the midline; volatility (standard deviation) builds upper/lower bands.
2️⃣ Normalization
The indicator measures where price sits between the lower and upper band, scaling that into a bounded oscillator (BB%).
3️⃣ Signal Logic
• ✅ Long when BB% rises above 55 (strength toward the top of the envelope).
• ❌ Short when BB% falls below 45 (weakness toward the bottom).
4️⃣ OB/OS Context
Shaded regions above/below typical ranges highlight exhaustion and potential snap-backs.
⚙️ Custom Settings
• Base MA Type: SMA, EMA, DEMA, TEMA, HMA, ALMA, EHMA, THMA, RMA, WMA, VWMA, T3, LSMA
• Source Mode: Classic price or Heikin-Ashi (close/open/high/hlc3)
• Base Length: default 40
• Band Width: standard deviation-based (2× SD by default)
• Long / Short Thresholds: defaults 55 / 45
• Color Mode: Alpha, MultiEdge, TradingSuite, Premium, Fundamental, Classic, Warm, Cold, Strategy
• Candles & Labels: optional candle coloring and signal markers
👥 Ideal For
✅ Trend Followers — Ride strength as price compresses near the upper band.
✅ Swing/Mean-Reversion Traders — Fade extremes when BB% stretches into OB/OS zones.
✅ Multi-Timeframe Analysts — Compare band position consistently across periods.
✅ System Builders — Use BB% as a normalized feature for strategies and filters.
📌 Conclusion
BB% | QuantEdgeB delivers a clean, normalized read of price versus its volatility envelope—adaptable via rich MA/source options and easy to automate with thresholds and alerts.
🔹 Key Takeaways:
1️⃣ Normalized view of price inside the volatility bands
2️⃣ Flexible baseline (12+ MA choices) and Heikin-Ashi support
3️⃣ Straightforward 55/45 triggers with clear visual context
📌 Disclaimer: Past performance is not indicative of future results. No strategy guarantees success.
📌 Strategic Advice: Always backtest, tune parameters, and align with your risk profile before live trading.
Clustered Support/Resistance (±% Tolerance, Last N Bars) – NO OFIn the last 1500 candles (user-adjustable), pivot highs and lows are clustered. If more than 20 touches occur within a ±1% tolerance zone, that level is marked as a support or resistance line.
The following parameters are configurable:
Tolerance (%)
Minimum touch count
Pivot left/right length
Maximum number of lines
This allows flexible identification of significant support and resistance zones based on repeated pivot clustering within the chosen lookback period.
TrendBreaks & MA Divergence v1.3 — couleurs perso (panel)clean and easy predictive mouvements and swing stratagy
Alerts to Google Sheetsa script that will send us alerts from TradingView. For simplicity, I’ve created a basic script that sends long/short signals for each bar, depending on its color. In this example, I construct the JSON manually using string concatenation. This is a straightforward example, but of course, you can create and run much more complex scripts if needed.
MA Suite | Lyro RSMA Suite | Lyro RS
Overview
The MA Suite is a versatile moving average visualization tool designed for traders who demand clarity, flexibility, and actionable market signals. With support for over 16 different moving average types, built-in trend detection, dynamic coloring, and optional support/resistance & rejection markers, it transforms the humble MA into a fully-featured decision-making aid.
Key Features
Multi-Type Moving Averages
Choose from 16 MA calculations including SMA, EMA, WMA, VWMA, HMA, LSMA, FRAMA, KAMA, JMA, T3, and more.
Tailor responsiveness vs. smoothness to your strategy.
Trend Logic Modes
Source Above MA – Colors and signals are based on price position relative to the MA.
Rising MA – Colors and signals are determined by MA slope direction.
Support & Resistance Markers
Plots ▲ for potential support touches.
Plots ▼ for potential resistance touches when price interacts with the MA.
Rejection Signals
Flags bullish rejection when price bounces upward after an MA test.
Flags bearish rejection when price reverses downward after an MA test.
Plotted directly on the chart as labeled markers.
Customizable Color Palettes
Select from Classic, Mystic, Accented, or Royal themes.
Define custom bullish/bearish colors for complete visual control.
Glow & Styling Effects
Multi-layer glow lines around the MA enhance visibility.
Keeps charts clean while improving clarity.
How It Works
MA Calculation – Applies the chosen MA type to your selected price source.
Trend Coloring – Colors switch based on price position or MA slope logic.
Support/Resistance Detection – Identifies MA “touch” events with ▲ or ▼ markers.
Rejection Logic – Detects reversals after MA touches, adding bullish/bearish labels.
Practical Use
Trend Following – In “Source Above MA” mode, use color changes and crossovers to confirm bias.
Dynamic S/R – Use ▲ / ▼ markers to identify support or resistance in trending or ranging markets.
Reversal Opportunities – Monitor rejection labels for potential turning points against prevailing trend.
Customization
Select MA type and length to fine-tune indicator behavior.
Switch between trend modes for different trading styles.
Enable or disable S/R and rejection markers.
Personalize visuals with palette selection or custom colors.
⚠️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.
HTH - WD Gann Square Root LevelsHTH - WD Gann Square Root Levels will plot lines for support and resistance
Perfect Buy/Sell Entry (SMC) v31. Write a clear title
A title like "Perfect Buy Entry Checklist (SMC) v2" is great because it is descriptive. It tells users exactly what the indicator is designed to do.
2. Start with an overview
Briefly explain the purpose of your script. What problem does it solve? What trading concept is it based on?
Example: "This indicator automates a Smart Money Concepts (SMC) based checklist to find high-probability buy entries. It's designed to help traders identify a series of bullish market conditions in a single view."
3. List key features
Use a bulleted or numbered list to highlight the main components of your script. This makes it easy for users to quickly see what the indicator includes.
Example:
Liquidity Sweep Detection: Identifies a bearish liquidity grab followed by a bullish move.
Momentum Confirmation: Uses MACD and RSI to confirm bullish momentum.
Break of Structure (BOS): Signals when the price closes above a confirmed swing high.
Risk/Reward Calculation: Provides a basic ATR-based risk/reward check.
4. Explain how to use it
Provide simple, actionable steps on how a trader can use your indicator in their own analysis.
Example: "A 'Perfect Buy' signal is generated when all conditions in the checklist are met. You can use this signal as a final confirmation for your own trading ideas. Use it in conjunction with other price action analysis."
Perfect Buy Entry Checklist (SMC) v2 A title like "Perfect Buy Entry Checklist (SMC) v2" is great because it is descriptive. It tells users exactly what the indicator is designed to do.
2. Start with an overview
Briefly explain the purpose of your script. What problem does it solve? What trading concept is it based on?
Example: "This indicator automates a Smart Money Concepts (SMC) based checklist to find high-probability buy entries. It's designed to help traders identify a series of bullish market conditions in a single view."
3. List key features
Use a bulleted or numbered list to highlight the main components of your script. This makes it easy for users to quickly see what the indicator includes.
Example:
Liquidity Sweep Detection: Identifies a bearish liquidity grab followed by a bullish move.
Momentum Confirmation: Uses MACD and RSI to confirm bullish momentum.
Break of Structure (BOS): Signals when the price closes above a confirmed swing high.
Risk/Reward Calculation: Provides a basic ATR-based risk/reward check.
4. Explain how to use it
Provide simple, actionable steps on how a trader can use your indicator in their own analysis.
Example: "A 'Perfect Buy' signal is generated when all conditions in the checklist are met. You can use this signal as a final confirmation for your own trading ideas. Use it in conjunction with other price action analysis."
5. Include a disclaimer
It's important to state that the indicator is for informational purposes only and not financial advice.
Example: "Disclaimer: This indicator is for educational purposes only and should not be considered financial advice. Past performance is not indicative of future results. Always do your own research."
RRG Relative Strength# RRG Relative Strength (RRG RS)
Compare any symbol to a benchmark using two RRG-style lines: **RS-Ratio** (trend of relative strength) and **RS-Momentum** (momentum of that trend). Both are centered at **100**:
- **RS-Ratio > 100** → outperforming the benchmark
- **RS-Ratio < 100** → underperforming
- **RS-Momentum** often **leads** RS-Ratio (crosses 100 earlier)
# How it works
1) Relative Strength (RS): RS = Close(symbol) / Close(benchmark)
2) Normalize around 100: smooth RS with EMA and divide RS by that EMA
3) RS-Ratio: EMA( RS / EMA(RS, Length), LenSmooth ) * 100
4) RS-Momentum: RS-Ratio / EMA(RS-Ratio, LenSmooth) * 100
# Inputs
- Length (default 14): normalization window for RS
- Length Smooth (default 20): smoothing window for RS-Ratio & RS-Momentum
# Benchmark (auto)
- US: SP:SPX (S&P 500)
- Vietnam: HOSE:VNINDEX
- Crypto: INDEX:BTCUSD
(Modify the mapping if needed, or replace with your own input.symbol().)
# How to read
- Improving: RS-Momentum crosses above 100 while RS-Ratio turns up
- Leading: RS-Ratio > 100 with RS-Momentum ≥ 100
- Weakening: RS-Momentum drops below 100; RS-Ratio often follows
# Timeframes & presets
- Works on Daily and Weekly charts
- Daily (fast): 14 / 20
- Approx. weekly behavior on Daily: 50 / 60
Note: Values usually hover near 100 (e.g., ~90–110) but are not strictly bounded. Ensure your symbol and benchmark trade in comparable sessions/currencies.
Changing of the GuardChanging of the Guard (COG) - Advanced Reversal Pattern Indicator
🎯 What It Does
The Changing of the Guard (COG) indicator identifies high-probability reversal setups by detecting specific candlestick patterns that occur at key institutional levels. This indicator combines traditional price action analysis with volume-weighted and moving average confluence to filter out noise and focus on the most reliable trading opportunities.
🔧 Key Features
Multi-Timeframe VWAP Analysis
• Daily VWAP (Gray circles) - Intraday institutional reference
• Weekly VWAP (Yellow circles) - Short-term institutional bias
• Monthly VWAP (Orange circles) - Long-term institutional sentiment
Triple EMA System
• EMA 20 (Blue) - Short-term trend direction
• EMA 50 (Purple) - Medium-term momentum
• EMA 200 (Navy) - Long-term market structure
Adaptive COG Pattern Detection
• 2-Bar Mode: Quick reversal signals for scalping
• 3-Bar Mode: Balanced approach for swing trading (default)
• 4-Bar Mode: Conservative signals for position trading
📊 How It Works
The indicator identifies "changing of the guard" moments when:
1. Pattern Formation: 2-4 consecutive bars show exhaustion in one direction
2. Reversal Confirmation: A counter-trend bar appears with strong momentum
3. Confluence Trigger: The reversal bar crosses through a significant VWAP or EMA level
Bullish COG: Green triangle appears below bars when bearish exhaustion meets bullish reversal at key support
Bearish COG: Red triangle appears above bars when bullish exhaustion meets bearish reversal at key resistance
💡 Trading Applications
Swing Trading: Use 3-bar mode with EMA 50/200 confluence for multi-day holds
Day Trading: Use 2-bar mode with Daily VWAP confluence for intraday reversals
Position Trading: Use 4-bar mode with Monthly VWAP confluence for major trend changes
⚙️ Customization Options
• Toggle VWAP display on/off
• Toggle EMA display on/off
• Toggle COG signals on/off
• Select detection mode (2-bar, 3-bar, 4-bar)
• Built-in alert system for automated notifications
🎨 Visual Design
Clean, professional interface with:
• Subtle dotted lines for VWAPs to avoid chart clutter
• Color-coded EMAs for easy trend identification
• Clear triangle signals that don't obstruct price action
• Customizable display options for different trading styles
📈 Best Practices
• Combine with volume analysis for additional confirmation
• Use higher timeframe bias to filter trade direction
• Consider market structure and support/resistance levels
• Backtest different modes to find optimal settings for your strategy
⚠️ Risk Management
This indicator identifies potential reversal points but should be used with proper risk management. Always consider:
• Overall market trend and structure
• Volume confirmation
• Multiple timeframe analysis
• Appropriate position sizing
Perfect for traders who want to catch reversals at institutional levels with high-probability setups. The confluence requirement ensures you're trading with the smart money, not against it.
Dual Custom Index with SpreadDual Custom Index with Spread
Create powerful custom indices from any instruments and analyze their relative strength dynamics
Overview
This advanced indicator allows you to build two completely customizable indices from your choice of instruments and analyze their spread relationship. Perfect for inter-market analysis, sector rotation strategies, currency strength comparisons, and sophisticated relative performance studies.
Key Features
🔧 Fully Customizable Index Construction
Build each index from up to 6 instruments with individual weightings
Enable/disable instruments on the fly without losing settings
Automatic weight validation ensures mathematically accurate calculations
Invert functionality for instruments that move opposite to index strength
📊 Advanced ADX-Based Methodology
Uses sophisticated ADX +DI/-DI directional bias calculations
Normalized bias calculation for consistent scaling across different instruments
Optimized default settings for intraday trading with full customization options
Professional-grade smoothing and filtering options
📈 Dual Analysis Modes
Difference Mode: Shows absolute strength difference (Index1 - Index2)
Ratio Mode: Shows relative performance ratio (Index1 / Index2)
Additional spread smoothing for cleaner signals
🎨 Professional Display Options
Custom labels with full color, size, and positioning control
Dynamic "Follow Line" labels that move with your data
Static corner positioning for reference displays
Clean error messaging and validation feedback
Use Cases
Gold Trading: Create gold strength vs USD strength indices for precise market timing
Sector Analysis: Compare technology vs financial sector strength for rotation strategies
Currency Strength: Build custom currency baskets for advanced forex analysis
Commodity Spreads: Analyze relative strength between different commodity groups
Regional Markets: Compare strength between different geographical market indices
Crypto Analysis: Track relative performance between different cryptocurrency sectors
Technical Specifications
Instruments per Index: Up to 6 with individual enable/disable
Weight Validation: Automatic 100% total weight enforcement
Calculation Method: ADX-based directional bias with trend strength weighting
Smoothing Options: Multiple levels of customizable smoothing
Error Handling: Professional validation with clear user feedback
Optimization Tips
Intraday Trading: Use DI Length 3-7 for faster response
Daily Analysis: Use DI Length 10-14 for smoother signals
Noisy Markets: Increase Final Smoothing for cleaner signals
Trending Markets: Lower smoothing values for faster reaction
Perfect for traders who need sophisticated inter-market analysis tools beyond standard indicators. Whether you're analyzing gold vs dollar dynamics, sector rotation opportunities, or custom currency strength relationships, this indicator provides institutional-grade analysis capabilities with complete customization flexibility.
Reversal Radars — Berk v2.0 (Bottom & Top)1) Combined script (Dip+Tepe)
Title:
Reversal Radars — Berk v2.0 (Bottom & Top)
Description (EN):
What it does
Two high-probability reversal detectors in one indicator: a Bottom Reversal Radar (long bias) and a Top Reversal Radar (short/hedge bias). Each radar aggregates multiple conditions into a single score and triggers when Score ≥ Threshold.
How it works
RSI regime shift: Bottom = recovery after oversold (touched 30, crosses up 35). Top = roll-over from overbought (touched 70, crosses down 65).
MACD cross: Bull (up) for bottoms, Bear (down) for tops.
EMA8 filter: Close above (bottom) / below (top) EMA(8).
Structure break (BOS): Close above recent swing high / below recent swing low (lookbackBars, using precomputed highest/lowest to avoid inconsistencies).
EMA200 proximity: Price within a configurable band (default −5% … +2%).
Volume expansion: Volume ≥ SMA(20) × multiplier (default 1.5×).
Divergence: Pivot-confirmed (3/3) bullish (bottom) or bearish (top) RSI divergence.
Scoring: RSI shift +2, divergence +2, MACD +1, EMA8 +1, BOS +1, Volume +1, EMA200 band +1.
Signals & Alerts
Bottom: label “DÖNÜŞ↑” and alert “Dipten Dönüş — Ana Sinyal” when scoreLong ≥ thrLong.
Top: label “DÖNÜŞ↓” and alert “Tepeden Dönüş — Ana Sinyal” when scoreShort ≥ thrShort.
Use Once per bar close for stable alerts.
Inputs
lenRSI, rsiOS=30, rsiRecover=35, rsiOB=70, rsiFall=65, volLen=20, volMult=1.5, lookbackBars=5, ema200 band (−5…+2%), thrLong/thrShort, toggles for Bottom/Top.
Timeframes & tips
Best on Daily/4H. Tighten thresholds (e.g., 4) and raise volume multiplier (1.8–2.0×) on lower TFs or thin liquidity.
No-repaint note
Evaluated on bar close; pivot divergences confirm with a natural ~3-bar delay.
Disclaimer
Educational use only. Not financial advice.
Tags: reversal, divergence, rsi, macd, ema, volume, trend, screener, stocks, crypto, bist
2) Bottom-only (Dip)
Title:
Bottom Reversal Radar — Berk v1.4
Description (EN):
Purpose
Scores bottoming conditions and triggers when Score ≥ Threshold (default 3).
Components
RSI recovery after oversold (30→35), MACD bull cross, close above EMA8, BOS above recent swing high, near-EMA200 band (−5…+2%), volume ≥ SMA(20)×1.5, and pivot-confirmed (3/3) bullish RSI divergence. Weights: RSI +2, Divergence +2, others +1.
Usage
Add to chart, set alert “Dipten Dönüş — Ana Sinyal”, Once per bar close. Works on any timeframe (need ≥200 bars for EMA200). Daily/4H recommended.
No-repaint
Bar-close evaluation; divergence confirms with ~3 bars.
Tags: bottom, reversal, rsi, macd, ema, volume, divergence
3) Top-only (Tepe)
Title:
Top Reversal Radar — Berk v1.0
Description (EN):
Purpose
Detects topping risk and triggers when Score ≥ Threshold (default 3) for exits/hedges.
Components
RSI roll-over from overbought (70→65), MACD bear cross, close below EMA8, BOS below recent swing low, near-EMA200 band, volume ≥ SMA(20)×1.5, and pivot-confirmed (3/3) bearish RSI divergence. Weights: RSI +2, Divergence +2, others +1.
Usage
Add to chart, set alert “Tepeden Dönüş — Ana Sinyal”, Once per bar close. Daily/4H preferred; tighten thresholds on lower TFs.
No-repaint
Bar-close evaluation; divergence confirms with ~3 bars.
Tags: top, reversal, rsi, macd, ema, volume, divergence
Bottom Reversal Radar — Berk v1.4Bottom Reversal Radar — Berk v1.4
What it does:
Combines RSI recovery after oversold, MACD bull cross, close above EMA8, near-EMA200 proximity, volume expansion, and simple bullish divergence (pivot lows) into a single score.
Signal: Trigger when Score ≥ Threshold (default 3). Set alert via Create Alert → “Dipten Dönüş — Ana Sinyal” → Once per bar close.
How it works
RSI recovery: After touching oversold (30), RSI crosses up 35 within last X bars.
MACD bull cross: MACD Line crosses above Signal.
Close above EMA8 and BOS (close above recent swing high) confirm momentum.
Near EMA200: Price within −5%…+2% band adds a point.
Volume spike: Volume ≥ 1.5× SMA(20) adds a point.
Bullish divergence: Lower price low + higher RSI low (pivot 3/3) adds a point.
Inputs
RSI(14), rsiOS=30, rsiRecover=35, Volume SMA(20) with 1.5× multiplier, EMA200 proximity band −5%…+2%, lookbackBars=5, Score threshold default 3.
Usage tips
Best on Daily / 4H. If too many false positives: raise threshold to 4 and volume to 1.8–2.0×.
Pair with Screener filters: RSI≥35, MACD Line>Signal, Price above EMA8, Volume/Avg(20)≥1.5, and near EMA200 (%).
Disclaimer
For educational purposes only. Not financial advice.
Release notes (v1.4)
Fixed bullDiv typo; simplified visuals; Pine v5.
Tags: rsi, macd, ema, volume, divergence, reversal, trend, screener, bist, stocks, crypto
SMA Strategy with Re-Entry Signal (v6 Style)*SMA Trend Strategy with Re-Entry Signal (v6 Edition)*
This indicator is based on a classic moving average trend-following system, enhanced with re-entry signals designed for medium to short-term traders.
---
### 📈 Key Features:
1. *Trend Detection Logic:*
- The 30-period SMA (SMA30) is used as the trend filter.
- When the closing price is above the SMA30, the market is considered to be in an uptrend.
2. *Re-Entry Signal:*
- While in an uptrend, if the closing price crosses above the SMA20, a re-entry (add position) signal is triggered.
- These signals are shown with green upward arrows below the bars.
3. *Background Highlighting:*
- Green background: indicates an uptrend.
- Red background: indicates a break below SMA30, suggesting weakening momentum.
4. *Multi-SMA Visualization:*
- Five SMAs are displayed: SMA10, SMA20, SMA30, SMA60, and SMA250.
- This helps visualize both short-term and long-term trend structures.
---
### 🔍 Usage Tips:
- Use this script directly on your main chart to monitor trend direction and wait for re-entry signals during pullbacks.
- Combine with other tools like volume, price action, or candlestick patterns to confirm entries.
---
### ⚠️ Disclaimer:
- This indicator is for educational and informational purposes only. It does not constitute financial advice or a buy/sell signal.
- Avoid relying solely on this script for trading decisions. Always manage your own risk.
---
👨💻 *Developer’s Note:*
This script is 100% manually developed, not copied or auto-generated. It is an original implementation based on my personal trading logic. Suggestions and feedback are welcome!
Value Matrix – Previous Day VAValue Matrix – Previous Day Volume Profile Indicator
Description:
The Value Matrix – Previous Day VA indicator plots the previous trading session’s Volume Profile key levels directly on your chart, providing clear reference points for intraday trading. This indicator calculates the Value Area High (VAH), Value Area Low (VAL), and Point of Control (POC) from the prior session and projects them across the current trading day, helping traders identify potential support, resistance, and high-volume zones.
Features:
Calculates previous day VAH, VAL, and POC based on a user-defined session (default 09:30–16:00).
Uses Volume Profile bins for precise distribution calculation.
Fully customizable line colors for VAH, VAL, and POC.
Lines extend across the current session for easy intraday reference.
Works on any timeframe, optimized for 1-minute charts for precision.
Optional toggles to show/hide VAH, VAL, and POC individually.
Inputs:
Session Time: Define the trading session for which the volume profile is calculated.
Profile Bins: Number of price intervals used to divide the session range.
Value Area %: Percentage of volume to include in the value area (default 70%).
Show POC / VAH & VAL: Toggle visibility of each level.
Line Colors: Customize VAH, VAL, and POC colors.
Use Cases:
Identify previous session support and resistance levels for intraday trading.
Gauge areas of high liquidity and potential market reaction zones.
Combine with other indicators or price action strategies for improved entries and exits.
Recommended Timeframe:
Works on all timeframes; best used on 1-minute or 5-minute charts for precise intraday analysis.
Marcius Studio® - Cross-Asset Correlator™Cross-Asset Correlator™ — a pair-trading strategy that identifies correlation breakdowns between two assets and captures profit opportunities from market inefficiencies.
The strategy enters trades when the correlation drops below a set threshold and closes positions once correlation recovers.
The main concept is to exploit temporary divergence between two assets by going long the stronger one and short the weaker one, aiming to profit when their correlation reverts.
Important : This script illustrates asset correlation concepts for educational purposes only. It's not for live trading—requires adjustments and offers no performance guarantees. Always apply risk management.
TradingView Limitation
By default, TradingView’s built-in Strategy interface does not support backtesting with two different assets .
To overcome this, the script is implemented as an indicator with a fully custom backtesting engine that calculates PnL, trades, and performance statistics directly on the chart.
Idea
Markets move in clusters : altcoins follow BTC, memecoins track Solana, L2 projects mirror Ethereum. But correlations aren’t perfect—temporary divergences create pricing inefficiencies.
The logic:
When an asset lags or overshoots its usual correlation, it’s a mispricing opportunity.
Trade the reversion: buy undervalued divergence, sell overextended convergence.
The market eventually corrects, but the inefficiency window allows profit before realignment.
OKX Signal Bot Integration
This script includes a built-in interface for OKX Signal Bot .
It can generate structured JSON alerts (ENTER / EXIT, long / short) and directly manage trades on OKX exchange .
This allows seamless automation of correlation-based strategies without manual order execution.
Note : The OKX Signal Bot (for demo use only) assists with alerts & trade management but does not ensure profits. You are fully responsible for your trades—always apply risk management.
Strategy Parameters
Symbol 1 / Symbol 2 : trading instruments to be analyzed.
SMA Period : smoothing period for price averages.
Correlation Period : number of bars used to calculate correlation coefficient.
Upper Correlation Threshold : level above which trades are closed.
Lower Correlation Threshold : level below which new trades are opened.
percentage_investment (%) : allocation per entry signal (used for OKX integration).
Example Settings OKX:FARTCOINUSDT.P / OKX:PENGUUSDT.P
Timeframe : 1H
SMA Period : 60
Correlation Period : 25
Upper Threshold : 0.9
Lower Threshold : 0.1
percentage_investment : 10%
How the Code Works
Retrieves closing prices of two selected assets.
Calculates correlation coefficient and moving averages.
When correlation breaks below the lower threshold, the script opens a pair trade (long/short depending on SMA relation).
When correlation recovers above the upper threshold, all open trades are closed.
Real-time alerts are generated in JSON format for OKX bots (ENTER/EXIT signals).
Built-in backtesting engine tracks PnL, trades, and statistics (7d / 30d / total).
Visual labels mark entries, exits, and PnL results directly on the chart.
Disclaimer
Trading involves risk — always do your own research (DYOR) and seek professional financial advice. We are not responsible for any potential financial losses.
All-in-One EMA & BBThis script combines Bollinger Bands and multiple EMAs into one powerful tool. It includes:
1) Bollinger Bands with customizable MA type and colors.
2) EMA 21 on Daily and Weekly timeframes.
3) EMA 21, 50, 100, 200 on current chart timeframe.
4) Toggle options for each indicator for a clean, flexible view.
Ideal for traders seeking multi-timeframe trend analysis and volatility insights.