Why EMA Isn't What You Think It IsMany new traders adopt the Exponential Moving Average (EMA) believing it's simply a "better Simple Moving Average (SMA)". This common misconception leads to fundamental misunderstandings about how EMA works and when to use it.
EMA and SMA differ at their core. SMA use a window of finite number of data points, giving equal weight to each data point in the calculation period. This makes SMA a Finite Impulse Response (FIR) filter in signal processing terms. Remember that FIR means that "all that we need is the 'period' number of data points" to calculate the filter value. Anything beyond the given period is not relevant to FIR filters – much like how a security camera with 14-day storage automatically overwrites older footage, making last month's activity completely invisible regardless of how important it might have been.
EMA, however, is an Infinite Impulse Response (IIR) filter. It uses ALL historical data, with each past price having a diminishing - but never zero - influence on the calculated value. This creates an EMA response that extends infinitely into the past—not just for the last N periods. IIR filters cannot be precise if we give them only a 'period' number of data to work on - they will be off-target significantly due to lack of context, like trying to understand Game of Thrones by watching only the final season and wondering why everyone's so upset about that dragon lady going full pyromaniac.
If we only consider a number of data points equal to the EMA's period, we are capturing no more than 86.5% of the total weight of the EMA calculation. Relying on he period window alone (the warm-up period) will provide only 1 - (1 / e^2) weights, which is approximately 1−0.1353 = 0.8647 = 86.5%. That's like claiming you've read a book when you've skipped the first few chapters – technically, you got most of it, but you probably miss some crucial early context.
▶️ What is period in EMA used for?
What does a period parameter really mean for EMA? When we select a 15-period EMA, we're not selecting a window of 15 data points as with an SMA. Instead, we are using that number to calculate a decay factor (α) that determines how quickly older data loses influence in EMA result. Every trader knows EMA calculation: α = 1 / (1+period) – or at least every trader claims to know this while secretly checking the formula when they need it.
Thinking in terms of "period" seriously restricts EMA. The α parameter can be - should be! - any value between 0.0 and 1.0, offering infinite tuning possibilities of the indicator. When we limit ourselves to whole-number periods that we use in FIR indicators, we can only access a small subset of possible IIR calculations – it's like having access to the entire RGB color spectrum with 16.7 million possible colors but stubbornly sticking to the 8 basic crayons in a child's first art set because the coloring book only mentioned those by name.
For example:
Period 10 → alpha = 0.1818
Period 11 → alpha = 0.1667
What about wanting an alpha of 0.17, which might yield superior returns in your strategy that uses EMA? No whole-number period can provide this! Direct α parameterization offers more precision, much like how an analog tuner lets you find the perfect radio frequency while digital presets force you to choose only from predetermined stations, potentially missing the clearest signal sitting right between channels.
Sidenote: the choice of α = 1 / (1+period) is just a convention from 1970s, probably started by J. Welles Wilder, who popularized the use of the 14-day EMA. It was designed to create an approximate equivalence between EMA and SMA over the same number of periods, even thought SMA needs a period window (as it is FIR filter) and EMA doesn't. In reality, the decay factor α in EMA should be allowed any valye between 0.0 and 1.0, not just some discrete values derived from an integer-based period! Algorithmic systems should find the best α decay for EMA directly, allowing the system to fine-tune at will and not through conversion of integer period to float α decay – though this might put a few traditionalist traders into early retirement. Well, to prevent that, most traditionalist implementations of EMA only use period and no alpha at all. Heaven forbid we disturb people who print their charts on paper, draw trendlines with rulers, and insist the market "feels different" since computers do algotrading!
▶️ Calculating EMAs Efficiently
The standard textbook formula for EMA is:
EMA = CurrentPrice × alpha + PreviousEMA × (1 - alpha)
But did you know that a more efficient version exists, once you apply a tiny bit of high school algebra:
EMA = alpha × (CurrentPrice - PreviousEMA) + PreviousEMA
The first one requires three operations: 2 multiplications + 1 addition. The second one also requires three ops: 1 multiplication + 1 addition + 1 subtraction.
That's pathetic, you say? Not worth implementing? In most computational models, multiplications cost much more than additions/subtractions – much like how ordering dessert costs more than asking for a water refill at restaurants.
Relative CPU cost of float operations :
Addition/Subtraction: ~1 cycle
Multiplication: ~5 cycles (depending on precision and architecture)
Now you see the difference? 2 * 5 + 1 = 11 against 5 + 1 + 1 = 7. That is ≈ 36.36% efficiency gain just by swapping formulas around! And making your high school math teacher proud enough to finally put your test on the refrigerator.
▶️ The Warmup Problem: how to start the EMA sequence right
How do we calculate the first EMA value when there's no previous EMA available? Let's see some possible options used throughout the history:
Start with zero : EMA(0) = 0. This creates stupidly large distortion until enough bars pass for the horrible effect to diminish – like starting a trading account with zero balance but backdating a year of missed trades, then watching your balance struggle to climb out of a phantom debt for months.
Start with first price : EMA(0) = first price. This is better than starting with zero, but still causes initial distortion that will be extra-bad if the first price is an outlier – like forming your entire opinion of a stock based solely on its IPO day price, then wondering why your model is tanking for weeks afterward.
Use SMA for warmup : This is the tradition from the pencil-and-paper era of technical analysis – when calculators were luxury items and "algorithmic trading" meant your broker had neat handwriting. We first calculate an SMA over the initial period, then kickstart the EMA with this average value. It's widely used due to tradition, not merit, creating a mathematical Frankenstein that uses an FIR filter (SMA) during the initial period before abruptly switching to an IIR filter (EMA). This methodology is so aesthetically offensive (abrupt kink on the transition from SMA to EMA) that charting platforms hide these early values entirely, pretending EMA simply doesn't exist until the warmup period passes – the technical analysis equivalent of sweeping dust under the rug.
Use WMA for warmup : This one was never popular because it is harder to calculate with a pencil - compared to using simple SMA for warmup. Weighted Moving Average provides a much better approximation of a starting value as its linear descending profile is much closer to the EMA's decay profile.
These methods all share one problem: they produce inaccurate initial values that traders often hide or discard, much like how hedge funds conveniently report awesome performance "since strategy inception" only after their disastrous first quarter has been surgically removed from the track record.
▶️ A Better Way to start EMA: Decaying compensation
Think of it this way: An ideal EMA uses an infinite history of prices, but we only have data starting from a specific point. This creates a problem - our EMA starts with an incorrect assumption that all previous prices were all zero, all close, or all average – like trying to write someone's biography but only having information about their life since last Tuesday.
But there is a better way. It requires more than high school math comprehension and is more computationally intensive, but is mathematically correct and numerically stable. This approach involves compensating calculated EMA values for the "phantom data" that would have existed before our first price point.
Here's how phantom data compensation works:
We start our normal EMA calculation:
EMA_today = EMA_yesterday + α × (Price_today - EMA_yesterday)
But we add a correction factor that adjusts for the missing history:
Correction = 1 at the start
Correction = Correction × (1-α) after each calculation
We then apply this correction:
True_EMA = Raw_EMA / (1-Correction)
This correction factor starts at 1 (full compensation effect) and gets exponentially smaller with each new price bar. After enough data points, the correction becomes so small (i.e., below 0.0000000001) that we can stop applying it as it is no longer relevant.
Let's see how this works in practice:
For the first price bar:
Raw_EMA = 0
Correction = 1
True_EMA = Price (since 0 ÷ (1-1) is undefined, we use the first price)
For the second price bar:
Raw_EMA = α × (Price_2 - 0) + 0 = α × Price_2
Correction = 1 × (1-α) = (1-α)
True_EMA = α × Price_2 ÷ (1-(1-α)) = Price_2
For the third price bar:
Raw_EMA updates using the standard formula
Correction = (1-α) × (1-α) = (1-α)²
True_EMA = Raw_EMA ÷ (1-(1-α)²)
With each new price, the correction factor shrinks exponentially. After about -log₁₀(1e-10)/log₁₀(1-α) bars, the correction becomes negligible, and our EMA calculation matches what we would get if we had infinite historical data.
This approach provides accurate EMA values from the very first calculation. There's no need to use SMA for warmup or discard early values before output converges - EMA is mathematically correct from first value, ready to party without the awkward warmup phase.
Here is Pine Script 6 implementation of EMA that can take alpha parameter directly (or period if desired), returns valid values from the start, is resilient to dirty input values, uses decaying compensator instead of SMA, and uses the least amount of computational cycles possible.
// Enhanced EMA function with proper initialization and efficient calculation
ema(series float source, simple int period=0, simple float alpha=0)=>
// Input validation - one of alpha or period must be provided
if alpha<=0 and period<=0
runtime.error("Alpha or period must be provided")
// Calculate alpha from period if alpha not directly specified
float a = alpha > 0 ? alpha : 2.0 / math.max(period, 1)
// Initialize variables for EMA calculation
var float ema = na // Stores raw EMA value
var float result = na // Stores final corrected EMA
var float e = 1.0 // Decay compensation factor
var bool warmup = true // Flag for warmup phase
if not na(source)
if na(ema)
// First value case - initialize EMA to zero
// (we'll correct this immediately with the compensation)
ema := 0
result := source
else
// Standard EMA calculation (optimized formula)
ema := a * (source - ema) + ema
if warmup
// During warmup phase, apply decay compensation
e *= (1-a) // Update decay factor
float c = 1.0 / (1.0 - e) // Calculate correction multiplier
result := c * ema // Apply correction
// Stop warmup phase when correction becomes negligible
if e <= 1e-10
warmup := false
else
// After warmup, EMA operates without correction
result := ema
result // Return the properly compensated EMA value
▶️ CONCLUSION
EMA isn't just a "better SMA"—it is a fundamentally different tool, like how a submarine differs from a sailboat – both float, but the similarities end there. EMA responds to inputs differently, weighs historical data differently, and requires different initialization techniques.
By understanding these differences, traders can make more informed decisions about when and how to use EMA in trading strategies. And as EMA is embedded in so many other complex and compound indicators and strategies, if system uses tainted and inferior EMA calculatiomn, it is doing a disservice to all derivative indicators too – like building a skyscraper on a foundation of Jell-O.
The next time you add an EMA to your chart, remember: you're not just looking at a "faster moving average." You're using an INFINITE IMPULSE RESPONSE filter that carries the echo of all previous price actions, properly weighted to help make better trading decisions.
EMA done right might significantly improve the quality of all signals, strategies, and trades that rely on EMA somewhere deep in its algorithmic bowels – proving once again that math skills are indeed useful after high school, no matter what your guidance counselor told you.
Komut dosyalarını "trendline" için ara
Plyo Tap'n'Slap (TnS) by OutOfOptionsThe Model
This Strategy/Model takes advantage of the strongest trend signature in the market, which is also the most basic move in the market. This basic move is what most traders consider to be a staircase, or trendline. ICT traders call this setup a “unicorn” which is just another word for when an Order block overlaps with an FVG. The beauty of this model is that you don't need to know what ANY of these things are.
The entry comes when a candles High or Low overlaps with a FVG that is at least 3 points away from both edges of the FVG. If the candle is too close to the edge then the setups is invalid (see rules for more). TO find a candle that overlaps with the FVG it also can not cut through any other price action, for example, A potential entry cant cut through another wick to make it overlap with the FVG. (see rules for more)
TnS gets its TP by analyzing what is called the "OG TP" The OG TP is determined by looking for the first tapped into the FVG, then looking for an immediate High or Low to the left of the candle that first tapped the FVG. IF there is no immediate High or low next to the candle that first tapped the FVG, then target the candle itself (see rules for more). IF the "OG TP" has already been hit before TnS gets its entry, then look to the left of the TnS entry candle for the immediate High or Low next to it. If there is no immediate High or Low next to the TnS Entry candle, then target the Entry candles, High or Low (see rules for more)
Model Rules
Overlapping H/L MUST be at least 3 points away from both edges of the FVG,
Overlapping H/L cannot cut through PA to make it overlap with the FVG,
Entries can only be the highest overlapping high or the lowest overlapping low,
If TnS Has already played out within the FVG then it should no longer be used,
If the FVGs OG TP has already been hit then use the TnS entry to re-align for your target,
No using NWOGs/NDOGs for setups. A NWOG is NOT the same thing as an FVG so this example
V2 Rules
If its a Bullish FVG then you need a bearish candle H/L that overlaps for your entry
If its a Bearish FVG then you need a bullish candle H/L that overlaps for your entry
Indicator Functionality
The indicator uses specific logic to identify FVGs that match the requirements of the TnS model, ensuring at least one valid entry exists per the default V1 rules of the model, or the stricter V2 rules if configured via settings. If entries (up to 2 per model rules) are identified, the FVG is highlighted, and each entry and its stop loss is marked with a line. The line styles, colors, and FVG color, which can vary depending on whether the entry is bullish or bearish, are configurable via settings.
Once the FVG is tapped into, the indicator will highlight the take profit spot and list all applicable entries, stop losses, and take profits in a table, the position and presence of which can be controlled within the indicator settings. When price action hits either stop loss or take profit, all elements are removed from the chart to avoid clutter.
Additionally, the indicator allows filtering of entries based on Risk/Reward (R:R), filtering out entries where take profit is less than the model stop loss and entries for which the stop loss resides inside the FVG itself. To help visualize setups where the FVG is outside the current visual range, the indicator has options to extend the FVG box and lines by a configurable number of bars. Once the FVG is tapped, the indicator will automatically extend lines/FVG box to the bar that tapped the FVG plus the configured number of bars.
Precision LevelsThis open-source Support and Resistance Indicator helps traders plot key price levels where the market may reverse or consolidate. By plotting support and resistance zones based on historical price action, it provides clear visual cues for potential entry and exit points across various timeframes.
Customizable Settings: Adjust visual styles to suit your trading strategy.
Multi-Timeframe Support: View and plot levels from higher timeframes using the monthly and weekly levels.
User-Friendly: Lightweight design with clear plotting for easy integration into any setup.
How It Works:
The indicator plots simple Support and resistance. Zones are labeled monthly, weekly, and daily
Usage:
Apply the indicator to your chart.
Enter a value for each support and resistance level. Drag and Adjust on the chart to your liking.
Use the plotted levels to identify potential reversals, breakouts, or stop-loss placements.
Combine with other tools (e.g., trendlines or oscillators) for confirmation.
Note: This is the open-source version of my previously protected Support and Resistance Indicator. The protected version is flagged and hidden from community and no longer maintained. Feel free to explore and modify the code to fit your needs! For feedback or suggestions, leave a comment below or message me direct.
AQPRO Pattern Map
📝 INTRODUCTION
AQPRO Pattern Map is a comprehensive trading tool designed to automate the detection of 27 most popular candlestick patterns across any financial asset, making it a powerful tool for traders who use strategies, which are based on candlestick patterns.
This indicator not only identifies candlestick patterns but also incorporates multi-timeframe (MTF) analysis , risk management tools like Take-Profit (TP) and Stop-Loss (SL) , and labeled visual cues for effortless chart reading. Below is the complete list of patterns it supports:
📜 Patterns scanned by the indicator:
One-candle patterns:
Hammer;
Shooting Star;
Marubozu (Bullish/Bearish);
Doji.
Two-candle patterns:
Belt Hold (Bullish/Bearish);
Engulfing (Bullish/Bearish);
Harami (Bullish/Bearish);
Harami Cross (Bullish/Bearish);
Kicker (Bullish/Bearish);
Window (Rising/Falling Gap);
Piercing Line / Dark Cloud Cover.
Three-candle patterns:
Outside Up / Down Bar;
Inside Up / Down Bar;
Morning Star / Evening Star;
Three White Soldiers / Three Black Crows;
Advance Block / Descent Block;
Tasuki Gap (Upside/Downside);
Side-by-Side White Lines.
Multi-candle patterns:
Rising One / Falling One;
Rising Two / Falling Two;
Rising Three / Falling Three;
Rising Four / Falling Four;
Rising Five / Falling Five;
Breakaway Two / Three / Four / Five (Bullish/Bearish);
Fakey (Bullish/Bearish).
With this tool, traders can visually and systematically track key candlestick setups across multiple timeframes simultaneously, making it an all-in-one solution for identifying actionable patterns.
🎯 PURPOSE OF USAGE
The primary goal of the "AQPRO Pattern Map" is to equip traders with a highly efficient way of identifying significant candlestick patterns across different timeframes, making the decision-making process stronger in a sense of both quality and quantity of presented information.
Specifically, this indicator addresses the following needs:
Automation of pattern detection.
Nobody likes searching for patterns on the chart "by hand", because it takes too much time and mental energy. With this screener you can forget about this problem: automatic scanning for 27 of the most commonly used patterns will save your tens, if not hundreds of hours of time, so you can focus on what really matters;
Multi-timeframe (MTF) analysis.
This one is one of the most unique features of this indicator, because after conducting product research in library of open-source scripts alike this screener, almost none of reviewed indicators had MTF analysis feature embedded in them. This feature is important for the simplest of reasons: you see candlestick data from other timeframes without jumping from one timeframe to another . Needless to say how much time it will save for traders over the years of trading. See description below to learn more on exact functionality of our MTF analysis;
Risk management automation.
Humans tend to overestimate risk, when matters are about earning money from "financially-dangerous" activities and trading is no exception. To help traders better understand what they risk, we implemented a simple, yet effective way of displaying levels of risk for each pattern. For each new pattern on the chart you will be able see automatic creation of Take-Profit (TP) and Stop-Loss (SL) levels. It involves creation and displaying of lines and labels, representing each level at its exact coordinates. This elevates visual perception of risk for fellow traders and avoid excessive risk in many cases;
Simplicity in data visualization.
Charts, which are cluttered with pointless visual noise, presented as 'additional confirmation analysis', don't foster insights and are not worth a dime . We understand this issue very well and we designed our indicator with the solution to this problem in mind. Every bit of information, that you will see on your chart, will make sense both technically and visually — no more wasting time cleaning mess on your charts.
By addressing the needs, described above, this indicator will be a useful tool for any trader, who employs principles of candlestick pattern analysis, because most important pains of this kind of analysis are efficiently handled by our indicator.
⚙️ SETTINGS OVERVIEW
Customization options of our indicator are quite extensive, because flexibility in such indicator is in the top of most important qualities. Let's review each group of settings deeper:
📊 Patterns: One-Candle
This group allows you to enable or disable specific onep -candle candlestick patterns.
Toggle on/off switch for Hammer, Shooting Star, Marubozu, and Doji .
📊 Patterns: Two-Candle
This group allows you to enable or disable specific two -candle candlestick patterns.
Toggle on/off switch for Belt Hold, Engulfing, Harami & Harami Cross, Kicker, Window, Piercing Line & Dark Cloud Cover .
📊 Patterns: Three-Candle
This group allows you to enable or disable specific three -candle candlestick patterns.
Toggle on/off switch for Morning Star & Evening Star, Three White Soldiers, Three Black Crows, Advance Block & Descent Block, Tasuki Gap, Side-by-Side Gap (Bullish), Squeeze .
📊 Patterns: Multi-Candle
This group allows you to enable or disable specific multi -candle (3 or more candle) candlestick patterns.
Toggle on/off switch for Rising/Falling sequences, Breakaway patterns, and Fakey .
📊 MTF Settings
These settings allow you to use the Multi-Timeframe Screener to display patterns from additional timeframes.
"Use MTF Screener" — toggles the addition of MTF Screener to main dashboard ( described in 'Visual Settings' ). If enabled, adds section of MTF Screener below main dashboard
* List of four timeframes — your personal list to choose your timeframe, which will be used to get data about latest patterns. Default list of timeframes includes timeframes like 15min, 30min 1hr, 4hr .
* The detected patterns from these timeframes will be displayed in the MTF Dashboard on the chart.
🛡️ Risk Settings
As was described above, risk settings in our indicator will control appearance of TP and SL labels and lines, which appear for each new trade. Here you can customize the most essential parameters.
"Show TP/SL" — toggles the visibility of Take-Profit (TP) and Stop-Loss (SL) values for the most recent pattern.
"Risk-to-Reward Ratio (R:R)" — defines your desired risk/reward ratio for the TP and SL calculations. The more this parameter is, the further the TP from entry level will be.
🎨 Visual Settings
In this group of settings you can fine-tune the visual appearance of the indicator to fit your preferences.
IMPORTANT: colour parameters from this group of settings affect ONLY colours in the dashboard.
"Use info dashboard" — if enabled, shows dashboard in the top right corner of the chart, which displays latest pattern's TP and SL alongside with this pattern's trade status: '⏳' - TP or SL have not been reached yet, '✋' - TP or SL have already been reached already, refrain from taking the trade.
"Bullish Pattern" — defines the color for bullish patterns.
"Bearish Pattern" — defines the color for bearish patterns.
"Neutral Pattern" — specify the color for neutral patterns like Doji.
"Frame Width" — adjusts the thickness of frames highlighting detected patterns on the chart.
📈 APPLICATION GUIDE
The way of application of this indicator is pretty straightforward, because trading methodologies based on candlestick patterns were developed decades ago and haven't changed much since then. However, we find it necessary to explain the most essential ways of application in this section.
Let's start with the basics — how you will your chart look when you load the indicator for the first time:
By default we have 5 main visual data "blocks":
Bullish patterns;
Bearish patterns;
Risk visualization;
Main Dashboard;
MTF Screener.
Let's review each of these groups one by one.
BULLISH & BEARISH PATTERNS
Patterns are displayed as up/down labels, which are styled in corresponding to trend colours. Each patterns has its own unique emoji to help traders easily navigate between patterns.
Also by default each pattern has its custom frame, inside of which resides candle (or multiple candles) of the pattern iself. These frames are made with purpose to show each pattern in a very clear way on the chart, because huge number of public scripts usually only show simple label of such patterns and don't highlight the pattern itself on the chart. To remove frames you can set "Frame Width" parameter to 0 in 'Visual Settings' group in the settings.
You can see the examples of frame on the screenshot below:
RISK VISUALIZATION (TP & SL)
Displaying Take-Profits and Stop-Losses in our indicator on the chart works quite simple: for each new trade indicator creates new pairs of lines and labels for TP and SL, while lines & labels from previous trade are erased for aesthetics purposes. Each label shows price coordinates, so that each trader would be able to grap the numbers in seconds.
See the visual showcase of TP & SL visualization on the screenshot below:
Also, whenever TP or SL of the current trade is reached, drawing of both TP and SL stops . When the TP is reached, additional '✅' emoji on the TP price is shown as confirmation of Take-Profit.
However, while TP or SL has not been reached, TP&SL labels and lines will be prolonged until one of them will be reached or new signals will come.
See the visual showcase of TP & SL stopping being visualized & TP on the screenshot below:
MAIN DASHBOARD
Main dashboard is displayed in the top right corner of the chart and it shows the data of latest pattern, that occurred on the current asset and current timeframe: pattern's name, TP, SL and trade status. Depending on bullishness or bearishness of the pattern, dashboard is colour in respective colour.
Also on the right of side TP and SL data block there is a so called trade status. It is basically an indication of wether or not latest pattern's trade is still active or not:
If TP or SL of the pattern have not been reached yet, trade is considered active and is marked with '⏳' emoji;
If TP or SL of the pattern have already been reached, trade is considered inactive and is marked with '✋' emoji.
See the visual showcase of dashboard on the screenshot below:
MTF Screener
MTF Screener is displayed right below the main dashboard and its has distinctive 'MTF Patterns' header row on the top, painted in gray colour to make sure that every traders understand he is looking at.
This screener shows the timeframe and name of patterns from four other timeframes, which trader can customize in the settings to his liking. This will help trader get more insights on global sentiment of other timeframes, which improves trading results overall if applied correctly.
In the future MTF Screener will be expanded to have more data in it, like TP and SL, age of pattern and etc.
See the visual showcase of the MTF Screener on the screenshot below:
Features, explained above, make this indicator quite versatile and suitable for incorporation in any trading strategy, which uses candlestick patterns. They are simple, yet insightful, and traders, which use similar strategies everyday, will truly appreciate the benefits of this indicator when they will set up this indicator for the first time on their chart.
🔔 ALERTS
This indicator employs alerts for an event when new pattern occurs. While creating the alert below 'Condition' field choose 'any alert() function call' .
When this alert is triggered, it will generate this kind of message:
string msg_template = "EXCHANGE:ASSET, TIMEFRAME: BULLISH_OR_BEARISH pattern PATTERN_NAME was found."
string msg_example = "BINANCE:BTCUSDT, 15m: bullish pattern 'Hammer' was found."
📌 NOTES
This indicator is most effective when used in combination with other technical analysis tools such as trendlines, moving averages, support/resistance levels or any other indicator-type tool. We strongly recommend using this indicator as confirmation indicator for your main trading strategy, not as primary source of signals;
If you want to trade directly by these patterns, make sure to use proper risk management techniques of your own and use TP&SL visualization on the chart to always have a clue about your current position;
If you lost track of visual components on the chart, look at the main dashboard to see text summary of data from latest pattern. Also don't forget to look at MTF Screener to have more context about MTF sentiment, because it is increases your understandings of MTF price trend and improves your decision-making process.
🏁 AFTERWORD
AQPRO Pattern Map was built to help traders automate candlestick pattern searching routine, improve chart readability and enhance perception of current potential risks, which may come from trading from a specific pattern. Indicator's main dashboard and MTF screener eliminate the need for constantly checking other timeframe for global sentiment, helping traders save even more time and fostering improved decision making.
This indicator will work in great conjunction with any other trading strategy as confirmation tool for entry decision. Using this indicator as primary source of signals is not recommended due to unstable nature of trading patterns.
ℹ️ If you have questions about this or any other our indicator, please leave it in the comments.
SuperTrend: Silent Shadow 🕶️ SuperTrend: Silent Shadow — Operate in trend. Vanish in noise.
Overview
SuperTrend: Silent Shadow is an enhanced trend-following system designed for traders who demand clarity in volatile markets and silence during indecision.
It combines classic Supertrend logic with a proprietary ShadowTrail engine and an adaptive Silence Protocol to filter noise and highlight only the cleanest signals.
Key Features
✅ Core Supertrend Logic
Built on Average True Range (ATR), this trend engine identifies directional bias with visual clarity. Lines adjust dynamically with price action and flip when meaningful reversals occur.
✅ ShadowTrail: Stepped Counter-Barrier
ShadowTrail doesn’t predict reversals — it reinforces structure.
When price is trending, ShadowTrail forms a stepped ceiling in downtrends and a stepped floor in uptrends. This visual containment zone helps define the edges of price behavior and offers a clear visual anchor for stop-loss placement and trade containment.
✅ Silence Protocol: Adaptive Noise Filtering
During low-volatility zones, the system enters “stealth mode”:
• Trend lines turn white to indicate reduced signal quality
• Fill disappears to reduce distraction
This helps avoid choppy entries and keeps your focus sharp when the market isn’t.
✅ Visual Support & Stop-Loss Utility
When trendlines flatten or pause, they naturally highlight price memory zones. These flat sections often align with:
• Logical stop-loss levels
• Prior support/resistance areas
• Zones of reduced volatility where price recharges or rejects
✅ Custom Styling
Full control over line colors, width, transparency, fill visibility, and silence behavior. Tailor it to your strategy and visual preferences.
How to Use
• Use Supertrend color to determine bias — flips mark momentum shifts
• ShadowTrail mirrors the primary trend as a structural ceiling/floor
• Use flat segments of both lines to identify consolidation zones or place stops
• White lines = low-quality signal → stand by
• Combine with RSI, volume, divergence, or your favorite tools for confirmation
Recommended For:
• Traders seeking clearer trend signals
• Avoiding false entries in sideways or silent markets
• Identifying key support/resistance visually
• Structuring stops around real market containment levels
• Scalping, swing, or position trading with adaptive clarity
Built by Sherlock Macgyver
Forged for precision. Designed for silence.
When the market speaks, you listen.
When it doesn’t — you wait in the shadows.
BK AK-47 Divergence🚨 Introducing BK AK-47 Divergence — Multi-Timeframe Precision Firepower for True Traders 🚨
After months of development, I’m proud to release my fifth weapon in the arsenal — BK AK-47 Divergence.
💥 Why “AK-47”? The Meaning Behind the Name
The AK-47 isn’t just a rifle. It’s the symbol of reliability, versatility, and raw stopping power. It performs in every environment — from the mud to the mountains — just like this indicator cuts through noise on any timeframe, any asset, any condition.
🔸 “AK” honors the same legacy as before — my mentor, A.K., whose discipline and vision forged my trading edge.
🔸 “47” signifies layered precision: 4 = structure, 7 = spiritual completion. Together, it’s the weapon of divine order that adapts, reacts, and strikes with purpose.
🔍 What Is BK AK-47 Divergence?
It’s a next-generation divergence detector — a smart hybrid of MACD, Bollinger Bands, and multi-timeframe divergence logic wrapped in a custom volatility engine and real-time flash alerts.
Designed for snipers in the market — those who only take the highest-probability shots.
⚙️ Core Weapon Systems
✅ MACD + BB Precision Overlay → MACD plotted inside dynamic Bollinger Bands — reveals hidden pressure zones where most indicators fail.
✅ Smart Histogram Scaling → Adaptive amplification based on volatility. No more weak histograms in strong markets.
✅ Full Multi-Timeframe Divergence Detection:
🔻 Current TF Divergence
🕐 Higher TF Divergence
⏱️ Lower TF Divergence
Each plotted with clean visual alerts, color-coded by direction and timeframe. You get instant divergence recognition across dimensions.
✅ Background Flash Alerts → When MACD hits BB extremes, the background lights up in red or green. Eyes instantly lock in on key moments.
✅ Advanced Pivot Lookback Control → New lookback system compares multiple pivot layers, not just the last swing. This gives true structural divergence, not just noise.
✅ Dynamic Fill Zones:
🔴 Oversold
🟢 Overbought
🔵 Neutral
Built to filter false signals and highlight hidden edge.
🛡️ Why This Indicator Changes the Game
🔹 Built for divergence snipers — not lagging MACD watchers.
🔹 Perfect for traders who sync with:
• Elliott Waves
• Fibonacci Time/Price Clusters
• Harmonic Patterns
• Gann Angles or Squares
• Price Action & Trendlines
🔹 Lets you visually map:
• Converging divergences (multi-TF confirmation)
• High-volatility histograms in low-volatility price zones (entry sweet spots)
• Flash-momentum warnings at BB pressure zones
🎯 How to Use BK AK-47 Divergence
🔹 Breakout Confirmation → MACD breaches upper BB with bullish divergence = signal to ride momentum.
🔹 Mean Reversion Reversals → MACD breaks lower BB + bullish div = setup for sniper long.
🔹 Top/Bottom Detection → Bearish divergence + MACD failure at upper BB = early reversal signal.
🔹 TF Sync Strategy → Align current TF with higher or lower divergences for laser-confirmed entries.
🧠 Final Thoughts
This isn’t just a divergence tool. It’s a battlefield reconnaissance system — one that lets you see when, where, and why the next pivot is forming.
🔹 Built in honor of the AK-legacy — reliability, discipline, and firepower.
🔹 Designed to cut through noise, expose structure, and alert you to what really matters.
🔹 Crafted for those who trade with intent, vision, and respect for the craft.
🙏 And most importantly: All glory to Gd — the One who gives wisdom, clarity, and purpose.
Without Him, the markets are chaos. With Him, we move in structure, order, and divine timing.
—
⚡ Stay dangerous. Stay precise. Stay aligned.
🔥 BK AK-47 Divergence — Locked. Loaded. Laser-focused. 🔥
May the markets bend to your discipline.
Gd bless. 🙏
Rocky's Dynamic DikFat Supply & Demand ZonesDynamic Supply & Demand Zones
Overview
The Dynamic Supply & Demand Zones indicator identifies key supply and demand levels on your chart by detecting pivot highs and lows. It draws customizable boxes around these zones, helping traders visualize areas where price may react. With flexible display options and dynamic box behavior, this tool is designed to assist in identifying potential support and resistance levels for various trading strategies.
Key Features
Pivot-Based Zones: Automatically detects supply (resistance) and demand (support) zones using pivot highs and lows on the chart’s timeframe.
Dynamic Box Sizing: Boxes shrink when price enters them, reflecting reduced zone strength, and stop adjusting once price fully crosses through.
Customizable Display: Choose to show current-day boxes, historical boxes, or all boxes, with an option to update past box colors dynamically.
Session-Based Extension: Boxes can extend to the current bar or stop at 4:00 PM of the creation day’s 9:30 AM–4:00 PM trading session (ideal for stock markets).
Color Coding: Borders change color based on price position:
Green for demand zones (price above the box).
Red for supply zones (price below the box).
White for neutral zones (price inside the box).
User-Friendly Inputs: Adjust pivot lookback periods, box visibility, extension behavior, and colors via intuitive input settings.
How It Works
Zone Detection: The indicator uses pivot highs and lows to define supply and demand zones, plotting boxes between these levels.
Box Behavior:
Boxes are created when pivot highs and lows are confirmed, with no overlap with the previous box.
When price enters a box, it shrinks to reflect interaction, stopping once price exits completely.
Boxes can extend to the current bar or end at 4:00 PM of the creation day (or next trading day if created after 4:00 PM or on weekends).
Display Options:
Current Only: Shows boxes created on the current day.
Historical Only: Shows boxes from previous days, with optional color updates.
All Boxes: Shows all boxes, with an option to hide historical box color updates.
Performance: Limits the number of boxes to 200 to ensure smooth performance, removing older boxes as needed.
Inputs
Pivot Look Right/Left: Set the number of bars (default: 2) to confirm pivot highs and lows.
What Boxes to Show: Select Current Only, Historical Only, or All Boxes (default: Current Only).
Boxes On/Off: Toggle box visibility (default: on).
Extend Boxes to Current Bar: Choose whether boxes extend to the current bar or stop at 4:00 PM (default: off, stops at 4:00 PM).
Update Past Box Colors: Enable/disable color updates for historical boxes (default: on).
Demand/Supply/Neutral Box Color: Customize border colors (default: green, red, white).
How to Use
Add the indicator to your chart.
Adjust inputs to match your trading style (e.g., pivot lookback, box extension, colors).
Use the boxes to identify potential support (demand) and resistance (supply) zones:
Green-bordered boxes (price above) may act as support.
Red-bordered boxes (price below) may act as resistance.
White-bordered boxes (price inside) indicate active price interaction.
Combine with other analysis tools (e.g., trendlines, indicators) to confirm trade setups.
Monitor box shrinking to gauge zone strength and watch for breakouts when price fully crosses a box.
Understanding Supply and Demand in Stock Trading
In stock trading, supply and demand are fundamental forces driving price movements. Demand refers to the willingness of buyers to purchase a stock at a given price, often creating support levels where buying interest prevents further price declines. Supply represents the willingness of sellers to offload a stock, forming resistance levels where selling pressure halts price increases. These zones are critical because they highlight areas where significant buying or selling activity has occurred, influencing future price behavior.
The importance of supply and demand lies in their ability to reveal where institutional traders, with large orders, have entered or exited the market. Demand zones, often seen at pivot lows, indicate strong buying interest and potential areas for price reversals or bounces. Supply zones, typically at pivot highs, signal heavy selling and possible reversal points for downward moves. By identifying these zones, traders can anticipate where price is likely to stall, reverse, or break out, enabling better entry and exit decisions. This indicator visualizes these zones as dynamic boxes, making it easier to spot high-probability trading opportunities while emphasizing the core market dynamics of supply and demand.
Feedback
This indicator is designed to help traders visualize supply and demand zones effectively. If you have suggestions for improvements, please share your feedback in the comments!
Internal Market Structure + Order BlocksInternal Market Structure + Order Blocks
This indicator combines internal market structure shifts with order block detection to help traders identify key zones of institutional interest and potential trend reversals. It highlights bullish and bearish engulfing conditions that mark the formation of valid order blocks, and it plots internal structure shifts—early signals that may precede a larger move.
Key Features:
-Bullish & Bearish Order Blocks: Highlighted with shaded boxes (green for bullish, red for bearish) following engulfing price action.
-Internal Structure Shifts: Small black triangles show early signs of a potential reversal, offering a unique perspective beyond standard structure analysis.
-Engulfing Breakouts: Marks when price breaks previous opposing structure, confirming new directional intent.
-Alerts Included: Get notified on key structure breaks and internal shifts to stay ahead of potential setups.
This tool is designed to support price action trading by visually mapping key structural changes and zones of interest directly on your chart. It is not intended to function as a standalone trading strategy , but rather as a supplementary tool to inform your own analysis and discretion.
Note: The arrows, polylines, and colored trendlines shown in the chart example are not generated by the indicator. They have been added manually for illustration purposes to demonstrate how the indicator can be used to trace market structure. Likewise, the order blocks in the example are manually drawn and may differ slightly from the indicator's automatic calculations, serving only to enhance visual clarity.
Chart Patterns [ActiveQuants]The Chart Patterns indicator is a comprehensive tool designed to automatically identify a variety of common chart patterns directly on your price chart. By detecting sequences of pivot highs and lows , this indicator helps traders spot potential trend continuations , reversals , and key market structures such as Double Tops and Double Bottoms . Enhance your technical analysis by quickly recognizing these formations as they emerge.
How It Works
The indicator operates in a two-stage process:
Pivot Point Detection: It first identifies significant swing highs and swing lows (pivot points) based on a user-defined Period . These pivots form the fundamental building blocks for pattern recognition.
Pattern Recognition: Using the sequence of these detected pivot points, the script then applies logical rules to identify the following patterns:
Lower Low (LL)
Lower Low & Lower High (LL & LH)
Higher High (HH)
Higher High & Higher Low (HH & HL)
Double Tops
Double Bottoms
Patterns are drawn on the chart with connecting lines and labeled for easy identification. Double Tops and Double Bottoms also feature a status system: " Active " while forming, " Confirmed " upon neckline breakout, or " Invalid " if specific conditions negate the pattern before confirmation.
█ KEY FEATURES
Comprehensive Pattern Detection: Identifies six distinct types of chart patterns, offering insights into both trend continuation and potential reversals.
Pivot-Based Analysis: Uses a robust method of identifying pivot highs and lows as the foundation for pattern formation.
Pattern Status for Double Tops/Bottoms:
- Active: A Double Top or Double Bottom pattern has formed its two peaks/troughs and the intervening neckline point, but the price has not yet broken beyond the neckline. The pattern is developing .
- Confirmed: The price has decisively closed beyond the neckline (below for Double Top, above for Double Bottom), signaling a potential entry or validation of the pattern.
- Invalid: An " Active " Double Top or Double Bottom pattern can be invalidated if, before a neckline breakout occurs, a new pivot point forms that negates the pattern’s structural integrity. For example, if a new pivot low forms above or at the neckline of an Active Double Top, the pattern is considered invalid because the market failed to break down and instead showed relative strength.
Customizable Visuals: Allows users to define colors for bullish and bearish patterns, line widths, and the visibility of pivot points.
Selective Pattern Display: Users can choose to display all patterns or filter by status (Active, Confirmed, Invalid) for Double Tops/Bottoms. Individual pattern types can also be toggled on or off.
Historical Analysis Control: The Show Last History (Bars) input allows users to specify how far back the indicator should plot patterns, optimizing performance and chart readability.
Clear Labeling: Patterns are clearly labeled on the chart, with Double Tops/Bottoms also showing " Top 1 ," " Top 2 ," or " Bottom 1 ," " Bottom 2 " labels.
█ PATTERNS DETECTED
Lower Low (LL): Indicates a potential bearish continuation or the start of a downtrend. Forms when price makes a lower low during an uptrend.
Lower Low & Lower High (LL & LH): A stronger confirmation of a bearish trend, where the market forms a lower low followed by a lower high .
Higher High (HH): Signals a potential bullish continuation or the start of an uptrend. Forms when price makes a higher high during a downtrend.
Higher High & Higher Low (HH & HL): A stronger confirmation of a bullish trend, where the market forms a higher high followed by a higher low .
Double Top: A bearish reversal pattern characterized by two distinct peaks at roughly the same price level, separated by a trough (neckline). Confirmation occurs when price breaks below the neckline.
Double Bottom: A bullish reversal pattern featuring two distinct troughs at roughly the same price level, separated by a peak (neckline). Confirmation occurs when price breaks above the neckline.
█ EXAMPLE: DOUBLE TOP INVALIDATION
Understanding how a Double Top or Double Bottom can be invalidated is crucial. Here's an example for a Double Top:
Formation: The indicator identifies two peaks (Top 1, Top 2) at a similar price level, with a corrective trough (Neckline Pivot P5) in between. The pattern is labeled " Double Top " and is in an " Active " state. ( Imagine points P4 and P6 are the two tops, and P5 is the low point of the neckline between them ).
Pre-Breakout Condition: The price action continues, but before it breaks decisively below the P5 neckline level, a new significant swing low (a new pivot low) forms.
Invalidation Check: The indicator checks the price level of this new pivot low. If this new pivot low occurs at a price equal to or higher than the P5 neckline level, the " Active " Double Top pattern is re-labeled as " Invalid Double Top ". ( See image below for a visual representation of this scenario )
In this example, the Double Top formed with Top 1 (P4) and Top 2 (P6). The neckline is at P5. Before price broke below P5, a new pivot low formed at the red circle. Since this new pivot low is above the P5 neckline, the Double Top is marked " Invalid ".
The logic is that the market failed to break the neckline support and instead established a higher low (or a low at the support level), suggesting that the immediate bearish pressure has waned, thus invalidating the bearish reversal implication of the Double Top before it could confirm. A similar logic applies to Double Bottoms (a new pivot high forming below or at the neckline before an upside breakout).
█ USER INPUTS
Visibility and Common Styling
- Show Last History (Bars):
Specifies the number of recent bars the indicator will analyze and plot patterns on.
Default: 3000 bars. Min: 10.
- Patterns:
Filters which patterns are displayed based on their status.
Options: All, Active, Confirmed, Invalid.
Default: All.
- Pattern Line Width:
Sets the thickness of the lines used to draw the patterns.
Default: 1. Min: 1, Max: 10.
- Bearish Color:
Color for bearish patterns (LL, LL & LH, Double Tops).
Default: Red.
- Bullish Color:
Color for bullish patterns (HH, HH & HL, Double Bottoms).
Default: Green.
Pivot Points
- Period:
The lookback period on either side of a bar to qualify it as a pivot high or low. Higher values detect more significant pivots.
Default: 10 bars. Min: 2.
- Show Pivot Highs:
Toggles the visibility of detected pivot high markers.
Default: Enabled.
- Show Pivot Lows:
Toggles the visibility of detected pivot low markers.
Default: Enabled.
- Pivot Highs Color:
Color for the pivot high markers.
Default: #ff5252 (Reddish).
- Pivot Lows Color:
Color for the pivot low markers.
Default: #089981 (Greenish).
Patterns (Toggles)
- Lower Low:
Enable/disable detection and display of Lower Low patterns.
Default: Enabled.
- Lower Low & Lower High:
Enable/disable detection and display of Lower Low & Lower High patterns.
Default: Enabled.
- Higher High:
Enable/disable detection and display of Higher High patterns.
Default: Enabled.
- Higher High & Higher Low:
Enable/disable detection and display of Higher High & Higher Low patterns.
Default: Enabled.
- Double Tops:
Enable/disable detection and display of Double Top patterns.
Default: Enabled.
- Double Bottoms:
Enable/disable detection and display of Double Bottom patterns.
Default: Enabled.
█ CONCLUSION
The Chart Patterns indicator is a versatile and powerful assistant for traders who utilize classical chart pattern analysis. By automating the detection of key formations and providing clear visual cues along with status updates for patterns like Double Tops and Bottoms, it allows traders to focus on strategy development and execution. With its customizable settings, it can be adapted to various instruments and timeframes, making it a valuable addition to any technical trader's toolkit.
█ IMPORTANT NOTES
⚠ Pivot Period Sensitivity: The Period setting for pivot detection is crucial. A shorter period will identify more frequent, smaller swings, while a longer period will focus on more significant turning points. Adjust this setting based on the asset's volatility, the timeframe you are trading and your trading style.
⚠ Confirmation is Key: While the indicator identifies patterns, always wait for pattern confirmation (e.g., neckline breaks for Double Tops/Bottoms) and consider other factors like volume and market context before making trading decisions.
⚠ Confirmed Bars for Detection: Patterns are identified based on confirmed pivot points, which means a pivot is recognized period bars after it has formed. Status updates for Double Tops/Bottoms (Active, Confirmed, Invalid) also occur on confirmed bars. This approach enhances reliability and reduces the likelihood of repainting based on intra-bar price fluctuations.
⚠ Not a Standalone System: Chart patterns provide valuable insights, but they should be used in conjunction with other technical analysis tools (e.g., trendlines, moving averages, oscillators) and a sound risk management plan.
⚠ Lagging Nature: By their very definition, chart patterns are lagging indicators as they require a sequence of price action and several pivot points to complete their formation.
█ RISK DISCLAIMER
Trading involves a substantial risk of loss and is not suitable for every investor. The information provided by the Chart Patterns indicator is for educational and informational purposes only. It should not be considered as financial advice or a recommendation to buy or sell any security. Chart patterns indicate potential price movements but do not guarantee future results. Always perform your own due diligence and consult with a qualified financial advisor before making any investment decisions. Past performance is not indicative of future results.
📈 Happy trading! 🚀
Atlas BBTlevelsAtlas BBTlevels is a custom Bollinger Bands-based indicator that measures the momentum and strength of price trends using the difference between short- and long-period Bollinger Bands. Inspired by John Bollinger’s official tools like BBTrend, %b, and Bandwidth, this script adds adjustable horizontal threshold levels so traders can mark important reaction zones on their charts.
It visualizes when markets may be entering overheated or exhausted conditions — either for trend continuation or potential reversals — and works across crypto, stocks, forex, spot, or perpetual charts.
How I personally use it:
I apply Atlas BBTlevels across three timeframes:
Low timeframe (LTF): 5m–15m
Mid timeframe (MTF): 1h–6h
High timeframe (HTF): 1d–2d
I review where the indicator historically spiked during major moves. For example, if the 4-hour chart shows repeated spikes to +10 or −10, I’ll set my positive and negative thresholds near those levels. This lets me anticipate zones where the market may reverse, cool off, or break out. I then compare LTF, MTF, and HTF levels to look for confluence. When multiple timeframes align near key levels, it gives me higher confidence to prepare for a trade — but I always combine this with price action and other confirmation tools.
How others can use it:
Identify overbought/oversold zones by adjusting the thresholds to match historical extremes on your chosen asset.
Use it as a trend strength gauge: when the histogram is near or above the top threshold, the trend is likely strong; when it fades back toward zero, momentum is weakening.
Watch for volatility expansions or contractions as the indicator accelerates away from or returns toward zero.
Combine it with price action (support/resistance, trendlines, chart patterns) or other momentum tools to reduce false signals.
Apply it across multiple timeframes to look for confluence — this increases reliability compared to using it on just one chart.
Important tips:
Positive spikes (above zero) usually indicate strength or overextension upward; negative spikes (below zero) show weakness or downward exhaustion.
You can reverse the color logic if you want (for example, highlight negative spikes as green for buy interest and positive spikes as red for sell interest) — this is just a visual preference.
This is not a standalone buy/sell system. Always combine it with other tools, market context, and risk management.
Multitimeframe Order Block Finder (Zeiierman)█ Overview
The Multitimeframe Order Block Finder (Zeiierman) is a powerful tool designed to identify potential institutional zones of interest — Order Blocks — across any timeframe, regardless of what chart you're viewing.
Order Blocks are critical supply and demand zones formed by the last opposing candle before an impulsive move. These areas often act as magnets for price and serve as smart-money footprints — ideal for anticipating reversals, retests, or breakouts.
This indicator not only detects such zones in real-time, but also visualizes their mitigation, bull/bear volume pressure, and a smoothed directional trendline based on Order Block behavior.
█ How It Works
The script fetches OHLCV data from your chosen timeframe using request.security() and processes it using strict pattern logic and volume-derived strength conditions. It detects Order Blocks only when the structure aligns with dominant pressure and visually extends valid zones forward for as long as they remain unmitigated.
⚪ Bull/Bear Volume Power Visualization
Each OB includes proportional bars representing estimated buy/sell effort:
Buy Power: % of volume attributed to buyers
Sell Power: % of volume attributed to sellers
This adds a visual, intuitive layer of intent — showing who controlled the price before the OB formed.
⚪ Order Block Trendline (Butterworth Filtered)
A smoothed trendline is derived from the average OB value over time using a two-pole Butterworth low-pass filter. This helps you understand the broader directional pressure:
Trendline up → favor bullish OBs
Trendline down → favor bearish OBs
█ How to Use
⚪ Trade From Order Blocks Like Institutions
Use this tool to find institutional footprints and reaction zones:
Enter at unmitigated OBs
⚪ Volume Power
Volume Pressure Bars inside each OB help you:
Confirm strong buyer/seller dominance
Detect possible traps or exhaustion
Understand how each zone formed
⚪ Find Trend & Pullbacks
The trendline not only helps traders detect the current trend direction, but the built-in trend coloring also highlights potential pullback areas within these trends.
█ Settings
Timeframe – Selects which timeframe to scan for Order Blocks.
Lookback Period – Defines how many bars back are used to detect bullish or bearish momentum shifts.
Sensitivity – When enabled, the indicator uses smoothed price (RMA) with rising/falling logic instead of raw candle closes. This allows more flexible detection of trend shifts and results in more Order Blocks being identified.
Minimum Percent Move – Filters out weak moves. Higher = only strong price shifts.
Mitigated on Mid – OB is removed when price touches its midpoint.
Show OB Table – Displays a panel listing all active (unmitigated) Order Blocks.
Extend Boxes – Controls how far OB boxes stretch into the future.
Show OB Trend – Toggles the trendline derived from Order Block strength.
Passband Ripple (dB) – Controls trendline reactivity. Higher = more sensitive.
Cutoff Frequency – Controls smoothness of trendline (0–0.5). Lower = smoother.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Engulfing Logic Candle Consolidation
The "Engulfing Logic Candle Consolidation" indicator is designed to visualize price zones where multiple candlesticks are engulfing each other. When candles meet specific engulfing conditions, the script merges them into a single "virtual" range and displays it using semi-transparent boxes on the chart.
- Engulfing Range Logic : Automatically detects and consolidates groups of candles that are fully engulfed by others, forming clear structural zones.
- Multi-Session Time Highlights : Marks major trading sessions (Asia, Europe, U.S.) with customizable colors and visibility settings, helping traders identify time-based market rhythms.
The indicator uses two engulfing conditions to form virtual zones:
1、 Short-after-Long (right-side engulfing) : If the current candle is engulfed by the previous candle, a virtual box begins from that pair.
2、 Long-after-Short (left-side engulfing) : If the current candle engulfs one or more previous candles (looping backward), it triggers zone formation.
The zone grows as long as new candles are completely inside the range of prior ones. When engulfing ends, the range is boxed and preserved visually.
This tool is ideal for traders who focus on price structure. By consolidating engulfing candles into zones, it filters out noise and emphasizes meaningful price behavior. Works well when combined with trendlines, support/resistance, and volume indicators.
---
中文
<概述>
結合律 K 線整理指標用於視覺化市場中具有「吞噬行為」的價格結構。當多根 K 線出現互相包含的情況時,指標會將它們合併成一個虛擬區間,並以半透明區塊方式在圖表中標示出來。
<功能>
- 吞噬區間邏輯 :自動判斷多根 K 線是否符合「包容」邏輯,將其歸納為單一整理區。
- 多時區背景提示 :標示亞洲、歐洲、美國主要交易時段,並可自由設定顏色與開關,強化交易節奏感知。
<邏輯說明>
此指標使用兩種吞噬條件建立整理區:
短後長(右側包容) :若當前 K 線被前一根吞噬,將該兩根視為起點。
長後短(左側包容) :若當前 K 線吞噬一或多根前方 K 線,則回頭形成區間。
只要後續 K 線繼續落在區間內,就會不斷擴展。直到不再符合條件,該區間會被框選並視覺化標示。
<使用情境>
適合用於進行價格行為結構分析的交易者。它能簡化雜訊,聚焦在關鍵轉折與延續區。可與趨勢線、支撐壓力、成交量指標等搭配使用,提高 K 線策略的判讀效率。
Strong Body Candle (80% of Range)You said:
Strong body candle 80% range
ChatGPT said:
A strong body candle with an 80% range typically refers to a candlestick on a price chart (usually used in technical analysis) where the real body of the candle (the open-to-close price movement) makes up 80% or more of the entire candle’s range (the high-to-low movement).
Breakdown:
Candle Range = High − Low
Body Size = |Close − Open|
Body-to-Range Ratio = (Body Size ÷ Candle Range) × 100
If this ratio is ≥ 80%, the candle is considered to have a strong body.
Interpretation:
A strong bullish candle: Close is near the high, open is near the low — strong buying pressure.
A strong bearish candle: Close is near the low, open is near the high — strong selling pressure.
These candles often signal momentum or trend continuation, especially when occurring after consolidation or at breakout points.
Would you like a script or formula to help detect these on a chart?
2/2
You said:
Yeh indicator banaya hai is ki description Bana ker rain publish kernrehanhun trading view per
ChatGPT said:
Great! Here's a professional and clear description you can use to publish your indicator on TradingView:
🔥 Strong Body Candle (80% Range) — Indicator Description
This indicator highlights candlesticks where the real body constitutes 80% or more of the entire candle's range (High − Low). These candles often represent strong momentum and are useful for identifying potential trend continuations, reversals, or breakout confirmations.
📌 Key Features:
✅ Detects both bullish and bearish strong body candles.
✅ Customizable threshold (default: 80%) for fine-tuning to your strategy.
✅ Visual markers make it easy to spot high-momentum candles on any timeframe.
📊 How It Works:
The script calculates the ratio of the candle's body size (|Close − Open|) to its total range (High − Low). If the ratio is equal to or above 80%, the candle is flagged:
Green Marker = Strong Bullish Candle (Close > Open)
Red Marker = Strong Bearish Candle (Open > Close)
🛠️ Use Cases:
Identify momentum shifts and breakout confirmations.
Use with support/resistance zones or trendlines for stronger signals.
Combine with volume indicators for enhanced precision.
Bitcoin Power Law Bayesian Fit with Residual HistogramTitle: Bayesian Bitcoin Power Law Indicator with Residuals Histogram
Description:
This Pine Script implements a Bitcoin (BTC) price indicator based on a power-law relationship between BTC price and time, modeled using Bayesian regression.
Bayesian regression is one of the most robust regression methods.
The indicator provides a robust framework for understanding BTC price trends, highlighting key statistical levels, based on deviation from the power law trend and visualizing the bimodal nature of BTC price behavior through a residual distribution histogram (distribution of the deviation from the Bayesian power law trend).
Features:
Power Law Model with Confidence Levels:
Models BTC price as a power-law function of time using Bayesian regression, displaying the median trendline.
Includes multiple confidence intervals to reflect statistical uncertainty.
Plots a support power-law line, set at 2 standard deviations below the median trend, serving as a critical lower bound for price expectations.
Bimodal Residual Histogram:
Displays a histogram in a lower panel, illustrating the distribution of model residuals (difference between actual BTC price and the power-law model) over a default 100-day window (user-configurable). This is one of the most innovative components of this indicator because it highlights the current shape of the distribution of recent deviations.
Highlights the bimodal nature of BTC price behavior, with two distinct regimes:
Core Power Law: Represents periods (approximately 2 years) when BTC price closely follows the power-law trend, typically when below the median power-law line.
Turbulent Flow BTC: Captures periods when BTC price is above the median power-law line, exhibiting more chaotic, bull-run behavior.
The histogram provides a range of possible prices based on the observed residual distribution, aiding in probabilistic price forecasting.
These analogies with fluid dynamics are part of the power law framework based on parallels in financial physics.
Purpose:
This indicator is designed for traders and analysts seeking to understand BTC price dynamics through a statistically grounded power-law model. The confidence levels and support line offer clear benchmarks for trend and support analysis, while the bimodal histogram provides insight into whether BTC is in a stable "Core Power Law" phase or a volatile "Turbulent Flow" phase, enabling better decision-making based on market regime.
Usage Notes:
Use the histogram to determine whether BTC is in the Core Power Law (below the power-law trend) or Turbulent Flow (above the trend) regime to contextualize price behavior.
Adjust the residual window (default 100 days) to analyze different timeframes for the distribution.
The support power-law line (2 standard deviations below) serves as a critical level for identifying potential price floors.
[blackcat] L3 Ichimoku FusionCOMPREHENSIVE ANALYSIS OF THE L3 ICHIMOKU FUSION INDICATOR
🌐 Overview:
The L3 Ichimoku Fusion is a sophisticated multi-layered technical analysis tool integrating classic Japanese market forecasting techniques with enhanced dynamic elements designed specifically for identifying potential turning points in financial instruments' pricing action.
Key Purpose:
To provide traders with an intuitive yet powerful framework combining established ichimoku principles while incorporating additional validation checkpoints derived from cross-timeframe convergence studies.
THEORETICAL FOUNDATION EXPLAINED
🎓 Conceptual Background:
:
• Conversion & Base Lines tracking intermediate term averages
• Lagging Span providing delayed feedback mechanism
• Lead Spans projecting future equilibrium states
:
• Adaptive parameter scaling options
• Automated labeling system for critical junctures
• Real-time alert infrastructure enabling immediate response capability
PARAMETER CONFIGURATION GUIDE
⚙️ Input Parameters Explained In Detail:
Regional Setting Selection:**
→ Oriental Configuration: Standardized approach emphasizing slower oscillation cycles
→ Occidental Variation: Optimized settings reducing lag characteristics typical of original methodology
Multiplier Adjustment Functionality:**
↔ Allows fine-graining oscillator responsiveness without altering core relationship dynamics
↕ Enables adaptation to various instrument volatility profiles efficiently
Displacement Value Control:**
↓ Controls lead/lag offset positioning relative to current prices
↑ Provides flexibility in adjusting visual representation alignment preferences
DYNAMIC CALCULATION PROCESSES
💻 Algorithmic Foundation:
:
Utilizes highest/lowest extremes over specified lookback windows
Produces more responsive conversions compared to simple MAs
:
→ Confirms directional bias across multiple independent criteria
← Ensures higher probability outcomes reduce random noise influence
:
♾ Creates persistent annotations documenting significant events
🔄 Handles complex state transitions maintaining historical record integrity
VISUALIZATION COMPONENTS OVERVIEW
🎨 Display Architecture Details:
:
→ Solid colored trendlines representing conversion/base relationships
↑ Fill effect overlay differentiating expansion/compression phases
↔ Offset spans positioned according to calculated displacement values
:
→ Green shading indicates positive configuration scenarios
↘ Red filling highlights negative arrangement situations
⟳ Orange transition areas mark transitional periods requiring caution
:
✔️ LE: Long Entry opportunity confirmed
❌ SE: Short Setup validated
☑ XL/XS: Position closure triggers active
✓ RL/RS: Potential re-entry chances emerging
STRATEGIC APPLICATION FRAMEWORK
📋 Practical Deployment Guidelines:
Initial Integration Phase:
Select appropriate timeframe matching trading horizon preference
Configure input parameters aligning with target asset behavior traits
Test thoroughly under simulated conditions prior to live usage
Active Monitoring Procedures:
• Regular observation of cloud formation evolution
• Tracking label placements against actual price movements
• Noting pattern development leading up to signaled entry/exit moments
Decision Making Process Flowchart:
→ Identify clear breakout/crossover events exceeding confirmation thresholds
← Evaluate contextual factors supporting/rejecting indicated direction
↑ Execute trades only after achieving required number of confirming inputs
PERFORMANCE OPTIMIZATION TECHNIQUES
🚀 Refinement Strategies:
Calibration Optimization Approach:
→ Start testing with default suggested configurations
↓ Gradually adjust individual components observing outcome changes
↑ Document findings systematically building personalized version profile
Context Adaptability Methods:
➕ Add supplementary indicators enhancing overall reliability
➖ Remove unnecessary complexity layers if causing confusion
✨ Incorporate custom rules adapting to specific security behaviors
Efficiency Improvement Tactics:
🔧 Streamline redundant processing routines where possible
♻️ Leverage shared data streams whenever feasible
⚡ Optimize refresh frequencies balancing update speed vs computational load
RISK MITIGATION PROTOCOLS
🛡️ Safety Measures Implementation Guide:
Position Sizing Principles:
∅ Never exceed preset maximum exposure limits defined by risk tolerance
± Scale positions proportionally per account size/market capitalization
× Include slippage allowances within planning stages accounting for liquidity variations
Validation Requirements Hierarchy:
☐ Verify signals meet minimum number of concurrent validations
⛔ Ignore isolated occurrences lacking adequate evidence backing
▶ Look for convergent evidence strengthening conviction level
Emergency Response Planning:
↩ Establish predefined exit strategies including trailing stops mechanisms
🌀 Plan worst-case scenario responses ahead avoiding panic reactions
⇄ Maintain contingency plans addressing unexpected adverse developments
USER EXPERIENCE ENHANCEMENT FEATURES
🌟 Additional Utility Functions:
Alert System Infrastructure:
→ Automatic notifications delivered directly to user devices
↑ Message content customized explaining triggered condition specifics
↔ Timing optimization ensuring minimal missed opportunities due to latency issues
Historical Review Capability:
→ Ability to analyze past performance retrospectively
↓ Assess effectiveness across varying market regimes objectively
↗ Generate statistics measuring success/failure rates quantitatively
Community Collaboration Support:
↪ Share personal optimizations benefiting wider trader community
↔ Exchange experiences improving collective understanding base
✍️ Provide constructive feedback aiding ongoing refinement process
CONCLUSION AND NEXT STEPS
This comprehensive guide serves as your roadmap toward mastering the capabilities offered by the L3 Ichimoku Fusion indicator effectively. Success relies heavily on disciplined application combined with continuous learning and adjustment processes throughout implementation journey.
Wishing you prosperous trading endeavors! 👋💰
Tremor Tracker [theUltimator5]Tremor Tracker is a volatility monitoring tool that visualizes the "tremors" of price action by measuring and analyzing the average volatility of the current trading range, working on any timeframe. This indicator is designed to help traders detect when the market is calm, when volatility is building, and when it enters a potentially unstable or explosive state by using a lookback period to determine the average volatility and highlights outliers.
🔍 What It Does
Calculates bar-level volatility as the percentage difference between the high and low of each candle.
Applies a user-selected moving average (SMA, EMA, or WMA) to smooth out short-term noise and highlight trends in volatility.
Compares current volatility to its long-term average over a configurable lookback period.
Dynamically colors each volatility bar based on how extreme it is relative to historical behavior:
🟢 Lime — Low volatility (subdued, ranging conditions)
🟡 Yellow — Moderate or building volatility
🟣 Fuchsia — Elevated or explosive volatility
⚙️ Customizable Settings
Low Volatility Limit and High Volatility Limit: Define the thresholds for color changes based on volatility's ratio to its average.
Volatility MA Length: Adjust the smoothing period for the volatility moving average.
Average Volatility Lookback: Set how many bars are used to calculate the long-term average.
MA Type: Choose between SMA, EMA, or WMA for smoothing.
Show Volatility MA Line?: Toggle the display of the smoothed volatility trendline.
Show Raw Volatility Bars?: Toggle the display of raw per-bar volatility with dynamic coloring.
🧠 Use Cases
Identify breakout conditions: When volatility spikes above average, it may signal the onset of a new trend or a news-driven breakout.
Avoid chop zones: Prolonged periods of low volatility often precede sharp moves — a classic “calm before the storm” setup.
Timing reversion trades: Detect overextended conditions when volatility is well above historical norms.
Adapt strategies by volatility regime: Use color feedback to adjust risk, position sizing, or strategy selection based on real-time conditions.
📌 Notes
Volatility is expressed as a percentage, making this indicator suitable for use across different timeframes and asset classes.
The tool is designed to be visually intuitive, so traders can quickly spot evolving volatility states without diving into raw numbers.
OBV by Randy_New指標介紹: 本指標基於傳統 OBV(On-Balance Volume)設計,並加入 EMA(21) 作為基準線,生成震盪型 OBV 差值指標(OBV Oscillator),進一步強化趨勢動能判斷能力。
改良特色:
傳統 OBV 直接累積買賣量,但視覺變化不明顯。本腳本將 OBV 減去 EMA,形成震盪指標,方便判斷趨勢轉折點。
以紅/綠顏色區分 OBV Oscillator 正負,紅色代表上升趨勢,綠色代表下降趨勢,提升視覺判讀效率。
修正 OBV 初期累積偏移問題,讓指標更加準確。
應用方式:
OBV Oscillator > 0 時:代表買盤動能佔優,偏多思考。
OBV Oscillator < 0 時:代表賣盤動能佔優,偏空思考。
可搭配趨勢線、支撐阻力或其他指標(如 MACD、RSI)進行交叉驗證,增加交易勝率。
適合對象:
喜歡使用 OBV 判斷動能轉折的交易者
需要視覺化量價結合訊號的操盤手
備註: 本腳本為封閉原始碼,因應自有改良與應用,保護獨特邏輯設計,感謝理解
Indicator Name: OBV by Randy_New
Overview:
This indicator is based on the traditional On-Balance Volume (OBV) concept, with an enhancement that integrates an EMA (Exponential Moving Average) smoothing of the OBV data. The indicator plots an OBV Oscillator, which is the difference between the raw OBV and its EMA, helping traders to better visualize momentum changes and potential trend reversals.
Key Features:
Instead of simply accumulating OBV values, this script calculates the difference between OBV and its EMA to create a more responsive oscillator.
Color-coded visualization: Red when the oscillator is above zero (indicating bullish momentum), Green when below zero (indicating bearish momentum).
Corrects initial offset issues caused by na values in volume changes to ensure a more accurate OBV calculation from the beginning.
How to Use:
When the OBV Oscillator is above zero, it suggests buying pressure is dominant — consider bullish strategies.
When the OBV Oscillator is below zero, it suggests selling pressure is dominant — consider bearish strategies.
For higher accuracy, combine it with other technical tools such as trendlines, support/resistance, MACD, or RSI for confirmation.
Target Users:
Traders who like to use volume-based indicators for momentum analysis.
Traders looking for a simplified and visually enhanced version of the traditional OBV.
Important Notice:
This script is closed-source to protect the specific improvements and proprietary adjustments made to the traditional OBV calculation and visualization method. Thank you for your understanding.
Momentum Wave Oscillator📈 Momentum Wave Oscillator (MWO) 📈
The Momentum Wave Oscillator (MWO) is a precision-designed tool for traders who want early, reliable insight into market shifts — before they fully appear on price charts.
Instead of reacting late to moves, MWO is engineered to anticipate changes in momentum by tracking market pressure within a dynamic range.
Its built-in bands and visual cues make it simple to spot key moments where momentum exhaustion, reversals, or fresh breakouts are most likely to occur.
How to Use:
Buy Zones: When the oscillator moves up from lower regions (typically below 20), it may indicate momentum building to the upside.
Sell Zones: When the oscillator moves down from upper regions (typically above 80), it may suggest momentum starting to weaken.
Dynamic Bands:
Unlike conventional fixed levels like 20 and 80, MWO features dynamic adaptive bands that better reflect real-time changes in market behavior.
Markets are fluid — volatility and momentum strength vary from cycle to cycle. Static zones can miss important shifts or produce false signals.
The dynamic bands allow the indicator to adapt naturally to changing conditions, offering more precise context for overbought, oversold, or breakout environments.
Background Colors and Labels:
Automatic highlights appear when potential turning points are detected, allowing traders to act quickly without chart clutter.
Best Practices:
Use the MWO as a confirmation tool alongside your existing strategy (trendlines, support/resistance, volume spikes, etc.).
Look for agreement between the MWO and price action for higher probability entries.
Avoid relying on it in isolation during extremely low-volume periods, where momentum may appear artificially weak or strong.
Adjust sensitivity settings depending on your trading style (scalping vs swing trading).
Important Note:
The MWO is designed for educational and informational purposes. No indicator can predict the future with certainty. Always combine it with proper risk management and your personal trading plan.
PivotBox by Nadeem Al-QahwiPivotBox by Nadeem Al-Qahwi
General Idea of the Indicator: The PivotBox indicator is an advanced technical analysis tool designed to identify key reversal points in the market based on pivot highs and pivot lows. The indicator helps traders to detect breakout and breakdown opportunities based on past price movements, guiding informed trading decisions.
Indicator Functions:
Key Reversal Points (Pivot Points):
The indicator identifies pivot highs and pivot lows over a user-defined period, helping traders spot significant price levels in the market.
These points are plotted on the chart, showing where market reversals may occur.
Breakouts and Breakdowns:
The indicator identifies breakouts when the price moves above a pivot high or breakdowns when the price falls below a pivot low.
Once these breakouts or breakdowns are detected, the indicator draws lines indicating the critical price levels for visual reference.
Trend Levels using Zero-Lag MA:
The indicator includes an option to add a Zero-Lag Moving Average (Zero-Lag MA) to display the overall trend in the market. This moving average helps filter out noise and identify the general market direction, improving trade decision-making.
Line Styles:
The pivot points (highs and lows) are displayed using different line styles, such as solid, dashed, or dotted lines. The user can customize the style based on their preference.
These lines represent the breakouts or breakdown levels in the market.
Alerts:
The indicator can activate alerts when a breakout or breakdown occurs. Users can customize the alerts to notify them when specific conditions are met, ensuring that they do not miss significant price movements.
Input Variables:
Period (prd): The time period over which the pivot highs and lows are calculated. The user can define this period based on their trading strategy.
Max Breakout Length (bo_len): The maximum time duration for a breakout or breakdown to occur. This variable helps determine the relevance of the price movement.
Threshold Rate (cwidthu): The width percentage that helps to define the price area for breakouts and breakdowns.
Line Style (lstyle): Allows the user to choose the style of lines used to display the pivot points (solid, dashed, or dotted).
Minimum Number of Tests (mintest): The minimum number of tests required before a breakout or breakdown is considered valid.
How the Indicator Works:
The indicator first calculates the pivot highs and lows based on the user-defined period (Period).
It then tracks price movements to detect if a breakout or breakdown occurs.
When a breakout or breakdown is confirmed, the indicator draws lines at these levels and shows the user the new price direction.
Alerts can be triggered based on predefined conditions such as when a breakout or breakdown occurs.
The Zero-Lag MA helps the user visualize the trend, adding another layer of analysis to the market movements.
Key Benefits:
Accurate Reversal Point Analysis: Helps traders identify key entry and exit points based on precise technical analysis.
Breakout and Breakdown Detection: Allows traders to spot breakout and breakdown opportunities in real-time.
Customizable Alerts: Users can set up alerts to notify them when a breakout or breakdown happens, ensuring they don't miss important market moves.
Flexible Customization: The indicator offers various options to customize the display (line styles, alerts, trendlines), catering to different trading strategies.
Radonezh Kir-Mary Beauty editionOverview
Dedicated to rev. Kirill and Mary of Radonezh.
This indicator uniquely combines Cumulative Volume Delta (CVD) and price momentum with dynamic normalization to identify trend strength, reversals, supported by a combination of more traditional signal logic. Unlike traditional momentum oscillators, it integrates volume dynamics and advanced directional index to filter false signals and adapts to market volatility through automated scaling, offering a holistic view of price-action reliability.
Core Innovations
Adapive Signals: Uses a proprietary correlation algorithm to weight momentum values, reducing noise in choppy markets.
Lower timeframe entry points: (currently 1 minute only) and HTF line statuses for timeframe synchronisation (currently only 15 minutes and 1 hour status) for super-precise entry points
Automatic drawing of resistance and support lines based on the proprietary algorithm for detecting volume/price synchronization and desynchronization levels.
"Victor-predictor": price chart pointing line that shows where the price supposedly goes based on the machine-learning simulation with pine script based on the main 3 traditional classical indicators. Works independently from the rest of the indicator. Developed by @Skorcez (same team).
Automatic recognition of possible long and short stop order placement levels. I do not filter them so use only within the general context of the indicator.
Key Features
Volume-Price Correlation: CVD reflects institutional order flow, while price momentum quantifies trend acceleration.
Auto-Scaling: Adjusts output range based on recent volatility (ATR), preventing overbought/oversold false positives.
Visual Alerts: Marks divergence zones with colored trendlines and labels (regular/hidden bullish/bearish).
Unique Value
By fusing volume delta dynamics with momentum filtering, this script addresses a critical gap in traditional indicators that treat price and volume in isolation. The closed-source logic focuses on institutional accumulation/distribution patterns, providing actionable signals without repainting.
Compatible with all assets and timeframes. No promotional content or external links included.
============================================
Trading strategy
============================================
Position Signals via DEMA Momentum Line Coloration
The main indicator line (orange/black) determines entry/exits based on its color intensity, which reflects trend strength and confirmation from filtered signals. Here's how it works:
Long Positions (Green/Teal)
Weak Long:
Dark Green = Price momentum rising without volume/Machine Learning (ML) confirmation.
Example: main line turns green but lacks volume spikes or ML buy signals.
Strong Long:
Bright Green = Momentum confirmed by:
Volume Surge: Volume exceeds 1.5x 20-period average.
ML Confirmation: ML score > 0.7 with price above EMA20.
Post-Drop Recovery: Price rebounds after a >1% drop on high volume. (not active as of now, will add a bit later, still working on it)
Short Positions (Red/Orange)
Weak Short:
Orange = Momentum declines without bearish confirmation.
Strong Short:
Bright Red = Confirmed by:
Volume Divergence: Rising price with falling CVD momentum.
ML Bearish: ML score > 0.7 + price below EMA20.
Overextension: RSI > 70 + price above upper Bollinger Band.
Neutral (Gray)
Flat Momentum:
Gray = Momentum near zero (±0.05) + low volatility (ATR < 1% of price).
Action: Avoid trades until color intensifies or stay in a position with a trailing stoploss until it's clear where the market goes (use HTF signal colour table to know what to expect).
Key Features
Adaptive Confirmation:
Colors brighten when signals align across:
Volume acceleration
RSI and a few other extremes (oversold/overbought)
Machine Learning predictions
Dynamic Risk Zones:
Gray areas highlight low-confidence periods, while bright colors mark high-probability entries.
Usage: Enter longs when the line turns bright green and exits when it fades to dark green/gray. Reverse for shorts. Combine with the built-in Victor-Predictor signals for optimal accuracy
============================================
Plans to add soon:
============================================
Dynamic Normalization: Scales CVD and price momentum to a fixed range (default: -20 to +20) using volatility-adjusted multipliers, ensuring consistent interpretation across assets/timeframes.
Divergence Detection: Flags discrepancies between volume-driven momentum (CVD) and price trends, highlighting potential reversals.
Adding 2 nearest psychological support and resistance levels.
Volume-Price Momentum IndicatorVolume-Price Momentum Indicator (VPMI)
Overview
The Volume-Price Momentum Indicator (VPMI), developed by Kevin Svenson , is a powerful technical analysis tool designed to identify strong bullish and bearish momentum in price movements, driven by volume dynamics. By analyzing price changes and volume surges over a user-defined lookback period, VPMI highlights potential trend shifts and continuation patterns through a smoothed histogram, optional labels, and background highlights. Ideal for traders seeking to capture momentum-driven opportunities, VPMI is suitable for various markets, including stocks, forex, and cryptocurrencies.
How It Works
VPMI calculates the difference between volume-weighted buying and selling pressure based on price changes over a specified lookback period. It amplifies signals during high-volume periods, applies smoothing to reduce noise, and uses momentum checks to detect sustained trends.
Indicator display:
A histogram that oscillates above (bullish) or below (bearish) a zero line, with brighter colors indicating stronger momentum and faded colors for weaker signals.
Optional labels ("Bullish" or "Bearish") to mark significant momentum shifts.
Optional background highlights to visually emphasize strong trend conditions.
Alerts to notify users when strong bullish or bearish momentum is detected.
Key Features
Customizable Settings:
Adjust the lookback period, volume threshold, momentum length, and smoothing to suit your trading style.
Volume Sensitivity:
Emphasizes price movements during high-volume surges, enhancing signal reliability.
Momentum Detection: Uses linear regression and momentum change to confirm sustained trends, reducing false signals.
Visual Clarity:
Offers a clear histogram with color-coded signals, plus optional labels and backgrounds for enhanced chart readability.
Alerts:
Configurable alerts for strong momentum signals, enabling timely trade decisions.
Inputs and Customization
Lookback Period (Default: 9):
Sets the number of bars to analyze price changes. Higher values smooth signals but may lag.
Volume Threshold (Default: 1.4):
Defines the volume level (relative to a 20-period SMA) that qualifies as a surge, amplifying signals.
High Volume Multiplier (Default: 1.5):
Boosts histogram values during high-volume periods for stronger signals.
Histogram Smoothing Length (Default: 4):
Controls the EMA smoothing applied to the histogram, reducing noise.
Momentum Check Length (Default: 4):
Sets the period for momentum trend analysis (recommended to be less than Lookback Period).
Momentum Threshold (Default: 6):
Defines the minimum momentum change required for strong signals.
Show Labels (Default: Off):
Toggle to display "Bullish" or "Bearish" labels on significant momentum shifts.
Show Backgrounds (Default: Off):
Toggle to highlight chart backgrounds during strong momentum periods.
Bullish/Bearish Colors:
Customize colors for bullish (default: green) and bearish (default: red) signals.
Faded Transparency (Default: 40):
Adjusts the transparency of weaker signals for visual distinction.
How to Use
Interpret Signals:
Above Zero (Green):
Indicates bullish momentum. Bright green suggests strong, sustained buying pressure.
Below Zero (Red):
Indicates bearish momentum. Bright red suggests strong, sustained selling pressure.
Faded Colors:
Weaker momentum, potentially signaling consolidation or trend exhaustion.
Enable Visuals:
Turn on "Show Labels" and "Show Backgrounds" in the settings for additional context on strong momentum signals.
Set Alerts:
Use the built-in alert conditions ("Strong Bullish Momentum" or "Strong Bearish Momentum") to receive notifications when significant trends emerge.
Combine with Other Tools:
Pair VPMI with support/resistance levels, trendlines, or other indicators (e.g., RSI, MACD) for confirmation.
Best Practices
Timeframe:
VPMI works on all timeframes, but shorter timeframes (e.g., 5m, 15m) may produce more signals, while longer timeframes (e.g., 1h, 4h, 1D) offer higher reliability.
Market Conditions:
Most effective in trending markets. In choppy or sideways markets, consider increasing the smoothing length or momentum threshold to filter noise.
Risk Management:
Always use VPMI signals in conjunction with a robust trading plan, including stop-losses and position sizing.
Limitations
Lagging Nature:
As a momentum indicator, VPMI may lag in fast-moving markets due to smoothing and lookback calculations.
False Signals:
In low-volume or ranging markets, signals may be less reliable. Adjust the volume threshold or momentum settings to improve accuracy.
Customization Required:
Optimal settings vary by asset and timeframe. Experiment with inputs to align with your trading strategy.
Why Use VPMI?
VPMI offers a unique blend of volume and price momentum analysis, making it a versatile tool for traders seeking to identify high-probability trend opportunities. Its customizable inputs, clear visuals, and alert capabilities empower users to tailor the indicator to their needs, whether for day trading, swing trading, or long-term analysis.
Get Started
Apply VPMI to your chart, tweak the settings to match your trading style, and start exploring momentum-driven opportunities. For questions or feedback, consult TradingView’s community forums or documentation. Happy trading!
Filtered Swing Pivot S&R )Pivot support and resis🔍 Filtered Swing Pivot S&R - Overview
This indicator identifies and plots tested support and resistance levels using a filtered swing pivot strategy. It focuses on high-probability zones where price has reacted before, helping traders better anticipate future price behavior.
It filters out noise using:
Customizable pivot detection logic
Minimum price level difference
ATR (Average True Range) volatility filter
Confirmation by price retesting the level before plotting
⚙️ Core Logic Explained
✅ 1. Pivot Detection
The script uses Pine Script's built-in ta.pivothigh() and ta.pivotlow() functions to find local highs (potential resistance) and lows (potential support).
Pivot Lookback/Lookahead (pivotLen):
A pivot is confirmed if it's the highest (or lowest) point within a lookback and lookahead range of pivotLen bars.
Higher values = fewer, stronger pivots.
Lower values = more, but potentially noisier levels.
✅ 2. Pending Pivot Confirmation
Once a pivot is detected:
It is not drawn immediately.
The script waits until price re-tests that pivot level. This retest confirms the market "respects" the level.
For example: if price hits a previous high again, it's treated as a valid resistance.
✅ 3. Dual-Level Filtering System
To reduce chart clutter and ignore insignificant levels, two filters are applied:
Fixed Threshold (Minimum Level Difference):
Ensures a new pivot level is not too close to the last one.
ATR-Based Filter:
Dynamically adjusts sensitivity based on current volatility using the formula:
java
Copy
Edit
Minimum distance = ATR × ATR Multiplier
Only pivots that pass both filters are plotted.
✅ 4. Line Drawing
Once a pivot is:
Detected
Retested
Filtered
…a horizontal dashed line is drawn at that level to highlight support or resistance.
Resistance: Red (default)
Support: Green (default)
These lines are:
Dashed for clarity
Extended for X bars into the future (user-defined) for forward visibility
🎛️ Customizable Inputs
Parameter Description
Pivot Lookback/Lookahead Bars to the left and right of a pivot to confirm it
Minimum Level Difference Minimum price difference required between plotted levels
ATR Length Number of bars used in ATR volatility calculation
ATR Multiplier for Pivot Multiplies ATR to determine volatility-based pivot separation
Line Extension (bars) How many future bars the level line will extend for better visibility
Resistance Line Color Color for resistance lines (default: red)
Support Line Color Color for support lines (default: green)
📈 How to Use It
This indicator is ideal for:
Identifying dynamic support & resistance zones that adapt to volatility.
Avoiding false levels by waiting for pivot confirmation.
Visual guidance for entries, exits, stop placements, or take-profits.
🔑 Trade Ideas:
Use support/resistance retests for entry confirmations.
Combine with candlestick patterns or volume spikes near drawn levels.
Use in confluence with trendlines or moving averages.
🚫 What It Does Not Do (By Design)
Does not repaint or remove past levels once confirmed.
Does not include labels or alerts (but can be added).
Does not auto-scale based on timeframes (manual tuning recommended).
🛠️ Possible Enhancements (Optional)
If desired, you could extend the functionality to include:
Labels with “S” / “R”
Alert when a new level is tested or broken
Toggle for support/resistance visibility
Adjustable line width or style
tance indicator
Smarter Money Concepts - OBs [PhenLabs]📊 Smarter Money Concepts - OBs
Version: PineScript™ v6
📌 Description
Smarter Money Concepts - OBs (Order Blocks) is an advanced technical analysis tool designed to identify and visualize institutional order zones on your charts. Order blocks represent significant areas of liquidity where smart money has entered positions before major moves. By tracking these zones, traders can anticipate potential reversals, continuations, and key reaction points in price action.
This indicator incorporates volume filtering technology to identify only the most significant order blocks, eliminating low-quality signals and focusing on areas where institutional participation is likely present. The combination of price structure analysis and volume confirmation provides traders with high-probability zones that may attract future price action for tests, rejections, or breakouts.
🚀 Points of Innovation
Volume-Filtered Block Detection : Identifies only order blocks formed with significant volume, focusing on areas with institutional participation
Advanced Break of Structure Logic : Uses sophisticated price action analysis to detect legitimate market structure breaks preceding order blocks
Dynamic Block Management : Intelligently tracks, extends, and removes order blocks based on price interaction and time-based expiration
Structure Recognition System : Employs technical analysis algorithms to find significant swing points for accurate order block identification
Dual Directional Tracking : Simultaneously monitors both bullish and bearish order blocks for comprehensive market structure analysis
🔧 Core Components
Order Block Detection : Identifies institutional entry zones by analyzing price action before significant breaks of structure, capturing where smart money has likely positioned before moves.
Volume Filtering Algorithm : Calculates relative volume compared to a moving average to qualify only order blocks formed with significant market participation, eliminating noise.
Structure Break Recognition : Uses price action analysis to detect legitimate breaks of market structure, ensuring order blocks are identified only at significant market turning points.
Dynamic Block Management : Continuously monitors price interaction with existing blocks, extending, maintaining, or removing them based on current market behavior.
🔥 Key Features
Volume-Based Filtering : Filter out insignificant blocks by requiring a minimum volume threshold, focusing only on zones with likely institutional activity
Visual Block Highlighting : Color-coded boxes clearly mark bullish and bearish order blocks with customizable appearance
Flexible Mitigation Options : Choose between “Wick” or “Close” methods for determining when a block has been tested or mitigated
Scan Range Adjustment : Customize how far back the indicator looks for structure points to adapt to different market conditions and timeframes
Break Source Selection : Configure which price component (close, open, high, low) is used to determine structure breaks for precise block identification
🎨 Visualization
Bullish Order Blocks : Blue-colored rectangles highlighting zones where bullish institutional orders were likely placed before upward moves, representing potential support areas.
Bearish Order Blocks : Red-colored rectangles highlighting zones where bearish institutional orders were likely placed before downward moves, representing potential resistance areas.
Block Extension : Order blocks extend to the right of the chart, providing clear visualization of these significant zones as price continues to develop.
📖 Usage Guidelines
Order Block Settings
Scan Range : Default: 25. Defines how many bars the indicator scans to determine significant structure points for order block identification.
Bull Break Price Source : Default: Close. Determines which price component is used to detect bullish breaks of structure.
Bear Break Price Source : Default: Close. Determines which price component is used to detect bearish breaks of structure.
Visual Settings
Bullish Blocks Color : Default: Blue with 85% transparency. Controls the appearance of bullish order blocks.
Bearish Blocks Color : Default: Red with 85% transparency. Controls the appearance of bearish order blocks.
General Options
Block Mitigation Method : Default: Wick, Options: Wick, Close. Determines how block mitigation is calculated - “Wick” uses high/low values while “Close” uses close values for more conservative mitigation criteria.
Remove Filled Blocks : Default: Disabled. When enabled, order blocks are removed once they’ve been mitigated by price action.
Volume Filter
Volume Filter Enabled : Default: Enabled. When activated, only shows order blocks formed with significant volume relative to recent average.
Volume SMA Period : Default: 15, Range: 1-50. Number of periods used to calculate the average volume baseline.
Min. Volume Ratio : Default: 1.5, Range: 0.5-10.0. Minimum volume ratio compared to average required to display an order block; higher values filter out more blocks.
✅ Best Use Cases
Identifying high-probability support and resistance zones for trade entries and exits
Finding optimal stop-loss placement behind significant order blocks
Detecting potential reversal areas where price may react after extended moves
Confirming breakout trades when price clears major order blocks
Building a comprehensive market structure map for medium to long-term trading decisions
Pinpointing areas where smart money may have positioned before major market moves
⚠️ Limitations
Most effective on higher timeframes (1H and above) where institutional activity is more clearly defined
Can generate multiple signals in choppy market conditions, requiring additional filtering
Volume filtering relies on accurate volume data, which may be less reliable for some securities
Recent market structure changes may invalidate older order blocks not yet automatically removed
Block identification is based on historical price action and may not predict future behavior with certainty
💡 What Makes This Unique
Volume Intelligence : Unlike basic order block indicators, this script incorporates volume analysis to identify only the most significant institutional zones, focusing on quality over quantity.
Structural Precision : Uses sophisticated break of structure algorithms to identify true market turning points, going beyond simple price pattern recognition.
Dynamic Block Management : Implements automatic block tracking, extension, and cleanup to maintain a clean and relevant chart display without manual intervention.
Institutional Focus : Designed specifically to highlight areas where smart money has likely positioned, helping retail traders align with institutional perspectives rather than retail noise.
🔬 How It Works
1. Structure Identification Process :
The indicator continuously scans price action to identify significant swing points and structure levels within the specified range, establishing a foundation for order block recognition.
2. Break Detection :
When price breaks an established structure level (crossing below a significant low for bearish breaks or above a significant high for bullish breaks), the indicator marks this as a potential zone for order block formation.
3. Volume Qualification :
For each potential order block, the algorithm calculates the relative volume compared to the configured period average. Only blocks formed with volume exceeding the minimum ratio threshold are displayed.
4. Block Creation and Management :
Valid order blocks are created, tracked, and managed as price continues to develop. Blocks extend to the right of the chart until they are either mitigated by price action or expire after the designated timeframe.
5. Continuous Monitoring :
The indicator constantly evaluates price interaction with existing blocks, determining when blocks have been tested, mitigated, or invalidated, and updates the visual representation accordingly.
💡 Note:
Order Blocks represent areas where institutional traders have likely established positions and may defend these zones during future price visits. For optimal results, use this indicator in conjunction with other confluent factors such as key support/resistance levels, trendlines, or additional confirmation indicators. The most reliable signals typically occur on higher timeframes where institutional activity is most prominent. Start with the default settings and adjust parameters gradually to match your specific trading instrument and style.