Indikator

Crossover Whipsaw Guard**Crossover Whipsaw Guard**
**What it does**
Turns a moving-average crossover into a two-step state: *pending* the moment the fast MA crosses the slow one, *confirmed* once the two averages have separated by at least a minimum percentage (default 0.30 % of the slow MA). Optional extra conditions for confirmation: volume above its 20-bar average, and a higher high plus higher low over the last N bars (mirrored for bearish crosses). A confirmed state holds until the averages cross back; it is never downgraded.
**What you see**
- Both averages (defaults EMA 9 and DEMA 200; EMA, SMA and DEMA selectable for each).
- The area between them filled gray while pending, teal or red once confirmed.
- A small dot on the bar where confirmation happened.
- A table with the current separation, the threshold, active extra filters and the state.
- Alerts for each of the four transitions: bullish pending, bullish confirmed, bearish pending, bearish confirmed.
**Why I built it — the measurement behind it**
Crossovers of a fast and a slow average produce many entries that get stopped out within days. I measured which conditions at the crossover bar reduced that, on 47,013 daily bullish crossovers (EMA 9 over DEMA 200) across 1,758 US stocks, 2014–2026, including later-delisted names, each followed by the same trailing exit:
| Condition at the crossover bar | Share of crossovers kept | Share of trades ending positive | vs. the crossovers it removed |
|---|---:|---:|---:|
| none (all crossovers) | 100 % | 31.0 % | — |
| separation ≥ 0.10 % | 77 % | 31.8 % | 28.6 % |
| separation ≥ 0.30 % | 45 % | 33.1 % | 29.4 % |
| volume > 1.1 × 20-bar average | 36 % | 32.8 % | 30.1 % |
| higher high & higher low (10 bars) | 85 % | 31.5 % | 28.8 % |
All four held in the second half of the sample (from September 2020, +2.1 to +2.8 points each). The filters overlap: combining separation with volume kept 20 % of crossovers at 33.5 %, not more.
**What the measurement does not show — please read**
- The improvement is in *fewer stop-outs*, not in better returns afterwards. Measured without any exit, 20 and 60 bars after the crossover, the separation and volume conditions left the kept and removed groups within a point of each other; the higher-high/higher-low condition improved the 20-bar outcome (+3.4 points) but not the 60-bar one. This is a whipsaw filter, not a return predictor.
- The absolute hit rates (31 %) belong to one specific exit rule with a tight trailing threshold, typical for trend following. Your exit will give different absolute numbers.
- Tested on daily bars and on one pair of averages. The separation threshold is a percentage of price, so it needs adjusting for other timeframes and volatilities — the table shows the current separation to help with that.
- A confirmed state is a description of where the averages are. It is not a recommendation to do anything.
No buy or sell signals are generated, and none are implied.
Indikator

Trend Dashboard - Direction and StrengthTrend Dashboard - Direction and Strength.
A single compact table that reads eleven trend, momentum, volatility, structure and volume-flow indicators on up to four timeframes at once. The directional readings are condensed into a score and a categorical verdict for each timeframe, while trend strength is reported separately by the ADX row and never enters the sum, so direction and strength stay two distinct answers. Built for top-down traders who want the confluence check they normally perform by switching charts to happen in one place, on the chart they are already trading.
How it works:
Every indicator for a given timeframe is computed inside one function and delivered by a single request.security call per timeframe, with lookahead disabled, so the table never reads data that was not available at the time of the bar. The four timeframe slots are user-assigned and default to daily, 4 hours, 1 hour and 5 minutes. Column headers are derived from the assigned timeframe itself, so reassigning a slot relabels the column. Market structure is delivered by a second request per timeframe: it tracks confirmed swing highs and lows over a configurable pivot window, registers the direction of the last break, and counts how many continuation breaks have followed the last change of character.
The table is rebuilt on the last bar only and cells are wiped before each refill, so toggling a timeframe off cannot leave stale values in a column that has shifted. Rows are ordered by the weight of the information they carry: structural context first, then macro regime, then medium-term structure, momentum, strength and the local price position, followed by the three context rows and the score and verdict at the bottom. A marker column carries a coloured dot for rows that must not be read as ordinary trend votes: orange for mandatory context that stays outside the score, white for indicators running on simplified parameters or on an approximation, blue for market structure. The script also detects whether the symbol reports volume. On symbols with no volume feed, cumulative volume delta and OBV divergence print a dash instead of a neutral reading, and the volume delta vote is dropped from the score, which lowers the maximum from eight to seven while the verdict thresholds stay absolute.
What it calculates:
- Market structure — direction of the last swing break, with a phase suffix (C, C+1, C+2 and higher) counting continuation breaks since the last change of character.
- EMA mid/slow — macro regime, the golden and death cross relation.
- EMA fast/mid — medium-term trend structure.
- SuperTrend — ATR trailing direction, computed from a configurable ATR length and factor.
- Ichimoku Kumo — price against the cloud built from the 9, 26 and 52 bar ranges.
- MACD — bullish only when the MACD line leads the signal line and the histogram agrees.
- RSI — directional reading around the midline, with the raw value shown in the cell.
- CVD — cumulative volume delta approximated from the position of the close inside the bar range, read as the agreement between flow slope and price slope.
- Price vs fast EMA — the local position of price, the most sensitive of the trend votes.
- ADX and DMI — trend strength with the raw ADX value shown in the cell, and direction from the DMI pair once the threshold is met.
- OBV divergence — price extreme of the window not confirmed by cumulative volume.
- RSI divergence — price extreme of the window not confirmed by momentum.
- Score — the sum of the eight directional votes per timeframe, shown against the maximum available on the symbol.
- Verdict — STRONG BULL, BULL, MIXED, BEAR or STRONG BEAR, derived from absolute score thresholds.
Key features:
- Four independently assignable timeframe slots, each with its own visibility toggle. Hidden columns shift the remaining ones left and are excluded from the alignment alerts.
- Column headers derived from the assigned timeframe, formatted as 1D, 4H, 1H, 5M rather than fixed labels.
- Separation of directional votes from context. Market structure, ADX and the two divergence rows are displayed but never summed into the score, so trend strength and reversal warnings are not confused with direction.
- Automatic handling of symbols without volume: the affected rows print a dash and the score maximum drops to seven, with verdict thresholds left absolute.
- Per-row tooltips that state what the indicator measures, how to read the three states, its role inside the system and its known failure modes.
- Configurable parameters for every indicator: EMA lengths, RSI length and thresholds, MACD triplet, ADX length and threshold, SuperTrend ATR and factor, CVD lookback, OBV and RSI divergence windows, and the market structure pivot window with a choice between candle close and wick confirmation.
- Ten alert conditions: a bullish and a bearish verdict transition for each of the four timeframes, plus full bullish and bearish alignment across all visible timeframes.
- Table position and text size selectable, with all signal and table colours exposed as colour inputs.
Who it's for:
Trend followers, swing traders and intraday traders who work top-down and want the higher timeframe bias, the execution frame and the entry frame visible at the same time. It suits price-action and SMC or ICT workflows that treat break of structure and change of character as the primary context, and momentum-based approaches that need a strength filter before acting on a directional signal. The outcome is one table that answers whether a trend exists, which way it points on each timeframe, and where the timeframes disagree, without stacking a dozen overlays on the chart. Indikator

One Minute Algo Run Enhanced v6 sunny1. OMAR Enhanced v6
Welcome to the beginner training for OMAR Enhanced version six. This indicator organizes opening-range information, directional context, market levels, volume profile, trade plans, and alerts. It is a decision-support tool, not a promise of profit. Use replay or simulation first, define your maximum daily loss, and never take a trade only because a label appears.
2. Learning goals
By the end of this lesson, you should be able to read the opening range, distinguish fixed levels from developing levels, understand long, short, and no-trade conditions, and interpret the complete entry, stop, and target plan. You will also learn what the journal records and what the adaptive filter can and cannot do.
3. Indicator map
The indicator has four layers. Context explains the market environment. Levels show prices that may attract, reject, or accelerate price. Signals appear only when the entry rules are satisfied. Management tracks target one, target two, stop, and breakeven. Read the layers in this order so that a single signal is never separated from its context.
4. Chart orientation
On the chart, trade labels stay close to the breakout candle, while key-level labels sit farther to the right. Horizontal lines remain anchored to their actual prices, so zooming or scrolling does not change the level. Developing labels can move while their calculation window is open. Use the display settings to reduce label size, distance, color intensity, and transparency.
5. Opening range
The default New York opening range measures from nine thirty to ten oh five Eastern time. On a one-minute chart, the first completed bar can lock the range at nine thirty-one when that option is enabled. The high, midpoint, and low become reference prices. The normal trade window runs from nine thirty-one to four p.m. Eastern.
6. Target ladder
The entry is the breakout candle close. The default stop is the opening-range midpoint. The distance from entry to stop is one unit of risk, called one R. Target one is one R from entry, and target two is two R. A wider stop creates wider targets, so position size must be chosen separately to keep account risk controlled.
7. Opening bias
Opening bias is a frozen context check. Completed fifteen-minute and sixty-minute bars compare the nine and twenty-one exponential moving averages. Price at range lock must also agree with the opening VWAP side. When all three agree, the result is long or short. If alignment is incomplete, the indicator says wait. Bias narrows the preferred direction but does not create an entry by itself.
8. Live outlook
The live outlook updates as conditions change. It counts six directional votes: fifteen-minute trend, sixty-minute trend, VWAP side, position relative to the range midpoint, directional movement, and whether price is expanding outside the range. Scores of plus three or more show long, minus three or less show short, and the middle is neutral. This is context, not an entry alert.
9. Range state
Range state describes what price has done relative to the opening range. Building means the range is still forming. Inside range means price remains between the high and low. Expanding up or down requires a close outside the range, not only a wick. Back inside identifies a failed expansion. Both sides means the session closed beyond both boundaries at different times.
10. Fixed and developing levels
A fixed level stops changing after its measurement is complete. Examples include the prior-day high, low, and close, completed session ranges, locked initial balance, and confirmed pivots. A developing level can still move, such as the current regular-hours high or weekly profile. The word D E V on the chart warns you that the calculation has not finished.
11. Asia and London ranges
The default Asia session runs from six p.m. to midnight Eastern, and London runs from two to five a.m. These overnight highs and lows give context before New York opens. A sweep can reject and reverse, or it can accept and continue. Treat each boundary as a reaction area, then look for alignment with bias, structure, and an actual entry signal.
12. Asia opening range
The first fifteen minutes after the six p.m. futures open create a compact Asia opening range. It begins at six and becomes fixed at six fifteen. The high, midpoint, and low can help judge overnight acceptance and later retests. Use it together with the broader Asia high and low; the line alone is not a reason to enter.
13. Initial balance
Initial balance measures the first regular-hours hour, from nine thirty to ten thirty. After it completes, the indicator can project half-range and full-range expansions above and below. These are continuation and stretch references. They may also become reaction zones. Always check whether another opposing level sits before the projected expansion target.
14. Confirmed pivots
One-hour and four-hour pivots add higher-timeframe structure. With the default strength of three, a pivot needs three completed bars on each side, so confirmation arrives after the turning bar. This delay prevents the script from using future information. A confirmed pivot is possible support or resistance, but it does not guarantee that price will reverse there.
15. POC, VAH, and VAL
Volume profile estimates where trading activity occurred during a measured period. P O C is the price row with the most calculated volume. V A H and V A L are the top and bottom of the seventy-percent value area. Current regular-hours and weekly profiles develop until their periods finish. Watch for acceptance, rejection, and confluence; never assume the level must hold.
16. Naked weekly levels
At each completed week, the indicator stores weekly P O C, V A H, and V A L. If price has not traded through one of those levels, it remains naked and extends to the right as a possible future magnet or reaction area. When price touches it, the level becomes inactive. The default history is eight prior weeks, and no naked level is guaranteed to be reached today.
17. Why profile values differ
Two volume-profile indicators can show different values without either being broken. Differences may come from session hours, number of price rows, volume allocation method, lower-timeframe precision, contract symbol, continuous-contract adjustment, or whether the profile is still developing. For a fair comparison, match symbol, session, row count, value-area percentage, and data precision first.
18. Choppy and no trade
The indicator blocks entries when market quality falls below its rules. Common reasons are an opening range below ten points, A D X below eighteen, price balancing close to the developing daily P O C, or a breakout candle whose body is less than thirty-five percent of its full range. No trade is a valid signal and should remain until the blocking condition clears.
19. Signal gate
A long or short alert requires every enabled condition to be true on the breakout bar. The opening range must be locked, the time must be inside the trade window, no choppy block can be active, the candle body must be strong enough, and optional bias must agree. Finally, the close must cross the proper range boundary and the daily signal-frequency rule must permit it.
20. Entry, stop, and targets
For either direction, the alert provides a complete plan: entry at the breakout close, stop at the opening-range midpoint, and target one and target two from the risk distance. After target one, the journal protects the remaining simulated position at the original entry and records breakeven if price returns. Actual order size, fills, slippage, and partial exits remain the trader's responsibility.
21. Alerts and display controls
To receive the full dynamic message in TradingView, create an alert using Any alert function call. That message includes direction, symbol, entry, stop, both targets, opening bias, and range state. Display settings let you hide level groups and adjust trade-label size, key-level distance, naked-level distance, font appearance, text color, transparency, and full-width horizontal lines.
22. Journal and adaptive filter
The journal records trade count, target-one and target-two results, stops, breakevens, monthly totals, and recent target-one success. With fewer than ten results, the filter is learning only. Below fifty-five percent, it tightens quality rules, and below forty-five percent it tightens them further. This is rule adjustment, not machine learning. Pine does not rewrite itself or preserve unlimited learning after reloads.
23. Beginner daily workflow
Before regular hours, mark overnight ranges, prior-day levels, pivots, and naked profile levels. At nine thirty, let the range form. After lock, read bias, live outlook, range state, and any no-trade condition. At a breakout, require the alert and check room to the next opposing level. Manage the planned stop and targets. After the session, review in replay and change only one setting at a time. Education only; futures can produce losses quickly.
Gurpreet Sappal Indikator

McGinley Regime Ribbon [AxeAlgo]McGinley Regime Ribbon
----------------------------------------------------------------------
WHAT THIS SCRIPT DOES
----------------------------------------------------------------------
McGinley Regime Ribbon classifies the current market into one of four regimes, Trend Up, Trend Down, Ranging, or Volatile, on any chart, in real time, and colours a woven ribbon to match.
It is a context filter. It does not predict future price direction and it does not generate buy or sell signals. Its job is to tell you which kind of tool fits current conditions, so you can stop applying trend logic to a range or fade logic to a trend.
- Trend Up or Trend Down: trend and breakout tools are in context, and mean reversion tends to fight the move.
- Ranging: fades, support and resistance, and VWAP reversion tend to fit, while breakout tools tend to produce false starts.
- Volatile: wide, structureless movement with no dependable edge for either style. The label is a suggestion to stand aside.
----------------------------------------------------------------------
BACKGROUND, WHY A McGINLEY RIBBON AND NOT AN EMA RIBBON
----------------------------------------------------------------------
A standard EMA moves at one fixed speed set only by its length. That same speed applies in a dead calm range and in a fast trend. That fixed speed is the main reason an EMA ribbon whipsaws: in chop, price crosses back and forth through a band that cannot get out of the way, and the stacked or not stacked alignment reading that any ribbon based classifier depends on flickers along with it.
The McGinley Dynamic (John R. McGinley, CMT) handles this inside the formula rather than by adding more smoothing. Each line updates every bar with a term that measures how far price has pulled away from the line, raised to the fourth power. When price pulls away, the line speeds up to close the gap on its own. When price is riding the line, it settles back to roughly the pace of an EMA of the same length. The line is fast when it needs to be and calm when it needs to be, with no separate trend or chop switch attached on top.
The Ribbon Smoothness input is the published tuning constant that scales the baseline speed so it lines up with an EMA of the chosen length. Lower reacts faster, higher is steadier, and the adaptive behaviour happens on top of that either way.
----------------------------------------------------------------------
THE SHARED SPEED FACTOR
----------------------------------------------------------------------
The textbook McGinley formula lets each line compute its own deviation from price. In a five line ribbon that breaks the one property a ribbon needs, a stable relative order between the lines, because a slower line always lags price more than a faster one, so it sees a larger deviation and speeds up by a different amount on an ordinary bar.
In this script only the middle line computes its own deviation. The other four reuse that same speed factor. Relative responsiveness between any two lines is then a fixed ratio of their lengths, exactly like an EMA ribbon, while the ribbon as a whole still accelerates in trends and calms in chop as a group. The speed factor is bounded so one extreme bar cannot collapse every line at once. The five lengths keep Fibonacci spacing, 8, 13, 21, 34 and 55 by default, scaled from a single Ribbon Length input.
----------------------------------------------------------------------
HOW THE REGIME IS CLASSIFIED
----------------------------------------------------------------------
Three independent readings are combined on each bar.
1. Ribbon alignment. How many of the five lines are stacked in order, fast above slow for up or the reverse for down. A full stack is directional structure, a partial stack is not.
2. ADX, taken from the Directional Movement Index. Above the trending threshold points to a real directional push, below the chop threshold points to none. ADX on its own cannot separate trend from chop, which is why it is only one of three inputs.
3. Normalised ATR percentile. ATR divided by price, ranked against its own recent history on a 0 to 100 scale. A high percentile means volatility is unusually elevated for this symbol specifically. Ranking against its own history is what lets the thresholds work across different symbols and timeframes without re-tuning.
From those three:
- Volatile requires an elevated ATR percentile together with a ribbon that has come apart. A fully stacked ribbon is treated as a trend no matter how fast it is moving, so elevated volatility on its own never forces the Volatile state.
- Trending requires not Volatile, ADX at or above the trending threshold, a fully stacked ribbon, and a ribbon spread, meaning its width measured in ATR, at or above a minimum.
- Ranging is the calm, structureless default that applies when neither of the above holds.
----------------------------------------------------------------------
STABILITY AND CONFIRMATION
----------------------------------------------------------------------
Four layers keep the regime from flickering on a boundary.
- Hysteresis. The reading needed to leave a regime is looser than the one needed to enter it, so a value parked on a threshold does not flip every bar.
- Minimum hold. A changed raw regime becomes official only after it has held for a set number of bars. Entering Volatile is exempt by default, because standing aside should not wait.
- Flip rate chop filter. If the official regime has already changed several times inside a recent window, the market is whipsawing by definition, and a fresh trend call is held back until it settles. An already established trend is exempt, so this never fights a real trend through a pullback.
- Higher timeframe confirmation. The same classifier is run on a higher timeframe using confirmed bars only, then folded into an agreement flag and into the published gates. It can require the higher timeframe to merely not conflict, or to match the trend direction exactly.
----------------------------------------------------------------------
SCORES
----------------------------------------------------------------------
- Regime Confidence, 0 to 100. How far past its defining threshold the current regime sits. A reading right on the line scores near zero.
- Regime Maturity, 0 to 100. How long the current run has lasted compared with past runs of the same type on this symbol. A high value means the current phase is already longer than most earlier ones, which can flag a stretched range or an extended trend.
- Trend Quality, 0 to 100. A weighted blend of ADX, ribbon alignment, ribbon spread and mid line slope, reduced when volatility is elevated.
----------------------------------------------------------------------
WHAT YOU SEE ON THE CHART
----------------------------------------------------------------------
- A woven ribbon of 21 thin strands interpolated across the five McGinley lines, with no solid fill. Each strand is a shade of the current regime colour, darker on the slow edge and lighter on the fast edge, over a soft wide glow. Gold for Trend Up, ruby for Trend Down, royal blue for Ranging, indigo blue for Volatile.
- Shade is driven by Regime Confidence. A confident reading gets the full saturated colour. A borderline reading is pulled toward a greyed version of the same colour, never a different colour and never invisible, so the ribbon colour itself tells you how much to trust the call.
- On a regime change every strand cross fades from the old colour to the new one over a few bars, so the ribbon melts between colours instead of snapping.
- A diamond when the regime officially flips into a directional call. A gold diamond below the bar for Trend Up and a ruby diamond above the bar for Trend Down, following the usual arrow convention. Flips into Ranging or Volatile are reported on the dashboard rather than the chart.
----------------------------------------------------------------------
DASHBOARD
----------------------------------------------------------------------
A compact on chart panel showing the current regime, the tool family it favours, Trend Quality, Regime Confidence, ADX, ATR percentile, the recent flip count, how long the regime has run against its own median, any pending flip and its confirmation countdown, and the higher timeframe regime with its agreement state. If the optional signal section is enabled it also shows average result by regime.
Position is selectable. The whole panel can be turned off.
----------------------------------------------------------------------
OPTIONAL, GRADE A SIGNAL BY REGIME
----------------------------------------------------------------------
An optional section lets you wire in an external signal series from another indicator, positive for long, negative for short, zero for flat. The script measures each entry forward return over a chosen number of bars in ATR units and reports the average result grouped by the regime the signal fired in, so you can see which regimes your own signal actually performs in. It is off by default and stays blank until pointed at a real signal.
----------------------------------------------------------------------
INPUTS
----------------------------------------------------------------------
- Ribbon. Price source, overall length, smoothness, and drawn width. Drawn width changes appearance only, not detection.
- Trend Criteria. A single dial, Strict, Normal or Lenient, that moves the trend strength bar, the minimum ribbon width, the volatility cut off, the confirmation delay and the quality floor together.
- Higher Timeframe Check. On or off, and which timeframe to use.
- Display. Element toggles, panel position, and the four regime colours.
- Grade A Signal By Regime. The optional external signal section above.
- Advanced. Higher timeframe agreement rules, ADX and ATR lengths, volatility lookback, colour fade length, and whether markers and alerts wait for the bar close.
----------------------------------------------------------------------
CALCULATION AND REPAINT BEHAVIOR
----------------------------------------------------------------------
Chart timeframe logic uses only the current bar own data. Higher timeframe reads take the last closed higher timeframe bar with lookahead off, so they do not repaint. The regime change diamonds and the alert calls are gated to confirmed, closed bars by default.
The ribbon colour on the open, still forming bar can update until that bar closes, because the live bar regime is not final until then. This is expected for a context tool. The confirmed markers and alerts are the parts that wait for the close.
There is a warm up period. The ribbon, ADX and the percentile window all need history first, and until that fills the panel reads Calibrating and no regime is published.
----------------------------------------------------------------------
LIMITATIONS
----------------------------------------------------------------------
- This is a classifier, not a strategy. It describes current conditions, it does not tell you where to enter or exit.
- Regime calls lag by design. Hysteresis, the minimum hold and the chop filter all trade a few bars of delay for fewer false flips.
- On very short histories, or the first bars of a new symbol, there is not enough data to rank volatility or measure regime maturity, and those readings stay blank until enough runs have completed.
- Thresholds are preset driven. The three criteria presets cover most cases, but unusual instruments may still need the Advanced dials.
----------------------------------------------------------------------
DISCLAIMER
----------------------------------------------------------------------
Trading involves substantial risk of loss and is not suitable for every investor. Nothing in this script or its description constitutes financial, investment, or trading advice. The regimes detected by this script label current and past conditions only and are not indicative of future results. Test any tool on your own markets, timeframes and settings before relying on it.
Indikator

Volume Pressure ZonesThe Volume Pressure Zones indicator identifies areas of concentrated buying and selling pressure by analyzing intra-bar price action and volume.
Rather than relying purely on price structure, this script estimates the internal volume pressure behind price movements. It splits the volume of each candle into Buy and Sell components based on where the candle closes relative to its high-low range.
How it Works:
Pressure Calculation: The script tracks the cumulative Buy and Sell volumes over a specified lookback period (default 6) and compares them against the average volume.
Zone Projection: When the concentrated pressure exceeds a user-defined threshold (default 1.3), it projects a visual zone forward.
Buy Zones (White): Represent areas of concentrated buying pressure, potentially acting as support.
Sell Zones (Black): Represent areas of concentrated selling pressure, potentially acting as resistance.
Overlap Prevention: To maintain a clean and readable chart, the script prevents new boxes of the same type from overlapping. A new zone is drawn only after the previous zone's extension period has fully elapsed.
Settings:
Pressure Threshold: Adjusts the sensitivity of zone creation. A higher value requires a stronger concentration of volume to draw a box.
Zone Extension: Determines how many bars forward the support/resistance box is projected.
Moving Average (Optional): An optional EMA is included with slope-based color coding for trend context. This is hidden by default to keep the chart clean.
This indicator does not predict future price movements but provides a visual mapping of where significant volume pressure has recently occurred. It is best used alongside other contextual market analysis.
How to Use (Trading Strategies & Applications):
1. The Pullback & Retest Strategy
These zones represent areas where significant capital was committed. Rather than entering a trade immediately as the zone forms, wait for the initial move to play out and look for a pullback to the zone.
Bullish Setup: Wait for a White (Buy) zone to form and price to move higher. When the price retraces back into this white zone, look for bullish rejection (e.g., a pin bar or engulfing candle) to enter long.
Bearish Setup: Wait for a Black (Sell) zone to form and price to drop. Sell on the retracement back into the black zone, using it as a resistance ceiling.
2. Trend Alignment (Using the Optional MA)
To avoid trading against the dominant momentum, use the built-in Moving Average (or your own preferred trend filter) to select high-probability zones.
Enable the Moving Average in the settings.
If the price is trading above a rising MA, prioritize White (Buy) zones for long entries and ignore black zones.
If the price is trading below a falling MA, prioritize Black (Sell) zones for short entries and ignore white zones.
3. Dynamic Risk Management (Stop Loss & Take Profit)
The zones provide logical, volume-backed levels for managing your risk and targeting profits.
Stop Loss Placement: When taking a long position from a support area, place your stop loss just below the bottom edge of the current White (Buy) zone.
Take Profit Placement: If you are in a long position, use the nearest developing or existing Black (Sell) zone as a realistic take-profit target, as it represents historical selling pressure.
4. Breakout Validation
When the price approaches a previously established pressure zone, observe how volume and price behave. If the price easily breaks through a thick Black (Sell) zone with strong momentum, it indicates that the buyers have fully absorbed the historical selling pressure. This invalidated resistance zone often flips to become future support.
Disclaimer: Like all technical indicators, Volume Pressure Zones should not be used in isolation. It works best when combined with broader market structure analysis, price action, and proper risk management. Indikator

EMA Speed Oscillator + RSI
Title: EMA Speed Oscillator + RSI
Description:
The Core Philosophy: Fixing RSI's Biggest Flaw
The Relative Strength Index (RSI) is arguably one of the most popular oscillators in technical analysis. However, it has a massive functional blind spot: During strong, aggressive trends, the RSI can remain in "overbought" or "oversold" territories for extended periods.
Many traders get trapped trying to catch a falling knife just because the RSI is below 30, or they prematurely short a massive bull rally because the RSI is above 70.
The Solution: You need a true momentum filter to confirm the RSI. That is exactly what this indicator does. By merging the standard RSI with the velocity (Speed) of an Exponential Moving Average (EMA) in a single pane, this tool filters out the "noise" and fakeouts of the RSI. You no longer have to guess if an oversold RSI is a true reversal or just a trap in a strong downtrend.
How It Works Under the Hood
This indicator calculates the percentage rate of change (velocity) of a chosen EMA over a specific lookback period.
Instead of plotting the RSI on a separate 0-100 scale (which would create a visual mess when mixed with momentum percentages), the RSI is custom-scaled to flawlessly match the EMA Speed's visual range. This allows you to monitor exactly how price momentum and relative strength are interacting at any given second.
How to Trade Using This Indicator
Instead of printing rigid, lagging "Buy/Sell" labels, this indicator provides pure, readable momentum context so you can make informed decisions.
🟢 Bullish Reversal Setup (Long)
The Setup: Wait for the Scaled RSI (Orange line) to drop into or below the Oversold zone (Green dotted line).
The Trap Avoidance: Do NOT buy immediately. The downtrend might still be strong.
The Trigger: Wait for the EMA Speed (Colored line) to turn Green and aggressively cross ABOVE the Zero Line. This confirms that the true momentum has shifted bullish, validating the RSI reversal.
🔴 Bearish Reversal Setup (Short)
The Setup: Wait for the Scaled RSI (Orange line) to push into or above the Overbought zone (Red dotted line).
The Trap Avoidance: Do NOT short immediately. The bull trend might just be resting.
The Trigger: Wait for the EMA Speed to turn Red and aggressively cross BELOW the Zero Line. This confirms the sellers have taken control of the momentum.
Key Features Breakdown
EMA Speed Oscillator: Measures the true acceleration of the trend. Green line indicates positive momentum, Red line indicates negative momentum.
Perfectly Scaled RSI: The orange RSI line dynamically adapts to the EMA speed scale, preventing visual clutter while allowing precise crossover comparisons.
The Squeeze Zone (Purple Background): When the EMA Speed falls extremely close to the zero line, momentum is dead. The indicator paints the background Purple to warn you of a flat, choppy, or consolidating market. Rule of thumb: Avoid taking reversal trades inside the Purple Zone. Wait for a volatility breakout.
Live Status Dashboard: A sleek table in the top-right corner displays real-time EMA Speed %, standard RSI values, and current trend status (Rising, Falling, or Flat) at a single glance.
Default & Recommended Settings
The script is optimized by default for high-sensitivity, short-to-medium term momentum tracking:
EMA Period: 6
Lookback Period: 13 (Measures how much the EMA has moved compared to 13 bars ago)
Note: You can freely adjust these in the settings to suit higher timeframes (like 1D or 1W) for swing trading.
Disclaimer: This script is for educational and analytical purposes only. No indicator guarantees 100% accuracy. Always use this tool in conjunction with overall market structure, price action, and proper risk management. Indikator

VIKING + AXE & SHIELD## VIKING + AXE & SHIELD — What This Indicator Does
**VIKING + AXE & SHIELD was built so you only need one TradingView indicator on your chart.**
Instead of stacking separate indicators for moving averages, RSI, Accumulation/Distribution, OBV, CMF, ADX, relative volume, relative strength, support/resistance and other context, this script combines them into **one overlay indicator and one compact information panel**. The goal is to keep the chart clean while still showing trend, momentum, volume, money flow, relative strength and important price levels in one place.
The indicator automatically works from the **timeframe you are currently viewing**. For example, if the chart is on 1H, the RSI and A/D calculations are based on hourly bars. On Daily, they use daily bars. On Weekly, they use weekly bars.
### Moving averages
VIKING plots four commonly used trend averages directly on the price chart:
* **9 EMA**
* **21 EMA**
* **50 SMA**
* **200 SMA**
The 9 and 21 EMAs are intended to show shorter-term trend and momentum, while the 50 and 200 SMAs provide broader trend structure. Their current prices are also printed beside the averages so you can immediately see where they are without moving the cursor over them.
Internally, the script also examines the relationship between these moving averages and price. It can recognize conditions such as bullish or bearish MA stacking, price reclaiming or losing moving averages, golden/death-cross conditions, and developing trend structures. Those calculations are kept in the script even though they are not all printed in the VIKING panel.
### AXE & SHIELD support and resistance
AXE & SHIELD is the support/resistance part of the system.
Rather than simply drawing every recent high and low, it detects pivot-based price zones and tracks how those zones behave after they are created. Zone width is adjusted using ATR, and nearby pivots can be merged into the same area rather than creating a cluttered chart full of almost-identical levels.
The script evaluates support and resistance using several ideas, including:
* how well price closes relative to the zone,
* how deeply price penetrates it,
* how strongly price reacts away from it,
* how many times the zone has already been tested,
* and whether the zone has actually broken.
This creates an internal **zone survival score** rather than assuming every support or resistance level has equal strength. The score itself is intentionally kept internal so the chart remains simple.
Support levels are shown in the selected support color and resistance in the selected resistance color. Provisional/unconfirmed levels can be shown with a dotted appearance, and the script can mark zones that have been swept.
The nearest support and nearest resistance are also exported to TradingView's data window/status line if enabled.
---
# The VIKING information panel
The panel condenses several indicators into a small area instead of requiring separate lower chart panes. It includes:
**ADX / 52W High**
**P-RVOL / RS**
**OBV / ADR%**
**CMF / Average Volume**
**RSI full readout**
**A/D Pressure full readout**
The panel position and text size are adjustable. Strong, caution and weak/broken conditions are color coded so the information can be scanned quickly.
## ADX — trend strength
ADX answers a simple question:
**How strong is the current trend?**
The script uses a 14-period DMI/ADX calculation.
* Above **25** = Strong
* Below **20** = Choppy
* Between 20 and 25 = Building
It also compares ADX with three bars ago and adds arrows to show whether trend strength is increasing or decreasing.
Example:
`ADX 30.6 Strong ↑`
means a relatively strong trend whose strength is still increasing.
Important: **ADX does not tell you whether the trend is bullish or bearish.** It measures the strength of the trend.
## 52W Hi — distance from the 52-week high
The panel calculates the highest price over approximately 252 bars and shows how far the current price is from that high as a percentage.
Example:
`52W Hi -8.2%`
means price is currently about 8.2% below its 52-week high.
This provides quick context about whether a stock is trading near leadership territory or well below previous highs.
## P-RVOL — projected relative volume
P-RVOL is more sophisticated than simply comparing today's volume with yesterday's volume.
The script builds a historical intraday volume curve using previous sessions. By default, it uses:
* the previous **20 sessions**,
* a **15-minute calculation timeframe**,
* and regular NYSE hours of **9:30 AM–4:00 PM New York time**.
It looks at how much volume normally occurs by the current point in the trading session and projects what the full day's volume may look like.
Example:
`P-RVOL 1.50x`
roughly means the current trading pace is projecting toward about **1.5 times normal session volume**.
The arrows show whether projected relative volume itself is increasing or decreasing.
This makes P-RVOL especially useful early in the trading day because you do not have to wait until the closing bell to know whether participation appears unusually strong.
## RS — relative strength
The RS rating measures the stock's performance relative to the S&P 500.
The calculation gives more weight to recent performance while also considering longer periods, using approximately:
* 63 trading days,
* 126 days,
* 189 days,
* 252 days.
The stock's performance is compared against SPX over those same periods.
The result is converted into an RS-style rating, and an arrow indicates whether relative strength is improving or deteriorating.
Example:
`RS 83 ↑`
means the stock is showing relatively strong performance and its relative-strength trend is improving.
## OBV — buying and selling pressure
On-Balance Volume looks at volume together with whether price closed higher or lower.
VIKING does not clutter the panel with OBV's huge raw cumulative number. Instead it examines the **five-bar change** and converts it into an easy description:
* Strong Buying ↑
* Buying ↑
* Strong Selling ↓
* Selling ↓
* Neutral →
That gives the useful information from OBV without needing an OBV pane.
## ADR% — average daily range
ADR% shows the stock's average trading range as a percentage over the previous 20 bars.
Higher ADR stocks generally make larger percentage moves, while lower ADR stocks generally move less.
For example:
`ADR% 4.94%`
means the stock has recently been moving through an average daily range of roughly 4.94%.
This gives a fast way to judge how volatile or active a stock normally is.
## CMF — Chaikin Money Flow
CMF measures where price closes within each candle's range and weights that behavior by volume over 20 periods.
Positive CMF generally indicates buying pressure, while negative CMF indicates selling pressure.
VIKING calculates both the current CMF value and its recent direction.
A reading such as:
`CMF +0.20`
suggests positive money flow.
A negative reading suggests the opposite.
## Average Volume and liquidity label
VIKING calculates average volume over 50 bars and adds a simple liquidity classification:
* **Liquid** = average volume above 500,000
* **Thin** = above 100,000
* **Avoid** = below 100,000
This is meant as a quick screening aid, not a universal definition of liquidity.
---
# RSI without needing an RSI pane
One of the main purposes of VIKING is to provide enough numerical information about RSI that a separate RSI pane is unnecessary.
The readout looks like:
`RSI 37.2 | Δ5 +1.9 | Dist -1.9 | Acc3 +9.3`
It contains four pieces of information.
### RSI
The first number is standard **RSI(14)**.
The script also calculates a **14-period SMA of RSI** as its baseline.
A simplified way to think about the current reading:
* above 60 = stronger momentum
* 40–60 = middle/transition area
* below 40 = weaker momentum
These same thresholds control the panel's RSI color.
### Δ5
`Δ5` means:
**How much has RSI changed over the previous five bars?**
Example:
`Δ5 +7.0`
means RSI is seven points higher than five candles ago.
`Δ5 -7.0`
means RSI is seven points lower.
Because it is based on bars, the meaning automatically changes with your chart:
* 1H chart = five hours
* Daily chart = five trading days
* Weekly chart = five weeks
This makes the same indicator useful across multiple timeframes.
### Dist
`Dist` is the distance between current RSI and its 14-period RSI moving-average baseline.
Example:
`RSI 55 | Dist +7`
means RSI is seven points above its recent baseline.
`RSI 55 | Dist -4`
means RSI may still be above 50, but it is actually below its recent RSI trend.
That distinction helps identify whether momentum is strengthening or weakening instead of relying only on the absolute RSI number.
### Acc3
`Acc3` measures **three-bar acceleration**.
The script compares RSI's move over the latest three bars with its move over the previous three bars.
This is useful because a single bad candle does not automatically destroy an otherwise improving momentum trend.
For example:
`RSI 42 | Δ5 +5 | Dist +3 | Acc3 +7`
can be read as:
RSI is still relatively low, but it has improved over five bars, moved above its recent baseline, and the recent three-bar move is stronger than the three bars before it.
So rather than simply knowing **where RSI is**, VIKING also tells you:
**where it came from, where it sits relative to its trend, and whether that movement is gaining or losing strength.**
---
# A/D Pressure without needing an Accumulation/Distribution pane
Standard Accumulation/Distribution is cumulative. Raw values can become extremely large and are difficult to compare between different stocks.
VIKING therefore converts A/D into a normalized **A/D Pressure** reading instead of displaying the raw cumulative number.
It examines the change in A/D over 20 bars and divides that change by the total volume over the same period. The result is converted to a scale capped between approximately **-100 and +100**.
The readout looks like:
`A/D -11 | Δ5 -5 | Dist -9 | Acc3 +6`
### A/D
The first number is the current normalized pressure.
Broadly:
* positive = accumulation pressure
* negative = distribution pressure
* near zero = relatively balanced
The panel colors stronger positive readings at +20 or higher and stronger negative readings at -20 or lower.
### A/D Δ5
This tells you how much normalized A/D pressure has changed over five bars.
`Δ5 +10`
means accumulation/distribution behavior has improved by 10 points over five candles.
`Δ5 -10`
means it has deteriorated.
### A/D Dist
A/D Pressure has its own **20-period moving-average baseline**.
`Dist` tells you how far current pressure is above or below that normal path.
Positive Dist means current A/D pressure is stronger than its recent baseline.
Negative Dist means it is weaker.
### A/D Acc3
Acc3 uses the same concept as RSI.
It compares the change in A/D Pressure during the latest three bars with the previous three bars.
This creates some very useful combinations.
For example:
`A/D -11 | Δ5 -5 | Dist -9 | Acc3 +6`
means:
**A/D is still negative, it is still worse than five bars ago, and it remains below its baseline — but the most recent three-bar behavior is improving.**
In other words:
**The condition is still weak, but it may be starting to turn.**
That is much more informative than simply displaying a raw A/D value.
---
# Stage and long-term trend context
The script also contains daily calculations involving the **200-day and 220-day moving averages**.
It checks whether price is moving above the 200-day average while the long-term average is flat or improving, including cases where price gaps completely above the prior 200-day average.
These calculations are designed to provide longer-term stage/trend context directly on the chart rather than adding another separate study.
---
# How to read the indicator as a whole
VIKING is not intended to make a trading decision from one number.
Its purpose is to let several independent pieces of evidence confirm or disagree with each other.
For example, a strong setup might show something like:
```text
ADX 31 Strong ↑
P-RVOL 1.45x ↑
OBV Strong Buying ↑
CMF +0.18
RS 82 ↑
52W Hi -4.2%
RSI 58.4 | Δ5 +7.2 | Dist +5.1 | Acc3 +4.0
A/D +28 | Δ5 +12 | Dist +9 | Acc3 +7
```
That would tell you:
**Trend strength is increasing, volume participation is elevated, OBV and CMF show buying pressure, the stock is relatively strong, it is close to its 52-week high, momentum is improving, and accumulation pressure is strengthening.**
The opposite combination would warn that multiple parts of the market structure are deteriorating.
The important idea is that **no individual reading needs to be treated as a buy or sell signal. VIKING is a compact market-context system.**
## Why it was built
Most TradingView layouts become crowded when you add:
RSI + A/D + OBV + CMF + ADX + relative volume + moving averages + support/resistance + relative strength.
VIKING + AXE & SHIELD is designed to replace that stack with **one indicator**.
Price stays as the main focus.
The moving averages and important support/resistance levels stay directly on the chart, while indicators that would normally require separate panes are converted into compact numerical or descriptive readings in the VIKING panel.
That gives you more chart space while still preserving information about:
**trend, momentum, participation, accumulation/distribution, money flow, volatility, relative strength and market structure.**
That is the core purpose of the script.
Indikator

Intraday Master ProHere is a comprehensive customer-facing explanation and guide for your Intraday Master Pro indicator, written in clear, professional English, complete with a concise legal disclaimer at the end.
Welcome to Intraday Master Pro
Intraday Master Pro is a high-precision trading script engineered to identify high-probability intraday opportunities by filtering momentum, volume, and multi-timeframe alignment into automated trade setups.
Key Features
Multi-Timeframe Trend Dashboard: Real-time alignment checks across the 1m, 5m, and 15m timeframes.
Dynamic Trend Flow Band: Visual volatility channels indicating overall market bias.
Precision Entry Signals: Volume-filtered entries based on EMA crossovers and RSI constraints.
Automated Risk Management: Dynamic Stop Loss (SL) and 3 Take Profit targets (TP1, TP2, TP3) anchored directly to active signal bars.
Setup Rating Score (1–100): Real-time setup scoring algorithm based on multi-timeframe concordance and volume strength.
How It Works
1. High-Precision Signals & Entry Conditions
The indicator issues BUY or SELL labels only when multiple conditions align:
Trend & Momentum: Fast and Slow EMA crossovers filtered by RSI.
Volume Confirmation: Spikes exceeding 1.25x the 20-period volume average.
Cooldown Guard: Built-in bar cooldown filters to prevent whipsaws during choppy consolidated markets.
2. Multi-Timeframe Dashboard & Setup Rating
Located on the right side of your chart, the dashboard updates live:
1m / 5m / 15m Trend Status: Green (BULL) or Red (BEAR) depending on price position relative to core moving averages.
Setup Rating (1 to 100): A live score grading the quality of the current setup.
80–100 (Green): High-confluence setup across all timeframes and volume.
60–79 (Orange): Moderate setup; proceed with standard risk.
Below 60 (Gray): Low confluence or weak trend.
3. Dynamic Stop Loss & Take Profit Levels
When a valid signal triggers, the indicator projects extended level lines onto your chart:
SL (Orange Line): Calculated dynamically using ATR based on recent market volatility.
TP1 (1.5x R:R): Partial profits / initial target.
TP2 (2.8x R:R): Main target.
TP3 (4.5x R:R): Extended runner target for strong trending days.
How to Use Intraday Master Pro
Wait for a Signal: Look for a clear BUY or SELL label on the chart.
Check Confluence: Glance at the Dashboard. Look for Setup Ratings of 80/100 or higher and alignment across 1m, 5m, and 15m timeframes for maximum statistical edge.
Set Orders: Place your Stop Loss at the SL line and split your position across TP1, TP2, and TP3.
Manage Risk: Once price reaches TP1, consider moving your Stop Loss to entry (Breakeven) to lock in a risk-free trade while riding the position to TP2 and TP3.
Settings & Configuration
Risk Management Inputs: Adjust Core Sensitivity or Volatility Factor to widen or tighten stop-loss distances based on the asset’s volatility.
Visuals: Toggle the Dashboard or Flow Band visibility on/off and customize accent colors to fit dark or light charts.
Disclaimer
The Intraday Master Pro indicator is designed strictly for educational and informational purposes and does not constitute financial, investment, or trading advice. Past performance is not indicative of future results. Trading equities, options, forex, and cryptocurrencies involves significant financial risk and can result in the loss of your capital. Always practice proper risk management and consult a licensed financial advisor before executing trades. Indikator

Multi-Timeframe Trend & AlignmentComprehensive Technical Overview: Multi-Timeframe Trend & Alignment Pro
This custom script is an institutional-grade technical analysis dashboard designed for professional traders who demand multi-timeframe confirmation, structural alignment, and real-time performance tracking directly on their chart canvas. By unifying multiple Exponential Moving Averages (EMAs), Simple Moving Averages (SMAs), HTF (Higher Timeframe) momentum oscillators, and performance metrics into a single dynamic interface, the script eliminates chart clutter and provides an immediate read on market structure.
Key Architectural Features
Dual Moving Average Suite: Supports up to 10 customizable EMAs and 10 customizable SMAs, allowing traders to track short-term scalping triggers alongside long-term structural baselines simultaneously.
Dynamic Table Matrix: Automatically aggregates active moving averages, sorts them by price value in real time, calculates distance metrics (points and percentage from current price), and dynamically adjusts background coloring based on structural alignment.
Multi-Timeframe (MTF) Intelligence: Incorporates robust higher-timeframe metrics via request.security, evaluating trend health across EMAs, MACD, ADX trend strength, SuperTrend direction, and RSI without repainting issues.
Performance Percentage Tracking: Automatically computes and displays Day-to-Day (DTD), Week-to-Week (WTD), Month-to-Month (MTD), Year-to-Date (YTD), and 1-Year rolling performance benchmarks.
Clean Visual Management: Features native price scale label projections and conditional toggle controls to ensure a distraction-free trading workspace.
Input Customization Guide
Global Settings
Source: The price source used for all moving average calculations (default is close).
HTF Trend Timeframe: Selects the reference timeframe for higher-timeframe trend context (e.g., Daily, 4-Hour, Weekly).
EMA / SMA Settings
Show / Length / Width / Color: Inline controls to toggle individual averages on/off, adjust lookback lengths, set line thickness (1–4), and assign distinct color profiles.
Display Controls
Show Alignment Table: Toggles the real-time on-screen data matrix.
Show Performance %: Appends DTD, WTD, MTD, YTD, and 1-Yr return metrics to the summary table.
Show HTF Trend Metrics: Appends higher-timeframe technical indicators (MACD, ADX, SuperTrend, RSI) to the dashboard.
Trading Strategies & Practical Applications
Trend Stack Confluence: When shorter-length moving averages cleanly stack above longer-length averages while price holds above key HTF baselines, the table shifts to a bullish-aligned background, signaling institutional accumulation.
Mean Reversion & Distance Tracking: Use the Dist (Pts / %) column in the real-time table to gauge overextension. Extreme percentage deviations from core moving averages (like the 50 or 200 period lines) often highlight prime mean-reversion entries or profit-taking zones.
Multi-Timeframe Filter: Pair the primary chart execution with the embedded HTF metrics. Taking long setups only when the HTF EMA stack and SuperTrend register as bullish ensures alignment with dominant macro order flow. Indikator

DNSE VN301!, BB-SMA Trend Following "Bollinger Bands Breakout with SMA Trend Filter" is a volatility-based trend-following strategy designed to capture strong directional price movements when price breaks beyond its recent volatility range. The strategy uses Bollinger Bands with a default SMA(20) basis and 2.0 standard deviations to identify bullish breakouts above the upper band and bearish breakouts below the lower band.
To improve signal quality, the strategy combines Bollinger Band breakouts with a mandatory SMA(200) trend filter, allowing Long trades only when the SMA is rising and Short trades only when it is falling. By combining volatility expansion with broader trend confirmation, the strategy seeks to reduce counter-trend and false breakout signals while participating in stronger intraday movements. It also includes configurable stop loss, take profit, trading session, trade direction, and automatic end-of-session position closure for disciplined risk management.
Strategy settings and configuration:
Chart timeframe: recommended 5-minute chart
Position size: 3 contracts
Bollinger Bands length: 20
Bollinger Bands multiplier: 2.0
SMA length: 200
Stop loss: 10 points
Take profit: 20 points
SMA trend filter: always enabled
Take profit: On / Off
Time filter: On / Off
Trading session: 09:00 – 14:30
Trade direction: Long / Short / Both
Default script settings:
The strategy calculates Bollinger Bands using the SMA(20) of the closing price. The upper and lower bands are created by adding or subtracting two standard deviations around the middle line.
When the closing price breaks above the upper Bollinger Band, buying pressure may be taking control. When the closing price breaks below the lower Bollinger Band, selling pressure may be taking control.
SMA(200) is used as the main trend filter. When SMA(200) is rising, the script only allows Long trades. When SMA(200) is falling, the script only allows Short trades.
In CNPS 04, the SMA(200) filter is always enabled. This helps the bot filter out breakout signals that go against the longer-term trend.
Users can add the built-in Bollinger Bands indicator on TradingView with Length 20 and Multiplier 2.0 to visually monitor the signal on the price chart.
Entry and exit rules:
Long entry:
Closing price > upper Bollinger Band
AND SMA(200) is rising
AND the signal appears during the trading session
AND trade direction allows Long entries
Long exit:
Stop loss: 10 points from entry price
Take profit: 20 points from entry price, if enabled
Opposite breakout signal appears
Reversal when a valid Short signal appears
Automatic position close at the end of the trading session
Short entry:
Closing price < lower Bollinger Band
AND SMA(200) is falling
AND the signal appears during the trading session
AND trade direction allows Short entries
Short exit:
Stop loss: 10 points from entry price
Take profit: 20 points from entry price, if enabled
Opposite breakout signal appears
Reversal when a valid Long signal appears
Automatic position close at the end of the trading session
Risk disclaimer:
Futures trading involves a high level of risk and prices can move sharply. This script is provided for reference, research, and backtesting purposes only. Users should fully understand derivatives trading, their own risk tolerance, and the strategy logic before applying it to live trading.
All investment decisions are the responsibility of the user. phaisinh.online is not responsible for any losses arising from the use of this strategy in real trading. Past performance does not guarantee future results.
_________________________________________________________________
"Bollinger Bands Breakout với Bộ lọc Xu hướng SMA" là một chiến lược giao dịch theo xu hướng dựa trên biến động, được thiết kế nhằm nắm bắt các chuyển động giá mạnh theo một hướng khi giá phá vỡ khỏi vùng biến động gần nhất. Chiến lược sử dụng Bollinger Bands với đường cơ sở mặc định là SMA(20) và 2,0 độ lệch chuẩn để xác định tín hiệu bứt phá tăng khi giá vượt lên trên dải trên và tín hiệu bứt phá giảm khi giá xuống dưới dải dưới.
Để nâng cao chất lượng tín hiệu, chiến lược kết hợp tín hiệu bứt phá Bollinger Bands với bộ lọc xu hướng SMA(200) bắt buộc, chỉ cho phép giao dịch Long khi SMA đang dốc lên và giao dịch Short khi SMA đang dốc xuống. Bằng cách kết hợp sự mở rộng của biến động với xác nhận xu hướng tổng thể, chiến lược hướng tới việc giảm thiểu các tín hiệu giao dịch ngược xu hướng và các tín hiệu phá vỡ giả, đồng thời tận dụng các chuyển động intraday mạnh hơn. Chiến lược cũng bao gồm các tùy chọn Stop Loss, Take Profit, khung thời gian giao dịch, hướng giao dịch và cơ chế tự động đóng vị thế khi kết thúc phiên, nhằm đảm bảo quản trị rủi ro một cách chặt chẽ và có kỷ luật.
Cài đặt & cấu hình chiến lược:
Biểu đồ: khuyến nghị khung 5 phút
Khối lượng giao dịch: 3 hợp đồng
Chu kỳ Bollinger Bands: 20
Hệ số nhân Bollinger Bands: 2.0
Chu kỳ SMA: 200
Cắt lỗ: 10 điểm
Chốt lời: 20 điểm
Bộ lọc xu hướng SMA: luôn bật
Dùng chốt lời: Bật / Tắt
Bộ lọc giờ: Bật / Tắt
Khung giờ giao dịch: 09:00 – 14:30
Chiều giao dịch: Mua / Bán / Cả hai
Cài đặt mặc định của script:
Chiến lược tính toán Bollinger Bands dựa trên đường SMA(20) của giá đóng cửa. Dải trên và dải dưới được tạo bằng cách cộng hoặc trừ hai độ lệch chuẩn quanh đường giữa.
Khi giá đóng cửa vượt lên trên dải trên Bollinger Bands, lực mua có thể đang chiếm ưu thế. Khi giá đóng cửa phá xuống dưới dải dưới Bollinger Bands, lực bán có thể đang chiếm ưu thế.
SMA(200) được dùng làm bộ lọc xu hướng chính. Khi SMA(200) dốc lên, script chỉ cho phép lệnh Mua. Khi SMA(200) dốc xuống, script chỉ cho phép lệnh Bán.
Trong CNPS 04, bộ lọc SMA(200) luôn bật. Điều này giúp bot loại bỏ bớt các tín hiệu breakout đi ngược xu hướng dài hạn.
Người dùng có thể thêm chỉ báo Bollinger Bands có sẵn trên TradingView với tham số Length 20 và Multiplier 2.0 để quan sát tín hiệu trực quan trên biểu đồ giá.
Điều kiện vào và thoát lệnh:
Vào lệnh Mua:
Giá đóng cửa > dải trên Bollinger Bands
VÀ SMA(200) dốc lên
VÀ tín hiệu xuất hiện trong khung giờ giao dịch
VÀ chiều giao dịch cho phép lệnh Mua
Thoát lệnh Mua:
Cắt lỗ: 10 điểm từ giá vào lệnh
Chốt lời: 20 điểm từ giá vào lệnh, nếu bật
Có tín hiệu breakout ngược chiều
Đảo chiều khi xuất hiện tín hiệu Bán hợp lệ
Tự động đóng lệnh khi hết khung giờ giao dịch
Vào lệnh Bán:
Giá đóng cửa < dải dưới Bollinger Bands
VÀ SMA(200) dốc xuống
VÀ tín hiệu xuất hiện trong khung giờ giao dịch
VÀ chiều giao dịch cho phép lệnh Bán
Thoát lệnh Bán:
Cắt lỗ: 10 điểm từ giá vào lệnh
Chốt lời: 20 điểm từ giá vào lệnh, nếu bật
Có tín hiệu breakout ngược chiều
Đảo chiều khi xuất hiện tín hiệu Mua hợp lệ
Tự động đóng lệnh khi hết khung giờ giao dịch
Tuyên bố rủi ro:
Giao dịch hợp đồng tương lai có mức độ rủi ro cao và giá có thể biến động mạnh. Script này chỉ phục vụ mục đích tham khảo, nghiên cứu và kiểm thử. Người dùng cần hiểu rõ giao dịch phái sinh, khẩu vị rủi ro cá nhân và logic của chiến lược trước khi áp dụng vào giao dịch thực tế.
Mọi quyết định đầu tư thuộc trách nhiệm của người dùng. phaisinh.online không chịu trách nhiệm cho bất kỳ khoản lỗ nào phát sinh từ việc sử dụng chiến lược này trong giao dịch thực tế. Hiệu quả trong quá khứ không đảm bảo kết quả trong tương lai.
Strategi

Elsea Heat Band & MAsElsea Heat Band & MAs is a moving-average utility: it draws the medium-term band (also known as the Bull Market Support Band / Bear Market Resistance Band, credit: Benjamin Cowen) alongside a set of conventional daily and weekly moving averages, on a single overlay with independent toggles for each group.
There is nothing novel in the calculations here. Every line is a standard SMA or EMA at a conventional length, and the cross detection is the standard 50/200 golden and death cross. The script exists to put a specific combination on one chart with consistent colouring, per-group toggles and end-of-series labels, rather than to introduce a new method. It is open-source for that reason.
WHAT IT DRAWS
Heat Band — a 140-day SMA and a 147-day EMA (roughly twenty and twenty-one weeks of trading days) with a shaded fill between them. Using both an SMA and an EMA at slightly offset lengths gives a band rather than a line, blending flat-window and recency weighting.
Daily MAs — 50-day and 200-day SMAs, with star and skull markers where the 50 crosses the 200 in either direction.
Weekly MAs — 50, 100, 200 and 300-week SMAs, computed as 350, 700, 1400 and 2100 daily bars, coloured on a single blue ramp so the ordering is readable at a glance.
Labels — at the right edge of the series, each visible average is labelled with its length.
HOW TO USE IT
Each of the three groups toggles independently, so the script can serve as a Heat Band overlay alone, a conventional MA set alone, or all of it together.
The band is medium-term structure: price above it has been above its twenty-week baseline, price below it has not. The weekly averages are long-horizon reference levels, most useful on instruments with many years of history. The 50/200 cross is included because it is widely watched, not because it is predictive — it is a lagging construction by definition, and the markers are there to locate the event on the chart rather than to endorse it.
LIMITATIONS
All averages are computed from daily closes regardless of chart timeframe, so they are stepped on intraday charts and update once per day.
Weekly averages are approximated as multiples of seven daily bars, not calendar weeks. On instruments that do not trade seven days a week the effective calendar period is longer than the label suggests. This is intended for consistency with the daily series, but the labels are approximate.
The longest average needs roughly 2100 daily bars before it produces a value. On instruments with less history it will not plot.
Moving averages lag by construction, and the longer ones lag substantially. Nothing here identifies a turn as it happens.
The 50/200 cross is a widely known lagging signal with no edge implied by its inclusion.
This is an analysis tool. It does not predict direction and produces no buy or sell recommendations.
Indikator

Equalhigh EMA SignatureEqualhigh — EMA Signature v2
### User Manual
**Equalhigh — EMA Signature v2** is an adaptive statistical support indicator designed to identify the EMA that a specific asset historically respects the most.
Instead of assuming that EMA 20, 50, 100, or 200 is automatically relevant, the indicator scans a configurable range of EMA periods and determines which one has historically produced the most reliable price rebounds.
The objective is to identify the asset's own **EMA Signature**.
---
## Concept
Different securities often react to different moving-average periods.
One stock may repeatedly rebound from EMA 21, another from EMA 34, another from EMA 57.
This indicator attempts to quantify that behavior by testing many EMA candidates and ranking them according to their historical effectiveness as dynamic support.
The strongest EMA is plotted directly on the chart.
The second-best EMA can also be displayed.
---
## How It Works
For every EMA candidate, the indicator looks for historical support tests.
A valid support test requires price to approach the EMA from above and enter a tolerance zone around the EMA.
Once the EMA is touched, the indicator observes the following candles and evaluates whether price produces a meaningful rebound.
Each EMA is evaluated using several statistics:
* Number of historical tests
* Number of successful rebounds
* Hit rate
* Average rebound magnitude
* Frequency of support breakdowns
* Statistical confidence
* Sample size
The highest-ranked EMA becomes the current **EMA Signature**.
---
# EMA Signature Score
The indicator does not simply choose the EMA with the highest raw win rate.
A result such as:
**EMA 137: 2 successful rebounds out of 2 = 100%**
should not automatically beat:
**EMA 34: 23 successful rebounds out of 30 = 76.7%**
The first result has too little statistical evidence.
For this reason, Equalhigh — EMA Signature uses a composite score.
### Score structure
* **65% — Statistical reliability**
* **15% — Rebound strength**
* **10% — Sample depth**
* **10% — Support integrity**
Statistical reliability uses a **Wilson lower confidence bound**, which penalizes very small samples.
This makes the ranking significantly more robust than a simple hit-rate comparison.
---
# Main Chart Elements
## Best EMA Signature
The strongest historical EMA is plotted as the main highlighted line.
The label displays:
**EMA period**
and
**Signature Score**
Example:
> ★ EMA 34
> Score 76.8
This means EMA 34 currently has the strongest statistical support profile among all EMA periods tested.
---
## Second-Best EMA
The second-highest-ranked EMA can optionally be displayed.
This is useful because some securities do not have one unique support EMA, but rather a cluster of closely related EMA periods.
For example:
* EMA 32
* EMA 34
* EMA 38
may all rank highly.
This can indicate a broader **dynamic support zone** rather than one exact mathematical line.
---
# Top 5 Dashboard
The dashboard ranks the five strongest EMA candidates.
### EMA
EMA period being evaluated.
Example:
**34**
means EMA 34.
---
### SCORE
The Equalhigh EMA Signature Score.
Higher values indicate stronger historical evidence that the EMA acts as dynamic support.
A practical interpretation:
| Score | Interpretation |
| -------: | --------------------- |
| 75+ | Very strong signature |
| 65–75 | Strong |
| 55–65 | Moderate |
| 45–55 | Weak |
| Below 45 | Low confidence |
These levels should be interpreted comparatively rather than as absolute probabilities.
---
### TESTS
Number of historical support interactions detected for the EMA.
A larger sample generally increases confidence.
An EMA with 25–40 tests is statistically much more meaningful than one with only 3–5 tests.
---
### HIT
Percentage of historical EMA tests that produced the required rebound.
Example:
**78.6%**
means that approximately 79% of detected support tests met the selected rebound criteria.
---
### AVG
Average maximum rebound after successful EMA tests.
Example:
**+6.3%**
means successful historical tests produced an average maximum rebound of approximately 6.3% during the selected evaluation window.
---
### BREAK
Percentage of support tests where price clearly lost the EMA.
Lower is generally better.
Example:
**10.7%**
indicates relatively strong support integrity.
---
### BULL
Historical success rate when the support test occurred during the indicator's bullish market regime.
This allows the user to compare general EMA behavior with behavior during favorable market conditions.
---
# Rebound Detection
A support interaction is not counted simply because the candle touches the EMA.
The indicator checks several conditions.
### 1. Approach from above
Price must approach the EMA from above.
This is important because the indicator is specifically searching for **dynamic support**, not resistance.
---
### 2. EMA touch zone
Price does not need to touch the EMA perfectly.
A tolerance based on ATR is used.
This is more realistic than requiring exact contact because markets rarely reverse at mathematically perfect levels.
---
### 3. Support must remain valid
Price is allowed to temporarily move slightly below the EMA.
However, a sufficiently large close below the EMA is treated as a support failure.
---
### 4. Rebound confirmation
After the EMA interaction, price must rise by the selected minimum percentage within the selected evaluation window.
Example:
**Minimum rebound = 3%**
**Evaluation window = 10 bars**
A successful test requires price to produce at least a 3% rebound during the following 10 candles.
---
# Settings
## Minimum EMA
Defines the shortest EMA included in the scan.
Default:
**10**
---
## Maximum EMA
Defines the longest EMA included in the scan.
Default:
**250**
---
## EMA Step
Controls the distance between tested EMA periods.
Example:
Minimum EMA = 10
Maximum EMA = 250
Step = 5
The indicator tests:
10, 15, 20, 25, 30...250
### Recommended
Use:
**5** for fast exploration
**2** for normal use
**1** for maximum precision
A Step of 1 allows unusual signatures such as:
EMA 37
EMA 43
EMA 61
to be discovered.
---
# Statistical Lookback
Defines how much historical data is used to evaluate each EMA.
Default:
**750 bars**
On a Daily chart, this represents roughly three years of trading history.
A longer lookback provides more observations but may include outdated market behavior.
A shorter lookback adapts faster to structural changes but reduces sample size.
---
# EMA Touch Tolerance — ATR
Defines how close price must come to the EMA to qualify as a support test.
Default:
**0.20 ATR**
ATR-based tolerance automatically adapts to the volatility of the security.
This makes the indicator more transferable between low-volatility stocks and highly volatile assets.
---
# Maximum Break Tolerance — ATR
Determines how far price may close below the EMA before the support is considered broken.
Default:
**0.35 ATR**
Increasing this value allows more temporary undercuts.
Decreasing it makes support validation stricter.
---
# Rebound Evaluation Window
Number of bars available for price to confirm a rebound.
Default:
**10 bars**
On a Daily chart:
10 bars ≈ two trading weeks.
---
# Minimum Rebound %
Defines the minimum move required for an EMA interaction to be classified as successful.
Default:
**3%**
For volatile securities, a larger requirement may be appropriate.
For defensive or low-volatility securities, a smaller value may be preferable.
---
# Minimum Number of Tests
Defines the minimum historical sample required before an EMA can qualify for the ranking.
Default:
**5**
Increasing this value makes the model more selective.
For long historical datasets, values between **7 and 10** may provide stronger statistical confidence.
---
# Touch Cooldown
Prevents several consecutive candles around the same EMA from being counted as separate independent support events.
Default:
**5 bars**
Without a cooldown, one prolonged consolidation around an EMA could artificially create many support tests.
---
# Suggested Daily Settings
For most liquid equities:
| Setting | Suggested value |
| -------------------- | --------------: |
| Minimum EMA | 10 |
| Maximum EMA | 250 |
| EMA Step | 2 |
| Statistical Lookback | 750 |
| Touch Tolerance | 0.20 ATR |
| Break Tolerance | 0.35 ATR |
| Rebound Window | 10 bars |
| Minimum Rebound | 3% |
| Minimum Tests | 5 |
| Cooldown | 5 bars |
---
# Practical Workflow
A useful workflow is to start with:
**EMA 10 → 250**
**Step = 5**
This quickly identifies the broad area where the strongest EMA may exist.
For example, the results may show:
EMA 30
EMA 35
EMA 40
as the strongest group.
The user can then change:
**Step = 1**
to perform a finer scan.
The final result may reveal something such as:
> EMA 34 — Score 77
This becomes the asset's current **EMA Signature**.
---
# How to Use the Indicator
EMA Signature should generally be treated as a **support context tool**, not as a standalone buy signal.
The setup becomes more interesting when price approaches the Best EMA while other factors confirm the level.
Examples include:
* Rising volume on the rebound
* Bullish candle structure
* Relative strength improvement
* Previous horizontal support
* Gap support
* Fair Value zone
* Oversold momentum
* Positive market regime
* Higher-timeframe trend alignment
The strongest opportunities generally occur when several independent forms of support converge around the same price level.
---
# Example
Suppose the indicator identifies:
**EMA 36**
with:
* Score: 78
* Tests: 27
* Hit rate: 81%
* Average rebound: +6.4%
* Break rate: 11%
Price then falls back toward EMA 36.
This does **not** mean the stock has an 81% probability of rising.
It means that, according to the historical rules selected in the indicator, EMA 36 has produced successful rebounds in approximately 81% of comparable historical interactions.
The current market context still matters.
---
# Why the Best EMA Can Change
EMA Signature is adaptive.
The best EMA may change because:
* volatility changes,
* market regime changes,
* the stock enters a stronger trend,
* institutional behavior changes,
* historical observations are added,
* old observations leave the lookback window.
For example:
EMA 50 may dominate during a slow long-term trend.
Later, EMA 21 may become dominant during a strong momentum phase.
This is intentional.
---
# Important Statistical Considerations
Historical interactions are not fully independent events.
EMA periods are also highly correlated.
For example:
EMA 34 and EMA 35 will naturally produce similar values.
Therefore, the indicator should not be interpreted as discovering a mathematically unique "perfect EMA".
A group such as:
EMA 32
EMA 34
EMA 36
should often be interpreted as a **support family or support zone**.
---
# Limitations
The indicator is based on historical price behavior.
It cannot anticipate:
* earnings surprises,
* profit warnings,
* regulatory decisions,
* macroeconomic shocks,
* geopolitical events,
* takeover announcements,
* major fundamental changes.
A historically strong EMA can fail abruptly when market conditions change.
The model also does not prove causality.
Price may appear to react to an EMA because the EMA overlaps with another important technical or fundamental price level.
---
# Best Use
Equalhigh — EMA Signature v2 is particularly useful for:
* Pullback trading
* Trend continuation setups
* Swing trading
* Dynamic support analysis
* Finding non-standard EMA periods
* Comparing support quality between securities
* Identifying repeated institutional price behavior
* Locating potential re-entry zones after a trend pullback
---
## Final Principle
Traditional technical analysis asks:
> **Does this stock respect EMA 20, EMA 50 or EMA 200?**
Equalhigh — EMA Signature asks a different question:
> **Which EMA has this stock actually respected the most?**
The indicator then lets the historical data provide the answer.
---
**Equalhigh — EMA Signature v2**
*Adaptive EMA discovery through statistical rebound analysis.*
**Disclaimer:** This indicator is provided for research and educational purposes only. Historical statistical behavior does not guarantee future performance and should not be considered financial advice.
Indikator

[core convexity] accurate strike -> futures conversionconverts etf/index strikes into futures levels using a live smoothed price ratio between the selected cash product and futures contract. presets cover common pairs like es/spx, es/spy, nq/ndx, nq/qqq, gc/gld and si/slv, with manual symbol selection available too.
theory
the conversion is based on the live futures / cash ratio with configurable smoothing, optional tick-size rounding and output precision. extended-session cash data is used so the relationship can continue updating outside regular equity hours.
because its smoothed its better to roughly plot on lower time frames
how to operate it
strikes can be pasted manually or generated automatically around price. batch mode supports optional names in quotes, while auto mode builds a strike grid around the implied cash price using preset or manually defined intervals.
levels can be drawn as lines or boxes (addresses for small deviation that may occur naturally). mitigated mode stops the historical extension where price previously interacted with the level, while full-left mode keeps it extended. styling, box size, labels and positioning are all configurable.
v6 also includes an optional conversion table, live two-symbol monitor and touch alerts for converted lines or zones. lower timeframes generally give the conversion more responsiveness, while higher smoothing produces steadier levels.
please stop taking it down
they keep taking this script down for the description not being good enough (???) i dont know despite me clearly explaining how to work it. anyways enjoy this along with my series of other scripts Indikator

Composite Institutional Moving Average (CIMA)Composite Institutional Moving Average (CIMA)
Overview
The Composite Institutional Moving Average (CIMA) is a high-conviction cost-basis anchor designed to replace primitive volume-weighted indicators. Standard VWMAs treat every volume tick identically regardless of intent. CIMA evaluates the quality and composition of institutional order flow behind each bar.
By anchoring price action to a macro 126-period lookback, CIMA constructs a dynamic baseline weighted by intrabar cumulative volume delta (CVD) and stealth limit-order absorption.
Core Formula & Architecture
Rather than relying on raw volume alone, CIMA calculates a dynamic Composite Weight for every single candle using three distinct market mechanics:
$$\text{Composite Weight} = \vert{}\text{CVD Factor}\vert{} \times \text{Absorption Weight} \times \text{Volume}$$
* Order Flow Delta Proxy (cvdFactor): Measures intrabar buying versus selling pressure based on close position relative to high/low wicks. Directional imbalances pull the baseline toward true aggressive market orders.
* Stealth Absorption Efficiency (absorptionWeight): Measures total volume relative to candle range ($\text{volume} / \text{spread}$). Heavy volume printed inside narrow candle ranges highlights passive limit-order absorption (smart money accumulating or distributing without letting price move).
* 126-Period Macro Baseline Anchor: Applies the Composite Weight across a 126-period lookback using double-weighted VWMA logic ($\text{close} \times \text{compositeWeight}$). The 126-period setting represents exactly two quarters (6 months / semi-annual) of trading data on daily charts—the core timeframe used by institutional fund managers and execution algorithms to track semi-annual cost basis. On intraday charts, 126 bars provides a deep structural sample size that filters out high-frequency noise, ensuring the line only shifts when major institutional volume shelves are formed.
How to Read the Raw Baseline
Because CIMA remains un-smoothed, the indicator creates sharp vertical steps and flat horizontal shelves:
* Vertical Steps: Highlight points where sudden institutional volume injections or aggressive order sweeps occurred.
* Flat Horizontal Shelves: Function as dynamic Institutional Support & Resistance Floors. Expect smart money to defend these cost-basis shelves on the first retest.
* Trend Bias:
* Price > CIMA (Bright Green): Institutional buyers control the macro cost basis. Look for long continuation setups off CIMA shelf retests.
* Price < CIMA (Bright Red): Institutional sellers control the macro cost basis. Look for short continuation setups off CIMA shelf retests.
Key Features & Toggle Options
* Enable Volatility Bands ($\pm\sigma$): Displays optional standard deviation channels derived from the CIMA baseline to identify objective overbought/oversold value area extremes (Disabled by default for a clean chart).
* Multi-Timeframe (MTF) Engine: Toggle higher timeframe execution (e.g., Daily CIMA overlaid on a 15m chart) without code lag or repainting errors.
Default Inputs
* Institutional Lookback Length: 126 (Optimized for semi-annual structural anchoring).
* Enable Order Flow Delta Factor: True
* Enable Stealth Absorption Factor: True
* Best Applied To: Equities, Crypto, Futures, and Forex across any timeframe.
Disclaimer
This indicator is designed for educational and informational purposes only and does not constitute financial or investment advice. Past performance is no guarantee of future results. Financial market trading involves substantial risk of loss, and traders should perform their own independent technical analysis and manage their risk strictly before executing trades. Indikator

CTZ Bitcoin Cycle Master
**CTZ Cycle Trader + Confluence**
Three independent forecasting methods on one chart, gated so a signal only counts when they agree. Cyclical timing, statistical swing projection, and momentum triggering work together to show where price is likely to turn, when, and whether to act.
**① The Cycle Framework**
A four-tier cycle model — Daily (DCL), Weekly (WCL), Yearly (YCL) and 4-Year (4YCL) cycle lows — each with confirmation logic, running counts, and forward-projected timing windows. Asset presets auto-tune the cycle lengths to the instrument you load (Bitcoin, metals, indices, forex, energy). A live dashboard tracks days since each low, which windows are open, and the projected dates for the next turns.
**② Dual Swing Prediction Zones**
Drawing on the full history of the instrument's price swings, the tool projects **two forward target zones at once** — a green LOW-target box below price and a red HIGH-target box above it. Each is built from the statistical spread of past swings in that direction: how far they typically ran, and how long they lasted. Rather than guessing a single direction, it brackets the expected reversal range on both sides, so you can see where the next swing low and swing high are statistically due before price arrives. Green and red shading also colours every completed swing across history, making the market's rhythm visible at a glance.
**③ The Tidewave Trigger**
A WaveTrend + RSI momentum engine fires bull and bear reversal arrows, auto-adjusting from scalping frames to the macro. These are the entries — the moment the turn actually begins.
**The confluence**
The layers gate each other. A bull arrow carries full weight only inside the green low zone and near a projected cycle low; a bear arrow only in the red high zone near a cycle high. The cycle says a turn is *due*, the zone says *where and by how much*, momentum says *it's happening now*. A dedicated confluence alert fires only when all three agree.
**⚓ The 4-Year Anchor — and keeping it current**
Bitcoin's cycles nest inside the 4-year rhythm — every daily, weekly, and yearly low sits within the larger cycle that begins at each bear-market bottom. This tool lets you anchor the entire cycle clock to that bottom with a single date.
By default the anchor is set to **21 Nov 2022**, Bitcoin's last bear-market low. Every cycle phase and projection counts forward from there, so the timing is measured from a structurally meaningful origin rather than a mid-cycle pivot.
**Updating it:** each cycle bottom is a moving reference. When the next 4-year low forms and confirms, open the indicator settings, find the **4YCL Master Anchor** group, and change the **4YCL Anchor Date** to the new bottom (for the current cycle, that will be the 2026 low once it's in). The whole cycle clock re-bases from the new date instantly — no code editing required. Set it to the exact bottom candle, since the anchor is load-bearing: a few days off shifts every downstream projection by those days. Because you update it only after the low has confirmed, you'll always know the precise date. You can also toggle the anchor off to fall back to auto-detected pivots.
**Built to be read at a glance**
The dashboard consolidates cycle counts, open windows, due-dates, prediction-zone status, and anchor position into one panel. State labels, arcs, and extras stay off by default for a clean chart, and every layer has its own toggle — run pure cycles, pure signals, or the full confluence view.
*The cycle tells you when. The zones tell you where. Momentum tells you it's happening. Together they tell you whether to act.*
*For educational purposes. Not financial advice — always confirm with your own analysis and test on your own instruments and timeframes before trading live.*
Indikator

EMA 50x200 Cross Trend Barometer The 50/200 moving-average cross is one of the most-watched signals in markets:
the "golden cross" and the "death cross." Trend Barometer turns that classic into
a clean, at-a-glance read on the prevailing regime, the way a barometer reads the
pressure before the storm.
When the fast average (50) sits above the slow one (200), the market is in a
risk-on regime and the chart glows fair-weather green (☀). When it slips below,
conditions turn risk-off and the chart shifts to storm red (⛈). One look tells you
which side of the trend you're standing on.
WHAT IT SHOWS
• Regime-coloured EMA 50 and EMA 200, with a shaded gap between them
• A soft background tint for the current regime (risk-on / risk-off)
• Golden-cross ▲ and death-cross ▼ markers on the exact flip bar
• A compact weather panel: current regime, bars held in it, and the last cross
• Alerts on every regime flip
MAKE IT YOURS
Switch between EMA and SMA, set your own fast/slow lengths (50/200 by default),
and recolour everything to match your chart.
HONEST BY DESIGN
This is a regime lens, not a buy/sell system. A barometer reports the conditions;
it doesn't place your trades. The 50/200 cross is trend-following context: great for
reading the prevailing regime and filtering out noise, but it lags turns and is not
an entry trigger on its own. Use it to frame your bias and manage risk alongside
your own analysis.
NO REPAINTING
Some indicators quietly rewrite their own past: you look back and see a signal at a
perfect spot that simply wasn't there when the bar formed. That flatters them in
hindsight. This one can't do that. It only ever reads the current and earlier bars,
never the future (no request.security, no forward references), so a cross printed
two years ago sits exactly where it printed at the time.
One caveat, true of every indicator: the newest bar is still forming, so the colour
can flicker while it's live. A cross is only final once that bar closes. Indikator

TP/SL Signals💀 TP/SL Signals & Strategy: Automated Risk Management Tool
⚠️ IMPORTANT: Don't forget to BOOST 🚀 (Like) and FOLLOW for more institutional-grade, open-source Pine Script scripts! Your support keeps this project active and updated!
📌 Overview
💀 TP/SL Signals is a powerful multi-timeframe trading system built to resolve the biggest trader challenge: Discipline and Risk Management.
By filtering price noise with Hull Moving Averages (HMA) across multiple timeframes, this tool identifies key trend pivots and automatically projects your entry, stop-loss, and multi-tier take-profit targets directly onto your chart.
✨ Key Features
🎯 Dynamic Entry Signals: Built on real-time cross-over logic using fast and slow HTF Hull Moving Averages.
🛡️ Automated Risk/Reward Levels: Visualizes exact SL, TP1, and TP2 target lines as soon as a trade opens.
⚖️ Trailing Breakeven: Automatically moves your Stop Loss to the entry price once TP1 is reached to secure a risk-free trade.
📊 Fully Customizable Risk Controls: Adjust percentages for SL, TP1, and TP2 dynamically in settings.
🔔 Instant Alerts: Built-in webhooks & alert conditions for instant Long/Short entry push notifications.
⚙️ How It Works
Trend Identification: The script fetches high-timeframe trend momentum using calibrated 5-minute and 15-minute HMA lines.
Execution Signals:
LONG 🟢: Triggered when 5m HMA crosses above the 15m HMA.
SHORT 🔴: Triggered when 5m HMA crosses below the 15m HMA.
Automated Exit Logic:
Reaching TP1 locks in partial profits and adjusts the stop loss to Breakeven.
Final exit triggers when TP2 is reached or trailing SL is hit.
🛠️ Recommended Setup
Timeframe: 1m, 5m, or 15m charts.
Assets: Crypto (BTC, ETH), Forex Majors, Stocks, or Indices.
Risk Management: Default is set to 1.0% SL, 1.0% TP1, 2.0% TP2. Tune these in the settings menu based on market volatility.
💡 Backtesting & Open Source
This indicator is 100% open-source and completely free to use. Test different parameter setups on historical data to fine-tune win rates for your favorite pairs.
🤝 Join the Community!
If this indicator helps you manage risk better or boosts your win rate:
Hit the Rocket Button 🚀 to boost this post!
Click Follow to never miss future indicator upgrades, strategy updates, and trading scripts.
Drop a comment below with your favorite assets to trade using this system!
Disclaimer: Past performance is not indicative of future results. Always practice proper risk management. Indikator

Cipher B Adaptive v6Cipher B — Adaptive v6
Cipher B — Adaptive is a WaveTrend-style momentum oscillator that re-tunes itself to the coin it is applied to. The same script gives usable overbought/oversold levels and cross signals on BTC daily, a mid-cap alt on 4H or a meme coin on 5 minutes, without changing the settings.
WHY THIS EXISTS
Classic Cipher B oscillators use fixed levels (±53 / ±60) and fixed smoothing (10 / 21). Those numbers were tuned for BTC-like behaviour. On a meme coin the wave regularly runs to ±90, so "overbought" fires far too early and a cross at -55 is not really a dip. On BTC on higher timeframes the wave rarely reaches ±60, so the extreme zones are almost never touched. This script solves that with two independent adaptive layers.
HOW IT WORKS
1. Asset profile (volatility tier)
The script measures annualised realised volatility: the standard deviation of log returns over the lookback, scaled by the number of bars per year for the chart timeframe. Because it is annualised, a 5-minute chart and a daily chart are compared on the same scale. The result is mapped to a 0…1 factor between two thresholds:
• below 75% = Large Cap (BTC / ETH behaviour)
• 75% to 150% = Alt
• above 150% = Meme
The factor stretches the Channel and Average lengths by up to 30% on the noisiest coins, which suppresses whipsaw crosses without adding lag on calm charts. If you disagree with the detection, the Profile input overrides it.
2. Adaptive levels
In Adaptive mode the outer OB/OS levels are the 95th and 5th percentile of WT1 over the last 300 bars, clamped between 40 and 95. The inner levels are the outer level × 0.88, which preserves the original 53/60 geometry. Levels are asymmetric by default: in an uptrend the oversold line sits shallower, so dip signals fire where dips actually end, and the overbought line sits deeper. Turn on Symmetric levels if you prefer mirrored lines. Fixed mode keeps your manual levels and widens them by the profile, up to 35% on meme-tier coins.
3. Waves and money flow
WT1 (blue) and WT2 (dark blue) are the standard WaveTrend pair. The cloud between them is green while momentum is bullish and red while it is bearish; the histogram shows the same distance. The green/red money-flow wave is the Cipher B style RSI-MFI hybrid: sustained green means buying pressure behind the move.
4. Divergence
Pivots are found on the oscillator, not on price. Price is read in the window around each pivot, and a divergence is confirmed once, when the second pivot is confirmed. Markers are drawn on the actual pivot bar and the two pivots are connected with a line. Optional filters: at least one pivot must be inside the OB/OS zone, and the pivots must be within a set number of bars of each other. Hidden (trend-continuation) divergences can be switched on separately.
HOW TO READ THE SIGNALS
• Dim dot: WT1 crosses WT2 in the mid-range. Informational only.
• Solid green / red dot: a cross inside the oversold / overbought zone. This is the classic Cipher B buy / sell dot.
• Gold / orange diamond (STRONG): a zone cross that is either beyond the extreme level or follows a divergence within the last 20 bars.
• Triangle marked DIV: regular divergence. Small triangle marked H: hidden divergence.
• Shaded background: WT1 is beyond the extreme levels.
INFO TABLE
The table shows the detected profile (auto or manual), annualised volatility, the lengths and levels currently in use, WT1 / WT2, zone, momentum and money-flow direction. If a signal looks off on a particular coin, this is where you check what the script decided.
SETTINGS WORTH KNOWING
• Profile: Auto / Large Cap / Alt / Meme.
• Large-cap vol ceiling and Meme vol floor: the tier thresholds. Raise them on very low timeframes if BTC keeps being classed as Alt.
• Max length stretch: set to 0 to disable smoothing adaptation.
• Level mode, Adaptive lookback, Extreme percentile: how the levels are derived. A lower percentile (for example 90) gives more signals.
• Divergence memory: how long a divergence keeps upgrading zone crosses to STRONG.
ALERTS
Ten alert conditions: any cross, zone cross, STRONG signal, regular divergence and hidden divergence, each for both directions.
NOTES
• The first 300 bars of a chart use the fixed levels until enough history exists for the percentile.
• The volatility thresholds and the 365-day annualisation are tuned for crypto. On stocks or forex the profile reads differently; use the Profile override there.
• Cross signals confirm on bar close. Divergence signals confirm a few bars after the pivot (Pivot length), as with any pivot-based method. Nothing is recalculated on past bars after that.
CREDITS
Built on the WaveTrend oscillator by LazyBear and the Cipher B concept popularised by Market Cipher and VuManChu's open-source Cipher B. The volatility profile, percentile levels, tiered signals and pivot-aligned divergence logic are original to this script.
This indicator is an analysis tool, not financial advice. Test it on your own markets and timeframes before relying on it. Indikator

Adaptive ATR% Extension ScannerIdentifying when a stock is historically overextended and due for a mean-reverting pullback is a critical component of risk management and scaling out of swing trades. The Adaptive ATR% Extension Scanner provides an objective, mathematical way to measure these extensions based entirely on a stock's unique historical volatility profile.
Rather than relying on static guesses for when a stock is "too far" from its moving average, this tool actively reads the chart's history to tell you exactly when current price action has reached an statistical extreme.
Key Features:
Dynamic Percentile Lookback: The indicator automatically scans the last 20 swing highs (pullbacks) for the specific ticker you are viewing. It calculates the exact ATR% multiple at each peak to establish a unique historical baseline for what constitutes an "extended" move.
Dual-Tier Signals: The script calculates the 75th percentile (Warning) and 90th percentile (Extreme) of past pullbacks. It plots highly customizable signals directly on your chart when the current price breaches these historically significant thresholds.
Multi-MA Variance Scanner: Not every stock respects the same baseline. The built-in dashboard tracks the 10 EMA, 20 EMA, 50 SMA, and 200 SMA simultaneously. It calculates the historical variance for each to determine which moving average produces the most tightly clustered, predictable extensions.
Auto-Best Fit: The script can automatically select the moving average with the lowest historical variance to drive your chart visuals and trigger your signals, completely removing the guesswork.
Customizable Price Bands: Toggle upper price bands on or off to project exactly what dollar amount the stock needs to hit to reach an overextended state, allowing you to easily set advance limit orders.
How to Use:
Leave the MA setting on "Auto (Best Fit)" to let the script find the most predictable baseline for the current ticker. Watch for the warning dots (yellow by default) as a signal to scale out partial positions, and extreme dots (red by default) as a signal to tighten trailing stops aggressively. Full customization options allow you to change dot colors, emojis/characters, opacity, and dashboard visuals to fit your exact charting style. Indikator

ZigZag Break - Phase 3 Toggle Sync V6 (Display Only)### Overview
"ZigZag Break - Phase 3 Toggle Sync V6" is an analytical tool designed to visualize market structure transitions based on Dow Theory and multi-timeframe Moving Average (MA) dynamics.
It automatically detects key structural swing points (labeled 1 to 6), tracks horizontal breakout levels, and monitors multi-timeframe MA alignments to provide structured, multi-step signal conditions.
### Key Features
1. **Dow Theory & Vertex Tracking (1-2-3 Patterns):**
- Identifies trend reversal origin points (Vertex 1) upon confirmed price breaks.
- Plots sequential market structure vertices (1, 2, 3, 4, 5, 6) based on strict price action criteria.
- Automatically draws persistent horizontal levels for key even/odd structural highs and lows.
2. **Multi-Timeframe MA Alignment & Sorting:**
- Evaluates MA directions across higher timeframes.
- Displays a real-time sorted panel showing the hierarchical order of current price relative to MTF MAs.
3. **Sequential Step-Alert System:**
- Evaluates multi-stage technical events (e.g., Convergence -> Divergence -> Structural Peak/Valley or Dow Break).
- Fires unified alerts when a custom sequence of technical conditions is fully met.
### Technical & Repainting Notice
- **Use of `lookahead_on`:**
This indicator utilizes `lookahead=barmerge.lookahead_on` inside multi-timeframe `request.security` functions. This design explicitly references confirmed historical higher-timeframe bar closes (`close `) to calculate higher-timeframe market structure levels without referencing unconfirmed real-time higher-timeframe data.
- **Historical Consistency:**
Historical line/label positions correspond strictly to completed higher-timeframe bar boundaries. Current real-time bars process ongoing price updates dynamically until bar close.
■ 概要
「ZigZag Break - Phase 3 Toggle Sync V6」は、ダウ理論に基づく波形・構造変化と、マルチタイムフレーム(MTF)における移動平均線(MA)の方向性を可視化・分析するためのテクニカル指標です。
過去の高値・安値に対する終値ブレイクを起点とした構造転換(頂点1〜6)の全自動検出、重要な水平線の自動描画、および複数段階のテクニカル条件を組み合わせたステップアラート機能を搭載しています。
■ 主な機能
1. ダウ理論 & 頂点追跡(1-2-3パターン):
- 終値での高値/安値ブレイクを検知し、構造の転換点(頂点1)およびその後の波形(1, 2, 3, 4, 5, 6)を自動ナンバリング。
- 直近の偶数頂点(2, 4, 6)や奇数頂点(3, 5)、ブレイク起点となる最重要水平線を追跡・描画。
2. マルチタイムフレーム(MTF)MA方向 & リアルタイムソート:
- 各時間足のMAの傾き・位置関係を判定。
- 現在価格と上位足MAの階層構造をリアルタイムで並び替えて一覧表示するソートテーブル機能。
3. 段階的ステップアラート(Step Alert System):
- 「MAの収束」→「MAの拡散」→「山谷形成 / ダウブレイク」といった複数のテクニカルイベントの順次達成をトリガーとするアラート機能。
■ テクニカル仕様および「lookahead_on」に関する注記
・`lookahead_on` の使用について:
本インジケーターでは、マルチタイムフレームのデータ取得処理(`request.security`)において `lookahead=barmerge.lookahead_on` を使用しています。これは、未確定の上位足リアルタイムデータによるシグナル変化を避け、確定済みの過去足終値(`close `)に基づいた正確な構造計算・描画を行うための仕様設計です。
・ヒストリカルデータとリアルタイムデータの挙動:
過去チャート上のラインやラベルの表示位置は、確定した上位足のバー境界に基づいて正確に描画されます。進行中のリアルタイム足においては、足確定まで価格変化に応じて動的に計算が更新されます。
Indikator

Smart Buy Sell Indicator V1This indicator is designed to identify **potential trend reversals and momentum-based trading opportunities** using a combination of **two EMAs and RSI**.
#### 📊 Indicators Used
Fast EMA (Default: 9 EMA): Tracks short-term price movement.
Slow EMA (Default: 21 EMA): Identifies the broader short-term trend.
RSI (Default: 14): Confirms the strength and momentum of the move.
### 🟢 BUY Signal
A BUY signal is generated when:
The 9 EMA crosses above the 21 EMA, indicating a possible upward trend reversal.
RSI is 50 or above, confirming positive momentum.
How to use: Consider the BUY signal as an indication of bullish momentum. It can be used for a fresh entry or to identify a possible continuation of an upward move.
### 🔴 SELL Signal
A SELL signal is generated when:
The 9 EMA crosses below the 21 EMA, indicating a possible downward trend reversal.
RSI is 50 or below, confirming negative momentum.
How to use: Consider the SELL signal as an indication of weakening momentum or a potential bearish trend. It can be used to exit a long position or, depending on your trading strategy, identify a potential short-selling opportunity.
### ⚠️ Important Usage Tips
* Best used on **liquid stocks and indices.
* The indicator works better when the market is trending.
* Avoid relying solely on signals during **sideways or highly volatile markets**, where EMA crossovers may generate false signals.
* Always consider **support/resistance, price action, volume and the overall market trend** before taking a trade.
* Use an appropriate **stop-loss**, preferably based on the recent swing low for BUY trades and recent swing high for SELL trades.
### In Simple Terms
>EMA crossover identifies the change in trend, while RSI confirms whether momentum supports that direction.
This makes the indicator useful for traders looking for simple, rule-based BUY and SELL signals rather than relying on EMA crossovers alone.
Indikator

Phoenix Ascending 2.6Overview
This is a modernized Pine Script v6 update of the original "Phoenix Ascending 2.201" indicator, originally published by WyckoffMode (with script contributions from LazyBear, xSilas, and Ni6HTH4wK). Since the original script appears to no longer be actively maintained, I have updated the code to the latest Pine Script version to ensure it continues running efficiently, while keeping the original mathematical logic exactly the same.
What is Phoenix Ascending?
Phoenix Ascending is a comprehensive, multi-component momentum and money-flow oscillator. Rather than relying on a single metric, it aggregates several popular momentum indicators to create a smoothed, high-conviction market gauge.
At its core, the script calculates two main averages:
The "Tradition" Index: An average of TCI (Trade Channel Index), Money Flow (MF), and the Relative Strength Index (RSI).
The "Phoenix" Index: An average of TCI, CSI, Money Flow, and a Williams %R derivative (Willy).
By blending these components, the indicator filters out market noise and provides a clearer view of underlying buying and selling pressure.
How to Read the Indicator
The indicator plots several distinct visual elements on the oscillator panel:
Green Line (Tradition): Acts as the primary fast signal line tracking current price momentum.
Red Line (Smoothed RSI): A slower moving average of the Green Line.
LSMA (Least Squares Moving Average): A regression line that helps identify the true underlying trend direction.
Energy (Area/Histogram): A shaded region that visualizes the spread and momentum intensity between the fast and slow signal lines.
Pressure Dots (Circles): These appear at the extreme bands (below 20 or above 80) to signal extreme overbought or oversold conditions where a reversal is highly probable.
How to Use It in Trading
Trend Reversals: Watch for the Green Line to cross over the Red Line and LSMA from below 20 (oversold) for a bullish entry signal. Conversely, a cross downward from above 80 (overbought) signals a bearish reversal.
Momentum Strength: Use the shaded "Energy" area to gauge the strength of a move. Expanding energy confirms the trend, while contracting energy warns of consolidation or a fading move.
Extreme Zones: Pay close attention to the "Pressure" dots. When these populate at the top or bottom of the oscillator, it suggests the current move is exhausted and a mean-reversion setup is forming.
Credits
All credit for the original concept, mathematics, and logic goes to WyckoffMode , along with the original open-source contributors ( LazyBear , xSilas , Ni6HTH4wK ). You can view the legacy version of this script here: Phoenix Ascending 2.201 by WyckoffMode .
You can also find some helpful videos on how to use the script there. Indikator
