Breakout ProAdvanced breakout/breakdown indicator featuring multi-pattern detection, quality tier scoring (S/A/B/C), strength analysis (0-10), VWAP integration, multi-timeframe filters, and adaptive R-based take-profit/stop-loss framework. Includes comprehensive dashboard with real-time metrics and market regime detection.
อินดิเคเตอร์และกลยุทธ์
CoreLibrary "Core"
inRTH()
gapFlags(prevDayClose, gapPct)
Parameters:
prevDayClose (float)
gapPct (float)
gapInfo(prevClose)
Parameters:
prevClose (float)
relativeVolume(len)
Parameters:
len (int)
barSeconds()
barSecondsOpt(rthSecondsDefault)
Parameters:
rthSecondsDefault (int)
relVolRealtime(len)
Parameters:
len (int)
mtfAlign(htfEma, tol)
Parameters:
htfEma (float)
tol (float)
htfDistanceAbs(htfEma, fallback)
Parameters:
htfEma (float)
fallback (float)
mtfState(htfEma, tol)
Parameters:
htfEma (float)
tol (float)
adaptiveLength(rocLen, minSmooth, maxSmooth, useAdaptive, baseSmoothing, speedLookback)
Parameters:
rocLen (int)
minSmooth (int)
maxSmooth (int)
useAdaptive (bool)
baseSmoothing (int)
speedLookback (int)
adaptiveTrend(src, adaptiveLen)
Parameters:
src (float)
adaptiveLen (float)
atrBands(atrLen, atrMult, basis)
Parameters:
atrLen (simple int)
atrMult (float)
basis (float)
calcTrendStrength(closePrice, fastEMA, slowEMA, volumeConfirmed, speedConfirmed)
Parameters:
closePrice (float)
fastEMA (float)
slowEMA (float)
volumeConfirmed (bool)
speedConfirmed (bool)
calcMovementPotential(inExpansionZone, trendStrength, speedConfirmed)
Parameters:
inExpansionZone (bool)
trendStrength (int)
speedConfirmed (bool)
combineSignalScore(trendStrength, movementPotential, mtfBonus, volumeSurgeBonus)
Parameters:
trendStrength (int)
movementPotential (int)
mtfBonus (int)
volumeSurgeBonus (int)
strength10(dirLong, volRatio, htfDistance, isTraditional, isAltPattern, bodySize, rsi)
Parameters:
dirLong (bool)
volRatio (float)
htfDistance (float)
isTraditional (bool)
isAltPattern (bool)
bodySize (float)
rsi (float)
sessionProfile()
microstructure(lookback)
Parameters:
lookback (int)
normalizePressure(pressure, lookback)
Parameters:
pressure (float)
lookback (int)
tickPressureNorm(lb)
Parameters:
lb (int)
zscore(x, lb)
Parameters:
x (float)
lb (int)
tickPressureZ(lb)
Parameters:
lb (int)
strength10DayTrade(dirLong, volRatio, htfDistance, isTraditional, isAltPattern, bodySize, rsi, sessionBonus, tickPressure)
Parameters:
dirLong (bool)
volRatio (float)
htfDistance (float)
isTraditional (bool)
isAltPattern (bool)
bodySize (float)
rsi (float)
sessionBonus (bool)
tickPressure (float)
vwapBands(vwap, length)
Parameters:
vwap (float)
length (int)
vwapChop(vwap, dev, atrPct, rsi)
Parameters:
vwap (float)
dev (float)
atrPct (float)
rsi (float)
calcRiskReward(entry, stop, tp1, tp2, tp3, shares)
Parameters:
entry (float)
stop (float)
tp1 (float)
tp2 (float)
tp3 (float)
shares (float)
squeezeBBKC()
marketRegime(lookback)
Parameters:
lookback (int)
squeezeBucket(ratio)
Parameters:
ratio (float)
dynamicCooldown(baseBars, atrPct, inChop, maxBars)
Parameters:
baseBars (int)
atrPct (float)
inChop (bool)
maxBars (int)
vwapMode(inChop)
Parameters:
inChop (bool)
toPctStr(x)
Parameters:
x (float)
yesNo(b)
Parameters:
b (bool)
trendLabel(state)
Parameters:
state (int)
minRByPct(price, pct)
Parameters:
price (float)
pct (float)
vwapChopScore(vwap, dev, atrPct, rsi)
Parameters:
vwap (float)
dev (float)
atrPct (float)
rsi (float)
strengthGateSuggest(isQualityTime, inChop, baseGate)
Parameters:
isQualityTime (bool)
inChop (bool)
baseGate (int)
cooldownReason(atrPct, inChop)
Parameters:
atrPct (float)
inChop (bool)
readyGates(isQualityTime, inChop, relVol, atrPct, baseGate)
Parameters:
isQualityTime (bool)
inChop (bool)
relVol (float)
atrPct (float)
baseGate (int)
readyVerdict(isLong, mtfStateVal, relVol, atrPercent, strengthScore, strengthGate)
Parameters:
isLong (bool)
mtfStateVal (int)
relVol (float)
atrPercent (float)
strengthScore (int)
strengthGate (int)
structuralStops(isLong, sigLow, sigHigh, vwap, dev, atr, stopBufAtr)
Parameters:
isLong (bool)
sigLow (float)
sigHigh (float)
vwap (float)
dev (float)
atr (float)
stopBufAtr (float)
emaSlopePct(ema, bars)
Parameters:
ema (float)
bars (int)
atrPct(len)
Parameters:
len (simple int)
cooldownStatus(lastSigBar, cooldownBars)
Parameters:
lastSigBar (int)
cooldownBars (int)
emaSlopeSign(ema, bars)
Parameters:
ema (float)
bars (int)
barProgress()
rthMarkers()
badge(ok)
Parameters:
ok (bool)
triBadge(x)
Parameters:
x (int)
priceAcceptanceAdaptive(minBodyFrac)
Parameters:
minBodyFrac (float)
speedConfirmed(rocLen, emaLen, smaLen)
Parameters:
rocLen (int)
emaLen (simple int)
smaLen (int)
setupScore(isLoose, isNormal, vwapTrend, emaUp, mtfBull, relVolOK, microOK, cooldownOK)
Parameters:
isLoose (bool)
isNormal (bool)
vwapTrend (bool)
emaUp (bool)
mtfBull (bool)
relVolOK (bool)
microOK (bool)
cooldownOK (bool)
setupTier(score)
Parameters:
score (int)
setupQuality(score)
Parameters:
score (int)
setupQualityColor(score)
Parameters:
score (int)
setupScoreDir(isLong, isLoose, isNormal, vwapTrend, emaUp, mtfBull, relVolOK, priceAccept, tickNorm, cooldownOK)
Parameters:
isLong (bool)
isLoose (bool)
isNormal (bool)
vwapTrend (bool)
emaUp (bool)
mtfBull (bool)
relVolOK (bool)
priceAccept (bool)
tickNorm (float)
cooldownOK (bool)
setupScoresBoth(isLoose, isNormal, vwapTrend, emaUp, mtfBull, relVolOK, priceAccept, tickNorm, cooldownOK)
Parameters:
isLoose (bool)
isNormal (bool)
vwapTrend (bool)
emaUp (bool)
mtfBull (bool)
relVolOK (bool)
priceAccept (bool)
tickNorm (float)
cooldownOK (bool)
ruleGatesDir(isLong, squeezeTight, emaUp, vwapTrend, relVol, relVolThresh, tickNorm, useSqzGate, useEmaGate, useVwapGate, useVolGate, useMicroGate)
Parameters:
isLong (bool)
squeezeTight (bool)
emaUp (bool)
vwapTrend (bool)
relVol (float)
relVolThresh (float)
tickNorm (float)
useSqzGate (bool)
useEmaGate (bool)
useVwapGate (bool)
useVolGate (bool)
useMicroGate (bool)
ruleGates(squeezeTight, emaUp, vwapTrend, relVol, relVolThresh, tickNorm, useSqzGate, useVwapGate, useVolGate, useMicroGate)
Parameters:
squeezeTight (bool)
emaUp (bool)
vwapTrend (bool)
relVol (float)
relVolThresh (float)
tickNorm (float)
useSqzGate (bool)
useVwapGate (bool)
useVolGate (bool)
useMicroGate (bool)
arrowColor(bucket, baseColor, useRegimeColor)
Parameters:
bucket (string)
baseColor (color)
useRegimeColor (bool)
orbHiLo(minutes)
Parameters:
minutes (int)
prevDayHL()
Risk Size Calculator - Indices/Metals This indicator is a universal position sizing tool that automatically calculates how many contracts or units to trade based on your defined dollar risk and stop size, while intelligently adapting to the asset you’re trading.
Key Features
Works on any asset: indices, metals, futures, stocks, crypto, etc.
Auto stop interpretation:
Metals (GC, MGC, SI, SIL, etc.) → Ticks
Everything else → Points
Single stop input (no switching between points/ticks manually)
Auto preset stops per asset class (optional)
Uses TradingView’s native contract data (pointvalue, mintick) for accuracy
Clean, readable top-right panel with:
Risk ($)
Stop (Points or Ticks, auto-labeled)
Contracts / Units
Actual Risk ($)
Optional manual $-per-point override for edge cases or custom instruments
Designed for fast execution with zero mental math and minimal chart disruption.
MA Shift Volume + Momentum ConfirmedSignals when there is REAL Heiken Ashi follow-through + volume + momentum, while keeping MA Shift intact
Pro Minimalist ATR (Black)The script I provided is a tool that automatically calculates and displays volatility "zones" around the average price. Here is the plain English explanation of what it is doing and why:
1. The Anchor: 20 DMA (The "Fair Value")
The script starts by calculating the 20-Day Moving Average (20 DMA).
What it represents: Think of this as the "fair price" or the "center of gravity" for the market over the last month.
In the script: It looks at the closing price of the last 20 candles, adds them up, and divides by 20. This is your baseline.
2. The Ruler: ATR (The "Volatility")
Next, it measures the Average True Range (ATR) over the last 14 days.
What it represents: This measures the "energy" or "noise" of the market. If candles are huge, the ATR is high. If candles are tiny, the ATR is low.
Why we use it: Using a fixed number (like $50) doesn't work because stocks move differently. ATR adapts to the current market mood.
3. The Zones: +1, +2, -1, -2
The script then takes that "center" (20 DMA) and adds/subtracts the "ruler" (ATR) to create four distinct levels:
+1 ATR: This is the "Upper Normal" limit. Price hanging here is bullish but normal.
+2 ATR: This is the "Extreme" limit. Statistically, price rarely stays above this line for long without snapping back. This is often an overbought signal.
-1 ATR: This is the "Lower Normal" limit.
-2 ATR: This is the "Extreme" discount. If price hits this, it is statistically stretched far below its average.
4. The Visuals: "Clean" Labeling
Finally, the script focuses on presentation:
No Lines: It specifically avoids drawing lines all over your history to keep your chart clean.
Dynamic Labels: It creates text labels only on the very last bar (the current moment). It constantly deletes the old label and draws a new one as the price moves, so it looks like the text is "floating" next to the current price.
Axis Marking: It forces marks onto the right-hand price scale (display=display.price_scale) so you can see the exact price levels (e.g., 154.20) without having to guess.
Today's Total Volume (Floating)Floating bubble showing total volume today of stock. Resets at midnight
Previous Close Percentage LevelsInstitutional Previous Close Percentage Levels (Visual).
This indicator plots percentage-based levels calculated from the previous daily close, designed for clean intraday context and Replay analysis.
Features:
• Automatic daily recalculation
• Levels displayed only for the current trading day
• Clear 0% reference line (previous close) without label
• Configurable percentage steps (+ / −)
• Right-side percentage labels
• Visual TOUCH markers (price interaction)
• Visual BREAK markers (confirmed close beyond level)
• Replay-safe logic (no infinite lines)
• Pine Script v6 compatible
This script is focused on visual clarity and price context.
No audible or popup alerts are used — only on-chart visual signals.
Ideal for:
• Intraday bias
• Mean reversion
• Breakout confirmation
• Futures, Forex, Crypto, Stocks
GATS_LibLibrary "GATS_Lib"
GATS 선물/현물 자동매매를 위한 신호 생성 라이브러리
init(password, exchange, ticker, leverage, start_time, end_time)
Parameters:
password (string)
exchange (string)
ticker (string)
leverage (int)
start_time (int)
end_time (int)
method entry_long(bot, id, qty, comment)
Namespace types: Bot
Parameters:
bot (Bot)
id (string)
qty (float)
comment (string)
method entry_short(bot, id, qty, comment)
Namespace types: Bot
Parameters:
bot (Bot)
id (string)
qty (float)
comment (string)
method close(bot, id, comment)
Namespace types: Bot
Parameters:
bot (Bot)
id (string)
comment (string)
method close_all(bot, comment)
Namespace types: Bot
Parameters:
bot (Bot)
comment (string)
Bot
Fields:
password (series string)
exchange (series string)
ticker (series string)
leverage (series int)
start_time (series int)
end_time (series int)
NSDT LatticeThis script automatically detects the Open price once the Futures markets open (6PM Eastern Time) and plots Support/Resistance levels based on the "Ticks Between Levels" that the trader enters in the settings.
The trader can also chose to set their own Custom Start Price should they wish to. For example: If they want to use the New York session Open price (for RTH) instead of the Asia session Open price (ETH).
You can change the colors and thickness of the lines, as well as the numbers of levels plotted.
Laguerre Timeframe OscillatorLaguerre Timeframe Breadth Oscillator
Multi-timeframe × multi-gamma Laguerre breadth model
────────────────────────
Usage Notes
────────────────────────
• This is a regime & consensus indicator, not a trigger
• Best used for trend validation and risk filtering
• Extreme values tend to persist during strong regimes
This indicator answers a single question:
“Out of 198 independent Laguerre filters, how many are currently rising?”
────────────────────────
Concept
────────────────────────
Using Laguerre polynomials, we aggregate price behavior across:
• 11 explicit timeframes (1-minute → 1-day)
• 18 gamma responsiveness levels (0.10 → 0.95)
This produces 198 independent Laguerre curves.
The final oscillator is NOT price.
It represents a directional consensus across timescales and smoothing sensitivities.
────────────────────────
Laguerre Filter Mathematics
────────────────────────
For each Laguerre line i:
L0ᵢ(t) = (1 − γᵢ) · x(t) + γᵢ · L0ᵢ(t−1)
L1ᵢ(t) = −γᵢ · L0ᵢ(t) + L0ᵢ(t−1) + γᵢ · L1ᵢ(t−1)
L2ᵢ(t) = −γᵢ · L1ᵢ(t) + L1ᵢ(t−1) + γᵢ · L2ᵢ(t−1)
L3ᵢ(t) = −γᵢ · L2ᵢ(t) + L2ᵢ(t−1) + γᵢ · L3ᵢ(t−1)
Smoothed output:
Yᵢ(t) = ( L0ᵢ + 2·L1ᵢ + 2·L2ᵢ + L3ᵢ ) / 6
This weighted sum smooths noise while preserving phase better than a traditional EMA.
────────────────────────
Gamma Responsiveness
────────────────────────
Gamma controls responsiveness vs stability:
0.10 — Very fast, noisy
0.40 — Momentum-sensitive
0.70 — Trend-stable
0.95 — Very slow, structural
Each timeframe is evaluated across all gamma levels.
────────────────────────
Timeframes Used (11)
────────────────────────
Minutes: 1, 3, 5, 10, 15, 30, 45
Hours: 1, 2, 4
Days: 1
────────────────────────
Direction Test
────────────────────────
Each Laguerre line votes “up” or “down”:
Iᵢ(t) = 1 if Yᵢ(t) > Yᵢ(t−1)
Iᵢ(t) = 0 otherwise
────────────────────────
Breadth Calculation
────────────────────────
greenCount(t) =
I₁(t) + I₂(t) + I₃(t) + … + I₁₉₈(t)
Total number of rising Laguerre filters.
────────────────────────
Centered Breadth Oscillator
────────────────────────
oscRaw(t) = greenCount(t) − 99
(99 = half of 198; zero represents balanced breadth)
────────────────────────
Smoothing & Amplification
────────────────────────
EMA smoothing:
oscSmooth(t) = EMA₁₀₀(oscRaw)
Extreme emphasis:
oscExtreme(t) = 2 · oscSmooth(t)
────────────────────────
Clamped Final Output
────────────────────────
osc(t) = max( −99 , min( 99 , oscExtreme(t) ) )
Range:
• −99 → all filters falling
• 0 → mixed / neutral
• +99 → all filters rising
────────────────────────
Optional Probabilistic Interpretation
────────────────────────
p(t) = greenCount(t) / 198
Interpretable as the probability of upward directional alignment.
Reach out on Discord if you need further guidance. - Coño Vista
RSI Trend Authority [JOAT]RSI Trend Authority - VAR-RSI with OTT Trend Detection System
Introduction
RSI Trend Authority is an open-source overlay indicator that combines Variable Index Dynamic Average (VAR) smoothed RSI with the Optimized Trend Tracker (OTT) to create a complete trend detection and signal generation system. Unlike traditional RSI which oscillates in a separate pane, this indicator scales the RSI to price and overlays it directly on your chart, making trend analysis more intuitive.
The indicator generates clear BUY and SELL signals when the smoothed RSI crosses the OTT trailing stop line, providing actionable entry points with trend confirmation.
Originality and Purpose
This indicator is NOT a simple mashup of RSI and moving averages. It is an original implementation that transforms RSI into a trend-following overlay system:
Why VAR Smoothing? Traditional RSI is noisy and produces many false signals. The Variable Index Dynamic Average (VAR) is an adaptive smoothing algorithm based on the Chande Momentum Oscillator principle. It adjusts its smoothing factor based on market conditions - responding quickly during trends and smoothing out during choppy markets. This creates an RSI that filters noise while preserving genuine momentum shifts.
Why OTT Trailing Stop? The Optimized Trend Tracker (OTT) is a percentage-based trailing stop mechanism that only moves in the direction of the trend. When VAR-RSI crosses above OTT, a bullish trend is confirmed; when it crosses below, a bearish trend is confirmed. This provides clear, actionable signals rather than subjective interpretation.
Price Scaling Innovation: By scaling RSI (0-100) to price using the formula (RSI * close / 50), the indicator overlays directly on the price chart. This allows traders to see how momentum relates to actual price levels, making trend analysis more intuitive than a separate oscillator pane.
ATR Boundaries: Optional volatility-based boundaries show when price is extended relative to its normal range, helping identify potential reversal zones.
How the components work together:
VAR smoothing removes RSI noise while preserving trend information
OTT provides a dynamic trailing stop that generates clear crossover signals
Price scaling allows direct overlay on the chart for intuitive analysis
ATR boundaries add volatility context for profit target estimation
Core Components
1. VAR-RSI (Variable Index Dynamic Average RSI)
The foundation of this indicator is the VAR smoothing algorithm applied to RSI. VAR is an adaptive moving average that adjusts its smoothing factor based on the Chande Momentum Oscillator principle:
f_var_calc(float data, int length) =>
int a = 9
float b = data > nz(data ) ? data - nz(data ) : 0.0
float c = data < nz(data ) ? nz(data ) - data : 0.0
float d = math.sum(b, a)
float e = math.sum(c, a)
float f = nz((d - e) / (d + e))
float g = math.abs(f)
float h = 2.0 / (length + 1)
float x = ta.sma(data, length)
This creates an RSI that:
Responds quickly during trending conditions
Smooths out during choppy, sideways markets
Reduces false signals compared to raw RSI
2. OTT (Optimized Trend Tracker)
The OTT acts as a dynamic trailing stop that follows the VAR-RSI:
In uptrends, OTT trails below the VAR-RSI line
In downtrends, OTT trails above the VAR-RSI line
The OTT Percent parameter controls how closely it follows
When VAR-RSI crosses above OTT, a bullish trend is confirmed. When VAR-RSI crosses below OTT, a bearish trend is confirmed.
3. Price Scaling
The RSI (0-100 scale) is converted to price scale using:
float scaleFactor = close / 50.0
float varRSIScaled = varRSI * scaleFactor
This allows the indicator to overlay directly on price, showing how momentum relates to actual price levels.
Visual Components
VAR-RSI Line (Cyan/Magenta)
The main indicator line with gradient coloring:
Cyan gradient when RSI is above 50 (bullish)
Magenta gradient when RSI is below 50 (bearish)
Line thickness of 3 for clear visibility
OTT Line (Yellow Circles)
The trailing stop line displayed as circles:
Acts as dynamic support in uptrends
Acts as dynamic resistance in downtrends
Crossovers generate trading signals
Trend Fill
The area between VAR-RSI and OTT is filled:
Cyan fill during bullish trends
Magenta fill during bearish trends
Fill transparency allows price visibility
Buy position and LONG on Dashboard with a Uptrend:
ATR Boundaries (Optional)
Dotted lines showing volatility-based price boundaries:
Upper band: Close + (ATR x Multiplier)
Lower band: Close - (ATR x Multiplier)
Color matches current trend direction
Buy/Sell Signals
Clear labels appear at signal points:
BUY label below bar when VAR-RSI crosses above OTT
SELL label above bar when VAR-RSI crosses below OTT
Additional glow circles highlight signal bars
Bar Coloring
Optional feature that colors price bars:
Cyan bars during bullish trend
Magenta bars during bearish trend
Dashboard Panel
The 8-row dashboard provides comprehensive status information:
Signal: Current position - LONG or SHORT (large text)
VAR-RSI: Current smoothed RSI value (large text)
RSI State: OVERBOUGHT, OVERSOLD, BULLISH, or BEARISH
OTT Trend: UPTREND or DOWNTREND based on OTT direction
Bars Since: Number of bars since last signal
Price: Current close price (large text)
OTT Level: Current OTT trailing stop value
Input Parameters
RSI Settings:
RSI Length: Period for RSI calculation (default: 100)
Source: Price source (default: close)
VAR Settings:
VAR Length: Adaptive smoothing period (default: 50)
OTT Settings:
OTT Period: Trailing stop calculation period (default: 30)
OTT Percent: Distance percentage for trailing stop (default: 0.2)
ATR Trend Boundaries:
Show ATR Boundaries: Toggle visibility (default: enabled)
ATR Length: Period for ATR calculation (default: 14)
ATR Multiplier: Distance multiplier (default: 2.0)
Display Options:
Show Buy/Sell Signals: Toggle signal labels (default: enabled)
Show Status Table: Toggle dashboard (default: enabled)
Table Position: Choose corner placement
Color Bars by Trend: Toggle bar coloring (default: enabled)
Color Scheme:
Bullish Color: Main bullish color (default: cyan)
Bearish Color: Main bearish color (default: magenta)
OTT Line: Trailing stop color (default: yellow)
VAR-RSI Line: Main line color (default: teal)
ATR colors for boundaries
How to Use RSI Trend Authority
Signal-Based Trading:
Enter LONG when BUY signal appears (VAR-RSI crosses above OTT)
Enter SHORT when SELL signal appears (VAR-RSI crosses below OTT)
Use the OTT line as a trailing stop reference
Trend Confirmation:
Cyan fill indicates bullish trend - favor long positions
Magenta fill indicates bearish trend - favor short positions
Check RSI State in dashboard for momentum context
Using the Dashboard:
Monitor "Bars Since" to assess signal freshness
Check RSI State for overbought/oversold warnings
Use OTT Level as a reference for stop placement
ATR Boundaries:
Price near upper ATR band in uptrend suggests extension
Price near lower ATR band in downtrend suggests extension
Boundaries help identify potential reversal zones
Parameter Optimization
For Faster Signals:
Decrease RSI Length (try 50-80)
Decrease VAR Length (try 30-40)
Decrease OTT Period (try 15-25)
For Smoother Signals:
Increase RSI Length (try 120-150)
Increase VAR Length (try 60-80)
Increase OTT Period (try 40-50)
For Tighter Stops:
Decrease OTT Percent (try 0.1-0.15)
For Wider Stops:
Increase OTT Percent (try 0.3-0.5)
Alert Conditions
Three alert conditions are available:
Buy Signal: VAR-RSI crosses above OTT
Sell Signal: VAR-RSI crosses below OTT
Trend Change: OTT direction changes
Understanding the OTT Calculation
The OTT uses a percentage-based trailing mechanism:
float farkOTT = mavgOTT * ottPercent * 0.01
float longStopCalc = mavgOTT - farkOTT
float shortStopCalc = mavgOTT + farkOTT
longStop := mavgOTT > nz(longStop ) ? math.max(longStopCalc, nz(longStop )) : longStopCalc
shortStop := mavgOTT < nz(shortStop ) ? math.min(shortStopCalc, nz(shortStop )) : shortStopCalc
This ensures the trailing stop only moves in the direction of the trend, never against it.
Best Practices
Use on 1H timeframe or higher for more reliable signals
Wait for signal confirmation before entering trades
Consider RSI State when evaluating signal quality
Use ATR boundaries for profit target estimation
The longer RSI length (100) provides smoother trend detection
Combine with support/resistance analysis for better entries
Limitations
Signals may lag during rapid price movements due to smoothing
Works best in trending markets; may whipsaw in ranges
The overlay nature means RSI values are scaled, not absolute
Default parameters are optimized for crypto and forex; adjust for other markets
Technical Notes
This indicator is written in Pine Script v6 and uses:
VAR (Variable Index Dynamic Average) for adaptive smoothing
OTT (Optimized Trend Tracker) for trailing stop calculation
ATR for volatility-based boundaries
Gradient coloring for intuitive trend visualization
The source code is open and available for review and modification.
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always conduct your own analysis and use proper risk management.
-Made with passion by officialjackofalltrades
CISD Projections [LuxAlgo]The CISD Projections tool automatically plots mechanical price projection targets based on fractal market structure and swing manipulation legs. These projections offer dynamic, statistically informed targets that align with how prices tend to expand after a reversal point is confirmed.
🔶 USAGE
Projections are mechanical target levels derived from the manipulation leg following a confirmed change in state of delivery (CISD). They estimate where price is most likely to travel next by applying extended Fibonacci projection levels off the swing that initiated the move.
The tool works in the following way:
1. Detect the reversal bar that signals a shift in delivery.
2. Identify the manipulation leg: the swing that caused the reversal.
3. Anchor projections from this leg using customized Fibonacci levels such as 1, 2, 2.5, 4, 4.5 — each representing a potential target based on leg size and market expansion expectation.
For a correct target interpretation:
Average-sized legs often target between 2 and 2.5 levels.
Expanding legs may reach 4 to 4.5.
Large manipulation legs may warrant conservative expectations, focusing on 1 target.
As we can see in the image, traders must be aware of current market conditions and manipulation leg size in order to decide which levels to target and ask the right questions: Is volatility contracting or expanding? Is this manipulation leg smaller or larger than the previous ones?
Ultimately, projections provide objective, mechanical targets rather than subjective guesswork. They can be used on their own or in conjunction with liquidity zones, CISDs, and structural levels. They also help identify realistic price targets based on measured swing magnitude.
🔹 Filtering Setups
The chart shows how the output is affected by different filtering options:
Bars Threshold: show setups with a minimum number of bars in the manipulation leg.
CISD Filter: show setups only at the top or bottom of the range for the last X bars.
Invalidate CISDs on CHoCH: setups stop expanding after the first close beyond the manipulation leg.
We can obtain more meaningful setups with larger filter values by filtering the setups, or we can zoom in on details at the trader's discretion by disabling all filters.
🔶 SETTINGS
Bars Threshold: Minimum number of bars of each setup.
CISD Filter: Enable or disable the filter and select the length. This filter identifies setups at the top or bottom of the range over the last X bars.
Invalidate CISDs on CHoCH: Stop the level extension on ChoCH against CISD. This occurs when there is a close below the bottom on bullish setups and a close above the top on bearish setups.
🔹 Projections
Enable or disable each projection, select the projection level, and choose a style.
🔹 Style
CISD Level: Enable or disable CISD price level and select style.
Labels size: Select the size of the labels.
Bullish Color: Select a color for bullish setups.
Bearish Color: Select a color for bearish setups.
Background Fill: Enable or disable the background fill between the price and the extreme projection.
[CT] Smart Supertrend Smart Supertrend is an overlay trend and context indicator that combines three different ideas into one visual: a dynamic “cloud” that adapts to market cycle speed, a pivot-point anchored trailing line that behaves like a smarter Supertrend, and an ADX strength filter that helps separate real trends from noisy sideways movement. It is designed to keep you aligned with the dominant direction while giving you a clean framework for entries, pullbacks, and exits.
The “cloud” is the heart of the script’s regime read. Internally, it builds an adaptive smoothing engine that reacts to how efficiently the price is moving. When the price is moving in a clean, directional way, the cloud becomes more responsive. When the price is choppy and overlapping, the cloud becomes slower and steadier. The cloud itself is drawn as two lines, Cloud A and Cloud B, and the filled area between them. When the adaptive KAMA slope is rising, the cloud is treated as bullish and uses your Up color. When it is falling, the cloud is treated as bearish and uses your Down color. This creates a quick visual of whether the market is behaving like an uptrend regime or a downtrend regime without relying on one fixed moving average length that can be too fast in chop or too slow in trend.
The PP line is the trade management spine. It is built from pivot logic that detects meaningful swing highs and swing lows using your PP Period. Those pivots are blended into a centerline, and then an ATR band is applied around that center using your ATR Period and ATR Factor. That band is turned into a trailing line that “ratchets” in the direction of the current trend. When the price is above the trailing logic, the script considers the trend state to be long. When the price is below, it considers the trend state to be short. The reason this feels different from a basic Supertrend is that the anchor comes from pivots and smoothing rather than only a direct ATR band around price, so it tends to track structure more naturally and reduce some of the fast flipping you see in choppy sections.
The ADX filter is the quality control layer. It computes plus DI, minus DI, and ADX over your ADX Length, and then checks whether ADX is above your threshold. When ADX is above the threshold, it suggests the market is trending enough for trend signals to matter. When ADX is below the threshold, the script is telling you the environment is more sideways, which is where most trend systems get chopped up. In the original logic, the “best” conditions occur when the cloud direction agrees with the DI direction, and ADX is strong, because that means direction and strength are aligned.
How you trade it starts with using the cloud as your directional bias. When the cloud is bullish, you prioritize longs and you treat shorts as lower quality or countertrend. When the cloud is bearish, you prioritize shorts and you treat longs as lower quality. Next, you use the PP line as the “line in the sand” for trend state and risk placement. In a bullish environment, price holding above the PP line is your confirmation that the structure-anchored trailing level is supporting the move. In a bearish environment, price holding below the PP line is your confirmation that the trailing level is capping rallies.
A clean, practical entry approach is to wait for agreement between the cloud and the PP line, then take pullbacks into that framework. For long trades, the highest quality setups occur when the cloud is bullish, the PP line is below price, and ADX is above the threshold with plus DI leading minus DI. In that state, you can look for pullbacks that dip toward the PP line or into the cloud region and then reject back upward, because you’re buying a retracement inside a confirmed trend regime rather than chasing extension. For short trades, the mirror applies: the cloud is bearish, the PP line is above price, ADX is above the threshold with minus DI leading, and you sell rallies back into the PP line or cloud that fail and rotate down.
Stops and exits can be built around the PP line because it is already an ATR-based trailing structure level. For a long, a conservative stop is placed just below the PP line with a buffer related to ATR, because if price closes and holds below that line you are likely seeing a trend condition break. For a short, the stop goes just above the PP line with a similar buffer. For profit taking, many traders scale out when price stretches far away from the PP line or when the cloud begins to lose slope and compress, because that often signals trend momentum is slowing. Another simple exit rule is to reduce or close when the PP line flips trend state against your position, or when the ADX falls back under the threshold after a run, because that frequently marks a transition into consolidation where trailing systems can give back gains.
If you enable signals in versions that plot them, the logic is meant to highlight moments when the PP line flips trend and the cloud is not contradicting that flip, then further filters those into “higher quality” conditions when cloud direction and ADX trend strength agree. In practice, you should still treat signals as prompts, not automatic trades. The best results come from using the signal as a timing cue while you still enforce the bigger rule of alignment: cloud direction, PP line trend state, and ADX strength all pointing the same way, with entries taken on pullbacks rather than on late breakout candles.
Finally, be aware that all adaptive smoothing systems will look different across markets and timeframes, so the main tuning knobs are your Cloud Length, PP Period, ATR Factor, and ADX Threshold. If you want fewer flips and more “position trading” behavior, increase the ATR Factor and consider a higher ADX threshold. If you want earlier entries and more sensitivity, lower ATR Factor and lower the threshold, but expect more chop. The indicator is at its best when you treat it as a regime and structure tool: let the cloud tell you the side, let the PP line define where you are wrong, and let ADX decide whether it’s a trend day or a chop day before you commit size.
[Greeny] RTH Only Naked VPOCWhat it does
Calculates and displays daily Volume Point of Control (VPOC) levels based on RTH (Regular Trading Hours) session only. Tracks which VPOCs remain "naked" (untouched) and which have been hit - but only counts hits during RTH hours, ignoring overnight/globex touches.
Key Features
One VPOC per trading day calculated from entire RTH session volume profile
RTH-only hit detection - levels only marked as hit when touched during RTH, not overnight
Works on all timeframes - daily, hourly, or any chart timeframe
Volume-based filtering - automatically skips low-liquidity sessions (pre-front-month contract data)
Visual markers - small dash on origin bar shows where each VPOC was, even after being hit
Visual Guide
Yellow dashed line - Naked VPOC (not yet touched during RTH)
White dashed line - Hit VPOC (was touched during RTH)
Small dash on candle - POC origin marker
Settings
Display options: Toggle to show only naked POCs, customize hit/naked colors, adjust line width and style (solid/dashed/dotted), enable/disable line extension and origin markers.
RTH Session: Configure start and end time in NY timezone. Default is 9:30-16:00 (US equity market hours), which equals 15:30-22:00 Budapest time.
Advanced: Adjust volume profile resolution (default 250 bins), data source timeframe for calculations (5min recommended for daily charts), and minimum volume threshold to filter out low-liquidity sessions like pre-rollover contract data (default 10% of average).
Best For
ES/MES, NQ/MNQ futures traders
Mean reversion strategies using VPOC as support/resistance
Auction Market Theory practitioners
Anyone wanting clean RTH-only volume profile levels
Note on Contract Rollovers
When using specific contract symbols (e.g., ESH2026 instead of ES1!), the script may show many naked VPOCs from months before the contract became active. This happens because futures contracts have very low liquidity before becoming the front-month, creating unreliable VPOCs with gaps that never get hit. The volume filter helps reduce this, but you may need to increase the "Min Volume % of Average" setting or simply ignore older levels when viewing back-month data.
Extreme Reversion Flag - EMA Spread + ATR Threshold (15s)Short Description
Visual indicator that flags extreme EMA divergence on the 15s chart. It plots the EMA20 − EMA4 spread, overlays a multiplied ATR threshold, and highlights bars where 20 > 9 > 4 (bear extreme) or 4 > 9 > 20 (bull extreme) and the spread ≥ mult × ATR.
Features
- Pane plot of the EMA20−EMA4 spread and the ATR‑based threshold.
- Histogram showing spread/ATR ratio for numeric tuning.
- Visual fill between spread and threshold when the extreme condition is met.
- Top/bottom markers for exact bars that meet the rule.
- Alert conditions for bull and bear extremes.
- User inputs for EMA lengths, ATR length, and multiplier for sensitivity.
[CT] Highest/Lowest Close Midline Candle ColorThis indicator looks back a user defined number of bars, the default is 14, and finds the highest closing price and the lowest closing price in that lookback window. Those two values form a rolling closing range. The script then calculates a midpoint of that range by averaging the highest close and the lowest close. That midpoint is plotted as “o”, and it acts like a simple, adaptive balance line for where the market is trading within its recent closing range.
On every bar, the candle color is driven by where the current close finishes relative to that midpoint. When price closes above the midpoint, the script colors the candle green, which tells you that the close is occurring in the upper half of the most recent closing range. When price closes below the midpoint, the candle is colored red, which tells you the close is occurring in the lower half of the most recent closing range. If the close lands exactly on the midpoint, the script leaves the bar uncolored, which is a quick way to spot “neutral” closes that are sitting right at the balance point.
On the chart you will see three plots. The “hi” line is the highest close over the lookback period, so it behaves like a dynamic ceiling for closes. The “lo” line is the lowest close over the lookback period, so it behaves like a dynamic floor for closes. The “o” line is the midpoint between those two, and it will move up when the rolling highest and lowest closes lift, and it will move down when they fall. Because all three are based on closing prices instead of highs and lows, they reflect where the market is actually accepting value at the end of each bar rather than momentary wicks.
In practical use, the midpoint line is your decision line and the candle colors are your bias filter. A sequence of green candles means closes are consistently happening above the midpoint, which implies bullish control of the recent closing range and can be used as a confirmation to favor long setups, trend continuation trades, or pullbacks that hold above the midpoint. A sequence of red candles means closes are consistently happening below the midpoint, which implies bearish control of the recent closing range and can be used to favor short setups or bearish continuation until price can reclaim the midpoint. When candles flip color around the midpoint repeatedly, that is a visual cue that the market is rotating and the midpoint is acting like a balance area rather than support or resistance, which often aligns with consolidation or choppier conditions.
The “hi” and “lo” lines can be treated as context levels. If price is closing above the midpoint and pressing toward the “hi” line, you are seeing strength within the closing range and the prior highest close becomes the next level where continuation may stall or break. If price is closing below the midpoint and pressing toward the “lo” line, you are seeing weakness within the closing range and the prior lowest close becomes the next level where continuation may pause or accelerate through. Breaks beyond the “hi” or “lo” line indicate that the rolling closing range is expanding, which can coincide with trend continuation or a breakout from a prior range.
This tool is simple by design and is best used as a directional filter and a structure guide rather than a standalone entry system. It does not repaint past bars because it only uses completed historical closes within the selected lookback window, and it updates normally as each new bar closes. You can increase the period to smooth it for higher time frames or more stable trends, and decrease it to make it more sensitive for faster markets or scalping, with the tradeoff that shorter periods will flip colors more often in chop.
Liquidity Trend Horizon [Pineify]Pineify - Liquidity Trend Horizon
The Liquidity Trend Horizon is a sophisticated trend-following indicator designed to identify potential liquidity sweep zones while providing clear visual trend direction. It combines adaptive volatility bands with smart liquidity detection to help traders spot high-probability reversal points where institutional activity may be occurring.
Key Features
Dynamic trend baseline using WMA and EMA smoothing
ATR-based volatility bands that adapt to market conditions
Automatic liquidity sweep detection with visual alerts
Gradient-filled channels for intuitive trend visualization
Real-time candle coloring based on trend direction
How It Works
The indicator calculates a weighted moving average (WMA) of the closing price, then applies exponential smoothing (EMA) to create a responsive yet stable baseline. This dual-smoothing approach filters out market noise while maintaining sensitivity to genuine trend changes.
Volatility bands are constructed using a 200-period Average True Range (ATR) multiplied by a user-defined factor. This creates dynamic support and resistance zones that automatically widen during volatile periods and contract during consolidation.
How Multiple Indicators Work Together
The synergy between WMA, EMA, and ATR creates a comprehensive trend analysis system:
The WMA provides the initial trend estimation with emphasis on recent price action
The EMA layer adds smoothness to reduce false signals
The ATR bands define probabilistic boundaries where price is likely to find support or resistance
Trading Ideas and Insights
Liquidity sweeps occur when price wicks beyond the volatility bands but closes back within the channel. These events often indicate:
Stop-loss hunting by larger market participants
False breakouts that may lead to reversals
Areas of accumulated liquidity being absorbed
A bullish sweep (wick below lower band, close above) suggests potential buying opportunity. A bearish sweep (wick above upper band, close below) may signal selling pressure.
Unique Aspects
Unlike traditional channel indicators, the Liquidity Trend Horizon specifically identifies sweep events where price temporarily breaks boundaries before reverting. This behavior is commonly associated with institutional order flow and smart money concepts.
How to Use
Observe the baseline color for overall trend direction (cyan for bullish, purple for bearish)
Watch for sweep markers (🚀 BULL / 📉 BEAR) at band extremes
Use background flashes as immediate alerts for sweep events
Consider entries when sweeps align with the prevailing trend direction
Customization
Trend Period - Adjust baseline sensitivity (default: 24)
Channel Width Multiplier - Control band distance from baseline (default: 2.0)
Smoothness - Fine-tune signal responsiveness (default: 5)
Color Settings - Personalize bullish/bearish colors and transparency
Conclusion
The Liquidity Trend Horizon bridges technical analysis with liquidity concepts, offering traders a unique perspective on market structure. By highlighting potential sweep zones within an adaptive trend framework, it helps identify areas where reversals are statistically more likely to occur.
LiquidityPulse MTF Intrabar Micro-Structure Absorption DetectorLiquidityPulse MTF Intrabar Micro-Structure Absorption Detector
Non-repainting: Markers appear on bar close and do not change.
Important (if you can’t see any markers)
This indicator measures intrabar micro-structure and it can use seconds-based micro data on lower timeframes.
If you load it and don’t see anything:
Go to 15m or higher, or
In settings, change Micro feed (inside HTF bar) from Auto to 1m / 5m / 15m.
Auto will often choose a “micro” feed that’s very small when your HTF is small, which can affect what you see.
What this indicator does
This script is designed to highlight absorption-like conditions by analysing what happens inside each higher-timeframe (HTF) candle — not just the candle’s OHLC.
It looks for candles where:
price moves a lot internally (high intrabar activity),
the candle structure shows churn / rejection (wick dominates body),
and participation is elevated (relative high volume).
When those conditions align, the indicator prints a marker line at the wick extreme:
LW (Lower-wick marker) = printed at the candle’s low
UW (Upper-wick marker) = printed at the candle’s high
Each marker is then extended to the right (so it can be treated like a potential level).
Image shows a wick-dominant candle with an absorption marker: Markers appear when price shows strong intrabar movement, a wick-dominant candle structure, and elevated participation — a combination often associated with absorption-like behaviour.
How it works
A marker is created only when all three filters pass on a confirmed candle close:
1) Intrabar micro-speed (internal activity)
The script pulls intrabar closes from a lower timeframe (“micro feed”) and sums the absolute internal price changes inside the HTF candle.
It then converts this to a Z-score and checks it against the Speed-z threshold.
Higher threshold = fewer, stronger events.
2) Wick vs body (churn / rejection structure)
This measures how the HTF candle’s internal range compares to its net close-to-open movement using:
Churn ratio = (HTF range) / (HTF body)
If the candle has a large range but a relatively small body, it indicates that price moved extensively during the candle but made limited net progress by the close — a structure often associated with active two-sided participation and absorption-like behaviour.
3) Relative HTF volume (participation filter)
The script also Z-scores HTF volume and requires it to exceed the Volume z-score threshold.
This helps filter out candles that show apparent activity but occur on relatively low participation.
Multi-timeframe + micro-structure analysis: Image shows a 15 minute chart marker on the 1 minute timeframe. The indicator can analyse higher-timeframe candles (15 minute) while using lower-timeframe micro data inside each bar (1 minute). This allows absorption-style markers to be plotted with higher-timeframe context and intrabar detail.
Composite Intensity
When a marker triggers, the script calculates a Composite Intensity number (CI):
It’s a combined score based on how strongly each of the three conditions exceeded its threshold.
Higher CI = stronger absorption-style event
Higher CI = brighter chart marker
The table shows:
HTF and Micro timeframes being used
the last marker type (LW or UW)
the last CI value
Micro feed & multi-timeframe behaviour
This indicator always works as a two-layer system:
HTF candle (context) → the candle you’re analysing
Micro feed (inside HTF bar) → the intrabar data used to measure micro-speed
Higher-TF source
Chart timeframe = uses your chart timeframe as HTF
Manual = choose any HTF (example: chart = 1m, HTF = 15m → prints 15m absorption markers onto a 1m chart)
Micro feed options
Auto (recommended) picks a sensible micro feed based on HTF
Or choose 1s / 1m / 5m / 15m manually for performance/clarity
HTF direction filter (optional)
When enabled:
LW markers only print when the HTF candle closes bullish
UW markers only print when the HTF candle closes bearish
This is optional and is designed to reduce noise by aligning markers with the directional bias of the higher-timeframe candle.
Traders can use the absorption markers to:
Identify potential areas of interest where price showed unusually high intrabar activity but limited net progress by the close.
Mark reference levels where price may react again later, reflecting prior elevated participation and extensive intrabar movement areas.
Add structural context to existing analysis such as trend structure, support/resistance, session highs/lows, or other volume-based tools.
Compare behaviour across timeframes, by observing how absorption-style events on a higher timeframe align with lower-timeframe price action.
Image shows price reacting to a previous absorption markers level (Lines/ levels can be extended in the settings): Extended LW / UW markers can be observed as areas of prior absorption-like activity. Traders may watch how price behaves around these levels (reaction, acceptance, or rejection) alongside their own structure, liquidity, or risk management tools.
Key settings (what they change)
Higher-TF source / Higher-TF bar (manual): which candle timeframe is analysed
Micro feed (inside HTF bar): what intrabar resolution is used to calculate micro-speed
Speed-z threshold: how unusual intrabar activity must be
Wick/Body threshold: how large the candle’s total range must be compared to its body
Volume z-score threshold: how elevated HTF volume must be
Z-score look-back: how far back the indicator normalises speed/volume
Line extension (bars): raise if you want markers to behave more like extended levels
Max markers: how many markers remain on the chart at once
Alerts
Alerts trigger on candle close when an absorption marker is detected.
Disclaimer
This indicator does not measure true order flow or the full limit order book. It uses intrabar price activity, candle structure, and relative participation as interpretive tools to highlight absorption-like behaviour. It is not a buy/sell system, and all signals should be used with traders own confirmation and risk management.
Support and Resistance Breakout Signals [MarkitTick]💡 This indicator provides a comprehensive, automated system for identifying, tracking, and trading Support and Resistance (S/R) breakouts. By synthesizing classic Swing High and Swing Low pivot analysis with Multi-Timeframe (HTF) capabilities and Volume confirmation, it transforms raw price action into actionable structural data. It is designed to declutter charts by automatically managing active levels and highlighting significant market structure shifts (Higher Highs, Lower Lows) alongside verified breakout signals.
✨ Originality and Utility
While many indicators draw static pivot points, this tool distinguishes itself through "State Management." It treats Support and Resistance not just as historical markers, but as active zones that evolve.
Dynamic Level Management: Instead of flooding the chart with infinite lines, the script uses arrays to store a specific number of recent levels. As price action progresses, invalid or broken levels are removed or updated, keeping the analysis focused on current relevance.
Multi-Timeframe Confluence: Uniquely, it allows you to overlay higher timeframe support and resistance levels (e.g., Daily levels on a 4-hours chart) without changing your chart view, enabling top-down analysis instantly.
Market Structure Labeling: It automatically tags pivot points with Dow Theory labels (HH, LH, LL, HL), aiding traders in instantly recognizing trend direction without manual charting.
🔬 Methodology and Concepts
The script operates on three core technical pillars:
● Swing Pivot Detection
The foundation is the detection of local extrema using a "Left/Right" bar lookback mechanism. A Swing High is identified when a high is greater than the L bars preceding it and the R bars following it. This confirms a fractal peak or valley.
Note on Confirmation: Because the script waits for R bars to close to confirm a pivot, the lines appear retroactively. However, the extension of these lines and subsequent breakout signals occur in real-time.
● Breakout Logic with Volume Integration
A breakout is triggered when the Close price crosses an active S/R line.
Resistance Break: Current Close > Resistance Level (and Previous Close ≤ Level).
Support Break: Current Close < Support Level (and Previous Close ≥ Level).
Volume Confirmation: An optional filter requires the breakout bar's volume to exceed a Moving Average of volume, ensuring momentum backs the move.
● Time Decay
To mimic the reduced relevance of stale levels, the script includes a "Time Decay" feature. If a level is not interacted with for a user-defined number of bars, it is automatically purged from the system, ensuring the chart reflects only fresh interest levels.
🎨 Visual Guide
The indicator uses a specific color-coding and labeling system to convey information quickly:
● Support & Resistance Lines
Red Lines (Thin): Represent active Resistance levels on the current timeframe.
Green Lines (Thin): Represent active Support levels on the current timeframe.
Fuchsia Lines (Thick): Represent Higher Timeframe (HTF) Resistance levels.
Aqua Lines (Thick): Represent Higher Timeframe (HTF) Support levels.
● Market Structure Labels
Located at the pivot points, these text labels define the trend structure:
HH / LH: Higher High / Lower High (Red Text).
LL / HL: Lower Low / Higher Low (Green/Aqua Text).
HTF-R / HTF-S: Indicates major structural pivots from the higher timeframe.
● Breakout Signals
When a valid break occurs, a label appears above or below the bar:
Blue Triangle Up (▲): Bullish breakout through resistance.
Blue Triangle Down (▼): Bearish breakout through support.
Number in Label: Indicates the cumulative count of breaks for that specific trend sequence (e.g., "1" is the first break, "2" is the second).
The breakout count represents the intensity of the move. A reading greater than 1 signals exceptional market strength, indicating the penetration of multiple Key Levels (Support or Resistance) within a single candle.
📖 How to Use
Trend Continuation: In an uptrend (sequence of HH/HL), wait for a Blue Triangle Up (▲) occurring at a Red Resistance line. This signals the continuation of the trend.
Trend Reversal: Watch for a "Structure Break." If price is making Higher Highs, but then breaks a Green Support line (generating a ▼ signal) and forms a Lower Low (LL), the trend may be reversing.
HTF "Bounce" Plays: Use the thick Fuchsia/Aqua lines as major zones. If price approaches a thick Aqua line (HTF Support) and fails to break it, look for LTF bullish structure (HH/HL) to form for an entry.
Volume Filtering: Enable the "Volume Confirmation" setting to filter out "fakeouts" (breaks on low volume).
⚙️ Inputs and Settings
● Swing Settings
Left/Right Bars: Determines the sensitivity of the pivot detection. Higher numbers = fewer, more significant pivots.
Max Stored Levels: How many S/R lines to keep in memory at once.
Max Break Labels: Limits visual clutter by capping the number of signal labels.
● Usability & HTF
Enable Time Decay: If true, deletes lines that are older than "Decay Period" bars.
Enable HTF Levels: Toggles the display of higher timeframe pivots.
HTF Timeframe: Select the specific timeframe for the macro view (e.g., "D" for Daily).
● Analysis
Volume Confirmation: Toggles the requirement for volume to be above its average for a signal to fire.
Show Market Structure: Toggles the HH/LL text labels.
🔍 Deconstruction of the Underlying Scientific and Academic Framework
The script's logic is rooted in Fractal Geometry and Auction Market Theory .
● Mandelbrot's Fractals: The use of `leftBars` and `rightBars` is a direct application of identifying market fractals. Markets are self-similar across timeframes; a pivot on a 5-minute chart is structurally identical to one on a Weekly chart. This script exploits this property by allowing nested timeframe analysis (LTF inside HTF).
● Memory of Price (Behavioral Finance): Support and resistance lines represent zones where market participants have previously established value (Price Memory). The "Breakout" signal is mathematically significant because it represents a shift in the supply/demand equilibrium. When price closes beyond a stored array value (the pivot price), it signifies that the aggressive limit orders that created the pivot have been exhausted or withdrawn, validating a new search for value.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. I expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion.
GCM Heikin Ashi RSI Trend CloudTitle: GCM Heikin Ashi RSI Trend Cloud
Description:
Overview
The GCM Heikin Ashi RSI Trend Cloud is a comprehensive momentum oscillator designed to filter out market noise and visualize trend strength. Unlike a standard RSI which can be jagged and difficult to interpret during consolidation, this indicator transforms RSI data into Heikin Ashi candles, providing a smoother, clearer view of market momentum.
This tool combines the lag-reducing benefits of RSI with the trend-visualizing power of Heikin Ashi, layered with Multi-Timeframe (HTF) clouds to identify macro trends.
Calculations & How it Works
This indicator does not use standard price action for its candles. Instead, it performs the following calculations:
• HARSI Candles: We calculate the RSI of the Open, High, Low, and Close of the chart. These four RSI values are then processed through the standard Heikin Ashi formula. This means the candles represent momentum movement, not price movement.
• Smoothing: A smoothing algorithm is applied to the "Open" of the HARSI candles (Default: 5). This reduces fake-outs by biasing the candle open toward the previous average, highlighting the true trend direction.
• Trend Bias Mode: A unique visual feature that adjusts the thickness of the RSI line based on your trading style.
o Buyers Mode: The line thickens when RSI is rising, thinning out when falling.
o Sellers Mode: The line thickens when RSI is falling, thinning out when rising.
• Ribbon Clouds: The script pulls RSI data from Higher Timeframes (HTF) and creates a cloud between the current chart's RSI and the HTF RSI. If the current RSI is above the HTF RSI, the cloud is bullish (Green), otherwise bearish (Red).
Key Features
• Derived Heikin Ashi RSI: Smooths out the noise of standard RSI to show clear red/green trends.
• Dynamic Trend Bias: Customize the main RSI line to emphasize Bullish or Bearish momentum using line weight.
• Auto-HTF Clouds: Automatically detects higher timeframes (e.g., 1m chart -> 3m cloud) to show support/resistance momentum from the macro trend.
• OB/OS Zones: Clearly defined Overbought and Oversold channels with "Extreme" outlier zones.
How to Use
1. Trend Continuation: Look for the HARSI candles to change color. A switch from Red to Green, while the Ribbon Cloud is also Green, indicates a strong bullish continuation.
2. Divergence: Because the candles are based on RSI, you can look for divergences between the HARSI candle peaks and the actual price action on the main chart.
3. The Cloud: Use the cloud as dynamic support. In a strong uptrend, the RSI line often bounces off the HTF Cloud without breaking through it.
Settings
• HARSI Length (Default 10): The lookback period for the RSI calculation.
• Smoothing (Default 5): Higher values create smoother candles but add lag. Lower values are more reactive.
Trend Bias Mode: Choose "Neutral" for a standard line, or "Buyers/Sellers" to visually emphasize your preferred market direction.
Dow Theory Cockpit [Analytics Pro]1. Overview and Key Features
The core philosophy of this tool is to "Eliminate market noise and pinpoint high-probability trade setups.
🤖 Triple-Logic Engine: Automatically detects three distinct strategies: Trend Following
(Breakout), Retracement (Dip), and Reversal (Sniper).
🛡️ Ironclad Protection: Features an ATR-based dynamic Stop Loss (SL). It automatically
positions your SL at levels resistant to "stop hunting" or market noise.
💰 Automatic Risk Management: The tool calculates and displays the optimal lot size based
on your SL distance, ensuring your risk amount remains constant regardless of market
volatility.
📊 Performance Visualization: Real-time Win Rate panel displaying data for "Today," "This
Month," "This Year," and "All Time.
🌍 Global Market Insights: Monitor not just your active chart, but also Gold, JPY, BTC, and
critical US/JP economic indicators (Interest Rates, Inflation, etc.) simultaneously.
2. Three Entry Signals
The tool automatically toggles between three optimized logics depending on market conditions
Signal Type Target & Strategy 🎯
SNIPER Reversal Captures "Tops and Bottoms." Detects RSI exhaustion + Bollinger
Band mean reversion to catch the start of a reversal.
DIP Trend Following Captures "Pullbacks." Picks up entries when price touches MAs or
retraces during a strong uptrend.
BREAK Trend Following Captures "Breakouts." Rides the momentum the moment price
breaks recent Highs or Lows.
💡 Pro Tip: When multiple conditions align, signals merge (e.g., "SNIPER & DIP") to keep
your chart clean and highlight high-conviction setups.
3. Dashboard Guide
The dual-panel interface is fully customizable in terms of visibility and placement.
① Main Analysis Panel (Default: Top Right)
In-depth analysis of the current currency pair.
・MAIN: Displays the pair and volatility status (HIGH VOL / NORMAL).
・Target RR: Your target Risk:Reward ratio (e.g., 1:1.5).
・🌊 Trend Monitor: Instantly check trend directions across 15M, 1H, 4H, and Daily timeframes.
・Strategic Note: When all timeframes align (Full Alignment), the signal is considered a "high-
probability" setup.
・📊 Win Rate: Tracks success rates and trade counts across four periods (Day, Mo, Yr, All).
・Risk: Shows current risk settings, spread, and account type.
② Market Scanner Panel (Default: Bottom Right)
Multi-market and fundamental surveillance.
・SCANNER: Constant monitoring of Gold, USDJPY, and Bitcoin. It alerts you immediately when
a trend or signal forms on these major assets.
・US/JP ECONOMY: Side-by-side comparison of essential fundamental data:
・Rate: Policy Interest Rates
・Inf%: Inflation (CPI)
・GDP: Economic Growth Rate
・Job: Unemployment / Payrolls
4. Trading Workflow
Follow these steps for the highest success rate:
1.STEP 1: Wait for SignalWait for the audio alert or the "BUY/SELL" label to appear.
Important: Never entry while the candle is still moving.
2.STEP 2: Filter ConfirmationJust before the candle closes, verify:
・MTF Panel: Are the 1H and 4H colors aligned with the signal? (Green for Buy, Red for Sell)
・MA Ribbon: Is the ribbon showing a clean, healthy spread?
3.STEP 3: Execution (At Candle Close)If the signal remains after the candle closes, enter at
the open of the next candle. Use the "Lot: X.XX" value shown on the blue label—this is your
safety-calculated lot size.
4.STEP 4: Exit Strategy (TP/SL)Immediately set your orders based on the lines on the chart:
・🟥 Red Line (SL): Positioned at 3x ATR to withstand noise.
・🟩 Green Line (TP): Optimized for consistent win rates.
5. Customization
・ : Set your Risk(%) per trade (Recommended: 1.0–2.0%). Adjust the SL Buffer (Default 3.0) to balance win rate versus lot size.
・ : Adjust font size (Tiny/Small/Normal) and panel width to fit your screen resolution.
・ : Customize colors and thickness to match your visual preference.
The Strat - Multi-Timeframe Combo Analyzer## 📊 The Strat - Multi-Timeframe Combo Analyzer
This open-source indicator implements **The Strat** methodology, a universal price action framework developed by Rob Smith (@RobInTheBlack).
---
### 🎯 What is The Strat?
The Strat categorizes every candle into one of three scenarios based on its relationship to the previous bar:
| Type | Name | Definition |
|------|------|------------|
| **1** | Inside Bar | High < Previous High AND Low > Previous Low |
| **2** | Directional | Breaks only one side (2↑ = broke high, 2↓ = broke low) |
| **3** | Outside Bar | Breaks BOTH previous high AND low |
By tracking these bar types across timeframes, traders can identify actionable setups with defined entry triggers and target levels.
---
### ✨ Features
**Daily Timeframe Analysis:**
- Real-time 3-bar combo detection (2-1-2, 3-1-2, 1-2-2, etc.)
- Pattern classification: Bullish/Bearish Continuation or Reversal
- Entry and Target levels based on Strat rules
- Pattern status: ACTIONABLE, IN-FORCE, TRIGGERED, or WATCHING
**ATR Context:**
- Range % used (how much of daily ATR has been consumed)
- Entry quality assessment (Excellent → Exhausted)
- Day type classification (Quiet → Trend Day)
- Remaining range estimation
**15-Minute Analysis:**
- Separate combo tracking for intraday precision
- Pattern detection on lower timeframe
**Visuals:**
- Customizable info tables
- Entry/Target horizontal lines
- Signal labels on chart
- Alert conditions
---
### 🔧 How to Use
1. Look for **ACTIONABLE** patterns - these are setups waiting for a trigger
2. Entry triggers when price breaks the designated level
3. Target is the next logical Strat level (typically prior bar's high/low)
4. Use **Range%** to assess if there's room left in the daily range
5. Combine Daily and 15-Min combos for trade confluence
---
### ⚠️ Disclaimer
This indicator is for **educational purposes only**. It does not constitute financial advice or guarantee profitable trades. Trading involves substantial risk of loss. Past performance is not indicative of future results. Always conduct your own research and trade responsibly.
---
### 🙏 Credits
**The Strat** methodology was created by Rob Smith (@RobInTheBlack).
This implementation is open-source. Feel free to study, modify, and improve the code!






















