Adaptive Donchian ChannelThis indicator adds a level of adaptivity to the simple Donchian Channel by adjusting the sensitivity (lookback periods) of the channel's upper and lower bounds based on the amount of time that has elapsed since the price has hit/expanded the channel boundaries. Comparing the results of this indicator to the standard Donchian Channel, the readier level of responsiveness may prove self-evident.
METHODOLOGY:
Specifically, the more recently the channel was expanded in one direction, the longer the lookback period grows in that direction. Conversely, if the channel has not been expanded in a given direction, the lookback period will contract so as to allow for a tighter channel.
For example, let the initial lookback period be 20 bars and let the factor argument be 0.1 (or 2 bars to start, as 20*0.1 = 2). Now say the current bar sets a new 20-period high. Then the lookback period for the upper bound is expanded by 2 bars to 22, and the lookback period for the lower bound is contracted by 2 bars to 18, thereby making it simultaneously harder to set new highs and easier to set new lows (and vice versa for hitting new lows). If neither a new high nor a new low is formed, both periods contract by the given factor.
在腳本中搜尋"20蒙古币兑换人民币"
TonyUX EMA Scalper - Buy / SellThis is a simple scalping strategy that works for all time frames... I have only tested it on FOREX
It works by checking if the price is currently in an uptrend and if it crosses the 20 EMA.
If it crosses the 20 EMA and its in and uptrend it will post a BUY SIGNAL.
If it crosses the 20 EMA and its in and down it will post a SELL SIGNAL.
The red line is the highest close of the previous 8 bars --- This is resistance
The green line is the lowest close of the previous 8 bars -- This is support
EMA_ConvergenceFirst I have to give kudos to my son who I asked to take a shot at creating this little indicator. Nice work son!
While trading, one of the things I look for is when price or certain EMA's approach another EMA. The example that I use on this 1 minute SPY chart is an 8 EMA and 20 EMA. I am looking for when the 8 and 20 are within' 3 cents of each other. Many times when they are getting close, price is approaching a top or bottom. I am looking for a candlestick reversal around that area. You may want to know when PRICE is near the 50 EMA: Use EMA 1 and 50 for that. Having it light up on top of the page, or elsewhere, makes it easier to look for the convergence when it occurs. If it lights up for a long period, price may be going sideways. I don't enter into a trade until the EMA starts separating, usually with another candlestick formation.
You are able to change the distance for convergence and two EMA's. Unfortunately you will have to adjust the convergence number up as you increase in time frames. This is designed to see when they are close, not when they cross.
The bars on top of this example are lit up purple due to the 8 and 20 EMA are within' 3 cents of each other.
If you want to overlay the price bars, instead of having it separate, just change overlay to "true"
Enjoy.
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.*
Burner RSI)RSI Dots that go above below candle body's. Giving a visual representation of the RSI.
Customizable dots and colours.
Current settings are.
rsiExtremeHigh = rsi >= 90
rsiOverbought = rsi >= 80 and rsi < 90
rsiCautionHigh = rsi >= 75 and rsi < 80
rsiExtremeLow = rsi <= 10
rsiOversold = rsi <= 20 and rsi > 10
rsiCautionLow = rsi > 20 and rsi <= 25
Dema Entry FRAMA Exit VTECDual-Timeframe Trend Strategy
This strategy combines a 20-hour DEMA Supertrend with a 1-day FRAMA to capture strong market trends with fast entries and high-confidence exits.
Key Components
DEMA Supertrend (20H): Triggers quick entries to catch early trend momentum.
FRAMA (1D): Confirms major trends, ensuring profitable exits.
ATR Filter (1D): Sets precise entry/exit bands using Average True Range.
Gaussian Filter (1D): Smooths price data for reliable FRAMA signals.
Trading Rules
Entry: Enter long if DEMA Supertrend (20H) or FRAMA (1D) signals bullish.
Exit: Exit long if DEMA Supertrend (20H) or FRAMA (1D) signals bearish.
Flow: DEMA typically enters first, FRAMA confirms, and either closes the trade.
Best Markets
Ideal for trending markets
Use on a 1-day chart with 20-hour DEMA data.
Best for 24/7 markets; check compatibility for stocks.
This strategy balances speed and precision for high-profit trades with disciplined risk control.
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.
Trend Reversal ConfluenceThe "Trend Reversal Confluence Indicator" I just made is designed to identify potential trend reversals by looking for a strong alignment (confluence) of signals from three different technical indicators:
MACD (Moving Average Convergence Divergence): This indicator is used to detect shifts in momentum.
A bullish MACD signal occurs when the MACD line crosses above its signal line.
A bearish MACD signal occurs when the MACD line crosses below its signal line.
Stochastic Oscillator: This momentum indicator identifies overbought and oversold conditions, as well as potential shifts in momentum.
A bullish Stochastic signal is typically a crossover of the %K line above the %D line, especially when both are coming out of oversold territory (below 20).
A bearish Stochastic signal is a crossover of the %K line below the %D line, especially when both are coming out of overbought territory (above 80).
ADX (Average Directional Index): This indicator measures the strength of a trend.
For reversal signals, the indicator looks for the ADX to be below a certain threshold (e.g., 25 by default). This suggests that the current trend is weak or the market is ranging, making it a more opportune time for a reversal to occur rather than a continuation of a strong trend.
How Confluence is Defined (Simplified for Debugging):
Currently, for debugging purposes, the indicator's confluence for a signal is simplified to:
Bullish Reversal: When the MACD line crosses above its signal line AND the Stochastic %K line crosses above its %D line.
Bearish Reversal: When the MACD line crosses below its signal line AND the Stochastic %K line crosses below its %D line.
Original Confluence (Commented Out in the Code):
The original, more stringent confluence conditions (which are currently commented out in the Canvas but can be reactivated) also included:
For Bullish Reversal: The Stochastic %K and %D lines also needed to be below the oversold level (e.g., 20) when the crossover occurred, and the ADX needed to be below the adxThreshold.
For Bearish Reversal: The Stochastic %K and %D lines also needed to be above the overbought level (e.g., 80) when the crossover occurred, and the ADX needed to be below the adxThreshold.
When these combined conditions are met, the indicator plots "Reversal Up" (▲) or "Reversal Down" (▼) labels directly on your chart, indicating a strong confluence of factors suggesting a potential trend change. You can also see the individual indicator plots (MACD, Stochastic, ADX) on separate panes to understand the components of the signal.
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.
Market Strenght PRO by javicdc
💥 Market Strength PRO by javicdc
Who's dominating the market right now?
This indicator gives you the answer in real time using a custom system to measure buying and selling pressure, filtered by EMA 200 and RSI 14 to highlight only the most reliable market moments.
✅ What does this indicator offer?
🔹 Dynamic calculation of market strength based on volume and candle body size
🔹 Visual zones in green or red based on buyer/seller dominance
🔹 Top diagnostic label with clear readings:
🟢 Extreme Buy – ✅ Buyer Dominance – 🔻 Seller Dominance – 🔴 Extreme Sell
🔹 Dynamic background that adjusts with the real market strength
🔹 Smart filter mode: only displays values when trend confirmation is valid (via RSI & EMA200)
🔹 Customizable: choose between SMA or EMA smoothing and toggle filter mode on/off
🧪 How to interpret it?
Strength > 50 → strong buying pressure
Strength < -50 → strong selling pressure
Between -20 and +20 → neutral or indecision zone
The filters ensure signals only appear with true trend confirmation, reducing false positives.
📈 Ideal for:
Scalping, intraday or swing trading across all assets: Forex, crypto, indices or stocks.
Works on all timeframes.
📌 Created by Javier Carrasco (@javicdc) — if you find it useful, don’t forget to like and follow for more technical analysis tools.
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.
DIVAP RSI by:TMThe DIVAP RSI by:TM is a precision-focused RSI-based indicator designed to identify high-confidence entry and exit points. It uses a faster RSI (length 7) combined with extended levels (20 and 80) to capture momentum reversals at extreme zones.
✅ Green arrows signal entries when RSI crosses above 20 (exit from oversold)
✅ Red arrows signal exits when RSI crosses below 80 (exit from overbought)
This minimalist tool is ideal for traders who prefer clean chart setups with clear, timely alerts.
🔧 This is a test version and is actively being improved. Feedback is welcome!
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.