Previous 5 Days High/Low (RTH)Absolutely! Here's a detailed explanation of each part of the Pine Script we just built. This script is designed for intraday charts (e.g., 5-min, 15-min, 1-hour) and shows the high and low of the 5th most recent trading day, based on NASDAQ regular trading hours (RTH), which are 9:30 AM to 4:00 PM (New York time).
Chart-Muster
ORB Strat with ATR calculated TargetsThis is a script That puts the ORB high and low from 10 15 30 or 60 minute TF and once broken to the upside or the downside will place targets calculated based on 4 10 minute candle ATRs.
The ORB H and L will only appear at 10 am EST
MACD Liquidity Tracker SystemMACD Liquidity Tracker System
🔹 Enhanced MACD with candle coloring, entry markers, and customizable signal logic.
🧠 Features:
This tool combines a color-coded MACD histogram with signal-based candle colors and small shape markers (🔼🔽) for clear market momentum and entry visualization.
📊 Visuals:
MACD Histogram (Sub-panel):
4 dynamic colors to show momentum direction:
🔹 Bright Blue = MACD > 0 & rising (strong bullish)
🔹 Dark Blue = MACD > 0 & falling (weakening bullish)
🔹 Bright Magenta = MACD < 0 & falling (strong bearish)
🔹 Dark Magenta = MACD < 0 & rising (weakening bearish)
Price Candles (Main Chart):
🔹 Bright Blue = Active Long signal
🔹 Bright Magenta = Active Short signal
Entry Markers:
🔼 Blue triangle (below candle) = Start of Long
🔽 Magenta triangle (above candle) = Start of Short
⚙️ System Types (select in settings):
Normal:
🔹 Long = MACD > 0
🔹 Short = MACD < 0
Fast: (Based on histogram color)
🔹 Long = Bright Blue OR Dark Magenta
🔹 Short = Dark Blue OR Bright Magenta
Safe:
🔹 Long = Only Bright Blue
🔹 Short = All other colors
🔔 Alerts:
Alerts trigger only on the first bar of a new Long/Short signal.
Easy to set up using TradingView’s alert system.
📌 How to Use:
Add the indicator to your chart
Open settings and select a System Type
Adjust MACD parameters if needed
Use histogram color + candle color for momentum and signal confirmation
Set alerts for clean entries if desired
💡 Ideal for traders seeking visual clarity and flexible MACD-based strategies.
Trend Dashboard (Short / Medium / Long)🔍 Overview
This script:
Calculates the short, medium, and long-term trend based on moving average crossovers
Displays the current trend status in a color-coded table on your TradingView chart
Helps you visually identify market trend direction at a glance — great for quick decision making
🧱 1. Inputs Section
shortMA_len = input.int(9, title="Short-Term MA")
mediumMA_short = input.int(21, title="Medium-Term Fast MA")
mediumMA_long = input.int(50, title="Medium-Term Slow MA")
longMA_short = input.int(50, title="Long-Term Fast MA")
longMA_long = input.int(200, title="Long-Term Slow MA")
This part lets you customize the moving averages used to determine each trend type:
Short-term: 9 vs 21 SMA
Medium-term: 21 vs 50 SMA
Long-term: 50 vs 200 SMA
You can change these from the indicator settings on your chart.
📈 2. Calculating the Moving Averages
shortMA = ta.sma(close, shortMA_len)
mediumFast = ta.sma(close, mediumMA_short)
mediumSlow = ta.sma(close, mediumMA_long)
longFast = ta.sma(close, longMA_short)
longSlow = ta.sma(close, longMA_long)
This section calculates:
The short MA (e.g. 9-period)
The medium fast & slow MAs (21 & 50)
The long fast & slow MAs (50 & 200)
📊 3. Determining the Trend
shortTrend = shortMA > mediumFast ? "Bullish" : shortMA < mediumFast ? "Bearish" : "Neutral"
mediumTrend = mediumFast > mediumSlow ? "Bullish" : mediumFast < mediumSlow ? "Bearish" : "Neutral"
longTrend = longFast > longSlow ? "Bullish" : longFast < longSlow ? "Bearish" : "Neutral"
Here, each trend is determined by a simple moving average crossover:
If the fast MA is above the slow MA → Bullish
If below → Bearish
If equal → Neutral
🎨 4. Trend Color Helper Function
getColor(trend) =>
trend == "Bullish" ? color.lime : trend == "Bearish" ? color.red : color.gray
Returns a color based on the trend type:
Green for Bullish
Red for Bearish
Gray for Neutral
📋 5. Creating and Updating the Table
var table trendTable = table.new(position.top_right, 2, 4, border_width=1)
This creates a 2-column, 4-row table in the top-right of the chart.
pinescript
Copy
Edit
table.cell(...)
Updates the table every few bars:
Row 1: headers
Row 2: Short-term trend
Row 3: Medium-term trend
Row 4: Long-term trend
Each trend is colored based on its status.
📌 6. Optional: Plot the Moving Averages
plot(shortMA, ...)
plot(mediumFast, ...)
...
Just to give you a visual reference, it plots each moving average on the chart in a different color.
✅ Summary: What You Get
🧠 Short-Term Trend: (e.g., 9 vs 21 SMA)
📈 Medium-Term Trend: (e.g., 21 vs 50 SMA)
📉 Long-Term Trend: (e.g., 50 vs 200 SMA)
🎨 Color-coded dashboard for instant recognition
📊 Great for trend-following, filtering trades, and quick analysis
Aviad SMC Flow🔹 Aviad SMC Flow – Smart Structure & Zones Indicator
A professional SMC-based indicator for identifying:
✅ BoS – Break of Structure
✅ CHoCH – Change of Character
✅ MSS – Market Structure Shift
✅ Automated Support & Resistance Zones
✅ Liquidity Grab and Reversal Points
✅ Market Structure with historical display
Optimized for 1H and lower timeframes.
Designed for real Smart Money Concepts (SMC) trading.
Perfect for intraday traders, swing traders, and scalpers.
Wick Anomaly DetectorWick Anomaly Detector
This script helps identify candles with unusually large wicks compared to their body size — a common sign of price anomalies, false prints, or low-liquidity moves.
🔍 What it does:
Flags candles with upper or lower wicks that exceed a user-defined ratio (default: 3x the body size)
Helps traders spot suspicious spikes or “bad ticks,” especially in pre-market or illiquid stocks
📈 Use it to:
Avoid fake breakouts
Confirm real price action
Clean up your technical analysis
Customize the wick-to-body threshold as needed. Add volume filters or time filters for more precision.
Created for educational purposes — use with proper risk management!
Top Trader LTThis indicator is a comprehensive ICT-based session visualizer designed for intraday traders. It highlights major market sessions, key price levels, and strategic timing windows based on the Inner Circle Trader (ICT) concepts.
🧭 Features:
✅ ICT Killzones
London Open (2:00–5:00 UTC-5)
New York Open (7:00–9:00 UTC-5)
London Close (10:00–12:00 UTC-5)
Asian Range (20:00–00:00 UTC-5)
Each session can be visualized as a colored box or background with optional pip range display.
✅ Silver Bullet Sessions
London Silver Bullet (3:00–4:00 NY Time)
NY AM Silver Bullet (10:00–11:00 NY Time)
NY PM Silver Bullet (2:00–3:00 NY Time)
These are marked with vertical lines and optional labels for high-impact scalping zones.
✅ New York Midnight & 8:30 AM Opens
Midnight open lines with optional history and labels.
8:30 AM (major NY data release time) is also marked visually.
✅ Daily High / Low Tracker
Tracks and updates New York session high/low and open.
Visual lines + labels help track intraday price action zones.
✅ NDOG / NWOG Boxes
NDOG: New Day Opening Gap
NWOG: New Week Opening Gap
Auto-draws boxes and midlines between previous day/week close and current open.
✅ Open Levels (D/W/M/Y)
Automatically detects and draws Daily, Weekly, Monthly, and Yearly opening prices.
Optional extensions into the past and projections into the future.
Smart padding avoids overlapping labels.
⚙️ Settings:
Full customization of colors, transparency, line styles
Toggle each session on/off individually
Alerts ready for key sessions (can be added)
This tool is ideal for traders using ICT methodology, trading Smart Money Concepts (SMC), or anyone wanting a detailed visual framework for intraday structure and liquidity zones.
Early Uptrend with Institutional BuyThis script will help to identify early uptrend based on below logic.
Criteria Covered:
Moving Averages: Price > 20-day SMA, 50-day SMA, 200-day SMA; 50-day SMA > 200-day SMA.
Momentum: RSI 45–70.
Price Performance: Price ≥ 15% above 52-week low, within 30% of 52-week high.
Volume: Volume > 500,000.
Market Cap: > ₹5,000 Cr.
Not Covered: 200-day SMA uptrend, volume surge, green candle, 5-day volume trend, ADX, MACD, EMA (replaced with SMA).
FVG + Swings + ConfigurableOverview
This Pine Script v5 indicator highlights Fair Value Gaps (FVGs), plots swing‑high and swing‑low pivots, and marks single breakouts above the last swing‑high or below the last swing‑low by recoloring the breakout candle. Every aspect—gap size, count limits, colors, and feature toggles—is exposed as an input so you can tailor it to your own workflow.
Key Features
Fair Value Gaps
Detects bullish gaps when the high of bar i-2 is below the low of the current bar.
Detects bearish gaps when the low of bar i-2 is above the high of the current bar.
Draws a semi‑transparent rectangle spanning from bar i-2 to bar i + extension.
Automatically deletes oldest boxes when exceeding the user’s “Max FVG Boxes” limit.
Swing‑High / Swing‑Low Pivots
Identifies a swing‑high when the middle candle of a three‑bar sequence has the highest high.
Identifies a swing‑low when the middle candle has the lowest low.
Marks each pivot with a tiny dot above (high) or below (low) the bar.
Single Breakouts
Tracks the most recent swing‑high and swing‑low levels.
On the first close above the last swing‑high (or below the last swing‑low), recolors that single candle.
Prevents repeated coloring until a new swing pivot forms.
Full Customization
Show/Hide toggles for FVGs, swing pivots, breakouts.
Numeric inputs for FVG extension length and maximum retained boxes.
Color pickers for bullish/bearish gaps, swing pivots, and breakout candles.
Dskyz (DAFE) AI Adaptive Regime - Beginners VersionDskyz (DAFE) AI Adaptive Regime - Pro: Revolutionizing Trading for All
Introduction
In the fast-paced world of financial markets, traders need tools that can keep up with ever-changing conditions while remaining accessible. The Dskyz (DAFE) AI Adaptive Regime - Pro is a groundbreaking TradingView strategy that delivers advanced, AI-driven trading capabilities to everyday traders. Available on TradingView (TradingView Scripts), this Pine Script strategy combines sophisticated market analysis with user-friendly features, making it a standout choice for both novice and experienced traders.
Core Functionality
The strategy is built to adapt to different market regimes—trending, ranging, volatile, or quiet—using a robust set of technical indicators, including:
Moving Averages (MA): Fast and slow EMAs to detect trend direction.
Average True Range (ATR): For dynamic stop-loss and volatility assessment.
Relative Strength Index (RSI) and MACD: Multi-timeframe confirmation of momentum and trend.
Average Directional Index (ADX): To identify trending markets.
Bollinger Bands: For assessing volatility and range conditions.
Candlestick Patterns: Recognizes patterns like bullish engulfing, hammer, and double bottoms, confirmed by volume spikes.
It generates buy and sell signals based on a scoring system that weighs these indicators, ensuring trades align with the current market environment. The strategy also includes dynamic risk management with ATR-based stops and trailing stops, as well as performance tracking to optimize future trades.
What Sets It Apart
The Dskyz (DAFE) AI Adaptive Regime - Pro distinguishes itself from other TradingView strategies through several unique features, which we compare to common alternatives below:
| Feature | Dskyz (DAFE) | Typical TradingView Strategies|
|---------|-------------|------------------------------------------------------------|
| Regime Detection | Automatically identifies and adapts to **four** market regimes | Often static or limited to trend/range detection |
| Multi‑Timeframe Analysis | Uses higher‑timeframe RSI/MACD for confirmation | Rarely incorporates multi‑timeframe data |
| Pattern Recognition | Detects candlestick patterns **with volume confirmation** | Limited or no pattern recognition |
| Dynamic Risk Management | ATR‑based stops and trailing stops | Often uses fixed stops or basic risk rules |
| Performance Tracking | Adjusts thresholds based on past performance | Typically static parameters |
| Beginner‑Friendly Presets | Aggressive, Conservative, Optimized profiles | Requires manual parameter tuning |
| Visual Cues | Color‑coded backgrounds for regimes | Basic or no visual aids |
The Dskyz strategy’s ability to integrate regime detection, multi-timeframe analysis, and user-friendly presets makes it uniquely versatile and accessible, addressing the needs of everyday traders who want professional-grade tools without the complexity.
-Key Features and Benefits
[Why It’s Ideal for Everyday Traders
⚡The Dskyz (DAFE) AI Adaptive Regime - Pro democratizes advanced trading by offering professional-grade tools in an accessible package. Unlike many TradingView strategies that require deep technical knowledge or fail in changing market conditions, this strategy simplifies complex analysis while maintaining robustness. Its presets and visual aids make it easy for beginners to start, while its adaptive features and performance tracking appeal to advanced traders seeking an edge.
🔄Limitations and Considerations
Market Dependency: Performance varies by market and timeframe. Backtesting is essential to ensure compatibility with your trading style.
Learning Curve: While presets simplify use, understanding regimes and indicators enhances effectiveness.
No Guaranteed Profits: Like all strategies, success depends on market conditions and proper execution. The Reddit discussion highlights skepticism about TradingView strategies’ universal success (Reddit Discussion).
Instrument Specificity: Optimized for futures (e.g., ES, NQ) due to fixed tick values. Test on other instruments like stocks or forex to verify compatibility.
📌Conclusion
The Dskyz (DAFE) AI Adaptive Regime - Pro is a revolutionary TradingView strategy that empowers everyday traders with advanced, AI-driven tools. Its ability to adapt to market regimes, confirm signals across timeframes, and manage risk dynamically. sets it apart from typical strategies. By offering beginner-friendly presets and visual cues, it makes sophisticated trading accessible without sacrificing power. Whether you’re a novice looking to trade smarter or a pro seeking a competitive edge, this strategy is your ticket to mastering the markets. Add it to your chart, backtest it, and join the elite traders leveraging AI to dominate. Trade like a boss today! 🚀
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
-Dskyz
cd_full_poi_CxOverview
This indicator tracks the price in 16 different time frames (optional) in order to answer the question of where the current price has reacted or will react.
It appears on the chart and in the report table when the price approaches or touches the fvg or mitigations (order block / supply-demand), the rules of which will be explained below.
In summary, it follows the fvg and mitigations in the higher timeframe than the lower timeframe.
Many traders see fvg or mitigates as an point of interest and see the high, low swept in those zones as a trading opportunity. Key levels, Session high/lows and Equal high and lows also point of interest.
If we summarise the description of the point of interest ;
1- Fair value gaps (FVG) (16 time frames)
2- Mitigation zones (16 time frames)
3- Previous week, day, H4, H1 high and low levels
4- Sessions zones (Asia, London and New York)
5- Equal high and low levels are in indicator display.
Details:
1- Fair Value Gaps : It is simply described as a price gap and consists of a series of 3 candles. The reaction of the price to the gap between the 1st and 3rd candle wicks is observed.
The indicator offers 3 options for marking. These are :
1-1- ‘Colours are unimportant’: candle colours are not considered for marking. Fvg formation is sufficient.(Classical)
1-2- ‘First candle opposite colour’ : when a price gap occurs, the first candle of a series of 3 candles must be opposite.
For bullish fvg : bearish - bullish - free
For Bearish fvg : bullish - bearish - free
1-3- ‘All same colour’ : all candles in a series of 3 candles must be the same direction.
For bullish fvg: bullish - bullish - bullish
For bearish fvg : bearish - bearish – bearish
Examples:
2- Mitigation zones: Opposite candles with a fvg in front of them or candles higher/lower than the previous and next candle and with the same colour as the fvg series are marked.
Examples :
3- Previous week, day, H4, H1 high and low levels
4- Sessions regions (Asia, London and New York)
5- Equal high and low levels:
Annotation: Many traders want to see a liquidity grab on the poi, then try to enter the trade with the appropriate method.
Among the indicators, there is also the indication of grabs/swepts that occur at swing points. It is also indicated when the area previously marked as equal high/low is violated (grab).
At the end, sample setups will be shown to give an idea about the use of the indicator.
Settings:
- The options to be displayed from the menu are selected by ticking.
- 1m, 2m, 3m, 5m, 5m, 10m, 15m, 30m, h1, h4, h4, h6, h8, h12, daily, weekly, monthly and quarterly, 16 time zones in total can be displayed.
- The ‘Collapse when the price touches mitigate’ tab controls whether to collapse the box as the price moves into the inner region of the mitigate. If not selected, the size of the mitigate does not change.
- ‘Approach limit =(ATR / n)’ tab controls how close the price is to the fvg or mitigate. Instant ATR(10) value is calculated by dividing by the entered ‘n’ value.
- All boxes and lines are automatically removed from the screen when the beyond is closed.
- Colour selections, table, text features are controlled from the menu.
- Sessions hours are set as standard hours, the user can select special time zones. Timezone is set to GMT-4.
- On the candle when the price touches fvg or mitigate, the timeframe information of the POI is shown in the report table together with the graphical representation.
The benefits and differences :
1- We can evaluate the factors we use for setup together.
2- We are aware of what awaits us in the high time frame in the following candles.
3- It offers the user the opportunity to be selective with different candle selection options in fvg selection.
4- Mitige areas are actually unmitige areas because they have a price gap in front of them. The market likes to retest these areas.
5- Equal high/low zones are the levels that the price creates to accumulate liquidity or fails to go beyond (especially during high volume hours). Failure or crossing of the level may give a reversal or continuation prediction.
Sample setup 1:
Sample setup 2:
Sample setup 3:
Cheerful trades…
Enjoy…
Noxon Cycles Session High/Low Indicator
This powerful indicator automatically marks the Highs and Lows of the Asian, London, and New York trading sessions directly on your chart. It helps traders identify key liquidity zones, potential reversals, and breakout points with precision. Whether you're scalping or swing trading, this tool enhances your market structure analysis and timing for better entries and exits. Perfect for intraday strategies and institutional trading insights.
GME Bond Tracker [theUltimator5]This indicator tracks when GME 0.0% convertible notes, ticker GME6042202 sees trade volume and plots it on the chart.
This indicator is used to track bond-equity arbitrage between GME and the convertible notes. When the bonds trade, there is generally a large qualified contingent trade block at the same time, so the underlying stock volume can be matched against the bond trading.
This is used to help predict future movements of GME, as well as perform trend and reaction analysis on the bond/equity arbitrage events.
TuxTune - Dynamic Vertical LineVisual aid. The vertical line moves dynamically with the last candle of the selected time frame.
The middle of the line moves with the latest price.
The line range (height) can be set to any value to aid in quickly gauging the size of the candles without having to keep looking at the numbers on the vertical axis to determine how big the candles are.
Line width, color, and distance from the last candle can also be set.
The label can be turned off/on.
round numberPurpose:
Draws multiple equidistant horizontal lines above and below a user-defined base price.
Input Parameters:
1. Base Price: Central reference price (default: 100.0)
2. Number of Lines: How many lines to draw above/below base price (default: 5 each)
3. Points Distance: Space between lines in points (default: 10 points)
4. Line Color: Customizable line color (default: blue)
5. Line Width: Adjustable thickness (1-4px, default: 1)
6. Show Labels: Toggle price labels on/off (default: on)
Zero-Lag Forex Buy/Sell Indicatorsimple buy and sell It Works:
Hull Moving Average (HMA) – Smoother and faster than SMA/EMA, reducing lag.
RSI Filter – Avoids buying in overbought conditions or selling in oversold.
Breakout Confirmation – Ensures the price confirms a new high/low before signaling.
Usage:
Buy Signal (Green Triangle):
✅ Price above HMA
✅ RSI below 30 (oversold)
✅ Price breaks recent high (confirmation)
Sell Signal (Red Triangle):
✅ Price below HMA
✅ RSI above 70 (overbought)
✅ Price breaks recent low (confirmation)
How to Improve Further:
Add Volume Confirmation (if trading a currency with reliable volume data).
Use Multi-Timeframe Analysis (e.g., check if the trend aligns on H4 + H1).
Combine with Support/Resistance Levels for stronger entries.
Moving average with different timeThis script allowing you to plot up to 6 different types of moving averages (MAs) on the chart, each with customizable parameters such as type, length, source, color, and timeframe. It also allows you to set different timeframes for each moving average.
Key Features:
Multiple Moving Averages: You can add up to 6 different moving averages to your chart.
Each MA can be one of the following types: SMA, EMA, SMMA (RMA), WMA, or VWMA.
Custom Timeframes: Each moving average can be applied to a specific timeframe, giving you flexibility to compare different periods (e.g., a 50-period moving average on the 1-hour chart and a 200-period moving average on the 4-hour chart).
Customizable Inputs:
Type: Choose between SMA, EMA, SMMA, WMA, or VWMA for each MA.
Source: You can select the price data source (e.g., close, open, high, low).
Length: Set the number of periods (length) for each moving average.
Color: Each moving average can be assigned a specific color.
Timeframe: Customize the timeframe for each moving average individually (e.g., MA1 on 15-minute, MA2 on 1-hour).
User Interface:
The script includes a data window display for each moving average, allowing you to control whether to show each MA and configure its settings directly from the settings menu.
Flexible Use:
Toggle individual moving averages on and off with the show checkbox for each MA.
Customize each MA's parameters without affecting others.
Parameters:
MA Type: You can choose between different moving averages (SMA, EMA, etc.).
Source: Price data used for calculating the moving average (e.g., close, open, etc.).
Length: Defines the period (number of bars) for each moving average.
Color: Change the line color for each moving average for better visualization.
Timeframe: Set a different timeframe for each moving average (e.g., 1-day MA vs. 1-week MA).
Example Use Case:
You might use this indicator to track short-term, medium-term, and long-term trends by adding multiple MAs with different lengths and timeframes. For example:
MA1 (20-period) might be an SMA on a 1-hour chart.
MA2 (50-period) might be an EMA on a 4-hour chart.
MA3 (100-period) might be a WMA on a daily chart.
This setup allows you to visually track the market's behavior across different timeframes and better identify trends, crossovers, and other patterns.
How to Customize:
Show/Hide MAs: Enable or disable each moving average from the input menu.
Modify Parameters: Change the MA type, source, length, and color for each individual moving average.
Timeframes: Set different timeframes for each moving average for more detailed analysis.
With this Moving Average Ribbon, you get a versatile and visually rich tool to aid in technical analysis.
sideways market for strangle📌 Description of "Sideways Market for Strangle" Script**
This **Pine Script** is designed to identify a **sideways market**, which is ideal for **option strangle strategies**. The script plots a **green signal** below the price chart when the market is in a low-volatility, non-trending phase.
---
🔹 How It Works**
1️⃣ **RSI Condition (Measures Market Momentum)**
- The script uses a **Relative Strength Index (RSI) with a length of 11**.
- If **RSI is between 40 and 60**, the market is neither overbought nor oversold, indicating a range-bound or sideways trend.
2️⃣ **ADX Condition (Checks Trend Strength)**
- The **Average Directional Index (ADX)** is used to measure trend strength.
- If **ADX is below 25**, it confirms a weak trend.
- Additionally, ADX must be **lower than both DI+ and DI-**, ensuring that there’s no strong bullish or bearish momentum.
3️⃣ **Signal Plotting**
- When both conditions are met (RSI between 40-60 and ADX < 25 with ADX < DI+ & DI-), a **green shape appears below the price chart**.
- This signal suggests that the market is in a **sideways phase**, making it suitable for **strangle or non-directional option strategies**.
---
🔹 Why Use This for a Strangle Strategy?**
- **Strangles perform best in a sideways market** where implied volatility is low.
- This indicator helps traders avoid **trending markets**, reducing risk.
- **Simple visualization** makes it easy to identify low-movement zones at a glance.
---
🔹 How to Use in TradingView**
1. **Add this script** as a custom indicator.
2. **Look for green signals** appearing below candles.
3. When the signal appears, consider setting up a **strangle options strategy**.
4. Avoid trading when the market shows **strong trends** (RSI out of range or ADX above 25).
---
🚀 Summary**
✅ **Detects sideways markets for strangle strategies**
✅ **Uses RSI (11) & ADX (14) for confirmation**
✅ **Filters out trending conditions**
✅ **Easy-to-use signal for option traders**
90-Day Beta to BTCOverview:
The 90-Day Beta to BTC indicator measures the volatility of a specific token relative to Bitcoin (BTC) over the past 90 days. Beta is a widely used statistical measure in financial markets that indicates how much a token's price moves in relation to BTC. A higher beta means the token is more volatile compared to BTC, while a lower beta means it is less volatile or moves similarly to BTC.
How It Works:
This indicator calculates the daily logarithmic returns of both the token and Bitcoin, then computes the covariance between their returns and the variance of Bitcoin’s returns. The resulting Beta value reflects the degree to which the token’s price fluctuates relative to Bitcoin's price over the past 90 days.
Beta > 1: The token is more volatile than Bitcoin, showing higher price swings.
Beta = 1: The token moves in lockstep with Bitcoin, exhibiting similar volatility.
Beta < 1: The token is less volatile than Bitcoin, showing smaller price fluctuations.
Beta = 0: The token's price movement is uncorrelated with Bitcoin’s price.
Negative Beta: The token moves opposite to Bitcoin, indicating an inverse relationship.
Use Case:
This indicator is particularly useful for traders or investors looking to identify tokens with high speculative volatility. Tokens with Beta values above 1 are typically high-risk, high-reward assets, often driven by hype, social trends, or market speculation. Conversely, tokens with Beta values below 1 offer a more stable price relationship with Bitcoin, making them less volatile and potentially safer.
In the context of a Trash Token Tournament, tokens with a higher Beta (greater than 1) may be more attractive due to their heightened volatility and potential for larger price swings, making them the “wild cards” of the market.
Visual Representation:
The Beta value is plotted as a line chart beneath the main price chart, offering a visual representation of the token’s volatility relative to Bitcoin over the last 90 days. Spikes in Beta indicate periods of increased volatility, while drops suggest stability.
Volume and Volatility Ratio Indicator-WODI该指标名为“交易量与波动率比例指标-WODI”,主要基于交易量和价格波动率构造一个复合指数,帮助识别市场内可能存在的异常或转折信号。具体实现如下:
用户自定义参数
用户可以设置交易量均线长度(vol_length)、指数的短期与长期均线长度(index_short_length、index_long_length)、均线敏感度(index_magnification)、阈值放大因子(index_threshold_magnification)以及检测K线形态的区间(lookback_bars)。这些参数为后续计算提供了灵活性,允许用户根据不同市场环境自定义指标的敏感度和响应速度。
交易量均线与百分比计算
首先通过 ta.sma 计算指定长度的交易量简单均线(vol_ma)。
接下来,将当前交易量与均线进行比较,计算出当前交易量占均线的百分比(vol_percent),这反映了短期内交易量的相对活跃程度。
波动率的衡量
使用当前K线的最高价和最低价计算振幅,再除以收盘价乘以100得到波动率(volatility),从而反映市场价格波动的幅度。
构建交易量/波动率指数
将交易量百分比与波动率相乘,形成了“交易量/波动率指数”(volatility_index)。该指数能够同时反映市场的交易活跃度和价格波动性,两者的联合作用帮助捕捉市场的“热度”。
计算指标均线与阈值
对交易量/波动率指数分别计算短期均线(index_short_ma)和长期均线(index_long_ma),并通过乘以一个敏感度参数(index_magnification)进行调整。
同时,依据长期均线计算一个阈值(index_threshold),起到过滤噪音的作用。当指数突破该阈值时,可能预示着市场的重要变化。
K线形态与反转模式检测
通过遍历最近几根K线(由lookback_bars控制),指标会检测是否符合一系列预定条件(涉及交易量、价格振幅、K线形态等),以判断是否存在反转模式。若符合条件,则标记为反转模式,从而为潜在的转折点提供提示。
图表展示
最终在独立窗口中绘制多个元素:
指数短均线与长均线:经过敏感度调整后显示,用于分析指数趋势。
交易量/波动率指数:采用阶梯线风格绘制,直观展示指数变化。
阈值线:作为参考水平,便于判断指数是否突破常规范围。
交易量柱状图:当当前交易量高于均线时,通过不同颜色显示;当检测到反转模式时,颜色会进一步强化,帮助用户迅速识别潜在信号。
English Description
This indicator, titled “Volume and Volatility Ratio Indicator - WODI”, is designed to construct a composite index based on trading volume and price volatility, aiding in the identification of abnormal market conditions or potential reversal signals. Its functionality is broken down as follows:
User-Defined Parameters
The indicator allows users to set parameters such as the moving average length for volume (vol_length), the short and long moving average lengths for the index (index_short_length and index_long_length), a sensitivity multiplier (index_magnification), a threshold magnification factor (index_threshold_magnification), and the number of bars for pattern detection (lookback_bars). These parameters provide flexibility to adjust the sensitivity and responsiveness of the indicator based on different market conditions.
Volume Moving Average and Percentage Calculation
A simple moving average (SMA) of volume is computed over the specified length (vol_ma) using the ta.sma function.
The current volume is then compared to its moving average to calculate the volume percentage (vol_percent), reflecting the relative trading intensity in the short term.
Measuring Volatility
Volatility is calculated based on the current bar’s high and low prices, normalized by the closing price and multiplied by 100, which provides a measure of the market’s price fluctuation magnitude.
Constructing the Volume/Volatility Index
The index (volatility_index) is derived by multiplying the volume percentage by the calculated volatility. This composite metric reflects both market activity and price movement, effectively capturing the overall “heat” of the market.
Calculating the Index Moving Averages and Threshold
Two moving averages for the volatility_index are computed: one short-term (index_short_ma) and one long-term (index_long_ma). These are then adjusted by the sensitivity multiplier (index_magnification).
A threshold level (index_threshold) is calculated based on the long-term moving average multiplied by the threshold magnification factor, serving to filter out market noise. When the index exceeds this threshold, it may signal significant market shifts.
Detection of Reversal Patterns
The indicator iterates through the recent bars (as determined by lookback_bars) to check whether a set of predetermined conditions (involving trends in the volatility_index, volume comparisons, price closes, and K-line patterns) are met. If these conditions are satisfied, it flags a reversal pattern, which may serve as a warning for a potential market turnaround.
Visualization on the Chart
The final display includes several elements plotted in a separate indicator window:
The short-term and long-term moving averages of the index (after sensitivity adjustment) which help visualize the trend of the composite index.
The volatility index itself is drawn using a step-line style for clarity.
A threshold line is plotted to provide a reference level against which index movements can be compared.
A volume histogram is also displayed, where bars are colored differently when the current volume exceeds the moving average; the color is further enhanced if a reversal pattern is detected, making it easy for users to quickly spot potential signals.
Gold Price with Time ShiftOverview
The "Gold Price with Time Shift" indicator allows you to visualize the Gold price (XAUUSD) with a customizable time shift, enabling you to lag or lead the data by a specified number of bars. Whether you're analyzing historical trends or projecting Gold’s price into the future, this indicator provides a flexible tool to align Gold price movements with other market indicators or events.
Features
Customizable Time Shift: Shift the Gold price backward (lag) or forward (lead) by a user-defined number of bars. Positive values lag the data, while negative values project it into the future.
Future Projection: When leading the Gold price (negative time shift), the indicator extends the chart into the future, displaying the last known price as a flat projection for easy comparison.
Daily Timeframe: Fetches Gold price data on a daily timeframe, ensuring consistency for long-term analysis.
User-Friendly Inputs: Easily adjust the Gold ticker and time shift via the settings panel to suit your analysis needs.
15Min Engulfing Break StrategyThe strategy involves the Engulfing Theory, Bullish and Bearish Engulfing patterns. Its specifically for 15 Minute chart. win ratio is 76%.
Session Highs and Lows IndicatorSession Highs and Lows Indicator
This indicator automatically tracks and displays the High and Low prices for major trading sessions:
London
New York
Asia
New York Close
For each session, it plots:
A label at the highest and lowest price point reached during the session.
A dashed line showing the high and low levels extended to the right (until the current bar), helping traders visualize key support/resistance zones.
You can toggle visibility for each session individually through the settings panel.
Session times are set in GMT+8, but you can adjust them in the code if needed.
Color code:
London: Blue
New York: Red
Asia: Green
New York Close: Orange
All lines and labels are semi-transparent to avoid chart clutter.
Ideal for intraday and session-based trading strategies.
📈 Dual SMA with Alerts & Trend ColorsFast SMA reacts quicker to price changes.
Slow SMA shows longer-term trend direction.
Trend coloring visually indicates upward or downward direction of each SMA.
Alerts are fully configured and ready to use.