Vimal's Super Intraday Combo // © Vimal — Super Intraday Combo Signal (v6)
//@version=6
indicator("Vimal's Super Intraday Combo (RSI + MACD + BB + EMA + VWAP + Stoch)", overlay=true)
// ---------- Inputs ----------
groupTrend = "Trend & Benchmarks"
emaLen = input.int(20, "EMA length", minval=5, group=groupTrend)
useVWAP = input.bool(true, "Use VWAP filter", group=groupTrend)
groupMom = "Momentum"
rsiLen = input.int(14, "RSI length", minval=5, group=groupMom)
rsiBuy = input.int(55, "RSI buy threshold", minval=40, maxval=70, group=groupMom)
rsiSell = input.int(45, "RSI sell threshold", minval=30, maxval=60, group=groupMom)
stochLen = input.int(14, "Stoch length", minval=5, group=groupMom)
stochSignal = input.int(3, "Stoch signal length", minval=1, group=groupMom)
stochBuyLvl = input.int(20, "Stoch oversold level", minval=1, maxval=50, group=groupMom)
stochSellLvl = input.int(80, "Stoch overbought level", minval=50, maxval=99, group=groupMom)
groupMACD = "MACD"
macdFast = input.int(12, "MACD fast", minval=3, group=groupMACD)
macdSlow = input.int(26, "MACD slow", minval=5, group=groupMACD)
macdSignalLen = input.int(9, "MACD signal", minval=3, group=groupMACD)
groupBB = "Bollinger Bands"
bbLen = input.int(20, "BB length", minval=5, group=groupBB)
bbMult = input.float(2.0, "BB multiplier", minval=1.0, maxval=4.0, step=0.1, group=groupBB)
bbSqueezeLook = input.int(20, "Squeeze lookback", minval=10, group=groupBB)
groupLogic = "Signal Logic"
strictMode = input.bool(false, "Strict mode (all filters must agree)", group=groupLogic)
riskFilter = input.bool(true, "Avoid chasing far outside upper band", group=groupLogic)
maxBandDistPc = input.float(0.30, "Max distance above upper band (%) for buys", minval=0.05, step=0.05, group=groupLogic)
minBandDistPc = input.float(0.30, "Max distance below lower band (%) for sells", minval=0.05, step=0.05, group=groupLogic)
// ---------- Core calculations ----------
ema = ta.ema(close, emaLen)
vwap = ta.vwap(close)
rsi = ta.rsi(close, rsiLen)
k = ta.sma(ta.stoch(close, high, low, stochLen), 1)
d = ta.sma(k, stochSignal)
= ta.macd(close, macdFast, macdSlow, macdSignalLen)
basis = ta.sma(close, bbLen)
dev = bbMult * ta.stdev(close, bbLen)
bbUpper = basis + dev
bbLower = basis - dev
bbWidth = (bbUpper - bbLower) / basis
squeeze = bbWidth < ta.lowest(bbWidth, bbSqueezeLook)
// ---------- Conditions ----------
trendUp = close > ema
trendDown = close < ema
vwapUp = not useVWAP or close >= vwap
vwapDown = not useVWAP or close <= vwap
rsiBull = rsi >= rsiBuy
rsiBear = rsi <= rsiSell
stochBull = ta.crossover(k, d) and k < stochBuyLvl
stochBear = ta.crossunder(k, d) and k > stochSellLvl
macdBull = macdLine > macdSignal and macdHist > 0
macdBear = macdLine < macdSignal and macdHist < 0
bbBreakUp = ta.crossover(close, bbUpper)
bbBreakDn = ta.crossunder(close, bbLower)
// Risk control: avoid chasing too far outside bands
distAboveUpper = (close - bbUpper) / close
distBelowLower = (bbLower - close) / close
okBuyDistance = not riskFilter or distAboveUpper <= maxBandDistPc
okSellDistance = not riskFilter or distBelowLower <= minBandDistPc
// ---------- Scoring ----------
bullScore = (trendUp ? 1 : 0) + (vwapUp ? 1 : 0) + (rsiBull ? 1 : 0) + (stochBull ? 1 : 0) + (macdBull ? 1 : 0) + ((bbBreakUp or (close > basis and not squeeze)) ? 1 : 0)
bearScore = (trendDown ? 1 : 0) + (vwapDown ? 1 : 0) + (rsiBear ? 1 : 0) + (stochBear ? 1 : 0) + (macdBear ? 1 : 0) + ((bbBreakDn or (close < basis and not squeeze)) ? 1 : 0)
minAgree = strictMode ? 6 : 4
buy = bullScore >= minAgree and okBuyDistance
sell = bearScore >= minAgree and okSellDistance
// ---------- Plots (ensures indicator outputs) ----------
plot(ema, "EMA", color=color.new(color.yellow, 0), linewidth=2)
plot(vwap, "VWAP", color=color.new(color.orange, 20), linewidth=1)
plot(bbUpper,"BB Upper",color=color.new(color.teal, 0))
plot(basis, "BB Basis",color=color.new(color.gray, 60))
plot(bbLower,"BB Lower",color=color.new(color.teal, 0))
plotshape(buy, title="BUY", style=shape.labelup, color=color.new(color.lime, 0), text="BUY", location=location.belowbar, size=size.tiny)
plotshape(sell, title="SELL", style=shape.labeldown, color=color.new(color.red, 0), text="SELL", location=location.abovebar, size=size.tiny)
bgcolor(buy ? color.new(color.lime, 92) : sell ? color.new(color.red, 92) : na)
// ---------- Alerts ----------
alertcondition(buy, title="BUY signal (combo)", message="BUY: Multi-indicator agreement reached.")
alertcondition(sell, title="SELL signal (combo)", message="SELL: Multi-indicator agreement reached.")
// ---------- Optional table ----------
var tbl = table.new(position.top_right, 3, 7, border_color=color.new(color.white, 70))
if barstate.islast
table.cell(tbl, 0, 0, "Metric", text_color=color.white)
table.cell(tbl, 1, 0, "Bull", text_color=color.lime)
table.cell(tbl, 2, 0, "Bear", text_color=color.red)
table.cell(tbl, 0, 1, "Trend (EMA)")
table.cell(tbl, 1, 1, trendUp ? "✅" : "—", text_color=color.lime)
table.cell(tbl, 2, 1, trendDown? "✅" : "—", text_color=color.red)
table.cell(tbl, 0, 2, "VWAP")
table.cell(tbl, 1, 2, vwapUp ? "✅" : "—", text_color=color.lime)
table.cell(tbl, 2, 2, vwapDown ? "✅" : "—", text_color=color.red)
table.cell(tbl, 0, 3, "RSI")
table.cell(tbl, 1, 3, rsiBull ? "✅" : "—", text_color=color.lime)
table.cell(tbl, 2, 3, rsiBear ? "✅" : "—", text_color=color.red)
table.cell(tbl, 0, 4, "Stoch")
table.cell(tbl, 1, 4, stochBull? "✅" : "—", text_color=color.lime)
table.cell(tbl, 2, 4, stochBear? "✅" : "—", text_color=color.red)
table.cell(tbl, 0, 5, "MACD + BB")
table.cell(tbl, 1, 5, (macdBull or bbBreakUp) ? "✅" : "—", text_color=color.lime)
table.cell(tbl, 2, 5, (macdBear or bbBreakDn) ? "✅" : "—", text_color=color.red)
table.cell(tbl, 0, 6, "Score", text_color=color.white)
table.cell(tbl, 1, 6, str.tostring(bullScore), text_color=color.lime)
table.cell(tbl, 2, 6, str.tostring(bearScore), text_color=color.red)
Indicateurs et stratégies
Day Trading Signals Trend & Momentum Buy/Sell [CocoChoco]Day Trading Signals: Trend & Momentum Buy/Sell
Overview
The indicator is a comprehensive day-trading tool designed to identify high-probability entries by aligning short-term momentum with long-term trend confluence.
It filters out low-volatility "choppy" markets using ADX and ensures you are always trading in the direction of the dominant higher-timeframe trend.
Important: Use on timeframes from 15 min to 2 hours, as the indicator is for day trading only.
How It Works
The script uses a three-layer confirmation system:
Trend Alignment: Uses a Fast/Slow SMA cross (10/50) on the current chart. Signal prints only if price closes above (for bullish) or below (for bearish) the 10-period SMA.
Higher Timeframe Confluence: The script automatically looks at a higher timeframe (1H for charts <=15m, and 4H for others) and checks if the price is above/below a 200-period SMA.
Momentum & Volatility: Signals are only triggered if the Stochastic Oscillator is rising/falling and the ADX is above 20, ensuring there is enough "strength" behind the move.
Visual Signals Buy/Sell
Green Label (Up Arrow): Bullish entry signal
Red Label (Down Arrow): Bearish entry signal.
Red "X": Exit signal based on a moving average crossover (trend exhaustion).
Visual Risk/Reward (1:1) Boxes: When a signal appears, the script automatically draws a projection of your Stop Loss (Red) and Take Profit (Green) based on the current ATR (Average True Range).
How to Use
Entry: Enter when a Label appears. Ensure the candle has closed to confirm the signal.
Stop Loss/Take Profit: Use the visual boxes as a guide. The default is 1.0 ATR for risk and 1.0 RR ratio, which can be adjusted in the settings.
Exit: Exit the trade either at the target boxes or when the Red "X" appears, indicating the trend has shifted.
Please note that this is just a tool, not financial advice. Perform your own analysis before entering a trade.
ICT Fair Value Gaps [Zero-Noise Edition]ICT Fair Value Gaps
Overview
In the Smart Money Concepts (SMC) framework, clarity is the ultimate edge. Most FVG indicators clutter your screen with "ghost boxes" that remain long after they have been filled. This professional-grade tool identifies high-displacement institutional imbalances and automatically dissolves them the moment they are mitigated.
Key Features
Precision Detection : Uses the classic 3-candle displacement logic to identify institutional gaps.
Auto-Mitigation : Boxes are removed the moment price retraces and "fills" the imbalance, keeping your chart 100% clean.
High Performance : Optimized with array-based logic for zero-lag performance on all timeframes.
Built-in Alerts : Stay informed with real-time notifications when new institutional displacement occurs.
How to Trade This Tool
The Trigger : A new FVG box appears, confirming institutional "intent."
The Draw : Treat the open boxes as magnets for price (Draw on Liquidity).
The Entry : Wait for price to retrace and tap the edge of the "open" FVG.
The Exit : Use opposing mitigated zones or swing points for targets.
Customizable Settings
Visuals : Custom color palettes for Bullish and Bearish imbalances.
Labels : Toggle "FVG" text on or off for a minimalist HUD experience.
Logic : Option to hide filled gaps completely for the ultimate zero-noise experience.
Global Compatibility
Tested and optimized for:
Forex : EURUSD, GBPUSD, AUDUSD.
Indices : US30, NAS100, DAX40.
Commodities : Gold (XAUUSD), Silver, Oil.
Crypto : BTCUSD, ETHUSD.
Authors Note
This script is written in Pine Script v6 . It is designed for traders who prioritize accuracy over "noisy" indicators. If you find value in this tool, please leave a Boost and follow for more SMC tool releases!
Moving Average Divergence BandsThe Moving Average Divergence Bands are a new trend following tool designed for catching ALT coin trends quickly, while filtering away false signals.
The Benefits
- Very fast altcoin entries
- Highly consistent past returns (mainly CRYPTO:SOLUSD ), with both long & shorts profitable
- Lack of false signals due to Z-Score based filtering
- High tier of parameter robustness
The Idea
The idea is simple:
Get high speed & low noise bands that adapt to market conditions, allowing entries only during environments that have a potential reward and less risk. This unique filtering provides users with fast entries and low amount of false signals.
How it works
The indicator gets 2 Moving Averages, one normal, one with half the lookback.
It then combines them using powers and dividing and returns the higher result for the upper band, and the lower for the lower band.
Then it calculates the Z-Score of the source and if both the absolute Z-Score & Long/Short condition are true then it switches the trend.
Enjoy Gs!
Aura Vortex Oscillator [Pineify]Aura Vortex Oscillator – Adaptive Momentum with Visual Depth
The Aura Vortex Oscillator is a sophisticated momentum indicator that transforms raw price action into a visually immersive analytical tool. By combining Sigmoid-based normalization through ArcTan mathematics with adaptive momentum calculations, this oscillator delivers clear, bounded signals while filtering market noise. The distinctive "Vortex Mesh" visualization creates a layered depth effect that reveals trend consensus across multiple smoothing periods.
Key Features
Sigmoid normalization using ArcTan function for bounded output (-100 to +100)
Adaptive momentum calculation with standard deviation normalization
Multi-layered "Vortex Mesh" creating visual depth and trend confluence signals
Dynamic color-coded visualization for instant trend recognition
Zero-line crossover signals with plotted reversal markers
Extreme zone highlighting for overbought/oversold conditions
How It Works
The core calculation begins with computing the Z-score of price relative to its simple moving average, normalized by standard deviation. This adaptive component automatically adjusts sensitivity based on recent volatility. The normalized value then passes through an ArcTan function, which acts as a sigmoid transformation, "squarifying" the output to emphasize extreme conditions while keeping values bounded.
os = atan(z × intensity) × 63.66
The multiplier 63.66 scales the output to approximately -100 to +100, providing intuitive overbought/oversold levels at ±50.
Trading Ideas and Insights
Use zero-line crossovers as primary trend change signals – bullish when crossing above, bearish when crossing below
Monitor the Vortex Mesh thickness – a thick, solid aura indicates strong trend consensus across timeframes
Watch for background highlighting at ±50 levels to identify statistical extremes for potential reversals
Combine with price action analysis when the oscillator reaches boundary zones
How Multiple Indicators Work Together
The Aura Vortex Oscillator integrates three technical concepts into one cohesive system. The adaptive momentum calculation provides the raw signal, responding dynamically to market volatility. The ArcTan normalization bounds this signal and emphasizes extremes without clipping. Finally, the Vortex Mesh applies multiple EMA smoothing layers to the base signal, creating visual depth that shows whether different momentum speeds agree on trend direction.
Unique Aspects
Unlike traditional oscillators that show a single line, this indicator visualizes momentum as a "thermal field" through its layered mesh system. The mesh expands and contracts based on trend agreement – a thick, cohesive glow suggests high-confluence momentum, while a thin, scattered appearance warns of choppy, range-bound conditions.
How to Use
Add the indicator to your chart as a separate pane
Look for color transitions (green to red or vice versa) at zero-line crosses for trend reversals
Use the ±50 boundary zones and background highlighting to identify overextended conditions
Enable the Vortex Mesh to visualize trend strength and momentum consensus
Customization
Vortex Sensitivity (20) : Base period for momentum calculation – lower values increase responsiveness
Vortex Intensity (2.0) : Amplifies signal squarification – higher values push readings toward extremes faster
Aura Smoothing (8) : EMA period for the main signal line – higher values reduce noise
Enable Vortex Mesh : Toggle the layered visualization effect
Color Settings : Customize bullish, bearish, and neutral colors
Conclusion
The Aura Vortex Oscillator offers traders a unique perspective on momentum analysis by combining mathematical rigor with innovative visualization. Its adaptive normalization ensures reliable signals across different market conditions, while the Vortex Mesh provides instant visual feedback on trend quality. Whether you are identifying trend reversals, measuring momentum strength, or seeking confluence confirmation, this oscillator delivers actionable insights in an intuitive format.
Simple PDH / PDL Clean Entries (NZ Time)Simple PDH / PDL Liquidity Entry Indicator
This indicator is designed for clean, stress-free intraday trading on Gold. It identifies high-probability buy and sell opportunities based on a liquidity sweep and reclaim of the previous day’s high or low (PDH / PDL). Signals are limited to one trade per session using New Zealand time, helping prevent overtrading. Each signal prints a clear BUY or SELL icon directly on the candle, along with a concise label showing entry price, stop loss, and take profit. No indicators, no clutter — just key levels, disciplined execution, and institutional-style simplicity.
MACD Standard DeviationThe MACD Standard Deviation is a new trend following tool, designed to be smoother & more accurate
Benefits
- High BINANCE:BNBUSDT performance
- Fast entries with less noise
- Simple calculation
The Idea
The idea is simple - get a MACD that is less noisy. This would increase the accuracy and make it a more reliable tool.
How is works
It works by calculating the MACD and calculating the Standard Deviation of the MACD and add it as "bands". This adjusts the MACD to be more accurate and to be able to reduce false signals.
Enjoy Gs!
3 Time Frame Supertrend Alignment With Market FilterThis indicator combines a 3-timeframe Supertrend alignment with a market filter symbol (default SPY) to help avoid chop and only trade when both the stock and the broader market are trending the same way.
The mashup is intentional: Supertrend alignment on your chart alone can still fail if the market is moving the other direction, so this script requires agreement from both.
Default timeframes (how I use it)
I use:
TF1 = 1h
TF2 = 4h
TF3 = 1D
You can change these in settings, but the idea is “intraday trend + higher intraday trend + daily trend.”
What it does
Calculates Supertrend direction on three timeframes for:
the current chart symbol, and
SPY (or any filter symbol you choose).
Shows a bottom-left table with Bull/Bear for each timeframe on both symbols.
Gives a combined read:
Trade long only if both the chart symbol and SPY are bullish on all 3 TFs
Trade short only if both are bearish on all 3 TFs
Otherwise: No trade
How the parts work together:
The 3TF Supertrend acts as your trend filter (all timeframes must agree).
SPY acts as confirmation of the broader market regime.
Requiring both to align is meant to reduce low-quality trades when your ticker diverges from the market.
Important settings
Per-timeframe factors: separate Supertrend factors for TF1/TF2/TF3 (applied to both symbols).
Use last closed bar (locks / no repaint): uses the most recently closed bar for each timeframe to reduce intrabar flips.
Optional chart plot: can plot Supertrend on the chart for visual reference (uses the TF1 factor).
Notes
This is an indicator for trend alignment and filtering, not a strategy and not a guarantee of results. Publish with a clean chart so the table and optional plot are easy to identify.
Tahir's Dual MTF order blocks Order Blocks + Swing Levels (Dual MTF, Fixed, Extended, NoAutoClose)
This tool combines smart orderblock detection with swinghigh / swinglow validation, designed for traders who want precise, rulebased zone plotting without repainting tricks or automatic deletion of historical levels.
🔥 What this indicator does
1️⃣ Detects Order Blocks Across Multiple Timeframes
It automatically finds bullish & bearish order blocks using three layers:
Current timeframe OBs
Higher Timeframe 1 (custom selectable)
Higher Timeframe 2 (custom selectable)
Each layer is colorcoded so you instantly know where institutional zones exist.
Order blocks remain extended forward until price fills them, giving a realistic market structure map.
2️⃣ Keeps Zones Until They Are Truly Filled
Unlike many scripts that autodelete boxes, this version:
✔️ Extends zones to the right
✔️ Tracks “active” vs. “filled” OBs
✔️ Prevents unnecessary removal
This allows proper backtesting and historical reference.
3️⃣ SwingHigh & SwingLow Confirmation
The script overlays SWL/SWH labels to identify pivot turning points.
An order block becomes a validated zone when:
Bullish OB + Swing Low (SWL)
Bearish OB + Swing High (SWH)
Validated zones are highlighted with special colors:
🟩 Lime = Valid Bullish OB
🟪 Fuchsia = Valid Bearish OB
This filters out weak zones and highlights only strong price bases.
4️⃣ DualTimeframe Logic
You can enable/disable each timeframe independently:
HTF1 (e.g., 1H)
HTF2 (e.g., 4H)
Current chart timeframe
This gives flexibility for scalpers, swing traders, and position traders.
5️⃣ Optimized & Debugged
The script has:
Memory controls (limits stored boxes)
Stable boxextension logic
No repainting structure logic
Clearly separated and readable functions
Everything is optimized to avoid lag while handling many OB zones.
⚙️ Key Inputs
Show Long / Short OBs
Enable HTF1 & HTF2
Custom timeframes
Swing detection length
Memory limit for stored zones
📌 UseCases
Institutional trading models
Smartmoney concepts
Supply & demand zone trading
Confluence with entries (FVG, BOS, RSI, etc.)
This indicator is a visual decisionsupport tool — not a buy/sell signal system.
⚠️ Disclaimer
This script does not repaint, but trading always carries risk.
Use alongside price action and risk management.
FxInside// This Pine Script® code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © yyy_trade
//@version=6
indicator("FxInside", overlay = true, max_lines_count = 500)
lineColor = input.color(color.new(color.blue, 12), "FxLineColor")
type vaild_struct
float high
float low
int time
type fx
string dir
chart.point point
var array valid_arr = array.new()
var fx lastFx = na
var float motherHigh = na
var float motherLow = na
isInsideBar = high <= high and low >= low
if isInsideBar and na(motherHigh)
motherHigh := high
motherLow := low
isExtendedInsideBar = not na(motherHigh) and high <= motherHigh and low >= motherLow
body_color = input.color(color.new(color.orange, 0), "实体颜色")
wick_color = input.color(color.new(color.orange, 0), "影线颜色")
border_color = input.color(color.new(color.orange, 0), "边框颜色")
plotcandle(open, high, low, close, color=isExtendedInsideBar ? body_color : na, wickcolor=isExtendedInsideBar ? wick_color : na, bordercolor =isExtendedInsideBar ? border_color : na ,editable=false)
if not na(motherHigh) and (high > motherHigh or low < motherLow)
motherHigh := na
motherLow := na
// 以下为分型折线逻辑,如不需要可删除
process_fx(last_fx, now_fx) =>
if not na(last_fx)
line.new(last_fx.point, now_fx.point, color=lineColor, xloc=xloc.bar_time)
now_fx
if not isExtendedInsideBar
array.push(valid_arr, vaild_struct.new(high, low, time))
if array.size(valid_arr) > 17
array.shift(valid_arr)
len = array.size(valid_arr)
if len > 3
k_ago = array.get(valid_arr, len - 2)
k_now = array.get(valid_arr, len - 1)
if k_ago.high > k_now.high
for i = 3 to len
last_k = array.get(valid_arr, len - i)
if last_k.high < k_ago.high
if last_k.low < k_ago.low
lastFx := process_fx(lastFx, fx.new("TOP", chart.point.from_time(k_ago.time, k_ago.high)))
break
else
if not na(lastFx)
if lastFx.dir == "TOP"
lastFx := process_fx(lastFx, fx.new("BOT", chart.point.from_time(last_k.time, last_k.low)))
lastFx := process_fx(lastFx, fx.new("TOP", chart.point.from_time(k_ago.time, k_ago.high)))
break
else if last_k.high > k_ago.high
break
// 底分型判定
if k_ago.low < k_now.low
for i = 3 to len
last_k = array.get(valid_arr, len - i)
if last_k.low > k_ago.low
if last_k.high > k_ago.high
lastFx := process_fx(lastFx, fx.new("BOT", chart.point.from_time(k_ago.time, k_ago.low)))
break
else
if not na(lastFx)
if lastFx.dir == "BOT"
lastFx := process_fx(lastFx, fx.new("TOP", chart.point.from_time(last_k.time, last_k.high)))
lastFx := process_fx(lastFx, fx.new("BOT", chart.point.from_time(k_ago.time, k_ago.low)))
break
else if last_k.low < k_ago.low
break
len = input.int(20, minval=1, title="Length")
src = input(close, title="Source")
offset = input.int(title="Offset", defval=0, minval=-500, maxval=500, display = display.data_window)
out = ta.ema(src, len)
plot(out, title="EMA", color=color.blue, offset=offset)
// Smoothing MA inputs
GRP = "Smoothing"
TT_BB = "Only applies when 'SMA + Bollinger Bands' is selected. Determines the distance between the SMA and the bands."
maTypeInput = input.string("None", "Type", options = , group = GRP, display = display.data_window)
maLengthInput = input.int(14, "Length", group = GRP, display = display.data_window)
bbMultInput = input.float(2.0, "BB StdDev", minval = 0.001, maxval = 50, step = 0.5, tooltip = TT_BB, group = GRP, display = display.data_window)
var enableMA = maTypeInput != "None"
var isBB = maTypeInput == "SMA + Bollinger Bands"
// Smoothing MA Calculation
ma(source, length, MAtype) =>
switch MAtype
"SMA" => ta.sma(source, length)
"SMA + Bollinger Bands" => ta.sma(source, length)
"EMA" => ta.ema(source, length)
"SMMA (RMA)" => ta.rma(source, length)
"WMA" => ta.wma(source, length)
"VWMA" => ta.vwma(source, length)
// Smoothing MA plots
smoothingMA = enableMA ? ma(out, maLengthInput, maTypeInput) : na
smoothingStDev = isBB ? ta.stdev(out, maLengthInput) * bbMultInput : na
plot(smoothingMA, "EMA-based MA", color=color.yellow, display = enableMA ? display.all : display.none, editable = enableMA)
bbUpperBand = plot(smoothingMA + smoothingStDev, title = "Upper Bollinger Band", color=color.green, display = isBB ? display.all : display.none, editable = isBB)
bbLowerBand = plot(smoothingMA - smoothingStDev, title = "Lower Bollinger Band", color=color.green, display = isBB ? display.all : display.none, editable = isBB)
fill(bbUpperBand, bbLowerBand, color= isBB ? color.new(color.green, 90) : na, title="Bollinger Bands Background Fill", display = isBB ? display.all : display.none, editable = isBB)
ML-Inspired Adaptive Momentum Strategy (TradingView v6)This strategy demonstrates an adaptive momentum approach using volatility-normalized trend strength. It is designed for educational and analytical purposes and uses deterministic, fully transparent logic compatible with Pine Script v6.
ML-Inspired Concept (Educational Context)
Pine Script cannot train or execute real machine-learning models.
Instead, this strategy demonstrates ML-style thinking by:
Converting price data into features
Normalizing features to account for volatility differences
Producing a bounded confidence score
Applying thresholds for decision making
This is not predictive AI and does not claim forecasting capability.
Strategy Logic
EMA is used to measure directional bias
EMA slope represents momentum change
ATR normalizes the slope (feature scaling)
A clamped score between −1 and +1 is generated
Trades trigger only when the score exceeds defined thresholds
Risk & Execution
Position size capped at 5% equity
Commission and slippage included for realistic testing
Signals are calculated on closed bars only
Purpose
This script is intended to help traders explore adaptive momentum concepts and understand how feature normalization can be applied in systematic trading strategies.
Advanced Volume & Liquidity SuiteThe Institutional Code is an advanced trading system designed to reveal the footprint of "Smart Money" in the Futures and Indices markets. Unlike traditional indicators that track price, this algorithm tracks Real Volume and Liquidity, comparing retail data with institutional (CME) data to identify zones of manipulation and absorption.
This script transforms your chart into an institutional command board, ideal for trading NQ (Nasdaq), ES (S&P 500), and YM (Dow Jones) with surgical precision.
Mean Reversion Covered Call Zones (Holdmybirra)Sell call when the market is frothy to try make a premium on a bunch of degenerates pure 10ampro alpha
Adaptive Kinetic Trend [AKT] Pure MathTitolo: Adaptive Kinetic Trend - Pure Math
Descrizione:
Overview The Adaptive Kinetic Trend is a custom-built trend following system designed to filter noise and adapt to changing market volatility. Unlike standard indicators that rely on a static calculation, the AKT introduces a "Kinetic" component that adjusts the trend baseline according to price velocity (Momentum) and market intensity (ADX).
The "Pure Math" Implementation To ensure maximum stability and prevent potential discrepancies associated with data gaps or library updates, this script features a 100% manual mathematical library. It does not use TradingView's native ta.* functions for its core logic. Every calculation—including Wilder's Smoothing (RMA), Weighted Moving Averages (WMA), and True Range (TR)—is computed explicitly within the code from raw price data. This provides a transparent look at how the signals are derived.
Key Features
1. Kinetic Center Line The backbone of the indicator is an adaptive moving average that shifts its sensitivity based on a manually calculated RSI (Velocity).
High Velocity: The line reacts faster to capture breakout momentum.
Low Velocity: The line smooths out to prevent whipsaws during corrections.
2. Dynamic Volatility Expansion Using a custom ADX calculation (Intensity), the bands automatically expand during high-volatility events. This helps keep positions open during strong trends where standard ATR stops might be triggered prematurely.
3. Visual Filters (Color Logic) The script uses a strict color-coding system to guide analysis:
🟢 Green / 🔴 Red (Trend): The market is in a validated trend phase with sufficient intensity.
⚪ Gray (Choppy Filter): When Intensity falls below the threshold (default 20), the bars turn gray and signals are suppressed. This filters out low-probability ranging markets.
🟡 Yellow (Proximity Zone): When price trades within 0.5 ATR of the trend line, bars turn yellow. This indicates price is testing the trend structure.
4. Smart Pullback Signals (PB) Small triangles labeled "PB" appear when the price retraces to test the trend line.
Visual Intensity: The signals feature adaptive transparency. They appear bright during strong trends (High Probability) and faded/transparent during choppy conditions (Lower Probability), helping users filter signal quality visually.
5. Live Dashboard A data panel provides real-time metrics:
Trend Status: BULL, BEAR, or RANGE.
Intensity: Raw ADX value to gauge trend strength.
Dist ATR: The precise distance from the close price to the stop-loss line, measured in ATR multiples.
How to Use
Trend Analysis: Identify the main direction via Green/Red candles.
Filtering: Use the Gray bars to identify periods of low volatility/consolidation where trend strategies typically fail.
Re-entries: Use PB triangles to identify potential continuation points within an existing trend.
Risk Monitoring: Use Yellow bars (Proximity) to monitor price action near the invalidation level.
Disclaimer This script is intended for technical analysis and educational purposes only. It provides a visual representation of market trends based on historical data and does not guarantee future performance.
FVG & OB [odnac]This indicator is a sophisticated tool designed for Smart Money Concepts (SMC) traders. It automates the detection of two critical institutional footprints: Order Blocks (OB) and Fair Value Gaps (FVG), with a focus on candle momentum and mitigation tracking.
Key Features
1. Advanced Momentum Filtering (3 Versions)
Unlike basic indicators, this script uses three different mathematical approaches to ensure the middle candle represents a "strong" move:
V1 (Body Focus): Compares the bodies of the surrounding candles to the middle candle.
V2 (Hybrid): Uses a mix of candle ranges and bodies to identify expansion.
V3 (Range Focus): The most aggressive filter; it ensures the total range of the middle candle dwarfs the surrounding candles.
2. Automatic Mitigation Tracking
The indicator doesn't just draw static boxes. It tracks price action in real-time:
Dynamic Extension: Boxes extend to the right automatically as long as price has not returned to "test" or "fill" the zone.
Smart Clean-up: Once the price touches the zone (Mitigation), the box stops extending or is removed. This keeps your chart clean and focused only on "fresh" (unmitigated) levels.
3. Smart Money Concept Integration
Order Blocks (White Boxes): Identifies where institutional buying or selling occurred before a strong move.
Fair Value Gaps (Yellow Boxes): Highlights price imbalances where the market moved too fast, leaving a gap that often acts as a magnet for future price action.
Technical Logic Breakdown
Detection Logic
The script looks at a 3-candle sequence:
Candle (The Origin): Defines the boundary of the OB or FVG.
Candle (The Expansion): Must be a "Strong Candle" based on your selected setting (V1, V2, or V3).
Candle (The Confirmation): Ensures that the "Tail Gap" condition is met (the wick of Candle 2 and Candle 0 do not touch).
Box Management
The script uses Pine Script Arrays to manage up to 500 boxes. It constantly loops through active boxes to check:
Time Limit: If a box exceeds the max_bars_extend limit, it is removed to save memory.
Price Touch: If low or high enters the box coordinates, the zone is considered "mitigated" and the extension stops.
TA Confluence Scanner v2.9 | Mint_Algo📘 TA Confluence Scanner
Introduction
The TA Confluence Scanner is a multi-factor trend system designed to filter market noise and identify high-probability trade setups. By combining adaptive algorithms (KAMA) with Price Action methodologies (SMC, Breakouts, Fractals), this indicator operates on the principle of Confluence : a signal is only valid when multiple independent tools agree on the direction.
Instead of relying on a single lagging indicator (like just MA fast and slow crossover), this script acts as a "Scanner," evaluating the market state through Volatility, Trend Structure, and Equilibrium.
───────────────────────────────────────────────────
Important Note
To make this "Plug & Play," I have included optimized presets in the settings for different timeframes (1m/15m-1h/4h-1D) and trading styles (Scalper, Intraday, Swing, Investor) tested on symbols:
FX:EURUSD
IG:NASDAQ
BITSTAMP:BTCUSD
BINANCE:ETHUSD
CAPITALCOM:US500
OANDA:XAUUSD
NASDAQ:AAPL
NASDAQ:TSLA
BUT default settings already include a good preset which excludes most of the noise and grabs the trend better (fewer entries, but quality is higher).
Check the presets at the bottom 👇
───────────────────────────────────────────────────
Core Features
Adaptive Trend Filter (KAMA): Adjusts to market volatility to distinguish between chop and true trends.
SMC Equilibrium (EQ) Fans: A three-tiered dynamic structure (Fast, Medium, Slow) for trailing stops and targets.
Confluence Counter: Visually displays the strength of a signal (e.g., "Strong 4/6") based on how many factors align.
Re-Entry Logic: Identifies low-risk entry points within an existing trend.
Automated S/R & Breakouts: Detects key pivot levels and structural breaks.
───────────────────────────────────────────────────
Settings & Components Breakdown
1. KAMA (Primary Trend Filter)
The backbone of the system. It calculates the Efficiency Ratio (ER) of price movement.
How it works: If the ER is high (strong trend), KAMA follows price closely. If ER is low (ranging), KAMA flattens out to prevent false signals.
Tuning:
Fast (ER ~100/5/60): For Scalping.
Smooth: Default settings are optimized for a balance between lag and noise reduction.
2. SMC Equilibrium (EQ Structure)
Based on the HL2 formula (High+Low / 2), this creates a "fan" of three lines:
EQ1 (Fast): The aggressive line. Used for early exits or scalping stops.
EQ2 (Medium): The baseline trend structure.
EQ3 (Slow): The major trend container. Used for position trading.
Usage: Use these lines to gauge how far price has deviated from its "fair value."
3. Breakout & Internal Trend
Lookback Period: Defines the range for a valid breakout. A lower lookback (e.g., 10) gives earlier signals but more noise; a higher lookback (e.g., 20-30) confirms significant structural breaks.
Internal Trend: A simplified SMA check to ensure immediate momentum aligns with the macro trend.
4. Signal Strength (The Confluence Meter)
The indicator counts active signals from: KAMA, Internal Trend, S/R, FVG, Breakout, and EQ.
Strong Signal: When the count hits your threshold (e.g., 4/6 ). This suggests a high-probability reversal or breakout.
Medium Signal (Triangles): These appear when the trend is active but not all filters align. These are excellent continuation/re-entry points.
───────────────────────────────────────────────────
How to Trade (Strategy Guide)
🎯 The Entry
Wait for a Strong Signal (Large Label). This confirms that volatility, structure, and momentum have aligned.
Conservative: Wait for the candle to close.
Aggressive: Enter on the breakout of the KAMA line.
🔄 Re-Entry & Continuation
Markets rarely move in a straight line.
Scenario: You missed the initial "Strong" entry, or you took profit and want to re-enter.
The Signal: Look for the small Triangles (Medium signals). These often appear after a pullback when price resumes the main trend.
Logic: If the main KAMA trend is still green/red, but the "Strong" signal isn't firing, a Triangle indicates a safe place to add to a position.
⚠️ Pyramiding & Risk Management (Advanced)
The EQ Lines (Fast/Medium/Slow) are designed for a tiered position management strategy:
Entry: Open position (e.g., 0.03 lots).
First Take Profit: When price extends far beyond EQ1 (Fast) , lock in partial profits.
Trailing Stop: Move your Stop Loss to trace the EQ2 (Medium) line.
Trend Riding: Hold the "Runner" portion of your position until price closes back under EQ3 (Slow) or the KAMA line.
Tip: Use William Fractals (Period 2) to pinpoint exact swing highs/lows for tightening stops.
───────────────────────────────────────────────────
Presets & Optimized Settings
To make this "Plug & Play," I have included optimized presets in the settings for different trading styles.
(If you don't see some parameters, that means they are turned off in trading mode)
⚡ SCALPER (1m - 5m)
KAMA:
ER: 100
Fast Length: 15
Slow Length: 30
FVG:
Size %: 0.01
Trend Detection:
Length: 20
Breakout:
Lookback Period: 10
S/R Detection:
Pivot Length: 10
Tolerance: 0.3
SMC EQ:
Default: 10
EQ1: 10
EQ2 (Main): 30
EQ3: 120
Signal Strength:
Strong: 4
Medium: 3
📊 INTRADAY (15m - 1H)
KAMA:
ER: 100
Fast Length: 5
Slow Length: 30
Trend Detection:
Length: 100
Breakout:
Lookback Period: 30
S/R Detection:
Pivot Length: 20
Tolerance: 0.5
SMC EQ:
Default: 10
EQ1: 10
EQ2 (Main): 40
EQ3: 80
Signal Strength:
Strong: 4
Medium: 3
📈 SWING (4H - 1D)
KAMA:
ER: 30
Fast Length: 4
Slow Length: 30
Trend Detection:
Length: 50
Breakout:
Lookback Period: 20
S/R Detection:
Pivot Length: 30
Tolerance: 0.7
SMC EQ:
Default: 10
EQ1: 10
EQ2: 50
EQ3 (Main): 60
Signal Strength:
Strong: 4
Medium: 3
💼 INVESTOR (4H - 1D+)
KAMA:
ER: 30
Fast Length: 5
Slow Length: 10
Trend Detection:
Length: 100
Breakout:
Lookback Period: 50
S/R Detection:
Pivot Length: 30
Tolerance: 0.7
SMC EQ:
Default: 10
EQ1: 10
EQ2: 50
EQ3 (Main): 100
Signal Strength:
Strong: 4
Medium: 3
───────────────────────────────────────────────────
Notes
FVG (Fair Value Gaps): Optional. Enable if you trade volatile assets like Crypto/Gold where imbalances are common.
Support/Resistance: The built-in Pivot system is optional. Disable it if you prefer drawing your own levels to keep the chart clean.
Recommended Pairing:
For best results, pair this with a momentum oscillator like RSI to detect the range regime of a trend. Or DI+ and DI- (when it crosses over each other, that means the "range of possible" regime change of a trend).
───────────────────────────────────────────────────
Disclaimer:
This tool is for informational purposes only. "Confluence" increases probability but does not guarantee results. Always manage your risk.
Ultimate Gold & FX K-NN Master V95A sophisticated market analysis tool powered by K-NN.
Users have full control over MACD, STC, and SMC configurations. With integrated Elliott Wave analysis, this tool offers high-level functionality for professional trading.
Trend Harmony🚀 Trend Harmony: Multi-Timeframe Momentum & Trend Dashboard
Trend Harmony is a sophisticated multi-timeframe (MTF) analysis tool designed to help traders identify high-probability setups by spotting "Market Harmony." Instead of flipping through charts, this indicator synthesizes RSI momentum and EMA trend structures from four different time horizons into a single, intuitive dashboard.
🔍 How It Works
The core philosophy of this indicator is that the most powerful moves happen when short-term momentum aligns with long-term trend structure. The script tracks four user-defined timeframes simultaneously.
1. The Trend Scoring Engine
The indicator evaluates the relationship between a Fast EMA (default 20) and a Slow EMA (default 50) across all active timeframes.
Bullish Alignment: Fast EMA > Slow EMA.
Bearish Alignment: Fast EMA < Slow EMA.
2. The Harmony Summary
At the bottom of the dashboard, the "Summary" status calculates the total "Harmony" of the market:
🚀 FULL BULL HARMONY: All selected timeframes are in a bullish trend.
📉 FULL BEAR HARMONY: All selected timeframes are in a bearish trend.
⚠️ CAUTION (Overbought/Oversold): Triggered when the market is in "Full Harmony" but RSI levels suggest the price is overextended (>70 or <30). This warns you not to "chase" the trade.
Neutral/Mixed: Timeframes are in conflict (e.g., 15m is bullish but Daily is bearish).
🛠 Key Features
Unified RSI Pane: View four RSI lines on one chart to spot divergences or "clusters" where all timeframes bottom out at once.
Dynamic Table: Real-time tracking of:
Price vs EMA: Instant visual (▲/▼) showing if price is above/below your key averages.
Smart RSI Coloring: RSI values turn Green during "Power Zones" (0–30 or 50–70) and Red otherwise.
Full Customization: Change timeframes (1m, 5m, 1H, D, etc.), EMA lengths, and RSI parameters to fit your strategy.
📈 Trading Strategy Tips
Wait for the Sync: The "Full Harmony" status is your signal that the "tide" is moving in one direction. Look for long entries when the status is Green and short entries when it is Red.
The Pullback Entry: When the summary says "Caution (Overbought)," wait for the RSI lines to cool down toward the 50 level before entering the trend again.
RSI Clustering: When all four RSI lines converge at extreme levels (30 or 70), a massive volatility expansion is usually imminent.
Nth Candle movement🔷 Indicator Name
Nth candle movement – Nth Candle Projection & Dynamic EMA System
________________________________________
🔷 Short Description
Nth candle movement is an advanced price-based indicator that uses Nth candle mathematics, percentage projections, and a dynamic EMA system to visualize intraday structure and evolving market momentum.
________________________________________
🔷 Overview
Nth candle movement combines time-based Nth candle logic, percentage offset zones, and a stage-based dynamic EMA to help traders understand how price behaves around mathematically derived reference points.
Instead of using fixed indicators, this script dynamically adapts to:
• Day structure
• Time progression
• Price reaction around calculated levels
The indicator automatically resets every new trading day, ensuring fresh, non-repainting levels.
________________________________________
🔷 Core Concepts Used
• Nth candle calculation based on day of month
• Percentage-based expansion and contraction zones
• 0.2611% precision micro-levels
• Dynamic EMA length that evolves with time
• Angle-inspired mathematical projections
________________________________________
🔷 Key Features
🔹 Nth Candle Projection Systems (4 Systems)
• Four independent Nth systems based on angle mathematics
• Automatically captures the Nth candle close
• Projects:
o Upper & lower percentage zones
o Precision 0.2611% levels
• Daily auto-reset (no clutter)
Each system can be individually enabled or disabled.
________________________________________
🔹 Visual Zone Highlighting
• Upper and lower projection bands
• Color-filled zones for better clarity
• Clean object management (lines, labels, fills)
________________________________________
🔹 Nth Marker Labels
• Optional Nth candle markers
• Helps visually identify the exact calculation point
________________________________________
🔹 Dynamic EMA System (Angle-Based)
• EMA length dynamically changes as market progresses
• Uses multiple Nth stages to shift EMA behaviour
• Color-coded EMA reflects the active mathematical phase
This allows traders to see momentum transitions instead of guessing them.
________________________________________
🔷 How to Use
1. Apply the indicator on any intraday or higher timeframe
2. Observe Nth candle markers and projected zones
3. Watch how price reacts inside or outside the zones
4. Use the Dynamic EMA color and slope as momentum guidance
5. Combine with price action or confirmation logic for entries
⚠️ This is a decision-support tool, not a buy/sell signal generator.
This indicator is for educational and informational purposes only.
It does not constitute financial advice.
Trading involves risk, and past performance does not guarantee future results.
Always do your own analysis before entering any trade.
________________________________________
🔷 Best Use Cases
• Intraday structure analysis
• Volatility expansion tracking
• Time-based price reaction studies
• Momentum phase identification
________________________________________
🔷 Timeframe Compatibility
✅ Works on all timeframes
Best suited for:
• 3m, 5m, 15m (Intraday)
• 1H, 4H (Swing structure)
________________________________________
🔷 Asset Compatibility
✔ Stocks
✔ Indices
✔ Forex
✔ Crypto
✔ Futures
Live Position Sizer (LPS)Description (EN)
(Magyar leíráshoz görgess lejjebb!)
Live Position Sizer (LPS) is a discretionary trading utility designed to visualize risk, reward, and position size directly on the chart in real time.
The indicator draws a TradingView-style long or short position box and calculates the required position size based on your defined capital, maximum risk, stop-loss distance, and a user-defined lot conversion factor.
LPS is intended strictly as a decision-support and risk management tool. It does not place trades or generate automated signals.
Core features:
Automatic Long / Short position visualization
Dynamic Entry, Stop Loss, and Take Profit levels
Real-time position size calculation
Configurable Risk/Reward ratio
Fully customizable colors, transparency, and line styles
Clean, minimal on-chart labels showing direction, RR, and lot size
Only one active position box at a time for a clutter-free chart
Position sizing logic:
TradingView internally calculates position size in units, not broker-specific lots.
To bridge this difference, LPS uses a user-defined “Units per 1 Lot” multiplier.
Examples:
Forex (standard lot): 100000
Gold (XAUUSD): 1 or 100 (broker dependent)
Indices (e.g. NAS100): 1
The indicator first calculates the position size in TradingView units and then converts it to lots using this multiplier.
The displayed lot size is rounded to 0.01 lots.
Stop Loss logic:
The Stop Loss level is derived from the High or Low of a selectable previous candle.
Increasing the bar-back value places the Stop Loss further away, which:
increases stop distance
reduces position size for the same risk
Intended use:
Manual / discretionary trading
Risk management and position sizing
Trade planning and visualization
Educational purposes
Important notes:
This indicator does not execute trades
No alerts or automation by default
Lot size and contract specifications vary by broker
Always verify the exact lot or contract size with your broker before trading
------------------------------------
Description (HU)
A Live Position Sizer (LPS) egy diszkrecionális kereskedést támogató segédindikátor, amely valós időben jeleníti meg a kockázatot, a célárat és a pozícióméretet közvetlenül a charton.
Az indikátor TradingView-stílusú long vagy short pozíció boxot rajzol, és kiszámolja a szükséges pozícióméretet a megadott tőke, maximális kockázat, stop-loss távolság és egy felhasználó által definiált LOT szorzó alapján.
Az LPS nem stratégia, kizárólag döntéstámogató és kockázatkezelési eszköz.
Fő funkciók:
Automatikus Long / Short pozíció megjelenítés
Entry, Stop Loss és Take Profit szintek vizuális ábrázolása
Valós idejű pozícióméret számítás
Állítható Risk/Reward arány
Teljesen testreszabható színek, átlátszóság és vonalstílus
Letisztult chart label (irány, RR, lot méret)
Egyszerre csak egy aktív pozíció box
Pozícióméretezési logika:
A TradingView belsőleg egységekben (units) számol, nem bróker-specifikus LOT-okban.
Ennek kezelésére az LPS egy „Units per 1 Lot” beállítást használ.
Példák:
Forex standard lot: 100000
Arany (XAUUSD): 1 vagy 100 (brókertől függ)
Indexek (pl. NAS100): 1
Az indikátor először TradingView egységekben számol, majd ezt átváltja LOT-ra a megadott szorzó segítségével.
A kijelzett LOT méret 0.01-re van kerekítve.
Stop Loss logika:
A Stop Loss szint a kiválasztott korábbi gyertya high vagy low értékéből kerül meghatározásra.
Nagyobb bar-back érték:
távolabb helyezi a stopot
azonos kockázat mellett kisebb pozícióméretet eredményez
Ajánlott felhasználás:
Manuális, diszkrecionális kereskedés
Kockázatkezelés és pozícióméretezés
Trade tervezés
Oktatási célok
Fontos megjegyzések:
Az indikátor nem köt automatikusan
Alapértelmezetten nincs alert vagy automatizmus
A LOT és contract méret brókerenként eltérhet
Kereskedés előtt mindig ellenőrizd a pontos LOT / contract specifikációt a brókerednél
ORB + Sector Screener This script provides bullish/bearish indication based on 90 min ORB and PDH/PDL. Most of the time the price is in the range of 90 min as per Frank Ochoa. And if it breaks this range it gives a strong move. Break of PDH or PDL gives further confirmation.
Two lines belong to PDH/PDL and other two lines belong to 90 min ORB. The 10 sectors of NSE can be replaced by any stock/index.
It does not give any buy/sell signal. Not to be used for any investment/trading. Only for education purpose.
Credit: Mayank Sir and Chatgpt along with legendary Frank Ochoa.
thanks.






















