OPEN-SOURCE SCRIPT
Barometer

Barometer is a comprehensive market state analysis tool that synthesizes multiple market dimensions into a single, actionable reading. Like a weather barometer predicts atmospheric conditions, this indicator forecasts market "weather" by combining trend, volatility, volume, range, and momentum analysis.
Stop guessing about market conditions. The Barometer tells you exactly what state the market is in and quantifies it with a score from -12 to +12.
█ THE BAROMETER CONCEPT
The indicator creates a composite score by analyzing five key market dimensions:
📈 TREND ANALYSIS (Score: -3 to +3)
• Short-term trend (fast EMA)
• Medium-term trend (intermediate EMA)
• Long-term trend (slow EMA)
• MA alignment bonus when all aligned
📊 VOLATILITY ANALYSIS (Score: -2 to +2)
• ATR percentile ranking
• High/Low volatility detection
• Expansion/Contraction identification
📦 VOLUME ANALYSIS (Score: -2 to +2)
• Volume relative to moving average
• Climax and dry-up detection
• Volume trend analysis
📐 RANGE ANALYSIS (Score: -2 to +2)
• Bar range vs average range
• Expansion/Contraction states
• Wide bar and narrow bar detection
🚀 MOMENTUM ANALYSIS (Score: -2 to +2)
• RSI-based momentum scoring
• Overbought/Oversold detection
• Optional component
█ MARKET STATES
The composite score translates into five market states:
🔥 STRONG BULL (Score ≥ 5)
Most conditions aligned bullish
High probability trend continuation
Aggressive long opportunities
📈 BULL (Score 2-4)
Generally bullish conditions
Some components may be neutral
Standard long setups favored
➖ NEUTRAL (Score -1 to +1)
Mixed or transitional conditions
Caution advised
Wait for clarity
📉 BEAR (Score -2 to -4)
Generally bearish conditions
Some components may be neutral
Standard short setups favored
❄️ STRONG BEAR (Score ≤ -5)
Most conditions aligned bearish
High probability trend continuation
Aggressive short opportunities
Stop guessing about market conditions. The Barometer tells you exactly what state the market is in and quantifies it with a score from -12 to +12.
█ THE BAROMETER CONCEPT
The indicator creates a composite score by analyzing five key market dimensions:
📈 TREND ANALYSIS (Score: -3 to +3)
• Short-term trend (fast EMA)
• Medium-term trend (intermediate EMA)
• Long-term trend (slow EMA)
• MA alignment bonus when all aligned
📊 VOLATILITY ANALYSIS (Score: -2 to +2)
• ATR percentile ranking
• High/Low volatility detection
• Expansion/Contraction identification
📦 VOLUME ANALYSIS (Score: -2 to +2)
• Volume relative to moving average
• Climax and dry-up detection
• Volume trend analysis
📐 RANGE ANALYSIS (Score: -2 to +2)
• Bar range vs average range
• Expansion/Contraction states
• Wide bar and narrow bar detection
🚀 MOMENTUM ANALYSIS (Score: -2 to +2)
• RSI-based momentum scoring
• Overbought/Oversold detection
• Optional component
█ MARKET STATES
The composite score translates into five market states:
🔥 STRONG BULL (Score ≥ 5)
Most conditions aligned bullish
High probability trend continuation
Aggressive long opportunities
📈 BULL (Score 2-4)
Generally bullish conditions
Some components may be neutral
Standard long setups favored
➖ NEUTRAL (Score -1 to +1)
Mixed or transitional conditions
Caution advised
Wait for clarity
📉 BEAR (Score -2 to -4)
Generally bearish conditions
Some components may be neutral
Standard short setups favored
❄️ STRONG BEAR (Score ≤ -5)
Most conditions aligned bearish
High probability trend continuation
Aggressive short opportunities
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
U cant change what U don't measure, U cant measure what U don't track. Journal the damn thing!
VISIT FOR GIVEAWAYS AND DISCOUNTS!!
makingtradesmatter.carrd.co/
PROPRIETARY TRADING SOFTWARE
TradeHook.Tech
Beta Testers Wanted!
VISIT FOR GIVEAWAYS AND DISCOUNTS!!
makingtradesmatter.carrd.co/
PROPRIETARY TRADING SOFTWARE
TradeHook.Tech
Beta Testers Wanted!
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
U cant change what U don't measure, U cant measure what U don't track. Journal the damn thing!
VISIT FOR GIVEAWAYS AND DISCOUNTS!!
makingtradesmatter.carrd.co/
PROPRIETARY TRADING SOFTWARE
TradeHook.Tech
Beta Testers Wanted!
VISIT FOR GIVEAWAYS AND DISCOUNTS!!
makingtradesmatter.carrd.co/
PROPRIETARY TRADING SOFTWARE
TradeHook.Tech
Beta Testers Wanted!
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.