Strat Combo Detector (ATH)You can alter the timeframes and strat combos as described in the settings of the indicator. A tag will pop up with the strat combo on all time frames but presence of the strat combo will be specific to the timeframe chosen in the settings.
Candlestick analysis
BUY/SELL ✅ Fibonacci FULL TP 1-2-3-4 SL ATRUSE SL ATR
الفكرة العامة
تحديد الاتجاه (Bias):
يعتمد على المتوسط المتحرك 20 (SMA).
يقارن موقع الإغلاق داخل نطاق الشمعة.
يستخدم مؤشر انحراف (Linear Regression) كعامل إضافي.
إذا تحققت الشروط = إشارة شراء قوية (Bullish) أو بيع قوية (Bearish).
مستويات الدخول (ENTRY):
يتم حسابها من مناطق الـ OB (أعلى/أدنى سعر خلال عدد معين من الشموع).
يتم ضبطها باستخدام نسبة فيبوناتشي (افتراضياً 0.382).
وقف الخسارة (SL):
إما باستخدام OB (ذيل الشمعة السابقة). غير مستخسن
أو باستخدام مسافة ثابتة/ATR (حسب الإعدادات). مستخسن
أهداف الأرباح (TP1–TP4):
محسوبة كنِسب مضاعفة من قيمة المخاطرة (Risk).
مستويات TP مضبوطة بقيم فيبوناتشي (افتراضياً 1.15 – 1.85 – 2.618 – 3.618).
الرسم على الشارت:
يرسم خطوط أفقية لكل من: ENTRY – SL – TP1–TP4.
يضيف Labels ملونة (BUY باللون الأخضر، SELL بالبرتقالي).
الجدول (Table):
يظهر في الزاوية العلوية اليمنى.
يحتوي على تفاصيل الصفقة (النوع، ENTRY، SL، TP1–TP4).
التنبيهات (Alerts):
يصدر تنبيه عند ظهور إشارة شراء قوية أو بيع قوية.
General Idea
Bias Detection:
Based on the 20-period Simple Moving Average (SMA).
Compares the closing price position within the candle range.
Uses Linear Regression as an additional factor.
If conditions are met = strong Buy (Bullish) or strong Sell (Bearish) signal.
Entry Levels (ENTRY):
Calculated from OB zones (highest/lowest price within a certain number of candles).
Adjusted using Fibonacci ratio (default 0.382).
Stop Loss (SL):
Either using OB (previous candle’s wick) – not recommended.
Or using fixed distance/ATR (based on settings) – recommended.
Take Profit Targets (TP1–TP4):
Calculated as multiples of the risk value.
TP levels aligned with Fibonacci ratios (default 1.15 – 1.85 – 2.618 – 3.618).
Chart Drawing:
Draws horizontal lines for ENTRY – SL – TP1–TP4.
Adds colored labels (BUY in green, SELL in orange).
Table:
Displayed in the top-right corner.
Contains trade details (type, ENTRY, SL, TP1–TP4).
Alerts:
Sends an alert when a strong Buy or strong Sell signal appears.
Summary
This indicator:
Detects market bias (BUY/SELL).
Automatically calculates entry, stop loss, and targets.
Displays them on the chart with clear lines and colors.
Organizes the values inside a structured table.
Sends an alert with every new entry signal.
Simple Turnover (Enhanced v2)📊 Simple Turnover (Enhanced)
🔹 Overview
The Simple Turnover Indicator calculates a stock’s turnover by combining both price and volume, and then compares it against quarterly highs. This helps traders quickly gauge whether market participation in a move is strong enough to confirm a breakout, or weak and likely to be false.
Unlike volume alone, turnover considers both traded volume and price level, giving a truer reflection of capital flow in/out of a stock.
________________________________________
🔹 Formulae Used
1. Average Price (SMA)
AvgPrice=SMA(Close,n)
2. Average Volume (SMA)
AvgVol=SMA(Volume,n)
3. Turnover (Raw)
Turnover raw=AvgPrice × AvgVol
4. Unit Adjustment
• If Millions → Turnover = Turnover raw × 10^−6
• If Crores → Turnover = Turnover raw × 10^−7
• If Raw → Turnover = Turnover raw
5. Quarterly High Turnover (qHigh)
Within each calendar quarter (Jan–Mar, Apr–Jun, Jul–Sep, Oct–Dec), we track the maximum turnover seen:
qHigh=max (Turnover within current quarter)
________________________________________
🔹 Visualization
• Bars → Color follows price candle:
o Green if Close ≥ Open
o Red if Close < Open
• Blue Line → Rolling Quarterly High Turnover (qHigh)
________________________________________
🔹 Strategy Use Case
The Simple Turnover Indicator is most effective for confirming true vs false breakouts.
• A true breakout should be supported by increasing turnover, showing real capital backing the move.
• A false breakout often occurs with weak or declining turnover, suggesting lack of conviction.
📌 Example Strategy (3H timeframe):
1. Identify a demand zone using your preferred supply-demand indicator.
2. From this demand zone, monitor turnover bars.
3. A potential long entry is validated when:
o The current turnover bar is at least 20% higher than the previous one or two bars.
o Example setting: SMA length = 5 (i.e., turnover = 5-bar average close × 5-bar average volume).
4. This confirms strong participation in the move, increasing probability of a sustained breakout.
________________________________________
🔹 Disclaimer
⚠️ This indicator/strategy does not guarantee 100% accurate results.
It is intended to improve the probability of identifying true breakouts.
The actual success of the strategy will depend on price action, market momentum, and prevailing market conditions.
Always use this as a supporting tool along with broader trading analysis and risk management.
FVG (Nephew sam remake no bug)No bug nephew sam remake fvg indicator, just removed the bug that it had so it should work now. NO BUG
Fractals (VLAD_FX)//@version=5
indicator('Fractals (VLAD_FX)', overlay=true)
var GRP1 = "••••••• FRACTALS •••••••"
showFractals = input.bool(true, title='Show fractal points?', group=GRP1)
filterFractal = input.string(title='Filter 3/5 bar fractal', defval='3', options= , group=GRP1)
// Fractals
isRegularFractal(mode, n) =>
ret = mode == 'Buy' ? high < high and high < high : mode == 'Sell' ? low > low and low > low : false
ret
isBWFractal(mode, n) =>
ret = mode == 'Buy' ? high < high and high < high and high < high and high < high : mode == 'Sell' ? low > low and low > low and low > low and low > low : false
ret
isFractalHigh(i) =>
filterFractal == '3' ? isRegularFractal('Buy', i) : isBWFractal('Buy', i + 1)
isFractalLow(i) =>
filterFractal == '3' ? isRegularFractal('Sell', i) : isBWFractal('Sell', i + 1)
plotshape(showFractals and isFractalHigh(1), title='Fractal High', style=shape.triangledown, location=location.abovebar, color=color.new(color.red, 0), offset=filterFractal == '3' ? -1 : -2, size=size.auto)
plotshape(showFractals and isFractalLow(1), title='Fractal Low', style=shape.triangleup, location=location.belowbar, color=color.new(color.lime, 0), offset=filterFractal == '3' ? -1 : -2, size=size.auto)
//Pivots
var GRP2 = "••••••• PIVOTS •••••••"
ShowPivots = input(title='Show Pivot points?', defval=false, group=GRP2)
lb = input.int(5, title="Left Bars", minval = 1, inline="1", group=GRP2)
rb = input.int(4, title="Right Bars", minval = 1, inline="1", group=GRP2)
showHHLL = input.bool(true, title='Show HH/LL?', group=GRP2)
hhCol = input.color(color.lime, 'HH', inline="2", group=GRP2)
lhCol = input.color(color.red, 'LH', inline="2", group=GRP2)
llCol = input.color(color.red, 'LL', inline="2", group=GRP2)
hlCol = input.color(color.lime, 'HL', inline="2", group=GRP2)
var pivotHighs = array.new_float(3)
var pivotLows = array.new_float(3)
ph = ta.pivothigh(lb, rb)
ph1 = ta.valuewhen(ph, high , 1)
phSince = ta.barssince(ph)
pl = ta.pivotlow(lb, rb)
pl1 = ta.valuewhen(pl, low , 1)
hh = ph > ph1
lh = ph < ph1
ll = pl < pl1
hl = pl > pl1
_transparent = color.new(color.white, 100)
plotshape(ph and ShowPivots and hh, title='HH', style=shape.triangledown, location=location.abovebar, text="HH", textcolor=showHHLL ? hhCol : _transparent, color=hhCol, offset=-rb, size=size.auto)
plotshape(ph and ShowPivots and lh, title='LH', style=shape.triangledown, location=location.abovebar, text="LH", textcolor=showHHLL ? lhCol : _transparent, color=lhCol, offset=-rb, size=size.auto)
plotshape(pl and ShowPivots and ll, title='LL', style=shape.triangleup, location=location.belowbar, text="LL", textcolor=showHHLL ? llCol : _transparent, color=llCol, offset=-rb, size=size.auto)
plotshape(pl and ShowPivots and hl, title='HL', style=shape.triangleup, location=location.belowbar, text="HL", textcolor=showHHLL ? hlCol : _transparent, color=hlCol, offset=-rb, size=size.auto)
var lastPH = "na"
var lastPL = "na"
if ph
if hh
lastPH := 'HH'
else if lh
lastPH := 'LH'
// label.new(bar_index, high, str.tostring(lastPH), style=label.style_none, textcolor=color.white)
15m-REMA Breakout [XAU + XAG] – MusDescription
This indicator is designed to capture high-conviction breakout opportunities on gold (XAUUSD) and silver (XAGUSD) using a zero-lag Recursive EMA (REMA) as the trend backbone, combined with volatility and body-strength filters.
It is tuned for the 15-minute timeframe, where metals often show sharp moves after consolidation.
How it works
Zero-Lag REMA → Smooth but responsive trend detection.
ATR-based Breakout Filter → Confirms that price clears recent highs/lows with volatility support.
Body Size & Buffer Rules → Blocks weak candles and fake breaks near range levels.
Trend Filter (optional) → Only allows signals in the dominant REMA slope direction.
De-duplication Logic → Avoids repeated signals on consecutive bars.
Signals
Green ▲ (Bull Breakout): Candle breaks above recent range with strength.
Red ▼ (Bear Breakout): Candle breaks below recent range with strength.
Optional Pivots: Micro pivot highs/lows for additional context.
REMA Line: Plotted in teal (uptrend) or orange (downtrend).
Inputs / Customisation
REMA period & sensitivity.
ATR lookback and multiplier.
Minimum candle body (%).
Buffer multiplier to reduce noise.
Trend filter on/off.
Toggle arrows & pivot markers.
Best Practice
Apply on XAUUSD / XAGUSD, 15-minute charts.
Use as a confirmation tool, not a standalone entry system.
Combine with higher-timeframe bias or your own risk management.
Alerts
Built-in alert conditions let you set automated notifications for bullish or bearish breakouts at bar close.
Disclaimer
This script is for educational purposes only. It does not constitute financial advice. Always test on demo before applying to live trading.
Volatility Grid → Right LinesMakes it easier to visualize the volatility of any asset by drawing lines in the chart at variable distances
Crypto Volume & Volatility Spike Detector🚀 Volume & Volatility Spike Detector - News Hunter
📊 OBJECTIVE
Detects crypto explosions caused by major news by combining two key signals: simultaneous volume AND volatility spikes.
⚡ HOW IT WORKS
🔍 DOUBLE CONFIRMATION
Volume Spike: Detects when volume exceeds X times the moving average
Volatility Spike: Measures if current ATR exceeds X times its average
Perfect Signal: BOTH conditions simultaneously (red line = 2)
📊 VISUAL DISPLAY
Main Line: 0 to 2 based on number of conditions met
Visual Guides: Blue dots (volume) and purple dots (volatility)
Colored Background: Red = double spike, Orange = single spike
Labels: "VOL" or "ATR" to identify the single condition
⚙️ CUSTOMIZABLE PARAMETERS
📈 Volume
Multiplier (default 8.0): Volume spike sensitivity
Lookback Periods (default 100): Number of candles for average
📊 Volatility
ATR Multiplier (default 3.0): Volatility spike sensitivity
ATR Period (default 14): Average True Range calculation
🎯 RECOMMENDED USAGE
⏰ Timeframe
Optimal: 5 minutes
Compatible: 1m to 1h
🪙 Assets
Cryptocurrencies (Bitcoin, Ethereum, Altcoins)
Perfect for detecting news-driven pumps
📱 Alerts
Single Alert: "🚀 DOUBLE SPIKE EXPLOSION"
Triggers only when volume AND volatility spike simultaneously
Eliminates noise, signals only premium opportunities
💡 ENTRY STRATEGY
Signal: Red line (value = 2) + red background
Confirmation: Bullish closing candle
Context: Overall uptrend or neutral trend
Risk Management: Stop-loss below recent low
⚠️ IMPORTANT
High Selectivity: Very strict default parameters
Rare but exceptional quality signals
Backtesting recommended before live usage
Not financial advice
XAU/USD Day Trading Alarm 15M (v6) • EMA-RSI-MACD + ATR TP/SLDay Trading Alarm for XAU/USD – 15M (EMA-RSI-MACD + ATR TP/SL)
This indicator is specifically designed for gold (XAU/USD) trading on the 15-minute timeframe.
It combines EMA trend filtering, RSI overbought/oversold signals, and MACD momentum confirmation to generate reliable entry points.
Additionally, it automatically calculates ATR-based Stop Loss (SL) and Take Profit (TP) levels according to your chosen Risk/Reward ratio, displaying them directly on the chart.
All Levels This script draws key price levels on your chart, including:
• Previous Day (PD): High, Low, Close
• Day Before Yesterday (DBY): High, Low, Close
• Pre-Market (PM): High and Low
• Today’s levels: High, Low, Open, Close
• Current bar levels: High, Low, Open, Close
Each level is displayed as a horizontal line with a label showing the level value.
It works on any timeframe, including 1-minute charts, and automatically updates as new bars form.
⸻
2. Features
1. Custom Colors
Each type of level has its own color, declared as a const color. For example:
• Previous Day High = red
• Today’s Close = gold
• Pre-Market High = fuchsia
2. Right-Extending Lines
All horizontal levels extend to the right, so you always see them on the chart.
3. Persistent Labels
Every line has a label at the right side showing its name and price. For example:
• PDH 422
• TODL 415.5
4. Dynamic Updates
The script updates automatically whenever a new bar forms, so levels stay accurate.
5. Session-Based Pre-Market
You can define the pre-market session (default “04:00–09:30 EST”). The script calculates the high and low of this session only.
6. Checkbox Inputs
You can enable/disable entire groups of levels:
• Previous Day
• Day Before Yesterday
• Pre-Market
• Today
• Current bar
2MAクロス+直近1時間足高値・安値① You can place a circle at the intersection of two SMAs. The Japanese MA value can be changed. You can also change the number of circles to go back. ② A horizontal line is drawn at the high and low of the most recent confirmed candlestick on the 1-hour time frame. This is useful for finding out the high and low of the previous 1-hour time frame on the lower time frame. ③ Both logics can be displayed or hidden.
Fractals (TRUETRADERS)Fractals Indicator by TrueTraders
The Fractals Indicator by TrueTraders is a powerful technical analysis tool designed to help traders identify potential market reversal points. Based on the classic concept developed by Bill Williams, this enhanced version highlights local highs and lows (fractals) on the price chart, making it easier to spot key turning points in market structure.
A fractal forms when a specific five-bar pattern appears:
A bullish fractal (potential reversal to the upside) occurs when a candle with the lowest low is preceded and followed by two candles with higher lows.
A bearish fractal (potential reversal to the downside) occurs when a candle with the highest high is preceded and followed by two candles with lower highs.
Key Features:
Clear visual markers on the chart for both bullish and bearish fractals
Helps identify key support and resistance zones
Useful for spotting trend reversals and entry/exit points
Can be use
Multi TF Line Panel (5M–45M)//@version=5
indicator("Multi TF Line Panel (5M–45M)", overlay=false)
// Symbol chart
sym = syminfo.tickerid
// Ambil data close dari beberapa TF
c5 = request.security(sym, "5", close)
c10 = request.security(sym, "10", close)
c15 = request.security(sym, "15", close)
c30 = request.security(sym, "30", close)
c45 = request.security(sym, "45", close)
// Plot garis di panel terpisah
plot(c5, color=color.lime, linewidth=2, title="Close 5M")
plot(c10, color=color.aqua, linewidth=2, title="Close 10M")
plot(c15, color=color.blue, linewidth=2, title="Close 15M")
plot(c30, color=color.orange, linewidth=2, title="Close 30M")
plot(c45, color=color.red, linewidth=2, title="Close 45M")
Strat Combo Detector (ATH)You can alter the timeframes and strat combos as described in the settings of the indicator. A tag will pop up with the strat combo on all time frames but presence of the strat combo will be specific to the timeframe chosen in the settings.
Trend Continuation IndicatorTrendContinuation Indicator
The TrendContinuation indicator is a tool for identifying potential long and short setups in trending markets. It combines three elements: candlestick pattern recognition, RSI filtering, and a higher-timeframe EMA.
EMA filter: The EMA defines the main trend.
If price is above the EMA → only long setups are considered.
If price is below the EMA → only short setups are considered.
RSI filter: The RSI is used to avoid trades against momentum, with customizable overbought and oversold levels.
Candlestick signals: When conditions align, the indicator prints a green arrow for a possible long setup or a red arrow for a possible short setup.
Settings
RSI Length: default 14
Overbought/Oversold Levels: default 60 / 40
EMA Length: default 60
Timeframe for EMA: must always be set to a higher timeframe than the chart you are on (e.g., using a 15m EMA on a 2m chart).
ATR Candle Multiplier and Swing Low Lookback Bars: optional parameters for fine-tuning.
Important Notes
The EMA timeframe setting is critical: if it is not higher than the current chart timeframe, the indicator will not work correctly.
This indicator should not be used as a standalone system. It is intended as an additional tool that can support trade decisions when combined with other analysis methods.
Users are encouraged to test different settings and timeframes to find what works best for their own strategy.
Stochastic Divergence📊 How to Interpret the Levels
🔻 Bearish Divergence
61.8 level → Strong bearish divergence
If the price makes a higher high but the Stochastic makes a lower high near 61.8, it’s a high-conviction short.
69.1 level → Weak bearish divergence
The same setup, but at 69.1 it's valid, although less reliable. Treat it as a secondary confirmation.
🔺 Bullish Divergence
38.2 level → Strong bullish divergence
If price makes a lower low but Stochastic makes a higher low near 38.2, it’s a high conviction long.
30.9 level → Weak bullish divergence
Same setup, but at 30.9 is weaker. Supportive, but not primary.
🔄 Continuation
Bounce at the 50 line → Continuation.
If Stoch pulls back and holds/bounces off 50, it signals trend continuation (bullish if above, bearish if below).
⚖️ Hierarchy of Strength
61.8 / 38.2 → A-Tier (strongest divergence signals)
69.1 / 30.9 → B-Tier (secondary / softer signals)
50 → Continuation (trend confirmation, not reversal)
🧠 Why This Matters
Traditional Stochastic only looks at overbought (80) and oversold (20).
By layering in Fibonacci retracement levels, you refine where divergences have teeth.
This prevents false signals at weaker spots and helps you assess divergence strength accurately.
HTF LevelsHigh Timeframe (HTF) Levels mapped out and updated automatically:
Prior Day Close
Weekly Open/Close
Monthly Open/Close
YTD Open
These acts as major Support/Resistance levels, they come in good use along with VWAP, EMA, and RSI Indicators
Vivek's Advanced Stochastic Signals - Enhanced VisibilityVivek's Advanced Stochastic Signals - Enhanced Visibility
EMP Probabilistic [CHE]Part 1 — For Traders (Practical Overview, no formulas)
What this tool does
EMP Probabilistic \ turns raw price action into a clean, probability-aware map. It builds two adaptive bands around the session open of a higher timeframe you choose (called the S-timeframe) and highlights a robust median threshold. At a glance you know:
Where price has recently tended to stay,
Whether current momentum sits above or below the median, and
A live Long vs. Short probability based on recent outcomes.
Why it improves decisions
Objective context in any regime: The nonparametric band comes straight from recent market behavior, without assuming a particular distribution.
Volatility-aware risk lens: The parametric band adapts to current volatility, helping you judge stretch and room for continuation or snap-back.
No lookahead: All stats update only after an S-bar is finished. That means the panel reflects information you truly had at that time.
How to read the chart
Orange band = empirical, distribution-free range derived from recent session returns (nonparametric).
Teal band = volatility-scaled range around the session open (parametric).
Median dots: green when close is above the median threshold, red when below.
Info panel: shows the active S-timeframe, window sizes, live coverage for both bands, the internal width parameter and volatility estimate, plus a one-line summary.
Probability label: “Long XX% • Short YY%” — a simple read on the recent balance of up vs. down S-bars.
How to use it (quick start)
1. Choose S-timeframe with Auto, Multiplier, or Manual. “Auto” scales your chart TF up to a sensible higher step.
2. Set alpha to control how tight the inner band should be. A typical value gives you a comfortable center zone without cutting off healthy trends.
3. Trade the context:
Trend-following: Prefer longs when price holds above the median; prefer shorts when it stays below.
Mean-reversion: Fade moves near the outer edges during ranges; look for reversion back toward the median.
Breakout filter: Require closes that push and hold beyond the volatility band for momentum plays; avoid noise when price chops inside the middle of the orange band.
Risk management made practical
Size positions relative to the teal band width to keep risk consistent across instruments and regimes.
For stops, many traders set them just beyond the opposite orange bound or use a fraction of the teal band.
Watch the panel’s coverage readouts and Brier score; when they deteriorate, the market may be shifting — reduce size or demand stronger confirmation.
Suggested presets
Scalping (Crypto/FX): Auto S-TF, alpha around a fifth, calibration window near two hundred, RS volatility, metrics window near two hundred.
Intraday Futures: Multiplier 3–5× your chart TF; similar alpha and window sizes; RS volatility is a solid default.
Swing/Equities: S-TF at least daily; test both RS and GK volatility modes; keep windows on the larger side for stability.
What makes it different
Two complementary lenses: a distribution-free read of recent behavior and a volatility-scaled read for risk and stretch.
Self-calibrating width: the parametric band quietly nudges its internal multiplier so actual coverage tracks your target.
Clean UX: grouped inputs, tooltips, an info panel that tells you what’s going on, and a simple median bias you can act on.
Repainting & timing
The logic updates only when the S-bar closes. On lower-timeframe charts you’ll see intrabar flips of the dot color — that’s just live price moving around. For strict signals, confirm on S-bar close.
Friendly note (not financial advice)
Use this as a context engine. It won’t predict the future, but it will keep you on the right side of probability and volatility more often, which is exactly where consistency starts.
Part 2 — Under the Hood (Conceptual, no formulas)
Data and timeframe design
The script works on a higher S-timeframe you select. It fetches the open, high, low, close, and time of that S-bar. Internally, it only updates its rolling windows after an S-bar has finished. It then pushes the previous S-bar’s statistics into its arrays. That design removes lookahead and keeps the metrics out-of-sample relative to the current S-bar.
Nonparametric band (distribution-free)
The orange band comes from the empirical distribution of recent session-level close-minus-open moves. The script keeps a rolling window, sorts a safe copy, and reads three key points: a lower bound, a median, and an upper bound. Because it’s based purely on observed outcomes, it adapts naturally to skew, fat tails, and regime shifts without assuming any particular shape. The orange range shows “where price has tended to live” lately on the chosen S-timeframe.
Parametric band (volatility-scaled)
The teal band models log-space variability around the session open using one of two well-known OHLC volatility estimators: Rogers–Satchell or Garman–Klass. Each estimator contributes a per-bar variance figure; the script averages these across the rolling window to form a current volatility scale. It then builds a symmetric band around the session open in price space. This gives you a volatility-aware notion of stretch that complements the distribution-free orange band.
Self-calibration of band width
The teal band has an internal width multiplier. After each completed S-bar the script checks whether the realized move stayed inside that band. If the band was too tight, the multiplier is nudged upward; if it was too loose, it’s eased downward. A simple learning rate governs how quickly it adapts. Over time this keeps the realized inside-coverage close to the target implied by your alpha setting, without you having to hand-tune anything.
Long/Short probability and calibration quality
The Long vs. Short probability is a transparent statistic: it’s just the recent fraction of up sessions in the rolling window. It is not a complex model — and that’s the point. You get an honest, intuitive read on directional tendency.
To monitor how well this simple probability lines up with reality, the script tracks a Brier-style score over a separate metrics window. Lower is better: it means your recent probability read has matched outcomes more closely.
Coverage tracking for both bands
The panel reports coverage for the orange band (nonparametric) and the teal band (parametric). These are rolling averages of how often recent S-bar moves landed inside each band. Watching these two numbers tells you whether market behavior still aligns with the recent distribution and with the current volatility model.
Why it doesn’t repaint
Because the arrays update only when an S-bar closes and only push the previous bar’s stats, the panel and metrics reflect information you had at the time. Intrabar visuals can change while a bar is forming — that’s expected — but the decision framework itself is anchored to completed S-bars.
Performance and practicality
The heaviest step is sorting a copy of the window for the nonparametric band. With typical window sizes this stays responsive on TradingView. The volatility estimators and rolling averages are lightweight. Inputs are grouped with clear tooltips so you can tune without hunting.
Limitations and good practice
In thin or gappy markets the bands can jump; consider a larger window or a higher S-timeframe.
During violent regime shifts, shorten the window and increase the learning rate slightly so the teal band catches up faster — but don’t overdo it, or you’ll chase noise.
The Long/Short probability is intentionally simple; it’s a context indicator, not a standalone signal factory. Combine it with structure, volume, or your execution rules.
Takeaway
Under the hood, the script blends empirical behavior and volatility scaling, then self-calibrates so the teal band’s real-world coverage stays near your target. You get clarity, consistency, and a dashboard that tells you when its own assumptions are holding up — exactly what you need to trade with confidence.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Best regards and happy trading
Chervolino
Buy & Sell by AnupamKafleThis indicator provides Buy and Sell signals based on a combination of classic technical analysis tools: EMA Crossovers, RSI, MACD, and optional Bollinger Bands.
✅ Buy signals are shown as green arrows below bars
✅ Sell signals are shown as red arrows above bars
📊 Logic Overview:
EMA Crossover: Fast EMA crossing over the Slow EMA = Bullish signal
RSI Filter: RSI below oversold threshold = Buy condition, above overbought = Sell condition
MACD Filter: MACD line crossing above Signal line = Buy, crossing below = Sell
Bollinger Bands (optional): Buy when price breaks below lower band, Sell when price breaks above upper band
All filters can be turned on or off individually to customize the signal conditions to your strategy.
⚙️ Settings Include:
Enable/Disable each indicator (EMA, RSI, MACD, BB)
Custom lengths for EMA, RSI, MACD, and BB
Adjustable RSI thresholds and Bollinger Band deviation
🔔 Alerts:
Built-in alert conditions for Buy and Sell signals allow you to set up real-time notifications.
4H Opening PriceMost candles form wicks. Price opens, creates a fake move, then moves in the direction of the body. My favorite 4h candle is the NY 10am candle.
15m Continuation — prev → new (v6, styled)This indicator gives you backtested statistics on how often reversals vs continuations occur on 15 minute candles on any pair you want to trade. This is great for 15m binary markets like on Polymarket.