30-Day Rolling Beta30 Day rolling beta for portfolio modelling purpose.
This is meant for high-octane L/S portfolio.
Chỉ báo và chiến lược
Nirvana Mode PRONirvana Mode PRO is a fully automated swing trading strategy designed for BTCUSDT on 15-minute charts.
It combines EMA crossover, RSI filtering, Supertrend confirmation, and volume spike detection to generate high-probability entries.
Includes automatic exit conditions and webhook-compatible signal messages for integration with WunderTrading.
Optimized for low-risk, consistent profit with trailing stop, breakeven, and dynamic SL/TP settings.
Horizontal Price TableOverview:
This script displays a dynamic price table on your chart, showing real-time prices and daily percentage changes for up to 7 user-defined tickers. You can customize both which tickers are shown and how many are visible, all through the settings panel.
How it works (Step-by-Step):
User-Defined Tickers:
The script provides input fields for up to 7 tickers using input.symbol(). You can track stocks, indexes, ETFs, crypto, or futures — anything supported by TradingView.
Choose How Many to Display:
An additional dropdown lets you choose how many of the 7 tickers to actually display (between 1 and 7). This gives you control over screen space and focus.
Market Data Fetching:
For each displayed ticker, the script fetches:
The current day’s closing price (close)
The previous day’s closing price (close )
This data is pulled using request.security() on the daily timeframe (1D).
% Change Calculation:
The script calculates the daily percentage change using:
(Current Price−Previous Close)/Previous Close×100(Current Price−Previous Close)/Previous Close×100
Cleaned Ticker Names:
Ticker symbols often include an exchange prefix like NASDAQ:AAPL. The script automatically removes anything before the colon (:), so only the clean symbol (e.g., AAPL) is shown in the table.
Table Display:
A visual table appears at the top-center of your chart, showing:
Row 1: Ticker symbol (cleaned)
Row 2: Current price (rounded to 2 decimals)
Row 3: Daily % change (green for gains, red for losses)
Customization:
You can choose the background color of the table.
Ticker names appear in white text with a gray background.
% change is color-coded: green for positive, red for negative.
Why Use This Script?
Track multiple tickers at once without leaving your chart.
Clean, customizable layout.
Useful for monitoring watchlists, portfolios, or related markets.
Tips:
Combine this with your favorite indicators for a personalized dashboard.
Works great on any chart or timeframe.
Ensure the tickers entered are valid on TradingView (e.g., SPY, BTCUSD, NQ1!, etc.).
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.
Sentiment Bias Gauge📌 Overview
The Sentiment Bias Gauge (SBG) is a unique overlay-style indicator that visually maps a sentiment value—such as market bullishness or bearishness—onto your price chart. It converts sentiment data (in this case, RSI-based) into a floating line that moves between defined price zones, allowing users to quickly understand the current market mood in the context of price.
⚙️ How It Works
• The indicator uses RSI (Relative Strength Index) as a proxy for market sentiment (0 to 100 scale).
• This sentiment value is then mapped to a vertical price range on your chart using a configurable zone (via top and bottom percent of chart range).
• The line floats up or down within the price chart, reflecting how bullish or bearish the sentiment is.
• It includes background shading to represent the sentiment level:
• 🔴 Red (Bearish): sentiment < 30
• 🟡 Yellow (Neutral): 30 ≤ sentiment ≤ 70
• 🟢 Green (Bullish): sentiment > 70
• A floating label shows the current sentiment score.
🌟 Key Features
• 📈 Overlay-Based Sentiment Line: Plots sentiment as a price-level line, giving intuitive spatial reference.
• 🔧 Configurable Range Placement: Adjust where the sentiment line appears within the chart’s high-low range.
• 🖌️ Color-Coded Background: Visually distinguish bullish, bearish, and neutral conditions.
• 🏷️ Real-Time Sentiment Label: Displays updated sentiment score on the most recent bar.
🧠 How to Use
• Use this indicator alongside your price action or technical strategy to gauge market mood.
• Combine with other sentiment indicators (e.g., fear/greed, delta volume, news sentiment).
• Especially helpful in sideways markets to identify potential shifts in bias before price reacts.
Why This Combination?
• RSI offers a reliable and intuitive proxy for market sentiment.
• Mapping the value directly onto the chart helps avoid constantly looking at a separate panel.
• The customizable chart range lets traders fit sentiment visuals within any market structure.
🎯 Why It’s Worth Using
• Makes sentiment visually accessible directly on the chart.
• Helps detect bullish/bearish bias shifts earlier than traditional indicators.
• A great tool for sentiment-aware discretionary trading or contextual overlays in algo strategies.
Pavio do Candle (%)Oscilador que mostra a porcentagem do pavio em relação ao comprimento total do candle.
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.
5ma + O’Neil & Minervini Buy ConditionIndicator Overview
5ma + O’Neil & Minervini Buy Condition is an original TradingView indicator that extends beyond a simple collection of standard moving averages by offering:
- Five Fully Independent Lines : Each of MA1–MA5 can be configured as SMA, EMA, WMA, or VWMA with its own period and data source. This level of customization unlocks unique combinations no existing script provides.
- Synergy of Multiple Timeframes : Default settings (10, 21, 50, 200, 325) reflect ultra‑short, short, medium, long, and volume‑weighted long‑term perspectives. The layered structure functions as a multi‑filter, sharpening entry signals and trend confirmation beyond any single MA.
- Integrated Buy Conditions : Built‑in O’Neil and Minervini buy filters use fixed SMA‑based rules (50 & 200 SMA rising within 15% of 52‑week high; 10 > 21 > 50 SMA rising within high/low thresholds), plus a combined condition highlighting when both methods align.
- Clean Visualization & Style Controls : Background coloring for each buy condition appears only in the Style tab under clearly named parameters (O’Neil Buy Condition, Minervini Buy Condition, Both Conditions). MA lines support transparent default colors and customizable line width for optimal readability without clutter.
Calculation & Logic
SMA: (P₁ + P₂ + … + Pₙ) ÷ N
EMA: α = 2 ÷ (N + 1)
EMA_today = (Price_today – EMA_yesterday) × α + EMA_yesterday
WMA: (P₁×N + P₂×(N–1) + … + Pₙ×1) ÷
VWMA: Σ(Pᵢ×Vᵢ) ÷ Σ(Vᵢ) for i = 1…N
```
Buy Condition Logic
- O’Neil: Price > 50 SMA & 200 SMA (both rising) **and** within 15% of the 52‑week high.
- Minervini : 10 SMA > 21 SMA > 50 SMA (both short‑term SMAs rising) **and** within 25% of the 52‑week high **and** at least 25% above the 52‑week low.
- Combined : Both O’Neil and Minervini conditions true.
Usage Examples
1. Short‑Mid Cross : Observe MA1/MA2 crossover while MA3/MA4 confirm trend strength.
2. Volume‑Weighted Long‑Term : Use VWMA as MA5 to filter institutional‑strength pullbacks.
3. Multi‑Filter Entry : Look for purple background (Both Conditions) on daily chart as high‑confidence entry.
Why It’s Unique
- Not a Mash‑Up : Though built on standard MA formulas, the customizable layering and built‑in buy filters create a novel multi‑dimensional analysis tool.
- Trader‑Friendly : Detailed comments in the code explain parameter choices, calculation methods, and practical entry scenarios so that even Pine novices can understand the underlying mechanics.
- Publication‑Ready : Description and code demonstrate originality, add clear value, and comply with house‑rule requirements by explaining why and how components interact, not just listing features.
- Combined Custom MA & Buy Conditions : By integrating customizable moving averages with built-in buy filters, users can easily recognize O’Neil and Minervini recommended setups.
S/R Breakout/Reversal + Volume with 2% SLstrategy with 2% stop loss, and suort resistance breakout reversal
Macro Liquidity Index & Canadian OverlayTradingView Pine Script strategy-style indicator that synthesizes the macro signals (e.g. DXY trend, real yields, oil prices, ISM trend, and financial conditions) into a visual macro sentiment index ranging from -5 (max bearish) to +5 (max bullish). It also includes a “Canadian Exposure Overlay” that adjusts the macro score based on Canada’s specific economic positioning (e.g., oil exporter, rate-sensitive sectors, CAD/USD trend).
Z-Score Normalized by Price ChangeZscoee normalizedd to price change grgzergzerg
zer
gz
erg
e
rg
zre
tg
zergzergarg
Price % Above/Below 20 EMADelta between current price and EMA20, calculated as percent difference between EMA and closing price.
Multiple HTF EngineThis strategy loads candles from multiple timeframes so you can build complex strategies that use multiple timeframes. The strategy provides code to implement conditions that must all happen at the same time to trigger, as well as a multiple phase trigger that will generate a signal after all of the conditions happen, in order, but not at one time. For example, if you wanted to enter a position on the first 5m candle that breaks the previous 5m candle high after the 1m RSI crosses over 30 the multiple phase trigger could do that.
Anpassbarer SMA mit Prozent-VersatzPlots the SMA with an adjustable number of time units and a percentage that draws another line below the SMA as slippage.
EMA & WMA 20 - 50 - 100 - 200EN/ It shows 20 / 50 / 100 / 200 Daily EMA's,
Also it shows 50 / 100 / 200 Weekly EMA's but no 20 Weekly EMA because it is equal to 100 Daily EMA already. Same rules apply to WMA.
Midnight Open (UTC - 5) - Until NoonMidnight Opening
Default to UTC -5
Adjust Timezone in Timestamp variable.
🕯️Basic/Fractal Engulfing Candle Filtered EMA/ATR⚙️🕯️Basic/Fractal Engulfing Candle Filtered EMA/ATR⚙️
This clean and flexible indicator is designed to highlight high-probability engulfing candle patterns by applying a smart combination of filters based on ATR, EMA, and fractal swing high/low logic.
Engulfing candles are commonly used for spotting potential trend reversals or momentum continuation zones—but without proper filtering, they can produce noise. This script enhances reliability by giving traders control over:
🔹 ATR Filter: Limits signals to candles within a specific size range relative to the Average True Range, filtering out excessive volatility.
🔹 EMA Filter: Confirms trend direction using an exponential moving average. Engulfing candles are only valid if aligned with or against the EMA depending on user configuration.
🔹 Fractal Swing High/Low Filter: Requires engulfing candles to occur near local highs (for bearish setups) or lows (for bullish setups), identifying potential turning points in market structure.
💡 Highlights:
Fully customizable with intuitive inputs
Clean chart visuals with triangle markers for bullish (🟦 aqua) and bearish (🟪 fuchsia) engulfing signals
Adaptive EMA color changes based on price position (above = bullish, below = bearish)
Perfect for traders who want a smarter engulfing candle tool that adapts to market conditions, price structure, and trend confirmation.
*Highly recommend using this in confluence with many other indicators of my own/your liking.
DUONG_EURWhat is the RSI indicator? Instructions on how to use RSI in stock trading
Currently, technical analysis indicators are widely used to confirm the strength or weakness of the market. In this article, let's learn more about the RSI indicator with DSC to easily confirm the current strength of the market.
What is the RSI indicator?
The RSI indicator, also known as the relative strength indicator, is widely used in the financial and stock markets. RSI is calculated by the price of the most recent previous closing sessions. Therefore, it is often considered normal when it moves in phase with the price line.
RSI calculation formula
In which:
RS = AvgU/AvgD
AvgU is the average of the closing price changes of the increasing sessions in 14 sessions.
Trading Sessions (Modified)📝 Description of Modifications – Trading Sessions Indicator
Modified by:
✅ Key Enhancements:
1. 📊 Live Session Range Delta Analysis
Calculates the real-time difference between the current session's range and the historical average range over a user-defined lookback period (lookbackDays)
2. Presented in both points and percentage terms
3. 🎨 Dynamic Color Coding
The label text color changes based on the delta:
🟢 Green when the range is above average
🔴 Red when it's below average
⚪ Gray when unchanged
4. 🧾 Rich Session Label Content
Displays:
- Session range (ticks and points)
- Average session price
- Average range over lookback period
- Real-time delta to average range
- Session name
🙏 Acknowledgment:
Special thanks and credit to the original developer of this session indicator. Your well-structured, modular script made this expansion possible.
The modifications introduced here aim to extend your great work — not to replace it.
🚀 Support This Work
If you find this enhanced indicator useful, consider giving it a boost.
That small gesture helps bring visibility to thoughtful, utility-driven tools in the TradingView community.
— With respect,
MACD dong pha 2 cap do W/DInstructions for use:
_ Green area: Weekly and Daily MACD are both in the Positive zone
_ Red area: Weekly and Daily MACD are both in the Negative zone
30D Annualized Volatility30D Annualized Volatility for portfolio modelling.
This is for managing high-octane L/S portfolio.
MG Thrust Indicator🚀 Explanation 🚀
The MG thrust indicator uses thrust momentum in price with some smoothing to detect uptrend and downtrend shifts.
✨ Key Features ✨
🗡smoothing_length (default: 37): length for smoothing price and thrust values (EMA or SMA).
🗡thrust_threshold (default: 1.5): multiples of ATR to identify significant thrusts.
🗡use_ema (default: true): toggle between EMA (faster response) and SMA (smoother) for smoothing.
🗡lookback_atr (default: 14): lookback period for ATR to normalize thrust.
📈 Thrust Calculation 📈
Thrust = (close - smoothed_price) / atr: measures how far the current price deviates from the smoothed price, normalized by ATR to account for volatility.
Background Highlights: colors the background faintly green/red for bullish/bearish thrusts.
❓ 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.
Uptrend Filter: Price > 50 & 200 MA + Upward SlopeThis indicator is designed to help traders instantly identify strong uptrend conditions based on two simple yet powerful criteria:
Price is above both the 50-day and 200-day moving averages
Both moving averages are sloping upward (positive momentum)
When both conditions are met, the indicator plots a green “UP” label below the candle, signaling a valid uptrend setup. This filter is ideal for asset selection in strategy-building, portfolio rotation, or trend-following systems.
🧠 Why it works:
The 50-day MA reflects medium-term momentum.
The 200-day MA represents the long-term trend.
When both are aligned and sloping upward, it confirms strong market structure and trend health.
🧰 Best used for:
Token screening (e.g., filtering altcoins)
Momentum-based entries
Trend confirmation
Risk filtering in strategy backtesting