Natural Moving Averages (Jim Sloman's Ocean Theory)Natural Moving Averages invented by Jim Sloman.
Code copied by IA from the TradeStation code.
Includes the Fast and the Regular NMAs.
Jim Sloman invented Ocean Theory and the NMA is its building block.
Indicateurs et stratégies
Trend Compass (Manual)## Trend Compass (Manual) - A Discretionary Trader's Dashboard
### Summary
Trend Compass is a simple yet powerful dashboard designed for discretionary traders who want a constant, visual reminder of their market analysis directly on their chart. Instead of relying on automated indicators, this tool gives you **full manual control** to define the market state across different timeframes or conditions.
It helps you stay aligned with your higher-level analysis (e.g., HTF bias, current market structure) and avoid making impulsive decisions that go against your plan.
### Key Features
- **Fully Manual Control:** You decide the trend. No lagging indicators, no confusing signals. Just your own analysis, displayed clearly.
- **Multiple Market States:** Define each row as an `Uptrend`, `Downtrend`, `Pullback`, or `Neutral` market.
- **Customizable Rows:** Display up to 8 rows. You can label each one however you like (e.g., "D1", "H4", "Market Structure", "Liquidity Bias").
- **Flexible Panel:** Change all colors, text sizes, and place the panel in any of the 9 positions on your chart.
- **Clean & Minimalist:** Designed to provide essential information at a glance without cluttering your chart.
### How to Use
1. **Add to Chart:** Add the indicator to your chart.
2. **Open Settings:** Go into the indicator settings.
3. **Configure Rows:**
- In the "Rows (Manual Control)" section, set the "Number of rows" you want to display.
- For each row, give it a custom **Label** (e.g., "m15").
- Select its current state from the dropdown menu (`Uptrend`, `Downtrend`, etc.).
- To remove a row, simply set its state to `Hidden`.
4. **Customize Style:**
- In the "Panel & Visual Style" section, adjust colors, text sizes, and the panel's position to match your chart's theme.
This tool is perfect for price action traders, ICT/SMC traders, or anyone who values a clean chart and a disciplined approach to their analysis.
Vol ForecastEGARCHVol ForecastEGARCH – Volatility Forecast Tool
Measuring volatility means not only predicting direction but also understanding the magnitude of risk. Vol ForecastEGARCH brings advanced GARCH-based models into TradingView, projecting volatility directly onto your chart.
Features
Model Selection: GARCH(1,1), EGARCH(1,1), GJR(1,1)
Dynamic Recalibration: Parameters recalibrated every 50 bars.
Z-Score Flexibility: Default Z=1.28 (~80% confidence) adjustable by user.
Multiple Horizons: 6, 12, 48, and 96 bars ahead forecasts.
Visualization: Upper/lower bands plotted with dynamic colors.
Mini Panel: Displays α, β, γ/ω parameters and 1-step volatility %.
Who Is It For?
Short-term traders: Define stop-loss / take-profit levels on a statistical basis.
Portfolio managers: Integrate volatility-based risk assessment into allocation decisions.
Technical analysts: Align momentum and price action with volatility dynamics.
Especially valuable for high-volatility markets like Borsa Istanbul, where understanding risk intensity is as critical as direction.
Ichimoku + MTF Dashboard (Confidence + Row Shading)Name: Ichimoku + Multi-Timeframe (MTF) Dashboard
Purpose
This indicator is designed to give a complete trend, momentum, and alignment picture of a stock across multiple timeframes (hourly, daily, weekly) using the Ichimoku Kinko Hyo system. It combines:
Classic Ichimoku signals: Tenkan/Kijun crossovers, cloud position (Kumo), Chikou span, and cloud twists.
MTF Dashboard: Aggregates hourly, daily, and weekly Ichimoku conditions into a clean visual table.
Dynamic coloring: Each signal is represented with green/red fills, and rows are shaded for full alignment. Aggregate column highlights mixed signals in yellow.
Buyer vs Seller Control BUYER vs SELLER CONTROL INDICATOR
Identify market dominance and potential trend shifts with wick analysis
What This Indicator Measures:
This indicator analyzes who controls the market by measuring the battle between buyers and sellers on each candle:
Buyer Control: How far the closing price is above the candle's low (bottom wick strength)
Seller Control: How far the closing price is below the candle's high (top wick strength)
What's Plotted:
Lime Line: 20-period moving average of buyer control
Fuchsia Line: 20-period moving average of seller control
Dynamic Fill: Area between lines - color shows who's winning
Histogram: Shows the difference between buyer and seller control
Control Label: Text showing current market dominance
Info Table: Real-time values and control strength percentage
How to Read the Signals:
🟢 LIME FILL = BUYERS IN CONTROL
When the lime line is above fuchsia, buyers are dominating. The brighter the fill, the stronger their control.
🔴 FUCHSIA FILL = SELLERS IN CONTROL
When the fuchsia line is above lime, sellers are dominating. The brighter the fill, the stronger their control.
Trading Applications:
Trend Confirmation: Strong buyer control confirms uptrends, strong seller control confirms downtrends
Reversal Signals: Watch for control shifts - when lines cross, momentum may be changing
Entry Timing: Enter long when buyer control strengthens, short when seller control strengthens
Market Structure: Persistent control by one side suggests strong directional bias
Key Features:
Works on any timeframe
Customizable moving average period (default: 20)
Optional info table display
Dynamic transparency shows control strength
Clean visual design for both dark and light themes
Pro Tip: Use this with your favorite trend or momentum indicators for confluence. Strong buyer/seller control often precedes significant price moves!
// Based on wick analysis and moving averages
// Green = Buyers dominating market
// Red = Sellers dominating market
// Fill intensity = Control strength
Dashboard Máximos/Mínimos Mensuales - 12 Divisas El ArconteMáximos y mínimos mensuales de doce divisas principales de FOREX.
EMA50 + SR Boxes + VP Right + ATR + SL% + Entries + SentimentThis indicator combines several pro-grade building blocks to read the market at a glance:
EMA50 as a trend filter.
Smart Support/Resistance zones (rectangles) detected where price has touched multiple times.
“U / Inverted U” markers (confirmed pivots).
Optional Buy/Sell signals: only when a U appears inside a support zone with price above the EMA50 (buy), or an inverted U inside a resistance zone with price below the EMA50 (sell).
Simplified right-side Volume Profile (with a special Forex fallback if volume isn’t usable).
ATR & SL%: displays current ATR and an SL% based on ATR(100) Daily / Close × 100, attached to the latest candle.
Moving Averages Trend FilterA filter to determine the trend using moving averages.
Plotted as text on a different panel.
Different outputs:
- Bullish Trend
- Bearish Trend
- Sideways
You can use up to 4 MAs. Fill in the inputs in order, be it the first being the fastest and the last being the slowest.
You can change between EMAs and SMAs. You can activate/deactivate the MAs to be used as a filter and choose them .
There's an option of minimum bars to define the trend.
**If the pane is mixed with the indicators, move it below using right click.
Entry Signals (Long/Short)The indicator visualizes precise entry signals for long and short setups directly on the price chart. Long is marked with a green triangle-up, short with a red triangle-down. To contextualize trend structure, the Fast EMA (5) is plotted in black and the Slow EMA (20) in blue (line width 1). Signals print only at bar close for reproducible execution. Applicable across all timeframes—ideal for top-down analysis from the 195-minute chart through daily to weekly.
Cumulative Buy/Sell Volume (Tick Rule) — Robust//@version=5
indicator("Cumulative Buy/Sell Volume (Tick Rule) — Robust", overlay=false)
// ------- User inputs -------
resetDaily = input.bool(true, "Reset cumulative at new day/session")
showBarHist = input.bool(false, "Show per-bar buy/sell histogram")
useHalfOnEqual = input.bool(true, "Split volume 50/50 when price unchanged")
// ------- Safe previous close and volume -------
prevClose = nz(close , close) // avoid na on first bar
vol = float(volume)
// ------- Classification (Tick Rule approximation) -------
buyVol = close > prevClose ? vol : (close < prevClose ? 0.0 : (useHalfOnEqual ? vol * 0.5 : 0.0))
sellVol = close < prevClose ? vol : (close > prevClose ? 0.0 : (useHalfOnEqual ? vol * 0.5 : 0.0))
// ------- Cumulative totals (with optional daily reset) -------
var float cumBuy = 0.0
var float cumSell = 0.0
newDay = time("D") != time("D")
if resetDaily and newDay
cumBuy := 0.0
cumSell := 0.0
cumBuy := cumBuy + buyVol
cumSell := cumSell + sellVol
cumDelta = cumBuy - cumSell
// ------- Plots -------
plot(cumBuy, title="Cumulative Buy Volume", color=color.green, linewidth=2)
plot(cumSell, title="Cumulative Sell Volume", color=color.red, linewidth=2)
plot(cumDelta, title="Cumulative Delta (Buy - Sell)", color=color.blue, linewidth=2)
// optional: per-bar histograms
plot(showBarHist ? buyVol : na, style=plot.style_columns, title="Bar Buy Vol", color=color.new(color.green, 60))
plot(showBarHist ? sellVol : na, style=plot.style_columns, title="Bar Sell Vol", color=color.new(color.red, 60))
ARO Pro — Adaptive Regime OscillatorARO Pro — Adaptive Regime Oscillator (v6)
ARO Pro turns your chart into a context-aware decision system. It classifies every bar as Trending (up or down) or Ranging in real time, then switches its math to match the regime: trend strength is measured with an ATR-normalized EMA spread, while range behavior is tracked with a center-based RSI oscillator. The result is cleaner entries, fewer false signals, and faster reads on regime shifts—without repainting.
⸻
How it works (under the hood)
1. Regime Detection (Kaufman ER):
ARO computes Kaufman’s Efficiency Ratio (ER) over a user-defined length.
- ER > threshold → Trending (direction from EMA fast vs. EMA slow)
- ER ≤ threshold → Ranging
2. Adaptive Oscillator Core:
- Trend mode: (EMA(fast) − EMA(slow)) / ATR * 100 → momentum normalized by volatility.
- Range mode: RSI(length) − 50 → mean-reversion pressure around zero.
3. Volatility Filter (optional):
Blocks signals if ATR as % of price is below a floor you set. This reduces noise in thin or quiet markets.
4. MTF Trend Filter (optional & non-repainting):
Confirms signals only if a higher timeframe EMA(fast) > EMA(slow) for longs (or < for shorts). Implemented with lookahead_off and gaps_on.
5. Confirmation & Alerts:
Signals are locked only on bar close (barstate.isconfirmed) and offered via three alert types: ARO Long, ARO Short, ARO Regime Shift.
⸻
What you see on the chart
• Background heat:
• Green = Trending Up, Red = Trending Down, Gray = Range.
• ARO line (panel): Adaptive oscillator (trend/value colors).
• Signal markers: ▲ Long / ▼ Short on confirmed bars.
• Guide lines: Upper/Lower thresholds (±K) and zero line.
• Info Panel (table): Regime, ER, ATR %, ARO, HTF status (OK/BLOCK/OFF), and a Confidence light.
• Debug Overlay (optional): Quick view of thresholds and raw conditions for tuning.
⸻
Inputs (quick reference)
• Signals: Fast/Slow EMA, RSI length, ER length & threshold, oscillator smoothing, signal threshold.
• Filters: ATR length, minimum ATR% (volatility floor), toggle for volatility filter.
• Visuals: Background on/off, Info Panel on/off, Debug overlay on/off.
• MTF (safe): Toggle + HTF timeframe (e.g., 240, D, W).
⸻
Interpreting signals
• Long: Trend regime AND fast EMA > slow EMA AND ARO ≥ +threshold (confirmed bar, filters passing).
• Short: Trend regime AND fast EMA < slow EMA AND ARO ≤ −threshold (confirmed bar, filters passing).
• Regime Shift: Alert when ER moves the market from Range → Trend or flips trend direction.
⸻
Practical use cases & examples
1) Intraday momentum alignment (scalps to day trades)
• Timeframes: 5–15m with HTF filter = 4H.
• Flow:
1. Wait for Trend Up background + HTF OK.
2. Enter on ▲ Long when ARO crosses above +threshold.
3. Stops: 1–1.5× ATR(14) below trigger bar or below last micro swing.
4. Exits: Partial at 1× ATR, trail remainder with an ATR stop or when ARO reverts to zero/Regime Shift.
• Why it works: You’re trading with the dominant higher-timeframe structure while avoiding low-volatility fakeouts.
2) Swing trend following (cleaner trend legs)
• Timeframes: 1H–4H with HTF filter = 1D.
• Flow:
1. Only act in Trend background aligned with HTF.
2. Add on subsequent ▲ signals as ARO maintains positive (or negative) territory.
3. Reduce or exit on Regime Shift (Trend → Range or direction flip) or when ARO crosses back through zero.
• Stops/targets: Initial 1.5–2× ATR; move to breakeven once the trade gains 1× ATR; trail with a multiple-ATR or structure lows/highs.
3) Range tactics (fade the extremes)
• Timeframes: 15m–1H or 1D on mean-reverting names.
• Flow:
1. Act only when background = Range.
2. Fade moves when ARO swings from ±extremes back toward zero near well-defined S/R.
3. Exit at the opposite band or zero line; abort if a Regime Shift to Trend occurs.
• Tip: Increase ER threshold (e.g., 0.35–0.40) to label more bars as Range on choppy instruments.
4) Event days & macro filters
• Approach: Raise the volatility floor (Min ATR%) on macro days (FOMC, CPI).
• Effect: You’ll ignore “fake” micro swings in the minutes leading up to releases and catch only post-event confirmed momentum.
⸻
Parameter tuning guide
• ER Threshold:
• Lower (0.20–0.30) = more Trend bars, more signals, higher noise.
• Higher (0.35–0.45) = stricter trend confirmation, fewer but cleaner signals.
• Signal Threshold (±K):
• Raise to reduce whipsaws; lower for earlier but noisier triggers.
• Volatility Floor (ATR%):
• Thin/quiet assets benefit from a higher floor (e.g., 0.3–0.6).
• Highly liquid futures/forex can work with lower floors.
• HTF Filter:
• Keep it ON when you want higher win consistency; turn OFF for tactical counter-trend plays.
⸻
Alerts (recommended setup)
• “ARO Long” / “ARO Short”: Entry-style alerts on confirmed signals.
• “ARO Regime Shift”: Context alert to scale in/out or switch playbooks (trend vs. range).
All alerts are non-repainting and fire only when the bar closes.
⸻
Best practices & combinations
• Price action & S/R: Use ARO to define when to engage, and price structure to define where (breakout levels, pullback zones).
• VWAP/Session tools: In intraday trends, ▲ signals above VWAP tend to carry; avoid shorts below session VWAP in strong downtrends.
• Risk first: Size by ATR; never let a single ARO event override your max risk per trade.
• Portfolio filter: On indices/ETFs, enable HTF filter and a stricter ER threshold to ride regime legs.
⸻
Non-repaint and implementation notes
• The script does not repaint:
• Signals are computed and locked on bar close (barstate.isconfirmed).
• All higher-timeframe data uses request.security(..., lookahead_off, gaps_on).
• No future indexing or negative offsets are used.
• The Info Panel and Debug overlay are purely visual aids and do not change signal logic.
⸻
Limitations & tips
• Chop sensitivity: In hyper-choppy symbols, consider raising ER threshold and the signal threshold, and enable HTF filter.
• Instrument personality: EMAs/RSI lengths and volatility floor often need a quick 2–3 minute tune per asset class (FX vs. crypto vs. equities).
• No guarantees: ARO improves context and timing, but it is not a promise of profitability—always combine with risk management.
⸻
Quick start (TL;DR)
1. Timeframes: 5–15m intraday (HTF = 4H); 1H–4H swing (HTF = 1D).
2. Use defaults, then tune ER threshold (0.25–0.40) and Signal threshold (±20).
3. Enable Volatility Floor (e.g., 0.2–0.5 ATR%) on quiet assets.
4. Trade ▲ / ▼ only in matching Trend background; fade extremes only in Range background.
5. Set alerts for Long, Short, and Regime Shift; manage risk with ATR stops.
⸻
Author’s note: ARO Pro is designed to be clear, adaptive, and operational out of the box. If you publish variants (e.g., different ER logic, alternative trend cores), please credit the original and document any changes so users can compare behavior reliably.
Dynamic Stop Loss Optimizer [BackQuant]Dynamic Stop Loss Optimizer
Overview
Stop placement decides expectancy. This tool gives you three professional-grade, adaptive stop engines, ATR, Volatility, and Hybrid. So your exits scale with current conditions instead of guessing fixed ticks. It trails intelligently, redraws as the market evolves, and annotates the chart with clean labels/lines and a compact stats table. Pick the engine that fits the trade, or switch on the fly.
What it does
Calculates three adaptive stops in real time (ATR-based, Volatility-based, and Hybrid) and keeps them trailed as price makes progress.
Shows exactly where your risk lives with on-chart levels, color-coded markers (long/short), and precise “Risk %” labels at the current bar.
Surfaces context you actually use - current ATR, daily volatility, selected method, and the live stop level—in a tidy, movable table.
Fires alerts on stop hits so you can automate exits or journal outcomes without staring at the screen.
Why it matters
Adaptive risk control: Stops expand in fast tape and tighten in quiet tape. You’re not punished for volatility; you’re aligned with it.
Consistency across assets: The same playbook works whether you’re trading indexes, FX, crypto, or equities, because the engine normalizes to each symbol’s behavior.
Cleaner decision-making: One chart shows your entry idea and its invalidation in the same breath. If price trespasses, you know it instantly.
The three methods (choose your engine)
1) ATR Based “Structure-aware” distance
This classic approach keys off Average True Range to set a stop just beyond typical bar-to-bar excursion. It adapts smoothly to changing ranges and respects swing structure.
Use when: you want a steady, intuitive buffer that tracks trend legs without hugging price.
See it in action:
2) Volatility Based “Behavior-aware” distance
This engine derives stop distance from current return volatility (annualized, then scaled back down to the session). It reacts to regime shifts quickly and normalizes risk across symbols with very different prices.
Use when: you want the stop to breathe with realized volatility and respond faster to heat-ups/cool-downs.
See it in action:
3) Hybrid “Best of both worlds”
The Hybrid blends the ATR and Volatility distances into one consensus level, then trails it intelligently. You get the structural common sense of ATR and the regime sensitivity of Vol.
Use when: you want robust, all-weather behavior without micromanaging inputs.
See it in action:
How it trails
Longs: The stop ratchets up with favorable movement and holds its ground on shallow pullbacks. If price closes back into the risk zone, the level refreshes to the newest valid distance.
Shorts: Mirror logic ratchets down with trend, resists noise, and refreshes if price reclaims the zone.
Hybrid trailing: Uses the blended distance and the same “no give-backs” principle to keep gains protected as structure builds.
Reading the chart
Markers: Circles = ATR stops, Crosses = Vol stops, Diamonds = Hybrid. Colors indicate long (red level under price) vs short (green level above price).
Lines: The latest active stop is extended with a dashed line so you can see it at a glance.
Labels: “Long SL / Short SL” shows the exact price and current risk % from the last close no math required.
Table: ATR value, Daily Vol %, your chosen Method, the Current SL, and Risk %—all in one compact block that you can pin top-left/right/center.
Quick workflow
Define the idea: Long or Short, and which engine fits the tape (ATR, Vol, or Hybrid).
Place and trail: Let the optimizer print the level; trail automatically as the move develops.
Manage outcomes: If the line is tagged, you’re out clean. If it holds, you’ve contained heat while giving the trade room to work.
Inputs you’ll actually touch
Calculation Settings
ATR Length / Multiplier: Controls the “structural” cushion.
Volatility Length / Multiplier: Controls the “behavioral” cushion.
Trading Days: 252 or 365 to keep the volatility math aligned with the asset’s trading calendar.
Stop Loss Method
ATR Based | Volatility Based | Hybrid : Switch engines instantly to fit the trade.
Position Type
Long | Short | Both : Show only what you need for the current strategy.
Visual Settings
Show ATR / Vol / Hybrid Stops: Toggle families on/off.
Show Labels: Print price + Risk % at the live stop.
Table Position: Park the metrics where you like.
Coloring
Long/Short/Hybrid colors: Set a palette that matches your theme and stands out on your background.
Practical patterns to watch
Trend-pullback continuation: The stop ratchets behind higher lows (long) or lower highs (short). If price tests the level and rejects, that’s your risk-defined continuation cue.
Break-and-run: After a clean break, the Hybrid will usually sit slightly wider than pure Vol, use it to avoid getting shaken on the first retest.
Range compression: When the ATR and Vol distances converge, the table will show small Risk %. That’s your green light to size up with the same dollar risk, or keep it conservative if you expect expansion.
Alerts
Long Stop Loss Hit : Notifies when price crosses below the live long stop.
Short Stop Loss Hit : Notifies when price crosses above the live short stop.
Why this feels “set-and-serious”
You get a single look that answers three questions in real time: “Where’s my line in the sand?”, “How much heat am I taking right now?”, and “Is this distance appropriate for current conditions?” With ATR, Vol, and Hybrid in one tool, you can run the exact same playbook across symbols and regimes while keeping your chart clean and your risk explicit.
Trend Magic EMA RMI Trend Sniper📌 Indicator Name:
Trend Magic + EMA + MA Smoothing + RMI Trend Sniper
📝 Description:
This is a multi-functional trend and momentum indicator that combines four powerful tools into a single overlay:
Trend Magic – Plots a dynamic support/resistance line based on CCI and ATR.
Helps identify trend direction (green = bullish, red = bearish).
Acts as a trailing stop or dynamic level for trade entries/exits.
Exponential Moving Average (EMA) – Smooths price data to highlight the underlying trend.
Customizable length, source, and offset.
Serves as a trend filter or moving support/resistance.
MA Smoothing + Bollinger Bands (Optional) – Adds a secondary smoothing filter based on your choice of SMA, EMA, WMA, VWMA, or SMMA.
Optional Bollinger Bands visualize volatility expansion/contraction.
Great for spotting consolidations and breakout opportunities.
RMI Trend Sniper – A momentum-based system combining RSI and MFI.
Highlights bullish (green) or bearish (red) conditions.
Plots a Range-Weighted Moving Average (RWMA) channel to gauge price positioning.
Provides visual BUY/SELL labels and optional bar coloring for fast decision-making.
📊 Uses & Trading Applications:
✅ Trend Identification: Spot the dominant market direction quickly with Trend Magic & EMA.
✅ Momentum Confirmation: RMI Sniper helps confirm whether the market has strong bullish or bearish pressure.
✅ Dynamic Support/Resistance: Trend Magic & EMA act as adaptive levels for stop-loss or trailing positions.
✅ Volatility Analysis: Optional Bollinger Bands show squeezes and potential breakout setups.
✅ Entry/Exit Signals: BUY/SELL alerts and color-coded candles make spotting trade opportunities simple.
💡 Best Use Cases:
Swing Trading: Follow Trend Magic + EMA alignment for higher probability trades.
Scalping/Intraday: Use RMI signals with bar coloring for quick momentum entries.
Trend Following Strategies: Ride trends until Trend Magic flips direction.
Breakout Trading: Watch for price closing outside the Bollinger Bands with RMI confirmation.
SMR - Simple Market Recap📊 Simple Market Recap (SMR)
🎯 A comprehensive market overview tool displaying price changes, percentage movements, and status indicators for multiple financial instruments across customizable timeframes with intelligent data synchronization.
━━━━━━━━━━━━━━
📋 OVERVIEW
The Simple Market Recap indicator provides a professional market analysis dashboard that displays key performance metrics for major financial instruments. This educational tool features intelligent asset selection, automatic dark mode detection, comprehensive period analysis with bilingual support, and advanced data synchronization ensuring accurate price data regardless of the current chart symbol.
Perfect for:
Market overview analysis and educational study
Multi-asset performance comparison and research
Weekly, daily, and monthly market recap visualization
Educational purposes and market trend analysis
━━━━━━━━━━━━━━
🚀 KEY FEATURES & ENHANCEMENTS
🌙 Intelligent Dark Mode Detection
Automatic chart background color analysis and adaptation
Dynamic color scheme adjustment for optimal visibility
Enhanced contrast ratios for both light and dark themes
Professional appearance across all chart backgrounds
📊 Comprehensive Asset Coverage
Major Forex Pairs: EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDJPY, USDCAD
Indices & Dollar: DXY (US Dollar Index), SPX (S&P 500)
Commodities: XAUUSD (Gold), USOIL (Crude Oil)
Bonds: US10Y (10-Year Treasury)
Cryptocurrencies: BTCUSDT, ETHUSDT
Selective asset display with individual on/off controls
Fixed asset order: DXY, EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDCAD, USDJPY, XAUUSD, USOIL, SPX, US10Y, ETHUSDT, BTCUSDT
⏰ Flexible Timeframe Analysis
Multiple Periods: Daily (1D), Weekly (1W), Monthly (1M)
Time Selection: Current Period or Previous Period analysis
Dynamic Titles: Automatic report naming with dates and periods
Historical Comparison: Compare current vs previous period performance
📈 Enhanced Data Visualization
Professional table with adaptive row count based on selected assets
Color-coded price movements: Enhanced green for positive, bright red for negative
Status emojis: ↗️ Up, ↘️ Down, ↔️ Sideways, ❓ No data
Smart price formatting based on asset type and price level
Improved contrast colors for better visibility in all lighting conditions
🔄 Advanced Data Synchronization
Symbol-Independent Accuracy: Correct data display regardless of current chart symbol
Real-Time Security Requests: Direct data fetching from specific instrument sources
Cross-Asset Reliability: Accurate price data for all monitored assets simultaneously
Data Integrity: No cross-contamination between different financial instruments
━━━━━━━━━━━━━━
🎨 PROFESSIONAL TABLE LAYOUT
Adaptive Design Features:
Automatic dark mode detection and color adaptation
Enhanced contrast ratios for better readability
Professional color scheme with clear data separation
Responsive design for all screen sizes and themes
Comprehensive Data Display:
Dynamic Title Row: Period-specific report titles with dates
Asset Column: Selected financial instruments
Open/Close Prices: Period opening and closing values
Change Percentage: Color-coded performance indicators
Pips Movement: Precise pip calculations for each asset
Status Indicators: Visual emoji representations of trend direction
Visual Design Features:
Merged title cells for clean header presentation
Asset-specific price formatting for optimal readability
Color-coded positive/negative movements
Professional table borders and spacing
━━━━━━━━━━━━━━
⚙️ ADVANCED CUSTOMIZATION
Timeframe Controls:
Report Period selection: Daily, Weekly, or Monthly analysis
Time Selection toggle: Current vs Previous period comparison
Dynamic row count based on active asset selection
Automatic title generation with period-specific formatting
Asset Selection:
Individual toggle controls for each supported asset
Major forex pairs with complete coverage
Cryptocurrency and precious metals options
Index and commodity instrument support
Display Options:
9 table positioning options across the entire chart
5 text size levels from Tiny to Huge for optimal visibility
Language selection between English and Vietnamese
Automatic theme adaptation for all chart backgrounds
━━━━━━━━━━━━━━
⚠️ EDUCATIONAL & ANALYTICAL PURPOSE
This indicator is designed exclusively for educational market analysis and research purposes .
📚 Educational Applications:
Understanding multi-asset market performance correlation
Studying period-based price movements and trends
Analyzing market volatility across different timeframes
Learning to read and interpret market recap data
📊 Analysis Capabilities:
Market overview visualization for educational study
Multi-timeframe performance comparison research
Historical period analysis and trend identification
Cross-asset correlation studies and market research
🚨 Important Disclaimer: This tool provides educational market data visualization only and does NOT generate trading signals or investment advice. All data is for learning and analysis purposes. Users must conduct independent research and consult financial professionals before making any investment decisions.
━━━━━━━━━━━━━━
🛠️ SETUP & CONFIGURATION
Quick Start Guide:
Add the indicator to your chart from the indicators library
Select your preferred language (English or Vietnamese)
Choose your desired reporting timeframe (Daily, Weekly, or Monthly)
Select Current Period or Previous Period for analysis
Toggle on/off specific assets you want to monitor
Adjust table position and text size for optimal viewing
Advanced Configuration:
Customize asset selection based on your analysis needs
Configure timeframe settings for different market studies
Set up language preferences for your region
Fine-tune display options for your screen setup
Optimize table positioning for your chart layout
Theme Optimization:
Indicator automatically detects your chart theme
Colors adapt automatically for optimal contrast and readability
No manual adjustments required for theme changes
Professional appearance maintained across all backgrounds
━━━━━━━━━━━━━━
🔧 TECHNICAL SPECIFICATIONS
Performance & Reliability:
Pine Script v6 with optimized data retrieval
Real-time updates with minimal CPU and memory usage
No repainting or lookahead bias in calculations
Stable performance across all timeframes and instruments
Universal Compatibility:
Works with all TradingView chart types and instruments
Compatible with mobile and desktop platforms
Supports all timeframes with period-specific analysis
Cross-platform functionality with consistent behavior
Data Precision:
High-precision floating-point calculations
Asset-specific formatting and pip calculations
Real-time price data from multiple exchanges
Accurate percentage and movement calculations
Advanced Features:
Automatic chart background detection and color adaptation
Dynamic table sizing based on active asset selection
Intelligent price formatting for different asset classes
Professional status indicators with emoji visualization
━━━━━━━━━━━━━━
📋 VERSION HISTORY
v1.7 - Enhanced Data Synchronization & Color Improvements
Fixed critical data synchronization issue - accurate data regardless of current chart symbol
Enhanced data retrieval system with symbol-specific security requests
Improved color scheme: brighter red for negative values, enhanced contrast
Fixed asset order: DXY, EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCHF, USDCAD, USDJPY, XAUUSD, USOIL, SPX, US10Y, ETHUSDT, BTCUSDT
Optimized price formatting with proper decimal display and leading zeros
Enhanced calendar-based time calculations for accurate period reporting
Improved pip calculations for different asset classes
Professional color coding with adaptive contrast for all themes
Previous Versions:
v1.6 - Data accuracy improvements and bug fixes
v1.5 - Enhanced market analysis with flexible timeframes
v1.4 - Professional table layout and bilingual support
Earlier versions - Core market data display functionality development
━━━━━━━━━━━━━━
Author: tohaitrieu
Version: 1.7
Category: Market Analysis / Educational Overview
Language Support: English, Vietnamese
License: Educational Use Only
This indicator is provided exclusively for educational and analytical purposes to help users understand market overview concepts and multi-asset analysis. It features automatic theme adaptation, flexible timeframe analysis, enhanced data synchronization, and comprehensive market data visualization for the most accurate and informative educational experience. It does not provide trading signals or investment advice. Always conduct thorough research and consider professional guidance before making financial decisions.
KMAs by TheQuantGuy8ema, 21sma, 50sma on daily time frame and 50sma, 200sma on weekly moving average.
Color cloud green when price> 8ema>21sma
Color cloud red when price<8ema<21sma
Distance from Low of the Day (DFLOD)
RVOL (Relative Volume)
ES/NQ, Pre-Market High & Low (04:00 AM - 09:30 AM)This indicator marks the Pre market high and Pre market low from 04:00am to 09:30am for any us Index
Fiery River Torgi### Description of the "Fiery River" (FR) Indicator
**Overview of the Indicator**
"Fiery River" (abbreviated as FR, with variants like "FR-Torg") is a technical indicator for TradingView, written in Pine Script version 6. It combines Fibonacci levels with exponential moving averages (EMAs) and standard deviations to dynamically plot support and resistance zones on price charts. The indicator calculates "effective close" prices based on candlestick bodies for better volatility representation, then derives levels using custom Fibonacci multipliers applied to deviations from the EMA midline. It supports multi-timeframe analysis by incorporating a secondary timeframe, making it ideal for traders analyzing trends, reversals, and extensions in various markets like forex or crypto. The name evokes a "fiery" stream of adaptive levels flowing across the chart. 🔥
**Key Features**
- **Level Construction**: Uses an EMA of the "effective close" price (derived from open/close max/min) and standard deviation to create a midline. Fibonacci levels are calculated by multiplying deviations with coefficients (e.g., 1.55, 1.89, 0.89), resulting in "long" and "short" lines. It plots 9 lines total: 5 for the primary timeframe (green, red, gray, black for shorts, and a midline) and 4 for the secondary timeframe (with transparency for distinction).
- **Color Scheme**: Green for weaker levels, red for stronger, gray for mid-range, and black for shorts/extensions.
- **Fills**: Adds green fills between level pairs to highlight potential trading zones, enhancing visual clarity.
- **Alerts**: Automatic notifications trigger when the price touches specific levels (e.g., "FM-Torgi green!" for the first green line), helping with timely signals.
- **Multi-Timeframe Support**: Pulls data from a secondary timeframe (e.g., daily while main is hourly) using `request.security`, allowing comparison across scales.
- **Customization**: Inputs for EMA periods (default 89), secondary timeframe, and multipliers for flexibility.
**How to Use**
1. Add the indicator to your TradingView chart via the "Indicators" menu.
2. Configure settings: Set EMA periods, choose a secondary timeframe (e.g., 'D' for daily), and adjust Fibonacci multipliers if needed.
3. Interpret levels: Use green/red zones for entries/exits, gray for mid-support, and shorts for extensions. Fills indicate high-probability areas.
4. Enable alerts for real-time notifications on level touches.
Best combined with other tools like RSI or volume for confirmation. It's suited for swing trading or scalping on volatile assets. 📈
**Advantages and Limitations**
- **Pros**: Highly adaptive to price movements, customizable, visually intuitive with fills and multi-timeframe depth. Efficient for identifying Fibonacci-based zones without manual drawing.
- **Cons**: Can clutter the chart with many lines if not managed; requires testing on different symbols as hardcoded multipliers may not fit all markets perfectly. Potential for false signals in sideways markets.
If you'd like me to expand on the code, suggest modifications, or provide examples, let me know! 😊
Fiery River### Description of the "Fiery River" (FR) Indicator
**Overview of the Indicator**
"Fiery River" (abbreviated as FR) is a technical indicator for TradingView, written in Pine Script version 6. It's designed for traders who incorporate Fibonacci levels with moving averages to analyze support and resistance zones. The indicator dynamically plots levels based on a selected moving average (MA) and Fibonacci multipliers, displaying them on the current timeframe and an additional secondary timeframe. This helps visualize potential reversal or continuation points, making analysis more comprehensive. The name "Fiery River" evokes a "fiery" flow of levels that "stream" across the chart, adapting to price movements. 🔥
**Key Features**
- **Level Construction**: The indicator calculates a moving average (EMA, SMA, WMA, RMA, or HMA) from the closing price and multiplies it by specified Fibonacci coefficients (0.618, 0.5, 0.382, 0.27, 0.18 for "long" levels and 1.618, 1.5, 1.382 for "short" levels). This creates 10 lines: 5 for the current timeframe (fully visible) and 5 for the secondary timeframe (with semi-transparency for distinction).
- **Color Scheme**: Levels are colored in gray, red, orange, and green, with additional "short" variants for extensions.
- **Fills**: Green fills are added between level pairs to highlight areas of interest, making the chart more visually intuitive.
- **Alerts**: Automatic notifications when the price touches levels (e.g., "Price touches Red line"), helping you stay on top of key moments.
- **Multi-Timeframe Support**: Incorporates a secondary timeframe (e.g., daily if the main is hourly) for comparing levels across different scales.
**How to Use**
1. Add the indicator to your chart in TradingView.
2. Customize settings in the panel: Select MA type, period (default 89), secondary timeframe, and Fibonacci coefficients.
3. Analyze levels as potential entry/exit points: Gray and red for stronger zones, green for weaker ones. Use fills to identify ranges.
4. Enable alerts for real-time signals.
It's ideal for strategies based on Fibonacci and trends, but always combine with other tools for confirmation. 📈
**Advantages and Limitations**
- **Pros**: Highly customizable, visually clear, supports multiple MA types and timeframes. Great for scalping and swing trading.
- **Cons**: Can create a lot of lines on the chart, potentially overwhelming if not managed. May require testing for optimal settings on volatile assets.
If you need any adjustments, more details, or help with the code, just let me know! 😊
Previous Day OHLCDescription :
This script automatically draws the previous day’s Open, High, Low, and Close levels on each trading day. Traders widely use these reference levels to identify key support and resistance zones, potential breakout areas, and intraday bias.
The levels update daily and remain visible throughout the trading session to quickly identify price interactions with yesterday’s important zones.
Features :
Plots the previous day’s Open, High, Low, and Close.
Levels extend across the full trading day for easy reference.
Useful for intraday and swing traders tracking price reactions at historical levels.
ICT Daily Bias based on weekly by RKGiven that Weekly bias is determined ,This indicator helps you to identify the Daily Bias.
So best of this indicator to determine Daily bias is to first Implement it on weekly and then Daily
If weekly and Daily both are bullish then look for LONG in lower timeframe.
If weekly and Daily both are bearish then look for SHORTS in lower timeframe.
Consecutive Close Colorer (5+ with retroactive coloring)“Spot momentum streaks instantly — highlight runs of consecutive closes with color & boxes.”
“Turn price streaks into clear visuals. See momentum, strength, and exhaustion at a glance.”
“Simple way to track consecutive up/down closes — momentum made obvious.”
“Make market streaks stand out: candle coloring + shaded zones for clear momentum.”
EMA BY C4RLOZ📈 Example:
A 150 EMA is the average price of the last 150 candles, but the most recent prices influence it more.
Traders often use EMAs to identify trend direction and crossovers for buy/sell signals.
👉 In practice:
If price is above the EMA → uptrend bias.
If price is below the EMA → downtrend bias.
Nikkei PER Curve (EPS Text Area Input)
This indicator visualizes the PER levels of the Nikkei 225 based on the dates and EPS data entered in the text area.
By plotting multiple PER multiplier lines, it helps users to understand the following:
Potential support and resistance levels based on PER multipliers
Comparison between the current stock price and theoretical valuation levels
Observation of PER trends and detection of deviations from standard valuation levels
Trading Decisions:
When the stock price approaches a specific PER line, it can serve as a reference for support or resistance.
During intraday chart analysis, PER lines are drawn based on the most recent EPS, making them useful as reference levels even during market hours.
Valuation Analysis:
On daily charts, it helps to assess whether the Nikkei is overvalued or undervalued compared to historical levels, or to identify changes in valuation levels.
Risk Management:
The theoretical price lines based on PER can be used as reference points for stop-loss or profit-taking decisions.
Simple Data Input:
EPS data is entered in a text area, one line per date, in comma-separated format:
YYYY/MM/DD,EPS
YYYY/MM/DD,EPS
Multiple entries can be input by using line breaks between each date.
Note: Dates for which no candlestick exists in the chart will not be displayed.
This allows easy updating of PER lines without complex spreadsheets or external tools.
EPS Data Input: Manual input of date and EPS via the text area; supports multiple data entries.
PER Multiplier Lines:
For evenly spaced lines, simply set the central multiplier and the interval between lines. The indicator automatically generates 11 lines (center ±5 lines).
For non-even spacing or individual multiplier settings, you can choose to adjust each line.
Close PER Labels: Displays the PER of the close price relative to the current EPS.
Timeframe Limitation: Use on daily charts (1D) or lower. PER lines cannot be displayed on higher timeframes.
Label Customization: Allows adjustment of text size, color, and position.
EPS Parsing: The indicator reads the input text area line by line, splitting each line by a comma to obtain the date and EPS value.
Data Storage: The dates and EPS values are stored in arrays. These arrays allow the script to efficiently look up the latest EPS for any given date.
PER Calculation: For each chart bar, the indicator calculates the theoretical price for multiple PER multipliers using the formula:
Theoretical Price = EPS × PER multiplier
Line Plotting: PER lines are drawn at these calculated price levels. Labels are optionally displayed for the close price PER.
Date Matching: If a date from the EPS data does not exist as a candlestick on the chart, the corresponding PER line is not plotted.
PER lines are theoretical values: They serve as psychological reference points and do not always act as true support or resistance.
Market Conditions: Lines may be broken depending on market circumstances.
Accuracy of EPS Data: Be careful with EPS input errors, as incorrect data will result in incorrect PER curves.
Input Format: Dates and EPS must be correctly comma-separated and entered one per line. Dates with no corresponding candlestick on the chart will not be plotted. Incorrect formatting may prevent lines from displaying.
Reliability: No method guarantees success in trading; use in combination with backtesting and other technical analysis tools.
このインジケータは、入力した日付とEPSデータを基に日経225のPER水準を視覚化するものです
複数のPER倍率ラインを描画することで、以下を把握するのに役立ちます:
PER倍率に基づく潜在的なサポート・レジスタンス水準や目安
現在の株価と理論上の評価水準との比較
過去から現在までのPER推移の観察
トレード判断:
株価が特定の倍率のPERラインに近づいたとき、抵抗や支持の目安としての活用
日中足表示時は、前日(最新日)のEPSに基づいたPERラインを表示するように作成しているので、場中でも参考目安として使用可能
評価分析:
過去の推移と比較して日経が割高か割安か、またはPER評価水準が変化したかの確認
リスク管理:
PERに基づく理論価格ラインを、損切りや利確の目安としての利用
簡単なデータ入力:
EPSデータはテキストエリアに手動入力。1行につき1日付・EPSをカンマ区切りで記入します
例
2025/09/19,2492.85
2025/09/18,2497.43
行を改行することで複数データ入力が可能
注意: チャート上にローソク足が存在しない日付のデータは表示されません
表計算や外部ツールを使わずに倍率を掛けたPERラインの作成・更新が簡単に行える
PER倍率ライン:
等間隔ラインの場合、中心倍率と各ラインの間隔を設定するだけで、自動的に中心値±5本、計11本のラインを作成
等間隔以外や個別設定したい場合は で調整可能
終値PERラベル: 現在のEPSに対する終値PERを表示
時間足制限: 日足(1日足)以下で使用すること。高い時間足ではPERラインは表示できません
ラベルカスタマイズ: 文字サイズ、色、位置を調整可能
EPSデータの読み取り: 改行を検知し1日分のデータとして識別し、カンマで分割して日付とEPS値を取得
配列への格納: 日付とEPSを配列に格納し、各バーに対して最新のEPSを参照できるようにする
PER計算: 各バーに対して、以下の式で複数のPER倍率の理論価格を計算:
理論価格 = EPS × PER倍率
日付照合: EPSデータの日付がチャート上にローソク足として存在したら格納した配列からデータを取得。ローソク足が存在しない場合、そのPERラインは表示されない
ライン描画: 計算した価格にPERラインを描画。必要に応じて終値PERラベルも表示。
PERラインは理論値であり心理的目安として機能することがありますが、必ずしも機能する訳ではない
その為、過去の検証や他のテクニカル指標と併用推奨
市況によってはラインを無視するように突破する可能性ことがある
EPSデータの入力ミスに注意すること。誤入力するとPER曲線が誤表示される
日付とEPSの入力は1行ずつ、正しい位置でカンマ区切りをいれること
ローソク足が存在しない日付のデータは正しく表示されないことがあるので注意
誤った入力形式ではラインが表示されない場合がある