אינדיקטור

אינדיקטור

אינדיקטור

אינדיקטור

אינדיקטור

אינדיקטור

Pressure Fatigue Index [PFI] v3Pressure Fatigue Index (PFI)
OVERVIEW
The Pressure Fatigue Index is a bounded oscillator that reads from 0 to 100. Low readings mean oversold and high readings mean overbought, the same orientation you already know from RSI. That is where the resemblance ends. PFI does not use the average gain versus average loss ratio that RSI is built on. It reads a completely separate stream of information, namely where price settles inside each bar and how forceful that bar was, and it adds a fatigue mechanism that keeps the oscillator from pinning at an extreme for long stretches. That pinning behavior is the single most common frustration with RSI in trending markets, and removing it is the whole point of this tool.
HOW THE READING IS BUILT
For every bar, PFI measures where the close finished inside that bar's own range. A close near the high produces a positive value, a close near the low produces a negative value, and the exact middle of the bar is zero. In plain terms the raw bar value is twice the close, minus the high, minus the low, all divided by the range of the bar.
That location is then weighted by the size of the bar relative to recent volatility, using its true range compared with ATR. A wide conviction bar counts far more than a narrow indecisive one, so a big committed push moves the reading while chop barely registers.
Those weighted values are smoothed with a Wilder average into a running charge, and the charge is passed through a smooth squashing curve, a hyperbolic tangent, that maps it cleanly onto the 0 to 100 scale. The outcome is an oscillator that responds to genuine intrabar buying and selling pressure rather than to close to close drift.
THE FATIGUE MECHANIC
This is what separates PFI from every standard oscillator. While the reading sits beyond your overbought or oversold level, a hidden fatigue term builds up, and it builds faster the deeper the reading has pushed into the extreme. That fatigue then compresses the plotted line back toward the midline. To hold a value pinned at 85 the market would have to supply constantly accelerating fresh pressure, which real markets cannot sustain, so an extended run simply sags the line out of the zone on its own. The moment the reading leaves the extreme, fatigue releases and full sensitivity returns. Fatigue is driven by the underlying raw reading rather than the visible plotted line, so there is no threshold flutter and no repainting.
THE RAW GHOST LINE
PFI plots two lines. The bold purple line is the fatigue compressed reading you trade from. The faint gray ghost line behind it is the raw pressure before fatigue is applied. The distance between the two is itself information. When the ghost is still pinned deep in a zone while the purple line sags away from it, the move is still strong and it is not yet time to fade. When both lines roll out of the zone together, the exhaustion is real. The gap between them also drives the signal engine described below.
THE SIGNAL ENGINE
The buy and sell markers are built to catch turns at the actual low and high, not to fire every time a line touches a level. A signal is the end of a short sequence rather than a single condition, and each side can fire only once per cycle.
A buy requires the following to line up in order. First, a flush bar must occur while the raw reading is oversold, meaning a bar that is unusually wide relative to ATR and that closes down at the bottom of its own range. That is the panic capitulation that tends to mark bottoms, and it is marked on the pane with a small dot. Second, the episode must be mature, meaning the gap between the ghost and the purple line has grown wide enough to prove the move was both deep and sustained. Third, the trigger bar itself must be a conviction reversal, a bar with real size that closes up near the top of its range while the reading turns back up near the zone. In short, sellers pressed hard, exhausted themselves on a flush, and buyers just took the first decisive bar back.
Sells are the exact mirror. A euphoric blowoff bar in the overbought zone, a mature episode, and then a heavy rejection bar near the high.
After a signal fires, that side locks and cannot fire again until the reading passes back through the midline, so a single messy bottoming or topping process produces one marker rather than a cluster. A cooldown allows a second attempt only if a fresh, deeper flush develops.
There is also an optional divergence filter. When enabled, a buy also requires price to print a new low for the episode while the pressure reading makes a higher low, the classic bottoming tell. It is off by default because it screens out clean sharp reversals that have no divergence, but you can enable it when you only want the highest conviction fades.
INPUTS
Core sets the price source, the pressure length, the volatility length, and the sensitivity that controls how easily the reading reaches its extremes.
Zones set your overbought and oversold levels.
Fatigue exposes the build rate, the release rate, and the impact, so you can tune how quickly the oscillator tires and recovers and how hard it is pulled back toward the middle.
Signals expose the arm gap, the flush bar strictness, the trigger bar strictness, the near zone buffer, the optional divergence filter, and the re signal cooldown.
Smoothing gives you a moving average over the oscillator with the same menu as the built in RSI, including SMA, EMA, SMMA, WMA, VWMA, and an SMA option with Bollinger Bands.
HOW TO USE IT
Treat the purple line the way you would treat any oscillator, with low as oversold and high as overbought, but trust it to leave the zone on its own rather than staying stuck. Use the ghost line and its distance from the purple line to judge whether a move is still strong or genuinely tiring. Take the triangle markers as your prepared fade entries, and remember that each side fires once per cycle by design. If you want more markers on a fast timeframe, loosen the flush range first, then the arm gap, then the trigger close location. If you want fewer and stronger markers, do the reverse and consider enabling the divergence filter.
Set your alerts to fire once per bar close, since the live bar can move before it settles.
NOTE
This tool is offered for research and education. It is not financial advice. Test it on your own markets and timeframes and manage your own risk before trading it.
אינדיקטור

Cross Asset Sentiment Extremes OscillatorCross Asset Sentiment Extremes Oscillator (XSEO)
WHAT IT IS
XSEO is a composite sentiment oscillator that scores market emotion on a 0 to 100 scale and flags the extremes where mean reversion setups cluster. Readings near the bottom of the scale mark washed out fear of the kind that tends to appear near lows. Readings near the top mark crowded greed of the kind that tends to appear near highs. One script covers stocks, indices, and crypto.
TWO BASKETS, ONE ENGINE
The script reads the symbol type and loads the matching basket of external data automatically. A manual override is available in the settings.
Stocks and indices basket:
VIX implied volatility (inverted, high VIX means fear)
NYSE TRIN (inverted, heavy selling pressure means fear)
CBOE equity put/call ratio, ranked in daily context (inverted)
High yield credit spread (inverted, wide spreads mean risk aversion)
Percent of S&P 500 stocks above their 200 day average (breadth strength)
Percent of S&P 500 stocks above their 50 day average (faster breadth)
Crypto basket:
Perp to spot basis on BTC (a funding and leverage proxy, a rich premium means greed)
Coinbase premium versus Binance (US spot demand)
USDT dominance (inverted, cash parked in stables means fear)
ETH/BTC momentum (alt risk appetite)
DXY (inverted, a strong dollar means risk aversion)
Chart internals, active in both modes:
RSI percentile rank (momentum extreme)
Extension from the 200 bar mean
Realized volatility rank, inverted (calm means complacency, spikes mean fear)
HOW IT IS BUILT
Every component is converted to a percentile rank over a lookback window so that different units blend cleanly, and fear oriented series are inverted so that high always means greed. Feeds that only publish daily (put/call, credit spreads, breadth) are ranked inside a daily request and held between updates. Live feeds and the chart internals are ranked on the chart timeframe, so the line keeps moving intraday. Feeds that are unavailable on a given bar (weekends, holidays, closed sessions) are skipped from the average rather than zeroed, which keeps the oscillator honest on 24/7 crypto charts. The external basket and the internals are then blended with an adjustable weight and smoothed.
READING IT
Above the upper threshold (default 80) the market is in the extreme greed zone. Below the lower threshold (default 20) it is in the extreme fear zone. The line colors itself red when hot, green when cold, and gray in the middle, and the background tints inside the zones.
SIGNALS AND ALERTS
Two trigger styles are available.
Zone Exit (default): the buy fires when the oscillator crosses back up out of the fear zone, and the sell fires when it crosses back down out of the greed zone. This waits for the turn and avoids some knife catching.
Zone Entry: fires the moment an extreme zone is entered. Earlier and more aggressive.
Alert conditions are included for both long and short.
SETTINGS
Fear and greed thresholds. Lookback for chart timeframe ranks (in bars) and a separate lookback for daily feeds (in days). External data weight percent, with the remainder going to the chart internals. Smoothing length. An optional display of the external and internal subscores so you can see what is driving a reading.
DATA SOURCES
CBOE:VIX, USI:TRIN.NY, USI:PCCE, FRED:BAMLH0A0HYM2, INDEX:S5TH, INDEX:S5FI, BINANCE:BTCUSDT.P, BINANCE:BTCUSDT, COINBASE:BTCUSD, CRYPTOCAP:USDT.D, BINANCE:ETHBTC, TVC:DXY
TIMEFRAMES AND NOTES
Built for higher timeframe charts but usable intraday. On intraday charts the daily feeds step once per day while everything else updates live. Consider raising the chart timeframe lookback on fast charts, for example 300 to 700 bars on 15 minute charts. Values drawn from the developing daily bar update in real time until that bar closes, which is standard higher timeframe behavior. XSEO is a timing and context tool, not a complete system. It works best as a filter for mean reversion entries at levels you already care about. Nothing here is financial advice.
Concept credit: builds on the classic composite fear and greed approach of blending volatility, positioning, breadth, and credit data into a single gauge.
אינדיקטור

אינדיקטור

אינדיקטור

3m Cycles3m Cycles is a TradingView indicator that draws vertical lines on your chart at fixed clock-based time intervals — every 20 seconds, every 1 minute, and every 3 minutes — to help you visually track recurring market cycles.
Each cycle is fully independent and configurable: you can set the line color, width, and style (solid, dashed, or dotted), control how far back and ahead the lines project, and choose which chart timeframes each cycle appears on. The 3-minute cycle acts as the master clock — all three cycles' visible windows shift forward together every time a new 3-minute boundary is crossed, keeping everything in sync. Lines are pre-drawn into the future so they're already on the chart before the candle forms, and they automatically disappear once they fall outside your configured lookback window. אינדיקטור

אינדיקטור

QT_Mehr_Aria V5Here's a publish-ready description — it presents the tool's features and how to use it, while keeping every proprietary rule out (consistent with the sanitized script). I'll save it in the repo docs too.
Saved to tradingview-description.md. Here's the text to paste into the TradingView publication:
QT_Mehr_Aria V5 — Quarterly Theory Cycles + Triad SMT
WHAT IT DOES
This indicator maps the market's time structure into nested cycles based on Quarterly Theory — from 22/23-minute micro cycles up to yearly and 4-year cycles — and scans a triad of three correlated instruments for SMT divergence at every scale. It draws cycle boundaries, quarter labels and True Opens, and prints signal and entry marks with configurable triggers and alerts.
CYCLES
Nine nested scales: Micro (22/23 min), 90-Minute, 6H, Daily, Weekly, Monthly, Quarterly, Yearly and 4-Year — all anchored to the New York 18:00 session open, DST-safe. On every chart timeframe the indicator works three tiers (LTF / MTF / HTF); higher scales can be shown optionally. Supported chart timeframes: 1m, 5m, 15m, 1h, 4h, Daily, Weekly and Monthly.
SMT DETECTION
Choose a triad preset (NQ/ES/YM · DXY/EU/GU · NQ/ES/NKD · BTC/ETH/SOL · DXY/6E/6B · GC/SI/HG · ZB/TN/ZF) or set three custom symbols. Each symbol is evaluated against its own reference level inside the cycle structure; when the triad disagrees, a divergence mark prints on the bar where it happened:
▽ bearish SMT · △ bullish SMT · ▼ / ▲ entry marks · ✕ invalidated signal · Ts true sweep (optional) · ▽? / △? forming on the live bar (optional)
Inverse-correlated triads (e.g., DXY against EU/GU) are handled automatically — custom triads get per-symbol inverse switches. Detection basis is selectable (wick, close, or wick+close confluence), and the entry trigger can be immediate or CISD close-through. A quarter-pair panel controls which quarter relationships are evaluated, and an optional True-Open premium/discount gate is included (off by default).
TRUE OPENS
TMSO, TSO (session), TDO (daily), TWO (weekly), TMO (monthly), TQO (quarterly) and TYO (yearly) — each drawn from the true opening price of its cycle, on the chart timeframes where it is tradeable.
QUARTER LABELS
A label row names each timeframe's quarters — micro quarters on 1m, up through days, weeks, months, calendar quarters and years on higher charts. One label per window, centered in the window.
SIGNAL CONTROL
The Signals group shows exactly what you want and nothing more: SMT marks, entry marks, invalidation ✕, TS marks, forming marks, and whether scales above your HTF tier draw at all. Per-cycle and per-tier visibility switches are separate. An experimental time-based signal filter is included (off by default).
ALERTS
Four static alert conditions (SMT bearish/bullish, CISD entry bearish/bullish) plus detailed alert() payloads carrying the scale, pair, symbols and cause — create the alert with "Any alert() function call". Alerts can be scoped to one scale or all.
NOTES
Chart one of the triad symbols for the cleanest reading; with an inverse member in the triad (e.g., DXY), signal direction reads from the other two symbols.
Time anchors are New York based; built around futures sessions and also usable on FX, crypto and stocks.
The top-right readout always shows the active triad and configuration.
Educational tool for time-based market analysis — not financial advice.
What it deliberately does not contain: how divergence is judged inside the quarters, the pair semantics, the close/wick reference rule, the inverse-mirroring mechanics, and the experimental filter's rules — those stay only in your local repo docs. It names features (which anyone can see in the settings panel anyway) and explains usage, which is what TradingView moderators require for protected-source publications.
خلاصه: متن توضیحات برای انتشار در تریدینگویو آماده شد — فقط قابلیتها و طرز استفاده را میگوید، هیچ قاعدهای از منطق پشت ابزار لو نمیرود. متن در docs/tradingview-description.md ذخیره شده؛ کافی است همین را در صفحهی انتشار کپی کنی.Here's a publish-ready description — it presents the tool's features and how to use it, while keeping every proprietary rule out (consistent with the sanitized script). I'll save it in the repo docs too.
Saved to tradingview-description.md. Here's the text to paste into the TradingView publication:
QT_Mehr_Aria V5 — Quarterly Theory Cycles + Triad SMT
WHAT IT DOES
This indicator maps the market's time structure into nested cycles based on Quarterly Theory — from 22/23-minute micro cycles up to yearly and 4-year cycles — and scans a triad of three correlated instruments for SMT divergence at every scale. It draws cycle boundaries, quarter labels and True Opens, and prints signal and entry marks with configurable triggers and alerts.
CYCLES
Nine nested scales: Micro (22/23 min), 90-Minute, 6H, Daily, Weekly, Monthly, Quarterly, Yearly and 4-Year — all anchored to the New York 18:00 session open, DST-safe. On every chart timeframe the indicator works three tiers (LTF / MTF / HTF); higher scales can be shown optionally. Supported chart timeframes: 1m, 5m, 15m, 1h, 4h, Daily, Weekly and Monthly.
SMT DETECTION
Choose a triad preset (NQ/ES/YM · DXY/EU/GU · NQ/ES/NKD · BTC/ETH/SOL · DXY/6E/6B · GC/SI/HG · ZB/TN/ZF) or set three custom symbols. Each symbol is evaluated against its own reference level inside the cycle structure; when the triad disagrees, a divergence mark prints on the bar where it happened:
▽ bearish SMT · △ bullish SMT · ▼ / ▲ entry marks · ✕ invalidated signal · Ts true sweep (optional) · ▽? / △? forming on the live bar (optional)
Inverse-correlated triads (e.g., DXY against EU/GU) are handled automatically — custom triads get per-symbol inverse switches. Detection basis is selectable (wick, close, or wick+close confluence), and the entry trigger can be immediate or CISD close-through. A quarter-pair panel controls which quarter relationships are evaluated, and an optional True-Open premium/discount gate is included (off by default).
TRUE OPENS
TMSO, TSO (session), TDO (daily), TWO (weekly), TMO (monthly), TQO (quarterly) and TYO (yearly) — each drawn from the true opening price of its cycle, on the chart timeframes where it is tradeable.
QUARTER LABELS
A label row names each timeframe's quarters — micro quarters on 1m, up through days, weeks, months, calendar quarters and years on higher charts. One label per window, centered in the window.
SIGNAL CONTROL
The Signals group shows exactly what you want and nothing more: SMT marks, entry marks, invalidation ✕, TS marks, forming marks, and whether scales above your HTF tier draw at all. Per-cycle and per-tier visibility switches are separate. An experimental time-based signal filter is included (off by default).
ALERTS
Four static alert conditions (SMT bearish/bullish, CISD entry bearish/bullish) plus detailed alert() payloads carrying the scale, pair, symbols and cause — create the alert with "Any alert() function call". Alerts can be scoped to one scale or all.
NOTES
Chart one of the triad symbols for the cleanest reading; with an inverse member in the triad (e.g., DXY), signal direction reads from the other two symbols.
Time anchors are New York based; built around futures sessions and also usable on FX, crypto and stocks.
The top-right readout always shows the active triad and configuration.
Educational tool for time-based market analysis — not financial advice.
What it deliberately does not contain: how divergence is judged inside the quarters, the pair semantics, the close/wick reference rule, the inverse-mirroring mechanics, and the experimental filter's rules — those stay only in your local repo docs. It names features (which anyone can see in the settings panel anyway) and explains usage, which is what TradingView moderators require for protected-source publications.
אינדיקטור

אינדיקטור

Balanced Price Range (BPR) [TakingProphets]OVERVIEW
The Balanced Price Range (BPR) study identifies areas where two opposing fair value gaps overlap in price. It marks the shared region between an inverted fair value gap and the newly formed gap that caused the inversion, tracking these zones forward in time until they are invalidated.
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
This study is intended for analytical and educational use. It automates the visual identification of overlapping gap regions so that a chart reader does not need to manually measure where two opposing fair value gaps intersect.
The study does not generate trade signals, recommendations, or forecasts. All markings are analytical references only.
LOGIC STRUCTURE
-----------------------------------------------------------------------------------------------
The study first identifies standard fair value gaps.
When an existing fair value gap is inverted by a confirmed candle close through it, the study checks whether the move responsible for that inversion also formed a new fair value gap in the opposing direction.
If it did, the study calculates the overlapping price region shared by the original gap and the newly formed opposing gap. That shared region is the Balanced Price Range.
If the two gaps do not share any overlapping price, no zone is drawn.
A bullish gap inverted downward by a bearish gap produces a bearish Balanced Price Range. A bearish gap inverted upward by a bullish gap produces a bullish Balanced Price Range.
A zone is invalidated when price closes back through it against its direction. A bearish zone is invalidated on a confirmed close above the zone high. A bullish zone is invalidated on a confirmed close below the zone low. Invalidated zones are removed from the chart and are not restored.
All state transitions require a confirmed bar close. Wicks and intrabar movement do not trigger detection or invalidation.
COMPONENTS AND VISUALS
-----------------------------------------------------------------------------------------------
Balanced Price Range zones are drawn as boxes spanning the overlapping price region and extended forward in time.
Bullish and bearish zones are styled independently.
An optional gradient renders each zone in graded bands at the zero, twenty five, fifty, seventy five, and one hundred percent levels of the zone, each with independent color, style, and thickness settings.
Optional labels identify each zone as a Balanced Price Range, positioned outside the lower right of the zone, with selectable label sizes.
INPUT CATEGORIES
-----------------------------------------------------------------------------------------------
General settings control detection sensitivity, minimum zone sizing, and how many zones are displayed on the chart.
Style settings control zone colors, gradient bands, label visibility, and label sizing for bullish and bearish zones independently.
USAGE GUIDELINES
-----------------------------------------------------------------------------------------------
This study is intended as a contextual reference for observing how price interacts with regions where opposing gaps overlap.
Zones may be used as study markers for observation and journaling. They are not entries, exits, or targets.
The study is designed for use alongside a reader's own analysis rather than in isolation.
OPERATIONAL NOTES AND LIMITATIONS
-----------------------------------------------------------------------------------------------
Because the overlapping region is by definition smaller than either source gap, zones can be narrow on lower timeframes. The minimum sizing filter is provided to manage this.
Detection depends on confirmed closes, so zones appear only after the relevant candle has closed.
Historical and real time behavior may differ in appearance as bars confirm.
Past chart behavior does not indicate future behavior. This study describes structure that has already formed.
ORIGINALITY AND ATTRIBUTION
-----------------------------------------------------------------------------------------------
This implementation is original code. The underlying concepts of fair value gaps, gap inversion, and balanced price ranges are widely discussed within the trading education community and are not claimed as proprietary.
TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------
This study is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any instrument.
Trading involves substantial risk of loss. Any decisions made are the sole responsibility of the user. אינדיקטור

אינדיקטור

Permutation Entropy Regime [Jayadev Rana]Permutation Entropy Regime
OVERVIEW
Permutation Entropy Regime is an original open-source tool that measures how ordered or random recent price action is, and turns that into a simple market-state read. Instead of moving averages or momentum, it borrows an idea from information theory called permutation entropy (the Bandt-Pompe method) to score the "predictability" of the market, then classifies the current bar into one of five regimes.
It is not a buy/sell signal generator. It is a context and filter tool that tries to answer one question: is the market currently structured enough to trend or swing, or is it behaving like random noise where most systematic edges break down?
HOW IT WORKS
1. Ordinal patterns. Over a rolling window of closes, the script looks at every group of three consecutive closes and records their rank order (which is highest, middle, lowest). With three values there are six possible orderings.
2. Permutation entropy. It builds a histogram of how often each of the six orderings appears in the window, then computes the Shannon entropy of that distribution and normalizes it to a 0-1 scale. A low value means a few orderings dominate (structured, repeatable behavior); a high value means all orderings appear about equally (random-walk-like behavior).
3. Predictability. Predictability is reported as (1 - normalized entropy) x 100. Higher means more ordered.
4. Structure Rank. Because raw predictability sits in different ranges on different symbols and timeframes, the script percentile-ranks the current predictability against its own recent history (Structure Rank Lookback). This adaptive 0-100 Structure Rank is the main line and the basis for the regime decision, so the tool self-calibrates to each market.
5. Drift bias. A separate term measures the net share of up versus down closes across the window (-1 to +1). It is used only to label a structured regime as Up, Down, or Range.
REGIMES
- Structured Up: Structure Rank at or above the Structured Level and drift bias positive.
- Structured Down: Structure Rank at or above the Structured Level and drift bias negative.
- Structured Range: Structure Rank high but drift near zero (ordered but sideways or mean-reverting).
- Neutral: Structure Rank between the two levels.
- Random / Chop: Structure Rank at or below the Chop Level.
INPUTS
- Core: Entropy Window (window length for the ordinal-pattern histogram) and Predictability Smoothing (EMA applied to the raw score).
- Regime: Structure Rank Lookback (adaptive percentile window), Structured Level and Chop Level (the two cutoffs), and Drift Bias Threshold (how strong the directional tilt must be to call Up or Down).
- Visuals: color price bars by regime, shade the indicator pane by regime, show the dashboard and choose its corner.
- Colors: one color per regime.
WHAT IT PLOTS
- Structure Rank line (0-100), colored by the active regime.
- Raw Predictability line for reference.
- Dashed Structured Level, Chop Level, and a midline.
- Optional regime background in the pane, and optional regime coloring of the main price bars.
- A dashboard showing the regime, Structure Rank, Predictability, normalized entropy, drift bias, and how many bars the current regime has lasted.
ALERTS
Five bar-close alertconditions: entered Structured Up, entered Structured Down, entered Structured Range, entered Random / Chop, and a generic Regime Changed. They evaluate on confirmed bar close.
HOW TO USE IT
This is a context filter, not a signal by itself. Common uses:
- Take your own trend or breakout setups mainly while the market is in a Structured Up or Structured Down regime, and stand aside or reduce size in Random / Chop.
- Prefer mean-reversion or range tactics in Structured Range.
- Combine the regime with your existing entries rather than acting on the regime alone.
MARKETS AND TIMEFRAMES
It is symbol- and timeframe-agnostic because the Structure Rank adapts to each market's own history. It runs on intraday and higher timeframes. Note that most liquid instruments are close to random at short intraday scales, so absolute Predictability is often low; the Structure Rank is what makes the reading comparable and actionable across markets.
CALCULATION AND REPAINTING NOTES
- All calculations use closed-bar data (close and historical closes). Values for the most recent, still-forming bar update until that bar closes, which is normal for any close-based indicator; historical values do not repaint after a bar has closed.
- The embedding dimension is fixed at 3 (groups of three closes). Ties between equal closes are resolved with a consistent rule and are rare on most instruments.
- There are no higher-timeframe requests and no future-looking access.
LIMITATIONS
- It measures structure, not direction quality; a structured regime is not a guarantee of follow-through.
- Permutation entropy of order 3 is a coarse estimate; very small windows are noisy and very large windows are slow to react.
- On extremely low-volatility or illiquid data, repeated equal closes can bias the pattern histogram.
- Like all indicators, it describes past and current behavior and does not predict future prices.
This script is open-source under the Mozilla Public License 2.0. It is provided for research and educational purposes only and is not financial advice. Test any tool on your own markets and settings before relying on it.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
bluealgocapital
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
אינדיקטור

Frequency Domain Predictor This indicator identifies the dominant repeating cycle within price movement by first suppressing long-term trend components with a high-pass filter, then isolating a single clean wavelength using an octave-wide band-pass filter built from a high-pass and SuperSmoother combination; it then generates a phase-advanced forecast of that cycle by creating a quadrature (Hilbert transform) version of the filtered wave and blending it with the original at an adjustable phase angle, producing a predictive "lead" line that anticipates the cycle's next turn rather than merely reporting where it has already been, with a companion multi-timeframe table scoring trend alignment across the hourly, daily, weekly, and monthly charts (weighted 1/2/3/4 respectively, for a maximum combined score of ±10) to show whether shorter and longer-term rhythms are confirming or conflicting with one another.
The basic idea
This code is based on the technician John Ehlers' article "A New Look at Prediction"
Imagine the stock market moves in waves, kind of like ocean tides. Prices don't just go up and down randomly — they tend to swing in rhythms, some short (like a few days), some longer (like a few weeks or months). This indicator tries to spot those rhythms and, once it "learns" the rhythm, make a good guess about where the wave is heading next — a little bit like watching a swing go back and forth and being able to predict when it'll reach the top, just from watching its motion.
The two lines on the chart
Think of price movements like music, made up of layered sounds Imagine the stock's price history is actually a piece of music playing many notes at once — some very deep, slow bass notes (the big, months-long trends), and some quick, high-pitched notes (the short daily jitters). They're all playing on top of each other at the same time, which is why raw price charts look like noisy scribbles. Step 1: Turn down the bass The first move is like taking an equalizer and turning way down on the deep bass notes — the slow, long-term drift in price. Doing this strongly enough lets the shorter, quicker rhythms come through clearly, the way turning down the bass on a stereo lets you suddenly hear the higher notes much better. Step 2: Tune in to one specific note Once the bass is turned down, the indicator tunes in like a radio dial to one particular rhythm — not too broad, not too narrow, just wide enough to catch one clean "note" (a repeating cycle of a certain length, like a monthly wave) without picking up static from neighboring notes. That's the "dominant cycle" — the main heartbeat the indicator has decided to track. Step 3: Make a copy that's a quarter-beat ahead Here's the clever part. Once it has that clean rhythmic note, the indicator makes a second version of it that's shifted slightly ahead in time — like clapping just a fraction of a second before the beat instead of on the beat. It does this with simple math (comparing the note's value now versus a couple of moments ago), which naturally produces something that leads the original by a quarter-cycle. Step 4: Blend the two into a custom forecast Now it has two versions of the same rhythm: the "on-beat" version and the "ahead-of-beat" version. By blending these two together in different proportions, it can dial in exactly how far ahead it wants to lean — a little ahead, or a lot ahead, like adjusting how early you want your alarm clock to go off. The result That blended, forward-leaning version is the forecast line (the blue line on the chart). It's the indicator's best attempt at saying "if this rhythm keeps behaving the way it has been, here's roughly where it's about to go next" — a few days or weeks before the rhythm actually gets there. The red line shows the wave the indicator has identified in the price — it's smoothing out all the noisy zigzags into one clean, readable rhythm.
The blue line is the indicator's forecast. It's designed to move slightly ahead of the red line — like a weather forecaster trying to predict tomorrow's temperature based on today's trend, rather than just reporting today's temperature after the fact.
When the blue line is above the red line and rising, that's the indicator's way of saying "I think this rhythm is about to turn upward." When it dips below and falls, it's leaning the other way.
The table on the right
Since one rhythm on one time scale (say, hourly) doesn't tell the whole story, the table checks the same wave-reading logic across four different "zoom levels" — hourly, daily, weekly, and monthly — like checking the tide at four different distances from shore.
Each one gets scored based on whether it's pointing up or down, but longer time frames count more, because a monthly trend is a much bigger, more meaningful signal than an hourly blip:
Monthly: worth 4 points
Weekly: worth 3 points
Daily: worth 2 points
Hourly: worth 1 point
Add them all up, and you get a score from -10 to +10. A +10 means every single time scale agrees the trend is up — about as strong an "all clear" signal as this tool can give. A -10 means everything agrees it's heading down. Anything in between means the different time scales disagree with each other — like the tide near the shore going one way while the tide further out is doing something else — which usually means it's a more uncertain, choppy moment to be reading too much into any single signal.
The honest caveat
This is a forecasting tool, not a crystal ball — it's built on the assumption that recent rhythms will continue a little longer, which is often true but not always. Think of it like a weather forecast: helpful for leaning one way or another, but not a guarantee.
אינדיקטור

RDZ PRO SMC**RDZ PRO SMC – Smart Money Concepts Trading Indicator**
RDZ PRO SMC is a Smart Money Concepts (SMC) market structure indicator designed to help traders identify key price action areas, liquidity events, and potential trade opportunities.
The indicator combines multiple SMC concepts into one clean chart tool:
• **Market Structure**
* Higher Highs (HH)
* Higher Lows (HL)
* Lower Highs (LH)
* Lower Lows (LL)
* Break of Structure (BOS)
* Change of Character (CHOCH)
• **Liquidity Analysis**
* Previous Day High/Low
* Previous Week High/Low
* Previous Month High/Low
* Liquidity sweep detection
• **Fair Value Gaps (FVG)**
* Bullish and bearish imbalance zones
* Automatic FVG box marking
* Optional mitigation removal
* Consequent Encroachment (CE) levels
• **Multi-Timeframe Analysis**
* Higher timeframe bias
* Lower timeframe confirmation
* Designed for traders using top-down analysis
• **Entry Assistance**
* BUY and SELL signals based on structure confirmation, trend bias, and imbalance conditions
* Alerts available for BOS, CHOCH, FVG, and entry signals
RDZ PRO SMC is designed for traders who use price action, liquidity concepts, and institutional-style market analysis. It is not a standalone trading system and should be combined with proper risk management and personal trading rules.
Best suited for futures, indices, forex, and crypto markets.
אינדיקטור

אינדיקטור

אינדיקטור

אינדיקטור

BitMode H TheurgyLabsBitMode H is the lower-pane oscillator companion to the BitMode signal engine. It runs the exact same signal, gate, and band logic as the BitMode overlay — bar for bar — and instead of drawing bands on price, it opens up the engine's internal state so you can see why a signal did or did not fire.
What it plots. The primary line is a band-penetration "stretch" oscillator: it reads roughly minus-one at the buy band and plus-one at the sell band, and pushes beyond those levels when price penetrates into a trigger zone, tinting toward the buy hue below the midline and the sell hue above it. Beneath it, a pressure histogram shows capitulation depth — deep green when selling pressure is at a buy-worthy extreme, fading to red as the tape turns frothy. A gold line tracks the efficiency-ratio regime and is shifted so it crosses zero exactly at the point where the regime gate would begin to veto entries — above zero means the tape is too trendy to revert, below means it is in a reversion-friendly range. Background tinting flags the armed state of the engine: orange on volume-spike flush or reach bars, bright cyan when a deep-capitulation override is active, and an optional magenta wash (off by default) marking bars where the regime gate is rejecting buys.
Marker parity. Because BitMode H shares the overlay's full signal chain, its buy and sell triangles fire on exactly the same bars as the overlay's, plotted at the stretch value. When BitMode's optional deployment sizing is enabled, H's markers shade with size in the same way the overlay's do, so the two panes always tell the same story. An optional dimmed layer can also reveal "vetoed" flushes — bars where a band flush occurred but a gate rejected the entry — showing exactly what the filters are removing.
Reading it. A deep negative stretch together with a deep-green pressure bar, on a cyan or neutral background, is the classic BitMode buy setup — price at a structural extreme, pressure capitulating, regime not vetoing. A magenta background or a gold line above zero explains a missing buy: the structure was there but the regime gate held it off. The compact side panel mirrors the overlay's diagnostic state — regime, pressure, efficiency ratio, volume ratio, band-gate status, and the effective preset — so you can keep the oscillator pane open without needing the overlay table in view.
Every plot is styleable — colors and line widths for the stretch line, pressure histogram, efficiency line, reference levels, and markers are all adjustable, and the background tints can be recolored or switched off individually.
Use BitMode H alongside the BitMode overlay for the complete picture: the overlay for entries, exits, and deployment on price; the companion for the engine state driving each decision. This is a research and decision-support tool, not financial advice or a performance guarantee. Test before relying on it and manage your own risk. אינדיקטור
