Order Block Finderjust trying out some new stuff with some old stuff to speed up my charting process. so far things look good
Temel Analiz
CANX Premium Momentum & Candle Identification© CanxStixTrader
CANX Premium Momentum & basic candle I.D
(Customizable)
An indicator that simply shows you the way the market is trending and signals candles for potential entry positions. (Fully Customizable)
- This will make it very easy to see what direction you should be looking to trade .
Also included with this script is the candle stick identification tool to help identify the correct timing to enter trades.
- The candle identification will help you identify the correct type of candles for confirmation and entries
Triple EMA 50,100,200
Cloud fill indicates the direction that you should be looking to trade. Red for sells and Green for Buys.
UPDATED WITH MORE CANDLE IDs
Keep it simple
Refined Reversals (Stricter Bullish, RSI < 30)A Reversal indicator based on 3 confluences. Not yet back tested
H2-25 cuts (bp)This custom TradingView indicator tracks and visualizes the implied pricing of Federal Reserve rate cuts in the market, specifically for the second half of 2025. It does so by comparing the price differences between two specific Fed funds futures contracts: one for June 2025 and one for December 2025. These contracts are traded on the Chicago Board of Trade (CBOT) and are a widely-used market gauge of the expected path of U.S. interest rates.
The indicator calculates the difference between the implied rates for June and December 2025, and then multiplies the result by 100 to express it in basis points (bps). Each 0.01 change in the spread corresponds to a 1-basis point change in expectations for future rate cuts. A positive value indicates that the market is pricing in a higher likelihood of one or more rate cuts in 2025, while a negative value suggests that the market expects the Fed to hold rates steady or even raise them.
The plot represents the difference in implied rate cuts (in basis points) between the two contracts:
June 2025 (ZQM2025): A contract representing the implied Fed funds rate for June 2025.
December 2025 (ZQZ2025): A contract representing the implied Fed funds rate for December 2025.
Custom USD Index (DXY+)This is a modernized, expanded version of the U.S. Dollar Index (DXY), designed to provide a more accurate representation of the dollar’s global strength in today’s diversified economy.
Unlike the traditional DXY, which excludes major players like China and entirely omits real-world stores of value, this custom index (DXY+) includes:
Fiat Currencies (78.3% total weight):
EUR, JPY, GBP, CAD, AUD, CHF, and CNY — equally weighted to reflect the global currency landscape.
Gold (17.5%):
Gold (XAUUSD) is included as a traditional reserve asset and inflation hedge, acknowledging its continued monetary relevance.
Cryptocurrencies (2.8% total weight):
Bitcoin (BTC) and Ethereum (ETH) represent the emerging digital monetary layer.
The index rises when the U.S. dollar strengthens relative to this blended basket, and falls when the dollar weakens against it. This is ideal for traders, economists, and macro analysts seeking a more inclusive and up-to-date measure of dollar performance.
MSTR mNAV RatiomNav for MSTR
mNAV (Multiple-to-Net Asset Value): It's a colloquial term, often used as a ratio of MSTR's market capitalization to the market value of its Bitcoin holdings.
Implied ERP ApproximationDefinition of Equity Risk Premium (ERP):
The Equity Risk Premium (ERP) is the excess return that investors expect to earn from investing in stocks over a risk-free asset, typically represented by government bonds like the 10-year U.S. Treasury note.
Mathematically, it’s often approximated as:
ERP=Expected Stock Market Return−Risk-Free Rate\text{ERP} = \text{Expected Stock Market Return} - \text{Risk-Free Rate}\text{ERP} = \text{Expected Stock Market Return} - \text{Risk-Free Rate}
In practice, the expected stock market return can be approximated using the earnings yield of the S&P 500, which is the inverse of the Price-to-Earnings (P/E) ratio:
Earnings Yield=Earnings per SharePrice=1P/E Ratio\text{Earnings Yield} = \frac{\text{Earnings per Share}}{\text{Price}} = \frac{1}{\text{P/E Ratio}}\text{Earnings Yield} = \frac{\text{Earnings per Share}}{\text{Price}} = \frac{1}{\text{P/E Ratio}}
The risk-free rate is typically the yield on the 10-year U.S. Treasury note (symbol ^TNX on TradingView).
The Implied ERP Indicator:
The Implied ERP Indicator calculates the ERP by subtracting the 10-year Treasury yield from the S&P 500 earnings yield:
Implied ERP=S&P 500 Earnings Yield−10-Year Treasury Yield\text{Implied ERP} = \text{S\&P 500 Earnings Yield} - \text{10-Year Treasury Yield}\text{Implied ERP} = \text{S\&P 500 Earnings Yield} - \text{10-Year Treasury Yield}
Since Pine Script cannot directly fetch the P/E ratio or earnings data for SP:SPX (as discussed in the earlier error with ta.pe()), we approximate the P/E ratio using a static value (e.g., 25.0, which you can adjust based on the actual P/E ratio as of May 2025).
Normalized DXY+Custom USD Index (DXY+) – Normalized Dollar Strength with Bitcoin, Gold, and Yuan.
This custom USD strength index replicates the structure of the official U.S. Dollar Index (DXY), while expanding it to include modern financial assets such as Bitcoin (BTC), Ethereum (ETH), gold (XAU), and the Chinese yuan (CNY).
Weights for the core fiat currencies (EUR, JPY, GBP, CAD, SEK, CHF) follow the official ICE DXY methodology. Additional components are weighted proportionally based on their estimated global economic influence.
The index is normalized from its initial valid data point, meaning it starts at 100 on the first day all asset inputs are available. From that point forward, it tracks the relative strength of the U.S. dollar against this expanded basket.
This provides a more comprehensive and modernized view of the dollar's strength—not only against traditional fiat currencies, but also in the context of rising decentralized assets and non-Western trade power.
Custom USD IndexThis is a modernized, expanded version of the U.S. Dollar Index (DXY), designed to provide a more accurate representation of the dollar’s global strength in today’s diversified economy.
Unlike the traditional DXY, which excludes major players like China and entirely omits real-world stores of value, this custom index (DXY+) includes:
Fiat Currencies (78.3% total weight):
EUR, JPY, GBP, CAD, AUD, CHF, and CNY — equally weighted to reflect the global currency landscape.
Gold (17.5%):
Gold (XAUUSD) is included as a traditional reserve asset and inflation hedge, acknowledging its continued monetary relevance.
Cryptocurrencies (2.8% total weight):
Bitcoin (BTC) and Ethereum (ETH) represent the emerging digital monetary layer.
The index rises when the U.S. dollar strengthens relative to this blended basket, and falls when the dollar weakens against it. This is ideal for traders, economists, and macro analysts seeking a more inclusive and up-to-date measure of dollar performance.
Enhanced Triple Supertrend Strategy with Full Confirmationsall three super trend must be green trade buy or sell will under 3 additional confirmations including a candle stick pattern recognition that will continue trade executiion only if there is a breakout buy or sell engulfing candle its going to be tight but it will be right
Vertical Line at Current CandleCreates a vertical dotted line to follow the current candle making a cross at the current time and price
Fear and GreedFear and greed with RSI - 14 and ATR - 14. Check the market sentiment and the volatility. you can adjust the level of overbuying (green zone) and overselling (red zone).
Score and Interpretation :
0 - 25
Extreme fear
25 - 50
Moderate fear
50 - 75
Moderate greed
75 - 100
Extreme greed
Future updates and free to modify !
SH Vertical LinesSH Vertical Lines for specific of the day which is 2am, 6am, 10am, 2pm, 6pm, and 10pm
Levels & Flow📌 Overview
Levels & Flow is a visual trading tool that combines daily pivot levels with a dynamic EMA ribbon to help traders identify structure, momentum, and key decision zones in the market.
This script is designed for discretionary traders who rely on clean visual cues for intraday and swing trading strategies.
⚙️ Key Features
Daily Pivot, Support, and Resistance Lines
Automatically plots the daily pivot level based on the previous day’s OHLC data, along with calculated support and resistance levels.
Fibonacci Retracement Levels
Two dashed lines above and below the pivot represent the retracement of the pivot-resistance and pivot-support range, forming the boundaries of the “no-trade zone.”
No-Trade Zone (Shaded Box)
A gray shaded box between the two Fibonacci levels to visually mark a high-chop/low-conviction zone.
Trend-Based Candle Coloring (Current Day Only)
Candles are colored green if the close is above the pivot, red if below (only on the current trading day).
Bullish/Bearish Trend Label
A small table in the bottom-right corner displays “Bullish” or “Bearish” depending on whether price is above or below the pivot.
20-EMA Gradient Ribbon
A stack of 20 EMAs, each smoothed and color-coded from blue to green to reflect short- to long-term trend alignment.
Cumulative EMA with Adaptive Weighting
An intelligent moving average line that adjusts weight distribution among the 20 EMAs based on recent predictive accuracy using a learning rate and lookback period.
🧠 How It Works
📍 Levels
The script calculates daily pivot, resistance, and support levels using standard formulas:
Pivot = (High + Low + Close) / 3
Resistance = (2 × Pivot) – Low
Support = (2 × Pivot) – High
These levels update each day and extend 143 bars to the right.
📏 Fib Lines
Fib Up = Pivot + (Resistance – Pivot) × 0.382
Fib Down = Pivot – (Pivot – Support) × 0.382
These lines form the “no-trade zone” box.
📈 EMA Ribbon
20 EMAs starting from the user-defined Base Length, each incremented by 1
Each EMA is smoothed using the Smoothing Period
Color-coded from blue to green for intuitive visual flow
Filled between EMAs to visualize trend strength and alignment
🧠 Cumulative EMA Learning
Each EMA’s historical error is calculated over a Lookback Period
Lower-error EMAs receive higher weight; weights are normalized to sum to 1
The result is a cumulative EMA that adapts based on historical predictive power
🔧 User Inputs
Input
Base EMA Length: Sets the period for the shortest EMA (default: 20)
Smoothing Period: Smooths all EMAs and the cumulative EMA
Lookback for Learning: Number of bars to evaluate EMA prediction accuracy
Learning Rate: Adjusts how quickly weights shift in favor of more accurate EMAs
✅ How to Use It
Use the pivot level to define directional bias.
Watch for price breakouts above resistance or breakdowns below support to consider entry.
Avoid trading inside the shaded zone, where direction is less reliable.
Use the EMA ribbon gradient to confirm short/long alignment.
The cumulative EMA helps define trend with noise reduction.
🧪 Best For
Intraday traders who want to blend structure with flow
Swing traders needing clean daily levels with dynamic confirmation
Anyone looking to avoid choppy zones and improve visual clarity
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice or a trading recommendation. Always test scripts in simulation or on demo accounts before live use. Use at your own risk.
Bloomberg Financial Conditions Index (Proxy)The Bloomberg Financial Conditions Index (BFCI): A Proxy Implementation
Financial conditions indices (FCIs) have become essential tools for economists, policymakers, and market participants seeking to quantify and monitor the overall state of financial markets. Among these measures, the Bloomberg Financial Conditions Index (BFCI) has emerged as a particularly influential metric. Originally developed by Bloomberg L.P., the BFCI provides a comprehensive assessment of stress or ease in financial markets by aggregating various market-based indicators into a single, standardized value (Hatzius et al., 2010).
The original Bloomberg Financial Conditions Index synthesizes approximately 50 different financial market variables, including money market indicators, bond market spreads, equity market valuations, and volatility measures. These variables are normalized using a Z-score methodology, weighted according to their relative importance to overall financial conditions, and then aggregated to produce a composite index (Carlson et al., 2014). The resulting measure is centered around zero, with positive values indicating accommodative financial conditions and negative values representing tighter conditions relative to historical norms.
As Angelopoulou et al. (2014) note, financial conditions indices like the BFCI serve as forward-looking indicators that can signal potential economic developments before they manifest in traditional macroeconomic data. Research by Adrian et al. (2019) demonstrates that deteriorating financial conditions, as measured by indices such as the BFCI, often precede economic downturns by several months, making these indices valuable tools for predicting changes in economic activity.
Proxy Implementation Approach
The implementation presented in this Pine Script indicator represents a proxy of the original Bloomberg Financial Conditions Index, attempting to capture its essential features while acknowledging several significant constraints. Most critically, while the original BFCI incorporates approximately 50 financial variables, this proxy version utilizes only six key market components due to data accessibility limitations within the TradingView platform.
These components include:
Equity market performance (using SPY as a proxy for S&P 500)
Bond market yields (using TLT as a proxy for 20+ year Treasury yields)
Credit spreads (using the ratio between LQD and HYG as a proxy for investment-grade to high-yield spreads)
Market volatility (using VIX directly)
Short-term liquidity conditions (using SHY relative to equity prices as a proxy)
Each component is transformed into a Z-score based on log returns, weighted according to approximated importance (with weights derived from literature on financial conditions indices by Brave and Butters, 2011), and aggregated into a composite measure.
Differences from the Original BFCI
The methodology employed in this proxy differs from the original BFCI in several important ways. First, the variable selection is necessarily limited compared to Bloomberg's comprehensive approach. Second, the proxy relies on ETFs and publicly available indices rather than direct market rates and spreads used in the original. Third, the weighting scheme, while informed by academic literature, is simplified compared to Bloomberg's proprietary methodology, which may employ more sophisticated statistical techniques such as principal component analysis (Kliesen et al., 2012).
These differences mean that while the proxy BFCI captures the general direction and magnitude of financial conditions, it may not perfectly replicate the precision or sensitivity of the original index. As Aramonte et al. (2013) suggest, simplified proxies of financial conditions indices typically capture broad movements in financial conditions but may miss nuanced shifts in specific market segments that more comprehensive indices detect.
Practical Applications and Limitations
Despite these limitations, research by Arregui et al. (2018) indicates that even simplified financial conditions indices constructed from a limited set of variables can provide valuable signals about market stress and future economic activity. The proxy BFCI implemented here still offers significant insight into the relative ease or tightness of financial conditions, particularly during periods of market stress when correlations among financial variables tend to increase (Rey, 2015).
In practical applications, users should interpret this proxy BFCI as a directional indicator rather than an exact replication of Bloomberg's proprietary index. When the index moves substantially into negative territory, it suggests deteriorating financial conditions that may precede economic weakness. Conversely, strongly positive readings indicate unusually accommodative financial conditions that might support economic expansion but potentially also signal excessive risk-taking behavior in markets (López-Salido et al., 2017).
The visual implementation employs a color gradient system that enhances interpretation, with blue representing neutral conditions, green indicating accommodative conditions, and red signaling tightening conditions—a design choice informed by research on optimal data visualization in financial contexts (Few, 2009).
References
Adrian, T., Boyarchenko, N. and Giannone, D. (2019) 'Vulnerable Growth', American Economic Review, 109(4), pp. 1263-1289.
Angelopoulou, E., Balfoussia, H. and Gibson, H. (2014) 'Building a financial conditions index for the euro area and selected euro area countries: what does it tell us about the crisis?', Economic Modelling, 38, pp. 392-403.
Aramonte, S., Rosen, S. and Schindler, J. (2013) 'Assessing and Combining Financial Conditions Indexes', Finance and Economics Discussion Series, Federal Reserve Board, Washington, D.C.
Arregui, N., Elekdag, S., Gelos, G., Lafarguette, R. and Seneviratne, D. (2018) 'Can Countries Manage Their Financial Conditions Amid Globalization?', IMF Working Paper No. 18/15.
Brave, S. and Butters, R. (2011) 'Monitoring financial stability: A financial conditions index approach', Economic Perspectives, Federal Reserve Bank of Chicago, 35(1), pp. 22-43.
Carlson, M., Lewis, K. and Nelson, W. (2014) 'Using policy intervention to identify financial stress', International Journal of Finance & Economics, 19(1), pp. 59-72.
Few, S. (2009) Now You See It: Simple Visualization Techniques for Quantitative Analysis. Analytics Press, Oakland, CA.
Hatzius, J., Hooper, P., Mishkin, F., Schoenholtz, K. and Watson, M. (2010) 'Financial Conditions Indexes: A Fresh Look after the Financial Crisis', NBER Working Paper No. 16150.
Kliesen, K., Owyang, M. and Vermann, E. (2012) 'Disentangling Diverse Measures: A Survey of Financial Stress Indexes', Federal Reserve Bank of St. Louis Review, 94(5), pp. 369-397.
López-Salido, D., Stein, J. and Zakrajšek, E. (2017) 'Credit-Market Sentiment and the Business Cycle', The Quarterly Journal of Economics, 132(3), pp. 1373-1426.
Rey, H. (2015) 'Dilemma not Trilemma: The Global Financial Cycle and Monetary Policy Independence', NBER Working Paper No. 21162.
Aggregated Perpetual Futures Open InterestPurpose
Aggregates perpetual futures open interest across Binance, Bybit, and OKX for the base currency of the asset loaded in your tradingview window.
How It Works
Symbol detection: The script grabs syminfo.basecurrency (e.g., “BTC”) from whatever market is on screen.
Ticker mapping: It constructs the three perp-OI feeds that TradingView publishes in the form EXCHANGE:USDT.P_OI
Data request: For each feed it fetches the full OHLC candle (request.security) on the chart’s timeframe. If a venue doesn’t list that perp, the request simply returns na.
Aggregation: The script adds the opens, highs, lows, and closes of all non-na feeds to produce a single aggregated OI candle.
General Notes
The status line shows each venue’s individual OI close.
FVG Candle HighlighterThis indicator highlights only the true Fair Value Gap (FVG) creator candle — the middle candle in a 3-bar FVG formation — with zero clutter.
🔹 Bullish FVG: Candle is colored if price gaps above the high two bars back
🔹 Bearish FVG: Candle is colored if price gaps below the low two bars back
✨ No boxes. No zones. Just pure, visual price-action accuracy.
🔧 Powered by Pine Script v6
🧠 Based on institutional-style FVG logic
🎯 Ideal for Smart Money / ICT / Order Block strategies
Coinbase Premium IndicatorPurpose
Indicates whether a crypto asset listed on a Coinbase spot market is trading at a premium or discount to other spot (Tether) markets.
How It Works
The script takes the base currency for the pair loaded in that TradingView window and searches for its Coinbase spot market. It also maps the base currency to the USDT (Tether) spot markets on Binance, Bybit, and OKX.
The Premium/ Discount is: (coin-btc-usd) - (sum(bnce-btc-usdt, bybt-btc-usdt, okx-btc-usdt))
General Notes
The status line of the Indicator displays the value of the premium/ discount and the market prices of the pair for each constituent exchange.
PER x RangeThis Pine Script calculates the target price of the Nikkei Average based on the EPS (Earnings Per Share) and different PER (Price-to-Earnings Ratio) multiples ranging from 17.5x to 12x, in increments of 0.5x. It then plots these target prices on the chart.
Key Features:
Input EPS: You can manually input the current EPS value of the Nikkei Average (the example uses 2380, but you can replace it with the actual EPS).
PER Multiples Calculation: The script calculates target prices for different PER multiples (17.5x, 17x, 16.5x, ..., down to 12x).
Plotting Target Prices: The calculated target prices (EPS * PER) are plotted on the chart as blue lines, showing you different target price scenarios based on varying PER multiples.
VOID Directional Spike MarkerThis indicator highlights significant directional moves on the $VOID chart (NYSE USI:UVOL − DERIBIT:DVOL ) using simple visual cues:
🔼 Green up arrows when the candle closes significantly higher than it opens
🔽 Red down arrows when the candle closes significantly lower than it opens
Threshold is fully customizable (default: 15,000,000)
Ideal for spotting explosive internal shifts on the 5-minute chart during key market moments
Alerts included for both up and down spikes
Use this to track aggressive buying or selling pressure across NYSE internals and time your entries on NQ, ES, or YM with stronger conviction.
Order Block with BoSHere’s a professional and concise description you can use for publishing your **TradingView script** titled **"Order Block with BoS"**:
---
### 📌 **Description for TradingView Publication:**
**"Order Block with Break of Structure (BoS)"** is a powerful price action-based indicator designed to identify potential reversal zones and momentum shifts using **Order Block** detection combined with **Break of Structure (BoS)** confirmation.
### 🔍 **Key Features:**
* **Order Block Detection**: Highlights bullish and bearish order blocks using precise candle structure logic.
* **Break of Structure (BoS)**: Confirms structural breaks above swing highs or below swing lows to validate potential trend continuation or reversal.
* **Dynamic ATR Filter**: Uses a 14-period ATR with dynamic thresholds to confirm significant moves, filtering out weak breakouts.
* **Visual Aids**:
* Color-coded **boxes** to mark detected Order Blocks.
* **Arrows** at BoS confirmation points when ATR confirms strong momentum.
* Optional **dashed BoS lines** to show where price broke structure.
### ⚙️ **Customizable Inputs**:
* `Swing Length`: Defines the sensitivity of swing high/low detection.
* `Show Break of Structure`: Toggle on/off BoS confirmation lines.
* `Candle Lookback`: Number of historical candles to consider.
This indicator is ideal for traders who incorporate **smart money concepts**, **market structure analysis**, or **institutional order flow** strategies.
---
Would you like me to help write the **strategy** version of this or translate the description into another language for international audiences?
Economic Event DatesThis TradingView indicator ("Economic Event Dates") plots significant economic event dates directly on your chart, helping you stay informed about potential market-moving announcements. It includes pre-configured dates for:
* **FOMC Meetings:** Key policy meetings of the Federal Open Market Committee.
* **CPI Releases:** Consumer Price Index data releases, a key measure of inflation.
* **Bitcoin Halvings:** Programmatic reductions in Bitcoin's new supply issuance.
**Features:**
* **Customizable Dates:** Easily input and manage dates for FOMC, CPI, and Halving events for current and future years (2025, 2026, and beyond for Halvings).
* **Visual Cues:** Displays vertical lines on the chart at the precise time of each event.
* **Event Labels:** Shows clear labels (e.g., "FOMC", "CPI", "Halving") for each event line.
* **Color Coding:** Distinct colors for FOMC (blue), CPI (orange), and Halving (purple) events for quick identification.
* **Future Events Focus:** Option to display only upcoming events relative to the current real time.
* **Morning Alerts:** (Optional) Triggers an alert on the morning of a scheduled event, providing a timely reminder.
* **Customizable Appearance:** Adjust line width and toggle label visibility.
**How to Use:**
1. Add the indicator to your TradingView chart.
2. Review and update the input dates for FOMC, CPI, and Halving events in the indicator settings. The script includes placeholders and notes for future dates that may require verification from official sources (e.g., federalreserve.gov, bls.gov).
3. Customize colors, line width, label visibility, and alert preferences as needed.
4. Observe the vertical lines on your chart indicating upcoming economic events.
This tool is designed for traders and investors who want to incorporate awareness of major economic events into their market analysis. Remember to verify future event dates as they are officially announced.
Created by YouNesta