Cryptogenik's Inflation-Adjusted Candles v2025Inflation-Adjusted Price Indicator by Cryptogenik
This indicator adjusts price data for inflation, allowing you to visualize how stock/asset prices would look with constant purchasing power. By using Consumer Price Index (CPI) data from FRED, it transforms nominal prices into inflation-adjusted values that reflect real-world purchasing power.
What This Indicator Does
The Inflation-Adjusted Price indicator converts traditional price charts to show what prices would be if the purchasing power of currency remained constant. This is essential for long-term analysis, as it removes the distortion caused by inflation when comparing prices across different time periods.
Key Features
Displays inflation-adjusted price candles alongside original prices
Uses official CPI data from the Federal Reserve (FRED:CPIAUCSL)
Allows easy comparison between nominal and real prices
Helps identify true price movements by filtering out the effects of inflation
Perfect for long-term investors and macroeconomic analysis
How To Use It
Apply the indicator to any chart
Green/red candles show the inflation-adjusted prices
Gray line shows the original unadjusted price
The information label displays the current CPI value
This indicator is particularly valuable for analyzing stocks, commodities, and other assets over periods of 5+ years, where inflation effects become significant. It helps answer the question: "Has this asset truly increased in value, or is the price increase just reflecting inflation?"
Technical Details
The indicator calculates adjusted prices using the formula: (price / CPI) * 100, which effectively shows prices as a percentage of current purchasing power. This approach normalizes all prices to a consistent standard, making historical comparisons more meaningful.
Cryptogenik's Inflation-Adjusted Candles v2025
دورات
TestMA-STATEOverview:
This Pine Script (version 6) is designed to generate trading events based on moving average (MA) behavior and dynamically calculated percentiles. It leverages a custom state machine library (version 7) from decrypt_capital to track and manage state transitions related to MA conditions, and it triggers alerts (and optionally, chart labels) when specific state transitions occur.
Key Components:
License & Metadata:
The script is distributed under the Mozilla Public License 2.0.
It carries copyright by decrypt_capital.
The title ("TestMA-STATE") and short title ("MA-STATE") are defined, and the script runs on an overlay with extended backtracking and drawing limits.
State Machine Integration:
The script imports the lib_statemachine_modified library (version 7) using the alias modSM.
A persistent state machine instance (MovingAverageDirection_SM) is created to manage various MA-related states.
Several state constants are defined to represent different market conditions, such as:
MA_SHORT_ABOVE_OVERBOUGHT: When the short MA low is above the overbought threshold.
MA_SHORT_CROSSUNDER_MID & MA_SHORT_CROSSUNDER_BIG: Conditions for bearish crossunders.
MA_SHORT_BELOW_OVERSOLD: When the short MA high is below the oversold threshold.
MA_SHORT_CROSSOVER_MID & MA_SHORT_CROSSOVER_BIG: Conditions for bullish crossovers.
Inputs & MA Calculation:
Users can choose the type of moving average (EMA, SMA, WMA, VWMA) and adjust lengths for short, mid, and big MAs.
Additional inputs include lookback length for percentile calculations and percentile thresholds for determining overbought and oversold boundaries.
The script computes:
Short MA Low and High: Based on the low and high series.
Mid MA and Big MA: Based on the average price (ohlc4).
Dynamic Percentile Boundaries:
Two functions (f_getPercentile() and f_getPercentileArr()) calculate dynamic percentile values from the MA data.
These functions determine the oversold and overbought boundaries used in the state transition conditions.
Timestamp & Alert Header Formatting:
A helper function (f_formatTimestamp()) formats timestamps into a human-readable form (e.g., "Tue 12 Mar 16:30").
This formatted time, along with ticker information and other details, is used to build an alert header.
State Transitions & Alerts:
The script calls the state machine’s step() method multiple times with conditions based on the relationship between MA values and the percentile boundaries.
For example:
A bullish condition is triggered when the short MA low moves above the overbought threshold.
A bearish condition is triggered when the short MA high falls below the oversold boundary.
Transitions are further refined by checking if the MA is rising or falling.
When specific state transitions occur (e.g., MA_SHORT_CROSSOVER_MID after MA_SHORT_BELOW_OVERSOLD), the script:
Checks that the transition is recent (using the barsSinceState() method).
Optionally creates a label on the chart.
Triggers an alert with a descriptive message.
Chart Plotting:
The script plots the calculated moving averages (short, mid, and optionally big) on the chart.
It also plots the dynamic percentile boundaries for visual reference.
Purpose & Usage:
Trading Signal Generation:
The primary goal is to monitor key MA conditions and trigger alerts when significant crossovers or crossunders occur. These events—such as bullish crossovers when the market recovers from oversold conditions or bearish crossunders when the market retracts from overbought conditions—can be used as trading signals.
Visualization:
Users have options to display the various moving averages and percentile boundaries directly on the chart, as well as optional labels that mark when an alert is generated.
Alerting:
When specific state transitions are detected, the script constructs and sends an alert message with a timestamp, ticker, and descriptive text, aiding traders in making timely decisions.
Open & Close PriceShows open and closing price; controls for extensions. Toggles for visibility.
Shades opening day gap, controls for extensions. Toggles for visibility.
Does not work for hourly or above as opening price is set to 9:30 am eastern which does not appear on the axis for hourly or above. And I'm not a coder.
But for sub hourly charts - it's an easy tool I've been looking for for a while just for myself.
It's imperfect; but sharing for anyone that was looking for something similar.
GRID EXTENSIONGRID EXTENSION
Overview
The GRID EXTENSION is a simple grid-based indicator for TradingView, built with Pine Script v6. It plots horizontal price levels starting from a user-defined anchor price, with spacing set by a tick increment. Use it to identify key support, resistance, or price zones on charts for Crypto, Forex, or Futures.
Key Features
Custom Grid Levels: Plot up to 22 levels (e.g., 0, 0.25, 1.25, -2.50) with options to show/hide, set values, and choose colors.
Market-Specific Tick Increments: Select your asset type (Crypto, Forex, Futures) and choose from a range of tick increments tailored for each market:
Crypto: 1 to 5000 ticks (e.g., 100 ticks = $0.001 on ADA/USD, 5000 ticks = $50 on BTC/USD).
Forex: 5 to 5000 ticks (e.g., 100 ticks = 1 pip on EUR/USD, 5000 ticks = 50 pips).
Futures: 1 to 2500 ticks (e.g., 25 ticks = 6.25 points on E-mini S&P 500, $312.50 per contract).
Visual Options:
Extend lines to the right.
Show price and level labels (as values or percentages).
Place labels on the left or right.
Adjust background transparency for filled areas between levels.
How to Use
Set Asset Type: Choose "Crypto," "Forex," or "Futures" to match your chart.
Set Anchor Price: Enter a starting price for the grid.
Pick Tick Increment: Select a tick increment from the dropdown, following the guidance for your asset type (see Key Features).
Customize Levels: Turn levels on/off, set values, and pick colors.
Add to Chart: Apply the indicator to see the grid on your chart.
Tips
Use levels to mark support/resistance zones for entries or exits.
Extend lines to project future price zones.
Choose smaller increments (e.g., 5 ticks) for scalping, or larger ones (e.g., 1000 ticks) for swing trading.
Combine with indicators like moving averages for better signals.
Settings
Asset Type: Select "Crypto," "Forex," or "Futures" (default: "Crypto").
Anchor Price: Starting price for the grid (default: 0.0).
Tick Increment: Space between levels (options: 1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000). Choose based on asset type.
Extend Right: Extend lines to the right (default: true).
Show Prices: Show price labels (default: true).
Show Levels: Show level values or percentages (default: true).
Format: Display levels as "Values" or "Percent" (default: "Values").
Labels Position: Place labels on "Left" or "Right" (default: "Left").
Background Transparency: Set transparency for filled areas (default: 100, range 0-100).
Level Options: Enable/disable levels, set values, and choose colors.
Notes
Set the anchor price to a key level (like a recent high or low) for best results.
Check the tick increment tooltip to ensure the spacing suits your market type.
Works on any chart, best for clear price trends or ranges.
Acknowledgments
Made with Pine Script v6 for TradingView. This is v1.0—feedback welcome for future updates!
Economic Crises by @zeusbottradingEconomic Crises Indicator by @zeusbottrading
Description and Use Case
Overview
The Economic Crises Highlight Indicator is designed to visually mark major economic crises on a TradingView chart by shading these periods in red. It provides a historical context for financial analysis by indicating when major recessions occurred, helping traders and analysts assess the performance of assets before, during, and after these crises.
What This Indicator Shows
This indicator highlights the following major economic crises (from 1953 to 2020), which significantly impacted global markets:
• 1953 Korean War Recession
• 1957 Monetary Tightening Recession
• 1960 Investment Decline Recession
• 1969 Employment Crisis
• 1973 Oil Crisis
• 1980 Inflation Crisis
• 1981 Fed Monetary Policy Recession
• 1990 Oil Crisis and Gulf War Recession
• 2001 Dot-Com Bubble Crash
• 2008 Global Financial Crisis (Great Recession)
• 2020 COVID-19 Recession
Each of these periods is shaded in red with 80% transparency, allowing you to clearly see the impact of economic downturns on various financial assets.
How This Indicator is Useful
This indicator is particularly valuable for:
✅ Comparative Performance Analysis – It allows traders and investors to compare how different assets (e.g., Gold, Silver, S&P 500, Bitcoin) performed before, during, and after major economic crises.
✅ Identifying Market Trends – Helps recognize recurring patterns in asset price movements during times of financial distress.
✅ Risk Management & Strategy Development – Understanding how markets reacted in the past can assist in making better-informed investment decisions for future downturns.
✅ Gold, Silver & Bitcoin as Safe Havens – Comparing precious metals and cryptocurrencies against traditional stocks (e.g., SPY) to analyze their performance as hedges during economic turmoil.
How to Use It in Your Analysis
By overlaying this indicator on your Gold, Silver, SPY, and Bitcoin chart (for example), you can quickly spot historical market reactions and use that insight to predict possible behaviors in future downturns.
⸻
How to Apply This in TradingView?
1. Click on Use on chart under the image.
2. Overlay it with Gold ( OANDA:XAUUSD ), Silver ( OANDA:XAGUSD ), SPY ( AMEX:SPY ), and Bitcoin ( COINBASE:BTCUSD ) for comparative analysis.
⸻
Conclusion
This indicator serves as a powerful historical reference for traders analyzing asset performance during economic downturns. By studying past crises, you can develop a data-driven investment strategy and improve your market insights. 🚀📈
Let me know if you need any modifications or enhancements!
CCI with Signals & Divergence [AIBitcoinTrend]👽 CCI with Signals & Divergence (AIBitcoinTrend)
The Hilbert Adaptive CCI with Signals & Divergence takes the traditional Commodity Channel Index (CCI) to the next level by dynamically adjusting its calculation period based on real-time market cycles using Hilbert Transform Cycle Detection. This makes it far superior to standard CCI, as it adapts to fast-moving trends and slow consolidations, filtering noise and improving signal accuracy.
Additionally, the indicator includes real-time divergence detection and an ATR-based trailing stop system, helping traders identify potential reversals and manage risk effectively.
👽 What Makes the Hilbert Adaptive CCI Unique?
Unlike the traditional CCI, which uses a fixed-length lookback period, this version automatically adjusts its lookback period using Hilbert Transform to detect the dominant cycle in the market.
✅ Hilbert Transform Adaptive Lookback – Dynamically detects cycle length to adjust CCI sensitivity.
✅ Real-Time Divergence Detection – Instantly identifies bullish and bearish divergences for early reversal signals.
✅ Implement Crossover/Crossunder signals tied to ATR-based trailing stops for risk management
👽 The Math Behind the Indicator
👾 Hilbert Transform Cycle Detection
The Hilbert Transform estimates the dominant market cycle length based on the frequency of price oscillations. It is computed using the in-phase and quadrature components of the price series:
tp = (high + low + close) / 3
smooth = (tp + 2 * tp + 2 * tp + tp ) / 6
detrender = smooth - smooth
quadrature = detrender - detrender
inPhase = detrender + quadrature
outPhase = quadrature - inPhase
instPeriod = 0.0
deltaPhase = math.abs(inPhase - inPhase ) + math.abs(outPhase - outPhase )
instPeriod := nz(3.25 / deltaPhase, instPeriod )
dominantCycle = int(math.min(math.max(instPeriod, cciMinPeriod), 500))
Where:
In-Phase & Out-Phase Components are derived from a detrended version of the price series.
Instantaneous Frequency measures the rate of cycle change, allowing the CCI period to adjust dynamically.
The result is bounded within a user-defined min/max range, ensuring stability.
👽 How Traders Can Use This Indicator
👾 Divergence Trading Strategy
Bullish Divergence Setup:
Price makes a lower low, while CCI forms a higher low.
Buy signal is confirmed when CCI shows upward momentum.
Bearish Divergence Setup:
Price makes a higher high, while CCI forms a lower high.
Sell signal is confirmed when CCI shows downward momentum.
👾 Trailing Stop & Signal-Based Trading
Bullish Setup:
✅ CCI crosses above -100 → Buy signal.
✅ A bullish trailing stop is placed at Low - (ATR × Multiplier).
✅ Exit if the price crosses below the stop.
Bearish Setup:
✅ CCI crosses below 100 → Sell signal.
✅ A bearish trailing stop is placed at High + (ATR × Multiplier).
✅ Exit if the price crosses above the stop.
👽 Why It’s Useful for Traders
Hilbert Adaptive Period Calculation – No more fixed-length periods; the indicator dynamically adapts to market conditions.
Real-Time Divergence Alerts – Helps traders anticipate market reversals before they occur.
ATR-Based Risk Management – Stops automatically adjust based on volatility.
Works Across Multiple Markets & Timeframes – Ideal for stocks, forex, crypto, and futures.
👽 Indicator Settings
Min & Max CCI Period – Defines the adaptive range for Hilbert-based lookback.
Smoothing Factor – Controls the degree of smoothing applied to CCI.
Enable Divergence Analysis – Toggles real-time divergence detection.
Lookback Period – Defines the number of bars for detecting pivot points.
Enable Crosses Signals – Turns on CCI crossover-based trade signals.
ATR Multiplier – Adjusts trailing stop sensitivity.
Disclaimer: This indicator is designed for educational purposes and does not constitute financial advice. Please consult a qualified financial advisor before making investment decisions.
Sniper Trade Pro (ES 15-Min) - Topstep Optimized🔹 Overview
Sniper Trade Pro is an advanced algorithmic trading strategy designed specifically for E-mini S&P 500 (ES) Futures on the 15-minute timeframe. This strategy is optimized for Topstep 50K evaluations, incorporating strict risk management to comply with their max $1,000 daily loss limit while maintaining a high probability of success.
It uses a multi-confirmation approach, integrating:
✅ Money Flow Divergence (MFD) → To track liquidity imbalances and institutional accumulation/distribution.
✅ Trend Confirmation (EMA + VWAP) → To identify strong trend direction and avoid choppy markets.
✅ ADX Strength Filter → To ensure entries only occur in trending conditions, avoiding weak setups.
✅ Break-Even & Dynamic Stop-Losses → To reduce drawdowns and protect profits dynamically.
This script automatically generates Buy and Sell signals and provides built-in risk management for automated trading execution through TradingView Webhooks.
🔹 How Does This Strategy Work?
📌 1. Trend Confirmation (EMA + VWAP)
The strategy uses:
✔ 9-EMA & 21-EMA: Fast-moving averages to detect short-term momentum.
✔ VWAP (Volume-Weighted Average Price): Ensures trades align with institutional volume flow.
How it works:
Bullish Condition: 9-EMA above 21-EMA AND price above VWAP → Confirms buy trend.
Bearish Condition: 9-EMA below 21-EMA AND price below VWAP → Confirms sell trend.
📌 2. Liquidity & Money Flow Divergence (MFD)
This indicator measures liquidity shifts by tracking momentum changes in price and volume.
✔ MFD Calculation:
Uses Exponential Moving Average (EMA) of Momentum (MOM) to detect changes in buying/selling pressure.
If MFD is above its moving average, it signals liquidity inflows → bullish strength.
If MFD is below its moving average, it signals liquidity outflows → bearish weakness.
Why is this important?
Detects when Smart Money is accumulating or distributing before major moves.
Filters out false breakouts by confirming momentum strength before entry.
📌 3. Trade Entry Triggers (Candlestick Patterns & ADX Filter)
To avoid random entries, the strategy waits for specific candlestick confirmations with ADX trend strength:
✔ Bullish Entry (Buy Signal) → Requires:
Bullish Engulfing Candle (Reversal confirmation)
ADX > 20 (Ensures strong trending conditions)
MFD above its moving average (Liquidity inflows)
9-EMA > 21-EMA & price above VWAP (Trend confirmation)
✔ Bearish Entry (Sell Signal) → Requires:
Bearish Engulfing Candle (Reversal confirmation)
ADX > 20 (Ensures strong trending conditions)
MFD below its moving average (Liquidity outflows)
9-EMA < 21-EMA & price below VWAP (Trend confirmation)
📌 4. Risk Management & Profit Protection
This strategy is built with strict risk management to maintain low drawdowns and maximize profits:
✔ Dynamic Position Sizing → Automatically adjusts trade size to risk a fixed $400 per trade.
✔ Adaptive Stop-Losses → Uses ATR-based stop-loss (0.8x ATR) to adapt to market volatility.
✔ Take-Profit Targets → Fixed at 2x ATR for a Risk:Reward ratio of 2:1.
✔ Break-Even Protection → Moves stop-loss to entry once price moves 1x ATR in profit, locking in gains.
✔ Max Daily Loss Limit (-$1,000) → Stops trading if total losses exceed $1,000, complying with Topstep rules.
FinFluential Global M2 Money Supply // Days Offset =The "Global M2 Money Supply" indicator calculates and visualizes the combined M2 money supply from multiple countries and regions worldwide, expressed in trillions of USD.
M2 is a measure of the money supply that includes cash, checking deposits, and easily convertible near-money assets. This indicator aggregates daily M2 data from various economies, converts them into a common USD base using forex exchange rates, and plots the total as a single line on the chart.
It is designed as an overlay indicator aligned to the right scale, making it ideal for comparing global money supply trends with price action or other market data.
Key Features
Customizable Time Offset: Users can adjust the number of days to shift the M2 data forward or backward (from -1000 to +1000 days) via the indicator settings. This allows for alignment with historical events or forward-looking analysis.
Global Coverage Includes:
Eurozone: Eurozone M2 (converted via EUR/USD)
North America: United States, Canada
Non-EU Europe: Switzerland, United Kingdom, Finland, Russia
Pacific: New Zealand
Asia: China, Taiwan, Hong Kong, India, Japan, Philippines, Singapore
Latin America: Brazil, Colombia, Mexico
Middle East: United Arab Emirates, Turkey
Africa: South Africa
CBA Block Tops/Bottoms w/TableHow It Works
Separate Block Sizes & Pre-Calculations: • Two inputs let you set the TOP block size and the BOTTOM block size independently (default both 5). • The script pre-calculates the highest high over the TOP block and the lowest low over the BOTTOM block using ta.highest and ta.lowest.
Horizontal Line Customization: • Users can toggle each horizontal line on or off (via showTopLine and showBottomLine). • Colors, widths, and line styles (Solid, Dotted, or Dashed) for TOP and BOTTOM lines are customizable with separate inputs. • When a block ends, if the corresponding line is enabled, a horizontal line is drawn using the user‑selected parameters.
Array Storage and Averaging: • The script appends each block’s TOP value to the tops array and each BOTTOM value to the bottoms array, keeping their sizes to a maximum defined by the lookback (default 25). • A helper function, f_avg(), safely computes the average of the array values.
Table Display: • A table is created with three columns: an index column (with fixed labels “Active”, “Prev”, “Prev-2”, “Prev-3”, “Prev-4”, “Avg”), a TOP column, and a BOTTOM column. • The first five rows display the most recent TOP and BOTTOM signals (“Active” being the most recent), and the final row shows the average values.
This code gives you full control over both the TOP and BOTTOM block calculations and the appearance of their horizontal lines, all while presenting the data in an informative table.
Prior HTF Range Levels [promuckaj]Prior HTF Range Levels - Indicator developed with idea to mark you prior HTF range levels, including high, low, EQ, 25% and 75% of the range.
There is option to choose desired HTF, by default it is 1H.
Every time when price breach high or low of the prior range there is option to mark the respective bar for you.
It will mark only the first break of the range. There is also option to activate separately alerts for breach of the high or low of the range.
There is option to set % time of HTF range, how many % of time could pass before the breach. For example, 30% of HTF range(1H) means that if you are on 1m chart there must be breach in the first 20 candles on 1m chart because 1H HTF range contain 60x 1m candles, while first 20 is 30% of HTF candle. This could be really useful due to some statistical facts that a lot of traders is using first 30% of a new formed range to break high or low.
There is also countdown that will allow you at real time to see how much bars on your LTF is left until end of a forming new HTF range. There is option to set two colors for this label (red/green by default) which will allow you quickly to see where you are at the moment.
In example below green color means that we are still < 30% of a new forming range, since we set 30% as our threshold, while number is showing us how much bars need to be printed for a new range.
After some time color will change to red since we are now > 30% of a new forming range, and red could means that we are not interesting anymore in prior range.
For all lines, high/low, EQ, 25% and 75% there is option to customize it separately, which means you can set different color, width of line, style of line and size of labels.
Everyone enjoy !
OPEX & VIX Expiry Markers (Past, Present, Future)Expiry Date Indicator for Options & Index Traders
Track Key Expiration Dates Automatically
For traders focused on options, indices, and expiration-based strategies, staying aware of key expiration dates is essential. This TradingView indicator automatically plots OPEX, VIX Expiry, and Quarterly Expirations on your charts—helping you plan trades more effectively without manual tracking.
Features:
✔ OPEX Expiration Markers – Highlights the third Friday of each month, when equity and index options expire.
✔ VIX Expiration Tracking – Marks Wednesday VIX expirations, useful for volatility-based trades.
✔ Quarterly Expiration Highlights – Identifies major market expiration cycles for better trade management.
✔ Live Countdown to Next OPEX – Displays how many days remain until the next expiration.
✔ Works on Any Timeframe – Past, present, and future expiration dates update dynamically.
✔ Customizable Settings – Enable or disable specific features based on your trading style.
Ideal for Traders Who Use:
📈 SPX / SPY / NDX / VIX Options Strategies
📅 Iron Condors, Credit Spreads, and Expiration-Based Trades
This tool helps traders stay ahead of expiration cycles, ensuring they never miss an important date. Simple, effective, and built for seamless integration into your trading workflow.
This keeps it professional and to the point without overhyping it. Let me know if you'd like any further refinements! 🚀
Option Value/Time Value DifferenceThis indicator calculates and visualizes the difference between two option contracts (either their time value or option value) based on a user-selected underlying instrument (e.g., NIFTY 50). It fetches real-time data for the underlying and the two specified options, computes their intrinsic and time values, and plots either the time value or option value (ask price) along with their difference. A customizable table displays key details, including strike prices, option types (Call/Put), and the selected values, with a dark mode option for better visibility.
Key Features:
Flexible Plotting: Choose to plot and display either the Time Value (option price minus intrinsic value) or the Option Value (ask price) for two option strikes.
Difference Calculation: Plots the difference between the two options’ selected values (time value or option value) as a distinct line.
Dynamic Table: Shows strike prices, option types (CE/PE), and the selected values (time value or option value) for both options, plus their difference.
Dark Mode Support: Toggle between light and dark themes for the table display.
Real-Time Data: Uses TradingView’s request.security to fetch live prices for the underlying and options.
Use Case:
This script is ideal for options traders who want to compare two strikes (e.g., a Call and a Put, or two Calls/Puts at different strikes) and analyze their time value or option value differences in real-time. It’s particularly useful for strategies like spreads, straddles, or strangles.
How to Use
Add to Chart:
Open TradingView, go to the Pine Editor, paste this script, and click “Add to Chart.”
Configure Inputs:
Underlying Instrument: Enter the symbol of the underlying asset (e.g., NSE:NIFTY for NIFTY 50).
Option Instrument 1: Enter the symbol of the first option (e.g., NSE:NIFTY250327C24000 for a Call expiring March 27, 2025, at strike 24000).
Option Instrument 2: Enter the symbol of the second option (e.g., NSE:NIFTY250327C24500 for a Call at strike 24500).
Plot Type: Select either Time Value (default) or Option Value to determine what is plotted and displayed.
Dark Mode: Check this box to switch the table to a dark theme (default is light).
Interpret Outputs:
Chart Lines:
Blue Line: Value of the first option (time value or option value, based on selection).
Red Line: Value of the second option.
Purple Line: Difference between the two options’ values.
Table (Middle-Left Position):
Row 1: Strike price and type (CE/PE) of the first option.
Row 2: Strike price and type of the second option.
Row 3: Selected value (time value or option value) of the first option.
Row 4: Selected value of the second option.
Row 5: Difference between the two options’ values.
Adjust Settings:
Modify the input symbols or plot type via the indicator’s settings to suit your analysis needs.
Inputs
Underlying Instrument (Symbol, Default: NSE:NIFTY):
The ticker symbol of the underlying asset (e.g., NIFTY 50 index).
Option Instrument 1 (Symbol, Default: NSE:NIFTY250327C24000):
The ticker symbol of the first option contract. Must follow a format like NSE:NIFTY (e.g., Call at 24000).
Option Instrument 2 (Symbol, Default: NSE:NIFTY250327C24500):
The ticker symbol of the second option contract (e.g., Call at 24500).
Plot Type (String, Options: Time Value, Option Value, Default: Time Value):
Choose whether to plot and display the Time Value (option price minus intrinsic value) or the Option Value (ask price).
Dark Mode (Boolean, Default: false):
Enable for a dark-themed table; disable for a light theme.
Outputs
Plotted Lines:
Value 1 (Blue): Time value or option value of the first option, depending on the Plot Type.
Value 2 (Red): Time value or option value of the second option.
Difference (Purple): The difference between Value 1 and Value 2 (e.g., Time Value 1 - Time Value 2).
Table Display:
Strike prices and option types (Call/Put) for both options.
Selected values (time value or option value) for each option.
The difference between the two options’ selected values.
Opening Price Deviations with AlertsOverview
The Timeframe Opening Price Deviations indicator helps traders visualize how price deviates from a key reference point—the opening price of a selected timeframe (Daily, Weekly, or Monthly). It calculates upper and lower deviation levels based on a percentage step and plots these levels on the chart. This can help traders identify potential areas of support and resistance.
----------------------------------------------------------------------------------------------------------------------
How It Works
Opening Price Reference:
The script retrieves the opening price of the selected timeframe (Daily, Weekly, or Monthly).
Deviation Levels Calculation:
Five upper and lower deviation levels are calculated based on a percentage step input by the user.
Each level is determined by multiplying the opening price by (1 ± step size).
Visualization
The indicator plots the calculated levels as horizontal lines above and below the opening price.
Labels appear only on the latest bar, displaying the exact price level along with its percentage deviation from the opening price.
User has the option to turn on/off or change the bar colours. If price is within the 1st deviation lines that's considered neutral coloured orange as default. If price is above/below the first deviation levels the bar colours will be green or red.
---------------------------------------------------------------------------------------------------------------------
Potential Use Cases
Support & Resistance Zones 🟢🔴
The deviation levels can act as potential areas where price may reverse or consolidate based on historical price behaviour.
Breakout & Reversion Strategies 📈📉
If price breaks above an upper deviation level, it could indicate momentum continuation.
If price rejects from a level, it might suggest a mean reversion opportunity.
Trend Strength Analysis 🔍
The distance between the price and deviation levels can help traders assess whether a trend is strong (moving away from the opening price) or weak (hovering near the opening price).
Intraday vs. Multi-Timeframe Perspective 🕒
By selecting different timeframes (Daily, Weekly, Monthly), traders can align intraday price movements with higher timeframe reference points for added confluence.
---------------------------------------------------------------------------------------------------------------------
Customization Options
Timeframe Selection: Choose between Daily, Weekly, or Monthly opening prices.
Deviation Step (%): Adjust the step size to control the spacing between deviation levels.
Colour Bars: User Is able to change the colour of the bars.
---------------------------------------------------------------------------------------------------------------------
Alerts
This Indicator also has alerts for when price crosses above/below a deviation line. It will tell you the ticker, price and time
---------------------------------------------------------------------------------------------------------------------
Final Notes
This indicator is purely for technical analysis and should not be used as a standalone trading system. It works best when combined with price action, volume analysis, or other indicators of you're choosing to refine trade decisions.
Happy Trading! 🚀📊
---------------------------------------------------------------------------------------------------------------------
This explanation is clear, informative, and compliant with TradingView’s House Rules.
Quarterly Theory ICT 01 [TradingFinder] XAMD + Q1-Q4 Sessions🔵 Introduction
The Quarterly Theory ICT indicator is an advanced analytical system based on the concepts of ICT (Inner Circle Trader) and fractal time. It divides time into quarterly periods and accurately determines entry and exit points for trades by using the True Open as the starting point of each cycle. This system is applicable across various time frames including annual, monthly, weekly, daily, and even 90-minute sessions.
Time is divided into four quarters: in the first quarter (Q1), which is dedicated to the Accumulation phase, the market is in a consolidation state, laying the groundwork for a new trend; in the second quarter (Q2), allocated to the Manipulation phase (also known as Judas Swing), sudden price changes and false moves occur, marking the true starting point of a trend change; the third quarter (Q3) is dedicated to the Distribution phase, during which prices are broadly distributed and price volatility peaks; and the fourth quarter (Q4), corresponding to the Continuation/Reversal phase, either continues or reverses the previous trend.
By leveraging smart algorithms and technical analysis, this system identifies optimal price patterns and trading positions through the precise detection of stop-run and liquidity zones.
With the division of time into Q1 through Q4 and by incorporating key terms such as Quarterly Theory ICT, True Open, Accumulation, Manipulation (Judas Swing), Distribution, Continuation/Reversal, ICT, fractal time, smart algorithms, technical analysis, price patterns, trading positions, stop-run, and liquidity, this system enables traders to identify market trends and make informed trading decisions using real data and precise analysis.
♦ Important Note :
This indicator and the "Quarterly Theory ICT" concept have been developed based on material published in primary sources, notably the articles on Daye( traderdaye ) and Joshuuu . All copyright rights are reserved.
🔵 How to Use
The Quarterly Theory ICT strategy is built on dividing time into four distinct periods across various time frames such as annual, monthly, weekly, daily, and even 90-minute sessions. In this approach, time is segmented into four quarters, during which the phases of Accumulation, Manipulation (Judas Swing), Distribution, and Continuation/Reversal appear in a systematic and recurring manner.
The first segment (Q1) functions as the Accumulation phase, where the market consolidates and lays the foundation for future movement; the second segment (Q2) represents the Manipulation phase, during which prices experience sudden initial changes, and with the aid of the True Open concept, the real starting point of the market’s movement is determined; in the third segment (Q3), the Distribution phase takes place, where prices are widely dispersed and price volatility reaches its peak; and finally, the fourth segment (Q4) is recognized as the Continuation/Reversal phase, in which the previous trend either continues or reverses.
This strategy, by harnessing the concepts of fractal time and smart algorithms, enables precise analysis of price patterns across multiple time frames and, through the identification of key points such as stop-run and liquidity zones, assists traders in optimizing their trading positions. Utilizing real market data and dividing time into Q1 through Q4 allows for a comprehensive and multi-level technical analysis in which optimal entry and exit points are identified by comparing prices to the True Open.
Thus, by focusing on keywords like Quarterly Theory ICT, True Open, Accumulation, Manipulation, Distribution, Continuation/Reversal, ICT, fractal time, smart algorithms, technical analysis, price patterns, trading positions, stop-run, and liquidity, the Quarterly Theory ICT strategy acts as a coherent framework for predicting market trends and developing trading strategies.
🔵b]Settings
Cycle Display Mode: Determines whether the cycle is displayed on the chart or on the indicator panel.
Show Cycle: Enables or disables the display of the ranges corresponding to each quarter within the micro cycles (e.g., Q1/1, Q1/2, Q1/3, Q1/4, etc.).
Show Cycle Label: Toggles the display of textual labels for identifying the micro cycle phases (for example, Q1/1 or Q2/2).
Table Display Mode: Enables or disables the ability to display cycle information in a tabular format.
Show Table: Determines whether the table—which summarizes the phases (Q1 to Q4)—is displayed.
Show More Info: Adds additional details to the table, such as the name of the phase (Accumulation, Manipulation, Distribution, or Continuation/Reversal) or further specifics about each cycle.
🔵 Conclusion
Quarterly Theory ICT provides a fractal and recurring approach to analyzing price behavior by dividing time into four quarters (Q1, Q2, Q3, and Q4) and defining the True Open at the beginning of the second phase.
The Accumulation, Manipulation (Judas Swing), Distribution, and Continuation/Reversal phases repeat in each cycle, allowing traders to identify price patterns with greater precision across annual, monthly, weekly, daily, and even micro-level time frames.
Focusing on the True Open as the primary reference point enables faster recognition of potential trend changes and facilitates optimal management of trading positions. In summary, this strategy, based on ICT principles and fractal time concepts, offers a powerful framework for predicting future market movements, identifying optimal entry and exit points, and managing risk in various trading conditions.
GSD by MATAGSD by MATA - Gold-Sensitive Divergence Indicator
Overview:
The GSD by MATA indicator is designed to analyze the inverse correlation between an instrument’s price movement and gold (XAU/USD) over a selected time period. It helps traders identify whether the instrument tends to move in the opposite direction of gold, providing insights into potential hedging opportunities or market sentiment shifts.
How It Works:
User-Defined Time Period:
The user selects a time frame for comparison (1 Day, 1 Week, 1 Month, 3 Months, 6 Months, or 12 Months).
The indicator calculates the percentage change in both the instrument’s price and gold price over this period.
Inverse Movement Calculation:
If gold increases and the instrument decreases, the indicator registers a negative inverse change.
If gold decreases and the instrument increases, the indicator registers a positive inverse change.
If both move in the same direction, no inverse movement is recorded.
Cumulative Tracking:
The Reverse Change line shows the instant inverse movement.
The Total Change line accumulates the inverse movements over time, helping traders spot trends and long-term divergences.
How to Use:
A rising Total Change line (green) suggests that the instrument frequently moves in the opposite direction of gold, indicating a possible hedge effect.
A falling Total Change line (red) means the instrument has been moving in sync with gold rather than diverging.
The 0 reference line helps identify whether the cumulative effect is positive or negative over time.
SRT - NK StockTalkSRT stands for Speculation Ratio Territory. It's a technique used in the stock market to identify the top and bottom of an index, which helps define the buying and selling zones.
Here's a brief overview of how it works:
Calculation: The SRT value is calculated by dividing the index value (like Nifty) by the 124-day Simple Moving Average (SMA) on a daily chart.
Range: The SRT value typically ranges between 0.6 (bottom) and 1.5 (top)2.
Investment Strategy:
Buying Zone: Ideal entry points are when the SRT value is between 0.6 and 0.9.
Selling Zone: It's recommended to start booking profits when the SRT value is above 1.3 and exit when it reaches around 1.4
This method helps investors make informed decisions about when to enter or exit the market, aiming for better returns and reduced risks.
ThePawnAlgoPROThe Pawn algo PRO is an automated strategy that is useful to trade retracements and expansions using any higher timeframe reference.
Why is useful?
This algorithm is helpful to trade with the higher timeframe Bias and to see the HTF manipulations of the highs or lows once the candle open, usually in a normal buy candle will be a manipulation lower to end up higher. In a normal sell candle will be a manipulation higher to close lower. Once the potential direction of the Higher time frame candle is clear the algo will just enter on a trade on the lower timeframe aligned with the higher timeframe trend.
You can select any HTF you want from 1-365Days, 1-12Months or 1-52W ranges. Making this algorithm very flexible to adapt to any trader specialized timeframe.
How it works and how it does it?
It works with a simple but powerful pattern a close above previous candle high means higher prices and a close below previous candle low means lower prices, Close inside previous candle range means price is going to consolidate do some kind of retracement or reversal. The algo plots the candles with different colors to identify each of these states. And it does this in the HTF range plot.
This algo is similar to the previously released Pawn algo with the additional features that is an automated strategy that can take trade using desired risk reward and different entry types and trade management options. When the simple pattern is detected.
Also this version allows to plot the current developing HTF levels meaning the high, low and the 50%, plus the first created FVG(fair value gap introduced by ICT) in the range allowing to easily track any change in the potential direction of the HTF candle.
How to use it?
First select a higher timeframe reference and then select a lower timeframe, to visualize it better is recommended that the LTF is at least 10 times lower. Default HTF is 1 Week and LTF is 60min for trading the weekly expansions intraday.
Then we configure the HTF visualization it can be configure to show different HTF levels the premium/discount, wicks midpoints, previous levels, actual developing range or both. The Shade of the HTF range can be the body or the whole HTF range.
After that we configure the automated entries we can chose between buys only ,sell only entries or both and minimum risk reward to take a trade. Default value is 1.8RR and both entries selected. We can choose the maximum Risk Reward to avoid unrealistic targets default is 10RR. The maximum trades per HTF candle is also possible to select around this section.
Then we got the option to select which type of trade you want to take a trade around the open, the 50% or 75-80% or around the previous High for shorts or Low for longs. And off course the breakout entry that is for taking expansions outside previous HTF range. The picture below showcase an option using only entries on previous candles High or lows and 1Day as a HTF. You can also see the actual and previous HTF levels plotted.
Is important to take into account that these default settings are optimized for the MNQ! the 1W and 1H timeframes, but traders can adjust these settings to their desire timeframes or market and find a profitable configuration adjusting the parameters as they prefer. Initial balance, order size and commissions might be needed to be configured properly depending of the market. The algo provides a dashboard that make it easy to find a profitable configuration. It specifies the total trades, ARR that is an approximate value of the accumulative risk reward assuming all loses are 1R. The profit factor(PF) and percent profitable trades(PP) values are also available plus consecutives take profits and consecutives loses experimented in the simulation.
Finally there is an option to allow the algo to just trade following the direction of the trend if you just want to use it for sentiment or potential trend detection, this will place a trade in the most probable direction using the HTF reference levels, first FVG and LTF price action.
In the picture below you can see it in action in the 1min chart using 1H as HTF. When its trending works pretty well but when is consolidating is better to avoid using this option. Configuration below uses a time filter with the macro times specified by ICT that is also an available filter for taking trades. And the risk reward is set to minimum 2RR.
The cyan dotted line is the stop loss and the blue one above is the take profit level. The algo allows for different ways to exit in this case is using exit on a reversal, but can also be when the take profit is hit, or in a retracement. For the stop loss we can chose to exit on a close, reversal or when price hit the level.
Strategy Results
The results are obtained using 2000usd in the MNQ! 1 contract per trade. Commission are set to 2USD,slippage to 1tick,
The backtesting range is from April 19 2021 to the present date that is march 2025 for a total of 180 trades, this Strategy default settings are designed to take trades on retracements only, in any of the available options meaning around 50% to the extreme HTF high or low following the HTF trend, but can only take 2 trades per HTF candle and the risk reward must be minimum 1.8RR and maximum 8RR. Break even is set when price reaches 2RR and the exit on profit is on a reversal, and for loses when the stop is hit. The HTF range is 1 Week and LTF is 1H. The strategy give decent results, makes around 2 times the money is lost with around 30% profitable. It experiments drawdown when the market makes quick market structure shifts or consolidates for long periods of time. So should be used with caution, remember entries constitute only a small component of a complete winning strategy. Other factors like risk management, position-sizing, trading frequency, trading fees, and many others must also be properly managed to achieve profitability. Past performance doesn’t guarantee future results.
Summary of features
-Take advantage of market fractality select HTF from 1-365Days, 1-12Months or 1-52W ranges
-Easily identify manipulations in the LTF using any HTF key levels, from previous or actual HTF range
-LTF Candles and shaded HTF boxes change color depending of previous candle close and price action
-Plot the first presented FVG of the selected HTF range plus 50% developing range of the HTF
-Configurable automated trades for retracements into the previous close, around 50%,75-80% or using the HTF high or low
-Option to enable automated breakout entries for expansions of the HTF range
-Trend follower algo that automatically place a trade where is likely to expand.
-Time filter to allow only entries around the times you trade or the macro times.
-Risk Reward filter to take the automated trades with visible stop and take profit levels
- Customizable trade management take profit, stop, breakeven level with standard deviations
-Option to exit on a close, retracement or reversal after hitting the take profit level
-Option to exit on a close or reversal after hitting stop loss
-Dashboard with instant statistics about the strategy current settings
Crypto Market Session Guide with Local TimeMaster the Markets with the Ultimate Trading Session Indicator
Timing is everything in trading. Knowing when liquidity is at its peak and when market sessions overlap can make all the difference in your strategy. This Market Session Guide Indicator helps you navigate the trading day with real-time session tracking, countdown timers, and local time adjustments—giving you a clear edge in the market.
Key Features
Live Session Tracking – Instantly see which trading session is active: Asian, European, US, or the high-volatility EU-US overlap.
Automatic Local Time Conversion – No need to convert UTC manually—session times adjust automatically based on your TradingView exchange settings.
Daylight Saving Time Adjustments – The US market opening and closing times are automatically adjusted for summer and winter shifts.
Countdown Timer for Session Close – Know exactly when the current session will end so you can time your trades effectively.
Next Market Opening Display – Always be prepared by knowing which market opens next and at what exact time in your local timezone.
Clear Visual Guide – A structured table in the top-right of your chart provides all essential session details without cluttering your screen.
How It Works
This indicator tracks the three main trading sessions:
Asian Session (Tokyo, Sydney): 00:00 - 09:00 UTC
European Session (London, Frankfurt): 07:00 - 16:00 UTC
US Session (New York, Chicago): 13:30 - 22:00 UTC (adjusts automatically for Daylight Saving Time)
EU-US Overlap: 12:00 - 16:00 UTC, the most volatile period of the trading day
It also highlights when a session is about to close and when the next one will begin, ensuring you are always aware of liquidity shifts in the market.
Why You Need This Indicator
Optimized for Forex, Crypto, and Indices – Helps traders align their strategies with the most active market hours.
Ideal for Scalping and Day Trading – Enter trades during peak volatility to maximize opportunities.
Eliminates Guesswork – Stop manually tracking time zones and market schedules—everything updates dynamically for you.
Upgrade Your Trading Strategy Today
This indicator simplifies market timing, ensuring you're always trading when liquidity and volatility are at their highest. Whether you're trading Forex, Crypto, or Stocks, knowing when markets open and close is essential for making informed decisions.
Try it out, and if you find it useful, consider sharing it with other traders. Your feedback is always welcome!
Accumulation & Breakout Detectorاستراتيجية كشف التجميع والاستعداد للانطلاق
الوصف العام:
تهدف هذه الاستراتيجية إلى اكتشاف الأصول المالية (الأسهم أو العملات الرقمية) التي تمر بمرحلة التجميع، حيث يتحرك السعر في نطاق ضيق مع انخفاض في حجم التداول، مما يشير إلى احتمال قرب حدوث انطلاق صعودي. بمجرد تحقق شروط معينة، تعطي الاستراتيجية إشارة تفيد بأن الأصل المالي جاهز للخروج من التجميع والانطلاق في اتجاه صاعد.
شروط التجميع (Accumulation Phase):
تشير مرحلة التجميع إلى فترة يتم فيها تكديس الأصول من قبل المستثمرين الكبار قبل التحرك الكبير. تحدث إشارات التجميع عندما تتحقق الشروط التالية:
السعر يتحرك داخل نطاق ضيق بين الحد العلوي والسفلي لمؤشر بولينجر باند.
السعر أقل من المتوسط المتحرك 50 والمتوسط المتحرك 200، مما يدل على وجود اتجاه هابط أو فترة تكديس.
مؤشر القوة النسبية (RSI) أقل من 40، مما يشير إلى التشبع البيعي واحتمالية حدوث انعكاس قريب.
حجم التداول أقل من متوسط حجم التداول (50 شمعة) بنسبة 1.2، مما يدل على انخفاض الاهتمام بالأصل قبل الحركة القوية.
عند تحقق هذه الشروط، يظهر نقطة زرقاء على المخطط، مما يشير إلى أن الأصل المالي قد يكون في مرحلة تجميع.
شروط قرب الانطلاق (Breakout Readiness Phase):
عند انتهاء مرحلة التجميع، يدخل الأصل المالي في مرحلة الاستعداد للانطلاق، والتي تحدث عند تحقق الشروط التالية:
السعر يخترق المتوسط المتحرك 50، مما يدل على بداية اتجاه صعودي.
حجم التداول يرتفع فوق متوسط حجم التداول (50 شمعة) بنسبة 1.5، مما يشير إلى دخول سيولة قوية.
مؤشر القوة النسبية (RSI) يتجاوز 50، مما يعكس تحسن الزخم الصعودي.
عند تحقق هذه الشروط، تظهر نقطة خضراء على المخطط، مما يشير إلى أن الأصل المالي جاهز للانطلاق.
كيفية استخدام الإشارات؟
النقاط الزرقاء تعني أن الأصل المالي في مرحلة تجميع محتملة، وقد يكون من المناسب مراقبته استعدادًا لحركة قادمة.
النقاط الخضراء تعني أن الأصل المالي جاهز للخروج من التجميع وقد يكون في طريقه للانطلاق الصعودي.
يمكن استخدام هذه الإشارات مع أدوات تحليل إضافية مثل مستويات الدعم والمقاومة، النماذج السعرية، أو المؤشرات الأخرى لتأكيد القرار قبل التداول.
🚀 هذه الاستراتيجية مفيدة للمتداولين الذين يبحثون عن فرص دخول مبكرة في الاتجاهات الصاعدة بعد انتهاء فترات التجميع.
Accumulation & Breakout Detection Strategy
General Description:
This strategy aims to identify financial assets (stocks or cryptocurrencies) that are in an accumulation phase, where price moves within a narrow range with low trading volume, signaling a potential breakout. Once certain conditions are met, the strategy provides an alert indicating that the asset is ready to break out and move upward.
Accumulation Phase Conditions:
The accumulation phase occurs when large investors accumulate assets before a significant price move. The strategy detects accumulation when the following conditions are met:
Price moves within a narrow range between the upper and lower Bollinger Bands.
Price is below both the 50-period and 200-period moving averages, indicating a downtrend or consolidation.
Relative Strength Index (RSI) is below 40, suggesting an oversold condition with a possible reversal.
Trading volume is less than 1.2 times the 50-period average volume, indicating weak activity before a strong move.
When these conditions are met, a blue dot appears on the chart, signaling a potential accumulation phase.
Breakout Readiness Phase Conditions:
Once the accumulation phase ends, the asset enters the breakout readiness phase, which occurs when the following conditions are met:
Price breaks above the 50-period moving average, signaling the start of an uptrend.
Trading volume increases above 1.5 times the 50-period average volume, indicating strong liquidity inflow.
RSI rises above 50, reflecting positive momentum and increasing bullish strength.
When these conditions are met, a green dot appears on the chart, indicating that the asset is ready for a breakout.
How to Use the Signals?
Blue dots indicate that the asset is in a potential accumulation phase, suggesting it may soon break out.
Green dots indicate that the asset is ready to break out and move upward.
These signals can be combined with additional technical analysis tools such as support/resistance levels, chart patterns, or other indicators for confirmation before making a trade.
🚀 This strategy is useful for traders looking for early entry points in uptrending markets following accumulation phases.
PriorRange v0.3 [OmarxQQQ/dc_77]PriorRangeLevels is a versatile indicator that plots key price levels based on prior period ranges across multiple timeframes. This tool helps traders identify potential support, resistance, and breakout zones by displaying the High, Low, 75%, 50% (EQ), and 25% levels from the previous period.
Key Features:
- Multi-timeframe analysis from 1-minute to Monthly charts
- Time zone flexibility with options for major global markets (NYC, London, Tokyo, etc.)
- Customizable display for each level (High, Low, 75%, EQ, 25%, Open)
- Clean, organized settings interface with grouped options
- Anchor line marking the start of prior periods
- Current period open price reference
How It Works:
The indicator detects new periods based on your selected timeframe and calculates the range of the previous period. It then plots horizontal lines at the High, Low, and three internal levels (75%, 50%, 25%) extending forward by your specified number of bars. These levels serve as potential support/resistance zones and decision points for your trading strategy.
Trading Applications:
- Use High/Low levels as potential breakout targets or reversal zones
- Monitor price reaction to the EQ (50%) level to gauge trend strength
- Identify intraday support/resistance based on previous period ranges
- Plan entries and exits around established market structure
Each component can be individually customized with different line styles, colors, and widths to match your chart preferences and analytical needs.
Originally created by @dc_77 with enhanced organization, multi-timeframe capabilities, and improved user interface. As Requested by many people.
populi a populo pro populo
GLGT
MacroJP: US Macro Conditions & Forward GuidanceMacroJP is a comprehensive, free-to-use TradingView indicator designed to provide a clear snapshot of the US macroeconomic environment. It consolidates key economic metrics into a single, interactive dashboard, allowing traders and investors to quickly assess current conditions and adjust their portfolio biases accordingly.
How It Works:
• Data Aggregation:
The indicator pulls monthly data from reputable free economic sources—specifically, ISM Manufacturing PMI, US CPI YoY, US M2 Money Supply, and US Treasury yields (10-year and 2-year). This robust dataset forms the backbone of the analysis.
• Composite Calculations:
By calculating a Composite Inflation Indicator (the average of CPI YoY and the yield spread) and evaluating the year-over-year change in M2, MacroJP gauges both the inflationary pressures and liquidity trends in the economy. These composite metrics offer a nuanced view that goes beyond single-indicator analysis.
Regime Classification:
The core strength of MacroJP lies in its quadrant classification system. It categorises the macro environment into four distinct regimes based on the direction of economic growth (derived from PMI) and inflation (from the Composite Inflation Indicator):
• Expansion (Reflation): Indicative of a recovering economy with rising production and moderate inflation—ideal for a bullish equity bias.
• Stagflation Risk: A scenario of weak growth coupled with high inflation, where a defensive posture is recommended.
• Slowdown (Deflationary): Characterised by contracting economic activity and falling prices, suggesting a move towards cash or high-quality bonds.
• Disinflationary Boom: Reflects strong growth with stable or falling inflation—an optimal environment for equities with some bond diversification.
Forward Guidance:
To enhance its predictive capability, MacroJP incorporates leading indicators by shifting key data points. For instance, it uses a forward-shifted M2 YoY value and a one-month shifted CPI proxy to offer insights into near-term trends. This approach helps in anticipating changes, providing a sort of “forward guidance” that can inform strategic asset allocation.
User Education:
The indicator features an intuitive table with on-hover tooltips that explain each metric, its relevance, and recommended investment biases. This educational layer is designed to empower users to not only monitor the economic pulse but also to understand the ‘why’ behind each reading, making it a valuable tool for both novice and experienced investors.
MacroJP brings clarity to complex macroeconomic dynamics, allowing users to make more informed decisions in volatile markets. Its seamless integration of free public data and detailed on-chart annotations makes it an indispensable tool for anyone looking to understand the broader economic context impacting their investments.
— Jaroslav
Order Blocks-[B.Balaei]Order Blocks -
**Description:**
The Order Blocks - indicator is a powerful tool designed to identify and visualize Order Blocks on your chart. Order Blocks are key levels where significant buying or selling activity has occurred, often acting as support or resistance zones. This indicator supports multiple timeframes (MTF), allowing you to analyze Order Blocks from higher timeframes directly on your current chart.
**Key Features:**
1. **Multi-Timeframe Support**: Choose any timeframe (e.g., Daily, Weekly) to display Order Blocks from higher timeframes.
2. **Customizable Sensitivity**: Adjust the sensitivity to detect more or fewer Order Blocks based on market conditions.
3. **Bullish & Bearish Order Blocks**: Clearly distinguishes between bullish (green) and bearish (red) Order Blocks.
4. **Alerts**: Get notified when price enters a Bullish or Bearish Order Block zone.
5. **Customizable Colors**: Personalize the appearance of Order Blocks to match your chart style.
**How to Use:**
1. Add the indicator to your chart.
2. Select your desired timeframe from the "Multi-Timeframe" settings.
3. Adjust the sensitivity and colors as needed.
4. Watch for Order Blocks to form and use them as potential support/resistance levels.
**Ideal For:**
- Swing traders and position traders looking for key levels.
- Traders who use multi-timeframe analysis.
- Anyone interested in understanding market structure through Order Blocks.
**Note:**
This indicator is for educational and informational purposes only. Always conduct your own analysis before making trading decisions.
**Enjoy trading with Order Blocks - !**
Historical Monthly Returns TrackerThe Historical Monthly Returns Tracker is a powerful Pine Script v5 indicator designed to provide a detailed performance analysis of an asset’s monthly returns over time. It calculates and displays the percentage change for each month, aggregated into a structured table. The indicator helps traders and investors identify seasonal trends, recurring patterns, and historical profitability for a selected asset.
Key Features
✅ Historical Performance Analysis – Tracks monthly percentage changes for any asset.
✅ Customizable Start Year – Users can define the beginning year for data analysis.
✅ Comprehensive Data Table – Displays a structured table with yearly returns per month.
✅ Aggregated Statistics – Shows average return, total sum, number of positive months, and win rate (WR) for each month.
✅ Clear Color Coding – Highlights positive returns in green, negative in red, and neutral in gray.
✅ Works on Daily & Monthly Timeframes – Ensures accurate calculations based on higher timeframes.
How It Works
Data Collection:
The script fetches monthly closing prices.
It calculates month-over-month percentage change.
The values are stored in a matrix for further processing.
Table Generation:
Displays a structured table where each row represents a year, and each column represents a month (Jan–Dec).
Monthly returns are color-coded for easy interpretation.
Aggregated Statistics:
AVG: The average return per month across all available years.
SUM: The total cumulative return for each month.
+ive: The number of times a month had positive performance vs. total occurrences.
WR (Win Rate): The percentage of times a month had a positive return.
Use Cases
📈 Seasonality Analysis: Identify which months historically perform better or worse.
📊 Risk Management: Plan trading strategies based on historical trends.
🔍 Backtesting Aid: Support algorithmic and discretionary traders with real data insights.
🔄 Asset Comparison: Compare different stocks, forex pairs, or cryptocurrencies for their seasonal behavior.
How to Use
Apply the Indicator to a chart in TradingView.
Ensure your timeframe is Daily or Monthly (lower timeframes are not supported).
The table will automatically populate based on available historical data.
Analyze the patterns, trends, and win rates to optimize trading decisions.
Limitations
⚠️ Requires a sufficient amount of historical data to provide accurate analysis.
⚠️ Works best on high-liquidity assets (stocks, indices, forex, crypto).
⚠️ Not a predictive tool but rather a historical performance tracker.
Final Thoughts
The Historical Monthly Returns Tracker is an excellent tool for traders seeking to leverage seasonal trends in their strategies. Whether you're a stock, forex, or crypto trader, this indicator provides clear, data-driven insights to help refine entry and exit points based on historical patterns.
🚀 Use this tool to make smarter, more informed trading decisions!