REQH/L [TakingProphets]OVERVIEW
This indicator identifies and maintains liquidity reference levels derived from swing highs and swing lows, then flags Relative Equal Highs (REQH) and Relative Equal Lows (REQL) when two active levels are within a user-defined distance.
It is intended for educational study of liquidity behavior and market structure. It does not predict price, provide signals, or recommend trades.
-----------------------------------------------------------------------------------------------
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
• Provide a consistent, rule-based way to mark possible equal-high/equal-low liquidity pools.
• Help users journal, review, and study how price interacts with those pools.
• Keep charts clear by automatically managing lines/labels and optionally fading traded-through levels.
This is an indicator, not a strategy. No entries, exits, or performance claims are made.
-----------------------------------------------------------------------------------------------
CONCEPTS AND DEFINITIONS
-----------------------------------------------------------------------------------------------
• Swing High / Swing Low: local extrema used to seed candidate liquidity levels.
• Buyside Liquidity (BSL): swing highs (potential buy-side stops).
• Sellside Liquidity (SSL): swing lows (potential sell-side stops).
• Relative Equal Highs (REQH): two unswept highs within a small price distance.
• Relative Equal Lows (REQL): two unswept lows within a small price distance.
• Traded-Through: a level is considered taken once price trades past it (high > level for BSL, low < level for SSL).
-----------------------------------------------------------------------------------------------
HOW IT WORKS (ALGORITHMIC FLOW)
-----------------------------------------------------------------------------------------------
Swing Detection
• Uses built-in pivot functions with a fixed swingStrength = 1.
• On a confirmed pivot high, a BSL level is created; on a pivot low, an SSL level is created.
• Each level stores: price, bar index, line handle, label handle, and status flags.
REQH / REQL Identification
• A constant REQ_THRESHOLD = 2.0 is used to test proximity between active levels of the same side.
• For BSL (highs): when two highs are within threshold, the higher level is kept and flagged REQH; the other is removed.
• For SSL (lows): when two lows are within threshold, the lower level is kept and flagged REQL; the other is removed.
• When a level is flagged, its line is revealed in side color and its label updates to “REQH” or “REQL”.
Traded-Through Handling
• If price trades through an active level (high > BSL price, or low < SSL price), two behaviors are possible:
– If Keep Traded-Through Levels = OFF: the level is deleted.
– If ON: the level is marked traded, its color is faded (opacity ≈ 75), and the line’s extension is frozen at the trade-through bar.
Line/Label Maintenance
• Lines are created initially invisible (fully transparent). Flagging reveals the line in color.
• Labels can be shown/hidden; placement can be Left (at level start, with left offset) or Right (at current bar, with right offset).
• All active lines extend to the right as bars progress.
-----------------------------------------------------------------------------------------------
KEY INPUTS
-----------------------------------------------------------------------------------------------
• Buyside Level Color (default #089981)
• Sellside Level Color (default #E91E63)
• Line Style (Solid / Dashed / Dotted) and Width
• Show Labels (on/off), Label Placement (Left/Right)
• Keep Traded-Through Levels (on/off), Traded Opacity (~75)
• REQ Threshold (fixed in code at 2.0 by default; represents the max distance between two levels to be considered “relative equal”)
Note: In this version, swingStrength is fixed to 1 inside the script. If you want a user control here, I can expose it as an input.
-----------------------------------------------------------------------------------------------
PRACTICAL USAGE
-----------------------------------------------------------------------------------------------
• Identify potential equal-high/equal-low zones using objective proximity logic.
• Observe if those zones attract price or are traded through during your session study.
• Journal how often flagged REQH/REQL zones remain intact versus get swept.
• Combine with your own analysis and risk framework; this script is informational only.
-----------------------------------------------------------------------------------------------
VISUAL BEHAVIOR AND STYLE
-----------------------------------------------------------------------------------------------
• Flagged levels are plotted in side color (buyside/sellside).
• Right-placement keeps labels aligned near the most recent bar for clarity; Left-placement anchors labels near the origin index.
• When keep-traded-levels is enabled, faded color indicates the level has been traded through, while preserving the historical reference.
-----------------------------------------------------------------------------------------------
LIMITATIONS AND TECHNICAL NOTES
-----------------------------------------------------------------------------------------------
• Timeframe and symbol volatility will influence the usefulness of a fixed REQ threshold. For very high-priced or low-priced instruments, consider adjusting the threshold in code to suit your market’s tick/point value.
• Using swingStrength = 1 introduces more sensitivity; users who prefer fewer, stronger pivots may wish to expose this as an input and increase it.
• No look-ahead is used; pivots are confirmed using standard pivot confirmation.
• Arrays and line/label objects are bounded by max_lines_count = 500; extremely long sessions or dense markets may require reducing visual retention.
• The script does not compute performance, signals, or recommendations.
-----------------------------------------------------------------------------------------------
ORIGINALITY AND VALUE
-----------------------------------------------------------------------------------------------
• Implements a simple, explicit REQ proximity engine that only reveals and labels lines after they qualify as REQH/REQL, keeping charts clean.
• Provides deterministic deletion or fading behavior once levels are traded through, preserving historical context when desired.
• Uses a clear line/label management model with consistent right-extension and optional label offsets to avoid overlap.
-----------------------------------------------------------------------------------------------
TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------
This indicator is provided solely for educational and informational purposes.
It does not constitute financial advice, trading signals, or a recommendation to buy or sell any instrument.
Past behavior of price structures does not guarantee future results.
Users are fully responsible for their own decisions and outcomes.
This description is self-contained and does not solicit purchases or external contact.
Educational
CUBE's V17CUBE’s V15.1 — Sparkles ⚡ + Cubes 🟨 + Smart/LC 🟫 + Golden ✨ (multi-signal scalper & trend helper)
CUBE’s V15.1 is a multi-module toolkit for intraday momentum and quick-scalp decision making. It blends a trend engine, VWAP/EMA50 band logic, CRT + Volume pair detection, weighted divergence, OBV-MACD regime flips, and “Sparkles” presets—then fuses them into readable Cube labels and higher-conviction Golden combos.
What it prints (signal taxonomy)
🟨 Cube ++ Incoming — pre-signal when price enters VWAP/EMA50 “yellow” bands with trend alignment.
🟨 Cube’s Buy ++ / Sell ++ — the “plus-plus” confirmations after CRT context; gated to avoid spam.
🟫 Last Chance → 🟫 Last Chance ++ — RSI + divergence-weighted follow-through (waits for a tiny UT flip).
🟪 Smart Cube — post-Cube, waits for KC(1.2) location + OBV presence + divergence stack (more selective).
✨ Golden (Sparkles + Cube) — objective confluence labels that require Sparkles (preset wins) plus a Cube event inside a short window. Comes in Golden-2 (2+ sparkles in 3 bars) and Golden-1 (tight 0–1 bar proximity).
Each label automatically shows “(Quick Scalp)” when price is inside the careful bands, so you know when to downshift risk.
The engines (under the hood)
Trend: Pivot-Point SuperTrend (PPST 2/10/3) drives bullish/bearish context (invertible).
Bands: 5-minute VWAP + EMA50 zones with symbol-aware tolerances (majors/ETFs/crypto/megacaps tuned).
CRT + Volume Spike Pair: detects recent hammer/shooter + volume conditions and uses them to gate higher tiers.
Weighted Divergence: RSI / Stoch (weighted) / CCI / MOM / OBV (weighted) / CMF / MFI (and more) with CRT-recency gates to keep it relevant.
UT micro-flips: tiny ATR trail crosses used to “arm” Last Chance ++ entries.
OBV-MACD regime: structural flips for the Super7 and Smart Cube filters.
Super7 Sparkles: five presets (4/8/15/24/40 bars) that score 9 modules; you can show compact ✨ icons or 9/9 text.
Quick start (60 seconds)
Add to a 1–5m chart of your instrument.
Leave defaults on; optionally toggle “Sparkle Settings” (the presets are already on).
Watch for:
✨ Golden Buy/Sell → higher-quality scalp setups.
🟨 Cube’s Buy/Sell ++ → momentum continuation outside the yellow bands.
🟪 Smart Cube → selective continuation after a Cube with KC/OBV/div confluence.
Use the built-in alerts (see list below) to automate.
Inputs & customization highlights
Invert Trend Logic — flips bull/bear interpretation (useful in range regimes).
Reference TF label anchoring — place labels using a reference timeframe; optional “(tf)” tag.
Careful (Quick-Scalp) palettes — swap label colors when inside bands; hide/show quick-scalp labels per mode.
Duplicate filters — suppress Cube repeats within a window.
Session tools — optional 6:00 PM 5m “reset” box (purple) and 9:30 AM 1m NY Open box (yellow).
Backgrounds — optional ST(10,1) 0.5–0.7 ATR ribbons for context.
Presets — five Sparkle presets with per-side alternation and wipe logic.
Alerts (names as they appear in TradingView)
⬜ Cube’s Buy / Sell (or 🟨 Incoming if trend is inverted)
🟨 CUBE’S BUY ++ / CUBE’S SELL ++ (or “Cube’s … ++” if inverted)
🟫 Buy Last Chance / 🟫 Incoming (Sell Last Chance)
🟫 Cube’s Last Chance Buy ++ / Cube’s Last Chance Sell
🟪 Smart Cube’s Buy / Smart Cube’s Sell
🔔 ALL Cube Alerts (one catch-all)
✨ G✨lden Buy/Sell (Sparkles+Cube) and G✨lden-1/2 variants
Tip: Set close-bar alerts for most signals; if you want early heads-up, allow “once per bar” but expect more noise.
Reading the labels
“(Quick Scalp)” suffix = price inside the VWAP/EMA50 careful bands; tighten targets/size.
Some labels include indicator names + a weighted count (e.g., “Hist RSI MOM 3”) to hint at divergence depth.
Star ⭐ near a label means a CRT+VOL pair was detected within the recent window.
Golden text shows the most recent cube subtype (“Cube ++”, “Smart Cube”, etc.) that satisfied the window rule.
Recommended markets & timeframes
Built-in tuning for: NQ/ES/RTY/YM, GC/CL, XAU/XAG, FX majors, BTC/ETH/SOL, SPY/QQQ/IWM/DIA, and mega-caps (AAPL, MSFT, NVDA, etc.).
Best experience on 1m–5m for intraday. Works on higher TFs but is designed around the 5-minute VWAP/EMA50 backbone.
Best practices
Confluence over single prints: Use ✨ Golden or 🟪 Smart Cube + trend + structure.
Location matters: Prefer signals near session boxes, prior day H/L, and liquidity pools.
Risk first: Size down in (Quick Scalp) zones and during lunch hours/illiquid sessions.
Avoid double-counting: The script already suppresses blatant duplicates—don’t force extra alerts.
Repainting & transparency
Core signals evaluate on confirmed bars; major request.security calls use lookahead_off.
The 1m open/6pm boxes use alignment tricks for placement; they don’t feed signal logic.
As with any multi-TF logic, real-time bars can update intra-bar—use “on close” alerts for strict confirmation.
Disclaimer
This script is for educational purposes. It’s not financial advice and does not guarantee results. Markets carry risk—always test on replay/paper first, know your instrument’s tick/fee structure, and use hard stops.
VWAP-EMA OscillatorThis oscillator calculates the difference between Monthly VWAP and EMA(100) to identify potential trend changes and price positioning.
Key Features:
• Monthly VWAP calculation that resets at the start of each month
• EMA with fixed 100-period (customizable source)
• Oscillator value = Monthly VWAP - EMA(100)
• Color-coded visualization (green for positive, red for negative)
• Filled area between oscillator and zero line
• Customizable alert thresholds
• Information table showing current values and signals
How to Use:
• Positive values (above zero) indicate VWAP is above EMA - potential bullish signal
• Negative values (below zero) indicate VWAP is below EMA - potential bearish signal
• Zero line crossovers can signal trend changes
• Customizable threshold levels for additional entry/exit signals
Settings:
• EMA Period: 100 (fixed for current timeframe)
• VWAP Source: HLC3 (customizable)
• EMA Source: Close (customizable)
• Alert Threshold: 0.5 (customizable)
Sivaji BTST Trend FinderThis script will mark up triangles where supports a bullish and down triangles for bearish ones.
Adarsh Volume ThresholdThis is one if it's kinds Indicator which Combines multiple indicators to confirm Trend and Signals without a mess on chart.
It will give you a visual idea to take best decision for Stop Loss and Target before executing your order.
Enter your capital/Amount for trading and decide max risk you can take, it will calculate your Qty, SL point and Target Point.
VP Table will keep updating you the min Amount traded on candle as per your input min. threshold.
Pro Trading System - Student Edition
---
### **PRO TRADING SYSTEM - STUDENT EDITION**
🔓 **FREE EDUCATIONAL TOOL FOR STUDENTS**
🎯 **PROFESSIONAL TRADING FRAMEWORK:**
* Advanced Multi-Timeframe Trend Analysis
* Professional EMA Matrix with Smart Visibility Control
* Gann Theory Based Session Levels
* Real-time Multi-Timeframe Trend Dashboard
* Institutional Grade Price Action Analysis
📊 **INTELLIGENT EMA MATRIX:**
* **CORE EMAs:** 5M-21 (Red) & 5M-50 (Green) - Always Visible
* **EXTENDED MATRIX:** 3M-200 to 1W-200 (Optional)
* Smart Persistent Labels - Visible Even When Lines Are Hidden
* Complete Color Customization
* Individual EMA Group Visibility Control
🔄 **MULTI-TIMEFRAME TREND DASHBOARD:**
* **POSITIONAL TRADING** - Daily Chart Analysis
* **MEDIUM SWING** - 4-Hour Trend Direction
* **SHORT SWING** - 1-Hour Market Momentum
* **INTRADAY** - 15-Minute Trading Signals
* **SCALPING** - **5-Minute High-Probability Entries
* Instant Visual Color Coding (Green = Bullish, Red = Bearish)
* Quick Trend Identification Across All Timeframes
* Space-Optimized Mobile & Desktop Design
📈 **GANN-BASED SESSION LEVELS:**
* 12 Strategic BUY Side Levels (Above Session Open)
* 12 Calculated SELL Side Levels (Below Session Open)
* Full Color & Transparency Customization
* Automatic Daily Level Regeneration
⚙️ **PROFESSIONAL CUSTOMIZATION:**
* Complete EMA Color & Visibility Control
* Session Levels Color Schemes
* Line Width & Style Adjustments
* Label Display Management
* Professional Trading Workspace Setup
📱 **UNIVERSAL COMPATIBILITY:**
* Fully Optimized for Mobile Trading
* Flawless Desktop Performance
* Clean, Uncluttered Visual Interface
* Zero Repainting - Real-time Calculations Only
🎓 **EDUCATIONAL PURPOSE:**
* 100% FREE Student Learning Tool
* Professional Trading Concept Implementation
* **Multi-Timeframe Analysis & Scalping Strategy Training**
* Risk Management Principles
* Market Structure Education
🔧 **TECHNICAL SPECIFICATIONS:**
* Built on Pine Script v5
* Maximum Drawing Objects: 500
* Overlay Chart Display
* Real-time Price Calculations
* Lightweight & Efficient
⚠️ **IMPORTANT DISCLAIMER:**
This is a **FREE educational tool** designed for student learning purposes only. It is **not** a paid indicator or financial advice tool. The addition of the 5-minute scalping framework is for educational demonstration of high-frequency timeframes and carries significant risk. Always practice proper risk management and paper trading before live markets. The developers are not responsible for any trading decisions made using this tool.
MTP Pro — Fixed (v6)Forecast price by using some statistic
this project is not finished yet and all of my project are unfinished please refrain from using them.
do visit my project and once it is finish i will update a new one.
i focus mainly on scalping
iFVG Ultimate+ | DodgysDDOVERVIEW
iFVG Ultimate+ | DodgysDD is a professional-grade visualization framework that automates the identification and management of Inversion Fair Value Gaps (IFVGs)
It is designed for analysts and educators studying institutional price behavior, liquidity dynamics, and displacement-based imbalances.
This indicator does not provide trading signals or forecasts.
All logic serves educational and analytical purposes only.
A Fair Value Gap (FVG) appears when strong directional displacement prevents candle bodies from overlapping.When a liquidity sweep occurs and price later closes through that gap, the imbalance is considered inverted. This often marks a shift in order-flow.
iFVG Ultimate+ tracks these transitions using a rule-based sequence:
Liquidity Sweep – Price sweeps a previous swing high or low.
Displacement – Body-to-body gap forms as price accelerates away.
Inversion – Full candle body closes through the gap after raid.
Validation and Tracking – Confirmed inversions are stored and managed until completion or invalidation.
-----------------------------------------------------------------------------------------------
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
The framework serves as a research tool to document and analyze IFVG behavior within liquidity and session contexts.
It is commonly used to:
-Record and journal IFVG formations for back-testing and model study.
-Assess how often gaps complete or invalidate after sweeps.
-Evaluate session-based patterns (London, Asia, New York).
-Overlay HTF PD Arrays to observe inter-timeframe delivery.
-Receive custom alerts to your phone
-----------------------------------------------------------------------------------------------
LOGIC STRUCTURE
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ runs a five-stage validation process to ensure sequential, non-repainting behavior.
Liquidity Framework:
• Detects swing highs and lows on aligned timeframes (automatic or manual selection).
• Logs session highs/lows for Asia (20:00–00:00 NY) and London (02:00–05:00 NY).
• Includes data wicks around 08:30 NY for event reference.
FVG Detection and Displacement Filter:
• Identifies body-based imbalances using ATR-scaled sensitivity modes (Sensitive / Normal / Strict).
• Supports “Single” or “Series” modes to merge adjacent gaps.
• Excludes weak displacements using minimum ATR thresholds.
Inversion Validation:
• Confirms only when a complete candle body closes through a qualifying FVG within a user-defined window (6 or 15 bars).
• Duplicate detections are ignored; mitigation states are recorded.
HTF Context Integration:
• Maps higher-time-frame PD Arrays and tracks their delivery status.
• Labels active zones (e.g. “H4 PDA”) and updates on HTF close.
Model Lifecycle and Limits:
• Plots the inversion line and derives educational limit levels: Break-Even and Stop-Loss.
• Tracks until opposing liquidity is swept (model complete) or an invalidation event occurs.
-----------------------------------------------------------------------------------------------
COMPONENTS AND VISUALS
-----------------------------------------------------------------------------------------------
-IFVG Line — Marks confirmed inversion at close.
-Break-Even / Stop-Loss Lines — Calculated retrospectively for journal grading.
-Session High/Low Markers — London and Asia reference levels.
-Data Wicks — 8:30 NY “DATA.H/L” labels for event volatility.
-SMTs — Compares current symbol to correlated instrument for divergence confirmation.
-Checklist Panel — Tracks liquidity, momentum, HTF delivery, and SMT conditions.
-Setup Grade Display — Computes qualitative score (A+ to C) based on met conditions.
-----------------------------------------------------------------------------------------------
INPUT CATEGORIES
-----------------------------------------------------------------------------------------------
General — Detection mode, ATR strictness, bias filter, long/short window.
Liquidity — Automatic or manual timeframe alignment, session visuals.
FVG — Color themes, label sizes, inversion color change, HTF inclusion.
Entry / Limits — Enable or hide Entry, Break-Even, and Stop-Loss levels.
Alerts — Individual toggles for IFVG formation, session sweeps, multi-TF inversions, and invalidations.
Display — Info Box, relationship table, and grade styling.
All alerts output plain text messages only and do not execute orders.
-----------------------------------------------------------------------------------------------
ALERT FRAMEWORK
-----------------------------------------------------------------------------------------------
When enabled, alerts may notify for:
-Potential inversion detected.
-Confirmed IFVG formation.
-Liquidity sweeps (high/low or session).
-Multi-time-frame inversion.
-Invalidation or close warning.
-Alerts serve as educational markers only, not trade triggers.
The user will have the ability to create custom messages for each of these alert events.
-----------------------------------------------------------------------------------------------
USAGE GUIDELINES
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ is suited for review and documentation of displacement-based price behavior.
Recommended educational workflows:
-Annotate IFVG events and review delivery into PD Arrays.
-Analyze frequency by session or timeframe.
-Assess how often IFVGs complete versus invalidate.
-Teach ICT-style liquidity mechanics in mentorship or training contexts.
-The indicator works across forex, futures, and crypto markets.
-----------------------------------------------------------------------------------------------
OPERATIONAL NOTES AND LIMITATIONS
-----------------------------------------------------------------------------------------------
-HTF calculations finalize on bar close (no look-ahead).
-ATR filter strength affects small-gap visibility.
-Session windows use New York time.
-Break-Even and Stop-Loss lines are visual aids only.
-Performance depends on chart density and bar count.
-No strategy module or backtest engine is included.
-----------------------------------------------------------------------------------------------
ORIGINALITY AND PROTECTION
-----------------------------------------------------------------------------------------------
iFVG Ultimate+ | DodgysDD integrates multiple independent systems into a single engine:
-PD Array context alignment with liquidity tracking.
-Dynamic session detection and macro data integration.
-Sequential IFVG validation pipeline with grade assignment.
-Multi-time-frame SMT confirmation module.
-Structured alerts and mitigation tracking.
The logic is entirely original, written in Pine v6, and protected as invite-only to preserve methodology integrity.
-----------------------------------------------------------------------------------------------
ATTRIBUTION
-----------------------------------------------------------------------------------------------
Core concepts such as Fair Value Gaps, Liquidity Sweeps, PD Arrays, and SMT Divergence are publicly taught within ICT-style market education. This implementation was designed and engineered by TakingProphets as iFVG Ultimate+ | DodgysDD, authored for TradingView publication by TakingProphets.
-----------------------------------------------------------------------------------------------
TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------
This indicator is for educational and informational use only. It does not provide financial advice or predictive output. Historical patterns do not guarantee future results. All users remain responsible for their own decisions.Use of this script implies agreement with TradingView’s Vendor Requirements and Terms of Use.
-----------------------------------------------------------------------------------------------
ACCESS INSTRUCTIONS
-----------------------------------------------------------------------------------------------
Access is managed through TradingView’s invite-only framework. Users request access via private message to TakingProphets or access link
Лунный Индикатор с RSI и Импульсными АлертамиЭтот индикатор для TradingView сочетает астрономические данные о фазах Луны с техническим анализом (RSI) для выявления потенциальных импульсных движений на рынках, таких как S&P 500 (SPY) и Bitcoin (BTCUSD). Он основан на исторических корреляциях: повышенная доходность и импульсы вверх вокруг новой Луны, а также рост волатильности и риски падений около полнолуния. Индикатор помогает трейдерам получать алерты о возможных торговых возможностях, фильтруя сигналы через RSI для большей точности.
Ключевые функции:
Расчёт фазы Луны: Использует формулу Julian Day для определения текущей фазы (0% — новая Луна, 50% — полнолуние, 100% — следующая новая). Референс: новая Луна 6 января 2000 г. (JD ≈ 2451550.2597). Длина цикла — 29.530588 дней.
Визуализация:
Линия "Фаза Луны (%)" (синяя) отображает фазу в процентах.
Метки на графике: 🌑 Новая (0-3.3% или >96.7%), 🌓 1-я четверть (21.7-28.3%), 🌕 Полная (46.7-53.3%), 🌗 Последняя четверть (71.7-78.3%).
Линия RSI (оранжевая) для мониторинга перекупленности/перепроданности (период настраивается, по умолчанию 14).
Сигналы и алерты (на основе исторических паттернов):
Новая Луна: Алерты о потенциале импульса вверх, если RSI < 50 (не перекуплено). Исторически: выше доходность для S&P 500 и BTC (bullish реверсы). Фон — зелёный.
Полнолуние: Алерты о рисках волатильности/падения, если RSI > 50 (перекуплено). Исторически: sharp moves для BTC, ниже доходность для S&P. Фон — красный.
Алерты срабатывают на переходах фаз (с помощью ta.change), чтобы избежать повторений.
Настройки:
Период RSI: Изменяйте в input для адаптации под таймфрейм (рекомендуется D1 или H4 для лунных циклов).
Как использовать:
Добавьте индикатор на график SPY или BTCUSD.
Настройте алерты в TradingView для уведомлений.
Тестируйте на исторических данных: проверьте корреляции с реальными движениями цен.
Важно: Это не финансовая рекомендация. Рынки непредсказуемы; комбинируйте с другими инструментами. Точность фазы ±1 день; для идеальной — обновите ref_jd по актуальным данным.
Источник данных: Основан на астрономических формулах и исследованиях корреляций Луны с рынками (например, из JSTOR, SSRN). Разработано для образовательных целей.
Description of the Indicator: Lunar Indicator with RSI and Impulse Alerts
Overview:
This TradingView indicator combines astronomical data on lunar phases with technical analysis (RSI) to identify potential impulse movements in markets like S&P 500 (SPY) and Bitcoin (BTCUSD). It is based on historical correlations: higher returns and upward impulses around the new moon, as well as increased volatility and downside risks near the full moon. The indicator helps traders receive alerts about possible trading opportunities, filtering signals through RSI for greater accuracy.
Key Features:
Lunar Phase Calculation: Uses the Julian Day formula to determine the current phase (0% — new moon, 50% — full moon, 100% — next new moon). Reference: new moon on January 6, 2000 (JD ≈ 2451550.2597). Cycle length — 29.530588 days.
Visualization:
"Moon Phase (%)" line (blue) displays the phase in percentages.
Chart labels: 🌑 New (0-3.3% or >96.7%), 🌓 First Quarter (21.7-28.3%), 🌕 Full (46.7-53.3%), 🌗 Last Quarter (71.7-78.3%).
RSI line (orange) for monitoring overbought/oversold conditions (period adjustable, default 14).
Signals and Alerts (Based on Historical Patterns):
New Moon: Alerts for potential upward impulse if RSI < 50 (not overbought). Historically: higher returns for S&P 500 and BTC (bullish reversals). Background — green.
Full Moon: Alerts for volatility/downside risks if RSI > 50 (overbought). Historically: sharp moves for BTC, lower returns for S&P. Background — red.
Alerts trigger on phase transitions (using ta.change) to avoid repetitions.
Settings:
RSI Period: Adjust in input to adapt to timeframe (recommended D1 or H4 for lunar cycles).
How to Use:
Add the indicator to a SPY or BTCUSD chart.
Set up alerts in TradingView for notifications.
Test on historical data: check correlations with real price movements.
Important: This is not financial advice. Markets are unpredictable; combine with other tools. Phase accuracy ±1 day; for perfection — update ref_jd based on current data.
Data Source: Based on astronomical formulas and studies on lunar correlations with markets (e.g., from JSTOR, SSRN). Developed for educational purposes.
Position Size Calculator + ADR % CheckCalculates position size to buy based on account size and current price/LOD
Khosro XAUUSD Strategy [TradingFinder] Trading Room Hunter Setup🔵 Introduction
The Trading Room Hunter (TRH) strategy is an analytical model based on the Smart Money Concept, developed by Khosro, an Iranian international trader based in Dubai. This approach is built upon a deep understanding of liquidity engineering, market structure shifts, and institutional order flow. Its core objective is to identify the so-called TRH Zone, the area where market liquidity gets trapped and institutional investors begin accumulating positions. Unlike traditional indicator-based methods, the TRH Zone focuses purely on price behavior and supply & demand dynamics to pinpoint the most precise reversal zones in the market.
Within Smart Money logic, every impulsive move in price results from the displacement or absorption of liquidity in a specific range. In the TRH model, the last pivot preceding the impulsive move (Origin Pivot) is defined as the Distal Line, and the Break Candle, which disrupts the market structure, forms the Proximal Line. The area between these two points defines the Trading Room Hunter Zone, a reaction zone where price, after creating a displacement or Break of Structure (BoS), often returns to fill an imbalance and provide a precision entry opportunity.
In essence, the TRH Zone is the region where smart money seeks re-entry after a liquidity sweep and a confirmed CHoCH or BoS. It frequently lies between supply/demand boundaries and fair value gaps (FVGs), forming one of the strongest decision-making frameworks within modern price-action theory. Due to its structural accuracy, the TRH setup can also function as a Set & Forget Setup, where the trader defines the zone, places a limit order, and lets the market naturally react, eliminating emotional decision-making and allowing for automated execution aligned with institutional logic.
🔵 How to Use
In the TRH strategy, entries are taken based on price returning to the area between the last impulsive pivot and the break candle. This range (the TRH Zone) represents the region where liquidity from the previous move remains concentrated. Before continuing its main direction, price often revisits this zone to fill imbalances or mitigate unfilled orders. The logic is simple: every explosive move originates from a point where large orders were executed, and TRH precisely highlights that institutional footprint.
🟣 Bullish Setup
When the market breaks a structural high after a strong bearish leg, liquidity shifts from sellers to buyers. The last bearish candle before the breakout marks the origin of the bullish move, and the zone between that candle and the break candle becomes the smart-money entry area. As price revisits this zone and signs of exhaustion in selling pressure appear, that’s the optimal point for a long position. Stop-loss is placed slightly below the origin pivot, and targets are set at the next supply zone or upper liquidity pool.
🟣 Bearish Setup
Conversely, when the market breaks a structural low after a sharp bullish leg, liquidity transitions from buyers to sellers. The last bullish candle before the drop is identified as the origin pivot, while the bearish break candle defines the lower boundary of the zone. The range between these two points forms the TRH Supply Zone, where late buyers are trapped and fresh institutional selling begins. As price retraces into this zone, short entries can be placed near the upper boundary, with stops above the pivot and targets toward the next liquidity pool below.
Because of its structural precision and clearly defined reaction behavior, TRH is one of the most effective Set & Forget setups in Smart Money trading. Simply mark the zone, place your order, and let the market do the rest.
🔵Setting
🟣 Spike Filter | Movement
Minimum Spike Bars : Defines the minimum number of consecutive candles required for a valid spike.
Movement Power : Enables or disables the momentum-based spike filter.
Movement Power Level : Sets the strength threshold; higher values filter out weaker moves and only detect strong spikes.
Pivot Period : Defines the lookback range used to detect swing highs and swing lows in market structure. A higher value smooths out smaller fluctuations and focuses on major pivots, while a lower value increases sensitivity and identifies minor turning points more frequently.
🟣 Position Management
Stop-Loss Threshold : Enables or disables the stop-loss threshold feature.
Stop-Loss Threshold Value : Defines the value of the stop-loss threshold for risk management.
Risk-Reward Ratio : Sets the desired risk-to-reward ratio (e.g., 1:1 or 1:2).
Wide Zone Filter : Filters out zones that exceed a defined width threshold, preventing detection of overly broad TRH areas.
🟣 Display Settings
Display Mode : Chooses between Setup (showing setups) or Signal (showing trade signals).
Show Entry Levels : Displays entry levels on the chart (buy/sell zones) when enabled
Only Display the Last Position : Displays only the most recent position on the chart when enabled.
Setup Width Drawing : Adjusts the visual width of the setup drawings on the chart for better visibility.
🔵 Conclusion
The TRH strategy is a precise structural model of liquidity flow that identifies zones where smart money is most likely to enter and where price is most likely to react. By combining the Origin Pivot and Break Candle, TRH isolates the key areas that drive institutional order flow. Without relying on indicators, it focuses purely on price structure, making it highly effective for both reactive entries and Set & Forget setups.
Ultimately, TRH creates a balance between market structure and liquidity flow, enabling traders to identify institutional decision zones on the chart with minimal risk and maximum clarity
Dons Futures Leverage Calculator🎯 Don's Futures Leverage Calculator - Professional Risk Management Tool
Transform your futures trading with precise leverage calculations and visual risk management!
📊 Key Features:
Real-time Leverage Analysis - Calculate exact position sizes with up to 125x leverage
Visual Trading Lines - Clear entry, take profit, and stop loss levels on your chart
Profit/Loss Zones - Color-coded areas showing potential outcomes
Risk-Reward Calculator - Instant RR ratio analysis with "IDEAL" recommendations
Professional Table Display - Complete risk metrics in organized format
Smart Alerts - Get notified when price hits your key levels
🚀 What This Indicator Does:
This advanced calculator helps futures traders manage leverage and risk with precision. Input your account balance, desired leverage, and trade setup - the indicator instantly calculates:
✅ Position Size - Exact coin quantity based on your leverage ✅ Margin Requirements - Initial margin and percentage of balance used
✅ Profit Potential - Dollar amounts and ROE percentages for take profit ✅ Loss Exposure - Maximum loss with stop loss protection ✅ Risk-Reward Ratio - Automatically flags trades with RR ≥ 2.0 as "IDEAL"
📈 Visual Elements:
Blue Entry Line - Your planned entry point (thick, prominent)
Green Take Profit Line - Target profit level with percentage gains
Red Stop Loss Line - Risk management boundary
Profit Zone - Green fill showing potential gains area
Loss Zone - Red fill showing maximum risk area
Real-time P&L Tracker - Live triangles showing current position performance
⚙️ Easy Setup:
Set your account balance and leverage (1x to 125x)
Choose LONG or SHORT direction
Input entry price, take profit, and stop loss
Set maximum risk percentage (default 2%)
Watch the visual analysis appear on your chart!
🔔 Professional Alerts:
Entry level hit notification
Take profit achievement alert
Stop loss trigger warning
💡 Perfect For:
Futures traders using high leverage
Risk management analysis
Position sizing calculations
Trade planning and visualization
Educational purposes for understanding leverage impact
⚠️ Risk Disclaimer:
Futures trading involves substantial risk. This tool is for educational and planning purposes. Always trade responsibly and never risk more than you can afford to lose.
The Eligible Asset Power Table -> PROFABIGHI_CAPITAL🌟 Overview
The Eligible Asset Power Table is a multi-asset screening dashboard that assesses cryptocurrency portfolios across multiple momentum, risk, and relative metrics to generate eligibility scores. It combines RSI variants, rate of change layers, Sharpe ratios, momentum RSI, price delta analysis, and beta exposure to rank assets, helping traders identify high-conviction opportunities through dual-mode scoring and visual tables.
⚙️ General Settings
- Evaluation mode toggle between aggressive averaging for nuanced scoring or conservative consensus requiring all conditions met for full eligibility
- Number of assets to screen, adjustable up to the platform's data fetch limits for focused or comprehensive portfolio reviews
- Count of top-ranked assets for a dedicated summary table, customizable to highlight leading candidates without overwhelming the display
📊 Indicator Parameters - RSI#1
- Source price selection for RSI input, allowing adaptation to closes, highs, or other series for tailored momentum sensitivity
- Period length for the shorter RSI variant, tuning detection of near-term overbought or oversold zones
- Primary smoothing moving average type, from basic to advanced options like hull or variable index for refined signal clarity
- Length for the first smoothing layer, balancing lag and responsiveness in volatile conditions
- Secondary smoothing moving average type, enabling dual-layer processing or crossover comparisons for added confirmation
- Length for the second smoothing layer, providing deeper trend stability
- Toggle for second MA comparison mode, shifting from fixed thresholds to dynamic relative movements
- Volatility lookback for adaptive smoothing when using variable index methods, responding to market dispersion
📊 Indicator Parameters - RSI#2
- Period length for the medium-term RSI variant, capturing sustained momentum beyond immediate fluctuations
- Primary smoothing moving average type applied to the longer RSI, consistent with RSI#1 for uniform processing
- Length for the first RSI#2 smoothing, optimizing for intermediate trend persistence
- Secondary smoothing moving average type, supporting layered refinement or bullish/bearish crossovers
- Length for the second RSI#2 smoothing, enhancing equilibrium zone reliability
- Toggle for second MA comparison, favoring motion-based conditions over static levels
- Volatility lookback specific to RSI#2's adaptive smoothing, scaling to regime changes
📈 Indicator Parameters - ROC#1
- Period length for the shortest rate of change, emphasizing immediate price acceleration for quick trend shifts
📈 Indicator Parameters - ROC#2
- Period length for the medium rate of change, evaluating ongoing momentum to validate directional strength
📈 Indicator Parameters - ROC#3
- Period length for the longest rate of change, assessing extended trends to confirm multi-period alignment
⚡ Indicator Parameters - Sharpe Ratio
- Lookback period for return averaging and volatility measurement, defining the window for efficiency snapshots
- Smoothing period on raw ratios, applying exponential decay to highlight persistent risk-reward patterns
- Buy threshold for positive conditions, establishing the minimum efficiency level for asset qualification
- Sell threshold for negative flags in averaging mode, pinpointing low-efficiency underperformers
🎯 Momentum RSI Parameters
- Momentum input period, deriving price changes to feed into RSI for velocity-driven insights
- RSI period on the momentum series, normalizing changes into overbought/oversold signals
- Primary smoothing moving average type on momentum RSI, selectable for signal purification
- Length for the first momentum RSI smoothing, aligning lag with trading horizons
- Secondary smoothing moving average type, facilitating comparative layers for crossover setups
- Length for the second momentum RSI smoothing, adding baseline robustness
- Toggle for second MA comparison, prioritizing relative dynamics over absolute readings
- Volatility lookback for momentum RSI's adaptive smoothing, attuning to velocity dispersion
📊 Indicator Parameters - Price Delta RSI
- Condition type between raw delta or RSI-transformed, choosing direct flow analysis or oscillator normalization
- Period for price delta calculation, quantifying net changes to reveal underlying pressure
- RSI period applied to delta, smoothing flow into bounded momentum readings
- Primary smoothing type for delta RSI, from averages to hull for delta refinement
- Length for the first delta RSI smoothing, tuning to flow trends in ranging or trending phases
- Secondary smoothing type, enabling dual-MA for enhanced crossover precision
- Length for the second delta RSI smoothing, bolstering signal stability
- Toggle for second MA comparison on delta RSI, emphasizing motion over static hurdles
- Volatility lookback for delta RSI's adaptive smoothing, adapting to flow-specific variability
📉 Beta Parameters
- Benchmark symbol choice, such as market indices, to gauge asset sensitivity against broader movements
- Lookback period for beta estimation, ensuring sufficient data for covariance while staying current
💼 Assets Configuration
- Sequential symbol inputs for up to 39 assets, supporting diverse crypto pairs across exchanges
- Conditional data loading by count, activating fetches only for selected instruments to conserve resources
- Prefix handling for clean display, stripping exchange details for ticker focus
- Broad compatibility for majors, mid-caps, or niche tokens, enabling sector or theme-based scans
🔧 Helper Functions
- Versatile moving average applicator, supporting multiple types including exponential variants and volatility-adjusted for flexible smoothing
- Sharpe ratio engine, annualizing mean returns over volatility with optional decay for trend focus
- Beta regressor, pulling benchmark data to compute relative risk via return covariances
- Layered ROC calculators, delivering percentage changes across horizons for momentum stacking
📊 Indicator Calculations
- Dual RSI systems with multi-MA options, scoring on optimal ranges or crossover confirmations for balanced strength
- Triple ROC cascade from acute to chronic, binary scoring on positivity to align short, medium, and long trends
- Sharpe derivation prioritizing excess efficiency, with thresholds gating high-reward low-risk assets
- Momentum RSI fusing velocity into RSI, smoothed for level or motion-based bullish filters
- Price delta probing net flow, raw or RSI-normalized, with adaptive layers for directional purity
- Beta isolating systematic exposure, supplementing scores with market-context relativity
🎯 Asset Metrics Calculation
- Parallel per-asset pipeline fetching and computing metrics, unpacking into arrays for centralized handling
- Binary condition evaluation per indicator: thresholds, crossovers, or signs, feeding into mode-specific aggregation
- Eight-metric blend: RSIs, ROCs, Sharpe, momentum RSI, delta, averaged aggressively or unanimous conservatively
- Beta as orthogonal factor, weighting top ranks without score dilution
- Neutral na defaults, preserving evaluations amid data gaps
📦 Data Storage Arrays
- Fixed-size arrays for names, metrics, conditions, and flags, indexed by asset order for efficient access
- Segregated storage for raw values, binaries, and composites, supporting sorting and retrieval
- Scalable to max assets, minimizing overhead in partial loads
📊 Data Retrieval for All Assets
- Conditional security pulls aligned to chart timeframe, ensuring consistent multi-symbol data
- Metrics function per instrument, distributing results to arrays for unified processing
- Benchmark-embedded beta calls, avoiding extra fetches
- Last-bar gating for snapshot accuracy, sidestepping repaints
📊 Main Table for All Assets
- Centered wide-format table listing assets leftward with metric columns spanning conditions and beta
- Headers labeling RSI layers, ROC trio, Sharpe, momentum, delta, beta, and final score for metric traceability
- Green/red cell text for met/failed conditions, white neutrals, with score highlighting above midpoint
- Ticker truncation for compactness, transparent overlay for pane integration
🏆 Top Assets Table
- Left-aligned rankings by score-beta composite, descending to prioritize leaders
- Compact four-column view: ticker, score, beta, Sharpe with threshold colors for efficiency triage
- Temporary key sorting, row clearing for updates, limited to user count
- Visual cues mirroring main table, flagging high-Sharpe standouts
✅ Key Takeaways
- Fuses diverse metrics into probabilistic or strict eligibility for alpha hunting across assets
- Dual modes adapt screening from flexible averages to rigorous confluences
- Custom periods and smoothings tune to timeframes, from scalps to positions
- Dual tables balance detail with digestible summaries for rapid insights
- Beta adds relativity, elevating resilient picks in correlated markets
- Efficient array handling scales screening without lag, quota-aware
PROFABIGHI_CAPITAL Ratio🌟 Overview
The PROFABIGHI_CAPITAL Ratio Tracker is a comprehensive multi-asset performance dashboard designed for cryptocurrency portfolio analysis , evaluating up to 33 altcoins against a customizable benchmark using six key quantitative metrics: alpha for excess returns, beta for relative volatility, Sharpe ratio for overall risk-adjusted performance, Sortino ratio for downside risk focus, omega ratio for probability-weighted gain-loss assessment, and rate of change (ROC) for momentum tracking. It aggregates these metrics into unified composite scores for each asset, enabling traders to rank and compare opportunities through intuitive table-based visualizations , median benchmarking , and top-performer highlights , all while supporting selective metric activation, adjustable parameters, and real-time alerts for systematic decision-making in volatile markets.
⚙️ Metrics Selection
- Toggle for enabling alpha calculations to quantify an asset's unique performance beyond benchmark movements , ideal for identifying true outperformance in diversified portfolios
- Toggle for activating beta measurements to evaluate how closely an asset mirrors benchmark volatility , helping assess diversification benefits or leverage exposure
- Toggle for incorporating Sharpe ratio to measure returns per unit of total risk , providing a standardized benchmark for comparing asset efficiency across varying volatility profiles
- Toggle for including Sortino ratio to emphasize returns adjusted for harmful downside moves only, particularly useful in asymmetric markets like crypto where upside swings are desirable
- Toggle for utilizing omega ratio to analyze the full return distribution by weighting probable gains against losses relative to a target threshold , capturing tail risks and skewness effects
- Toggle for adding rate of change to capture short-term momentum trends , complementing longer-term risk metrics with directional conviction signals
- Modular activation allows traders to tailor the analysis to specific philosophies, such as risk-averse setups focusing on Sortino and omega or momentum-driven approaches emphasizing ROC alongside Sharpe
- Computational efficiency through conditional enabling, ensuring only selected metrics consume resources while maintaining flexibility for evolving market conditions or strategy refinements
🎯 Alpha and Beta Parameters
- Adjustable lookback period for alpha and beta computations, balancing statistical robustness with responsiveness —longer horizons smooth noise for stable estimates, shorter ones highlight recent regime shifts
- Customizable benchmark symbol selection, such as broad market cap indices or sector-specific aggregates , to define the reference for relative performance evaluation and ensure meaningful comparisons
- Alpha derivation as the intercept in a regression of asset returns against benchmark returns , revealing skill-based outperformance after accounting for systematic market exposure
- Beta estimation via covariance divided by benchmark variance , quantifying sensitivity to market moves —values above 1 signal amplified volatility for growth-oriented allocations , below 1 indicate defensive traits
- Shared lookback application across both metrics for consistency, with higher values promoting trend-following reliability and lower values enabling tactical adjustments to intraday or weekly dynamics
- Conditional benchmark data fetching only when alpha or beta is active, optimizing script performance by avoiding unnecessary external data requests in lightweight configurations
- Tooltip-guided parameter explanations emphasizing trade-offs between smoothness and reactivity, aiding users in aligning settings with their timeframe and risk tolerance
- Integration with daily return series for precise regression inputs, ensuring calculations reflect realistic percentage-based movements rather than absolute price changes
⚡ Sharpe Ratio Parameters
- Rolling period for mean return and volatility estimation , where shorter windows capture recent performance spikes for agile monitoring, and longer ones provide trend-stable assessments
- Exponential moving average smoothing length to filter daily fluctuations in raw ratios, reducing visual noise while preserving signals of genuine risk-return shifts
- Daily return computation via price changes divided by prior close , standardizing inputs for cross-asset comparability regardless of nominal price levels
- Mean return via simple moving average over the period, representing average daily excess as the reward component in the risk-adjusted formula
- Standard deviation of returns as the risk denominator , capturing total volatility including both upside and downside deviations for holistic efficiency gauging
- Raw ratio as mean divided by standard deviation , with zero-volatility safeguards to prevent errors during flat periods , defaulting to neutral performance
- Annualization through multiplication by the square root of 365 , converting daily metrics to yearly equivalents for intuitive benchmarking against industry standards
- Smoothed and annualized output for each asset, enabling direct ranking of risk efficiency —higher values highlight superior return generation per volatility unit
🎯 Sortino Ratio Parameters
- Extended lookback for downside deviation accumulation , favoring longer periods for reliable negative return sampling in sporadic drawdown environments
- Annual risk-free rate input as the downside threshold , adjustable to reflect opportunity costs like bond yields or inflation , with zero default treating all losses as harmful
- Smoothing period via EMA to stabilize the ratio against window shifts , mirroring Sharpe approach but tailored to the selective nature of downside focus
- Periodic returns calculated as close-to-prior ratios minus one, ensuring percentage consistency for multi-asset analysis
- Effective period adaptation to available bars, allowing early calculations with shorter windows that expand over time for progressive accuracy
- Downside squared deviations summed only for underperformance instances , divided by period count , then square-rooted for standard deviation equivalent
- Raw ratio as excess mean return over downside deviation , scaled annually via square root scaling , emphasizing protection against capital erosion
- Smoothed final values per asset, rewarding strategies that minimize harmful volatility while ignoring beneficial upside dispersion common in crypto rallies
🔄 Omega Ratio Parameters
- Calculation period for return distribution sampling , longer horizons capturing fuller gain-loss spectra for robust probability weighting
- Target return threshold per period, defining success boundaries —zero treats positives as gains , positives add hurdles for conservative analysis
- EMA smoothing to dampen ratio swings from individual extreme returns entering or exiting the window, maintaining trend clarity
- Periodic returns derived similarly to other ratios, with decimal conversion of target for precise excess/shortfall computations
- Cumulative above-target excesses summed for gains , below-target shortfalls for losses , via explicit loop over historical series
- Raw ratio as gains divided by losses , with zero-loss default to neutral rather than infinity, avoiding misleading perfect-period artifacts
- Smoothed output revealing distributional health —ratios above 1 favor gains , higher values signal skewed positives ideal for tail-risk hedging
- Asset-specific computations highlighting asymmetry , where fat positive tails in crypto assets can elevate omegas despite high total volatility
📈 Rate of Change Parameters
- Period length for percentage momentum measurement , shorter for reactive trend detection , longer for sustained direction confirmation
- Built-in ROC function application to source prices , yielding unbounded percentage shifts —positive for uptrends , negative for downtrends
- Zero default for missing data , treating data gaps as neutral momentum to avoid biasing composite scores
- Complementary role to risk metrics , capturing raw directional strength without normalization, spotlighting acceleration phases
- Direct integration into averages, where high ROC boosts scores in momentum-favoring selections , balanced by volatility adjustments elsewhere
- Simplicity in computation enabling lightweight inclusion , with na handling ensuring seamless array pushes in scoring logic
💼 Assets Configuration
- Number of altcoins to monitor and display, scalable from focused portfolios to broad market scans for comprehensive opportunity hunting
- Top combined assets count for dedicated ranking table , adjustable to highlight elite performers without overwhelming the view
- Individual symbol inputs grouped left and right for organizational clarity , accepting crypto pairs , indices , or custom tickers
- Conditional activation based on total count , loading only selected assets to optimize data requests and calculations
- Default focus on major and mid-cap altcoins , but fully customizable for sector-specific or emerging token universes
- Prefix stripping in displays for clean ticker presentation , enhancing readability in table formats
- Array-based storage of names and scores post-calculation, facilitating sorting , medians , and iterative population
- Integration with security requests for daily closes , ensuring uniform timeframe data across diverse exchanges
🎨 Table Style
- Background color with transparency for semi-opaque overlays , blending professional aesthetics with chart visibility
- Border color for frame delineation , providing subtle separation without distracting from metric focus
- Consistent application across main , median , and top tables , maintaining visual coherence in multi-panel layouts
- Frame width and color for structural emphasis , using dark tones to evoke institutional-grade presentation
- Color functions for score backgrounds — green for above-median outperformance , red for underperformance , gray for invalids
- Emoji integration for intuitive cues — rockets for strong assets , down arrows for laggards , enhancing at-a-glance scanning
📡 Data Fetching and Returns Calculation
- Benchmark close retrieval conditional on alpha or beta needs, using daily timeframe for consistent periodicity
- Parallel asset close fetches via security calls , defaulting to na for inactive symbols to prevent errors
- Returns function standardizing one-period ROC for daily percentage changes , zero-filling na for continuity
- Benchmark returns computed similarly, serving as regression baseline for relative metrics
- Na propagation to individual asset returns , ensuring downstream calculations skip invalid data gracefully
- Daily resolution enforcement across all fetches, aligning with annualization assumptions in ratios
- Efficient conditional logic minimizing API calls , scalable to full 33-asset loads without performance degradation
📈 Alpha Calculation
- Function guarding against na inputs , returning na for insufficient data to flag unreliable estimates
- Mean asset and benchmark returns via SMA over lookback , establishing central tendencies
- Covariance as product mean minus means product , capturing joint variability
- Benchmark variance similarly, ensuring positive denominator for beta
- Beta as cov/var ratio , zero-default for flat benchmarks to avoid divisions
- Alpha as asset mean minus beta times benchmark mean , isolating idiosyncratic performance
- Zero fallback for na alphas , treating computation failures as neutral in composites
- Per-asset execution only when enabled, feeding into scoring arrays for holistic aggregation
📉 Beta Calculation
- Identical input guards and mean computations as alpha , leveraging shared regression framework
- Covariance and variance derivations mirroring alpha prep , focusing solely on slope coefficient
- Beta output as sensitivity measure , with zero handling for degenerate cases
- Na-to-zero conversion for seamless array integration , avoiding score distortions
- Toggle-based activation per asset, allowing isolated volatility analysis without excess return overhead
- Conceptual role in diversification —low betas signal hedges , high ones amplify market bets
- Lookback sensitivity trade-off : short for tactical betas , long for structural exposures
⚡ Sharpe Ratio Calculation
- Source na guard returning na , preserving data integrity
- Daily returns via change over prior source , avoiding log approximations for arithmetic consistency
- Period SMA for mean reward , stdev for total risk dispersion
- Raw daily ratio with zero-stdev neutral default , preventing infinities
- Nz-EMA smoothing to dampen variability , weighting recent ratios heavily
- Sqrt(365) annualization for yearly comparability , assuming i.i.d. returns
- Zero na fallback , distinguishing errors from flat performance
- Asset-parallel computations , ranking efficiency where high Sharpes indicate optimal risk pricing
🎯 Sortino Ratio Calculation
- Na source guard , with annualization factor predefined for scaling
- Periodic returns and per-period risk-free derivation for threshold alignment
- Effective period min with bar count , enabling progressive buildup
- Loop-summed downside squares only for positive deviations ( underperformance ), averaged and sqrt-ed
- Excess mean over downside dev , scaled annually , zero-dev neutral
- Nz-EMA smoothing for stability , focusing on loss aversion
- Zero na output , emphasizing downside protection in crypto's crash-prone nature
- Longer periods favored for sparse downside events , enhancing estimate reliability
🔄 Omega Ratio Calculation
- Na guard with periodic returns and decimal target setup
- Loop over period accumulating above-target excesses vs. below shortfalls
- Raw ratio as gains/losses , zero-loss neutral to conservatism
- Nz-EMA smoothing , defaulting raw na to zero for continuity
- Distributional insight : >1 favors assets with skewed positives , <1 warns of loss dominance
- Target flexibility —zero for absolute , positive for relative hurdles
- Per-asset loops ensuring full history scan , capturing crypto's lottery-like tails
📈 Rate of Change Calculation
- Simple ta.roc application over period , percentage momentum direct from prices
- Na-to-zero for gaps , neutral in momentum absence
- Unbounded output allowing extreme trend magnitudes , unlike bounded oscillators
- Toggle integration boosting composites in trending selections
- Short-period reactivity for entry timing , complementing ratio stability
🎯 Combined Score Calculation
- Selected metrics count via incremental ifs , normalizing averages
- Last-bar loop over assets , building per-asset score arrays
- Switch-retrieved metric values , na-filtered pushes with valid count tracking
- Average only over valid scores , handling partial data gracefully
- Var assignment to per-asset combined vars , persisting for table use
- Equal-weighting assumption , treating metrics as complementary signals
- Na results when no valids , flagging data-deficient assets
- Holistic aggregation simplifying multi-metric overload into rankable scores
📊 Table Display Functions
- Background color getter : green above median , red below, gray invalid
- Emoji selector : rocket for outperformers , down for underperformers , blank invalid
- Row/column math for three-column layout , maximizing space efficiency
- Prefix-stripped asset names for compact display
- Rounded three-decimal scores or N/A , centered alignment
- Header branding centered, dark background for prominence
- Median table compact right-side , gray neutral for reference
- Top table left-side descending sort via indices array , limited rows
📋 Table Preparation
- Var arrays for names and scores , last-bar conditional pushes
- Conditional per-asset adds based on num_assets , avoiding over-allocation
- Median via array.median , central tendency for relative gauging
- Sort indices descending for top ranking , min with size for bounds
- String concatenation for alerts , newline-separated asset-score pairs
- Once-per-bar alert freq , compiling only non-na for actionable output
- Barstate.islast gating all prep/display , preventing historical repaints
✅ Key Takeaways
- Modular metrics enable tailored risk-return portfolios , from alpha hunts to downside shields
- Composite scores distill complexity into actionable rankings , median-anchored for relativity
- Benchmark-relative analysis uncovers crypto alphas amid market noise
- Table triad — main matrix , median ref , top highlights —delivers scannable insights
- Alerts and custom assets support automated monitoring in dynamic altcoin spaces
- Smoothing and lookbacks balance reactivity with stability for versatile timeframes
- Equal-metric averaging assumes balance , customizable via toggles for bias
ROC Tracker -> PROFABIGHI_CAPITAL🌟 Overview
The ROC Tracker → PROFABIGHI_CAPITAL indicator measures momentum strength by calculating the Rate of Change (ROC) for up to 33 customizable altcoins over a user-specified period, revealing acceleration or deceleration in price movements. It dynamically generates color-gradient tables displaying individual ROC values, median benchmarks, and ranked top momentum performers with emoji indicators, allowing traders to spot surging assets for timely entries or fading ones for exits in volatile markets.
⚙️ General Settings
– ROC Period : Defines the lookback bars for percentage change computation, where shorter periods (e.g., 5-10) highlight immediate momentum bursts while longer spans (e.g., 20-50) capture sustained trends—key for aligning with trading horizons like scalping or swing setups.
💎 Asset Selection Settings
– Number of Altcoins to Display : Scales the primary table from a streamlined 5-asset view for rapid momentum checks to a full 33-symbol scan for broad-market acceleration profiling—balances detail with computational efficiency.
– Number of Top ROC Assets : Configures the momentum leaderboard to emphasize leading changers, adjustable from 1 for focused highlights to the total count for unbridled ranking—accelerates identification of breakout candidates.
– Asset 1-17 (Left Group) : Curates the main table's left column with essential altcoins, enabling personalization from anchors like ETHUSD to varied inclusions such as XRPUSD—each retrieves daily closes for standalone ROC derivation, with tooltips confirming symbol standards.
– Asset 18-33 (Right Group) : Populates the right column for diversified momentum tracking, incorporating further tokens from LTCUSD to specialized selections like MNTUSD—fosters balanced tri-column flow for lateral dataset review.
– Dynamic Input Rendering : Activates fields proportional to asset tally, veiling extras to sidestep errors and simplify navigation—facilitates effortless escalation from narrow lists to panoramic surveillance.
🎨 Table Style Settings
– Low ROC Color : Sets the gradient's deceleration base (e.g., deep red for negative changes), promptly signaling momentum fades that may prompt profit-taking or avoidance.
– High ROC Color : Anchors the acceleration peak (e.g., vivid green for positive changes), illuminating surging movers ripe for momentum continuation plays.
– Neutral ROC Value : Centers the color pivot at zero change (typically 0.0), modulating from loss to gain hues—adjustment biases toward conservative or aggressive momentum reads.
– ROC Color Range : Governs the transitional breadth around neutral, embracing wide fades for nuanced momentum gradients or narrow contrasts for binary surge/lag demarcation.
– Table Background : Deploys a muted dark semi-transparent canvas for thematic unity and cross-theme visibility, crafting an elegant momentum dashboard.
– Table Border : Enframes with neutral gray for subtle containment, encapsulating data without stylistic diversion.
📡 Data Fetching
– Asset Data Retrieval : Conducts concurrent daily close queries for nominated symbols, interposing NA for gaps to fortify table resilience.
– Return Series Computation : Applies 1-period percentage variances to asset paths, yielding the momentum quanta for period-based change metrics.
– Missing Data Resilience : Implants sentinels (-9999) for voids, rendering as grays to indicate incompleteness without structural breach.
🧮 Calculations
– Periodic Return Generation : Computes rate of change over the specified bars as current divided by prior minus unity, distilling momentum as percentage acceleration.
– Raw ROC Derivation : Directly yields the percentage shift over the lookback, quantifying speed without further averaging for pure velocity insight.
– NA Propagation Handling : Forwards missing values to preserve computational chain integrity, displaying as neutrals in outputs.
📋 Table Display
– Dynamic Layout Optimization : Erects columns (up to 9 for tri-set harmony) and rows attuned to asset volume plus header, assuring pithy utility for 1-33 symbols.
– Main Table Architecture : Branded header vaults the apical row, shadowed by asset symbols, rounded momenta (3 decimals), and velocity emojis in parsimonious trios for row-thrifty perusal.
– ROC Color Continuum : Cartographs values from low (red) via neutral (midpoint) to high (green), with grays for voids—precipitates immediate momentum profiling.
– Emoji Velocity Markers : Dispatches rocket for above-median changes (accelerators) and downward arrow for below (decelerators), infusing expeditious visual discernment.
– Median Table Encapsulation : Terse single-column depiction of pivotal momentum with gradient tint, mooring relative appraisals as a parity linchpin.
– Top ROC Table Hierarchy : Descending stratification in 3-column lattice (symbol, value, emoji) with header branding, converging on paramount assets for surge-dominant dispositions.
– Index-Fueled Ranking : Mobilizes array indices for descending distillation, refabricating sorted arrays while custodians originals for scrupulous median genesis.
🔔 Alerts
– Dynamic Alert Fabrication : Erects newline-segmented compendia of symbols and rounded momenta on the ultimate bar, amputating prefixes for laconic phrasing.
– Once-Per-Bar Dispatch : Ignites alerts at closure with the plenary dataset, harmonizing external adjuncts like dispatches or automata.
– Output Refinement : Distills parseable essence by eliding NAs, honing on operable datum for unencumbered conduit amalgamation.
✅ Key Takeaways
– ROC quantification unveils momentum velocity, spotlighting acceleration for timely pursuits.
– Rolling period with direct computation yields crisp, unaltered speed metrics.
– Profuse symbol pliancy forges bespoke crypto velocity observatories from titans to obscurities.
– Gradient lattices with medians and tops hasten surge/lag discernment through optics.
– Automated alerts encapsulate scans into consumable missives, hastening from scrutiny to stratagem.
Omega Ratio Tracker -> PROFABIGHI_CAPITAL🌟 Overview
The Omega Ratio Tracker → PROFABIGHI_CAPITAL indicator quantifies the probability-weighted gain-to-loss efficiency by computing the Omega ratio for up to 33 customizable altcoins over a rolling lookback period, contrasting cumulative returns above a user-defined target against those below to assess favorable outcomes. It dynamically constructs color-gradient tables featuring individual Omegas, median benchmarks, and ranked top performers with emoji indicators, allowing traders to evaluate assets' upside potential relative to downside risks for informed, asymmetric opportunity selection.
⚙️ General Settings
– Calculation Period (Bars) : Establishes the historical scope for return accumulation and threshold comparisons, where shorter windows spotlight immediate efficiencies amid market swings while extended periods gauge long-term gain/loss asymmetries—pivotal for matching trading cadences like intraday (e.g., 20-50 bars) or swing (e.g., 100+ bars).
– Target Return per Period (%) : Specifies the aspirational return threshold per bar/day, serving as the pivot separating "gains" from "losses" in the ratio—elevated targets demand superior performance for positive Omegas, ideal for high-conviction filters, while modest ones broaden inclusion for diverse scans.
– Smoothing Period (EMA) : Implements exponential moving average on raw ratios to mitigate transients, with low values (e.g., 1-2) retaining volatility for granular views and higher settings (e.g., 4-7) fostering trend persistence for strategic planning.
💎 Asset Selection Settings
– Number of Altcoins to Display : Dictates the primary table's expanse from a targeted 5-asset spotlight for swift evaluations to a maximal 33-symbol expanse for holistic risk-reward profiling—impacts processing demands and dashboard density.
– Number of Top Omega Assets : Tailors the elite leaderboard to showcase premier ratios, variable from 1 for ultra-focused highlights to the aggregate count for unfiltered excellence—expedites prioritization of high-gain/low-loss candidates.
– Asset 1-17 (Left Group) : Loads the main table's left column with bedrock altcoins, facilitating bespoke curation from stalwarts like ETHUSD to varied mid-tiers such as XRPUSD—each solicits daily closes for autonomous Omega computation, with tooltips validating symbol protocols.
– Asset 18-33 (Right Group) : Charges the right column for augmented diversification, embracing further tokens from LTCUSD to esoteric picks like MNTUSD—cultivates equilibrated tri-column ergonomics for lateral dataset traversal.
– Dynamic Input Activation : Manifests fields per asset tally, obfuscating redundants to forestall faults and declutter—empowers fluid augmentation from succinct rosters to panoramic oversight sans reconfiguration.
🎨 Table Style Settings
– Low Omega Color : Grounds the gradient's unfavorable terminus (e.g., stark red for ratios below 1.0), instantaneously tagging assets with skewed losses over gains that might erode portfolio viability.
– High Omega Color : Secures the advantageous apex (e.g., radiant green for ratios above 1.0), illuminating prospects with dominant upsides relative to downsides for asymmetric edge hunting.
– Neutral Omega Value : Locates the color fulcrum at equilibrium efficiency (typically 1.0 for balanced outcomes), where ratios modulate from penalty to premium—refinement inclines toward prudent or venturesome outlooks.
– Omega Color Range : Regulates the transitional amplitude encircling neutral, favoring expansive fades for refined gradations or constricted shifts for unequivocal high/low bifurcation.
– Table Background : Imposes a discreet dark semi-opaque substrate for thematic cohesion and theme-agnostic legibility, evoking a refined analytics interface.
– Table Border : Encases perimeters with subdued gray for tacit delineation, encapsulating intelligence without stylistic encumbrance.
📡 Data Fetching
– Asset Data Retrieval : Undertakes simultaneous daily close interrogations for nominated symbols, interposing NA for lacunae to buttress table solidity.
– Return Series Computation : Extracts 1-period percentage variances from asset trajectories, proffering the elemental grist for gain/loss partitioning.
– Void Data Fortification : Implants sentinels (-9999) for lacunae, materializing as grays in renderings to signify incompleteness sans architectural compromise.
🧮 Calculations
– Periodic Return Generation : Forges bar/daily percentage alterations as source divided by antecedent minus unity, underpinning the discrete quanta for target-relative dissection.
– Target Threshold Decimalization : Transmutes percentage input to fractional form, delineating the demarcation betwixt accretive and detractive outcomes.
– Cumulative Gain Accrual : Aggregates excesses above target over the period, encapsulating favorable deviations' aggregate potency.
– Cumulative Loss Accrual : Tallies shortfalls below target, quantifying adverse deviations' collective burden.
– Raw Omega Formulation : Divides gains by losses, yielding the probability-adjusted efficiency quotient—defaults to NA on nil losses for interpretive clarity.
– EMA Transient Suppression : Exponentially averages raw quotients to quell ephemera, engendering interpretable contours over jagged dailies.
– Annualization Omission : Presents periodic ratios without scaling, prioritizing raw bar-level insights for intraday or short-term applicability.
📋 Table Display
– Dynamic Layout Optimization : Assembles columns (apex 9 for tri-set orchestration) and rows calibrated to asset quantum plus header, vouchsafing succinct potency for 1-33 symbols.
– Main Table Architecture : Branded header vaults the apical row, shadowed by asset symbols, rounded quotients (3 decimals), and efficiency emojis in parsimonious trios for row-thrifty perusal.
– Omega Color Continuum : Cartographs values from low (red) via neutral (midpoint) to high (green), with grays for voids—precipitates immediate gain/loss equilibrium profiling.
– Emoji Efficiency Markers : Dispatches rocket for above-median quotients (asymmetric victors) and downward arrow for below (lopsided laggards), infusing expeditious visual discernment.
– Median Table Encapsulation : Terse single-column depiction of pivotal quotient with gradient tint, mooring relative appraisals as a parity linchpin.
– Top Omega Table Hierarchy : Descending stratification in 3-column lattice (symbol, value, emoji) with header branding, converging on paramount assets for gain-dominant dispositions.
– Index-Fueled Ranking : Mobilizes array indices for descending distillation, refabricating sorted arrays while custodians originals for scrupulous median genesis.
🔔 Alerts
– Dynamic Alert Fabrication : Erects newline-segmented compendia of symbols and rounded quotients on the ultimate bar, amputating prefixes for laconic phrasing.
– Once-Per-Bar Dispatch : Ignites alerts at closure with the plenary dataset, harmonizing external adjuncts like dispatches or automata.
– Output Refinement : Distills parseable essence by eliding NAs, honing on operable datum for unencumbered conduit amalgamation.
✅ Key Takeaways
– Gain/loss partitioning via target thresholds unveils asymmetric efficiency beyond traditional metrics.
– Rolling computations with smoothing furnish trend-stable, noise-attenuated efficiency vistas.
– Profuse symbol pliancy forges bespoke crypto observatories from titans to obscurities.
– Gradient lattices with medians and tops hasten low-loss/high-gain discernment through optics.
– Automated alerts encapsulate scans into consumable missives, hastening from scrutiny to stratagem.
Sortino Ratio Tracker -> PROFABIGHI_CAPITAL🌟 Overview
The Sortino Ratio Tracker → PROFABIGHI_CAPITAL indicator assesses downside risk-adjusted performance by computing the Sortino ratio for up to 33 customizable altcoins over a rolling lookback period, focusing solely on negative volatility to penalize harmful deviations while smoothing and annualizing for actionable insights. It dynamically generates color-gradient tables displaying individual Sortinos, median benchmarks, and ranked top performers with emoji indicators, empowering traders to prioritize assets with superior returns relative to their drawdown risks for more resilient portfolio construction.
⚙️ General Settings
– Calculation Period (Days/Bars) : Specifies the historical window for return averaging and downside deviation estimation, where shorter periods emphasize recent efficiency amid volatility spikes while longer horizons evaluate enduring downside protection—vital for aligning with strategies like short-term trading (e.g., 30-60 bars) versus long-term holding (e.g., 90+ bars).
– Annual Risk-Free Rate (%) : Sets the threshold below which returns are considered "downside," typically a conservative benchmark like treasury yields—higher rates raise the bar for positive Sortinos, favoring only truly superior risk-adjusted outcomes.
– Smoothing Period (EMA) : Applies exponential moving average to raw ratios for noise reduction, where minimal smoothing (e.g., 1-3) preserves granularity for active monitoring while higher values (e.g., 5+) yield trend-stable views for strategic overviews.
– Number of Altcoins to Display : Determines the primary table's breadth from a streamlined 5-asset focus for rapid scans to a thorough 33-symbol panorama for exhaustive downside risk profiling—directly affects data processing and visual footprint.
– Number of Top Sortino Assets : Configures the leaderboard to spotlight leading ratios, scalable from 1 for laser-focused highlights to the full asset set for complete efficiency hierarchy—facilitates prioritization of low-downside winners.
💎 Asset Selection Settings
– Asset 1-17 (Left Group) : Fills the main table's left column with cornerstone altcoins, enabling tailored selection from majors like ETHUSD to diversified options such as XRPUSD—each pulls daily closes for standalone Sortino computation, with tooltips verifying symbol conventions.
– Asset 18-33 (Right Group) : Loads the right column for extended diversification, incorporating further tokens from LTCUSD to specialized choices like MNTUSD—promotes balanced tri-column ergonomics for fluid cross-dataset comparison.
– Dynamic Input Activation : Renders fields conditionally on total assets, hiding extras to avert errors and declutter the interface—supports frictionless growth from compact portfolios to all-encompassing surveillance.
🎨 Table Style Settings
– Low Sortino Color : Establishes the gradient's downside anchor (e.g., intense red for negative ratios), immediately flagging assets with excessive harmful volatility that could undermine portfolio stability.
– High Sortino Color : Pins the excellence terminus (e.g., luminous green for positive ratios), illuminating low-risk/high-return standouts perfect for conservative growth strategies.
– Neutral Sortino Value : Positions the color inflection at breakeven efficiency (typically 0.0), pivoting hues from penalty to premium—tweaking recalibrates toward defensive or opportunistic lenses.
– Sortino Color Range : Modulates the spectrum's transitional span around neutral, opting for broad fades in subtle differentiation or tight contrasts for stark performer/laggard splits.
– Table Background : Instills a understated dark semi-transparent foundation for unified readability across themes, evoking a sleek, professional analytics dashboard.
– Table Border : Circumscribes frames with unobtrusive gray for gentle containment, directing focus to the gradient-infused data without stylistic interference.
📡 Data Fetching
– Asset Data Retrieval : Performs concurrent daily close queries for specified symbols, substituting NA for voids to sustain table robustness.
– Return Series Computation : Extracts 1-period percentage changes from asset series, supplying the granular inputs for mean and downside deviation metrics.
– Missing Data Resilience : Employs sentinels (-9999) for gaps, manifesting as grays in tables to denote incompleteness without layout disruption.
🧮 Calculations
– Periodic Return Generation : Derives daily/bar percentage changes as source over prior close minus one, capturing discrete movements for efficiency evaluation.
– Mean Return Estimation : Averages returns over the rolling period with simple moving average, forging a baseline excess performance metric.
– Downside Deviation Quantification : Sums squared deviations below the risk-free threshold, averaging to measure only harmful volatility—ignores upside for focused risk penalization.
– Raw Sortino Formulation : Divides mean excess return by downside deviation, defaulting to zero on nil volatility for computational safety.
– EMA Noise Attenuation : Exponentially smooths raw ratios to filter transients, yielding interpretable trends over erratic daily swings.
– Annualization Adjustment : Scales smoothed ratios by the square root of 365 (crypto calendar), transforming periodic efficiency into yearly benchmarks for cross-asset comparability.
📋 Table Display
– Dynamic Layout Scaling : Erects columns (maximum 9 for tri-set grouping) and rows attuned to asset quantity plus header, guaranteeing compact utility for 1-33 symbols.
– Main Table Architecture : Branded header traverses the summit row, pursued by asset symbols, rounded ratios (3 decimals), and efficiency emojis in efficient trios for streamlined row navigation.
– Sortino Color Continuum : Maps values from low (red) via neutral (midpoint) to high (green), with grays for voids—enables instantaneous downside efficiency profiling.
– Emoji Efficiency Markers : Deploys rocket for above-median ratios (superior performers) and downward arrow for below (inferior), infusing swift visual assessment.
– Median Table Encapsulation : Succinct single-column portrayal of central ratio with gradient hue, anchoring relative evaluations as a risk-neutral pivot.
– Top Sortino Table Hierarchy : Descending classification in 3-column matrix (symbol, value, emoji) with header branding, concentrating on elite assets for downside-focused decisions.
– Index-Fueled Ranking : Exploits array indices for descending extraction, reconstructing sorted arrays while preserving originals for exact median derivation.
🔔 Alerts
– Dynamic Alert Fabrication : Constructs newline-separated assemblages of symbols and rounded ratios on the terminal bar, excising prefixes for terse formatting.
– Once-Per-Bar Dispatch : Initiates alerts at close with the complete dataset, accommodating external integrations like notifications or automated systems.
– Output Refinement : Curates parseable content by excluding NAs, zeroing in on executable data for streamlined workflow incorporation.
✅ Key Takeaways
– Downside-focused Sortino ratios spotlight assets excelling in returns per harmful volatility unit.
– Rolling computations with smoothing and annualization yield comparable, trend-stable efficiency metrics.
– Vast symbol adaptability crafts bespoke crypto dashboards from majors to alts.
– Gradient tables with medians and tops accelerate low-risk winner identification via visuals.
– Automated alerts consolidate scans into digestible packets, expediting from evaluation to execution.
Sharpe Ratio Tracker -> PROFABIGHI_CAPITAL🌟 Overview
The Sharpe Ratio Tracker → PROFABIGHI_CAPITAL indicator evaluates risk-adjusted performance by computing the Sharpe ratio for up to 33 customizable altcoins over a rolling lookback period, smoothing values for stability and annualizing for comparability. It dynamically renders color-gradient tables showcasing individual Sharpe ratios, median benchmarks, and ranked top performers with emoji indicators, enabling traders to identify assets delivering superior returns per unit of volatility for optimized portfolio selection.
⚙️ General Settings
– Sharpe Rolling Period : Adjustable lookback window for return and volatility averaging, where shorter horizons capture recent efficiency while longer spans assess sustained performance stability.
– Smoothing Period : EMA length applied to raw ratios to dampen noise, promoting smoother trends for clearer visual and analytical insights.
– Number of Altcoins to Display : Scales the primary table's capacity from a focused 5-asset scan for quick reviews to a full 33-symbol matrix for comprehensive risk-adjusted screening.
– Number of Top Sharpe Assets : Curates the leaderboard to emphasize leading ratios, tunable from 1 for pinpoint focus to the total count for exhaustive ranking of efficiency standouts.
💎 Asset Selection Settings
– Asset 1-17 (Left Group) : Populates the main table's left column with foundational altcoins, supporting customization from blue-chips like ETHUSD to diversified selections such as XRPUSD—each input retrieves daily closes for isolated Sharpe derivation, with tooltips ensuring accurate symbol formatting.
– Asset 18-33 (Right Group) : Fills the right column for broader exposure, accommodating additional tokens from LTCUSD to niche assets like MNTUSD—facilitates ergonomic tri-column layout for horizontal scanning across the expanded dataset.
– Dynamic Input Rendering : Conditionally activates fields based on total assets, concealing unused slots to eliminate errors and streamline the interface—allows effortless scaling from compact watchlists to exhaustive monitoring without reconfiguration.
🎨 Table Style Settings
– Low Sharpe Color : Anchors the gradient's underperformance base (e.g., deep red for negative ratios), visually flagging assets with poor efficiency that may drag portfolio returns.
– High Sharpe Color : Establishes the excellence endpoint (e.g., vivid green for positive ratios), spotlighting high-efficiency performers ideal for risk-conscious allocations.
– Neutral Sharpe Value : Centers the color pivot at breakeven efficiency (typically 0.0), where ratios shift from subdued to vibrant hues—calibration tilts toward conservative or aggressive interpretations.
– Sharpe Color Range : Broadens or narrows the transition zone around neutral, yielding gradual blends for nuanced rankings or sharp delineations for clear high/low separation.
– Table Background : Deploys a subtle dark semi-transparent canvas for all views, fostering glare-free readability across themes while delivering a cohesive dashboard appearance.
– Table Border : Frames outlines with neutral gray for understated structure, containing content without diverting from the gradient-centric data narrative.
📡 Data Fetching
– Asset Data Retrieval : Executes parallel daily close requests for designated symbols, gracefully managing empty inputs by inserting NA placeholders to uphold table cohesion.
– Return Series Computation : Derives 1-period percentage changes for each asset, furnishing the discrete inputs for mean and standard deviation estimations.
– Invalid Data Mitigation : Substitutes missing values with sentinels (-9999) for rendering as grays, preserving layout amid incomplete datasets.
🧮 Calculations
– Daily Return Generation : Applies rate of change over one day to each asset's series, yielding percentage shifts as the core for efficiency metrics.
– Mean Return Smoothing : Averages returns over the rolling period via simple moving average, establishing historical performance baselines.
– Standard Deviation Volatility : Computes rolling dispersion of returns, quantifying risk as the denominator for ratio normalization.
– Raw Sharpe Derivation : Divides mean return by standard deviation, handling zero-volatility cases with zero fallback for stability.
– EMA Smoothing Application : Applies exponential moving average to raw ratios, attenuating fluctuations for trend-revealing outputs.
– Annualization Scaling : Multiplies smoothed ratios by the square root of 365, converting daily efficiency to yearly comparability.
📋 Table Display
– Dynamic Layout Optimization : Constructs columns (up to 9 for tri-set configuration) and rows scaled to asset count plus header, ensuring compact efficiency for 1-33 symbols.
– Main Table Framework : Branded header bridges the top row, trailed by asset symbols, rounded ratios (3 decimals), and efficiency emojis in streamlined trios for row-efficient navigation.
– Sharpe Color Continuum : Interpolates from low (red) through neutral (midpoint) to high (green), with grays for invalids—facilitates at-a-glance risk-adjusted profiling.
– Emoji Efficiency Markers : Renders rocket for above-median ratios (strong performers) and downward arrow for below (weak), injecting rapid visual sentiment.
– Median Table Encapsulation : Compact single-column showcase of central ratio with gradient coloring, anchoring relative evaluations as an efficiency fulcrum.
– Top Sharpe Table Hierarchy : Descending rank in 3-column array (symbol, value, emoji) with header branding, zeroing in on superior assets for allocation prioritization.
– Index-Fueled Ranking : Harnesses array indices for descending extraction, rebuilding sorted arrays while safeguarding originals for precise median derivation.
🔔 Alerts
– Dynamic Alert Fabrication : Assembles newline-separated compilations of symbols and rounded ratios on the final bar, purging prefixes for succinct formatting.
– Once-Per-Bar Dispatch : Activates alerts at close with the full dataset, accommodating external integrations like notifications or bots.
– Output Refinement : Curates parseable content by excluding NAs, concentrating on executable data for seamless workflow embedding.
✅ Key Takeaways
– Transforms risk-adjusted efficiency into gradient-scored tables for effortless asset ranking.
– Rolling Sharpe with smoothing and annualization delivers comparable, noise-reduced insights.
– Extensive symbol flexibility supports tailored crypto portfolios from majors to alts.
– Top medians and emojis accelerate outperformance detection with visual punch.
– Automated alerts package complete scans, streamlining from analysis to action.
Beta Tracker -> PROFABIGHI_CAPITAL🌟 Overview
The Beta Tracker → PROFABIGHI_CAPITAL indicator quantifies market sensitivity by calculating the beta coefficient for up to 33 customizable altcoins relative to a selected benchmark over a user-defined lookback, revealing how assets amplify or dampen systemic movements. It dynamically renders color-gradient tables with individual betas, median values, and sorted top sensitivities alongside emoji indicators, enabling traders to assess volatility alignment and construct diversified portfolios based on risk exposure profiles.
⚙️ General Settings
– Beta Measurement Length : Establishes the historical horizon for return covariance and variance computations, where shorter spans highlight recent sensitivities while longer periods reveal enduring market correlations—essential for tailoring to trading styles like short-term scalping or long-term holding.
– Benchmark Symbol : Designates the reference index for beta normalization, such as total market cap to evaluate broad exposure or Bitcoin for coin-specific amplification—forms the foundational volatility baseline for all asset comparisons.
– Number of Altcoins to Display : Scales the primary table's capacity from a concise 5-asset focus for quick scans to a robust 33-symbol overview for exhaustive screening, directly influencing data volume and computational efficiency.
– Number of Top Beta Assets : Curates the leaderboard to showcase the most sensitive performers, adjustable from 1 for pinpoint focus to the full asset count for comprehensive ranking—streamlines identification of high-volatility opportunities.
💎 Asset Selection Settings
– Asset 1-17 (Left Group) : Populates the main table's left column with core altcoins, supporting sequential customization from established leaders like ETHUSD to diversified mid-caps such as XRPUSD—each fetches daily closes for independent beta derivation, with tooltips ensuring proper symbol entry.
– Asset 18-33 (Right Group) : Fills the right column for expanded coverage, accommodating additional tokens from LTCUSD to niche selections like MNTUSD—facilitates balanced tri-column layout for ergonomic horizontal scanning across the dataset.
– Dynamic Input Adaptation : Conditionally renders inputs based on total assets, suppressing unused fields to prevent errors and streamline the interface—allows seamless scaling from minimal watchlists to full-spectrum monitoring without reconfiguration.
🎨 Table Style Settings
– Low Beta Color : Anchors the gradient's defensive endpoint (e.g., muted red for betas below 1.0), visually denoting lower market sensitivity and potential stability in portfolios.
– High Beta Color : Defines the aggressive anchor (e.g., vibrant green for betas above 1.0), spotlighting amplified movers ideal for volatility-seeking strategies.
– Neutral Beta Value : Centers the color transition at market-equivalent sensitivity (typically 1.0), where betas pivot from subdued to heightened hues—calibration shifts emphasis toward conservative or offensive interpretations.
– Beta Color Range : Expands or contracts the spectrum bandwidth around neutral, fostering gradual blends for nuanced rankings or abrupt shifts for clear high/low demarcation.
– Table Background : Applies a subtle dark semi-transparent canvas across all views, promoting eye comfort on varied themes while unifying the professional dashboard aesthetic.
– Table Border : Outlines frames with neutral gray for subtle definition, framing content without distracting from the gradient-driven data insights.
📡 Data Fetching
– Benchmark Data Retrieval : Utilizes security requests for daily closing prices from the designated symbol, compiling a consistent series for variance and covariance baselines.
– Asset Data Retrieval : Conducts parallel daily close pulls for chosen symbols, substituting NA for invalid inputs to safeguard computational flow.
– Rate of Change Derivation : Generates 1-period percentage returns for assets and benchmark, providing the discrete inputs for mean estimation and co-movement analysis.
– Invalid Data Safeguarding : Flags missing values with sentinels (-9999) for table rendering as grays, maintaining structural integrity amid data gaps.
🧮 Calculations
– Return Series Generation : Applies rate of change over one day to each asset and benchmark, yielding daily percentage shifts as the raw material for sensitivity metrics.
– Mean Return Smoothing : Averages returns via simple moving over the lookback, establishing historical performance norms for both series.
– Covariance Quantification : Computes the averaged product of asset and benchmark returns minus their means' product, encapsulating directional co-variance.
– Benchmark Variance Measurement : Averages squared deviations of benchmark returns from its mean, capturing the reference's inherent volatility.
– Beta Coefficient Computation : Divides covariance by variance to derive systemic sensitivity, where values above 1.0 indicate amplification and below suggest dampening.
– NA Handling in Metrics : Defaults beta to NA for zero-variance benchmarks, preventing division errors while displaying as neutrals.
📋 Table Display
– Dynamic Layout Scaling : Constructs columns (up to 9 for tri-set grouping) and rows based on asset volume plus header, optimizing density for seamless 1-33 symbol integration.
– Main Table Structuring : Branded header spans the top row, succeeded by asset symbols, rounded betas (3 decimals), and sensitivity emojis in compact trios for efficient row-wise scanning.
– Beta Color Spectrum : Applies gradient mapping from low (red) via neutral (midpoint) to high (green), with grays for invalids—facilitates instantaneous volatility profile assessment.
– Emoji Sensitivity Cues : Deploys rocket for above-median betas (high sensitivity) and downward arrow for below (low sensitivity), infusing quick visual narrative.
– Median Table Compact View : Single-column encapsulation of central beta with gradient hue, anchoring relative evaluations as a market-neutral fulcrum.
– Top Beta Table Ranking : Descending sort in 3-column format (symbol, value, emoji) with header branding, concentrating on amplified assets for volatility-focused decisions.
– Index-Driven Sorting : Leverages array indices for efficient descending extraction, reconstructing views while retaining originals for accurate median computation.
🔔 Alerts
– Dynamic Alert Assembly : Constructs newline-formatted lists of symbols and rounded betas on the final bar, excising prefixes for concise messaging.
– Bar-Close Triggering : Fires alerts once per close with the entire dataset, supporting seamless external tooling or notifications.
– Formatted Output Optimization : Ensures clean, parseable content by omitting NAs, focusing on viable data for integration.
✅ Key Takeaways
– Illuminates asset-market sensitivity through beta coefficients, guiding volatility-aligned portfolio construction.
– Gradient tables with medians and tops transform raw metrics into actionable, scannable intelligence.
– Extensive symbol customization supports bespoke crypto monitoring from majors to alts.
– Emojis and colors add intuitive flair, accelerating relative strength identification.
– Automated alerts distill full scans into digestible updates, bridging analysis to execution.
Alpha Tracker -> PROFABIGHI_CAPITAL🌟 Overview
The Alpha Tracker → PROFABIGHI_CAPITAL is a sophisticated performance analytics tool that computes and visualizes the risk-adjusted excess returns (alpha) of up to 33 customizable altcoins against a user-defined benchmark over a flexible lookback horizon. By leveraging daily return covariance and beta adjustments, it dynamically generates color-gradient tables showcasing individual alphas, median benchmarks, and ranked top performers with intuitive emoji indicators, empowering traders to swiftly pinpoint relative outperformance and inform portfolio rotations or allocation decisions.
⚙️ General Settings
– Alpha Measurement Length : Defines the historical window for return averaging and covariance calculations, where shorter periods emphasize recent momentum while longer horizons capture sustained trends—crucial for aligning with trading horizons like short-term scalping (e.g., 10-20 days) versus long-term positioning (e.g., 50+ days).
– Benchmark Symbol : Serves as the market reference for alpha isolation, typically a broad index like total crypto cap to gauge systemic risk-adjusted gains; selecting alternatives like Bitcoin enables coin-specific outperformance analysis.
– Number of Altcoins to Display : Controls the scale of the main table, from a focused watchlist of 5-10 high-conviction assets to a comprehensive 33-symbol scan for broad-market screening—impacts computational load and visual density.
– Number of Top Alpha Assets : Limits the dedicated leaderboard to the highest alphas, streamlining focus on actionable leaders (e.g., 3-7 for quick scans) while maintaining full data in the primary view for deeper dives.
💎 Asset Selection Settings
– Asset 1-17 (Left Group) : Curates the primary column of the main table with foundational altcoins, allowing sequential customization from blue-chip like ETHUSD to mid-caps like XRPUSD—each input fetches daily closes for independent alpha computation, with tooltips guiding symbol formatting.
– Asset 18-33 (Right Group) : Expands to secondary symbols in the right column, supporting diverse exposure from established tokens like LTCUSD to emerging ones like ONDOUSD—seamless integration ensures balanced left-right distribution for ergonomic table reading.
– Dynamic Input Scaling : Automatically accommodates the total asset count by disabling unused inputs, preventing errors and optimizing data fetches—enables modular expansion from a minimal 5-asset portfolio to full 33 for exhaustive coverage.
🎨 Table Style Settings
– Low Alpha Color : Establishes the gradient's underperformance endpoint (e.g., deep red for negative alphas), visually signaling laggards that may warrant reduction or avoidance in allocations.
– High Alpha Color : Sets the outperformer anchor (e.g., bright green for positive alphas), highlighting assets generating excess returns beyond benchmark expectations.
– Neutral Alpha Value : Anchors the color spectrum's midpoint, where zero or breakeven alphas transition from red to green—fine-tuning shifts the bias toward aggressive or conservative interpretations.
– Alpha Color Range : Widens or narrows the transition bandwidth around neutral, creating smoother blends for subtle rankings or sharper contrasts for binary hot/cold asset identification.
– Table Background : Applies a semi-opaque dark base across all tables, ensuring low-glare readability on both light and dark themes while maintaining professional aesthetics.
– Table Border : Defines frame outlines for structural definition, with gray subtlety preventing visual clutter while framing content effectively.
📡 Data Fetching
– Benchmark Data Retrieval : Employs security requests for daily closes from the chosen symbol, ensuring a stable time series for covariance baseline without intraday noise.
– Asset Data Retrieval : Parallel daily close fetches for selected symbols, gracefully handling invalid inputs by substituting NA values to preserve table stability.
– Rate of Change Computation : Derives 1-period percentage returns for assets and benchmark, forming the raw input for mean and covariance matrices.
– Error Handling for NA Values : Replaces missing data with sentinel placeholders (-9999) in tables, displaying as gray neutrals to flag data gaps without disrupting layout.
🧮 Calculations
– Return Series Generation : Applies rate of change over one day for each asset and benchmark, capturing discrete daily movements essential for alpha's excess return focus.
– Mean Return Averaging : Computes simple moving averages of returns over the lookback, providing smoothed historical performance baselines for both series.
– Covariance Estimation : Averages the product of asset and benchmark returns minus their means' product, quantifying linear co-dependence critical for beta adjustment.
– Benchmark Variance : Averages squared benchmark deviations from its mean, measuring systemic volatility to normalize asset sensitivity.
– Beta Coefficient : Divides covariance by variance to derive market beta, isolating systematic risk before alpha extraction.
– Alpha Derivation : Subtracts beta-adjusted benchmark mean from asset mean, yielding the intercept as true excess return attributable to security-specific factors.
📋 Table Display
– Dynamic Table Dimensions : Auto-scales columns (up to 9 for tri-column layout) and rows based on asset count plus header, optimizing space for 1-33 symbols without overflow.
– Main Table Population : Features a branded header spanning the top, followed by asset symbols, rounded alphas (3 decimals), and performance emojis in balanced trios for scannable rows.
– Alpha Color Gradient : Maps values from low (red) through neutral (midpoint) to high (green), with gray for invalids—enables instant visual ranking across the dataset.
– Emoji Performance Icons : Renders rocket for above-median alphas (outperformers) and downward arrow for below (laggards), adding emotional quick-scan appeal.
– Median Table Summary : Compact single-column view of the central alpha with gradient coloring, serving as a neutral benchmark for relative assessments.
– Top Assets Table : Ranks the highest alphas descending in a 3-column format (symbol, value, emoji), with header branding for focused opportunity highlighting.
– Array-Based Sorting : Generates descending indices from alpha array, reconstructing sorted lists for leaderboard extraction while preserving originals for display.
🔔 Alerts
– Dynamic Alert Construction : Compiles a newline-separated list of symbols and rounded alphas on the last bar, stripping prefixes for clean formatting.
– Once-Per-Bar Frequency : Triggers alerts at close with the complete dataset, facilitating external integrations like notifications or automation.
– Content Customization : Formats messages for readability, excluding NA values to focus on actionable data points.
✅ Key Takeaways
– Streamlines alpha computation across portfolios, transforming complex risk-adjusted metrics into intuitive, gradient-scored tables for rapid insights.
– Benchmark-relative ranking with medians and tops enables proactive asset rotation based on true outperformance.
– Customizable symbols and lookbacks adapt to diverse crypto watches, from majors to niche alts.
– Visual emojis and colors provide at-a-glance sentiment, complementing numerical precision.
– Automated alerts deliver full-dataset updates, bridging analysis to actionable trading decisions.
India VIX Based Nifty/BankNifty Range Calculator (Auto Fetch)VIX-Based Expected Daily Range (Auto Volatility Forecast)
Created by: Harshiv Symposium
📖 Purpose
This indicator automatically fetches the India VIX value and calculates the expected daily price range for major Indian indices such as Nifty and BankNifty.
It helps traders understand how much the market is likely to move today based on current volatility conditions.
Designed for educational and analytical awareness, not for signals or profit-making systems.
⚙️ Core Logic
Expected Daily Move (Range) = (India VIX × Current Index Price) ÷ Multiplier
- Multiplier for Nifty: 1000
- Multiplier for BankNifty: 700
This calculation projects the 1-standard-deviation (≈ 68% probability) and 2-standard-deviation (≈ 95% probability) movement zones for the day.
📊 Example
If India VIX = 15 and Nifty = 25,000:
Expected Move ≈ (15 × 25,000) ÷ 1000 = 375 points
Hence,
- 68% Range: 24,625 – 25,375
- 95% Range: 24,250 – 25,750
This gives traders a realistic idea of daily volatility boundaries.
🧭 Key Features
✅ Auto-Fetch India VIX
No need for manual input — automatically pulls live data from NSE:INDIAVIX.
✅ Dynamic Range Visualization
Plots upper/lower boundaries for 1σ and 2σ probability zones with shaded expected-move area.
✅ Dashboard Panel
Displays:
- Current VIX
- Expected Move (in points and %)
- Upper and Lower Ranges
✅ Smart Alerts
Alerts when price crosses upper or lower volatility range — potential breakout signal.
🎯 How It Helps
Intraday Traders:
Know the likely daily movement (e.g., ±220 pts on Nifty) and plan realistic targets or stops.
Options Traders:
Quickly assess whether it’s a seller-friendly (low VIX, small range) or buyer-friendly (high VIX, large range) session.
Risk Managers:
Use volatility context for stop-loss width and position sizing.
Breakout Traders:
If price breaks beyond the 2σ range → indicates potential volatility expansion.
💡 Interpretation Guide
Condition Market Behavior Strategy Insight
VIX ↓ ( < 14 ) Calm / Range-bound Option Selling Edge
VIX ↑ ( > 20 ) Volatile Sessions Option Buying Edge
Price within Range Stable Market Mean Reversion Setups
Price breaks Range Volatility Expansion Breakout Trades
⚠️ Disclaimer
This indicator is for educational and awareness purposes only.
It does not generate buy/sell signals or guarantee returns.
Always apply your own analysis and risk management.
UK Recessions (1956–2023) This is a basic script that shows the UK recession periods with the dates pulled from the Wikipedia page on the UK Recession if you wish to check the reasons behind.
It will not show any future recessions however it may be updated.