Slow Stochastic日本語解説 (修正版)
インジケーター名
Slow Stochastic (スローストキャスティクス)
概要
オシレーター系の代表的なテクニカル指標である「スローストキャスティクス」を表示します。価格が「強く買われている」または「強く売られている」といった相場の価格状況を示す目安として使用されます。期間の初期設定は(26, 3, 3)です。
通常のストキャスティクスよりもラインの動きが滑らかになるため、ダマシが少なくなる傾向があります。
主な機能と特徴
ライン構成:
%K (水色/青): ファストストキャスティクスの%Kラインです。価格の動きに敏感に反応します。
Slow%D (オレンジ系): %Kを二重に平滑化したラインで、スローストキャスティクスのシグナルラインとして機能します。
%D (オレンジ系): %Kを一度だけ平滑化したラインです。設定から表示をオンにできます。
レベル表示:
80ライン: これより上は、買われる勢いが強いことを示すゾーンの目安です。
20ライン: これより下は、売られる勢いが強いことを示すゾーンの目安です。
50ライン: トレンドの強弱の分かれ目として意識されます。
視覚的な強調:
ダイナミックカラー: 各ラインは、買われる勢いが強いゾーン(80以上)や売られる勢いが強いゾーン(20以下)に入ると色が濃くなり、相場の価格の状況を示唆します。
背景の塗りつぶし: 相場の勢いが比較的落ち着いている中間ゾーン(80~20)に色が付き、主な変動範囲をハイライトします。
設定項目
%K: %Kラインを計算するための期間(初期値: 26)。
%D: %Dラインを計算するための平滑化期間(初期値: 3)。
Slow%D: Slow %Dラインを計算するための平滑化期間(初期値: 3)。
Show %D: %Dラインの表示・非表示を切り替えます。
English Description (Revised)
Indicator Name
Slow Stochastic
Description
This indicator displays the Slow Stochastic, a popular momentum oscillator. It is used as a guideline to gauge market momentum, helping to identify when the market is being heavily bought or sold. The default period settings are (26, 3, 3).
Compared to the standard Fast Stochastic, its lines are smoother, which can help to reduce false signals.
Key Features
Line Components:
%K (Light Blue/Blue): This is the Fast Stochastic's %K line, which reacts sensitively to price movements.
Slow%D (Orange/Red): This line is a double-smoothed version of %K and acts as the signal line for the Slow Stochastic.
%D (Orange): This is a single-smoothed version of the %K line. Its visibility can be enabled in the settings.
Key Levels:
80 Line: The area above this level is the "overbought" zone, suggesting strong buying momentum.
20 Line: The area below this level is the "oversold" zone, suggesting strong selling momentum.
50 Line: This midline can be seen as a dividing line for trend momentum.
Visual Highlights:
Dynamic Colors: The color of each line becomes darker when it enters the overbought (above 80) or oversold (below 20) zones, visually highlighting periods of high momentum.
Background Fill: The area between the 80 and 20 levels is filled, highlighting the typical fluctuation range of the oscillator.
Settings
%K: The period used to calculate the %K line (Default: 26).
%D: The smoothing period for the %D line (Default: 3).
Slow%D: The smoothing period for the Slow %D line (Default: 3).
Show %D: Toggles the visibility of the %D line.
Indicadores y estrategias
Multi Asset Comparative📊 Multi Asset Comparative – Compare Baskets of Cryptos Visually
This indicator allows you to compare the performance of two groups of cryptocurrencies (or any assets) over time, using a clean and intuitive chart.
Instead of looking at each asset separately, this tool gives you a global view by showing how one group performs relative to another — all displayed in the form of candlesticks.
🧠 What This Tool Is For
Markets constantly shift, and capital rotates between sectors or tokens. This script helps you visually track those shifts by answering a key question:
"Is this group of assets getting stronger or weaker compared to another group?"
For example:
Compare altcoins vs Bitcoin
Track the DeFi sector vs Ethereum
Analyze your custom portfolio vs the market
Spot moments when money flows from majors to smaller caps, or vice versa
🧩 How It Works (Simplified)
You select two groups of assets:
Group 1 (up to 20 assets) — the one you want to analyze
Group 2 (up to 5 assets) — your comparison baseline
The indicator then creates a single line of candles that represents the performance of Group 1 compared to Group 2. If the candles go up, it means Group 1 is gaining strength over Group 2. If the candles go down, it's losing ground.
This lets you see market dynamics in one glance, instead of switching charts or running calculations manually.
🚀 Why It's Unique
Unlike many indicators that just show data from one asset, this one provides a bird's-eye view of multiple assets at once — condensed into a simple visual ratio.
It’s:
Customizable (you choose the assets)
Visual and intuitive (no need to interpret tables or formulas)
Actionable (helps with trend confirmation, macro views, and market rotation)
Whether you're a swing trader, a macro analyst, or building your own strategy, this tool can help you spot opportunities hidden in plain sight.
✅ How to Use It
Choose your two groups of assets (e.g., altcoins vs BTC/ETH)
Watch the direction of the candles:
Uptrend = Group 1 gaining strength over Group 2
Downtrend = Group 1 weakening
Use it to confirm market shifts, anticipate rotations, or analyze sector strength
Local Extremes by Hour (Fractal Period = 12)An indicator to backtest the percentage of William Fractals extremes per hour of day
Inside Bar FinderAn Inside Bar is a candlestick pattern where the entire price range (high to low) of the current candle is completely contained within the range of the previous candle.
Key Criteria:
High of current candle is lower than the previous candle’s high.
Low of current candle is higher than the previous candle’s low.
Usage:
Breakout traders watch for the next candle to break above or below the inside bar.
It’s often used in trending markets as a signal to join the trend after the consolidation.
Can be combined with support/resistance, volume, or trend filters for higher probability.
Candle Size “This indicator calculates and displays the real-time size of the current candle by measuring the difference between its high and low prices. The value is shown in the indicator’s data window without plotting any visible elements on the chart, providing a clean interface while keeping you informed about candle volatility.”
SROC AngleThe SRCO Angle Oscillator is a technical indicator that normalizes the data from the Stochastic Relative Change Oscillator (SRCO). By transforming the SRCO's output into an angular representation, this oscillator provides a clearer, bounded view of price momentum and relative change, making it easier for traders and analysts to identify overbought/oversold conditions and potential trend reversals within a normalized range. This normalization helps to reduce the choppiness often seen in raw oscillator data, offering a smoother and more interpretable signal.
StatMetricsLibrary "StatMetrics"
A utility library for common statistical indicators and ratios used in technical analysis.
Includes Z-Score, correlation, PLF, SRI, Sharpe, Sortino, Omega ratios, and normalization tools.
zscore(src, len)
Calculates the Z-score of a series
Parameters:
src (float) : The input price or series (e.g., close)
len (simple int) : The lookback period for mean and standard deviation
Returns: Z-score: number of standard deviations the input is from the mean
corr(x, y, len)
Computes Pearson correlation coefficient between two series
Parameters:
x (float) : First series
y (float) : Second series
len (simple int) : Lookback period
Returns: Correlation coefficient between -1 and 1
plf(src, longLen, shortLen, smoothLen)
Calculates the Price Lag Factor (PLF) as the difference between long and short Z-scores, normalized and smoothed
Parameters:
src (float) : Source series (e.g., close)
longLen (simple int) : Long Z-score period
shortLen (simple int) : Short Z-score period
smoothLen (simple int) : Hull MA smoothing length
Returns: Smoothed and normalized PLF oscillator
sri(signal, len)
Computes the Statistical Reliability Index (SRI) based on trend persistence
Parameters:
signal (float) : A price or signal series (e.g., smoothed PLF)
len (simple int) : Lookback period for smoothing and deviation
Returns: Normalized trend reliability score
sharpe(src, len)
Calculates the Sharpe Ratio over a period
Parameters:
src (float) : Price series (e.g., close)
len (simple int) : Lookback period
Returns: Sharpe ratio value
sortino(src, len)
Calculates the Sortino Ratio over a period, using only downside volatility
Parameters:
src (float) : Price series
len (simple int) : Lookback period
Returns: Sortino ratio value
omega(src, len)
Calculates the Omega Ratio as the ratio of upside to downside return area
Parameters:
src (float) : Price series
len (simple int) : Lookback period
Returns: Omega ratio value
beta(asset, benchmark, len)
Calculates beta coefficient of asset vs benchmark using rolling covariance
Parameters:
asset (float) : Series of the asset (e.g., close)
benchmark (float) : Series of the benchmark (e.g., SPX close)
len (simple int) : Lookback window
Returns: Beta value (slope of linear regression)
alpha(asset, benchmark, len)
Calculates rolling alpha of an asset relative to a benchmark
Parameters:
asset (float) : Series of the asset (e.g., close)
benchmark (float) : Series of the benchmark (e.g., SPX close)
len (simple int) : Lookback window
Returns: Alpha value (excess return not explained by Beta exposure)
skew(x, len)
Computes skewness of a return series
Parameters:
x (float) : Input series (e.g., returns)
len (simple int) : Lookback period
Returns: Skewness value
kurtosis(x, len)
Computes kurtosis of a return series
Parameters:
x (float) : Input series (e.g., returns)
len (simple int) : Lookback period
Returns: Kurtosis value
cv(x, len)
Calculates Coefficient of Variation
Parameters:
x (float) : Input series (e.g., returns or prices)
len (simple int) : Lookback period
Returns: CV value
autocorr(x, len)
Calculates autocorrelation with 1-lag
Parameters:
x (float) : Series to test
len (simple int) : Lookback window
Returns: Autocorrelation at lag 1
stderr(x, len)
Calculates rolling standard error of a series
Parameters:
x (float) : Input series
len (simple int) : Lookback window
Returns: Standard error (std dev / sqrt(n))
info_ratio(asset, benchmark, len)
Calculates the Information Ratio
Parameters:
asset (float) : Asset price series
benchmark (float) : Benchmark price series
len (simple int) : Lookback period
Returns: Information ratio (alpha / tracking error)
tracking_error(asset, benchmark, len)
Measures deviation from benchmark (Tracking Error)
Parameters:
asset (float) : Asset return series
benchmark (float) : Benchmark return series
len (simple int) : Lookback window
Returns: Tracking error value
max_drawdown(x, len)
Computes maximum drawdown over a rolling window
Parameters:
x (float) : Price series
len (simple int) : Lookback window
Returns: Rolling max drawdown percentage (as a negative value)
zscore_signal(z, ob, os)
Converts Z-score into a 3-level signal
Parameters:
z (float) : Z-score series
ob (float) : Overbought threshold
os (float) : Oversold threshold
Returns: -1, 0, or 1 depending on signal state
r_squared(x, y, len)
Calculates rolling R-squared (coefficient of determination)
Parameters:
x (float) : Asset returns
y (float) : Benchmark returns
len (simple int) : Lookback window
Returns: R-squared value (0 to 1)
entropy(x, len)
Approximates Shannon entropy using log returns
Parameters:
x (float) : Price series
len (simple int) : Lookback period
Returns: Approximate entropy
zreversal(z)
Detects Z-score reversals to the mean
Parameters:
z (float) : Z-score series
Returns: +1 on upward reversal, -1 on downward
momentum_rank(x, len)
Calculates relative momentum strength
Parameters:
x (float) : Price series
len (simple int) : Lookback window
Returns: Proportion of lookback where current price is higher
normalize(x, len)
Normalizes a series to a 0–1 range over a period
Parameters:
x (float) : The input series
len (simple int) : Lookback period
Returns: Normalized value between 0 and 1
composite_score(score1, score2, score3)
Combines multiple normalized scores into a composite score
Parameters:
score1 (float)
score2 (float)
score3 (float)
Returns: Average composite score
BTC Breakout Alert (Max High Logic)//@version=5
indicator("BTC Breakout Alert (Max High Logic)", overlay=true)
// === Inputs ===
lookbackBars = input.int(50, title="Lookback Period for Recent High")
volumeThreshold = input.int(1500, title="Minimum Volume (15m)")
// === Indicators ===
// MACD
= ta.macd(close, 12, 26, 9)
macdBullish = macdLine > signalLine and macdLine <= signalLine
// RSI
rsi = ta.rsi(close, 14)
rsiBullish = rsi > 55
// Volume condition
volOK = volume > volumeThreshold
// Dynamic breakout level: highest high of recent N bars
recentHigh = ta.highest(high, lookbackBars)
priceBreakout = close > recentHigh and close > open
// Final condition
highProbTrade = priceBreakout and macdBullish and rsiBullish and volOK
// === Plot Signals ===
plotshape(highProbTrade, title="High Prob Buy Signal", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY 🚀")
// === Alert Setup ===
alertcondition(highProbTrade, title="High Prob Long Entry", message="🚀 High probability BTC breakout detected — consider entering long.")
Vertical Lines Every 12 Hours//@version=5
indicator("Vertical Lines Every 12 Hours", overlay=true)
// Get the current time in milliseconds since the Unix epoch
currentTime = time
// Calculate 12 hours in milliseconds (12 hours * 60 minutes/hour * 60 seconds/minute * 1000 milliseconds/second)
twelveHoursInMs = 12 * 60 * 60 * 1000
// Determine the timestamp of the last 12-hour mark
// We use 'time / twelveHoursInMs' to get the number of 12-hour blocks since epoch,
// then multiply by 'twelveHoursInMs' to get the start of the current 12-hour block.
// Adding 'twelveHoursInMs' ensures we plot at the *next* 12-hour mark.
// The modulo operator '%' helps us check if the current bar's time is exactly
// at a 12-hour interval relative to the start of the current day.
// This approach tries to align the lines consistently.
// A more robust way to do this is to check if the hour changes to 00:00 or 12:00 UTC (or your preferred timezone)
// and plot a line then. However, for "every 12 hours" relative to the chart's start,
// a simple time-based check is often sufficient.
// Let's refine the logic to hit specific 12-hour intervals like 00:00 and 12:00 daily (UTC as an example).
// You might need to adjust the timezone based on your chart's time zone settings and your preference.
// Get the hour of the day for the current bar's timestamp
hourOfDay = hour(time, "GMT") // "GMT" for UTC, adjust as needed (e.g., "America/New_York", "Asia/Jerusalem")
// Plot a vertical line if the hour is 0 (midnight) or 12 (noon)
if hourOfDay == 0 or hourOfDay == 12
line.new(x1=bar_index, y1=low, x2=bar_index, y2=high, extend=extend.both, color=color.blue, width=1)
Fester prozentualer Abstand zum Kursthe indicator delivers a fixed percent distance to the market price, made with AI support
NY opennew york open.
new york open hours of the past two weeks up until two days ahead are shown as vertical lines which is great for both analyzing past data and seeing where would future new york open align with compared to your own future analysis.
10-Period Simple Moving AverageSimple Moving Average 10 Period. Moving average 10 period. SMA. The SMA works on any timeframe (e.g., 1-minute, 1-hour, daily). The 10-period SMA will calculate based on the chart’s timeframe (e.g., 10 minutes on a 1-minute chart, 10 days on a daily chart). If you want to change the SMA period, edit the number in ta.sma(close, 10) to your desired period (e.g., ta.sma(close, 20) for a 20-period SMA).
My script//@version=5
indicator("XAUUSD High Win-Rate Strategy", shorttitle="XAUUSD HWR", overlay=true)
// ============================================================================
// XAUUSD HIGH WIN-RATE STRATEGY INDICATOR
// Based on Dual-Phase Momentum Filter System
// Designed for M1, M5 timeframes with H1/H4 bias confirmation
// ============================================================================
// Input Parameters
ma_length = input.int(55, title="MA Channel Length", minval=1, maxval=200)
atr_length = input.int(14, title="ATR Length", minval=1, maxval=50)
atr_multiplier = input.float(2.5, title="ATR Stop Loss Multiplier", minval=1.0, maxval=5.0, step=0.1)
rr_ratio = input.float(1.5, title="Risk:Reward Ratio", minval=1.0, maxval=3.0, step=0.1)
htf_bias = input.timeframe("60", title="Higher Timeframe for Bias")
show_levels = input.bool(true, title="Show Entry/Exit Levels")
show_signals = input.bool(true, title="Show Buy/Sell Signals")
show_channel = input.bool(true, title="Show MA Channel")
// ============================================================================
// CORE CALCULATIONS
// ============================================================================
// Moving Average Channel (55-period High/Low)
ma_high = ta.sma(high, ma_length)
ma_low = ta.sma(low, ma_length)
// Heiken Ashi Calculations
ha_close = (open + high + low + close) / 4
var float ha_open = na
ha_open := na(ha_open ) ? (open + close) / 2 : (ha_open + ha_close ) / 2
ha_high = math.max(high, math.max(ha_open, ha_close))
ha_low = math.min(low, math.min(ha_open, ha_close))
// Higher Timeframe Bias (200 SMA)
htf_sma200 = request.security(syminfo.tickerid, htf_bias, ta.sma(close, 200), lookahead=barmerge.lookahead_off)
// ATR for Stop Loss Calculation
atr = ta.atr(atr_length)
// RSI for Additional Confirmation
rsi = ta.rsi(close, 14)
// ============================================================================
// SIGNAL LOGIC
// ============================================================================
// Channel Filter - No trades when price is within the channel
in_channel = close > ma_low and close < ma_high
outside_channel = not in_channel
// Heiken Ashi Color
ha_bullish = ha_close > ha_open
ha_bearish = ha_close < ha_open
// Higher Timeframe Bias
htf_bullish = close > htf_sma200
htf_bearish = close < htf_sma200
// Entry Conditions
long_condition = outside_channel and close > ma_high and ha_bullish and htf_bullish
short_condition = outside_channel and close < ma_low and ha_bearish and htf_bearish
// Entry Signals (only on bar close to avoid repainting)
long_signal = long_condition and not long_condition
short_signal = short_condition and not short_condition
// ============================================================================
// TRADE LEVELS CALCULATION
// ============================================================================
var float entry_price = na
var float stop_loss = na
var float take_profit = na
var string trade_direction = na
// Calculate levels for new signals
if long_signal
entry_price := close
stop_loss := close - (atr * atr_multiplier)
take_profit := close + ((close - stop_loss) * rr_ratio)
trade_direction := "LONG"
if short_signal
entry_price := close
stop_loss := close + (atr * atr_multiplier)
take_profit := close - ((stop_loss - close) * rr_ratio)
trade_direction := "SHORT"
// ============================================================================
// VISUAL ELEMENTS
// ============================================================================
// MA Channel - Store plot IDs for fill function
ma_high_plot = plot(show_channel ? ma_high : na, color=color.blue, linewidth=1, title="MA High")
ma_low_plot = plot(show_channel ? ma_low : na, color=color.red, linewidth=1, title="MA Low")
// Fill the channel
fill(ma_high_plot, ma_low_plot, color=color.new(color.gray, 90), title="MA Channel")
// Higher Timeframe SMA200
plot(htf_sma200, color=color.purple, linewidth=2, title="HTF SMA200")
// Entry Signals
plotshape(show_signals and long_signal, title="Long Signal", location=location.belowbar,
style=shape.triangleup, size=size.normal, color=color.green)
plotshape(show_signals and short_signal, title="Short Signal", location=location.abovebar,
style=shape.triangledown, size=size.normal, color=color.red)
// Trade Levels
entry_plot = plot(show_levels and not na(entry_price) ? entry_price : na,
color=color.yellow, linewidth=2, style=line.style_dashed, title="Entry Price")
stop_plot = plot(show_levels and not na(stop_loss) ? stop_loss : na,
color=color.red, linewidth=2, style=line.style_dotted, title="Stop Loss")
target_plot = plot(show_levels and not na(take_profit) ? take_profit : na,
color=color.green, linewidth=2, style=line.style_dotted, title="Take Profit")
// ============================================================================
// ALERTS
// ============================================================================
// Alert Conditions
alertcondition(long_signal, title="Long Entry Signal",
message="XAUUSD Long Entry: Price={{close}}, SL=" + str.tostring(stop_loss) + ", TP=" + str.tostring(take_profit))
alertcondition(short_signal, title="Short Entry Signal",
message="XAUUSD Short Entry: Price={{close}}, SL=" + str.tostring(stop_loss) + ", TP=" + str.tostring(take_profit))
// ============================================================================
// INFORMATION TABLE
// ============================================================================
if barstate.islast and show_levels
var table info_table = table.new(position.top_right, 2, 8, bgcolor=color.white, border_width=1)
table.cell(info_table, 0, 0, "XAUUSD Strategy Info", text_color=color.black, text_size=size.normal)
table.cell(info_table, 1, 0, "", text_color=color.black)
table.cell(info_table, 0, 1, "Current Price:", text_color=color.black)
table.cell(info_table, 1, 1, str.tostring(close, "#.##"), text_color=color.black)
table.cell(info_table, 0, 2, "ATR (14):", text_color=color.black)
table.cell(info_table, 1, 2, str.tostring(atr, "#.##"), text_color=color.black)
table.cell(info_table, 0, 3, "RSI (14):", text_color=color.black)
table.cell(info_table, 1, 3, str.tostring(rsi, "#.##"), text_color=color.black)
table.cell(info_table, 0, 4, "HTF Bias:", text_color=color.black)
table.cell(info_table, 1, 4, htf_bullish ? "BULLISH" : "BEARISH",
text_color=htf_bullish ? color.green : color.red)
table.cell(info_table, 0, 5, "In Channel:", text_color=color.black)
table.cell(info_table, 1, 5, in_channel ? "YES" : "NO",
text_color=in_channel ? color.red : color.green)
if not na(trade_direction)
table.cell(info_table, 0, 6, "Last Signal:", text_color=color.black)
table.cell(info_table, 1, 6, trade_direction,
text_color=trade_direction == "LONG" ? color.green : color.red)
table.cell(info_table, 0, 7, "Risk/Reward:", text_color=color.black)
table.cell(info_table, 1, 7, "1:" + str.tostring(rr_ratio, "#.#"), text_color=color.black)
// ============================================================================
// BACKGROUND COLORING
// ============================================================================
// Color background based on trend and channel status
bg_color = color.new(color.white, 100)
if htf_bullish and not in_channel
bg_color := color.new(color.green, 95)
else if htf_bearish and not in_channel
bg_color := color.new(color.red, 95)
else if in_channel
bg_color := color.new(color.yellow, 95)
bgcolor(bg_color, title="Background Trend Color")
// ============================================================================
// STRATEGY NOTES
// ============================================================================
// This indicator implements the Dual-Phase Momentum Filter System:
// 1. MA Channel Filter: Avoids trades when price is between 55-period high/low MAs
// 2. Heiken Ashi Confirmation: Requires momentum alignment for entries
// 3. Higher Timeframe Bias: Uses 200 SMA on higher timeframe for direction
// 4. ATR-based Risk Management: Dynamic stop losses based on volatility
// 5. Fixed Risk:Reward Ratio: Consistent 1:1.5 profit targets
//
// Usage Instructions:
// 1. Apply to M1 or M5 timeframe for optimal signals
// 2. Set higher timeframe to H1 or H4 for bias confirmation
// 3. Wait for signals outside the MA channel
// 4. Enter trades only when all conditions align
// 5. Use provided stop loss and take profit levels
// 6. Risk no more than 0.5% of account per trade
//
// Best Trading Sessions: Asian and New York
// Avoid: Low liquidity periods and major news events
21DMA Structure Counter (EMA/SMA Option)21DMA Structure Counter (EMA/SMA Option)
Overview
The 21DMA Structure Counter is an advanced technical indicator that tracks consecutive periods where price action remains above a 21-period moving average structure. This indicator helps traders identify momentum phases and potential trend exhaustion points using statistical analysis.
Key Features
Moving Average Structure
- Configurable MA Type: Choose between EMA (Exponential Moving Average) or SMA (Simple Moving Average)
- 21-Period Default: Optimized for the widely-watched 21-period moving average
- Triple MA Structure: Tracks high, close, and low moving averages for comprehensive analysis
Statistical Analysis
- Cycle Counting: Automatically counts consecutive periods above the MA structure
- Historical Data: Maintains up to 2,500 historical cycles (approximately 10 years of daily data)
- Z-Score Calculation: Provides statistical context using mean and standard deviation
- Multiple Standard Deviation Levels: Displays +1, +2, and +3 standard deviation thresholds
Visual Indicators
Color-Coded Bars:
- Gray: Below 10-year average
- Yellow: Between average and +1 standard deviation
- Orange: Between +1 and +2 standard deviations
- Red: Between +2 and +3 standard deviations
- Fuchsia: Above +3 standard deviations (extreme readings)
Breadth Integration
- Multiple Breadth Options: NDFI, NDTH, NDTW (NASDAQ breadth indicators), or VIX
- Background Shading: Visual alerts when breadth reaches extreme levels
- High/Low Thresholds: Customizable levels for breadth analysis
- Real-time Display: Current breadth value shown in data table
Smart Reset Logic
- High Below Structure Reset: Automatically resets count when daily high falls below the lowest MA
- Flexible Hold Period: Continues counting during temporary weakness as long as structure isn't violated
- Precise Entry/Exit: Strict criteria for starting cycles, flexible for maintaining them
How to Use
Trend Identification
- Rising Counts: Indicate sustained momentum above key moving average structure
- Extreme Readings: Z-scores above +2 or +3 suggest potential trend exhaustion
- Historical Context: Compare current cycles to 10-year statistical averages
Risk Management
- Breadth Confirmation: Use breadth shading to confirm market-wide strength/weakness
- Statistical Extremes: Exercise caution when readings reach +3 standard deviations
- Reset Signals: Pay attention to structure violations for potential trend changes
Multi-Timeframe Application
- Daily Charts: Primary timeframe for swing trading and position management
- Weekly/Monthly: Longer-term trend analysis
- Intraday: Shorter-term momentum assessment (adjust MA period accordingly)
Settings
Moving Average Options
- Type: EMA or SMA selection
- Period: Default 21 (customizable)
- Reset Days: Days below structure required for reset
Visual Customization
- Standard Deviation Lines: Toggle and customize colors for +1, +2, +3 SD
- Breadth Selection: Choose from NDFI, NDTH, NDTW, or VIX
- Threshold Levels: Set custom high/low breadth thresholds
- Table Styling: Customize text colors, background, and font size
Technical Notes
- Data Retention: Maintains 2,500 historical cycles for robust statistical analysis
- Real-time Updates: Calculations update with each new bar
- Breadth Integration: Uses security() function to pull external breadth data
- Performance Optimized: Efficient array management prevents memory issues
Best Practices
1. Combine with Price Action: Use alongside support/resistance and chart patterns
2. Monitor Breadth Divergences: Watch for breadth weakness during strong readings
3. Respect Statistical Extremes: Exercise caution at +2/+3 standard deviation levels
4. Context Matters: Consider overall market environment and sector rotation
5. Risk Management: Use appropriate position sizing, especially at extreme readings
Disclaimer
This indicator is for educational and informational purposes only. It should not be used as the sole basis for trading decisions. Always combine with other forms of analysis and proper risk management techniques.
Compatible with Pine Script v6 | Optimized for daily timeframes | Best used on major indices and liquid stocks
Meth Brothers™ Dynamite FuseEarly entry indicator with based on 5& 9 EMAS, with a visual aid (stick of dynamite) to show the pivot and that both EMAS are in agreement.
Opening Range + Full-Day High/Low + Prev Day LevelsDraws a box around the first 15min range with horizontal lines extending throughout the day, with faded lines of the previous day's highs and lows, also draws arrows for 5m breakouts of those levels
Position Size CalculatorPosition Size Calculator for Futures Trading
A professional position sizing tool designed specifically for futures traders who want to maintain disciplined risk management. This indicator calculates the optimal number of contracts based on your predefined risk amount and provides instant visual feedback.
Key Features:
• Interactive price selection - simply click on the chart to set entry, stop loss, and take profit levels
• Supports all major futures contracts: ES, NQ, GC, RTY, YM, MNQ, MES with accurate contract specifications
• Customizable risk amount (defaults to $500 but fully adjustable)
• Real-time position size calculations that never exceed your risk tolerance
• Visual risk validation with color-coded header (green = valid risk, red = excessive risk)
• Automatic 2:1 risk/reward ratio calculations
• Compact, non-intrusive table display in top-right corner
• Clean interface with no chart clutter
How to Use:
Select your futures instrument from the dropdown
Set your maximum risk amount (default $500)
Click on the chart to set your Entry Price
Click on the chart to set your Stop Loss Price
Optionally click to set your Take Profit Price
The calculator instantly shows maximum contracts, actual risk, expected profit, and R/R ratio
Risk Management:
The indicator enforces strict risk management by calculating the maximum number of contracts you can trade while staying within your specified risk limit. The header turns green when your trade is within acceptable risk parameters and red when the risk is too high, providing instant visual feedback.
Perfect for day traders, swing traders, and anyone trading futures who wants to maintain consistent position sizing and risk management discipline.
TradersPostDeluxeLibrary "TradersPostDeluxe"
TradersPost integration. It's currently not very deluxe
SendEntryAlert(ticker, action, quantity, orderType, takeProfit, stopLoss, id, price, timestamp, timezone)
Sends an alert to TradersPost to trigger an Entry
Parameters:
ticker (string) : Symbol to trade. Default is syminfo.ticker
action (series Action) : TradersPostAction (.buy, .sell) default = buy
quantity (float) : Amount to trade, default = 1
orderType (series OrderType) : TradersPostOrderType, default =e TradersPostOrderType.market
takeProfit (float) : Take profit limit price
stopLoss (float) : Stop loss price
id (string) : id for the trade
price (float) : Expected price
timestamp (int) : Time of the trade for reporting, defaults to timenow
timezone (string) : associated with the time, defaults to syminfo.timezone
Returns: Nothing
SendExitAlert(ticker, price, timestamp, timezone)
Sends an alert to TradersPost to trigger an Exit
Parameters:
ticker (string) : Symbol to flatten
price (float) : Documented planned price
timestamp (int) : Time of the trade for reporting, defaults to timenow
timezone (string) : associated with the time, defaults to syminfo.timezone
Returns: Nothing
TBL Session Highs&LowsBL Session Highs&Lows is a versatile intraday tool that highlights key price levels within up to 11 configurable trading sessions. It displays session highs, lows, and optional open levels, with customizable lines, labels, and boxes — perfect for tracking price behavior across sessions like Asia, London, and New York.
🔧 Key Features
🧩 Up to 11 fully customizable sessions
📍 High, Low, and Open lines with adjustable color, style, and width
🧱 Optional boxes showing session range, dynamically colored based on price movement
🏷️ Session labels for visual orientation
🔁 Extendable lines to project levels beyond the session
🌐 Custom time zone support for each session
🎨 Fully customizable visuals for clear chart integration
📈 Designed for:
Intraday session tracking (e.g., Asia, London, NY)
Session-based strategies (breakouts, reversals, liquidity zones)
Open-level reference (e.g., NY open)
Visual separation of trading periods
Example Scenarios:
🟦 "Asia" session: 18:00–00:00 GMT-4 with full box and lines
🟩 "London" session: 00:00–06:00 with high/low lines only
🟥 Segmented NY sessions (Q1–Q4) for fine-grained intraday tracking
✅ Tip: Enable only the sessions you need to keep your chart clean and focused.
TableRSI and Ichimoku Strength Table
This indicator displays whole-number RSI values (1h, 4h, 1d, 3d, 1w) and Ichimoku strengths (Conversion Line, Base Line, Cloud, Lagging Span) in a customizable table. Toggle between horizontal (9x2) or vertical (2x10) layouts, with adjustable position (e.g., Top Right), text size (Tiny to Large), and colors (border, header, text, RSI: >70 red, <30 green, 30-70 yellow; Ichimoku: >50 green, <50 red). Ichimoku components are plotted on the chart. It offers a clear view of momentum and trend strength for traders.