Candele Heikin Ashi Calculate Heikin Ashi Body (HKAB) and SMA Delta and send to the Graph the Heikin Ashi Body value if SMA Delta and HKAB are positive
指標和策略
US Macro Indicators (CPI YoY, PPI YoY, Interest Rate)US Macro Indicators (CPI YoY, PPI YoY, Interest Rate)
This indicator overlays the most important US macroeconomic trends for professional traders and analysts:
CPI YoY (%): Tracks year-over-year change in the Consumer Price Index, the main measure of consumer inflation, and a core focus for Federal Reserve policy.
PPI YoY (%): Shows year-over-year change in the Producer Price Index, often a leading indicator for future consumer inflation and margin pressures.
Fed Funds Rate (%): Plots the US benchmark interest rate, reflecting the real-time stance of US monetary policy.
Additional Features:
Key policy thresholds highlighted:
2% (Fed’s formal inflation target)
1.5% (comfort floor)
3% and 4% (upper risk/watch zones for inflation)
Transparent background shading signals elevated inflation zones for quick visual risk assessment.
Works on all asset charts and timeframes (macro data is monthly).
Why use it?
This tool lets you instantly visualize inflation trends versus policy and spot key macro inflection points for equities, FX, and rates. Perfect for anyone applying macro fundamentals to tactical trading and investment decisions.
MB Notes + ATR + EMA 5/10/20This custom indicator combines essential trading tools in a single overlay:
✅ MB Notes Panel (Top-Right):
A static display for manual input values labeled E-MB, V-MB, and C-MB. Ideal for tracking personal bias, setups, or trade context directly on the chart. Inputs are fully editable.
✅ ATR Table (Bottom-Right):
Automatically displays 14-period Average True Range on the 30-minute and 1-hour timeframes. Helps assess short-term volatility and manage stop-loss or position sizing more effectively.
✅ EMA Overlay:
Plots Exponential Moving Averages for periods 5, 10, and 20. These dynamic support/resistance levels help traders identify short-term trend direction and momentum shifts.
📌 Designed for intraday and swing traders who want a clean, customizable, and multi-purpose utility indicator.
Buy Price Marker
This indicator allows you to set a custom buy price level on the chart. It draws a green horizontal line at the specified buy price and places a label showing the exact buy price value. The line extends to the right, providing a clear visual reference for your entry price as the chart progresses. The label dynamically updates with the current bar index, ensuring the buy price annotation stays aligned with the latest data.
ATR: Тело % + Диапазоны и АномалииEssentially, this combined indicator is a powerful tool for:
Analyzing candlestick anatomy: Quickly understanding how much of a candlestick’s overall range is in its body, indicating the strength of buying or selling pressure versus uncertainty.
Volatility estimates: Understanding the typical pip range of bars, adjusted for the tick size of the instrument.
Identifying anomalies: Highlighting unusually small or large bar ranges that may signal changes in market momentum or significant events.
Average range filtering: Providing a clearer picture of average market volatility by excluding extreme outliers from the calculation.
This comprehensive approach can help traders make more informed decisions by gaining a deeper understanding of the nuances of price action and market volatility.
庄家入场基础指标//@version=5
indicator("庄家入场基础指标", overlay=true)
length = input.int(20, "低点周期")
volMultiplier = input.float(1.5, "成交量放大倍数")
lowestLow = ta.lowest(low, length)
avgVol = ta.sma(volume, length)
volumeSignal = volume > avgVol * volMultiplier
priceSignal = low <= lowestLow
entrySignal = priceSignal and volumeSignal
plotshape(entrySignal, title="庄家入场", location=location.belowbar, color=color.green, style=shape.labelup, text="庄", size=size.small)
PSX OBV Divergence Labels (1D)PSX OBV Divergence Labels (1H/4H/1D/1W, Enhanced)
Description:
This indicator marks bullish and bearish OBV divergences on the price chart for PSX and other markets. Designed specifically for swing traders who operate on 1H, 4H, 1D, and 1W timeframes, it enhances basic divergence detection by incorporating volume spikes and OBV slope confirmation — improving signal reliability and reducing noise.
Key Features:
📈 Bullish Divergence: Marks potential buy zones when price hits a local low while OBV shows upward momentum with volume spike confirmation.
📉 Bearish Divergence: Flags potential sell zones when price hits a local high while OBV trends lower with volume weakness.
✅ Slope Confirmation: Filters signals based on sustained OBV direction over a user-defined number of bars.
🔊 Volume Filter: Detects divergence only when volume exceeds the average by a customizable multiplier (default 1.0).
🔍 Clean Visualization: Green “BUY” and red “SELL” labels show clearly on the chart, synced with candle price movement.
Best Timeframes to Use:
1H, 4H, 1D, and 1W (optimized for PSX stocks, KSE100, and KMI30)
Swing traders aiming for 2–4 week holding windows will find the most utility.
Recommended Settings:
OBV Lookback: 20
Volume Smoothing: 20
Spike Multiplier: 1.0
Slope Confirmation: 3 bars
Strategy Tip:
Use divergences in confluence with key support/resistance levels, price action traps, and market structure for high-probability setups. This tool is best used for trend exhaustion detection and reversal signals.
Log Return DistributionThis indicator calculates the statistical distribution of logarithmic returns over a user-defined lookback period and visualizes it as a horizontal profile anchored to the most recent opening price.
Lookback Length: The number of recent bars to include in the distribution analysis. A larger value (e.g., 252) provides a long-term statistical view, while a smaller value (e.g., 20) focuses on recent, short-term volatility.
Bins Count: The number of price levels to divide the distribution into. An odd number is recommended (e.g., 31, 51) to ensure a dedicated central line for the 0% return.
Max Line Length: The horizontal length (in bars) of the line representing the most frequent return bin (the mode). This setting scales the entire profile, allowing you to make differences in frequency more or less pronounced visually.
PSX OBV Divergence Labels (1D)PSX OBV Divergence Labels (1D)
This indicator highlights bullish and bearish OBV (On-Balance Volume) divergences on the price chart, specifically designed for daily timeframe swing trading in PSX (Pakistan Stock Exchange) stocks.
🟢 Green triangle (Bullish Divergence) appears when price makes a new low but OBV does not — suggesting accumulation and potential reversal.
🔴 Red triangle (Bearish Divergence) appears when price makes a new high but OBV does not — indicating weakening momentum and possible distribution.
Volume spike filtering is included to increase reliability. No trade signals or exits — this is a pure visual divergence tool to support manual decision-making. Ideal for spotting shifts in volume pressure ahead of price reversals.
Weekly Range ProjectionsWeekly Range Projections
Inspired by toodegrees' excellent "ICT Friday's Asian Range" indicator
This indicator is a modified and enhanced version of the original Friday's Asian Range indicator created by toodegrees. While studying their brilliant work, I realized the concept could be expanded beyond just Friday's Asian session to create a more versatile tool for weekly price projections.
What's New?
I've transformed the original concept into a fully customizable range projection tool that allows traders to:
Select Any Day of the Week - Not limited to just Fridays anymore
Define Custom Time Ranges - Set your own start and end times to capture any session (Asian, London, New York, or custom ranges)
Flexible Deviation Levels - Choose between 1-9 standard deviations instead of the fixed 5
Toggle Body/Wick Ranges - Show or hide body and wick projections independently
Updated to Pine Script v6 - Taking advantage of the latest Pine Script features
How It Works
The indicator captures the price range (body and/or wick) during your specified time window on your chosen day, then projects standard deviation levels from that range. These levels often act as significant support/resistance throughout the week.
Use Cases
Weekly Opening Range - Capture Monday's opening range for week-long projections
Session-Based Analysis - Define any session on any day for targeted analysis
Multi-Timeframe Projections - Create different instances for various time ranges
ICT Concepts - Perfect for traders following ICT methodologies with customizable ranges
Credits
Huge thanks to toodegrees for creating the original Friday's Asian Range indicator and sharing it with the community. Their clean code structure and innovative approach to range projections inspired this modification. The core logic and visual presentation style remain true to their original vision, with added flexibility for broader applications.
If you find this useful, please also check out toodegrees' original indicators - they create fantastic tools for the TradingView community!
Settings Guide
Range Settings - Choose your day and define start/end times
Range Type - Toggle body and/or wick ranges
Deviations - Select how many standard deviation levels to display
Styling - Customize colors and line styles for both range types
Alerts - Set up alerts for price crossing specific deviation levels
Remember to use this on 5-minute or 15-minute charts as intended by the original design.
Note: This indicator follows the Mozilla Public License 2.0
Bollingr+supertrend Hybrid ProIntroducing the Bollinger & Supertrend Hybrid Pro — a powerful all-in-one trend-following and volatility mapping tool designed for modern traders in Forex, Indices, Commodities, Crypto, and Stocks.
How it works:
The indicator overlays classic Bollinger Bands to capture market volatility, squeeze breakouts, and dynamic support/resistance zones.
Integrated Supertrend logic highlights trend direction using ATR (Average True Range), making trend reversals clear and visually clean.
Automatic Buy & Sell signals appear when trend direction flips — helping you stay on the right side of momentum.
Dynamic background fill colors show uptrend and downtrend zones for quick chart scanning.
Customizable Inputs:
Adjust Bollinger Band length, deviation, and MA type (SMA, EMA, WMA, SMMA, VWMA).
Fine-tune Supertrend ATR period and factor to match your strategy style.
Labels and signals for clear on-chart alerts.
Ideal For:
Intraday, swing, and positional traders.
Beginners and advanced users looking for a clean hybrid trend system.
SessionsSession 10-12 12-16 1630-1830
Including HOD/LOD for different sessions.
Session 10:00 - 12: 00
Session 12:00 - 16:00
Session 16:30 - 18:30
CBC scalping indicator SonGohanscript using the cbc flip scalping method.
this is best used on the shorten timeframes (like 2, 5, 10 minutes)
1H LONG Setup CheckerThis TradingView script identifies high-probability long setups on the 1-hour chart by evaluating five key technical conditions: price above the 200 MA, a higher low structure, RSI above 50 and rising, a bullish MACD crossover, and a breakout above recent resistance. When at least four of these are met, it signals a potential long opportunity with a visual label and background highlight. This tool is useful for traders seeking objective, rule-based entries in trending markets like SOL/USDC and PEPE/USDC.
EMA200 HUD + ATR + Live WickThis indicator displays:
• EMA200 deviation in USD and %
• ATR (Average True Range) and ATR multiples
• Live wick % (up/down) with alerts if wick > 2%
Step-MA Baseline (with optional smoother)poor man trackline, it uses the ma20 and smooth it out to signal trends
EMA BUY/SELLEMA
Buy/sell using ema cross over for making trading simple.
you even have the option to change the EMAs when needed
Bitcoin Power Law ModelBitcoin Power Law Model with Cycle Predictions
Scientific Price Modeling for Bitcoin
This indicator implements **Dr. Giovanni Santostasi's Bitcoin Power Law Theory** - a discovery that Bitcoin's price follows mathematical laws similar to natural phenomena. Unlike traditional financial models, this treats Bitcoin as a scale-invariant system that grows predictably over time.
What Makes This Special
Dr. Santostasi, an astrophysicist who studied gravitational waves, discovered that Bitcoin's price forms a perfect straight line when plotted on a log-log scale over its entire 15-year history. This isn't just another technical indicator - it's a fundamental law that has held true through multiple 80%+ crashes and recoveries.
Core Features
Power Law Model
- Orange Line: The power law trajectory showing Bitcoin's long-term growth path
- Yellow Line: Fair value (geometric mean between support and resistance)
- Green/Red Bands: Support and resistance levels that have historically contained price movements
- Band Position %: Shows exactly where price sits within the power law channel (0-100%)
How to Use It
For Long-term Investors
1. Accumulate when price is near the green support line (band position < 20%)
2. Hold when price is between the bands
3. Consider profits when approaching red resistance (band position > 80%)
4. Never panic - the model shows $30K+ is now the permanent floor
Key Metrics to Watch
- **Band Position: <20% = Oversold, >80% = Overbought
- Fair Value: Price above = Overvalued, below = Undervalued
- Support Line: Breaking below suggests model invalidation
Current Cycle Projections
Based on the November 2022 bottom at ~$15,500:
- Cycle Peak: ~$155,000-$230,000 (October 2025)
- Next Bottom: ~$70,000-$100,000 (October 2026)
- Long-term: $1 million by 2033 (power law projection)
Customizable Settings
Model Parameters
- Intercept & Slope: Fine-tune the power law formula
- Band Offsets: Adjust support/resistance distances
Display Options
- Toggle each visual element on/off
- Show/hide future projections
- Enable/disable cycle analysis
- Customize halving markers
Understanding the Math
The model uses the formula: **Price = 10^(A + B × log10(days since genesis))**
Where:
- A = -17.01 (intercept)
- B = 5.82 (slope)
- Days counted from Bitcoin's genesis block (Jan 3, 2009)
This creates parallel support/resistance lines in log-log space that have contained Bitcoin's price for 15+ years.
Important
1.Not Financial Advice: This is a mathematical model, not a guarantee
2. Long-term Focus: Best suited for macro analysis, not day trading
3. Model Limitations: Past performance doesn't ensure future results
4. Volatility Expected: 50-80% drawdowns are normal within the model
Background
Dr. Giovanni Santostasi discovered this model while analyzing Bitcoin through the lens of physics. He found that Bitcoin behaves more like a city or organism than a financial asset, growing according to universal power laws found throughout
EMA Buy/SellBuy /Sell using EMA Crossover.
this gives early signal foy both buying and selling and one can use this to take the trades