OPEN-SOURCE SCRIPT
Atualizado FirmApp Daily Basis v1.2

FirmApp Daily Basis v1.2: Advanced Market Context & Liquidity Dashboard
Introduction
The FirmApp Daily Basis is a high-precision utility script designed for professional traders who require accurate, real-time market data without chart clutter. This version (v1.2) introduces several key enhancements based on community feedback, focusing on visual clarity and data integrity.
The "True 24h Volume" Solution
The primary technical challenge this script solves is the inaccuracy of standard daily volume metrics on perpetual futures. Most exchange-provided volume resets at 00:00 UTC, which hides the actual 24-hour liquidity trend during the trading session.
Our Solution: FirmApp Daily Basis implements a custom Rolling 24h Volume calculation. By utilizing high-granularity 5-minute data (requesting 288 sub-bars), the script aggregates a precise moving window of quote volume (Volume * HLC3). This ensures the dashboard displays the actual liquidity of the last 24 hours at any given moment, matching the precision of major exchange APIs.
Key Technical Components:
- BTC Correlation Terminal: Real-time calculation of the correlation coefficient between the current asset and Bitcoin (configurable ticker). This is essential for identifying decoupling events and assessing market-wide trend dependency.
- Optimized 3-Bar Fractals: A micro-visual implementation of price pivot points. These provide structural context (HH/LL) without obstructing price action, allowing for cleaner chart analysis and stop-loss placement.
- Dynamic Data Dashboard: A scalable top-right panel that displays volume (in Millions or Billions) and correlation.
What’s New in v1.2:
- Dashboard Scalability: Added a new user input to toggle dashboard text size (Small, Normal, Large) for better visibility on high-resolution displays.
- Visual Refinement: Redesigned fractal shapes to sit closer to the candle wicks, minimizing vertical chart space usage.
- UI Defaults: Updated default dashboard size to 'Normal' for immediate readability upon installation.
Transparency & Accuracy
This is a non-repainting script. All calculations are performed on closed bars to ensure that the data remains consistent and reliable for post-trade analysis.
Introduction
The FirmApp Daily Basis is a high-precision utility script designed for professional traders who require accurate, real-time market data without chart clutter. This version (v1.2) introduces several key enhancements based on community feedback, focusing on visual clarity and data integrity.
The "True 24h Volume" Solution
The primary technical challenge this script solves is the inaccuracy of standard daily volume metrics on perpetual futures. Most exchange-provided volume resets at 00:00 UTC, which hides the actual 24-hour liquidity trend during the trading session.
Our Solution: FirmApp Daily Basis implements a custom Rolling 24h Volume calculation. By utilizing high-granularity 5-minute data (requesting 288 sub-bars), the script aggregates a precise moving window of quote volume (Volume * HLC3). This ensures the dashboard displays the actual liquidity of the last 24 hours at any given moment, matching the precision of major exchange APIs.
Key Technical Components:
- BTC Correlation Terminal: Real-time calculation of the correlation coefficient between the current asset and Bitcoin (configurable ticker). This is essential for identifying decoupling events and assessing market-wide trend dependency.
- Optimized 3-Bar Fractals: A micro-visual implementation of price pivot points. These provide structural context (HH/LL) without obstructing price action, allowing for cleaner chart analysis and stop-loss placement.
- Dynamic Data Dashboard: A scalable top-right panel that displays volume (in Millions or Billions) and correlation.
What’s New in v1.2:
- Dashboard Scalability: Added a new user input to toggle dashboard text size (Small, Normal, Large) for better visibility on high-resolution displays.
- Visual Refinement: Redesigned fractal shapes to sit closer to the candle wicks, minimizing vertical chart space usage.
- UI Defaults: Updated default dashboard size to 'Normal' for immediate readability upon installation.
Transparency & Accuracy
This is a non-repainting script. All calculations are performed on closed bars to ensure that the data remains consistent and reliable for post-trade analysis.
Notas de Lançamento
v1.3 Release Notes:BTC Dominance (BTC.D): Added real-time Bitcoin Dominance tracking for broader market context.
Smart Volume Highlights: The Daily Vol background now highlights in Emerald Green (Spike) or Crimson Red (Low liquidity) based on a comparison with the 7-day average.
Visual Overhaul: Reverted to the high-contrast v1.2 aesthetic for maximum readability while maintaining a compact layout.
Code Optimization: Improved data fetching for faster chart loading.
Notas de Lançamento
v1.3.3 Hotfix:Visual Update: Updated the script's preview screenshot for better clarity.
Logic Stability: All internal logic, including BTC Dominance and Volume Spikes, remains unchanged from the v1.3 release.
Notas de Lançamento
v1.3.4 Update: UI Independence & Full ControlIndependent UI Toggles: Added separate checkboxes for Dashboard and Watermark. You can now hide them individually via the "Inputs" tab without losing full indicator functionality.
Settings Localization: All script comments and settings groups are now fully in English to comply with global community standards and improve moderator review.
Code Optimization: Improved the settings panel structure for better user experience.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.