Kaito Box with RSI Div(Dynamic Adjustment + MA + Long)The script implements a dynamic trading strategy that combines box range detection, RSI divergence signals, and moving average trend analysis. It is designed for use on OKX Signal Bots and includes features for dynamic position scaling and partial position closing. Below is a summary of its key functionalities:
Key Features:
Box Range Detection:
The script identifies price ranges using the highest high and lowest low of a configurable boxLength period.
These levels are plotted on the chart to visualize the price range.
RSI Divergence Detection:
The script calculates RSI using a configurable rsiLength.
Detects bullish divergence when price makes a lower low, but RSI makes a higher low.
Detects bearish divergence when price makes a higher high, but RSI makes a lower high.
Includes separate left and right lookback periods (leftLookback, rightLookback) for precise local extrema detection.
Customizable Moving Averages:
Supports multiple types of Moving Averages (SMA, EMA, SMMA, WMA, VWMA).
Calculates and plots MA20, MA50, MA100, and MA200 on a user-defined timeframe (custom_timeframe).
Identifies uptrends and downtrends based on the alignment of the moving averages and price levels.
Dynamic Position Scaling:
Implements dynamic position sizing for long entries and partial position closing for exits.
The percentage of position size added or closed is based on the difference between the current price and the average position price (avgPrice), with configurable minimum thresholds (minEnterPercent, minExitPercent).
Signal Integration for OKX Bots:
Sends buy/sell signals to OKX Signal Bots using the configured signalToken.
Supports market or limit orders with configurable price offsets and investment types.
Trend-Based Signal Filtering:
Only triggers long signals during downtrends and short signals during uptrends, ensuring trades align with the overall market context.
Visual Annotations:
Plots bullish and bearish divergence signals on the chart.
Displays labels showing dynamic position size adjustments and current average price during trades.
How It Works:
Long Signals:
Triggered when the price breaches the lower box range, and a bullish RSI divergence is detected.
Additional filtering ensures long trades are executed only during downtrend conditions.
Dynamically adjusts the position size based on the price difference from the average entry price.
Short Signals:
Triggered when the price breaches the upper box range, and a bearish RSI divergence is detected.
Additional filtering ensures short trades are executed only during uptrend conditions.
Dynamically closes portions of the position based on price movement relative to the average entry price.
Alerts:
Generates actionable alerts formatted for OKX bots, including order type, signal token, and dynamically calculated position sizes.
Use Case:
This strategy is well-suited for automated trading on platforms like OKX, where it can:
Exploit price ranges and RSI divergences for precise entries and exits.
Dynamically manage position sizes to optimize risk-reward.
Adapt to different market conditions using configurable parameters like moving averages, divergence lookbacks, and trend filters.
This script provides a robust foundation for traders looking to automate their strategies while maintaining flexibility and control over their trading logic.
指標和策略
Q KAMA Clarity Trend Q KAMA Clarity Trend
A minimalistic yet versatile trend-following tool that combines **Kaufman’s Adaptive Moving Average (KAMA) with Gaussian smoothing and ATR-based breakout logic. Built for traders who value clarity, responsiveness, and visual simplicity.
🔧 Core Features
1. Adaptive KAMA Trend Line
• Dynamically adjusts to market volatility using Kaufman’s KAMA.
• Gaussian filter pre-smooths price to reduce noise before calculating KAMA.
2. Dual Trend Logic (toggle)
• Default: Trend shifts on price breakouts above/below KAMA ± ATR channel.
• Alternative: Faster signals based on price crossing KAMA directly.
3. Visual Feedback
• Auto-colored KAMA line based on trend direction (up/down/neutral).
• Arrows on trend reversals (up = green, down = red).
• Optional shadow fill below line for regime clarity.
• Optional dot marker ("⦿") on the KAMA line to show trend shifts.
4. Alerts
• Real-time alerts when a new uptrend or downtrend begins.
• Compatible with manual or automated strategies.
⚙️ Configurable Inputs
• Source: Price input (default: close)
• KAMA Length: Adjusts sensitivity (longer = smoother)
• ATR Length & Multiplier: Defines channel width for breakout detection
• Gaussian Filter (Length & Sigma): Controls smoothing strength
• Trend Logic Mode: ATR channel breakout vs. price-KAMA cross
• Style: Custom colors, background fill, marker visibility
📈 How to Use
• Follow trend arrows for directional confirmation
• Use ATR breakout mode for cleaner, filtered signals
• Switch to price-KAMA crossover mode for earlier entries
• Works well with structure, momentum, and volume confirmation
Thai Gold BahtIndicator Name: Thai Gold Baht
Short Title: Thai Gold Baht
Purpose
This indicator calculates and visualizes the real-time price of 1 Thai Gold Baht (15.244 grams) based on the global gold price ( XAU/USD ) and the USD/THB exchange rate .
Users can customize gold weight and purity to simulate the local Thai gold market price.
What it does
Retrieves live gold price per troy ounce in USD
Retrieves current USD to Thai Baht exchange rate
Converts the value using user-defined weight and purity
Displays result as a real-time chart
Shows calculation details in the Data Window
Ideal for
Traders tracking Thai gold based on international prices
Analysts comparing local and global bullion markets
Anyone needing a configurable, transparent gold price conversion
Pine Script Functionality
// Uses XAU/USD and USD/THB as inputs
// Calculates 1 Baht Gold (96.5% default purity)
// Outputs the value in THB as a chart line
ชื่ออินดิเคเตอร์: Thai Gold Baht
ชื่อย่อ: Thai Gold Baht
วัตถุประสงค์
อินดิเคเตอร์นี้ใช้คำนวณและแสดงราคาทองคำไทย 1 บาท (15.244 กรัม) แบบเรียลไทม์
โดยอ้างอิงจากราคาทองคำในตลาดโลก ( XAU/USD ) และอัตราแลกเปลี่ยน USD/THB
ผู้ใช้สามารถกำหนดน้ำหนักทองและความบริสุทธิ์เองได้ เพื่อจำลองราคาทองคำในประเทศไทยอย่างแม่นยำ
สิ่งที่อินดิเคเตอร์นี้ทำ
ดึงราคาทองคำแบบเรียลไทม์ต่อทรอยออนซ์ในสกุลเงิน USD
ดึงอัตราแลกเปลี่ยน USD → THB แบบเรียลไทม์
คำนวณราคาจากน้ำหนักและเปอร์เซ็นต์ความบริสุทธิ์ที่ผู้ใช้กำหนด
แสดงผลลัพธ์เป็นกราฟแบบเรียลไทม์ในหน่วยบาทไทย
แสดงรายละเอียดการคำนวณในหน้าต่าง Data Window ของ TradingView
เหมาะสำหรับ
นักเทรดที่ต้องการติดตามราคาทองคำไทยจากราคาทองคำตลาดโลก
นักวิเคราะห์ที่เปรียบเทียบราคาทองคำในประเทศและต่างประเทศ
ผู้ใช้งานที่ต้องการการแปลงราคาทองคำระหว่างประเทศให้โปร่งใสและปรับแต่งได้
การทำงานของ Pine Script
// ใช้ข้อมูล XAU/USD และ USD/THB เป็นอินพุต
// คำนวณราคาทองคำไทย 1 บาท (ความบริสุทธิ์เริ่มต้นที่ 96.5%)
// แสดงผลเป็นเส้นกราฟของราคาทองคำในหน่วยบาทไทย
10 AM NY Box - By KaVeH📦 10 AM New York Box till 4 PM — \
--By KaVeH--
This indicator automatically draws a price range box that captures the high and low between 10:00 AM and 11:00 AM New York Time (Eastern Time) on "5-minute charts".
### 🔍 What It Does
The "10 AM NY Box" is a simple but powerful visualization tool for day traders and ICT-based strategies. It highlights a key hourly session right after the "New York open" — often a time of increased volatility, liquidity grabs, and the formation of critical intraday highs or lows.
### 📊 Features
Time Window: Customizable start and end hours (defaults: 10 AM to 11 AM NY time).
Box Color: Customizable with transparency.
Chart Restriction: The indicator "only works on 5-minute charts" to ensure accuracy and prevent misalignment.
### ⚙️ Inputs
- 'Start Hour (NY Time)' – Default: 10
- 'End Hour (NY Time)' – Default: 11
- 'Box Color' – Default: Red with transparency
### 📈 How It Works
- During the specified time window, the script tracks the "highest high and lowest low".
- Once the time window ends, it draws a "box" from the starting to the ending time, extending a little beyond to keep it visible.
- Each day's box is created independently, and only once per day.
### 🧠 Use Cases
- Spotting potential liquidity zones
- Identifying breakout or fakeout traps
- Aligning with ICT concepts like "FVG", "BAG", or "Judas Swing"
### ⚠️ Notes & Limitations
- "Only functions on 5-minute timeframes" — this is intentional to maintain session accuracy.
- Does not repaint.
- Time is aligned to **New York (Eastern Time)** regardless of your chart’s timezone.
- One box per day.
Volume AlertVolume increase alert: triggers an icon and alert when the current volume is X times greater than the previous one. The multiplier value can be adjusted as needed.
Português:
Alerta de aumento de volume: dispara um ícone e alerta quando o volume atual é X vezes maior que o anterior. O valor do multiplicador pode ser ajustado conforme sua necessidade.
Trend Surge Wick SniperTrend Surge Wick Sniper | Non-Repainting Trend + Momentum Strategy with TP1/TP2 & Dashboard
Trend Surge Wick Sniper is a complete crypto trading strategy designed for high-precision entries, smart exits, and non-repainting execution. It combines trend slope, wick rejection, volume confirmation, and CCI momentum filters into a seamless system that works in real-time conditions — whether you're manual trading or sending alerts to multi-exchange bots.
🧩 System Architecture Overview
This is not just a mashup of indicators — each layer is tightly integrated to filter for confirmed, high-quality setups. Here’s a detailed breakdown:
📈 Trend Logic
1. McGinley Dynamic Baseline
A responsive moving average that adapts to market speed better than EMA or SMA.
Smooths price while staying close to real action, making it ideal for basing alignment or trend context.
2. Gradient Slope Filter (ATR-normalized)
Calculates the difference between current and past McGinley values, divided by ATR for normalization.
If the slope exceeds a configurable threshold, it confirms an active uptrend or downtrend.
Optional loosened sensitivity allows for more frequent but still valid trades.
🚀 Momentum Timing
3. Smoothed CCI (ZLEMA / Hull / VWMA options)
Traditional CCI is enhanced with smoothing for stability.
Signals trades only when momentum is strong and accelerating.
Optional settings let users tune how responsive or smooth they want the CCI behavior to be.
🔒 Entry Filtering & Rejection Logic
4. Wick Trap Detection
Prevents entry during manipulated candles (e.g. stop hunts, wick traps).
Measures wick-to-body ratio against a minimum body size normalized by ATR.
Only trades when the candle shows a clean body and no manipulation.
5. Price Action Filters (Optional)
Long trades require price to break above previous high (or skip this with a toggle).
Short trades require price to break below previous low (or skip this with a toggle).
Ensures you're trading only when price structure confirms the breakout.
6. McGinley Alignment (Optional)
Price must be on the correct side of the McGinley line (above for longs, below for shorts).
Ensures that trades align with baseline trend, preventing early or fading entries.
📊 Volume Logic
7. Volume Spike Detection
Confirms that a real move is underway by requiring volume to exceed a moving average by a user-defined multiplier.
Uses SMA / EMA / VWMA for customizable behavior.
Optional relative volume mode compares volume against typical volume at that same time of day.
8. Volume Trend Filter
Compares fast vs. slow EMA of the volume spike ratio.
Ensures volume is not just spiking, but also increasing overall.
Prevents trades during volume exhaustion or fading participation.
9. Volume Strength Label
Classifies each bar’s volume as: Low, Average, High, or Very High
Shown in the dashboard for context before entries.
🎯 Entry Conditions
An entry occurs when all of the following align:
✅ Trend confirmed via gradient slope
✅ Momentum confirmed via smoothed CCI
✅ No wick trap pattern
✅ Price structure & McGinley alignment (if toggled on)
✅ Volume confirms participation
✅ 1-bar cooldown since last exit
💰 TP1 & TP2 Exit System
TP1 = 50% of position closed using a limit order at a % profit (e.g., 2%)
TP2 = remaining 50% closed at a second profit level (e.g., 4%)
These are set as limit orders at the time of entry and work even on backtest.
Alerts are sent separately for TP1 and TP2 to allow bot handling of staggered exits.
🧠 Trade Logic Controls
✅ process_orders_on_close=true ensures non-repainting behavior
✅ 1-bar cooldown after any exit prevents same-bar reversals
✅ Built-in canEnter condition ensures trades are separated and clean
✅ Alerts use customizable strings for entry/exit/TP1/TP2 — ready for webhook automation
📊 Real-Time On-Chart Dashboard
Toggleable, movable dashboard shows live trading stats:
🔵 Current Position: Long / Short / Flat
🎯 Entry Price
✅ TP1 / TP2 Hit Status
📈 Trend Direction: Up / Down / Flat
🔊 Volume Strength: Low / Average / High / Very High
🎛 Size and corner are adjustable via input settings
⚠️ Designed For:
1H / 4H Crypto Trading
Manual Traders & Webhook-Connected Bots
Scalability across volatile market conditions
Full TradingView backtest compatibility (no repainting / no fake signals)
📌 Notes
You can switch CCI smoothing type, volume MA type, and other filters via the settings panel.
Default TP1/TP2 levels are set to 2% and 4%, but fully customizable.
🛡 Disclaimer
This script is for educational purposes only and not financial advice. Use with backtesting and risk management before live deployment.
Ultimate CoinTadpoleTrader Indicator Altcoins (UCTA)2.0Overview
UCTA (Ultimate CoinTadpoleTrader Indicator for Altcoins) is designed to help traders identify key turning points in volatile altcoin markets. It applies RSI momentum analysis, along with references to Stochastic RSI’s overbought/oversold zones and MACD expansion behavior to filter out low-probability signals. The script looks for repeated RSI dips below certain thresholds and subsequent recoveries, among other internal checks, to provide clear Buy/Sell icons on the chart.
1. Core Concepts
Multi-Stage RSI & Oscillator References
UCTA primarily relies on standard RSI thresholds (e.g., ≤30 or ≥70) but also references Stochastic RSI for deeper confirmation in potential overextended markets.
When the script detects repeated dives into oversold territory or significant momentum shifts, it generates stronger signals.
MACD Expansion Consideration
Internally, the script checks for moments when MACD lines diverge or “expand” notably, indicating an accelerating move.
If RSI conditions and MACD expansions align, the likelihood of a valid reversal or continuation signal increases.
Multi-Trigger Approach
The indicator may require multiple oversold or overbought triggers within a certain bar count to issue a final Buy or Sell signal.
For instance, RSI might dip into oversold, recover, and dip again. Such repeated patterns are used internally to reduce false positives.
Adaptive Filtering for Altcoins
Altcoins can have sharper, more frequent spikes than BTC.
UCTA’s logic attempts to handle these abrupt moves by fine-tuning the thresholds and waiting periods based on repeated triggers, rather than single crosses.
2. Usage Recommendations
Markets & Timeframes
While originally optimized for altcoins on 1H–4H charts, traders can experiment with different timeframes depending on each coin’s volatility.
If the market is extremely choppy, consider referencing higher timeframes to reduce whipsaws.
Signal Interpretation
Buy Signal → The script detects a probable bottoming pattern when RSI and other oscillator conditions reenter oversold territory multiple times within a short window.
Sell Signal → Identifies points where markets may be hitting a peak, considering repeated or extreme overbought metrics.
Complementary Analysis
Use additional technical or fundamental analysis tools to confirm signals.
UCTA is not intended as a standalone guarantee; rapid price swings can invalidate any single indicator.
3. Disclaimers
Closed-Source Code
The logic behind UCTA is proprietary and not publicly visible.
It comprises advanced filtering methods that rely on recognized indicators (RSI, Stoch RSI, MACD) in a unique combination.
No Performance Guarantees
Cryptocurrency trading is highly speculative. Historical signals do not ensure future results.
Users should apply prudent risk management and never trade solely based on one tool.
Non-Repainting Logic
Signals are determined once a bar closes, so they do not repaint retroactively.
Intrabar fluctuations can cause potential signals to appear or disappear until confirmed at candle close.
Real-Time Price Line by Candle ColorThis indicator draws a horizontal line at the current price that updates in real time on each candle. The line:
Extends infinitely left and right
Changes color based on the current candle:
🟢 Green if the candle is bullish (close ≥ open)
🔴 Red if the candle is bearish (close < open)
Automatically clears and redraws each bar to reflect the latest price and direction
Use this as a simple but effective visual aid to track the live price and its directional bias.
ADX Supertrend | [DeV]The "ADX Supertrend" indicator is a user-friendly tool that blends two popular trading indicators—the Supertrend and the Average Directional Index (ADX)—to help traders spot trends and make smarter trading decisions. By combining these two, it offers a clearer picture of when a market is trending strongly and in which direction, while cutting down on misleading signals. Here’s a straightforward explanation of how each part works, how they team up, the benefits of using them together, and why the ADX makes the Supertrend even better.
Supertrend:
It's like a guide that follows the market’s price movements to tell you whether prices are trending up or down. It creates two lines, one above and one below the price, based on how much the market is bouncing around (its volatility). When the price moves above the upper line, it signals an uptrend (a good time to buy), and the indicator draws a line below the price to show support. When the price drops below the lower line, it signals a downtrend (a potential time to sell), and the line appears above the price as resistance. The Supertrend is great because it adjusts to market conditions, widening the gap between lines in wild markets and tightening it in calm ones.
Average Directional Index:
The ADX is all about measuring how strong a trend is, without caring whether it’s going up or down. Think of it as a meter that tells you if the market is charging forward with purpose or just drifting aimlessly. It uses a scale from 0 to 100, where higher numbers mean a stronger trend. For example, an ADX above 25 often suggests a solid trend worth paying attention to, while a low ADX signals a sleepy, sideways market. The ADX also looks at whether buyers or sellers are in control to confirm the trend’s direction.
Confluence:
The Supertrend is great at spotting trends, but it can be a bit trigger-happy, giving signals in markets that aren’t really trending. That’s where the ADX shines. It acts like a quality control check, making sure the Supertrend’s signals only count when the market is moving with conviction. By filtering out weak or messy trends, the ADX helps you avoid wasting time on trades that fizzle out. It also double-checks the trend’s direction, so you’re not just guessing whether buyers or sellers are in charge. This teamwork means you get signals that are more reliable and less likely to lead you astray, especially in tricky markets where prices bounce around without a clear path.
Multi-VWAP System🚀 Multi-VWAP System — Anchored VWAP & Deviation Bands
Overview
The Multi-VWAP System provides traders with a professional-grade approach to anchored VWAP analysis. Inspired by Brian Shannon's pioneering work on Anchored VWAP, this indicator automatically calculates and plots:
Current Session VWAP
Previous Session VWAP (also known as "2-Day VWAP")
High-of-Day (HOD) Anchored VWAP
Each VWAP can also display optional Standard Deviation Bands to highlight statistically significant deviations from the volume-weighted average price.
🔍 Why Anchored VWAP Matters
Volume Weighted Average Price (VWAP) is among the most critical institutional indicators, as it represents the average price paid for a stock adjusted by trading volume. This makes VWAP crucial for identifying fair value and significant areas of institutional activity.
Institutions utilize VWAP extensively to guide their execution algorithms. For instance, if price dips below a 2-day anchored VWAP (anchored to the previous session's open), many institutions interpret this as a discounted entry, potentially triggering large-scale buy programs. Conversely, sustained movement above VWAP signals strong buying pressure and bullish sentiment.
📌 Why Multiple Anchors?
Traders commonly anchor VWAPs at critical reference points:
Current Session VWAP:
Essential for day traders as a reference for intraday sentiment. Price action above this line generally indicates bullish sentiment, while price below signals bearish sentiment.
Previous Session (2-Day) VWAP:
Heavily used by institutions and swing traders, it provides insight into multi-session sentiment. Institutions commonly activate buy or sell programs based on whether price is trading at a premium or discount relative to this VWAP.
High-of-Day (HOD) VWAP:
Frequently used by momentum traders, this anchor captures sentiment after the most recent intraday high. Price above the HOD VWAP suggests sustained bullish momentum, while price below might signal weakening momentum.
🌟 Standard Deviation Bands
Each anchored VWAP in this indicator includes optional Standard Deviation Bands, highlighting statistical extremes. Traders use these bands to:
Identify potentially overextended moves (beyond +2σ or +3σ).
Gauge momentum strength (holding above +1σ).
Spot mean-reversion setups when price returns to VWAP after extreme moves.
🎨 Dynamic Background and Momentum Colorization
To visually highlight strength or weakness in price action relative to VWAP:
Dynamic Background Fill between Current and Previous VWAPs:
Green background appears when the Current VWAP is above the Previous VWAP and the linear regression slope (adjustable length) is positive, indicating bullish sentiment.
Red background appears when the Current VWAP is below the Previous VWAP and the slope is negative, indicating bearish sentiment.
No fill when conditions are mixed or momentum is uncertain.
Gold Fill above HOD VWAP:
When price action is above the High-of-Day VWAP and momentum (linear regression slope) is positive, a subtle gold shading appears, quickly highlighting bullish momentum.
⚙ Fully Customizable Settings
Session Times: Adjust session start and end times to match your specific market hours.
Standard Deviation Bands: Enable or disable each VWAP’s deviation bands individually and select how many bands (1σ, 2σ, or 3σ) you'd like to display.
Momentum Slope Length: Adjustable lookback for linear regression slope calculation—giving you full control of trend sensitivity.
🎯 Who Should Use This Indicator?
This indicator is perfect for:
Day Traders who want quick insights into intraday sentiment shifts.
Swing Traders tracking institutional footprints and seeking optimal entry/exit points.
Momentum Traders who rely on clearly visible momentum signals from HOD anchored VWAPs.
Institutional Traders and Professionals seeking sophisticated, institutionally-inspired VWAP analysis without manual anchoring.
📈 Summary of Features
✅ Automatic VWAP Anchors (Current Session, Previous Session, High-of-Day)
✅ Optional Standard Deviation Bands for each VWAP anchor
✅ Dynamic Background Coloring based on price action and momentum conditions
✅ Gold Momentum Highlight for quick bullish momentum identification above HOD VWAP
✅ Fully Customizable Inputs for precise personalization and flexibility
📢 Conclusion
The Multi-VWAP System isn't just another VWAP indicator. It's an institutional-level, dynamic, multi-dimensional analysis tool inspired by the work of Brian Shannon and leading institutional traders. It takes the guesswork out of anchoring and analysis, leaving you free to focus on identifying and executing high-probability trade setups.
Enjoy trading smarter—not harder. Happy Trading! 🚀📊
Key Recent Highs and LowsKey Recent Highs & Lows — Session‐Aware Market Structure
TL;DR
This tool plots the most important intraday price extremes for every U.S.‑equity trading segment—Early Premarket • Western Premarket • Regular Hours • Post‑Market Hours • Yesterday’s Range—and labels them so you can trade break‑outs, retests and mean‑reversion with instant context.
📐 Theory & Why These Levels Matter
Liquidity Pools
Visible session extremes attract resting orders (stop‑losses, take‑profits, opening prints). Price often accelerates into them and reacts at them.
Market Memory
The previous day’s high/low is a widely‑watched pivot for gap fills, overnight inventory corrections and multi‑day breakouts.
Mean‑Reversion Windows
Statistically, pre‑ and post‑market ranges are thin; an aggressive spike outside those bands often retraces when full liquidity returns.
Break‑Out Confirmation
A true breakout isn’t just a tick above RTH‑high—it usually closes or at least consolidates above the prior extreme. Seeing all bands lets you gauge whether a push is “real” or just probing thinner sessions.
Put simply, these levels help you decide:
Break‑out ➜ trade in the direction of expansion past a session extreme with follow‑through.
Fade/Mean‑Revert ➜ fade a spike that tags an extreme without commitment (e.g., hits Western‑Premkt‑High then stalls before RTH).
🔍 What the Script Draws
Session (UTC‑4 EST) Default Color / Style Typical Use‑Case
Early Premarket 4 – 7 AM Thick semi‑transparent orange line detect overnight retail spikes / fade plays
Western Premarket 7 – 9 : 30 AM Dashed orange‑red breakout watch as U.S. brokers open
Regular Session (RTH) 9 : 30 – 16 : 00 Bold teal dotted line core intraday structure; classic highs/lows
Post‑Market 16 – 23 : 59 Soft indigo band after‑hours news moves, earnings fades
Previous‑Day RTH Solid teal gap‑fill targets, trend continuation filters
(All colors, thicknesses and transparencies are editable in the settings.)
✨ Features
Real‑Time Updates
Levels refresh tick‑by‑tick inside their own session—no repainting later.
One‑Click Visibility Toggles
Show or hide any session extreme independently.
Clean Auto‑Labels
Optional right‑edge tags (“RTH High”, “Premkt Low”, etc.) keep your chart readable even when lines overlap.
Automatic Daily Reset
At midnight Eastern, buffers clear and yesterday’s extremes roll into the “Prev‑Day” pair.
Zero‑Noise Design
Transparencies and line styles are tuned so you can overlay on any symbol / timeframe without drowning candles.
📈 How to Trade with It
Intraday Breakout Strategy
Mark confluence (e.g., price pushes through Western Premkt High and Yesterday’s High).
Wait for a pullback that holds above the reclaimed band.
Enter with stop under that session line; target next band or measured‑move.
Fade / Mean‑Reversion
Pre‑market headline sends price 5 % above Early Premkt High.
Volume dries up before RTH open.
Short into exhaustion; cover near Western Premkt High or VWAP.
Gap‑Fill & Trend Days
Cash open gaps above Prev‑Day High.
If first 15‑min candle closes back inside yesterday’s range, bias shifts to downside fade.
If it holds above, treat gap as breakout and track RTH High extensions.
Pair it with volume‑profile, VWAP, or momentum oscillators for even higher‑confidence setups.
⚙️ Settings Cheat‑Sheet
Setting Effect
Show Regular / Premarket / Post‑market High/Low Master visibility per session
Show Previous Day High/Low Toggle yesterday’s anchor range
Show Session Labels Turn the right‑edge tags on/off
Style Panel Change each line’s color, width, transparency, dash/dot
🛠️ Best Practices
Works on any intraday timeframe (1‑min to 1‑hour).
Crypto or 24 h markets: adjust session times to match your exchange.
Combine with alerts (e.g., “price crossing RTH High”) for hands‑free monitoring.
Put KRHL on your chart and you’ll never wonder which high matters most again—because they’re all right there, clearly labeled and color‑coded. Trade breakouts or fades with confidence, armed with the exact market structure everyone else is watching.
CAN INDICATORCAN Moving Averages Indicator - Feature Guide
1. Multiple Moving Averages (20 MAs)
- Supports up to 20 individual moving averages
- Each MA can be independently configured:
- Enable/Disable toggle
- Length (period) setting
- Type selection (SMA, EMA, DEMA, VWMA, RMA, WMA)
- Color customization
- Individual timeframe settings when global timeframe is disabled
Pre-configured MA Settings:
1. MA1-8: SMA type
- Lengths: 20, 50, 100, 200, 365, 489, 600, 1460
2. MA9-20: EMA type
- Lengths: 30, 60, 120, 240, 300, 400, 500, 700, 800, 900, 1000, 2000
2. Global Timeframe Settings
Location: Global Settings group
Features:
- Use Global Timeframe: Toggle to use one timeframe for all MAs
- Global Timeframe: Select the timeframe to apply globally
3. Label Display Options
Location: Main Inputs section
Controls:
- Show MA Type: Display MA type (SMA, EMA, etc.)
- Show MA Length: Display period length
- Show Resolution: Display timeframe
- Label Offset: Adjust label position
4. Cross Alerts System
Location: Cross Alerts group
Features:
1. Price Crosses:
- Alerts when price crosses any selected MA
- Select MA to monitor (1-20)
- Triggers on crossover/crossunder
2. MA Crosses:
- Alerts when one MA crosses another
- Select fast MA (1-20)
- Select slow MA (1-20)
- Triggers on crossover/crossunder
5. Relative Strength (RS) Analysis
Location: Relative Strength group
Features:
- Select any MA to monitor (1-20)
- Compares MA to its own average
- Adjustable RS Length (default 14)
- Visual feedback via background color:
- Green: MA above its average (uptrend)
- Red: MA below its average (downtrend)
- Customizable colors and transparency
6. Moving Average Types Available
1. **SMA** (Simple Moving Average)
- Equal weight to all prices
2. **EMA** (Exponential Moving Average)
- More weight to recent prices
3. **DEMA** (Double Exponential Moving Average)
- Reduced lag compared to EMA
4. **VWMA** (Volume Weighted Moving Average)
- Incorporates volume data
5. **RMA** (Running Moving Average)
- Smoother than EMA
6. **WMA** (Weighted Moving Average)
- Linear weight distribution
Usage Tips
1. **For Trend Following:**
- Enable longer-period MAs (MA4-MA8)
- Use cross alerts between long-term MAs
- Monitor RS for trend strength
2. **For Short-term Trading:**
- Focus on shorter-period MAs (MA1-MA3, MA9-MA11)
- Enable price cross alerts
- Use multiple timeframe analysis
3. **For Multiple Timeframe Analysis:**
- Disable global timeframe
- Set different timeframes for each MA
- Compare MA relationships across timeframes
4. **For Performance:**
- Disable unused MAs
- Limit active alerts to necessary pairs
- Use RS selectively on key MAs
Fibonacci ReRSI LevelsOverview
The Fibonacci RSI Levels indicator plots key Fibonacci-based RSI levels directly on the price chart, offering a unique perspective on market momentum, potential reversal points, and support/resistance zones. By combining the Relative Strength Index (RSI) with Fibonacci retracement levels, this indicator helps traders identify overbought/oversold conditions, trend strength, and critical price levels for potential trading opportunities.
Key Features
Fibonacci RSI Levels: Plots five key levels—23.6% (Oversold), 38.2% (Downtrend Limit), 50.0% (Mid Level), 61.8% (Uptrend Limit), and 78.6% (Overbought)—based on a logarithmic RSI calculation.
Customizable Settings: Adjust the RSI length, line extension, timeframe, and level colors to suit your trading style.
Gradient Fills: Optional gradient fills between levels provide a visual representation of the price's position relative to key zones.
Multi-Timeframe Support: Use the current chart resolution or specify a custom timeframe (e.g., 1M, 5D, 240 for 4 hours) for flexible analysis.
Logarithmic RSI Calculation: Ideal for assets with exponential price movements, such as cryptocurrencies.
How It Works
The indicator uses a reverse-engineered RSI calculation, inspired by Giorgos Siligardos' concept, to determine price levels corresponding to specific Fibonacci RSI values. These levels are plotted as horizontal lines on the chart, each with a label showing the Fibonacci percentage and the exact price level. If enabled, gradient fills between the levels change color based on the price's position, enhancing visual interpretation.
Usage
Support and Resistance: The 38.2% and 61.8% levels often act as support and resistance in trending markets.
Overbought/Oversold Conditions: The 23.6% and 78.6% levels can indicate potential reversal points due to oversold or overbought conditions.
Trend Confirmation: The 50% level serves as a neutral zone or pivot point. Prices above this level may indicate an uptrend, while prices below suggest a downtrend.
Gradient Fills: Use the gradient fills to quickly assess the price's position within the key zones, aiding in decision-making for entries, exits, or reversals.
Interpretation
Uptrend: When the price is above the 50% level and approaching the 61.8% level, it may signal a strong uptrend.
Downtrend: When the price is below the 50% level and nearing the 38.2% level, it may indicate a downtrend.
Reversal Zones: Watch for price reactions near the 23.6% and 78.6% levels, as these can be areas of potential reversals.
Customization
RSI Length: Adjust the RSI period to fine-tune the sensitivity of the levels.
Line Extension: Control how far the levels extend into the future for better visualization.
Timeframe: Choose between the current chart resolution or a custom timeframe for multi-timeframe analysis.
Colors: Customize the colors of each level and enable gradient fills for enhanced visual clarity.
Bollinger Bands ETSOverview
Bollinger Bands ETstyle (BB ETS) is an advanced volatility and breakout detection indicator, building upon the classic Bollinger Bands. This script introduces adaptive ATR-based band width smoothing and clear squeeze detection, making it a versatile tool for traders seeking more responsive and actionable volatility analysis.
Features
Dual Bollinger Bands: Plots both standard and outer bands around a configurable moving average, allowing visualization of typical and extreme volatility ranges.
ATR-Based Band Smoothing (Optional): When enabled, the bands automatically widen during low-volatility periods using the Average True Range (ATR), reducing false signals and making the bands more adaptive.
Squeeze Detection (Optional): Highlights periods when the bands contract below a user-defined threshold, signaling potential breakout setups. Squeeze periods are visually marked with a background highlight for easy identification.
Customizable Settings: Users can adjust band length, standard deviation multipliers, ATR parameters, and squeeze thresholds. Both ATR smoothing and squeeze detection can be toggled on or off.
Clean Chart Output: The indicator overlays directly on price with clear, distinguishable visuals for all features.
How It Works
The indicator calculates a moving average (basis) and plots upper and lower bands at user-selected standard deviations.
If ATR smoothing is enabled, the band width expands by a multiple of the ATR, adapting to real-time volatility.
The script computes the relative band width ("bandwidth"). When this falls below your chosen threshold, the background is highlighted to indicate a "squeeze"-a period of reduced volatility that often precedes breakouts.
How to Use
Trend & Volatility Analysis: Use the bands to identify overbought/oversold conditions and current market volatility. Price touching or crossing the outer bands may signal trend exhaustion or continuation.
Breakout Anticipation: Watch for background highlights indicating a squeeze. These periods suggest the market is coiling for a potential significant move.
Adaptive Sensitivity: Enable ATR smoothing to keep bands relevant during both calm and volatile markets, reducing false signals in low-volatility conditions.
Customization: Adjust all parameters in the settings to match your trading style and the asset’s behavior.
Limitations
The indicator is designed for standard price charts and may not perform as intended on non-standard chart types (such as Renko or Heikin Ashi).
As with all technical tools, best results are achieved when used alongside other forms of analysis.
Summary
Bollinger Bands ETstyle (BB ETS) offers a modern, adaptive approach to volatility and breakout analysis by combining classic bands with ATR-based smoothing and clear squeeze visualization. It is suitable for trend-following and breakout strategies, and requires no additional scripts-simply apply to your chart and adjust the settings as needed.
Intraday Pivot Highs & Lows (Asia London NY)Intraday Pivot Highs & Lows (Asia London NY)
Script Description
This TradingView indicator is optimized for Forex, scalping, intraday, and day trading strategies. It accurately plots Pivot Points and levels, high/low, support and resistance levels. These are clearly identified to aid the trader during killzone sessions and session opens. Ideal for scalp trading, intraday sessions, and leveraging SMT (Smart Money Techniques). Utilize these Price Levels effectively during London Open, NY Open, and the Asia Session, utilizing Market Structure to pinpoint key levels and reversal zones for successful trading. Improve your Trade Setups, recognize reliable Chart Patterns, identify critical Price Pivots, and trade confidently off Institutional Levels.
This script marks the intraday pivot highs, lows and midpoints retracement levels for
Asia
London
New York
It also plots the previous day's high, low, midpoint, and 0.618 Fibonacci retracement levels, providing traders with critical price reference points for making intraday trading decisions.
Originality & Usefulness
This indicator uniquely integrates pivot calculations across three major Forex sessions (Asia, London, NY), clearly delineating session boundaries.
It enhances visibility by using distinct styling
solid for New York
dashed for London
dotted lines for Asia
And colour co-ordinated labeling, improving traders' ability to identify important intraday price action zones efficiently. Unlike standard pivot indicators, this script emphasizes session-specific trading dynamics.
### Key Features ###
Session-Based Levels: Automatically plots high, low, midpoint, and Fibonacci (.618) levels for each major session (Asia, London, NY).
Distinct Visual Cues: Lines and labels use session-specific styles and colors to easily differentiate between sessions.
Previous Day Reference: Clearly plots and labels yesterday's high, low, midpoint, and Fibonacci levels.
Flexible Visibility: Traders can set timeframe visibility to maintain clean charts on higher timeframes.
### How It Works
At the start of next day's session, previous session lines are cleared, ensuring the chart remains uncluttered.
High, low, midpoint, and Fibonacci retracement levels (.618) are dynamically calculated and displayed at the close of each session.
All session levels remain visible until the start of the next respective session, providing continuous actionable insights.
Trading Application:
Session highs and lows act as strong intraday support and resistance zones.
Midpoints and Fibonacci levels are effective for identifying potential reversal zones and retracements.
Daily levels provide a broader context, useful for gauging intraday volatility and range.
### Limitations and Considerations ##
Best used on liquid assets with clear session-based price action, such as Forex major pairs, if used on indexes make sure they contain 24 hour price action not just New York session.
This indicator is designed to streamline intraday trading by clearly marking essential pivot points and session-based levels, significantly improving traders' market context and decision-making accuracy. Can be used to enhance SMT decision making when scalping killzones.
Ehlers Regime Dynamic CandlesCore Calculation Mechanism
The indicator uses advanced Ehlers signal processing techniques to identify market regimes and create dynamically colored candles that reflect market conditions.
Super Smoother Filter: Price data (open, high, low, close) is processed through an Ehlers Super Smoother Filter to reduce market noise while preserving important price movements. This creates a clearer signal for regime detection.
Autocorrelation Analysis: The core of regime detection uses autocorrelation functions at different lag periods:
Primary autocorrelation measures correlation between the current price and its previous value
Trending autocorrelation measures longer-term persistence in the data series
These values combined determine if the market is in a trending or choppy regime
(Image showing Ehlers custom candles vs default candlesticks)
Regime Strength Calculation:
-Raw signal from autocorrelation with user-defined threshold adjustment
-Adaptive scaling based on sensitivity parameter
-Optional volume validation that confirms signal strength using volume data
-Normalization to 0-1 range and smoothing for visual consistency
-Percentile ranking to provide contextually meaningful strength values
Fisher Transform: Applied to the smoothed price to identify statistical extremes, which helps adjust transparency levels during significant price movements.
Key Features & Components
Regime Detection: Identifies trending vs. choppy market conditions using Ehlers' autocorrelation techniques.
Dynamic Candle Coloring: Candles transition smoothly between three color states:
Bullish trending (typically green/teal)
Bearish trending (typically red/purple)
Choppy/neutral (typically blue/silver)
Volume Validation: Optional incorporation of volume data to confirm trend strength (stronger volume during trending periods increases confidence).
Adaptive Transparency: Candles become more opaque during statistically significant price movements based on Fisher Transform values.
Gradient Smoothing: Controls the visual transition between regime states for a more aesthetically pleasing appearance.
Customizable Colors and Style: Full control over all visual aspects including candle body/wick colors and transparency.
Configuration Options
Users can adjust the following parameters in the indicator settings:
Main Settings:
Cycle Length: Controls the lookback period for cycle detection. Lower values increase responsiveness but may introduce noise.
Gradient Smoothness: Determines how quickly colors transition when regime changes.
Trend Detection Threshold: Sets the autocorrelation strength required to classify a trend.
Trend Sensitivity: Scales regime strength calculation to produce a better distribution of values.
Use Volume: Toggles whether volume data is used to validate trend strength.
Color Settings:
Trending Regime Colors: Separate color options for bullish and bearish candle bodies and wicks.
Choppy Regime Colors: Color options for candle bodies and wicks during sideways/neutral markets.
Style Settings:
Candle Border Options: Toggle borders and adjust their color and transparency.
Adaptive Transparency: Enable/disable dynamic transparency based on statistical significance.
Base Transparency: Set the baseline transparency level for all candles.
Interpretation Notes
Color Transitions: As the market shifts between regimes, candle colors gradually transition, providing visual cues about market structure changes.
Regime Strength: The intensity of colors indicates the strength of the detected regime:
Strong trending regimes show vibrant trending colors
Weak or mixed regimes display colors closer to the choppy/neutral color
Transitions between regimes show gradient colors
Transparency Changes: More opaque candles indicate statistically significant price movements, while more transparent candles suggest routine or less significant price action.
Volume Interaction: When volume validation is enabled, trending colors become more pronounced during high volume trends and subdued during low volume periods.
Disclaimer: These are custom candles that are significantly different from normal candlesticks.
Unlike traditional candlesticks that display raw price data, these candles:
• Use Ehlers signal processing to filter and smooth price data
• Dynamically change color based on detected market regimes
• Show statistical significance through transparency
• May appear delayed compared to standard candles due to the filtering process
Traditional trading strategies dependent on candlestick patterns will not work with these.
Risk Disclaimer
Trading involves significant risk. This indicator is provided for analytical purposes only and does not constitute financial advice. Past performance is not indicative of future results. Use sound risk management practices and never trade with capital you cannot afford to lose. The Ehlers Regime Dynamic Candles indicator should be used as part of a comprehensive trading approach, not as a standalone trading system.
SMCFunctionsLibrary "SMCFunctions"
findSwingPoints(high, low, swing_size)
Parameters:
high (float)
low (float)
swing_size (int)
detectBOS(close, high, low, prevHigh, prevLow, highActive, lowActive, bos_conf_type)
Parameters:
close (float)
high (float)
low (float)
prevHigh (float)
prevLow (float)
highActive (bool)
lowActive (bool)
bos_conf_type (string)
getBOSDetails(highBroken, lowBroken, prevHigh, prevLow, prevSwing, prevHighIndex, prevLowIndex, input_show_choch)
Parameters:
highBroken (bool)
lowBroken (bool)
prevHigh (float)
prevLow (float)
prevSwing (int)
prevHighIndex (int)
prevLowIndex (int)
input_show_choch (bool)
calculateRetracementLevels(start_price, end_price)
Parameters:
start_price (float)
end_price (float)
Closest Candle to EMA (CCE)🔍 Closest Candle to EMA (CCE)
The Closest Candle to EMA (CCE) indicator is a visual analytical tool designed to identify the historical price (candle close) that is closest to the current Exponential Moving Average (EMA) over a user-defined period. This allows traders to easily detect how price has interacted with the trend line recently, providing insights into potential mean reversion, support/resistance, and price convergence behavior.
📌 Key Features
✅ Highlights the candle with a closing price closest to the current EMA
✅ Customizable EMA length for various trading styles and timeframes
✅ Helps detect potential zones of trend interaction
✅ Supports analysis of price behavior near dynamic support/resistance
✅ Lightweight and non-intrusive visual overlay (red = closest price, blue = EMA)
🧠 How It Works
The script calculates the EMA using the user-defined length (default: 20).
It then scans the last N candles (equal to the EMA length) and finds the one whose closing price is closest to the current EMA value.
That close is highlighted in red, while the EMA is shown in blue.
This comparison helps traders understand the proximity of past price action to the current trend level.
💡 Use Cases
Mean Reversion Strategies – Spot when price historically reverts to the trend
Dynamic Support/Resistance Identification – Find levels where price respected or returned to the EMA
Consolidation Zone Analysis – Identify areas where price hovered around trend lines
Backtesting Trend Sensitivity – See how price reacted to EMA over time
⚙️ Settings
EMA Length – Set the number of periods used for EMA and comparison window (default: 20)
📊 Example Strategy Setup – EMA Touch with Reversal Candle
This indicator can be incorporated into a price-action strategy that combines candlestick patterns, EMA proximity, and volume confirmation. Here's a practical use case:
🔧 Note: This setup is designed specifically with the EMA length set to 9.
🔁 Bullish Setup – Hammer + EMA (in uptrend)
The market is in an uptrend, confirmed by EMA(9) sloping upward
A Hammer candlestick forms
The EMA (blue) must touch the lower shadow (wick) of the Hammer
It must not touch the candle body
Candle volume is above average
→ ✅ This may signal a bullish continuation opportunity
🔁 Bearish Setup – Shooting Star + EMA (in downtrend)
The market is in a downtrend, confirmed by EMA(9) sloping downward
A Shooting Star candlestick forms
The EMA (blue) must touch the upper shadow (wick) of the candle
It must not touch the candle body
Candle volume is above average
Market Volatility and Price Momentum @MaxMaserati 2.0# Market Volatility and Price Momentum MaxMaserati 2.0 (MVPM 2.0)
## Overview
MVPM 2.0 is a premium multi-factor technical analysis system that combines momentum evaluation, volatility band analysis, trend filtering, and price action to identify high-probability trading opportunities. This advanced indicator uses a proprietary algorithm to measure market sentiment through four distinct technical components, providing clear visual signals through gradient bar coloring and special equilibrium markers.
## Key Features
### Multi-Factor Analysis System
The indicator evaluates four critical market components:
- **Momentum (M)**: Analyzes the relationship between momentum lines to detect directional bias
- **Volatility (V)**: Measures price position relative to adaptive volatility bands
- **Trend (T)**: Uses a sophisticated two-pole filter to determine trend direction
- **Price Action (P)**: Tracks price movement relative to momentum lines
### Innovative Tick-Based Calculation
- **Mathematical Precision**: Uses market-relevant tick size (0.25) as the foundational unit for indicator calculations
- **Configurable Tick Separation**: Adjust the number of ticks between momentum and signal lines (0.1-10.0) to fine-tune sensitivity
- **Adaptive Calibration**: Lower tick values create earlier, more sensitive signals; higher values provide stronger confirmation
- **Market-Specific Optimization**: Perfect for customizing across different instruments, timeframes, and volatility conditions
- **Technical Edge**: The tick-based approach ensures mathematically precise signals that respect each market's natural price structure
### Dual Volatility Band Modes
- **Long Term Trend Mode**: Volatility bands calculated independently from momentum lines, providing broader market context
- **Short Term Trend Mode**: Volatility bands anchored to momentum signal line, offering more precise trading ranges
### Visual Signals
- **Color-Gradient Bars**: Displays signal strength (1-4) through color intensity
- Deeper green/lime: Strong bullish conviction (more factors aligned)
- Deeper red: Strong bearish conviction (more factors aligned)
- Yellow: Market equilibrium (equal bullish and bearish factors)
- Black Circle Markers**: Special signals that appear at equilibrium of price which means ranging/consolidation/pause points
### Customizable Information Table
- **Fully Configurable Display**: Toggle individual rows on/off
- **Positioning & Sizing**: Adjust table location and size to fit your chart layout
## Price Position Interpretation
### Directional Bias Determination
- **Strong Bullish**: Price above all indicator lines (momentum, signal, and volatility bands)
- **Strong Bearish**: Price below all indicator lines
- **Consolidation/Neutral**: Price between indicator lines, especially within volatility bands
### Market Participation Assessment
- **Inside Volatility Bands**: Insufficient market participants to establish clear direction
- **Short-Term Volatility Mode Advantage**: More clearly defines the neutral zone where price is caught between momentum lines and volatility bands
- **Consolidation Identification**: When price fluctuates between all indicator lines, market is seeking equilibrium
Trading Strategies
Momentum Breakouts
Wait for price to break above/below all the lines with a body close. Green for Bullish and Red for Bearish
For Short Term Mode:
Look for the first retest of any of the indicator lines (momentum or signal lines)
Wait for a reaction with body close candle (a candle that remains green/red is significantly more reliable)
Confirm that the reaction candle's body closes below/above all indicator lines
Enter after this precise line test and reaction sequence
Bearish Example
Bullish example
For Long Term Mode:
Look for the first retest of the Bullish/bearish volatility lines without closing above/below these lines
Wait for a reaction with body close candle (a candle that remains green/red is significantly more reliable)
Confirm that the reaction candle's body closes below/above all indicator lines
Enter after this precise volatility band test and reaction sequence.
Bearish example
Bullish Example
NO ENTRY EXAMPLE
Volatility Band Mean Reversion
Identify when price is near or beyond volatility bands
Look for reversal candlestick patterns or divergence
Enter when price begins moving back toward momentum lines
Exit when price reaches the opposite volatility band or momentum line
Post-Breakout Continuation
After price crosses all indicator lines, wait for a pullback
Enter when price retests but respects any indicator line as support/resistance
Confirm with multi-factor alignment (3-4 strength) in the breakout direction
Trail stops behind retested indicator lines as trade progresses
Tick Optimization Strategy
Start with default tick separation (1.0)
For ranging markets: Increase tick separation (2.0-3.0) to reduce false signals
For trending markets: Decrease tick separation (0.5-0.8) for earlier entries
Fine-tune tick values for each specific instrument based on its volatility profile
Conclusion
MVPM 2.0 provides traders with a comprehensive market analysis system that identifies high-probability setups through multi-factor confirmation. The groundbreaking tick-based calculation method, dual volatility band modes, and price position analysis work together to create a powerful edge in any market condition.
By understanding the relationships between price and the indicator's lines, traders can precisely identify insufficient market participation zones, optimal breakout points, and high-probability continuation setups. The configurable tick separation feature allows for unprecedented customization, making this indicator adaptable to any trading style, instrument, or timeframe.
Whether you're a trend trader, reversal hunter, or breakout specialist, MVPM 2.0 delivers the technical precision and visual clarity needed for consistent trading performance across all market conditions.
PORTFOLIO TABLE Simple [Titans_Invest]PORTFOLIO TABLE Simple
This is a simple table for you to monitor your assets or cryptocurrencies in your SPOT wallet without needing to access your broker’s website or wallet app.
⯁ HOW TO USE THIS TABLE❓
You only need to select the asset and enter the amount of each one.
The table will show how much you have of each asset and the total value of your portfolio.
You’ll be able to monitor up to 39 assets in real time.
⯁ CONVERT VALUES
You can also activate and select a currency for conversion.
For example, cryptocurrency assets are calculated in US dollars, but you can select euros as the conversion currency.
The values originally in dollars will then be displayed in euros.
⯁ Track your Portfolio in real time:
⯁ Add your local Currency to Convert Values:
⯁ Follow your Portfolio Live:
___________________________________________________________
📜 SCRIPT : PORTFOLIO TABLE Simple
🎴 Art by : @Titans_Invest & @DiFlip
👨💻 Dev by : @Titans_Invest & @DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy!
___________________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
Modern Economic Eras DashboardOverview
This script provides a historical macroeconomic visualization of U.S. markets, highlighting long-term structural "eras" such as the Bretton Woods period, the inflationary 1970s, and the post-2020 "Age of Disorder." It overlays key economic indicators sourced from FRED (Federal Reserve Economic Data) and displays notable market crashes, all in a clean and rescaled format for easy comparison.
Data Sources & Indicators
All data is loaded monthly from official FRED series and rescaled to improve readability:
🔵 Real GDP (FRED:GDP): Total output of the U.S. economy.
🔴 Inflation Index (FRED:CPIAUCSL): Consumer price index as a proxy for inflation.
⚪ Debt to GDP (FRED:GFDGDPA188S): Federal debt as % of GDP.
🟣 Labor Force Participation (FRED:CIVPART): % of population in the labor force.
🟠 Oil Prices (FRED:DCOILWTICO): Monthly WTI crude oil prices.
🟡 10Y Real Yield (FRED:DFII10): Inflation-adjusted yield on 10-year Treasuries.
🔵 Symbol Price: Optionally overlays the charted asset’s price, rescaled.
Historical Crashes
The dashboard highlights 10 major U.S. market crashes, including 1929, 2000, and 2008, with labeled time spans for quick context.
Era Classification
Six macroeconomic eras based on Deutsche Bank’s Long-Term Asset Return Study (2020) are shaded with background color. Each era reflects dominant economic regimes—globalization, wars, monetary systems, inflationary cycles, and current geopolitical disorder.
Best Use Cases
✅ Long-term macro investors studying structural market behavior
✅ Educators and analysts explaining economic transitions
✅ Portfolio managers aligning strategy with macroeconomic phases
✅ Traders using history for cycle timing and risk assessment
Technical Notes
Designed for monthly timeframe, though it works on weekly.
Uses close price and standard request.security calls for consistency.
Max labels/lines configured for broader history (from 1860s to present).
All plotted series are rescaled manually for better visibility.
Originality
This indicator is original and not derived from built-in or boilerplate code. It combines multiple economic dimensions and market history into one interactive chart, helping users frame today's markets in a broader structural context.
Index Lead LagPlots the percent change of each index over a given input lookback window length.
Indices are color coded (and customizable) to identify their respective percent change in the stacked column plot.
Table at the bottom right shows the previously closed bar's percent changes.
Indicator indicates which indices are leading and lagging over the given lookback period.
ZenLab ATR FNSThis indicator was created specifically for Zen Labs which includes a custom ATR (Average True Range) table that displays the ATR value for a selected period of candles.
ATR is a volatility indicator that measures the average range between high and low prices over a given number of periods. It helps traders assess how much an asset typically moves, providing valuable information for setting stop losses, take profits, or identifying market conditions. It adapts to changing market conditions, making it useful across different timeframes and asset classes.
How the ATR Indicator Works:
The ATR is based on the concept of True Range (TR), which is the greatest of the following three values:
- Current High minus Current Low
- Absolute value of Current High minus Previous Close
- Absolute value of Current Low minus Previous Close
Averaging the True Range:
Once the True Range is calculated for each period, the ATR is computed by averaging these True Ranges over a set number of periods and is displayed in the table.
Interpreting the ATR:
- A higher ATR value indicates higher volatility—prices are moving more significantly.
- A lower ATR value indicates lower volatility—prices are more stable and less active.
Enjoy!
- Rebel Empire