Moving Average Divergence BandsMoving Average Divergence Bands
Moving Average Divergence Bands (MADB) is a trend-following overlay indicator designed to capture fast-moving trends while filtering out low-quality signals. It was developed with highly volatile markets in mind, particularly altcoins, where rapid entries are important but false breakouts are common.
The indicator builds adaptive price bands using two moving averages of different speeds and applies a statistical filter to allow signals only when market conditions show sufficient momentum. The result is a structure that attempts to combine fast reaction with controlled signal quality.
🚀 Core Idea
The objective of MADB is to create bands that respond quickly to market moves while avoiding entries during low-probability conditions.
This is achieved by combining fast and slower moving averages and activating signals only when price movement shows statistically meaningful deviation from its recent norm. In this way, entries tend to occur during periods with higher potential reward and reduced noise.
🔍 How It Works
The indicator calculates two moving averages:
• A primary moving average using the chosen length
• A secondary moving average using half of that length
Both averages are mathematically combined using exponent-based transformations, producing two divergence-based values. The higher value becomes the upper band, and the lower value becomes the lower band.
To filter signals, the script then computes a Z-score of price relative to its recent average. A trend switch occurs only when:
• Price breaks above or below the adaptive band, and
• The absolute Z-score exceeds the user-defined threshold.
This ensures signals occur only when price movement is statistically significant, reducing entries during low-volatility noise.
⚙️ Key Features
• Fast trend-following bands optimized for volatile markets
• Dual moving-average divergence construction
• Z-score filtering to reduce false signals
• Multiple moving-average types supported
• Adjustable statistical sensitivity
• Visual band and trend coloring styles
🧩 Inputs Overview
• Moving-average length and source
• Moving-average type selection
• Z-score calculation length
• Z-score activation threshold
• Visual style presets for band coloring
📌 Usage Notes
• Designed to identify strong market moves while filtering weak breakouts.
• Particularly suited for volatile markets and altcoin trading environments.
• Band breaks without sufficient Z-score strength will not trigger signals.
• Signals may change intrabar on lower timeframes.
• Best used alongside risk management and confirmation tools.
• No indicator eliminates risk; testing and validation are always recommended.
This script is intended for analytical use only and does not constitute financial advice.
Chỉ báo và chiến lược
ZERO LEVEL ENTRY BY SIDDAM RAJUOverview The Intraday Low Tracker is a specialized price-action strategy designed to catch potential reversals or pullbacks from new intraday lows. Unlike standard indicators that repaint or give premature signals, this tool uses a strict "Wait & Break" logic. It identifies a new low, waits for a confirmation candle, and only triggers an entry if the market proves strength by breaking above that confirmation level.
How It Works (The Logic)
Identifies the Low: The indicator continuously tracks the market to find the lowest low of the current day.
The "After Candle" Setup: Once a new low is established, the indicator waits for the immediate next candle (the "After Candle") to close.
The Setup Zone:
Green Line (Entry): Drawn at the High of the "After Candle."
Red Line (Stop Loss): Drawn at the Day Low.
The Trigger (Strict Entry):
A signal is NOT counted just because lines are drawn.
The system enters "WAITING FOR BREAKOUT" mode.
An entry is valid ONLY if price actively breaks ABOVE the Green Entry Line.
Trade Management: Once triggered, the trade remains active until it hits the user-defined Target (Blue Line) or the Stop Loss (Red Line).
Key Features
Strict Breakout Logic: Prevents false entries by requiring price to actually move above the setup candle.
Live Dashboard: A clean table on the chart displays:
Status: "Scanning", "Waiting for Breakout", or "Trade Active".
Levels: Exact prices for Entry, Target, and Stop Loss.
Statistics: Tracks "Total Entries", "Targets Hit", and "SL Hit" for the current session.
Visual Clarity:
Green Entry Label: Appears ABOVE the confirmation candle.
Red SL Label: Appears BELOW the confirmation candle.
Dynamic Lines: Lines automatically update or vanish if a setup is invalidated (e.g., if a new lower low is made before entry).
Settings
Target Profit %: Set your desired percentage gain (default is 10%).
Visual Customization: Change line colors, styles, and widths to fit your chart theme.
Table Size: Adjust the dashboard size (Tiny, Small, Normal, Large).
How to Use
Apply the indicator to your intraday timeframe (e.g., 1-minute, 5-minute).
Wait for the Green/Red lines and the "ENTRY" label to appear.
Do not enter immediately. Watch the status table.
Enter the trade only when price crosses the Green Line.
Exit at the Blue Target Line or if price falls back to the Red SL Line.
Disclaimer This tool is for educational and informational purposes only. Past performance does not guarantee future results. Always manage your risk properly.
Weighted Volume ROC OscillatorWeighted Volume ROC Oscillator (WVRO | MisinkoMaster)
The Weighted Volume ROC Oscillator is a sophisticated trend-following tool that leverages a volume-weighted Rate of Change (ROC) calculation on a double-smoothed source. Designed to capture both trend direction and strength with minimal noise, this oscillator also highlights potential reversal points, making it an effective tool for fast-moving markets like ETHUSD.
By combining volume weighting with advanced smoothing techniques, the WVRO provides a responsive yet stable indicator to help traders make more informed decisions during trending conditions.
🔍 Concept & Idea
The core idea behind the WVRO is to develop a high-speed oscillator capable of smoothly following trends while remaining sensitive to rapid changes. The ROC is a natural choice for momentum measurement, but raw ROC alone can be noisy.
To improve stability and responsiveness:
The input source is smoothed twice using Weighted Moving Averages (WMA) with a length proportional to the square root of the user-defined length, reducing noise while preserving fast reactions.
The ROC is then weighted by volume to emphasize price movements during high-volume periods, increasing the significance of meaningful trades.
Finally, a volume-weighted average of the ROC is calculated to normalize the signal.
This combination balances smoothness and speed, improving signal clarity in trending markets.
⚙️ How It Works
Double WMA Smoothing of Source:
First, apply a WMA with length √len to the selected source to filter noise but retain responsiveness.
Apply a second WMA with the same length to the first smoothed series for additional smoothing.
Volume-Weighted ROC Calculation:
Calculate ROC on the double-smoothed source over one bar.
Multiply the ROC by the current volume, weighting price changes by trading activity.
Normalization and Oscillator Computation:
Calculate an Exponential Moving Average (EMA) of the volume-weighted ROC over the full length.
Divide by the sum of volume over the same length to normalize, then scale to a range centered near zero.
Trend Logic:
Positive WVRO values indicate bullish momentum (trend up).
Negative values indicate bearish momentum (trend down).
Momentum Divergence:
The difference between the current WVRO and its prior value is smoothed with EMA and plotted as a histogram to help identify potential momentum shifts and reversals.
🧩 Inputs Overview
Oscillator Length – Controls the main smoothing and lookback length of the oscillator (default 17).
Source – The price source used for calculation, defaulting to the average of high, low, close, and close (hlcc4).
📌 Usage Notes
Responsive Yet Smooth: The double WMA smoothing ensures the oscillator is less prone to noise but remains quick to react to market changes.
Volume Weighting: Emphasizes price moves on higher volume bars, improving signal reliability in volatile markets.
Trend Identification: Positive and negative readings provide clear trend signals, while divergence histograms highlight potential turning points.
Visual Clarity: Color-coded plots and background highlighting assist quick interpretation.
Optimized for ETHUSD: Especially effective in high-liquidity, high-volatility assets like Ethereum.
Complement with Other Tools: Use alongside price action or other indicators to confirm trends and entry/exit points.
Backtest and Validate: Always validate settings on your chosen asset and timeframe before live use.
⚠️ Disclaimer
This indicator is for educational and analytical purposes only and does not constitute financial advice. Trading involves significant risk, and users should perform due diligence before trading.
Enjoy enhanced trend following with the Weighted Volume ROC Oscillator!
New York | Asia | London - Session Range + ORB - [EntryLab]Session Ranges & 15min ORB – Asia, London, New YorkShort Title
This indicator plots the high and low of the three major trading sessions (Asia, London, New York) as well as the Opening Range Breakout (ORB) levels based on the first 15 minutes of each session.
Features: Full session high/low ranges for Asia (00:00–09:00 UTC), London (07:00–16:00 UTC), and New York (~13:30–20:00 UTC). Times are approximate UTC and may need adjustment depending on broker timezone or DST.
ORB: high and low calculated from the first 15-minute period (or equivalent bars) at the start of each session.
Customizable: toggle sessions on/off, change ORB duration, line styles, colors.
How to use:
Traders often monitor price action around prior session highs and lows to identify potential liquidity grabs or sweeps. The ORB provides additional confluence for gauging the session's potential directional bias or breakout levels.For example:A sweep of a prior session high/low can signal liquidity being taken.
Price breaking above/below the session's ORB high/low may indicate momentum in that direction for the current session.
This script combines multi-session range visualization with per-session ORB levels in one tool, which can help assess where liquidity pools may exist and where price could be drawn to fill or sweep certain areas.Best used on lower timeframes (e.g., 1m–15m) for intraday analysis. Session times are fixed (no automatic DST handling); users can modify them in the code if needed.Not financial advice. Trading involves significant risk of loss. Use at your own discretion and always test thoroughly.
Adaptive Volatility Trend Filter AI PANDAHENTesting scripts by using ma ema volume and will give green and red indicator where is suggestion to buy or sell
Filtered Percentile OscillatorFiltered Percentile Oscillator (FPO | MisinkoMaster)
The Filtered Percentile Oscillator is a modern trend-following tool designed to combine the power of percentile ranking with adaptive trend strength filtering. By integrating a filter based on ADX strength, this oscillator aims to reduce noise and improve signal quality, helping traders identify more reliable bullish and bearish momentum zones.
This indicator works well across different markets, especially where volatility and trend clarity fluctuate. Although it can be noisy at times, the intelligent filtering mechanism provides strong potential for spotting actionable trend signals.
🔍 Concept & Idea
The idea behind the Filtered Percentile Oscillator is to use the percentile rank of price changes as a normalized measure of momentum, then apply an adaptive filter based on the Average Directional Index (ADX) to adjust sensitivity dynamically.
By combining these two concepts:
The Percentile Oscillator captures how extreme the current price is relative to recent price history.
The ADX-based filter adjusts threshold levels and confirms if the market is trending strongly enough to trust these percentile signals.
This dual-filtering mechanism improves the indicator’s ability to avoid false signals caused by noisy or non-trending environments.
⚙️ How It Works
The indicator calculates the Percentile Rank of the user-selected price source over a defined length (len). This percentile oscillator oscillates between -100% and +100%, reflecting relative price positioning.
It calculates the ADX and its percentile rank over a separate filter length (adx_len and ap_len) to estimate trend strength and market activity.
A combined potential filter checks if the sum of the absolute percentile oscillator and ADX percentile exceeds a user-defined threshold (pot_t). This filter controls whether signals are considered valid.
Thresholds for long and short signals dynamically adapt based on whether the ADX percentile exceeds the filter threshold (adx_t):
When strong trend strength is detected (ADX percentile > threshold), tighter upper and lower thresholds (ut and lt) apply to capture sharper trend signals.
When trend strength is weaker, wider thresholds (utm and ltm) are used to filter noise and reduce false signals.
Trend states are determined by comparing the percentile oscillator to these adaptive thresholds and validating the potential filter condition.
Overbought and oversold zones are also plotted for identifying potential reversal or exhaustion areas.
🧩 Inputs Overview
Length – Controls the lookback period for the Percentile Oscillator calculation (default 29).
Source – The price data source used for oscillator calculation (default: close).
Filter Length – Lookback period for ADX calculation used as a filter (default 12).
Filter % Length – Length used to calculate the percentile rank of the ADX filter (default 8).
Trending Upper Threshold – Upper bound for bullish signals when trend strength is strong (default 10).
Trending Lower Threshold – Lower bound for bearish signals when trend strength is strong (default -10).
Ranging Upper Threshold – Upper bound for bullish signals when trend strength is weak (default 15).
Ranging Lower Threshold – Lower bound for bearish signals when trend strength is weak (default -15).
Sum Filter Threshold – Minimum combined percentile value required to validate signals (default 100).
Filter Threshold – Minimum ADX percentile value required to switch to tighter thresholds (default 50).
Overbought – Level indicating overbought conditions for the oscillator (default 80).
Oversold – Level indicating oversold conditions for the oscillator (default -80).
📌 Usage Notes
Adaptive Filtering: The indicator dynamically adjusts sensitivity to market trend strength, reducing false signals during ranging or low-activity periods.
Normalized Momentum: Using percentile ranks allows comparison across different instruments and timeframes on a consistent scale.
Trend Confirmation: The ADX percentile filter ensures signals are stronger and more reliable when the market is trending.
Visual Guidance: Colored plots, threshold lines, and background fills improve signal interpretation and decision-making.
Customization: Thresholds and lengths can be fine-tuned for different markets or trading styles.
Complementary Use: Best combined with volume analysis, price action, or other indicators for comprehensive trade confirmation.
Backtest First: Always validate settings on historical data to match your preferred instrument and timeframe before live trading.
⚠️ Disclaimer
This indicator is provided solely for educational and analytical use. It is not financial advice. Trading involves risk, and users should perform their own due diligence before making trading decisions.
Enjoy improved trend filtering with the Filtered Percentile Oscillator!
Multiple Factor Adaptive MA SuperTrendMultiple Factor Adaptive MA SuperTrend
Multiple Factor Adaptive MA SuperTrend is an enhanced trend-following overlay that builds on the classical SuperTrend concept by introducing an adaptive moving-average base. The indicator dynamically adjusts to changing market conditions to produce smoother and faster trend signals, helping traders better track directional moves while reducing unnecessary noise.
Instead of relying on a fixed moving-average base, the indicator updates its baseline only when market conditions justify it. This creates a stabilizing effect during consolidation while allowing quicker reactions when volatility, momentum, or activity increases.
🔍 How It Works
The indicator combines:
• A user-selectable Moving Average as the core trend base
• ATR-based volatility bands to detect trend transitions
• An adaptive filter that determines when the base should update
The adaptive mechanism evaluates market conditions using one of several selectable drivers:
• ATR expansion (volatility increase)
• Rate-of-change acceleration
• Rising trading volume
• Increasing divergence between price and the moving average
If the chosen condition signals increased activity or market change, the moving-average base updates normally. Otherwise, the previous base value is retained, effectively smoothing the trend structure and filtering minor fluctuations.
Volatility bands are then calculated around this adaptive base using ATR multiplied by a configurable factor. Trend changes occur when price crosses these bands.
When price breaks above the upper band, a bullish trend is activated and the lower band becomes the trailing support. When price breaks below the lower band, a bearish trend is activated and the upper band acts as trailing resistance.
⚙️ Key Features
• Adaptive moving-average baseline
• Multiple MA types including SMA, EMA, WMA, HMA, VWMA, DEMA, TEMA, and EWMA
• ATR-based volatility bands
• Multiple adaptation modes (volatility, momentum, volume, divergence)
• Reduced noise during consolidation phases
• Smooth trend visualization and transition markers
🧩 Inputs Overview
• Moving-average type and length
• Price source selection
• ATR length and multiplier
• Adaptive filter method selection
📌 Usage Notes
• Useful for identifying prevailing market direction and trend shifts.
• Adaptive filtering can help reduce false signals during sideways markets.
• Signals may update intrabar on lower timeframes.
• Best results are achieved when combined with confirmation tools or risk management rules.
• This script is intended for analytical purposes and does not provide financial advice.
Adaptive MA SuperTrendAdaptive MA SuperTrend
Adaptive MA SuperTrend is a trend-following overlay indicator designed to deliver smoother and more responsive signals than the classical SuperTrend by dynamically combining two moving averages with volatility-based band calculations.
Instead of relying on a single average, the script calculates a selectable pair of moving averages and continuously assigns them as the upper or lower base depending on which value is greater at each bar. This adaptive swapping allows the structure to respond better to changing market conditions while preserving overall trend stability.
A volatility component is then added to the bases using either:
• Average True Range (ATR)
• Standard Deviation (SD)
The selected volatility measure is multiplied by a configurable factor to create adaptive bands around the moving-average bases. Price crossing these bands determines trend direction changes.
When price crosses above the upper band, the trend switches bullish and the lower band becomes the trailing support line. When price crosses below the lower band, the trend switches bearish and the upper band becomes the trailing resistance line. Only the active trend side is plotted to reduce visual noise and improve chart clarity.
Multiple moving-average pair options are provided, allowing users to choose combinations that match their preferred balance between smoothness and responsiveness, including SMA, EMA, WMA, HMA, VWMA, DEMA, TEMA, and ALMA-based combinations. Additional parameters are available when ALMA is selected.
⚙️ Key Features
• Adaptive swapping between two moving averages
• Choice of MA pairs with different responsiveness profiles
• ATR or Standard Deviation volatility bands
• Configurable volatility length and multiplier
• Optional ALMA tuning parameters
• Trend visualization with color-coded support/resistance lines
• Signal markers displayed on trend transitions
🧩 Inputs Overview
• Moving average pair selection
• Moving average length and price source
• Volatility method, length, and multiplier
• Optional ALMA offset and sigma parameters
📌 Usage Notes
• Designed to help visualize prevailing trend direction and potential trend shifts.
• Can be combined with confirmation tools or risk management rules within broader strategies.
• Signals are generated when price crosses volatility-adjusted moving-average bands; signals may update intrabar, especially on lower timeframes.
• This script is intended for analytical purposes and does not constitute financial advice. Users should test and validate performance within their own workflow before applying it to live trading.
Luminous Trend Wave [Pineify]```
Luminous Trend Wave - Hull MA Based Normalized Momentum Oscillator
The Luminous Trend Wave (Pineify) is a momentum oscillator designed to provide clear, responsive trend signals while minimizing the lag commonly associated with traditional momentum indicators. By combining Hull Moving Average (HMA) calculations with ATR-based normalization and hyperbolic tangent transformation, LTW delivers a bounded oscillator that works consistently across different assets and timeframes.
Key Features
Hull Moving Average foundation for reduced lag trend detection
ATR normalization for universal applicability across all markets
Bounded output range (-100 to +100) using mathematical tanh transformation
Dynamic gradient coloring that reflects momentum intensity
Built-in signal line for momentum confirmation
Automatic alerts for trend reversals and momentum shifts
How It Works
The indicator operates through a four-stage calculation process:
Trend Basis Calculation: The indicator first calculates a Hull Moving Average (HMA) of the closing price. HMA was chosen specifically because it provides significantly less lag compared to Simple or Exponential Moving Averages while maintaining smoothness. This allows the oscillator to respond quickly to genuine price movements.
Distance Measurement: The raw distance between the current close price and the HMA trend line is calculated. This distance represents how far price has deviated from its smoothed trend.
ATR Normalization: The distance is then divided by the Average True Range (ATR) over the same lookback period. This normalization step is crucial - it makes the oscillator readings comparable across different assets regardless of their price levels or typical volatility. A stock trading at $500 and one at $5 will produce equivalent readings when their relative movements are similar.
Tanh Transformation: Finally, the normalized value is passed through a hyperbolic tangent function scaled by a sensitivity multiplier. The mathematical formula (e^2x - 1) / (e^2x + 1) naturally bounds the output between -100 and +100, preventing extreme spikes while preserving the directional information.
Trading Ideas and Insights
Zero Line Crossovers: When the oscillator crosses above zero, it indicates a shift from bearish to bullish momentum. Conversely, crossing below zero signals bearish momentum. These crossovers can be used as entry triggers when confirmed by other analysis.
Overbought/Oversold Levels: Readings above +80 suggest overbought conditions where price has extended significantly above its trend. Readings below -80 indicate oversold conditions. These extremes often precede mean reversion moves.
Signal Line Divergence: When the main oscillator (histogram) is above the signal line, momentum is increasing. When below, momentum is decreasing. This relationship helps identify the strength of the current move.
Momentum Fading: The indicator automatically fades the color intensity when the oscillator value is closer to the signal line than to the extremes, visually indicating weakening momentum before potential reversals.
How Multiple Indicators Work Together
LTW integrates three distinct technical concepts into a cohesive system:
Hull MA + ATR Integration: The Hull Moving Average provides the trend direction while ATR provides the volatility context. Together, they answer not just "where is the trend?" but "how significant is the current deviation relative to normal market movement?"
Mathematical Bounding + Visual Mapping: The tanh transformation ensures readings stay within predictable bounds, while the gradient coloring maps these bounded values to intuitive visual feedback. Strong bullish readings appear in bright green, strong bearish in bright red, with smooth transitions between.
Oscillator + Signal Line System: Similar to MACD's relationship between the MACD line and signal line, LTW uses a WMA-smoothed signal line to filter noise and confirm momentum direction. The interplay between the faster oscillator and slower signal creates actionable crossover signals.
Unique Aspects
Universal Normalization: Unlike many oscillators that produce different reading ranges on different assets, LTW's ATR normalization ensures consistent interpretation whether trading forex, crypto, stocks, or commodities.
Sensitivity Control: The sensitivity parameter allows traders to adjust how aggressively the oscillator responds to price changes. Higher values make it more responsive (useful for scalping), while lower values smooth out noise (better for swing trading).
Visual Momentum Feedback: The gradient coloring and transparency adjustments provide immediate visual feedback about trend strength without requiring traders to interpret numerical values.
How to Use
Add the indicator to your chart - it displays in a separate pane below price.
Watch for zero line crossovers as primary trend signals. Bullish when crossing above, bearish when crossing below.
Use the ±80 levels as caution zones where reversals become more likely.
Monitor the relationship between the histogram and signal line - histogram above signal indicates strengthening momentum.
Pay attention to color intensity - faded colors indicate weakening momentum and potential reversal zones.
Set alerts for automated notifications on trend changes and momentum shifts.
Customization
Trend Lookback (default: 21): Controls the HMA period. Lower values increase responsiveness but may generate more false signals. Higher values provide smoother trends but with more lag.
Signal Smoothing (default: 5): Adjusts the WMA period for the signal line. Higher values create a slower signal line with fewer crossovers.
Sensitivity (default: 1.5): Multiplier for the tanh transformation. Increase for more reactive signals, decrease for smoother readings.
Colors: Fully customizable bullish and bearish colors to match your chart theme.
Gradients: Toggle gradient coloring on/off based on preference.
Conclusion
The Luminous Trend Wave indicator offers traders a mathematically sound approach to momentum analysis. By combining the low-lag properties of Hull Moving Average with ATR-based normalization and bounded output transformation, LTW provides consistent, interpretable signals across any market. The visual feedback system makes trend strength immediately apparent, while the signal line crossovers offer clear entry and exit timing. Whether used as a standalone tool or combined with price action analysis, LTW helps traders identify trend direction, momentum strength, and potential reversal zones with clarity.
```
Price Levels Wall//@version=6
indicator("Price Levels From File", overlay = true)
// === Public parameters ===
string fileContent = input.text_area("Contenu du fichier", "Collez le contenu de Niveaux.txt ici")
color minColor = input.color(color.new(color.green, 0), "Couleur Min", group = "Couleurs")
color maxColor = input.color(color.new(color.red, 0), "Couleur Max", group = "Couleurs")
color acheteursColor = input.color(color.new(color.lime, 0), "Couleur Acheteurs", group = "Couleurs")
color vendeursColor = input.color(color.new(color.orange, 0), "Couleur Vendeurs", group = "Couleurs")
color wallUpperColor = input.color(color.new(color.fuchsia, 0), "Couleur Wall Upper", group = "Couleurs")
color wallMidColor = input.color(color.new(color.gray, 0), "Couleur Wall Mid", group = "Couleurs")
color controlMidColor = input.color(color.new(color.green, 0), "Couleur Control Mid", group = "Couleurs")
color wallLowerColor = input.color(color.new(color.aqua, 0), "Couleur Wall Lower", group = "Couleurs")
color highlightColor = input.color(color.new(#FFFF00, 88), "Couleur Highlight", group = "Couleurs")
int lineWidth = input.int(2, "Épaisseur ligne", group = "Apparence")
bool enableMinMinEventHighlight = input.bool(true, "Highlight Min–Min Event", group = "Options")
bool enableMaxMaxEventHighlight = input.bool(true, "Highlight Max–Max Event", group = "Options")
// === Private fields ===
var array prices = array.new()
var array labels = array.new()
var array colors = array.new()
var float minOneDayLevel = na
var float maxOneDayLevel = na
var float minEventLevel = na
var float maxEventLevel = na
var bool initialized = false
// === Helper functions ===
tryParse(string s) =>
string s_replaced = str.replace_all(s, ",", ".")
float val = str.tonumber(s_replaced)
na(val) ? na : val
trim(string s) =>
string res = s
while str.length(res) > 0 and (str.substring(res, 0, 1) == " " or str.substring(res, 0, 1) == "\t")
res := str.substring(res, 1)
while str.length(res) > 0 and (str.substring(res, str.length(res) - 1) == " " or str.substring(res, str.length(res) - 1) == "\t")
res := str.substring(res, 0, str.length(res) - 1)
res
extractValue(string line) =>
int colonIdx = str.pos(line, ":")
if colonIdx == -1
na
else
string valueStr = str.substring(line, colonIdx + 1)
valueStr := trim(valueStr)
tryParse(valueStr)
// === Parsing ===
if not initialized and barstate.islast
initialized := true
array rawLines = str.split(fileContent, " ")
for i = 0 to array.size(rawLines) - 1
string raw = array.get(rawLines, i)
string line = trim(raw)
if line == ""
continue
string lower = str.lower(line)
// Extract levels based on keywords
if str.contains(lower, "max event")
maxEventLevel := extractValue(line)
else if str.contains(lower, "max 1d")
maxOneDayLevel := extractValue(line)
else if str.contains(lower, "wall upper")
float val = extractValue(line)
if not na(val)
array.push(prices, val)
array.push(labels, "Wall Upper")
array.push(colors, wallUpperColor)
else if str.contains(lower, "buyers ctrl")
float val = extractValue(line)
if not na(val)
array.push(prices, val)
array.push(labels, "Buyers Ctrl")
array.push(colors, acheteursColor)
else if str.contains(lower, "wall mid")
float val = extractValue(line)
if not na(val)
array.push(prices, val)
array.push(labels, "Wall Mid")
array.push(colors, wallMidColor)
else if str.contains(lower, "control mid")
float val = extractValue(line)
if not na(val)
array.push(prices, val)
array.push(labels, "Control Mid")
array.push(colors, controlMidColor)
else if str.contains(lower, "sellers ctrl")
float val = extractValue(line)
if not na(val)
array.push(prices, val)
array.push(labels, "Sellers Ctrl")
array.push(colors, vendeursColor)
else if str.contains(lower, "wall lower")
float val = extractValue(line)
if not na(val)
array.push(prices, val)
array.push(labels, "Wall Lower")
array.push(colors, wallLowerColor)
else if str.contains(lower, "min 1d")
minOneDayLevel := extractValue(line)
else if str.contains(lower, "min event")
minEventLevel := extractValue(line)
// Add special levels
if not na(maxOneDayLevel)
array.push(prices, maxOneDayLevel)
array.push(labels, "Max 1D")
array.push(colors, maxColor)
if not na(maxEventLevel)
array.push(prices, maxEventLevel)
array.push(labels, "Max Event")
array.push(colors, maxColor)
if not na(minOneDayLevel)
array.push(prices, minOneDayLevel)
array.push(labels, "Min 1D")
array.push(colors, minColor)
if not na(minEventLevel)
array.push(prices, minEventLevel)
array.push(labels, "Min Event")
array.push(colors, minColor)
// === Rendering ===
var box minBand = na
var box maxBand = na
if barstate.islast and initialized
if enableMinMinEventHighlight and not na(minOneDayLevel) and not na(minEventLevel) and na(minBand)
float top = math.max(minOneDayLevel, minEventLevel)
float bottom = math.min(minOneDayLevel, minEventLevel)
minBand := box.new(left = bar_index, top = top, right = bar_index + 1, bottom = bottom, xloc = xloc.bar_index, extend = extend.both, bgcolor = highlightColor, border_width = 0)
if enableMaxMaxEventHighlight and not na(maxOneDayLevel) and not na(maxEventLevel) and na(maxBand)
float top = math.max(maxOneDayLevel, maxEventLevel)
float bottom = math.min(maxOneDayLevel, maxEventLevel)
maxBand := box.new(left = bar_index, top = top, right = bar_index + 1, bottom = bottom, xloc = xloc.bar_index, extend = extend.both, bgcolor = highlightColor, border_width = 0)
var array hlines = array.new()
var array rightLabels = array.new()
if barstate.islast and initialized and array.size(hlines) == 0
for i = 0 to array.size(prices) - 1
float p = array.get(prices, i)
string lbl = array.get(labels, i)
color col = array.get(colors, i)
line hl = line.new(bar_index, p, bar_index + 1, p, xloc = xloc.bar_index, extend = extend.both, color = col, width = lineWidth)
array.push(hlines, hl)
string labelText = lbl + " " + str.tostring(p)
label rightLbl = label.new(bar_index + 1, p, labelText, xloc = xloc.bar_index, yloc = yloc.price, style = label.style_label_right, color = na, textcolor = col, size = size.small)
array.push(rightLabels, rightLbl)
if barstate.islast
for i = 0 to array.size(rightLabels) - 1
label.set_x(array.get(rightLabels, i), bar_index + 1)
MAs+Engulfing O caminho das Criptos
This indicator overlays multiple moving averages (EMAs 12/20/50/100/200 and SMA 200) and highlights bullish/bearish engulfing candles by dynamically coloring the candle body. The EMA 12 (gray) provides short-term momentum insight, helping refine entry timing and micro pullbacks.
When a bullish engulfing is detected, the candle appears as a strong dark green; for bearish engulfing, a vivid red. Normal candles retain classic lime/red colors. Visual alerts and bar coloring make price-action patterns instantly visible.
Includes built-in alert conditions for both patterns, supporting both trading automation and education. The tool upgrades trend-following setups by combining macro structure (longer EMAs) with micro momentum (EMA 12) and automatic price-action insights.
TCT ChecklistChecklist in order to make you take in account everything you need to determine if a range is worth taking or not.
Market Internals SPY[TP]# Market Internals SPY Dashboard - TradingView Publication
## 📊 Overview
**Market Internals SPY ** is a comprehensive multi-factor market sentiment dashboard designed specifically for SPY (S&P 500 ETF) traders. This indicator combines four powerful market breadth signals into one easy-to-read interface, helping traders identify high-probability setups and avoid false breakouts.
---
## 🎯 What Makes This Indicator Unique?
Unlike single-indicator tools, this dashboard synthesizes **multiple market internals** to provide confluence-based trading signals:
- **CPR (Central Pivot Range)** - Institutional pivot levels
- **VIX (Volatility Index)** - Fear gauge
- **Put/Call Ratio** - Options sentiment with dynamic crossover alerts
- ** USI:ADD (Advance/Decline Line)** - Market breadth strength
All presented in a clean, real-time dashboard with visual alerts directly on your chart.
---
## 📈 Key Features
### 1. **Static Daily CPR Levels**
- Automatically plots Top CPR, Pivot, and Bottom CPR
- Levels remain fixed throughout the trading day (no repainting)
- **Trend Bias Indicator**: Green = Current Pivot > Previous Pivot (Bullish structure)
### 2. **Put/Call Ratio Crossover System**
- 10-period SMA smoothing for cleaner signals
- **Bullish Signal** (Green background): Put/Call crosses below SMA
- Indicates decreasing hedging activity (bullish)
- **Bearish Signal** (Red background): Put/Call crosses above SMA
- Indicates increasing hedging activity (bearish)
### 3. **Price/Breadth Divergence Detection**
- **Yellow Candles**: Highlight when price and USI:ADD diverge
- Price rising but USI:ADD falling = Potential reversal
- Price falling but USI:ADD rising = Possible bottom
### 4. **Comprehensive Real-Time Dashboard**
A top-right table displaying:
- **CPR Trend Bias**: Bullish/Bearish structure
- **VIX Level**: Current value + directional bias
- **Put/Call Ratio**: Live value + trend arrows
- **AD Line**: Breadth strength with directional indicators
### 5. **Intelligent Bar Coloring**
- **Green bars**: USI:ADD rising (breadth improving)
- **Red bars**: USI:ADD falling (breadth deteriorating)
- **Yellow bars**: Divergence warning (potential reversal)
---
## 🔧 How to Use
### Setup Instructions
1. **Add to Chart**: Apply to SPY on your preferred intraday timeframe (5m, 15m, 30m, 1H)
2. **Configure Symbols** (if needed):
- Default settings work for most platforms
- If "PCC" doesn't load, try: `PCCR`, `INDEX:PCC`, `USI:PCC`, or `CBOE:PCC`
- Ensure you have market internals data access ( USI:ADD , VIX)
### Trading Signals
#### 🟢 **Bullish Confluence** (High-Probability Long Setup)
- CPR Trend = BULLISH
- VIX falling or low (<20)
- Put/Call below SMA (or green background crossover)
- USI:ADD rising (green bars)
- **Entry**: Look for bullish price action at support levels
#### 🔴 **Bearish Confluence** (High-Probability Short Setup)
- CPR Trend = BEARISH
- VIX rising or elevated (>25)
- Put/Call above SMA (or red background crossover)
- USI:ADD falling (red bars)
- **Entry**: Look for bearish rejection at resistance
#### ⚠️ **Divergence Warning**
- Yellow candles indicate mismatch between price and breadth
- Consider profit-taking or reversals when divergence appears at extremes
### Best Practices
- **Multi-Timeframe Confirmation**: Check higher timeframes (4H, Daily) for trend alignment
- **Volume Confirmation**: Combine with volume analysis for stronger signals
- **Risk Management**: Always use stop losses; no indicator is 100% accurate
- **News Awareness**: Be cautious around major economic releases
---
## 📚 Understanding the Components
### CPR (Central Pivot Range)
Traditional floor trader pivot levels calculated from previous day's High, Low, Close:
- **Pivot (PP)** = (High + Low + Close) / 3
- **Top CPR (TC)** = (PP - BC) + PP
- **Bottom CPR (BC)** = (High + Low) / 2
### VIX (Volatility Index)
- **< 15**: Complacency, potential for sudden moves
- **15-20**: Normal conditions
- **20-30**: Elevated uncertainty
- **> 30**: High fear, potential bottoming process
### Put/Call Ratio
- **< 0.7**: Excessive optimism (contrarian bearish)
- **0.7-1.0**: Balanced sentiment
- **> 1.0**: Defensive positioning (contrarian bullish potential)
### USI:ADD (NYSE Advance/Decline)
- **> 0**: More stocks advancing than declining (bullish breadth)
- **< 0**: More stocks declining than advancing (bearish breadth)
- **Extreme readings** (±2000+): Potential exhaustion
---
## ⚙️ Customization Options
### Input Parameters
- **AD Line Symbol**: Default "ADD" (try "ADVN" or "NYSE:ADD" if needed)
- **VIX Symbol**: Default "VIX" (try "CBOE:VIX" if needed)
- **Put/Call Symbol**: Default "PCC" (alternatives listed above)
### Color Scheme
- Blue: CPR levels
- Purple: Pivot point
- Green: Bullish signals/backgrounds
- Red: Bearish signals/backgrounds
- Yellow: Divergence warnings
---
## 💡 Pro Tips
1. **Wait for Confluence**: Don't trade on a single indicator - wait for 3+ signals to align
2. **Use CPR as Dynamic S/R**: Price tends to react at TC and BC levels
3. **Watch the Crossovers**: Put/Call crossovers often precede significant moves
4. **Monitor Divergences**: Yellow candles at key levels are high-value signals
5. **Combine with Price Action**: This tool confirms direction - you still need entry triggers
---
## ⚠️ Limitations & Disclaimers
- Requires **premium data** for USI:ADD and VIX on most platforms
- Best suited for **intraday SPY trading** (may adapt to other indices)
- **Not a standalone system** - use with proper risk management
- Past performance does not guarantee future results
- Always backtest before live trading
---
## 🎓 Example Scenario
**Bullish Setup**:
- 9:45 AM EST: Price pulls back to Bottom CPR
- Dashboard shows: ✅ Bullish CPR Bias, ✅ VIX 16.5 (falling), ✅ Put/Call 0.68 ⬇️ Bull, ✅ USI:ADD +850 ⬆️
- Green background flashes (Put/Call crossunder)
- **Action**: Enter long at BC with stop below TC of previous day
---
## 📊 Ideal Timeframes
- **Primary**: 5-minute, 15-minute (day trading)
- **Secondary**: 30-minute, 1-hour (swing entries)
- **Confirmation**: Daily chart for trend context
---
## 🔄 Updates & Support
This indicator is actively maintained. If you encounter symbol loading issues:
1. Check your data provider includes market internals
2. Try alternative symbols in inputs
3. Ensure you're using a premium TradingView plan (if required)
---
## 📝 Version Information
- **Version**: 5 (Pine Script v5)
- **Type**: Overlay Indicator
- **Author**: tapaspattanaik
- **Category**: Market Internals / Breadth Analysis
---
## 🏆 Final Thoughts
This indicator is designed for **serious traders** who understand that edge comes from confluence, not single signals. By combining institutional pivot levels with real-time market internals, you gain a significant advantage in reading market sentiment and timing entries with precision.
**Remember**: The best trades happen when multiple independent factors align. Use this dashboard to find those moments.
---
## 📌 How to Add This Indicator
1. Open TradingView and navigate to Pine Editor
2. Copy the complete script code
3. Click "Add to Chart"
4. Configure symbols if needed (see Setup Instructions above)
5. Adjust position/colors to your preference
---
**Happy Trading! 📈**
*This indicator is for educational purposes. Always manage risk appropriately and never risk more than you can afford to lose.*
---
### Tags
`#SPY` `#MarketInternals` `#CPR` `#VIX` `#PutCallRatio` `#BreadthAnalysis` `#DayTrading` `#SwingTrading` `#TechnicalAnalysis` `#PivotPoints`
Sonic R 89 - NY buy LionLee 079 228 1999//@version=5
indicator("Sonic R 89 - NY SL Custom Fixed", overlay=true, max_lines_count=500)
// --- 0. TÙY CHỈNH THÔNG SỐ ---
group_session = "Cài đặt Phiên Giao Dịch (Giờ New York)"
use_session = input.bool(true, "Chỉ giao dịch theo khung giờ", group=group_session)
session_time = input.session("0800-1200", "Khung giờ NY 1", group=group_session)
session_time2 = input.session("1300-1700", "Khung giờ NY 2", group=group_session)
max_trades_per_session = input.int(1, "Số lệnh tối đa/mỗi khung giờ", minval=1, group=group_session)
group_risk = "Quản lý Rủi ro (Dashboard)"
risk_usd = input.float(100.0, "Số tiền rủi ro mỗi lệnh ($)", minval=1.0, group=group_risk)
group_sl_custom = "Cấu hình Stop Loss (SL)"
sl_mode = input.string("Dragon", "Chế độ SL", options= , group=group_sl_custom)
lookback_x = input.int(5, "Số nến (X) cho Swing SL", minval=1, group=group_sl_custom)
group_htf = "Lọc Đa khung thời gian (MTF)"
htf_res = input.timeframe("30", "Chọn khung HTF", group=group_htf)
group_sonic = "Cấu hình Sonic R"
vol_mult = input.float(1.5, "Đột biến Volume", minval=1.0)
max_waves = input.int(4, "Ưu tiên n nhịp đầu", minval=1)
trade_cd = input.int(5, "Khoảng cách lệnh (nến)", minval=1)
group_tp = "Quản lý SL/TP & Dòng kẻ"
rr_tp1 = input.float(1.0, "TP1 (RR)", step=0.1)
rr_tp2 = input.float(2.0, "TP2 (RR)", step=0.1)
rr_tp3 = input.float(3.0, "TP3 (RR)", step=0.1)
rr_tp4 = input.float(4.0, "TP4 (RR)", step=0.1)
line_len = input.int(15, "Chiều dài dòng kẻ", minval=1)
// --- 1. KIỂM TRA PHIÊN & HTF ---
is_in_sess1 = not na(time(timeframe.period, session_time, "America/New_York"))
is_in_sess2 = not na(time(timeframe.period, session_time2, "America/New_York"))
is_in_session = use_session ? (is_in_sess1 or is_in_sess2) : true
var int trades_count = 0
is_new_session = is_in_session and not is_in_session
if is_new_session
trades_count := 0
htf_open = request.security(syminfo.tickerid, htf_res, open, lookahead=barmerge.lookahead_on)
htf_close = request.security(syminfo.tickerid, htf_res, close, lookahead=barmerge.lookahead_on)
is_htf_trend = htf_close >= htf_open ? 1 : -1
// --- 2. TÍNH TOÁN CHỈ BÁO ---
ema89 = ta.ema(close, 89)
ema34H = ta.ema(high, 34)
ema34L = ta.ema(low, 34)
atr = ta.atr(14)
avgVol = ta.sma(volume, 20)
slope89 = (ema89 - ema89 ) / atr
hasSlope = math.abs(slope89) > 0.12
isSqueezed = math.abs(ta.ema(close, 34) - ema89) < (atr * 0.5)
var int waveCount = 0
if not hasSlope
waveCount := 0
newWave = hasSlope and ((low <= ema34H and close > ema34H) or (high >= ema34L and close < ema34L))
if newWave and not newWave
waveCount := waveCount + 1
// --- 3. LOGIC VÀO LỆNH ---
isMarubozu = math.abs(close - open) / (high - low) > 0.8
highVol = volume > avgVol * vol_mult
buyCondition = is_in_session and (trades_count < max_trades_per_session) and waveCount <= max_waves and is_htf_trend == 1 and
(isMarubozu or highVol) and close > ema34H and low >= ema89 and
(slope89 > 0.1 or isSqueezed ) and close > open
sellCondition = is_in_session and (trades_count < max_trades_per_session) and waveCount <= max_waves and is_htf_trend == -1 and
(isMarubozu or highVol) and close < ema34L and high <= ema89 and
(slope89 < -0.1 or isSqueezed ) and close < open
// --- 4. QUẢN LÝ LỆNH ---
var float last_entry = na
var float last_sl = na
var float last_tp1 = na
var float last_tp2 = na
var float last_tp3 = na
var float last_tp4 = na
var string last_type = "NONE"
var int lastBar = 0
trigger_buy = buyCondition and (bar_index - lastBar > trade_cd)
trigger_sell = sellCondition and (bar_index - lastBar > trade_cd)
// --- 5. TÍNH TOÁN SL & LOT SIZE ---
float contract_size = 1.0
if str.contains(syminfo.ticker, "XAU") or str.contains(syminfo.ticker, "GOLD")
contract_size := 100
// Logic tính SL linh hoạt
float swing_low = ta.lowest(low, lookback_x)
float swing_high = ta.highest(high, lookback_x)
float temp_sl_calc = na
if trigger_buy
temp_sl_calc := (sl_mode == "Dragon") ? ema34L : swing_low
if trigger_sell
temp_sl_calc := (sl_mode == "Dragon") ? ema34H : swing_high
float sl_dist_calc = math.abs(close - temp_sl_calc)
float calc_lots = (sl_dist_calc > 0) ? (risk_usd / (sl_dist_calc * contract_size)) : 0
if (trigger_buy or trigger_sell)
trades_count := trades_count + 1
lastBar := bar_index
last_type := trigger_buy ? "BUY" : "SELL"
last_entry := close
last_sl := temp_sl_calc
float riskAmt = math.abs(last_entry - last_sl)
last_tp1 := trigger_buy ? last_entry + (riskAmt * rr_tp1) : last_entry - (riskAmt * rr_tp1)
last_tp2 := trigger_buy ? last_entry + (riskAmt * rr_tp2) : last_entry - (riskAmt * rr_tp2)
last_tp3 := trigger_buy ? last_entry + (riskAmt * rr_tp3) : last_entry - (riskAmt * rr_tp3)
last_tp4 := trigger_buy ? last_entry + (riskAmt * rr_tp4) : last_entry - (riskAmt * rr_tp4)
// Vẽ dòng kẻ
line.new(bar_index, last_entry, bar_index + line_len, last_entry, color=color.new(color.gray, 50), width=2)
line.new(bar_index, last_sl, bar_index + line_len, last_sl, color=color.red, width=2, style=line.style_dashed)
line.new(bar_index, last_tp1, bar_index + line_len, last_tp1, color=color.green, width=1)
line.new(bar_index, last_tp2, bar_index + line_len, last_tp2, color=color.lime, width=1)
line.new(bar_index, last_tp3, bar_index + line_len, last_tp3, color=color.aqua, width=1)
line.new(bar_index, last_tp4, bar_index + line_len, last_tp4, color=color.blue, width=2)
// KÍCH HOẠT ALERT()
string alert_msg = (trigger_buy ? "BUY " : "SELL ") + syminfo.ticker + " at " + str.tostring(close) + " | SL Mode: " + sl_mode + " | Lot: " + str.tostring(calc_lots, "#.##") + " | SL: " + str.tostring(last_sl, format.mintick)
alert(alert_msg, alert.freq_once_per_bar_close)
// --- 6. CẢNH BÁO CỐ ĐỊNH ---
alertcondition(trigger_buy, title="Sonic R BUY Alert", message="Sonic R BUY Signal Detected")
alertcondition(trigger_sell, title="Sonic R SELL Alert", message="Sonic R SELL Signal Detected")
// --- 7. DASHBOARD & PLOT ---
var table sonic_table = table.new(position.top_right, 2, 10, bgcolor=color.new(color.black, 70), border_width=1, border_color=color.gray)
if barstate.islast
table.cell(sonic_table, 0, 0, "NY SESSION", text_color=color.white), table.cell(sonic_table, 1, 0, last_type, text_color=(last_type == "BUY" ? color.lime : color.red))
table.cell(sonic_table, 0, 1, "SL Mode:", text_color=color.white), table.cell(sonic_table, 1, 1, sl_mode, text_color=color.orange)
table.cell(sonic_table, 0, 2, "Trades this Sess:", text_color=color.white), table.cell(sonic_table, 1, 2, str.tostring(trades_count) + "/" + str.tostring(max_trades_per_session), text_color=color.yellow)
table.cell(sonic_table, 0, 3, "LOT SIZE:", text_color=color.orange), table.cell(sonic_table, 1, 3, str.tostring(calc_lots, "#.##"), text_color=color.orange)
table.cell(sonic_table, 0, 4, "Entry:", text_color=color.white), table.cell(sonic_table, 1, 4, str.tostring(last_entry, format.mintick), text_color=color.yellow)
table.cell(sonic_table, 0, 5, "SL:", text_color=color.white), table.cell(sonic_table, 1, 5, str.tostring(last_sl, format.mintick), text_color=color.red)
table.cell(sonic_table, 0, 6, "TP1:", text_color=color.gray), table.cell(sonic_table, 1, 6, str.tostring(last_tp1, format.mintick), text_color=color.green)
table.cell(sonic_table, 0, 7, "TP2:", text_color=color.gray), table.cell(sonic_table, 1, 7, str.tostring(last_tp2, format.mintick), text_color=color.lime)
table.cell(sonic_table, 0, 8, "TP3:", text_color=color.gray), table.cell(sonic_table, 1, 8, str.tostring(last_tp3, format.mintick), text_color=color.aqua)
table.cell(sonic_table, 0, 9, "TP4:", text_color=color.gray), table.cell(sonic_table, 1, 9, str.tostring(last_tp4, format.mintick), text_color=color.blue)
plot(ema89, color=slope89 > 0.1 ? color.lime : slope89 < -0.1 ? color.red : color.gray, linewidth=2)
p_high = plot(ema34H, color=color.new(color.blue, 80))
p_low = plot(ema34L, color=color.new(color.blue, 80))
fill(p_high, p_low, color=color.new(color.blue, 96))
plotshape(trigger_buy, "BUY", shape.triangleup, location.belowbar, color=color.green, size=size.small)
plotshape(trigger_sell, "SELL", shape.triangledown, location.abovebar, color=color.red, size=size.small)
bgcolor(isSqueezed ? color.new(color.yellow, 92) : na)
bgcolor(not is_in_session ? color.new(color.gray, 96) : na)
Tomato Multi EMA + VWAP + SMA + RSI TableTomato Multi EMA + VWAP + SMA + RSI Table
Here are the following:
12, 27, 50, 135, 200, 405 EMAs
Blue, Red, Purple, Light Blue, Yellow, Green
White: VWAP
200, 400 SMA
Dotted Orange Line, Dotted Red Line
1, 2, 3, 5, 10, 13, 15, 30 Multitimeframe RSI table with RSI-MA 45 (EMA 45)
The Rumers Box Strategy+ v1.5.0The Rumers Box Strategy - Visual Trading Setup Analyzer
This indicator implements Doug Rumers' Box Strategy methodology for identifying high-probability trading setups based on historical price ranges and opening candle analysis.
Key Features:
Customizable Box Construction - Define a "Box Date" to establish the high/low range that forms your trading framework
8:45 Candle Analysis - Automatically identifies and validates the opening candle on your specified "Analysis Date"
20% Rule Validation - Visual confirmation when the 8:45 candle range meets the 20% threshold of the box range
Entry Zone Highlighting - Clear visual marking of the top 20% (short zone) and bottom 20% (long zone) of the box
50% Midpoint Reference - Yellow midline for price action analysis
Multi-Timezone Support - Works with 12 major timezones including US, European, Asian, and Pacific markets
Comprehensive Info Panel - Real-time display of all key metrics including box range, thresholds, and setup validity
Historical Analysis - Time-based positioning allows analysis of any historical date without bar index limitations
How to Use:
Select your timezone
Choose the Box Date (the date that establishes your high/low range)
Choose the Analysis Date (the date to check the 8:45 candle)
The indicator will display a ✓ or ✗ showing whether the setup meets the 20% rule
Trade within the highlighted entry zones when valid setups appear
Perfect for: Day traders and swing traders using systematic, rule-based entry strategies on NAS100, ES, and other index futures.
Adaptive For LoopAdaptive For Loop (AFL | MisinkoMaster)
The Adaptive For Loop is an innovative trend-following indicator designed to deliver fast and reliable signals while minimizing false positives. By dynamically assessing the relationship between current and historical price data across multiple price components—open, high, low, and close—this tool filters out noise and highlights the strongest trend signals.
Unlike traditional indicators that rely on a single price input, Adaptive For Loop harnesses the combined strength of multiple price points, intelligently selecting the most relevant signal to adapt to changing market conditions. This approach helps traders identify genuine trend momentum with clarity and speed.
🔍 Concept & Idea
The idea behind Adaptive For Loop is to improve trend detection by simultaneously evaluating multiple price sources instead of just one. Each price component (open, high, low, close) undergoes a scoring process comparing the current price to a series of historical prices within a user-defined lookback range.
Since different price points may exhibit varying degrees of noise or trend clarity at different times, the indicator selects the source with the strongest directional signal based on absolute scoring. This adaptive selection reduces noise and enhances signal reliability while maintaining fast responsiveness.
⚙️ How It Works
The indicator performs a looped comparison for each price series (open, high, low, close) over a range specified by the user (from start to end bars ago).
For each bar in the range, it increments or decrements a score depending on whether the current price is higher or lower than the compared historical price.
After scoring all four price sources, the indicator selects the score with the greatest absolute value to represent the dominant market momentum.
This dominant score is then evaluated against user-defined upper and lower thresholds to determine the market trend state:
Above the upper threshold: bullish/uptrend signal
Below the lower threshold: bearish/downtrend signal
Between thresholds: neutral/no clear trend
The indicator plots the score, thresholds, and highlights the trend visually, including colored candlesticks representing the detected trend.
🧩 Inputs Overview
From (start) – Defines the start bar offset for the lookback range in the for loop (default 0).
To (end) – Defines the end bar offset for the lookback range in the for loop (default 45).
Upper Threshold – Score level above which an uptrend signal is triggered (default 39).
Lower Threshold – Score level below which a downtrend signal is triggered (default -12).
📌 Usage Notes
Adaptive Selection: The indicator adapts by selecting the price source with the strongest trend signal, reducing false signals caused by noisy individual price inputs.
Speed and Noise: Designed for fast execution and minimal noise, making it especially useful in volatile markets such as BTCUSD.
Visual Clarity: Colored candlesticks and score plots help traders quickly identify trend direction and strength.
Customization: Users can adjust the lookback range and thresholds to fit different assets and timeframes.
Complementary Tool: Best used alongside other confirmation indicators and sound risk management practices.
Backtesting Recommended: Always backtest and validate settings on historical data to optimize performance for your specific market.
⚠️ Disclaimer
This indicator is provided for educational and analytical purposes only and does not constitute financial advice. Trading involves significant risk, and users should perform their own due diligence before making any investment decisions.
Enjoy trading with Adaptive For Loop!
Vishall Heikin Ashi ForceVishall Heikin Ashi Force
Vishall Heikin Ashi Force
Vishall Heikin Ashi Force
Vishall Heikin Ashi Force
Vishall Heikin Ashi Force
Cyberpunk Hyper-Linear ChannelCyberpunk Hyper-Linear Channel is a next-generation linear regression channel designed to visualize trend direction, volatility, and price positioning with high clarity and minimal noise.
Unlike traditional regression channels, this indicator applies EMA smoothing to both slope and intercept, significantly reducing sudden angle shifts and visual jitter.
The result is a stable, latency-controlled trend channel that adapts smoothly to market structure.
🔹 Core Concept
・Linear regression defines the trend axis
・Standard deviation determines dynamic channel width
・Slope & intercept smoothing improves structural stability
・Neon zones highlight bullish / bearish pressure in real time
🔹 Key Features
・Smoothed Linear Regression Channel (trend-focused, low noise)
・Volatility-based adaptive upper & lower boundaries
・Dynamic neon fill that reacts to price position
・Clear trend bias visualization without repainting clutter
・Cyberpunk-inspired, clean and modern aesthetic
🔹 How to Use
・Price near center line → Mean reversion / equilibrium zone
・Price approaching channel edges → Volatility expansion
・Upper zone dominance → Bullish trend pressure
・Lower zone dominance → Bearish trend pressure
・Breakouts beyond the channel may signal trend acceleration or exhaustion
🔹 Best Use Cases
・Trend-following confirmation
・Dynamic support & resistance mapping
・Market structure visualization across all assets
Cyberpunk Hyper-Linear Channel は、
トレンド方向・ボラティリティ・価格の位置関係を
ノイズを極力排除して可視化する次世代線形回帰チャネルです。
従来の線形回帰チャネルと異なり、
傾き(Slope)と切片(Intercept)の両方にEMAスムージングを適用。
これにより、角度の急変や視覚的ブレを抑えた
安定性の高いトレンド構造を描画します。
🔹 コンセプト
・線形回帰によるトレンド軸の定義
・標準偏差による動的チャネル幅
・スムージングで構造ノイズを低減
・価格位置に応じたネオンゾーンの動的強調表示
🔹 特徴
・低ノイズ・高安定な線形回帰チャネル
・ボラティリティ連動型の上下バンド
・価格位置に反応するダイナミックな発色
・リペイント感のないクリーンな描画
・サイバーパンク調の洗練されたデザイン
🔹 使い方
・中央線付近 → 平衡・持ち合いゾーン
・チャネル上限 / 下限付近 → ボラ拡大・圧力増加
・上部ゾーン優勢 → 上昇トレンド圧力
・下部ゾーン優勢 → 下降トレンド圧力
・チャネル外へのブレイクは加速 or 行き過ぎの兆候として注視
🔹 想定用途
・トレンドフォローの補助
・動的サポート / レジスタンスの把握
・相場構造の視覚的理解
Top-secret Golden Mentor (Jorge's Algo)Description:
INTRODUCTION The Top-secret Golden Mentor is an institutional trading system engineered for surgical precision on Gold (XAUUSD) and other volatile assets. This indicator goes beyond simple entry signals; it automatically filters market traps (fakeouts) by aligning every volume anomaly with the macro market structure.
The main objective is simple: Stop trading against the trend and pinpoint exactly where institutions have injected capital.
KEY FEATURES
1. X-Ray Candles (True Volume Pressure) Move beyond traditional Japanese candlesticks. This indicator "undresses" the price action:
Grey Border: Represents the price range.
Color Fill (Green/Red): Reveals who actually won the internal volume battle (Delta).
Benefit: You can spot candles that look bullish on the outside but are "hollow" (empty of buyers) on the inside.
2. Smart Trend Filter (The Trap Detector) The core upgrade of V18. The system analyzes market structure in real-time.
If a BUY signal appears during a BEARISH structure, the system instantly marks it with a Grey "X".
Signal with "X" = MARKET TRAP (Absorption).
This prevents you from entering fake pullbacks that are about to be absorbed by the main trend.
3. Sniper Signals & Institutional Gaps (FVG) When the system detects a massive volume injection:
It plots a Volume Dot (Alert).
It automatically projects the 50% Retracement Line of the candle body (Institutional Equilibrium).
It draws a Subtle Box (Gap/FVG) marking the price inefficiency where institutions often return to mitigate.
4. Dynamic Structure Panel A visual dashboard in the top corner that instantly displays the current timeframe bias (BULLISH or BEARISH), removing subjective guesswork.
HOW TO USE THIS STRATEGY
Check the Panel: Is the bias BULLISH or BEARISH?
Wait for the Signal: Look for the Volume Dot.
Filter the Trap:
If the dot has a Grey "X" on top: DO NOT TRADE. It is a counter-trend trap.
If the dot has NO "X" and lines are drawn: VALID SIGNAL.
Execution: Place your Limit Order at the dotted 50% line or inside the Institutional Gap Box.
RECOMMENDED SETTINGS
Assets: Optimized for XAUUSD (Gold), but works on Forex and Futures.
Timeframes: Highly effective on 1H for direction and 5m for sniper entries.
DISCLAIMER This indicator is a technical analysis assistance tool based on Smart Money Concepts (SMC). It does not guarantee future profits. Always use proper risk management.
Multi-Timeframe EMA LevelsThis indicator will plot 2 different EMA's from 4 different timeframes on your chart. It displays as horizontal dotted lines so does not clutter your chart with loads of MA's. The lines are labeled with timeframe, EMA length and the level value. Levels update in real time.
If you are trading key levels or ma's this plots everything for you on one single chart.
CyberFX EMA20 Strategy (Pine v6)This is an updated version of the same script published before. Just few changes, nothing critical.
Trend Candles - [EntryLab]
Trend Candles:
This indicator overrides or overlays standard chart candles with a color gradient that reflects a calculated trend bias (uptrend or downtrend), helping traders quickly assess the overall market direction.Features:Candles are colored using a gradient scale: stronger shades indicate higher-confidence trend direction based on the algorithm.
Two usage modes:
Full override: Disable and hide the chart's native ticker/symbol candles (via chart settings) so the indicator's colored candles take over completely.
Hover preview: Keep your preferred candle setup/colors intact; simply hover the mouse over the indicator name in the chart legend to temporarily display the trend-colored gradient candles for quick reference without altering your main view.
Customizable inputs (adjust in settings): gradient colors for up/down trends, intensity thresholds, etc.
How it works (high-level):
The trend bias is determined using a combination of multiple VWAP calculations, trend-following data, and momentum-based indicators. This multi-factor approach aims to provide a smoother, more reliable signal of whether the market is in an uptrend (bullish bias) or downtrend (bearish bias) compared to single-indicator methods.
How to use:
Apply the indicator to your chart and use the colored candles as a visual aid for trend bias decision-making. For example:In a strong uptrend (deeper bullish gradient), consider favoring long setups or avoiding shorts.
In a downtrend (deeper bearish gradient), consider short opportunities or caution on longs.
Combine with other tools (support/resistance, volume, etc.) for confluence rather than relying solely on candle color.
This script offers a unique way to visualize trend strength via candle recoloring with gradient feedback, which can provide a broader overview of directional bias without cluttering the chart with additional plots/lines.Best suited for any timeframe, especially higher ones for swing/position trading or lower ones for intraday confirmation. No repainting occurs once a bar closes. Not financial advice. Trading carries significant risk of loss of capital. Always backtest and use discretion; results are not guaranteed.






















