Foundation TA [SolQuant]

Each component can be independently enabled or disabled, allowing traders to build a customized chart layout without stacking multiple separate indicators. The shared color scheme system ensures visual consistency across all components.
█ USAGE
Multi-Timeframe Order Blocks
Order blocks are zones where significant institutional buying or selling occurred, identified by pivot highs in volume combined with price structure analysis. When price returns to these zones, they frequently act as support or resistance.
The indicator detects order blocks across four timeframes simultaneously: Current TF, 1-Hour, 4-Hour, and Daily. Each timeframe can be independently enabled with its own color configuration and maximum display count. Bullish order blocks form during bullish structure shifts (price makes a new low with a volume pivot), while bearish order blocks form during bearish structure shifts.
Order blocks are automatically removed when they are "mitigated" — when price passes through the zone, indicating the institutional interest has been absorbed.
Multi-Timeframe Moving Averages
Five independently configurable moving averages can be displayed simultaneously, each with its own timeframe, length, type, and color. Supported MA types include SMA, EMA, DEMA (Double Exponential), VWMA (Volume-Weighted), RMA, and WMA. Labels show the MA type, length, and timeframe for easy identification.
This allows setups like a 50 EMA on the 1-hour paired with a 200 EMA on the 4-hour, all visible on a lower timeframe chart without switching views.
Multi-Anchor VWAP
Three VWAP calculations are available simultaneously: Session, Weekly, and Monthly. Each anchor provides the core VWAP line plus up to three standard deviation bands. The Session VWAP supports multiple anchor periods (Session, Week, Month, Quarter, Year).
VWAP represents the true average price weighted by volume and is widely used as an institutional benchmark. Standard deviation bands identify overextended conditions relative to the volume-weighted mean.
Adaptive Trend Channel
The trend channel uses logarithmic linear regression with automatic period optimization. It tests 19 different lookback periods (100-1000 bars in long-term mode) and selects the one with the highest Pearson's R correlation coefficient — a statistical measure of how well price fits a linear trend.
The result is a channel that automatically adapts to the strongest trend present in the data, with standard deviation bands showing the normal volatility envelope. A confidence table displays the trend strength using Pearson's R, translated into readable labels from "Extremely Weak" to "Ultra Strong."
█ DETAILS
Order Block Detection
Detection relies on volume pivots — bars where volume forms a local maximum within a configurable lookback window (default: 5 bars). When a volume pivot coincides with a structural shift (new range high or low), an order block zone is recorded between the HL2 and the high (bearish) or low (bullish) of that bar.
Mitigation is checked on every bar using wicks by default, removing order blocks when price fully passes through the zone.
Pearson's R Trend Optimization
Pearson's correlation coefficient measures the linear relationship between two variables. Here, it quantifies how well logarithmic price data fits a straight line over each test period. A value near 1.0 means price has been moving in a highly consistent direction, while values near 0 indicate no discernible trend. The channel is drawn using the period that produces the strongest correlation.
Color Scheme System
Three color schemes (Default, Mono, Blues) ensure all components share a consistent visual identity. The scheme affects order block colors, EMA colors, VWAP colors, and trend channel colors simultaneously.
█ SETTINGS
Show
• Color Scheme: Default, Mono, or Blues — applies across all components.
• Show Order Blocks / EMAs / Trend Channel / VWAP: Master toggles for each component.
Order Blocks
• Bullish/Bearish Color: Colors for order block zones.
• Draw Right of Price Only: Hides historical portions for a cleaner chart.
MTF Order Blocks
• Current TF / 1H / 4H / Daily: Enable each timeframe with custom bull/bear colors and maximum count.
Multi-Timeframe EMA
• 5 MA slots: Each with enable toggle, timeframe, length, and type selection.
• Label options: Show type, length, and timeframe labels.
VWAP
• Session VWAP: Source, anchor period, up to 3 standard deviation bands.
• Monthly / Weekly VWAP: Independent enable toggles with separate band configurations.
Trend Channel
• Line Style / Extend Mode: Visual customization.
• Fill / Line / Midline Transparency: Fine-tune visual prominence.
This indicator combines multiple technical analysis methods and does not constitute financial advice. Order blocks, VWAP levels, and trend channels reflect historical patterns that may not repeat. Past performance does not guarantee future results.
Script sur invitation seulement
Seuls les utilisateurs approuvés par l'auteur peuvent accéder à ce script. Vous devrez demander et obtenir l'autorisation pour l'utiliser. Celle-ci est généralement accordée après paiement. Pour plus de détails, suivez les instructions de l'auteur ci-dessous ou contactez directement lost_sol_.
TradingView ne recommande PAS d'acheter ou d'utiliser un script à moins que vous ne fassiez entièrement confiance à son auteur et que vous compreniez son fonctionnement. Vous pouvez également trouver des alternatives gratuites et open source dans nos scripts communautaires.
Instructions de l'auteur
Clause de non-responsabilité
Script sur invitation seulement
Seuls les utilisateurs approuvés par l'auteur peuvent accéder à ce script. Vous devrez demander et obtenir l'autorisation pour l'utiliser. Celle-ci est généralement accordée après paiement. Pour plus de détails, suivez les instructions de l'auteur ci-dessous ou contactez directement lost_sol_.
TradingView ne recommande PAS d'acheter ou d'utiliser un script à moins que vous ne fassiez entièrement confiance à son auteur et que vous compreniez son fonctionnement. Vous pouvez également trouver des alternatives gratuites et open source dans nos scripts communautaires.