Hippo Battlefield - Bulls VS Bears 20 bars## Hippo Battlefield – Bulls VS Bears (20 Bars)
**What it is**
A multi-dimensional momentum-and-sentiment oscillator that combines classic Bull/Bear Power with ATR- or peak-normalization, then layers on RSI and MACD-derived metrics into:
1. **A colored bar series** showing net Bull+Bear Power strength over the last 20 bars,
2. **A dynamic table** of each of those 20 BBP values (grouped into four 5-bar “quartals”), with symbols, per-bar change, and rolling averages, and
3. **A composite “Weighted BBP” histogram** blending normalized RSI, MACD, and BBP into a single view.
---
### Key Inputs
- **Length (EMA)** – look-back for the underlying EMA (default 60)
- **Normalization Length** – look-back window for peak-normalization (default 60)
- **Use ATR for Norm.** – toggle ATR-based normalization vs. highest-abs(BBP)
- **Show Tables** – toggle the bottom-right 21×11 grid of raw and average BBP values
---
### What You See
#### 1. Colored Bars (Overlay = false)
- Bars are colored by normalized BBP intensity:
- Extreme Bull (≥+10): deep blue
- Strong Bull (+5 to +10): green/yellow
- Weak Bull (+0 to +5): dark green
- Weak Bear (–0 to –5): dark red
- Strong Bear (–5 to –10): pink/red
- Extreme Bear (<–10): magenta
#### 2. Bottom-Right Table (20 Bars of Data)
- Divided into four columns (0–4, 5–9, 10–14, 15–19 bars ago) and one “average” row.
- Each cell shows:
1. Bar index (1–20),
2. Normalized BBP value (to four decimals),
3. Direction symbol (↑/↓/=),
4. Bar-to-bar change (± value),
5. A separator “|”.
- At the very bottom, each column’s 5-bar average is displayed as “Avg: X.XXXX” with a dot marker.
#### 3. Top-Center Mini-Table
- When ≥20 bars have elapsed, shows the date at 20 bars ago and the average BBP across the full 20-bar window.
#### 4. Normalized RSI Line
- Rescales the classic 14-period RSI into a –20…+20 band to align with BBP.
#### 5. MACD Lines (Hidden) & Composite Histogram
- MACD and signal lines are calculated but not plotted by default.
- A “Weighted BBP” histogram combines:
- 20% normalized RSI,
- 20% average of (MACD + signal + normalized BBP),
- 60% normalized BBP
- Plotted as columns, color-coded by strength using the same palette as the main bars.
#### 6. Middle Reference Line
- A horizontal zero line to anchor over/under-zero readings.
---
### How to Use It
- **Trend confirmation**: Strong blue/green bars alongside a rising histogram suggest bull conviction; strong reds/magentas signal bear dominance.
- **Divergence spotting**: Watch for price making new highs/lows while BBP or the histogram fails to follow.
- **Quartal analysis**: The 5-bar group averages can reveal whether recent momentum is accelerating or waning.
- **Cross-indicator weighting**: Because RSI, MACD, and raw BBP all feed into the final histogram, you get a smoothed, blended view of momentum shifts.
---
**Tip:** Tweak the EMA and normalization length to suit your preferred timeframe (e.g. shorter for intraday scalps, longer for swing trades). Enable/disable the table if you prefer a cleaner pane.
Statistics
Quantum Delta Zones with EnhancementsQuantum Delta Zones (QDZ)
Short Title: QDZ
Overview
The Quantum Delta Zones (QDZ) is a unique technical indicator designed to highlight high-probability order block zones in the market based on a combination of Delta Sensitivity, order block tightness, and volume-based filters.
This indicator helps traders to identify key support and resistance levels (bullish and bearish order blocks) that are backed by strong volume and optimal market structure. It employs advanced zone detection and automatic zone management (box creation and deletion) to enhance trade analysis.
The primary objective of QDZ is to provide clear, visually appealing support/resistance zones while factoring in market order flow dynamics, ensuring that you are trading at optimal levels with confirmed volume behind it.
Key Features
Delta Sensitivity: The indicator uses a body-to-range ratio to assess the "delta" between the body and wick of each candlestick, helping to identify strong order block formations based on market sentiment.
Order Block Tightness: A filter is used to detect small, tight order blocks where price action shows accumulation (small body candles) near high-probability levels.
Projection Distance: The ability to project the detected order block zones into the future, providing an idea of where price might react based on historical price action.
Fade Strength: Allows you to adjust the transparency of the projected zones, giving you visual flexibility depending on how prominent you want these order blocks to appear.
Volume Filter: A high-volume filter ensures that only zones with substantial volume (based on a moving average) are considered for box creation, preventing false signals and low-probability trades.
Auto Box Deletion: When the market invalidates a zone (price moves beyond the zone’s projected area), the boxes are automatically deleted to keep the chart clean.
Alerts: Built-in alerts for when a bullish or bearish order block is detected, providing real-time notifications of significant potential trading opportunities.
How it Works
Step-by-Step Explanation:
Delta Sensitivity:
A candlestick is considered "Bullish" if the closing price is above the opening price and the body-to-range ratio is above the user-defined delta Sensitivity.
A candlestick is considered "Bearish" if the closing price is below the opening price with the same body-to-range ratio criteria.
Order Block Tightness:
The indicator looks for tight order blocks, where the body-to-range ratio is below the orderBlock Tightness setting, indicating small candles that may represent accumulation or distribution zones.
Volume Filter:
The indicator applies a filter to check if the volume is above the 50-period simple moving average (SMA) and multiplied by the user-defined volume Multiplier. Only zones with sufficient volume are considered.
Box Creation:
Once a valid order block is detected, the corresponding bullish or bearish box is drawn on the chart. These boxes extend forward by the number of bars specified by projection Bars.
Box Deletion:
If the price moves against the order block (for example, if a bullish box is invalidated when the price closes below its bottom), the box is automatically deleted to keep your chart uncluttered.
Alert System:
Alerts can be set for both bullish and bearish order block detection, notifying traders of the formation of a potential market opportunity.
Inputs / Settings
Delta Sensitivity: The ratio between the candlestick body and its range. Higher values mean stronger bullish/bearish pressure is required to trigger the order block detection.
Order Block Tightness: Defines how tight or small an order block should be to qualify for detection. Smaller values are more sensitive to smaller candlesticks.
Projection Distance: The number of bars into the future that the identified order block should be projected. Useful for seeing potential future support/resistance zones.
Fade Strength: Defines the transparency level of the order block boxes. Higher values result in more transparent boxes, lower values make the boxes more opaque.
Auto Delete: Automatically deletes order blocks if they are invalidated by price action.
Volume Filter: When enabled, only order blocks formed with higher-than-average volume will be considered. This helps eliminate low-probability signals.
Volume Multiplier: Multiplies the average volume by this factor to determine whether the current volume qualifies as "high" for an order block detection.
Visuals
Bullish Order Block: A green box is drawn when a bullish order block is detected. The box is projected forward based on the projection Bars setting.
Bearish Order Block: A red box is drawn when a bearish order block is detected. Similar to the bullish box, it is projected forward.
Fading: Both bullish and bearish boxes fade based on the fade Strength, making the most recent zones more visible while fading out older, less relevant zones.
How to Use in Trading
Bullish Order Block:
A bullish order block is a potential buy area. Once price retraces to the bottom of a detected bullish box, traders may consider it a buy zone, especially if it aligns with other technical factors (e.g., support, trend).
Bearish Order Block:
A bearish order block is a potential sell area. Once price retraces to the top of a detected bearish box, traders may consider it a sell zone, particularly in downtrends or near resistance.
Risk Management:
The projection Bars setting helps to set a clear projection distance. Traders should use their own risk management strategies, such as stop-loss placements below/above the order block zones, and take-profit levels based on market conditions.
Volume Confirmation:
The Volume Filter can be very useful for confirming order blocks. Trading only when an order block is accompanied by high volume ensures the zone has institutional or market-maker backing.
Box Deletion:
The Auto Delete feature automatically removes invalidated zones, keeping the chart clean and preventing you from trading out-of-date or broken levels.
Trading Strategy Example
Bullish Setup:
Look for a bullish order block (green box) formed after price has been trending down and volume is high.
Wait for price to retrace back into the order block zone.
Enter long at the bottom of the order block when price shows signs of support (e.g., bullish candlestick pattern).
Set stop-loss below the bottom of the order block and a take-profit target at a significant resistance level.
Bearish Setup:
Look for a bearish order block (red box) formed after price has been trending up and volume is high.
Wait for price to retrace back into the order block zone.
Enter short at the top of the order block when price shows signs of resistance (e.g., bearish candlestick pattern).
Set stop-loss above the top of the order block and a take-profit target at a significant support level.
Limitations
The QDZ indicator is based on historical price action, and while it is designed to identify areas of strong market participation, it does not guarantee future price behavior.
Traders should always combine this indicator with other technical analysis tools, such as trend analysis, oscillators, or fundamental factors, to improve their decision-making process.
Conclusion
The Quantum Delta Zones (QDZ) indicator is a powerful tool for traders looking to pinpoint high-probability order blocks that are backed by volume and strong market dynamics.
It integrates well with existing trading strategies by providing clear, actionable zones of support and resistance, while also offering advanced features like fade strength, auto-deletion, and volume filters.
Whether you're trading intraday or longer-term, this tool can be an essential part of your trading toolbox.
This is an educational idea, trade at your own desecration.
Regards.
EPS & Sales/Revenue Growth MarkerThis script plots the Revenue Growth and EPS Growth % on Earnings Date.
Idea Credit: Special thanks to @dharmeshrbhatt for inspiring the concept behind this tool.
Developed and Published by learningvitals.
Plots Revenue Growth % and EPS Growth % on earnings date.
Choose label position: Above Bar, Below Bar, Top, or Bottom.
Customizable growth colors based on combined EPS and Revenue performance.
Customizable line style and colors.
Controls max number of labels to keep the chart clean.
Altseason Index | AlchimistOfCrypto
🌈 Altseason Index | AlchimistOfCrypto – Revealing Bitcoin-Altcoin Dominance Cycles 🌈
"The Altseason Index, engineered through advanced mathematical methodology, visualizes the probabilistic distribution of capital flows between Bitcoin and altcoins within a multi-cycle paradigm. This indicator employs statistical normalization principles where ratio coefficients create mathematical boundaries that define dominance transitions between cryptographic asset classes. Our implementation features algorithmically enhanced rainbow visualization derived from extensive market cycle analysis, creating a dynamic representation of value flow with adaptive color gradients that highlight critical phase transitions in the cyclical evolution of the crypto market."
📊 Professional Trading Application
The Altseason Index transcends traditional sentiment models with a sophisticated multi-band illumination system that reveals the underlying structure of crypto sector rotation. Scientifically calibrated across different ratios (TOTAL2/BTC, OTHERS/BTC) and featuring seamless daily visualization, it enables investors to perceive capital transitions between Bitcoin and altcoins with unprecedented clarity.
- Visual Theming 🎨
Scientifically designed rainbow gradient optimized for market cycle recognition:
- Green-Blue: Altcoin accumulation zones with highest capital flow potential
- Neutral White: Market equilibrium zone representing balanced capital distribution
- Yellow-Red: Bitcoin dominance regions indicating defensive capital positioning
- Gradient Transitions: Mathematical inflection points for strategic reallocation
- Market Phase Detection 🔍
- Precise zone boundaries demarcating critical sentiment shifts in the crypto ecosystem
- Daily timeframe calculation ensuring consistent signal reliability
- Multiple ratio analysis revealing the probabilistic nature of market capital flows
🚀 How to Use
1. Identify Market Phase ⏰: Locate the current index relative to colored zones
2. Understand Capital Flow 🎚️: Monitor transitions between Bitcoin and altcoin dominance
3. Assess Mathematical Value 🌈: Determine optimal allocation based on zone location
4. Adjust Investment Strategy 🔎: Modulate position sizing based on dominance assessment
5. Prepare for Rotation ✅: Anticipate capital shifts when approaching extreme zones
6. Invest with Precision 🛡️: Accumulate altcoins in lower zones, reduce in upper zones
7. Manage Risk Dynamically 🔐: Scale portfolio allocations based on index positioning
Future Candle Reversal Projection (Mastersinnifty)Overview
This tool identifies potential future market reversal zones by dynamically projecting pivot-based swing patterns forward in time. Unlike traditional ZigZag indicators that only reflect past movements, this indicator anticipates probable future turning points based on historical swing periodicity.
---
Key Features
- Forward Projections: Calculates and projects future swing zones based on detected pivot distances.
- Customizable Detection: Adjust the ZigZag depth for different trading styles (scalping, swing, position).
- Dynamic Updates: Real-time recalibration as new pivots form.
- Clean Visual Markers: Projects reversal estimates as intuitive labels and dotted lines.
---
How it Works
The indicator identifies significant swing highs and lows using a user-defined ZigZag depth setting. It measures the time (bars) and price characteristics of the latest swing movement. Using this pattern, it projects forward estimated reversal points at consistent intervals. Midpoint price levels between the last high and low are used for each future projection.
---
Who Can Benefit
- Intraday and swing traders seeking advanced planning zones.
- Technical analysts relying on pattern periodicity.
- Traders who wish to combine projected reversal markers with their own risk management strategies.
---
Disclaimer
This tool is an analytical and educational utility. It does not predict markets with certainty. Always combine it with your own analysis and risk management. Past behavior does not guarantee future results.
Momentum Wave Oscillator📈 Momentum Wave Oscillator (MWO) 📈
The Momentum Wave Oscillator (MWO) is a precision-designed tool for traders who want early, reliable insight into market shifts — before they fully appear on price charts.
Instead of reacting late to moves, MWO is engineered to anticipate changes in momentum by tracking market pressure within a dynamic range.
Its built-in bands and visual cues make it simple to spot key moments where momentum exhaustion, reversals, or fresh breakouts are most likely to occur.
How to Use:
Buy Zones: When the oscillator moves up from lower regions (typically below 20), it may indicate momentum building to the upside.
Sell Zones: When the oscillator moves down from upper regions (typically above 80), it may suggest momentum starting to weaken.
Dynamic Bands:
Unlike conventional fixed levels like 20 and 80, MWO features dynamic adaptive bands that better reflect real-time changes in market behavior.
Markets are fluid — volatility and momentum strength vary from cycle to cycle. Static zones can miss important shifts or produce false signals.
The dynamic bands allow the indicator to adapt naturally to changing conditions, offering more precise context for overbought, oversold, or breakout environments.
Background Colors and Labels:
Automatic highlights appear when potential turning points are detected, allowing traders to act quickly without chart clutter.
Best Practices:
Use the MWO as a confirmation tool alongside your existing strategy (trendlines, support/resistance, volume spikes, etc.).
Look for agreement between the MWO and price action for higher probability entries.
Avoid relying on it in isolation during extremely low-volume periods, where momentum may appear artificially weak or strong.
Adjust sensitivity settings depending on your trading style (scalping vs swing trading).
Important Note:
The MWO is designed for educational and informational purposes. No indicator can predict the future with certainty. Always combine it with proper risk management and your personal trading plan.
Max RR CalculatorAutomatically calculates the maximum RR reached during trade. Entry is at the candle close. There is an option available that takes another trade after getting stopped out on the next candle that is in same bias as first trade.
(If the first trade is a long and gets stopped out, then the second trade will wait until the next up candle to enter long again)
[Stop!Loss] ADR Signal ADR Signal - a technical indicator located in a separate window, which displays by default the 80%-level , as well as the 100%-level of the average daily range (ADR) for the last 10 days and compares it with the current intraday range. The indicator helps not only with the use of a mathematical-statistical method to identify a potential reversal at the moment during intraday trading, but can also serves as an effective assistant in risk management.
👉 Basic mechanics of the indicator
Firstly, this indicator tracks the performance of the standard ATR indicator on the daily chart, in other words, ADR (Average Daily Range).
Important ❗️The ATR (Average True Range) indicator was created by J. Welles Wilder Jr. He first introduced ATR in his book "New Concepts in Technical Trading Systems", published in 1978. Wilder developed this indicator to measure market volatility to help traders estimate the range of price movements. This indicator is built into TradingView, more details can be found by link: www.tradingview.com
Like ATR , ADR calculates the average true range for a specified period. In this case, the distance in points from the maximum of each day to its minimum is calculated, after which the arithmetic mean is calculated - this is ADR .
👉 Visualization
ADR Signal is located in a separate window on the chart and has 3 levels:
1) "ADR level" (green line) - the same parameter, the calculations of which are briefly described above. There is 100%-level of ATR on the daily chart (ADR).
2) "Current level" (red line) - this is the current price passage within the day, calculated in points. At the start of a new day, this parameter is reset. Therefore, in the indicator window, this line has sharp drops at the start of a new trading day: "A new trading day - the instrument's power reserve is renewed again".
3) "Signal level" (blue line) - this is an individually customized value that demonstrates a certain part of the ADR parameter.
👉 Inputs
1) - is responsible for the ATR indicator period, the value of which will always be calculated on the daily chart. The default value is "10", that is, ATR is calculated for the last 10 days (not including the current one).
2) - signal level (in %). The default value is "0.8", that is, 80%-level of the ADR parameter (set earlier) is calculated.
👉 Style
1) - by default, this level is colored "blue".
2) - by default, this level is colored "red".
3) - by default, this level is colored "green".
👉 How to use this indicator
Important❗️ The two methods of the use of the ADR Signal indicator described below will be most effective when trading intraday (which is highlighted quite well below), so it is more logical to use the indicator information on time periods H1 and below.
1) Identifying potential reversals during intraday trading:
The ADR Signal indicator can be used as a potential individual reversal strategy.
Important ❗️It should be noted that using it in it without additional confirming analysis tools will be a rather aggressive trading approach. Therefore, it is best to support the entry point in particular with other methods.
In this case, the crossing of the red line (the number of points passed within the current day, that is, from the minimum of the current day to its maximum) and the blue line (color of the Signal level based on the default settings), indicates that the trading instrument has passed 80% (based on the default settings for the "Signal level") of its average distance from the maximum to the minimum over the past 10 days (based on the default settings for the "ADR Length"). Such a situation in the context of the mathematical-statistical approach indicates a probable reversal, since the "power reserve" of this instrument is mostly exhausted, so one can expect with a higher probability, at least, a price stop and possibly a reversal. In case of crossing of the red line and the green one (ADR level), it says again that based on the mathematical-statistical approach, this trading instrument has completely exhausted its intraday "power reserve". In this situation, a stop or reversal of the price will be even more likely.
Of course, using the "Signal level" parameter, one can filter out even more reliable situations for potential price reversals within a day, namely, by specifying, for example, 1.5 in the field of this parameter. Under such conditions, in the case of crossing the red and blue lines (based on the default style settings), to say that the trading instrument has passed 150% of its average distance over the last 10 days (based on the default style settings "ADR length"). In this case, the probability of a stop or reversal of the price increases even more.
2) Use in risk management:
In terms of risk management, this indicator is more applicable to open trades. For example, if one had an open Buy-position (especially if it is an intraday trade) and the price has raised significantly during the day, then the crossing of the red line with the blue line , and especially the red line with the green line , may indicate that the price will most likely stop growing, since the "power reserve" is almost or completely exhausted for this instrument within the current day. In this case, one can, at a minimum, move the trade to breakeven or even partially fix the profit.
We will continue to discuss the methods of using this indicator and strategies based on it here. And we are always waiting for your reactions and feedback on this topic 💬.
Thank you for your support 🚀
NIG Probability TableNormal-Inverse Gaussian Probability Table
This indicator implements the Normal-Inverse Gaussian (NIG) distribution to estimate the likelihood of future price based on recent market behavior.
📊 Key Features:
- Estimates the parameters (α: tail heaviness, β: skewness, δ: scale, μ: location)
of the NIG distribution using a sliding window over log returns.
- Uses a numerically approximated version of the modified Bessel function (K₁)
to calculate the NIG probability density function (PDF).
- Normalizes the total probability across all bins to ensure the values are interpretable.
- Displays a dynamic probability table showing the chance of future returns falling into each bin.
⚠️ Notes:
- This is a real-time approximation. The Bessel function and posterior inference are simplified.
- Tail probabilities and shape parameters are sensitive to the window size and input settings.
- Useful for risk analysis, option overlays, and strategy filters.
LAOS Gold Price in LAK By LSENMany people in Laos are confused about the actual price of Gold in local currency.
This script provides a simple and live updating way to convert the international gold price (XAU/USD) into Lao Kip Currency in BAHT-weight gold (15.244g).
By default, it uses an exchnage rte of 21,000 KIP = 1 USD, But you can easily customize the rate to fit your needs.
-See things as they truly are. Suffering arises when you try to resist reality. Don't let greed and FOMO fuel the fire.
ຂໍໃຫ້ທຸກທ່ານໂຊກດີ
Log-Normal Price ForecastLog-Normal Price Forecast
This Pine Script creates a log-normal forecast model of future price movements on a TradingView chart, based on historical log returns. It plots expected price trajectories and bands representing different levels of statistical deviation.
Parameters
Model Length – Number of bars used to calculate average and standard deviation of log returns (default: 100).
Forecast Length – Number of bars into the future for which the forecast is projected (default: 100, max: 500).
Volatility SMA Length – The smoothing length for the standard deviation (default: 20).
Confidence Intervals – Confidence intervals for price bands (default: 95%, 99%, 99.9%).
Daily Levels & Stats Pro - [Aspect] v4.0# Description of the "Daily Levels & Stats Pro - v4.0" Indicator
This indicator is a powerful tool for market analysis through the lens of key daily levels and statistical price movement indicators. It allows you to display important trading session opening levels, daily statistical movements, and high volatility zones on the price chart.
## Main Indicator Functions:
### Key Time Levels:
- **Daily Open (DO)** - daily trading session opening level at 02:00
- **NY Midnight (NYM)** - New York session opening level at 06:00
- **Trade Open (TO)** - active trading opening level at 10:00
### Analysis Zones:
- **Previous Close Zone (PCZ)** - previous day's closing zone (displayed on M5 timeframe)
- **Open Day Zone (ODZ)** - current day's opening zone (displayed on M5 timeframe)
### Statistical Price Movement Levels:
- **Min** - minimum statistical movement from DO
- **Max** - maximum statistical movement from DO
- **Aver** - average statistical movement from DO
- **Dev-** - lower deviation of movement from DO
- **Dev+** - upper deviation of movement from DO
### TO Impulse Movement Statistical Levels:
- **Aver TO** - average statistical movement from TO
- **Dev+ TO** - upper deviation of movement from TO
- **Max TO** - maximum statistical movement from TO
## Indicator Features:
- Complete customization of colors, styles, and line widths for all levels
- Ability to select time for each main level
- Adjustment of the number of bars for level display
- Automatic calculation of level values relative to DO and TO
- Visual display of TO-levels starts 3 bars before the actual TO point, providing better visual perception
- Ability to enable/disable individual levels and zones
- Automatic updates and resets when the day changes
- Adaptive text labels to mark levels
This indicator is excellent for traders who use statistical data and daily support/resistance levels in their trading strategy. It is particularly useful for DAX40 and other highly liquid instruments where daily trading statistics are important for making trading decisions.
IB One‑Way Break & Retrace (Chicago 5m)What It Tracks
Initial Balance (IB) Range
Defined as the high/low from 08 : 30 – 09 : 30 Chicago time each day.
Plotted as steplines on your chart (“IB High” in aqua, “IB Low” in fuchsia).
Session Window
Monitors price from 09 : 30 – 15 : 00 Chicago time (the remainder of the regular day).
Break Classification
Held: Price never breaches the IB high or low during the session.
One‑Way Break: Price breaks one side of the IB (high or low) but doesn’t break the opposite side.
Discarded: Price breaks both sides of the IB—in which case the day is skipped from all statistics.
Retracement Measurement
For “One‑Way Break” days only, measures how far price retraces back into the IB range (as a percentage of the IB width).
Retracement values are capped at 100% (so extreme extensions beyond the IB don’t inflate averages).
Labeling on the Chart
Held days are marked with an orange “Held” label at the unbroken IB edge.
One‑Way Break days are marked at the furthest pullback point with a green (if upside break) or red (if downside break) label showing the retrace % (e.g. “37.5%”).
Discarded days (both‑side breaks) get a gray “Discard” label.
Summary Table (Top‑Right)
Bucket Count % Sessions Avg Ret%
Total Sessions X 100.0% Y.Y%
Held H H/Total 0.0%
Breakouts B B/Total A.A%
Discarded D D/Total –
0–20% Retrace E0 E0/B Avg0%
20–40% Retrace E1 E1/B Avg1%
40–60% Retrace E2 E2/B Avg2%
60–80% Retrace E3 E3/B Avg3%
≥80% Retrace E4 E4/B Avg4%
Count: Number of days in each category.
% Sessions: That count divided by Total Sessions.
Avg Ret%: Average retracement on only those days. (Held and Discarded rows show 0% or blank.)
How to Use
Held days indicate a very tight IB that never gave way—these can signal strong balance before a later move.
One‑Way Breakouts show directional moves that retraced back into the IB by some amount. Use the retrace % buckets to gauge typical pullback sizes after breakout.
Discarded days (both‑side breaches) are volatile or whipsaw days—excluded from your retracement analysis.
By filtering out those whipsaw sessions and focusing on clean one‑way breaks, you get a clearer picture of how deep retracements tend to be after true breakout moves.
Log-Normal Z-ScoreLog-Normal Z-Score
This Pine Script indicator calculates a modified Z-Score based on log-normal returns, aiming to identify statistically significant price deviations.
Indicator Parameters:
Model Length: The number of bars used to calculate the mean and standard deviation of log returns.
Lookback Length: The number of bars used to compute the lookback return and volatility. This is the main timeframe over which the Z-Score is calculated.
Volatility SMA Length: The smoothing length for the volatility, applying a simple moving average to the calculated volatility.
TDO & Hit Rates by Weekday (5 min)Purpose
Tracks how often the next NY session “hits” the previous day’s True Day Open (TDO) level, separately for sessions that open above vs. below TDO, and breaks the statistics down by weekday (Mon–Fri) plus an overall summary.
Key Features
True Day Open (TDO) Plot
Captures the prior day’s 23:00 CT close price as the TDO.
Plots it as a continuous yellow line across your chart.
Session Labeling
At the end of each NY session (08:30–15:00 CT), places a small “TDO” label at the TDO price to confirm visually where it lay during that day.
Hit‑Count Logic
For each 5 min bar in the NY session, checks if the bar’s high ≥ TDO ≥ low (i.e. the TDO level was “hit”).
Classifies each session by whether its opening price (first 5 min bar) was above or below the TDO.
Weekday Statistics Table
Displays in the bottom‑left of your main chart window.
Rows: Header, Mon, Tue, Wed, Thu, Fri, All.
Columns:
% Hit Above: % of “above‑TDO” sessions that saw at least one hit
% Hit Below: % of “below‑TDO” sessions that saw at least one hit
Automatically updates in real time as new sessions complete.
Inputs & Settings
Data Resolution: Default = 5 min; use any intraday timeframe you like (1, 3, 15 min, etc.).
Extended Hours: Make sure your chart’s Extended Session (overnight) is enabled so the 23:00 CT bar exists.
Overlay: Draws directly on your price chart (no separate pane).
How to Use
Add to Chart: Paste the Pine v5 code into TradingView’s editor and apply to your ES (or other) futures chart.
Enable Overnight Bars: In Chart Settings → Symbol/Session → include Extended Hours.
Select Timeframe: Set the chart (or the indicator’s “Data Resolution” input) to 5 min (or your preferred intraday).
Read the Table:
Each weekday row shows how reliable TDO touches have been historically, separately for “above” and “below” opens.
The bottom “All” row summarizes combined performance.
What You Learn
Edge Analysis: Do sessions opening above TDO tend to test that level more often than those opening below (or vice versa)?
Day‑of‑Week Bias: Are certain weekdays more prone to TDO retests?
Overall Confidence: The “All” row lets you see your full-sample hit‑rate on both sides.
Log-Normal Price DistributionThis Pine Script indicator plots a log-normal distribution model of future price projections on a TradingView chart. It visualizes the potential price ranges based on the statistical properties (mean and standard deviation) of log returns over a defined period. It's particularly useful for analyzing potential volatility and predicting future price ranges.
MACD Bullish Cross Alert📘 Indicator Description – MACD Bullish Cross Alert
This indicator is designed to detect bullish momentum shifts using the classic MACD (Moving Average Convergence Divergence) crossover strategy.
Key Features:
Calculates the MACD Line and Signal Line using customizable inputs (default: 12, 26, 9).
Triggers an alert when the MACD Line (blue) crosses above the Signal Line (orange).
Helps identify early bullish trend reversals or momentum entry points.
Ideal for swing traders, position traders, and crypto investors using the weekly timeframe.
How to Use:
Add to any chart and set the timeframe to 1W (weekly).
Create an alert using the built-in MACD Bullish Crossover condition.
Combine with price action, volume, or RSI for higher conviction entries.
Use Cases:
Spotting early entry points after long downtrends.
Confirming a trend reversal in high timeframes.
Generating high-probability entries in trend-following systems.
Gabriel's Asset Rotation System📈 Gabriel's Asset Rotation System
Overview
Gabriel’s Asset Rotation System is an advanced multi-asset trend-following tool that dynamically ranks and rotates up to 6 assets (plus USD) based on a customizable trend scoring matrix. Using enhanced signal detection techniques like Cauchy-weighted Supertrend, Jurík RSX, Fisherized CCI, Kalman-filtered PSAR, and Dynamic DMI Smoothing, the system identifies the most dominant asset and simulates strategy equity performance compared to buy-and-hold benchmarks.
🔍 Key Features
✅ Multi-Asset Rotation: Analyze up to 6 symbols and USD simultaneously.
✅ Relative Strength Matrix: Compares every asset against each other to find outperformers.
✅ Custom Trend Engine:
Jurik RSX with advanced RSX logic
Fisherized CCI for momentum confirmation
Kalman-smoothed PSAR for trend bias
SuperTrend using a Cauchy Moving Average
Smoothed DMI signal across looped periods (10–17)
✅ Dynamic Best Asset Detection: Identifies and tracks the asset with the highest trend score over time.
✅ Performance Table: Displays Sharpe, Sortino, and Omega Ratios along with drawdowns and means for both strategy and each asset.
✅ Visual Trend Matrix: Tabular view of asset strength comparisons against each other + final scoring.
✅ Realistic Strategy Equity Curve: Tracks performance assuming full capital rotation into the best asset.
✅ Alerts: Get notified when the top-performing asset changes.
⚙️ Inputs
🔹 Assets: Customize 6 tickers (crypto, stocks, ETFs, etc.)
🔹 Trend Classification Method:
RSI
CCI
SuperTrend
DMI
PSAR
or use all together
🔹 Jurik RSX Length
🔹 Fisherized CCI Length
🔹 Cauchy MA Gamma and ATR Settings
🔹 DMI Range and MA Type (SMA, EMA, HMA, etc.)
🔹 PSAR Parameters with Kalman smoothing
🔹 Custom Backtest Start Date
📊 Outputs
Plot 1: Best Asset Equity (colored dynamically)
Plot 2–7: Buy & Hold Curves for each asset (with labels)
Tables:
Rotation Matrix (bottom-right)
Best Performing Asset (bottom-center)
Performance Metrics Table (optional toggle)
🧠 Use Case Ideas
🔁 Dynamic Portfolio Rebalancing
⚖️ Compare Risk-Adjusted Returns Across Crypto or Stocks
🧪 Backtest Rotation Hypotheses
🚀 Identify Strongest Breakout Assets in Trend Environments
📉 Avoid Weakening Assets with Rising Drawdowns
🚨 Alerts
🔔 "New Optimal Asset": Triggers when a new top-ranking asset replaces the current one.
Auto Step Horizontal LinesAuto Step Horizontal lines by custom range
Create automatic horizontal lines by specifying the price range for each line, with each line serving as an observation point for support and resistance levels.
MG Universal model🚀 Summary🚀
The MG univerasal model is a composite of various items such as RSI, price Z-Score, Sharpe Ratio, Sortino Ratio, Omega Ratio, etc
Each component is normalized and then equally wheighted out to perform a global metric.
At the end, an Exponential Moving Average is added on the global metric.
You can easily find a description of each component on the internet, for the Crosby Ratio, it's a metric that comes from bitcoinmagazinepro.com.
✨ Key Features ✨
🗡 Smoothed Global Metric
Using a Moving average to smooth out the whole aggregated metric.
🗡 Bands Zone at extreme levels
Automatically displaying bands at top and bottom levels of the oscillator.
🗡 Normalizing components
Each component is normalized.
🗡 DataTable
Optional DataTable is available to check the score for each components and their related Z-Score.
📊 How I use it 📊
When catching up with 0 line (midline), crossing it :
if it goes above 0.2:
get out when it crosses 0.2 again
else:
get out when it crosses 0 again
That's the way I use it, may be there is a better way, FAFO :)
❓ Seeing a bug or an issue ❓
Feel free to DM me if you see a component that seems badly calculated.
I will be happy to fix it.
❗❗ Disclaimer ❗❗
This is a single indicator, even though it's aggregating many, do not use it as a standalone.
Past performance is not indicative of future results.
Always backtest, check, and align parameters before live trading.
BotBeans Optimizer - MA CrosserBotBeans Optimizer - MA Crosser
This script allows you to:
1. Select up to 12 types of Moving Averages (MA)
2. Backtest 7 combinations of MA crossover strategy at a time with key metrics such as Net Profit%, Profit Factor, Win Rate%, Total Trades and Maximum Drowdown (Max DD)
3. Easy to define slow MA length by using SlowMultiplier. Slow MA length is calculated by fast MA length multiplied by SlowMultipleir.
4. Ability to plot MA lines, trading signals, slop loss and take profit levels for clarification
5. Risk Management is implemented. By default, risk only 2% for each trade.
6. The script uses 14 Average True Range (ATR) multiplied by ATRMultiplier to determine stop loss level
7. Take profit level is calculated by stop loss level multiplied by RiskRewardRatio.
8. Implemented with trading fee for more accurate backtest result
Bar Painting [iFarsheed]
Bar Painting
Overview:
The "Bar Painting " indicator is designed for traders who follow price action strategies inspired by Al Brooks.
This tool colors candles on your chart, making it easy to identify different candle types like trend bars, dojis, and pin bars without complex calculations. By simply observing the colors, you can quickly understand market dynamics.
Features:
Candle Coloring:
Bullish (up) and bearish (down) trend bars are highlighted in distinct colors for easy recognition.
Candles that do not fit these patterns appear in the default chart color, indicating they do not represent significant moves.
Visual Clarity:
The color coding provides a quick visual reference, allowing you to grasp market conditions at a glance.
No Calculations Required:
You don’t need to perform any calculations; just look at the colors to understand the strength of the market.
How to Use:
Customize Settings:
Adjust the colors of trend bars to ensure they contrast well with your chart background for improved visibility.
Use the settings to choose which candle types you want to highlight based on your trading preferences.
Analyze Candle Patterns:
Look at the colored candles to quickly identify trend bars, dojis, and pin bars that may signal potential market movements.
Informed Decision Making:
Use the highlighted candle patterns to assist in making trading decisions, such as identifying possible entry and exit points.
Important Note:
This coloring scheme is optimized for light mode charts. In dark mode, the colors may not display correctly.
To ensure proper color display, please set the visual order of the indicator to "Bring to Front."
Future Updates:
This indicator is an initial version, and more features will be added in the future.
If you have any suggestions or feedback, please feel free to share your thoughts in the comments section of the indicator.
Good luck with your trading!
-iFarsheed-
CVD (Cumulative Volume Delta)
Cumulative Volume Delta
Use a moving average with three different
I thought about determining the volatility and direction of the price of the stock price and finding a place to break through.
I made some Mistake coz I'm new corder
I'm reposting this simple script due to house rule violation. (Whatever can haha) 😁
I'm erasing all the comments in my native language that I had in my script... I thought it would make the User uncomfortable, so I locked the code, and I thought maybe that's the problem
Anyway, I'm sorry 😅