SMC Smart Money Concepts//@version=5
indicator("SMC Smart Money Concepts", overlay=true)
// === إعداد الهيكل السعري ===
// تحديد HH, HL, LL, LH
pivotHigh = ta.pivothigh(high, 5, 5)
pivotLow = ta.pivotlow(low, 5, 5)
plotshape(pivotHigh, location=location.abovebar, style=shape.triangleup, color=color.red, title="Lower High")
plotshape(pivotLow, location=location.belowbar, style=shape.triangledown, color=color.green, title="Higher Low")
// === Break of Structure & CHoCH ===
bos = pivotHigh and close > high
choch = pivotLow and close < low
plotshape(bos, location=location.abovebar, color=color.blue, style=shape.labelup, text="BOS")
plotshape(choch, location=location.belowbar, color=color.orange, style=shape.labeldown, text="CHOCH")
// === Order Blocks (OB) ===
// نأخذ آخر شمعة صاعدة قبل هبوط قوي كمثال على OB
bearishOB = high < high and close < open
bullishOB = low > low and close > open
plotshape(bearishOB, location=location.abovebar, color=color.maroon, style=shape.square, title="Bearish OB")
plotshape(bullishOB, location=location.belowbar, color=color.lime, style=shape.square, title="Bullish OB")
// === Fair Value Gap (FVG) ===
// إذا لم تلامس الشمعة التالية قاع أو قمة شمعتين قبليتين
fvgBull = low > high
fvgBear = high < low
plotshape(fvgBull, location=location.belowbar, color=color.teal, style=shape.circle, title="Bullish FVG")
plotshape(fvgBear, location=location.abovebar, color=color.fuchsia, style=shape.circle, title="Bearish FVG")
// === السيولة (Liquidity Pools) ===
// تعتبر السيولة موجودة عند قمم أو قيعان واضحة
liquidityHigh = high == ta.highest(high, 20)
liquidityLow = low == ta.lowest(low, 20)
plotshape(liquidityHigh, location=location.abovebar, color=color.purple, style=shape.cross, title="Liquidity High")
plotshape(liquidityLow, location=location.belowbar, color=color.purple, style=shape.cross, title="Liquidity Low")
Cari dalam skrip untuk "20蒙古币兑换人民币"
SMC Smart Money Concepts//@version=5
indicator("SMC Smart Money Concepts", overlay=true)
// === إعداد الهيكل السعري ===
// تحديد HH, HL, LL, LH
pivotHigh = ta.pivothigh(high, 5, 5)
pivotLow = ta.pivotlow(low, 5, 5)
plotshape(pivotHigh, location=location.abovebar, style=shape.triangleup, color=color.red, title="Lower High")
plotshape(pivotLow, location=location.belowbar, style=shape.triangledown, color=color.green, title="Higher Low")
// === Break of Structure & CHoCH ===
bos = pivotHigh and close > high
choch = pivotLow and close < low
plotshape(bos, location=location.abovebar, color=color.blue, style=shape.labelup, text="BOS")
plotshape(choch, location=location.belowbar, color=color.orange, style=shape.labeldown, text="CHOCH")
// === Order Blocks (OB) ===
// نأخذ آخر شمعة صاعدة قبل هبوط قوي كمثال على OB
bearishOB = high < high and close < open
bullishOB = low > low and close > open
plotshape(bearishOB, location=location.abovebar, color=color.maroon, style=shape.square, title="Bearish OB")
plotshape(bullishOB, location=location.belowbar, color=color.lime, style=shape.square, title="Bullish OB")
// === Fair Value Gap (FVG) ===
// إذا لم تلامس الشمعة التالية قاع أو قمة شمعتين قبليتين
fvgBull = low > high
fvgBear = high < low
plotshape(fvgBull, location=location.belowbar, color=color.teal, style=shape.circle, title="Bullish FVG")
plotshape(fvgBear, location=location.abovebar, color=color.fuchsia, style=shape.circle, title="Bearish FVG")
// === السيولة (Liquidity Pools) ===
// تعتبر السيولة موجودة عند قمم أو قيعان واضحة
liquidityHigh = high == ta.highest(high, 20)
liquidityLow = low == ta.lowest(low, 20)
plotshape(liquidityHigh, location=location.abovebar, color=color.purple, style=shape.cross, title="Liquidity High")
plotshape(liquidityLow, location=location.belowbar, color=color.purple, style=shape.cross, title="Liquidity Low")
لعلي بابا على ساعة Moving averages indicator for the 10 and 20 averages, relative strength index, and Bollinger Bands Moving averages indicator for the 10 and 20 averages, relative strength index, and Bollinger Bands
Altcoin Breakout Detector//@version=5
indicator("Altcoin Breakout Detector", overlay=true)
resistanceLevel = input.float(50.0, "Resistance Level", minval=0.0, maxval=100.0)
breakoutZoneTop = input.float(25.0, "Breakout Zone Top", minval=0.0, maxval=100.0)
shortMA = ta.sma(close, 5) // 5-period moving average for trend confirmation
// Define buy signal conditions
lastPrice = close
secondLastPrice = close
lastVolume = volume
avgVolume = ta.sma(volume, 20) // 20-period simple moving average of volume
buySignal = lastPrice > resistanceLevel and secondLastPrice <= resistanceLevel and lastVolume > avgVolume * 1.5 and lastPrice > shortMA
// Plot buy signal
plotshape(buySignal, title="Buy Signal", location=location.belowbar, color=color.green, style=shape.triangleup, size=size.small)
// Highlight breakout zone
hline(breakoutZoneTop, "Breakout Zone", color=color.orange, linestyle=hline.style_dashed)
bgcolor(color.new(color.orange, 90)) // Constant shading for the breakout zone (0 to 25.00)
FSTO + MACD Combined OscillatorFSTO + MACD Combined Oscillator with Advanced Alerts
Introduction
The FSTO + MACD Combined Oscillator is a powerful technical analysis tool that synergizes two proven momentum indicators to deliver high-confidence trading signals. By combining the Moving Average Convergence Divergence (MACD) with the Fast Slow Trend Oscillator (FSTO), this indicator provides unique insights into market momentum, trend direction, and potential reversal points.
Key Features
1. Dual Indicator Integration
MACD Component:
Fast EMA (user-configurable period)
Slow EMA (user-configurable period)
Signal line with customizable smoothing
Histogram showing momentum strength
FSTO Component:
Short-term EMA (price-based)
Long-term EMA (price-based)
Signal line with adjustable period
Zero-line crossover detection
2. Advanced Alert System
Four specialized alert conditions that trigger only when both indicators confirm momentum shifts:
Bullish Reversal Alert
FSTO crosses above zero + MACD transitions from falling to rising
Strong trend reversal signal
Bullish Momentum Alert
FSTO crosses above signal line + MACD transitions from falling to rising
Confirmation of bullish momentum
Bearish Reversal Alert
FSTO crosses below zero + MACD transitions from rising to falling
Strong trend reversal signal
Bearish Momentum Alert
FSTO crosses below signal line + MACD transitions from rising to falling
Confirmation of bearish momentum
3. Visual Indicators
Color-coded plots:
MACD line (blue)
MACD signal line (orange)
FSTO line (purple)
FSTO signal line (amber)
Histogram:
Green: Strengthening bullish momentum
Light green: Weakening bullish momentum
Red: Strengthening bearish momentum
Light red: Weakening bearish momentum
Alert markers:
Numbered labels (1-4) at chart extremes
Color-coded for quick identification
4. Information Panel
Real-time display of:
Current MACD and FSTO values
Trend direction (bullish/bearish)
Momentum status (rising/falling)
Active alerts with color coding
How It Works
The indicator calculates two parallel momentum measurements:
MACD = EMA(close, fast_length) - EMA(close, slow_length)
FSTO = EMA(close, short_period) - EMA(close, long_period)
The true power emerges when these indicators confirm each other's signals:
MACD detects momentum shifts in price derivatives
FSTO identifies trend changes in price itself
Combined signals filter out false positives
Trading Applications
1. Trend Identification
Bullish Trend: FSTO > 0 and MACD > signal line
Bearish Trend: FSTO < 0 and MACD < signal line
2. High-Probability Entries
Long Entry: Alert 1 or 2 triggers
Short Entry: Alert 3 or 4 triggers
3. Exit Signals
MACD histogram color change (green to light green)
FSTO crossing signal line against trend direction
4. Risk Management
Stop placement below recent swing low (bullish)
Stop placement above recent swing high (bearish)
Position sizing based on histogram strength
Recommended Settings
Market MACD Fast MACD Slow FSTO Short FSTO Long
Stocks 12 26 12 26
Cryptocurrency 10 20 10 20
Forex 8 17 8 17
Commodities 14 28 14 28
Benefits
Synergistic Signals: Combines price-based and derivative-based momentum
Reduced False Signals: Requires confirmation from both indicators
Customizable Alerts: Enable/disable specific alert types
Visual Clarity: Color-coded elements for quick interpretation
Multi-Timeframe: Works on all timeframes from 1-minute to monthly
How to Use
Add indicator to TradingView chart
Configure periods based on market and timeframe
Enable desired alerts in settings
Set up notifications through TradingView alert system
Combine with price action analysis for best results
The MACD + FSTO Combined Oscillator provides professional traders with a sophisticated yet intuitive tool for identifying high-probability trade setups across all financial markets. Its unique alert system ensures you never miss critical momentum shifts confirmed by dual-indicator analysis.
Fibonacci Sequence Moving Average [BackQuant]Fibonacci Sequence Moving Average with Adaptive Oscillator
1. Overview
The Fibonacci Sequence Moving Average indicator is a two‑part trading framework that combines a custom moving average built from the famous Fibonacci number set with a fully featured oscillator, normalisation engine and divergence suite. The moving average half delivers an adaptive trend line that respects natural market rhythms, while the oscillator half translates that trend information into a bounded momentum stream that is easy to read, easy to compare across assets and rich in confluence signals. Everything from weighting logic to colour palettes can be customised, so the tool comfortably fits scalpers zooming into one‑minute candles as well as position traders running multi‑month trend following campaigns.
2. Core Calculation
Fibonacci periods – The default length array is 5, 8, 13, 21, 34. A single multiplier input lets you scale the whole family up or down without breaking the golden‑ratio spacing. For example a multiplier of 3 yields 15, 24, 39, 63, 102.
Component averages – Each period is passed through Simple Moving Average logic to produce five baseline curves (ma1 through ma5).
Weighting methods – You decide how those five values are blended:
• Equal weighting treats every curve the same.
• Linear weighting applies factors 1‑to‑5 so the slowest curve counts five times as much as the fastest.
• Exponential weighting doubles each step for a fast‑reacting yet still smooth line.
• Fibonacci weighting multiplies each curve by its own period value, honouring the spirit of ratio mathematics.
Smoothing engine – The blended average is then smoothed a second time with your choice of SMA, EMA, DEMA, TEMA, RMA, WMA or HMA. A short smoothing length keeps the result lively, while longer lengths create institution‑grade glide paths that act like dynamic support and resistance.
3. Oscillator Construction
Once the smoothed Fib MA is in place, the script generates a raw oscillator value in one of three flavours:
• Distance – Percentage distance between price and the average. Great for mean‑reversion.
• Momentum – Percentage change of the average itself. Ideal for trend acceleration studies.
• Relative – Distance divided by Average True Range for volatility‑aware scaling.
That raw series is pushed through a look‑back normaliser that rescales every reading into a fixed −100 to +100 window. The normalisation window defaults to 100 bars but can be tightened for fast markets or expanded to capture long regimes.
4. Visual Layer
The oscillator line is gradient‑coloured from deep red through sky blue into bright green, so you can spot subtle momentum shifts with peripheral vision alone. There are four horizontal guide lines: Extreme Bear at −50, Bear Threshold at −20, Bull Threshold at +20 and Extreme Bull at +50. Soft fills above and below the thresholds reinforce the zones without cluttering the chart.
The smoothed Fib MA can be plotted directly on price for immediate trend context, and each of the five component averages can be revealed for educational or research purposes. Optional bar‑painting mirrors oscillator polarity, tinting candles green when momentum is bullish and red when momentum is bearish.
5. Divergence Detection
The script automatically looks for four classes of divergences between price pivots and oscillator pivots:
Regular Bullish, signalling a possible bottom when price prints a lower low but the oscillator prints a higher low.
Hidden Bullish, often a trend‑continuation cue when price makes a higher low while the oscillator slips to a lower low.
Regular Bearish, marking potential tops when price carves a higher high yet the oscillator steps down.
Hidden Bearish, hinting at ongoing downside when price posts a lower high while the oscillator pushes to a higher high.
Each event is tagged with an ℝ or ℍ label at the oscillator pivot, colour‑coded for clarity. Look‑back distances for left and right pivots are fully adjustable so you can fine‑tune sensitivity.
6. Alerts
Five ready‑to‑use alert conditions are included:
• Bullish when the oscillator crosses above +20.
• Bearish when it crosses below −20.
• Extreme Bullish when it pops above +50.
• Extreme Bearish when it dives below −50.
• Zero Cross for momentum inflection.
Attach any of these to TradingView notifications and stay updated without staring at charts.
7. Practical Applications
Swing trading trend filter – Plot the smoothed Fib MA on daily candles and only trade in its direction. Enter on oscillator retracements to the 0 line.
Intraday reversal scouting – On short‑term charts let Distance mode highlight overshoots beyond ±40, then fade those moves back to mean.
Volatility breakout timing – Use Relative mode during earnings season or crypto news cycles to spot momentum surges that adjust for changing ATR.
Divergence confirmation – Layer the oscillator beneath price structure to validate double bottoms, double tops and head‑and‑shoulders patterns.
8. Input Summary
• Source, Fibonacci multiplier, weighting method, smoothing length and type
• Oscillator calculation mode and normalisation look‑back
• Divergence look‑back settings and signal length
• Show or hide options for every visual element
• Full colour and line width customisation
9. Best Practices
Avoid using tiny multipliers on illiquid assets where the shortest Fibonacci window may drop under three bars. In strong trends reduce divergence sensitivity or you may see false counter‑trend flags. For portfolio scanning set oscillator to Momentum mode, hide thresholds and colour bars only, which turns the indicator into a heat‑map that quickly highlights leaders and laggards.
10. Final Notes
The Fibonacci Sequence Moving Average indicator seeks to fuse the mathematical elegance of the golden ratio with modern signal‑processing techniques. It is not a standalone trading system, rather a multi‑purpose information layer that shines when combined with market structure, volume analysis and disciplined risk management. Always test parameters on historical data, be mindful of slippage and remember that past performance is never a guarantee of future results. Trade wisely and enjoy the harmony of Fibonacci mathematics in your technical toolkit.
THF Crossover and Trend Signals Golden & Death Cross with VolumeScript Overview:
This Pine Script is designed to assist traders in identifying key buy/sell signals and major trend changes on the chart using Exponential Moving Averages (EMA) and Simple Moving Averages (SMA), as well as visualizing Golden Cross and Death Cross events. The script also includes a volume indicator to highlight the volume trading activity in relation to the price movements.
Key Features:
1. Moving Averages:
EMA 21: Exponential Moving Average over a 21-period, shown in green.
EMA 50: Exponential Moving Average over a 50-period, shown in yellow.
SMA 50: Simple Moving Average over a 50-period, shown in red.
SMA 200: Simple Moving Average over a 200-period, shown in blue.
2. Signals:
Buy Signal: Generated when EMA 21 crosses above SMA 50, indicating a potential upward trend. Displayed with a green label below the price bar.
Sell Signal: Generated when EMA 21 crosses below SMA 50, indicating a potential downward trend. Displayed with a red label above the price bar.
3. Golden Cross (Bullish Trend):
A Golden Cross occurs when EMA 50 crosses above SMA 200, which often signals the start of a long-term upward trend. The signal is displayed with a yellow label below the price bar.
4. Death Cross (Bearish Trend):
A Death Cross occurs when EMA 50 crosses below SMA 200, which often signals the start of a long-term downward trend. The signal is displayed with a blue label above the price bar.
5. Volume Indicator:
The volume is plotted as colored columns. Green indicates higher volume than the 20-period moving average, and red indicates lower volume.
A Volume Moving Average (SMA 20) is also plotted to compare volume changes over time.
How the Script Works:
1. The EMA and SMA lines are plotted on the chart, providing a visual representation of the short- and long-term trends.
2. Buy/Sell signals are triggered based on the crossover between EMA 21 and SMA 50, helping to identify potential entry and exit points.
3. The Golden Cross and Death Cross indicators highlight major trend reversals based on the crossover between EMA 50 and SMA 200, providing clear visual cues for long-term trend changes.
4. Volume is displayed alongside price movements, offering insight into the strength or weakness of a trend.
Key Customizations:
Moving Average Periods: Users can modify the lengths of the EMAs and SMAs for customized analysis.
Volume Moving Average Period: The script allows for adjustment of the volume moving average period to suit different market conditions.
Signal Visibility: The size and color of the buy, sell, Golden Cross, and Death Cross signals can be easily customized to make them more prominent on the chart.
Conclusion:
This script is ideal for traders looking to combine price action with volume analysis, using key technical indicators such as EMA, SMA, Golden Cross, and Death Cross to make informed decisions in trending markets.
---
This explanation covers all aspects of the script and provides a clear understanding of its functionality, which is helpful for sharing the script or using it as an educational resource.
Weighted Multi-Mode Oscillator [BackQuant]Weighted Multi‑Mode Oscillator
1. What Is It?
The Weighted Multi‑Mode Oscillator (WMMO) is a next‑generation momentum tool that turns a dynamically‑weighted moving average into a 0‑100 bounded oscillator.
It lets you decide how each bar is weighted (by volume, volatility, momentum or a hybrid blend) and how the result is normalised (Percentile, Z‑Score or Min‑Max).
The outcome is a self‑adapting gauge that delivers crystal‑clear overbought / oversold zones, divergence clues and regime shifts on any market or timeframe.
2. How It Works
• Dynamic Weight Engine
▪ Volume – emphasises bars with exceptional participation.
▪ Volatility – inverse ATR weighting filters noisy spikes.
▪ Momentum – amplifies strong directional ROC bursts.
▪ Hybrid – equal‑weight blend of the three dimensions.
• Multi‑Mode Smoothing
Choose from 8 MA types (EMA, DEMA, HMA, LINREG, TEMA, RMA, SMA, WMA) plus a secondary smoothing factor to fine‑tune lag vs. responsiveness.
• Normalization Suite
▪ Percentile – rank vs. recent history (context aware).
▪ Z‑Score – standard deviations from mean (statistical extremes).
▪ Min‑Max – scale between rolling high/low (trend friendly).
3. Reading the Oscillator
Zone Default Level Interpretation
Bull > 80 Acceleration; momentum buyers in control
Neutral 20 – 80 Consolidation / no edge
Bear < 20 Exhaustion; sellers dominate
Gradient line/area automatically shades from bright green (strong bull) to deep red (strong bear).
Optional bar‑painting colours price bars the same way for rapid chart scanning.
4. Typical Use‑Cases
Trend Confirmation – Set Weight = Hybrid, Smoothing = EMA. Enter pullbacks only when WMMO > 50 and rising.
Mean Reversion – Weight = Volatility, reduce upper / lower bands to 70 / 30 and fade extremes.
Volume Pulse – Intraday futures: Weight = Volume to catch participation surges before breakout candles.
Divergence Spotting – Compare price highs/lows to WMMO peaks for early reversal clues.
5. Inputs & Styling
Calculation: Source, MA Length, MA Type, Smoothing
Weighting: Volume period & factor, Volatility length, Momentum period
Normalisation: Method, Look‑back, Upper / Lower thresholds
Display: Gradient fills, Threshold lines, Bar‑colouring toggle, Line width & colours
All thresholds, colours and fills are fully customisable inside the settings panel.
6. Built‑In Alerts
WMMO Long – oscillator crosses up through upper threshold.
WMMO Short – oscillator crosses down through lower threshold.
Attach them once and receive push / e‑mail notifications the moment momentum flips.
7. Best Practices
Percentile mode is self‑adaptive and works well across assets; Z‑Score excels in ranges; Min‑Max shines in persistent trends.
Very short MA lengths (< 10) may produce jitter; compensate with higher “Smoothing” or longer look‑backs.
Pair WMMO with structure‑based tools (S/R, trend lines) for higher‑probability trade confluence.
Disclaimer
This script is provided for educational purposes only. It is not financial advice. Always back‑test thoroughly and manage risk before trading live capital.
MNQ 3m Momentum BreakoutThis MNQ 3-minute momentum breakout strategy identifies high-probability trades in the direction of the 1-hour trend, enters with 2 contracts on breakouts, and intelligently scales out after reaching an ATR-based profit target. The remaining position is managed with a trailing stop or closed after a timeout.
**Entry Logic:**
* **Long:** Price breaks above 20-bar high **and** 1H trend is up (EMA 200 + MACD > 0)
* **Short:** Price breaks below 20-bar low **and** 1H trend is down
**Position Management:**
* **Start:** Enter with 2 contracts
* **Scale out:** Close 1 contract after reaching ATR-based profit trigger
* **Final exit:** Trailing stop or timeout (30 bars)
**Filters:**
* Multi-timeframe EMA + MACD for trend confirmation
* 3-minute chart for high-frequency entries with precision
Big Trade % Heatmap### Big Trade % Heatmap
**Quick overview**
This indicator highlights where “whale” activity is clustered by showing what fraction of the recent candles contained *large‑value trades*. A candle is considered “big” when its notional volume (`volume × close`) exceeds your chosen USD threshold. You instantly see:
* **Percent of big candles** in the last *N* bars, refreshed at the cadence you pick.
* **On‑chart labels & markers** every refresh, so the chart stays clean.
* **Optional heat‑map background** that turns orange (>20 %) or green (>50 %) when big‑trade concentration spikes.
* **Ready‑made alert** when big‑trade dominance crosses 50 %.
---
#### How it works
1. **Trade size per candle** – Calculates `close × volume` to estimate dollars traded.
2. **Threshold filter** – Flags candles whose value is above *Big Trade Threshold (\$)*.
3. **Look‑back window** – Counts what percentage of the last *Lookback Window (X Candles)* were “big.”
4. **Refresh interval** – Repeats the measurement only every *Refresh Interval (Every X Candles)* to avoid label spam.
5. **Visuals** –
* A small blue ▼ above the bar + a text label such as `35.00 % > $25 000`.
* Background shading (green/orange) for quick, at‑a‑glance sentiment.
---
#### Inputs
| Input | Purpose | Default |
| -------------------------------------- | ----------------------------------------------------- | ------- |
| **Lookback Window (X Candles)** | How many recent bars to sample for the % calculation. | 20 |
| **Refresh Interval (Every X Candles)** | How often to display a new label/marker. | 5 |
| **Big Trade Threshold (\$)** | Minimum USD value for a candle to count as “big.” | 10 000 |
Tune these to the symbol and timeframe you trade (e.g., raise the threshold for BTC‑USDT 1‑h, lower it for micro‑caps).
---
#### Alerts
Enable **“High Big Trade %”** to get notified the moment more than half of the last *N* candles qualify as big trades—handy for spotting sudden accumulation or distribution.
---
#### Typical use cases
* **Breakout confirmation** – A surge in big‑trade % just before price escapes a range can validate the move.
* **Whale spotting** – Detect hidden accumulation on pullbacks or aggressive selling into rallies.
* **Filter noise** – Combine with your favorite trend indicator; only act when both align.
---
> *Built with Pine Script v6. Always back‑test before trading live; this tool is for educational purposes and not financial advice.*
Bollinger Bottom + Middle Lines with Inline TextThis script visualizes key Bollinger Band levels based on two different SMAs (20 & 50 periods), with clear labeling and a smart price table.
🔸 Features:
Draws lower and middle Bollinger Band lines for both SMA(20) and SMA(50)
Inline text at the end of each line instead of default labels (cleaner view)
A dynamic table in the top-right corner, sorted from highest to lowest level
Color-coded rows:
▪️ Orange → BB20 Mid & BB20 Lower
▪️ Green → BB50 Mid & BB50 Lower
Auto-updates each bar without cluttering the chart
✅ Ideal for identifying technical accumulation zones
✅ Suitable for investors using scaling-in strategies or mean-reversion logic
MTF Confirmation v2Multi-Timeframe Direction Confirmation Indicator
📊 Overview
This Pine Script indicator provides high-probability buy and sell signals by confirming that both 1-minute and 5-minute timeframes are moving in the same direction. It eliminates false signals by requiring multiple timeframe agreement before generating alerts.
🎯 How It Works
Trend Detection Method:
EMA Analysis: Uses 20-period Exponential Moving Average to determine trend direction
RSI Confirmation: 14-period RSI validates momentum (>50 bullish, <50 bearish)
Price Action: Confirms price is above/below EMA in trend direction
EMA Slope: Ensures EMA is actually rising (bullish) or falling (bearish)
Signal Generation:
BUY Signal: Only when BOTH 1M and 5M timeframes are bullish simultaneously
SELL Signal: Only when BOTH 1M and 5M timeframes are bearish simultaneously
Cooldown System: Prevents signal spam with 5-bar minimum between signals
📈 Visual Elements
Primary Signals:
Green "BUY" Labels: Appear below candles when both timeframes align bullish
Red "SELL" Labels: Appear above candles when both timeframes align bearish
Background Colors:
Light Green: Both timeframes trending up
Light Red: Both timeframes trending down
No Color: Timeframes not aligned or neutral
Trend Indicators:
Blue Dots: Show 1-minute timeframe trend direction
Orange Dots: Show 5-minute timeframe trend direction
Question Marks: Partial alignment (one timeframe trending, preparing for signal)
Status Table (Top Right):
Timeframe Status: Real-time direction of each timeframe
Alignment Status: Shows when timeframes are synchronized
Signal Status: Current signal state and cooldown timers
Cooldown Counters: Bars remaining until next signal available
⚙️ Customizable Settings
Technical Parameters:
EMA Period: Default 20 (trend smoothness)
RSI Period: Default 14 (momentum sensitivity)
Signal Cooldown: Default 5 bars (prevents overtrading)
Filter Options:
Volume Filter: Optional above-average volume requirement
Alerts Toggle: Enable/disable notifications
Table Display: Show/hide status information
🚨 Alert System
Instant Notifications: Alerts fire when both timeframes align
Price Information: Includes current price in alert message
Once Per Bar: Prevents alert spam during volatile periods
Clear Messages: "BUY SIGNAL: 1M and 5M both BULLISH" format
💡 Best Use Cases
Ideal For:
Scalping: Quick entries with multi-timeframe confirmation
Day Trading: Reliable intraday signals
Trend Following: Catching strong directional moves
Risk Management: Avoiding false breakouts
Timeframe Recommendations:
Works on any chart timeframe
Most effective on 1M, 5M, or 15M charts
Provides earlier signals than single-timeframe indicators
⚡ Key Advantages
Reduced False Signals:
Requires agreement between multiple timeframes
Filters out noise and whipsaws
Cooldown prevents overtrading
Clear Decision Making:
Simple buy/sell signals
Visual confirmation through colors and table
No complex interpretation required
Comprehensive Information:
Real-time status of all timeframes
Setup warnings with question marks
Countdown to next available signal
📋 Setup Instructions
Copy the Pine Script code
Open TradingView Pine Editor
Paste code and save
Add to chart
Configure settings to preference
Set up alerts for desired signals
🎪 Expected Performance
Signal Frequency: 3-8 signals per trading day (depending on volatility)
Quality Focus: Fewer but higher-probability setups
Win Rate: Improved due to multi-timeframe confirmation
Suitable for: Both automated and manual trading strategies
Universal Renko Bars by SiddWolfUniversal Renko Bars or UniRenko Bars is an overlay indicator that applies the logic of Renko charting directly onto a standard candlestick chart. It generates a sequence of price-driven bricks, where each new brick is formed only when the price moves a specific amount, regardless of time. This provides a clean, price-action-focused visualization of the market's trend.
WHAT IS UNIVERSAL RENKO BARS?
For years, traders have faced a stark choice: the clean, noise-free world of Renko charts, or the rich, time-based context of Candlesticks. Choosing Renko meant giving up your favorite moving averages, volume profiles, and the fundamental sense of time. Choosing Candlesticks meant enduring the market noise that often clouds true price action.
But what if you didn't have to choose?
Universal Renko Bars is a revolutionary indicator that ends this dilemma. It's not just another charting tool; it's a powerful synthesis that overlays the pure, price-driven logic of Renko bricks directly onto your standard candlestick chart. This hybrid approach gives you the best of both worlds:
❖ The Clarity of Renko: By filtering out the insignificant noise of time, Universal Renko reveals the underlying trend with unparalleled clarity. Up trends are clean successions of green bricks; down trends are clear red bricks. No more guesswork.
❖ The Context of Candlesticks: Because the Renko logic is an overlay, you retain your time axis, your volume data, and full compatibility with every other time-based indicator in your arsenal (RSI, MACD, Moving Averages, etc.).
The true magic, however, lies in its live, Unconfirmed Renko brick. This semi-transparent box is your window into the current bar's real-time struggle. It grows, shrinks, and changes color with every tick, showing you exactly how close the price is to confirming the trend or forcing a reversal. It’s no longer a lagging indicator; it’s a live look at the current battle between buyers and sellers.
Universal Renko Bars unifies these two powerful charting methods, transforming your chart into a more intelligent, noise-free, and predictive analytical canvas.
HOW TO USE
To get the most out of Universal Renko Bars, here are a few tips and a full breakdown of the settings.
Initial Setup for the Best Experience
For the cleanest possible view, it's highly recommended that you hide the body of your standard candlesticks, that shows only the skelton of the candle. This allows the Renko bricks to become the primary focus of your chart.
→ Double click on the candles and uncheck the body checkbox.
Settings Breakdown
The indicator is designed to be powerful yet intuitive. The settings are grouped to make customization easy.
First, What is a "Tick"?
Before we dive in, it's important to understand the concept of a "Tick." In Universal Renko, a Tick is not the same as a market tick. It's a fundamental unit of price movement that you define. For example, if you set the Tick Size to $0.50, then a price move of $1.00 is equal to 2 Ticks. This is the core building block for all Renko bricks. Tick size here is dynamically determined by the settings provided in the indicator.
❖ Calculation Method (The "Tick Size" Engine)
This section determines the monetary value of a single "Tick."
`Calculation Method` : Choose your preferred engine for defining the Tick Size.
`ATR Based` (Default): The Tick Size becomes dynamic, based on market volatility (Average True Range). Bricks will get larger in volatile markets and smaller in quiet ones. Use the `ATR 14 Multiplier` to control the sensitivity.
`Percentage` : The Tick Size is a simple percentage of the current asset price, controlled by the `Percent Size (%)` input.
`Auto` : The "set it and forget it" mode. The script intelligently calculates a Tick Size based on the asset's price. Use the `Auto Sensitivity` slider to make these automatically calculated bricks thicker (value > 1.0) or thinner (value < 1.0).
❖ Parameters (The Core Renko Engine)
This group controls how the bricks are constructed based on the Tick Size.
`Tick Trend` : The number of "Ticks" the price must move in the same direction to print a new continuation brick. A smaller value means bricks form more easily.
`Tick Reversal` : The number of "Ticks" the price must move in the opposite direction to print a new reversal brick. This is typically set higher than `Tick Trend` (e.g., double) to filter out minor pullbacks and market noise.
`Open Offset` : Controls the visual overlap of the bricks. A value of `0` creates gapless bricks that start where the last one ended. A value of `2` (with a `Tick Reversal` of 4) creates the classic 50% overlap look.
❖ Visuals (Controlling What You See)
This is where you tailor the chart to your visual preference.
`Show Confirmed Renko` : Toggles the solid-colored, historical bricks. These are finalized and will never change. They represent the confirmed past trend.
`Show Unconfirmed Renko` : This is the most powerful visual feature. It toggles the live, semi-transparent box that represents the developing brick. It shows you exactly where the price is right now in relation to the levels needed to form the next brick.
`Show Max/Min Levels` : Toggles the horizontal "finish lines" on your chart. The green line is the price target for a bullish brick, and the red line is the target for a bearish brick. These are excellent for spotting breakouts.
`Show Info Label` : Toggles the on-chart label that provides key real-time stats:
🧱 Bricks: The total count of confirmed bricks.
⏳ Live: How many chart bars the current live brick has been forming. These bars forms the Renko bricks that aren't confirmed yet. Live = 0 means the latest renko brick is confirmed.
🌲 Tick Size: The current calculated value of a single Tick.
Hover over the label for a tooltip with live RSI(14), MFI(14), and CCI(20) data for additional confirmation.
TRADING STRATEGIES & IDEAS
Universal Renko Bars isn't just a visual tool; it's a foundation for building robust trading strategies.
Trend Confirmation: The primary use is to instantly identify the trend. A series of green bricks indicates a strong uptrend; a series of red bricks indicates a strong downtrend. Use this to filter out trades that go against the primary momentum.
Reversal Spotting: Pay close attention to the Unconfirmed Brick . When a strong trend is in place and the live brick starts to fight against it—changing color and growing larger—it can be an early warning that a reversal is imminent. Wait for the brick to be confirmed for a higher probability entry.
Breakout Trading: The `Max/Min Levels` are your dynamic breakout zones. A long entry can be considered when the price breaks and closes above the green Max Level, confirming a new bullish brick. A short entry can be taken when price breaks below the red Min Level.
Confluence & Indicator Synergy: This is where Universal Renko truly shines. Overlay a moving average (e.g., 20 EMA). Only take long trades when the green bricks are forming above the EMA. Combine it with RSI or MACD; a bearish reversal brick forming while the RSI shows bearish divergence is a very powerful signal.
A FINAL WORD
Universal Renko Bars was designed to solve a fundamental problem in technical analysis. It brings together the best elements of two powerful methodologies to give you a clearer, more actionable view of the market. By filtering noise while retaining context, it empowers you to make decisions with greater confidence.
Add Universal Renko Bars to your chart today and elevate your analysis. We welcome your feedback and suggestions for future updates!
Follow me to get notified when I publish New Indicator.
~ SiddWolf
MCC Smart Reversal Signals📊 MCC Smart Reversal Signals (Stoch RSI) v1.0.9
© 2025 Jawid Iqbal Anwar — MIT License
This indicator is designed to help traders detect potential market reversal points by combining multiple confirmation tools such as:
Stochastic RSI
Classic RSI
Trend direction (EMA-based)
Candlestick reversal patterns
Re-entry logic
Dollar-Cost Averaging (DCA) strategy
Built-in alert system
🔄 What’s New in v1.0.9
✅ Time-Frame Presets: Choose from Custom, Weekly, Daily, 4H, 1H, or 15m profiles — each with optimized parameters.
🤖 Auto Mode: The script can automatically detect the chart timeframe and apply the best preset settings.
🎯 Dynamic Overbought/Oversold Levels:
On 15m and 1H, RSI and Stoch RSI use 6 (Oversold) and 94 (Overbought)
On 4H, Daily, and Weekly, it uses 30/70 for RSI and 20/80 for Stoch RSI
🧠 All original logic from v1.0.8 is retained: signal throttling, strong confirmation, and DCA logic.
🔧 How It Works
1. Watch Buy / Watch Sell Signals
These are early signals that notify you of a possible reversal forming.
🟠 Watch Buy: Triggered when the Stoch RSI enters oversold territory. Will only appear if the market isn’t trending strongly downward.
🔵 Watch Sell: Triggered when the Stoch RSI moves into overbought territory. Once fired, it will pause for a few candles unless the zone is exited.
⚠️ OB/OS zones are adjusted based on the selected preset or Auto mode.
2. Strong Reversal Signals (Higher Confidence)
These provide stronger confirmation when all of the following align:
RSI is in an extreme zone (very low or very high)
A reversal candlestick pattern appears (doji, bullish/bearish)
RSI recently changed direction
EMA trend supports the move (not against a strong trend)
When this happens, you’ll see a green (Buy) or red (Sell) label. These are typically high-probability entries.
3. Re-Entry Dots
If the price stays oversold or overbought for a while and forms a new valid candle setup, a new “Watch” dot will appear.
🔁 These help you catch continuation or delayed reversal setups.
4. DCA (Dollar-Cost Averaging) Signals
✅ DCA Buy: RSI is very low and Stoch RSI remains in the oversold zone — a good place to scale into a long position.
❌ DCA Sell: RSI and Stoch RSI are both in the overbought zone — ideal for scaling out or taking profit.
5. Signal Throttling (Smarter Alerts)
To avoid over-signal noise, the script includes throttling logic:
A signal won’t repeat unless the zone is exited and re-entered.
There’s a minimum bar gap between signals to reduce clutter.
🔔 Built-in Alerts (No Setup Needed)
The script includes alerts for all signal types:
Watch Buy / Watch Sell
Strong Buy / Strong Sell
DCA Buy / DCA Sell
Once you add the script to your chart, you can enable alerts immediately.
🕒 How to Use Timeframes
With v1.0.9, the indicator adapts to your chart:
Auto Mode: Just load the indicator — it adjusts based on your active timeframe.
Manual Presets: Choose a preset if you want specific control.
Timeframe Default OB/OS Settings
15m & 1H RSI & Stoch RSI: 6 / 94
4H+ RSI: 30 / 70, Stoch RSI: 20 / 80
🛠️ Suggested Trading Flow
Add the indicator and select a timeframe preset (or use Auto).
Wait for 🟠 Watch Buy or 🔵 Watch Sell — watch the price behavior.
If a 🟢 Strong Buy or 🔴 Strong Sell appears, consider entering with confirmation.
Use ✅ DCA Buy or ⏺️ DCA Sell to scale in/out slowly.
Use EMA trend and candlestick context to refine your decision.
💡 Final Tips
Let signals come to you — don’t force trades.
Use the OB/OS zones and alerts as part of a structured strategy.
Combine this tool with your price action knowledge for best results.
Correlation Coefficient with MA & BB中文版介紹
相關係數、移動平均線與布林帶指標 (Correlation Coefficient with MA & BB)
這個 Pine Script 指標是一款強大的工具,旨在幫助交易者和投資者深入分析兩個市場標的之間的關係強度與方向,並結合移動平均線 (MA) 和布林帶 (BB) 來進一步洞察這種關係的趨勢和波動性。
無論您是想尋找配對交易機會、管理投資組合風險,還是僅僅想更好地理解市場動態,這個指標都能提供有價值的見解。
指標特色與功能:
動態相關係數計算:
您可以選擇任何您想比較的股票、商品或加密貨幣代號(例如,預設為 GOOG)。
指標會自動計算當前圖表(主數據源,預設為收盤價)與您指定標的之間的相關係數。
相關係數值介於 -1 (完美負相關) 至 1 (完美正相關) 之間,0 表示無線性關係。
視覺化呈現相關係數線,並標示 1、0、-1 參考水平線,同時填充完美相關區間,讓您一目了然。
特別之處:程式碼中包含了 ticker.modify,確保比較標的數據考慮了股息調整或延長交易時段,使相關性分析更加精準。
相關係數的移動平均線 (MA):
為了平滑相關係數的短期波動,指標提供了多種移動平均線類型供您選擇,包括:SMA、EMA、WMA、SMMA。
您可以設定計算 MA 的週期長度(預設 20 週期)。
這條 MA 線有助於識別相關係數的長期趨勢,判斷兩者關係是趨於增強還是減弱。
相關係數的布林帶 (BB):
將布林帶應用於相關係數,以衡量其波動性和相對高低水平。
中軌與您選擇的移動平均線保持一致。
上軌和下軌則根據相關係數的標準差和您設定的 Z 值(預設 2.0 倍標準差)動態調整。
布林帶可以幫助您識別相關係數何時處於極端水平,可能預示著未來會回歸均值。
如何運用這個指標?
配對交易策略:當兩個通常高度相關的資產,其相關係數短期內顯著偏離平均水平(例如,一個資產價格上漲而另一個原地踏步),您可能可以考慮利用此「失衡」進行配對交易。
投資組合多元化:了解不同資產之間的相關性,有助於構建更穩健的投資組合,避免過度集中於同向變動的資產,有效分散風險。
市場趨勢洞察:透過觀察相關係數的趨勢和波動,您可以更好地理解不同市場板塊或資產類別之間的聯動性,為您的宏觀經濟分析提供數據支持。
請注意,相關性不等於因果性。使用此指標時,請結合您的整體交易策略、宏觀經濟分析以及其他技術指標進行綜合判斷。
English Version Introduction
Correlation Coefficient with Moving Average & Bollinger Bands Indicator (Correlation Coefficient with MA & BB)
This Pine Script indicator is a powerful tool designed to help traders and investors deeply analyze the strength and direction of the relationship between two market instruments. It integrates Moving Averages (MA) and Bollinger Bands (BB) to further insight into the trend and volatility of this relationship.
Whether you're looking for pair trading opportunities, managing portfolio risk, or simply aiming to better understand market dynamics, this indicator can provide valuable insights.
Indicator Features & Functionality:
Dynamic Correlation Coefficient Calculation:
You can select any symbol you wish to compare (e.g., default is GOOG), be it stocks, commodities, or cryptocurrencies.
The indicator automatically calculates the correlation coefficient between the current chart (main data source, default is close price) and your specified symbol.
Correlation values range from -1 (perfect negative correlation) to 1 (perfect positive correlation), with 0 indicating no linear relationship.
It visually plots the correlation line, marks 1, 0, -1 reference levels, and fills the perfect correlation zone for clear visualization.
Special Feature: The code includes ticker.modify, ensuring that the comparative symbol's data accounts for dividend adjustments or extended trading hours, leading to more precise correlation analysis.
Moving Average (MA) for Correlation:
To smooth out short-term fluctuations in the correlation coefficient, the indicator offers multiple MA types for you to choose from: SMA, EMA, WMA, SMMA.
You can set the length of the MA period (default 20 periods).
This MA line helps identify the long-term trend of the correlation coefficient, indicating whether the relationship between the two instruments is strengthening or weakening.
Bollinger Bands (BB) for Correlation:
Bollinger Bands are applied to the correlation coefficient itself to gauge its volatility and relative high/low levels.
The middle band aligns with your chosen Moving Average.
The upper and lower bands dynamically adjust based on the correlation coefficient's standard deviation and your set Z-score (default 2.0 standard deviations).
Bollinger Bands can help you identify when the correlation coefficient is at extreme levels, potentially signaling a future reversion to the mean.
How to Utilize This Indicator:
Pair Trading Strategies: When two typically highly correlated assets show a significant short-term deviation from their average correlation (e.g., one asset's price rises while the other stagnates), you might consider exploiting this "imbalance" for pair trading.
Portfolio Diversification: Understanding the correlation between different assets helps build a more robust investment portfolio, preventing over-concentration in co-moving assets and effectively diversifying risk.
Market Trend Insight: By observing the trend and volatility of the correlation coefficient, you can better understand the联动 (interconnectedness) between different market sectors or asset classes, providing data support for your macroeconomic analysis.
Please note that correlation does not imply causation. When using this indicator, combine it with your overall trading strategy, macroeconomic analysis, and other technical indicators for comprehensive decision-making.
Momentum Candle V2 by Sekolah Trading📌 Momentum Candle V2 by Sekolah Trading – Pair-Based Volatility & Wick Ratio Filter
This script provides a structured and adaptive approach to detecting high-probability momentum candles in intraday markets. It dynamically adjusts pip thresholds and wick filtering conditions based on the selected symbol and timeframe, making it highly practical for real-time trading.
🔍 Concept and Originality
Momentum Candle V2 by Sekolah Trading implements a custom-built methodology combining:
Dynamic Pip Calibration
For each supported instrument (e.g., XAUUSD, USDJPY, GBPUSD, AUDUSD, EURUSD, BTCUSD), the user can define a pip threshold that determines the minimum valid body size for momentum candles. These thresholds are tailored for each pair and timeframe (M5, M15, H1), ensuring the logic adjusts to different volatility profiles.
Wick-to-Body Ratio Filtering
The script filters out candles with large wicks by requiring that total wick length (upper + lower) be no more than 30% of the full candle range. This helps identify decisive candles with minimal rejection.
Directional Validation
Bullish momentum is defined as: Close > Open with a shorter upper wick.
Bearish momentum is: Close < Open with a shorter lower wick.
Real-Time Timing Filter
Alerts are only triggered when the current candle is between 20 and 90 seconds from closing, which reduces noise and encourages confirmation-based entry.
Non-Repainting Logic
All calculations run in real-time with confirmed candles only — no lookahead or future leak.
📊 Visual Output – How to Read the Chart
When the conditions above are met, the script displays triangle markers on the chart:
🔺 Red downward triangle above the candle: valid bearish momentum signal
🔻 Blue upward triangle below the candle: valid bullish momentum signal
These shapes appear on live bars during the final moments of the candle to alert traders to potential confirmed momentum.
🔔 Alert Conditions
Two alert types are provided:
Momentum Bullish: Large bullish candle with small upper wick, during last 20–90s of bar
Momentum Bearish: Large bearish candle with small lower wick, same timing window
Alerts are designed for precision entries at candle close.
🧭 How to Use
Apply the script to a 5m, 15m, or 1h chart.
Configure pip thresholds for your preferred pairs from the input settings.
Watch for triangle markers near the close of each candle:
Blue = potential bullish momentum
Red = potential bearish momentum
Set alerts:
Go to Alerts → Select Momentum Bullish or Momentum Bearish
Frequency: Once Per Bar
Customize message: e.g. “Momentum Bullish on XAUUSD M15”
Combine signals with:
EMA, S/R, or trend filters
Volume/Order Flow
Liquidity zone or breakout context
🛡️ Why This Script Is Closed-Source
This script uses proprietary logic developed by Sekolah Trading, including:
Custom pip calibration engine
Adaptive wick filtering
Real-time entry validation with triangle plots
While the code is protected, the methodology has been explained transparently here in accordance with TradingView publishing rules.
⚠️ Disclaimer
This script is provided for educational and technical analysis purposes only.
It does not guarantee results or provide financial advice. Always verify trades with your own strategy and risk controls.
Author: Sekolah Trading
Version: Momentum Candle V2
Built with Pine Script v6
StratNinjaTableThe StratNinjaTable is a comprehensive technical analysis tool for TradingView designed to provide traders with a multi-timeframe overview of a security's performance and key metrics in a single, customizable table.
This indicator is built around "The Strat" candlestick methodology, which focuses on inside bars (1), trending bars (2U for up, 2D for down), and outside bars (3). It displays this information across multiple, user-selected timeframes simultaneously, from minutes to yearly charts.
Key Features
Multi-Timeframe "Strat" Analysis: The core of the indicator is a table that shows the current "Strat" number (1, 2U, 2D, or 3) and the directional bias (▲ for up, ▼ for down) for each selected timeframe. This allows for a quick assessment of market structure and potential setups across different chart periods.
Customizable Timeframe Selection: Users can easily select which timeframes they want to monitor, including standard intervals like 5-minute, 15-minute, hourly, daily, weekly, and monthly charts.
Comprehensive Data Table: Beyond the "Strat" analysis, the indicator populates a detailed table with essential market data:
Ticker Information: Displays the current ticker and the chart's timeframe.
Money Flow Index (MFI): Shows the MFI value, with color-coded backgrounds to highlight overbought (>80) and oversold (<20) conditions.
Average True Range (ATR): Provides the ATR value and its percentage relative to the closing price, with color signals for low or high volatility.
Market Cap: Calculates and displays the security's market capitalization.
Sector Information: Shows the sector the security belongs to.
Moving Average Data: Includes the distance of the current price from the 20-day Simple Moving Average (SMA), expressed as a percentage.
Volume: Displays the 30-day average trading volume.
Strat Pattern Prediction: Shows a historical sequence of the last two Strat patterns and a potential future pattern based on the current bar's direction.
Timeframe Countdown: A timer for each timeframe shows how much time is left until the current candle closes.
Customizable Appearance: The indicator offers extensive customization options for the table's position on the screen and the colors used for different "Strat" bar types, allowing users to tailor the visual presentation to their preferences.
In essence, the StratNinjaTable serves as an all-in-one dashboard, enabling traders to quickly gauge market sentiment, identify confluence across timeframes, and access key technical data without cluttering their charts with multiple separate indicators.
NASDAQ Liquidity Breaker Bot1. Define session time (7:20 PM – 7:40 PM BD time / 9:20–9:40 AM EST)
2. Detect 15M swing high/low zones
3. On 1M chart: Detect strong bullish/bearish break
4. Identify breaker candle zone
5. Trigger entry based on break + retest logic
6. Set SL and TP logic (dynamic if needed)
7. Plot everything visually (entries, exits, zones)
Turtle Trading System + ATR Trailing StopIndicator Description: Turtle ATR Trailing Stop
The **Turtle ATR Trailing Stop** is a technical indicator designed to enhance the classic Turtle Trading System by incorporating a dynamic trailing stop based on the Average True Range (ATR). This indicator is ideal for traders seeking to manage risk and lock in profits on both long and short positions in trending markets.
Key Features:
- Turtle Trading Levels: Calculates the 20-day highest high and lowest low to identify potential breakout points, a core principle of the Turtle Trading System.
- ATR-Based Trailing Stop: Utilizes a trailing stop that adjusts dynamically based on a multiple of the ATR (default multiplier: 2.0), providing a volatility-adjusted exit mechanism.
- Position Flexibility: Supports both long and short positions, with the trailing stop positioned below the highest price for long trades and above the lowest price for short trades.
- Smooth Updates: The trailing stop updates on each bar, ensuring a more responsive adjustment to price movements, rather than only on new highs or lows.
- Reset Mechanism: Automatically resets the trailing stop when the price deviates significantly (configurable threshold, default 0.1%), adapting to major trend reversals.
- Alerts: Includes customizable alerts that trigger when the price reaches the trailing stop level, notifying traders of potential exit points.
- Debugging Tools: Features an on-chart debug table displaying ATR, Close, Highest Price, Lowest Price, Potential Stop, and Trailing Stop values for real-time analysis.
How It Works:
- For **Long Positions**: The trailing stop starts below the initial close price (minus 2*ATR) and moves up as the highest price increases, locking in profits while trailing at a fixed ATR distance.
- For **Short Positions**: The trailing stop starts above the initial close price (plus 2*ATR) and moves down as the lowest price decreases, protecting against upward price movements.
- The stop resets if the price falls (for long) or rises (for short) beyond the set threshold, ensuring adaptability to new market conditions.
Customization:
- Period Settings: Adjust the length for highs/lows (default 20) and ATR period (default 14).
- ATR Multiplier: Modify the distance of the trailing stop (default 2.0).
- Reset Threshold: Fine-tune the percentage at which the stop resets (default 0.1%).
- Position Type: Switch between "Long" and "Short" modes via input settings.
Usage:
Apply this indicator to any chart in TradingView, set your preferred parameters, and monitor the trailing stop line (yellow) alongside the Turtle highs (red) and lows (blue). Use the debug table to validate calculations and set alerts to stay informed of stop triggers.
This indicator combines the trend-following strength of the Turtle System with a flexible, ATR-based stop-loss strategy, making it a powerful tool for both manual and automated trading strategies.
Neuracap Gap AnalysisThe Neuracap Gap Analysis indicator is a comprehensive tool designed to identify and track price gaps, special candlestick patterns, and high-volume breakout signals. It combines multiple trading strategies into one powerful indicator for gap trading, pattern recognition, and momentum analysis.
🎯 What This Indicator Does
1. Gap Detection & Tracking
Automatically identifies price gaps (up and down)
Tracks gap fills with visual boxes that extend until closed
Manages gap history with customizable limits
Color-coded visualization (Green = Gap Up, Red = Gap Down)
2. Upside Tasuki Gap Pattern
Identifies the bullish continuation pattern
Colors candles yellow when pattern is detected
Confirms trend continuation signals
3. Episodic Pivot Detection
High-volume breakout identification
EMA filter ensures signals only in uptrends
Strong momentum confirmation
Fuchsia-colored candles with arrow markers
🔍 How to Use for Trading
📈 Gap Trading Strategy
Gap Up Trading:
Wait for gap up (green box appears)
Check volume - Higher volume = stronger signal
Entry options:
Aggressive: Enter at market open
Conservative: Wait for pullback to gap level
Stop loss: Below the gap fill level
Target: Previous resistance or 2:1 risk/reward
Gap Down Trading:
Identify gap down (red box appears)
Look for bounce opportunities
Entry: When price shows reversal signs
Stop: Below recent lows
Target: Gap fill level
💫 Tasuki Gap Strategy
Yellow candle indicates bullish continuation
Confirms uptrend is likely to continue
Entry: On next candle after pattern
Stop: Below the gap low
Target: Next resistance level
🚀 Episodic Pivot Strategy
Fuchsia candle + arrow = High probability breakout
All conditions met:
Price above EMA 20, 50, 200
High volume (2x+ average)
Strong price move (4%+)
Entry: At close or next open
Stop: Below EMA 20 or recent swing low
Target: Measured move or next resistance
📊 Reading the Visual Signals
Gap Boxes
🟢 Green Box: Gap up - potential bullish continuation
🔴 Red Box: Gap down - potential bounce or bearish continuation
Box extends until gap is filled
Box disappears when gap closes
Candle Colors
🟡 Yellow: Tasuki gap pattern (bullish continuation)
🟪 Fuchsia: Episodic pivot (high-volume breakout)
⬜ Normal: No special pattern detected
Arrows & Markers
⬆️ Triangle Arrow: Episodic pivot confirmation
💡 Trading Tips & Best Practices
✅ Do's
Combine with trend analysis - Trade gaps in direction of trend
Check volume - Higher volume = more reliable signals
Use multiple timeframes - Confirm on higher timeframes
Risk management - Always set stop losses
Wait for confirmation - Don't chase, let signals develop
❌ Don'ts
Don't trade all gaps - Focus on high-quality setups
Avoid low volume - Weak volume = unreliable signals
Don't ignore trend - Counter-trend trading is risky
Don't overtrade - Quality over quantity
Don't ignore context - Consider market conditions
⚠️ Risk Management
Position sizing: Risk 1-2% per trade
Stop losses: Always define before entry
Target levels: Set realistic profit targets
Market conditions: Avoid trading in choppy markets
📈 Performance Optimization
For Conservative Traders:
Increase minimum gap size to 1%
Set volume multiplier to 3.0x
Only trade episodic pivots in strong uptrends
Wait for gap fill confirmation
For Aggressive Traders:
Decrease minimum gap size to 0.3%
Set volume multiplier to 1.5x
Trade both gap types
Enter on pattern confirmation
🚨 Alert Setup
The indicator provides alerts for:
Gap Up Detected
Gap Down Detected
Upside Tasuki Gap
Episodic Pivot
Recommended: Enable all alerts and filter manually based on your strategy.
📝 Summary
This indicator excels at identifying high-probability trading opportunities through gap analysis, pattern recognition, and momentum confirmation. Use it as part of a complete trading system with proper risk management for best results.
Bitcoin 12/26 EMA Crossover with ADX Filter [5min Intraday]A trend-following strategy for Bitcoin on a 5-minute intraday chart, using 12/26 EMA crossovers with ADX and volume filters to reduce false signals in ranging markets.
Key Features:
Entries: Long: 12 EMA crosses above 26 EMA, ADX > 25, volume > 1.5x 20-period average.
Short: 12 EMA crosses below 26 EMA, ADX > 25, volume > 1.5x 20-period average.
Exits: Long: 2% stop loss or 12 EMA crosses below 26 EMA.
Short: 2% stop loss, 3% take profit, or 12 EMA crosses above 26 EMA.
Filters: ADX (14-period) > 25 ensures trending markets; volume filter confirms strong participation.
Price Deviation Table by ZonkeyXLProvides a 30 column table showing price deviation per bar close, highlighting larger deviations in red (downside) or green (upside).
Deviations that get highlighted in red/green are calculated to be 2x the amount of price movement in the previous candle, but can be customised to check any deviation size you want in the options panel.
Can be used on any timeframe but you need to specify the number of bars per table column to make it accurate to what you want.
Examples:
If used on the 1 second time frame you could specify bars to 1 and then each column value will check the price as at close on the most recent second for deviations against the close of price on the second prior, showing comparisons up to 30 seconds.
If on the 1 minute time-frame you could specify bars to 2 and then each column value would show deviations from most recent price close to 2 minutes ago, making all 30 columns show deviations for up to an hour.
At the end of the column are 3 orange coloured columns. The first one compares price to 10 bars ago. The second compares current price to 20 bars ago. The 3rd compares current price to 30 bars ago.
In our example on the 1 second above, this would mean deviation is calculated by comparing most recent close to 10 seconds ago, then to 20 seconds ago, and then to 30 seconds ago. The final 3 columns do not highlight red or green, so you can differentiate them properly from the main deviation columns at all times.
Note that the table is rolling - so once it is populated for the first time, only the final column will update while the prior values will shift one column to the left.
Delta Volume BubblesDelta Volume Bubbles
Overview
The Delta Volume Bubbles indicator is an advanced order flow visualization tool that displays buying and selling pressure through dynamic bubble representations on your chart. Unlike traditional volume indicators that only show total volume, this indicator calculates the net delta volume (difference between buying and selling volume) and presents it as color-coded bubbles of varying sizes.
How It Works
Core Calculation Method
The indicator uses a sophisticated approach to estimate delta volume from standard OHLCV data:
1. Price Action Analysis: Analyzes the relationship between open, high, low, and close prices to determine market aggression
2. Body Ratio Calculation: body_ratio = |close - open| / (high - low)
3. Aggressive Factor: Applies multipliers based on price action:
- Strong moves (body_ratio > 0.7): 1.5x multiplier
- Moderate moves (body_ratio > 0.4): 1.2x multiplier
- Weak moves: 1.0x multiplier
4. Delta Volume Estimation:
- Buy Volume: price_change > 0 ? volume × aggressive_factor : 0
- Sell Volume: price_change < 0 ? volume × aggressive_factor : 0
- Net Delta: buy_volume - sell_volume
5. Delta Strength Normalization: delta_strength = |net_delta| / sma(volume, 20)
Percentile-Based Filtering
The indicator uses percentile filtering instead of fixed thresholds, making it adaptive to market conditions:
- Bubble Filter: Only shows bubbles when volume exceeds the specified percentile (default: 60%)
- Label Filter: Only displays numbers when volume exceeds a higher percentile (default: 90%)
- Dynamic Adaptation: Automatically adjusts to changing market volatility
Visual Elements
Bubble Sizes
- Tiny: Delta strength < 0.3
- Small: Delta strength 0.3 - 0.7
- Normal: Delta strength 0.7 - 1.2
- Large: Delta strength 1.2 - 2.0
- Huge: Delta strength > 2.0
Color Coding
- Aggressive Buy (Bright Green): Strong buying pressure with high body ratio
- Aggressive Sell (Bright Red): Strong selling pressure with high body ratio
- Passive Buy (Light Green): Moderate buying pressure
- Passive Sell (Light Red): Moderate selling pressure
Intensity Mode
Alternative coloring based on delta strength rather than flow direction:
- Gray: Low intensity (< 0.5)
- Blue: Medium intensity (0.5 - 1.0)
- Orange: High intensity (1.0 - 2.0)
- Red: Extreme intensity (> 2.0)
Parameters
Order Flow Settings
- Show Bubbles: Toggle bubble display on/off
- Bubble Volume %ile: Percentile threshold for bubble display (0-100%)
- Intensity Mode: Switch between flow-based and intensity-based coloring
Bubble Labels
- Show Numbers in Bubbles: Toggle numerical labels on/off
- Label Volume %ile: Higher percentile threshold for label display (0-100%)
Numbers are displayed in K-notation (e.g., 25000 → 25K, 1500000 → 1.5M) for better readability.
Ideal Usage Scenarios
Best Market Conditions
- High volume sessions: More accurate delta calculations
- Trending markets: Clear directional flow identification
- Breakout scenarios: Spot aggressive buying/selling at key levels
- Support/resistance testing: Identify accumulation vs distribution
Trading Applications
1. Entry Timing: Look for aggressive flow in your trade direction
2. Exit Signals: Watch for opposing aggressive flow
3. Trend Confirmation: Consistent flow direction confirms trends
4. Volume Climax: Huge bubbles may indicate exhaustion points
Optimization Tips
Parameter Adjustment
- Lower percentiles (40-60%): More bubbles, good for active markets
- Higher percentiles (70-90%): Fewer bubbles, focus on significant events
- Label percentile: Set 20-30% higher than bubble percentile for clarity
Visual Optimization
- Intensity mode: Better for identifying unusual volume spikes
- Flow mode: Better for directional bias analysis
- Label toggle: Turn off in crowded markets, on for key levels
Limitations
- Estimation-based: Uses approximation algorithms, not true order flow data
- Volume dependency: Requires accurate volume data to function properly
- Timeframe sensitivity: Works best on intraday timeframes with active volume
- Market hours: Most effective during high-volume trading sessions
Technical Notes
The indicator implements advanced Pine Script features including:
- Dynamic percentile calculations using ta.percentile_linear_interpolation()
- Conditional plotting with multiple size categories
- Custom number formatting functions
- Efficient label management to prevent display limits
This tool is designed for traders who want to understand the underlying buying and selling pressure beyond simple volume analysis, providing insights into market sentiment and potential turning points.