Reflexivity Resonance Factor (RRF) - Quantum Flow Reflexivity Resonance Factor (RRF) – Quantum Flow
See the Feedback Loops. Anticipate the Regime Shift.
What is the RRF – Quantum Flow?
The Reflexivity Resonance Factor (RRF) – Quantum Flow is a next-generation market regime detector and energy oscillator, inspired by George Soros’ theory of reflexivity and modern complexity science. It is designed for traders who want to visualize the hidden feedback loops between market perception and participation, and to anticipate explosive regime shifts before they unfold.
Unlike traditional oscillators, RRF does not just measure price momentum or volatility. Instead, it models the dynamic feedback between how the market perceives itself (perception) and how it acts on that perception (participation). When these feedback loops synchronize, they create “resonance” – a state of amplified reflexivity that often precedes major market moves.
Theoretical Foundation
Reflexivity: Markets are not just driven by external information, but by participants’ perceptions and their actions, which in turn influence future perceptions. This feedback loop can create self-reinforcing trends or sudden reversals.
Resonance: When perception and participation align and reinforce each other, the market enters a high-energy, reflexive state. These “resonance” events often mark the start of new trends or the climax of existing ones.
Energy Field: The indicator quantifies the “energy” of the market’s reflexivity, allowing you to see when the crowd is about to act in unison.
How RRF – Quantum Flow Works
Perception Proxy: Measures the rate of change in price (ROC) over a configurable period, then smooths it with an EMA. This models how quickly the market’s collective perception is shifting.
Participation Proxy: Uses a fast/slow ATR ratio to gauge the intensity of market participation (volatility expansion/contraction).
Reflexivity Core: Multiplies perception and participation to model the feedback loop.
Resonance Detection: Applies Z-score normalization to the absolute value of reflexivity, highlighting when current feedback is unusually strong compared to recent history.
Energy Calculation: Scales resonance to a 0–100 “energy” value, visualized as a dynamic background.
Regime Strength: Tracks the percentage of bars in a lookback window where resonance exceeded the threshold, quantifying the persistence of reflexive regimes.
Inputs:
🧬 Core Parameters
Perception Period (pp_roc_len, default 14): Lookback for price ROC.
Lower (5–10): More sensitive, for scalping (1–5min).
Default (14): Balanced, for 15min–1hr.
Higher (20–30): Smoother, for 4hr–daily.
Perception Smooth (pp_smooth_len, default 7): EMA smoothing for perception.
Lower (3–5): Faster, more detail.
Default (7): Balanced.
Higher (10–15): Smoother, less noise.
Participation Fast (prp_fast_len, default 7): Fast ATR for immediate volatility.
5–7: Scalping.
7–10: Day trading.
10–14: Swing trading.
Participation Slow (prp_slow_len, default 21): Slow ATR for baseline volatility.
Should be 2–4x fast ATR.
Default (21): Works with fast=7.
⚡ Signal Configuration
Resonance Window (res_z_window, default 50): Z-score lookback for resonance normalization.
20–30: More reactive.
50: Medium-term.
100+: Very stable.
Primary Threshold (rrf_threshold, default 1.5): Z-score level for “Active” resonance.
1.0–1.5: More signals.
1.5: Balanced.
2.0+: Only strong signals.
Extreme Threshold (rrf_extreme, default 2.5): Z-score for “Extreme” resonance.
2.5: Major regime shifts.
3.0+: Only the most extreme.
Regime Window (regime_window, default 100): Lookback for regime strength (% of bars with resonance spikes).
Higher: More context, slower.
Lower: Adapts quickly.
🎨 Visual Settings
Show Resonance Flow (show_flow, default true): Plots the main resonance line with glow effects.
Show Signal Particles (show_particles, default true): Circular markers at active/extreme resonance points.
Show Energy Field (show_energy, default true): Background color based on resonance energy.
Show Info Dashboard (show_dashboard, default true): Status panel with resonance metrics.
Show Trading Guide (show_guide, default true): On-chart quick reference for interpreting signals.
Color Mode (color_mode, default "Spectrum"): Visual theme for all elements.
“Spectrum”: Cyan→Magenta (high contrast)
“Heat”: Yellow→Red (heat map)
“Ocean”: Blue gradients (easy on eyes)
“Plasma”: Orange→Purple (vibrant)
Color Schemes
Dynamic color gradients are used for all plots and backgrounds, adapting to both resonance intensity and direction:
Spectrum: Cyan/Magenta for bullish/bearish resonance.
Heat: Yellow/Red for bullish, Blue/Purple for bearish.
Ocean: Blue gradients for both directions.
Plasma: Orange/Purple for high-energy states.
Glow and aura effects: The resonance line is layered with multiple glows for depth and signal strength.
Background energy field: Darker = higher energy = stronger reflexivity.
Visual Logic
Main Resonance Line: Shows the smoothed resonance value, color-coded by direction and intensity.
Glow/Aura: Multiple layers for visual depth and to highlight strong signals.
Threshold Zones: Dotted lines and filled areas mark “Active” and “Extreme” resonance zones.
Signal Particles: Circular markers at each “Active” (primary threshold) and “Extreme” (extreme threshold) event.
Dashboard: Top-right panel shows current status (Dormant, Building, Active, Extreme), resonance value, energy %, and regime strength.
Trading Guide: Bottom-right panel explains all states and how to interpret them.
How to Use RRF – Quantum Flow
Dormant (💤): Market is in equilibrium. Wait for resonance to build.
Building (🌊): Resonance is rising but below threshold. Prepare for a move.
Active (🔥): Resonance exceeds primary threshold. Reflexivity is significant—consider entries or exits.
Extreme (⚡): Resonance exceeds extreme threshold. Major regime shift likely—watch for trend acceleration or reversal.
Energy >70%: High conviction, crowd is acting in unison.
Above 0: Bullish reflexivity (positive feedback).
Below 0: Bearish reflexivity (negative feedback).
Regime Strength: % of bars in “Active” state—higher = more persistent regime.
Tips:
- Use lower lookbacks for scalping, higher for swing trading.
- Combine with price action or your own system for confirmation.
- Works on all assets and timeframes—tune to your style.
Alerts
RRF Activation: Resonance crosses above primary threshold.
RRF Extreme: Resonance crosses above extreme threshold.
RRF Deactivation: Resonance falls below primary threshold.
Originality & Usefulness
RRF – Quantum Flow is not a mashup of existing indicators. It is a novel oscillator that models the feedback loop between perception and participation, then quantifies and visualizes the resulting resonance. The multi-layered color logic, energy field, and regime strength dashboard are unique to this script. It is designed for anticipation, not confirmation—helping you see regime shifts before they are obvious in price.
Chart Info
Script Name: Reflexivity Resonance Factor (RRF) – Quantum Flow
Recommended Use: Any asset, any timeframe. Tune parameters to your style.
Disclaimer
This script is for research and educational purposes only. It does not provide financial advice or direct buy/sell signals. Always use proper risk management and combine with your own strategy. Past performance is not indicative of future results.
Trade with insight. Trade with anticipation.
— Dskyz , for DAFE Trading Systems
"scalping" için komut dosyalarını ara
FXC Candle strategyFxc candle strategy for Gold scalping.
Scalping is a fast-paced trading strategy focusing on capturing small, frequent price movements for incremental profits. High market liquidity and tight spreads are needed for scalping, minimizing execution risks. Scalpers should trade during peak liquidity to avoid slippage
Smart Market Matrix Smart Market Matrix
This indicator is designed for intraday, scalping, providing automated detection of price pivots, liquidity traps, and breakout confirmations, along with a context dashboard featuring volatility, trend, and volume.
## Summary Description
### Menu Settings & Their Roles
- **Swing Pivot Strength**: Controls the sensitivity for detecting High/Low pivots.
- **Show Pivot Points**: Toggles the display of HH/LL markers on the chart.
- **VWMA Length for Trap Volume** & **Volume Spike Multiplier**: Identify concentrated volume spikes for liquidity traps.
- **Wick Ratio Threshold** & **Max Body Size Ratio**: Detect candles with disproportionate wicks and small bodies (doji-ish) for traps.
- **ATR Length for Trap**: Measures volatility specific to trap detection.
- **VWMA Length for Breakout Volume**, **ATR Multiplier for Breakout**, **ATR Length for Breakout**, **Min Body/Range Ratio**: Set adaptive breakout thresholds based on volatility and volume.
- **OBV Smooth Length**: Smooths OBV momentum for breakout confirmation.
- **Enable VWAP Filter for Confirmations**: Optionally validate breakouts against the VWAP.
- **Enable Higher-TF Trend Filter** & **Trend Filter Timeframe**: Align breakout signals with the 1h/4h/Daily trend.
- **ADX Length**, **EMA Fast/Slow Length for Context**: Parameters for the context dashboard (Volatility, Trend, Volume).
- **Show Intraday VWAP Line**, **VWAP Line Color/Width**: Display the intraday VWAP line with custom style.
### Signal Interpretation Map
| Signal | Description | Recommended Action |
|--------------------------------|-----------------------------------------------------------|-------------------------------------------|
| 📌 **HH / LL (pivot)** | Market structure (support/resistance) | Note key levels |
| **Bull Trap(green diamond)** | Sweep down + volume spike + wick + rejection | Go long with trend filter
| **Bear Trap(red diamond)** | Sweep up + volume spike + wick + rejection | Go short with trend filter
| 🔵⬆️ **Breakout Confirmed Up** | Close > ATR‑scaled high + volume + OBV↑ | Go long with trend filter |
| 🔵⬇️ **Breakout Confirmed Down** | Close < ATR‑scaled low + volume + OBV↓ | Go short with trend filter |
| 📊 **VWAP Line** | Intraday reference to guide price | Use as dynamic support/resistance |
| ⚡ **Volatility** | ATR ratio High/Med/Low | Adjust position size |
| 📈 **Trend Context** | ADX+EMA Strong/Moderate/Weak | Confirm trend direction |
| 🔍 **Volume Context** | Breakout / Rising / Falling / Calm | Check volume momentum |
*This summary gives you a quick overview of the key settings and how to interpret signals for efficient intraday scalping.*
### Suggested Settings
- **Intraday Scalping (5m–15m)**
- `Swing Pivot Strength = 5`
- `VWMA Length for Trap Volume = 10`, `Volume Spike Multiplier = 1.6`
- `ATR Length for Trap = 7`
- `VWMA Length for Breakout Volume = 12`, `ATR Length for Breakout = 9`, `ATR Multiplier for Breakout = 0.5`
- `Min Body/Range Ratio for Breakout = 0.5`, `OBV Smooth Length = 7`
- `Enable Higher-TF Trend Filter = true` (TF = 60)
- `Show Intraday VWAP Line = true` (Color = orange, Width = 2)
- **Swing Trading (4h–Daily)**
- `Swing Pivot Strength = 10`
- `VWMA Length for Trap Volume = 20`, `Volume Spike Multiplier = 2.0`
- `ATR Length for Trap = 14`
- `VWMA Length for Breakout Volume = 30`, `ATR Length for Breakout = 14`, `ATR Multiplier for Breakout = 0.8`
- `Min Body/Range Ratio for Breakout = 0.7`, `OBV Smooth Length = 14`
- `Enable Higher-TF Trend Filter = true` (TF = D)
- `Show Intraday VWAP Line = false`
*Adjust these values based on the symbol and market volatility for optimal performance.*
Supply And DemandThis supply and demand indicator uses sessions, volume spikes, higher timeframe price action and other volume calculations to spot areas on the chart where price will likely react. From the 1 minute and below charts to the daily and up charts, you can get excellent levels for any timeframe.
Why Use Supply And Demand?
One of the safest ways to trade is to wait for price to enter an area of interest where price should react. When we play reversals off of these areas, you increase the likelihood that your trade will be profitable because there was previous price action that told you that the current level is one where price will react. So we look for reversals at or very near these levels to enter into scalp or swing trade positions and look to exit that position when price is at or near the next major supply and demand level.
How To Use
The strategy with this indicator is to wait for price action to reach the levels shown by this supply and demand indicator and then enter trades at these levels, looking for a reversal. The thicker lines and the lines that are from the highest timeframes will be the most important levels on the chart. There is a table on the chart that will help you identify what timeframe the levels are using, with the color of that line next to it for easy identification.
The default settings are designed for scalping the 1-5 minute charts, so there are more levels turned on than necessary if you are using higher timeframes than 5 minutes. If you are using higher timeframes, make sure to turn off some of the lower timeframe levels so that it doesn’t clog up your charts. On the daily timeframe and above, many of the levels are coded to not turn on so that you don’t have to turn them off manually, but be aware that you will need to adjust your charts to suit your preferences, especially if you are on anything above the 5 minute chart.
For scalping, wait for price to react from the supply and demand levels by showing wicks, struggling to break through or getting reversal candles at those levels. Ride those moves to the next major supply and demand area before taking profit. You may want to turn on sessions and some of the lower timeframe levels as well if there are big gaps on the chart that are not suitable for scalping.
For swing trading, you will want to turn some of the lower timeframe and session levels off. Leave it to only higher timeframe OHLC lines and volume spike levels. Then you can swing moves that reverse off of the supply and demand lines.
Customization
This indicator is fully customizable. You can turn on or off any of the levels as well as increase the number specific levels so your charts suit your preferences.
All of the levels used are color coded individually so you can easily tell which type of level it is and these colors can be changed within the settings to suit your preferences. These colors are also reflected in the line identification table that show you exactly which color each type of level is.
There are toggles for the line identification table and session identification table as well if you don’t want them on your chart.
Types Of Levels Used
This indicator uses 4 different types of levels that I have found to be extremely influential on the price action. They are: volume spikes, higher timeframe price action, country based trading sessions and the VWAP. All of these levels have proven to be very important levels in my testing and are very helpful in spotting reversal areas.
Volume Spikes
This indicator is looking for the largest volume spikes and plotting the levels where that volume came in. It checks for the highest volume spikes across multiple different lengths of candles so that you get recent levels as well as the most important levels in the past. There are volume spike calculations for your current chart timeframe, 1 hour charts, 4 hour charts, daily charts, weekly charts, and monthly charts. Each of these looks for volume spikes across various lengths of candles for each timeframe and is color coded so you can identify which levels are which easily. The weekly and monthly volume spike levels are fatter than the normal volume spike levels with a line width of 2 to signify their importance.
OHLC Higher Timeframe Candles
This script plots levels of higher timeframe candles since price usually reacts very strongly to these levels. The levels it will produce are the high, low, open and close of the most recent closed candle of each higher timeframe. You can adjust these to show as many or as few previous HTF candles as you would like. The higher timeframe candles available to use are as follows: 1 hour, 4 hour, daily, 3 day, weekly, monthly, quarterly and yearly. The monthly, quarterly and yearly levels are fatter than the normal levels with a line width of 2 to signify their importance.
Trading Sessions
Trading sessions are very important levels because the market makers of different parts of the world are typically positioning themselves at these specific times. The number of each trading session line can be adjusted to show more or less levels depending on your preference. When you adjust the number, it will affect all lines that are enabled for that specific session. The levels available for each Tokyo, London & New York session are as follows: session premarket open, regular session open, session close, and session high & low. The session close boxes are fatter than the others with a line width of 2 to signify its importance.
VWAP & Previous Close
We all know that the VWAP aka Volume Weighted Average Price is a very important level on any chart, so we included this level as a default. However, we decided to take this a step further and include the previous daily session’s VWAP closing price and plot those levels. These are extremely important levels that you should pay very close attention to, along with the other levels mentioned above. The market makers are hedging their positions based on these levels and you will typically see very strong reactions to these levels, especially in the first hour when the markets open up. The VWAP and previous session VWAP close levels can be turned on or off and the default for the number of previous VWAP session close prices is set to 5. These levels are fatter lines because they are extremely important, so make sure to pay attention to them!
Line & Session Identification Tables
There are two tables to help you identify what is on the chart. The first is a large table in the top right that shows you the color and type of each line that is turned on so you can easily identify which lines are which. The second table is a small one at the bottom center of the chart that tells you which trading session we are currently in and what color that session is on the chart. These tables can be turned on or off and you can also change where they are on the chart by adjusting them at the bottom of the settings page.
Markets
This Supply And Demand indicator can be used on any market with price data such as stocks, crypto, forex and futures.
Timeframes
This Supply And Demand indicator can be used on any timeframe, from the second charts all the way up to the yearly charts.
Futures SignalThis is a Futures Signal Indictor works using support & resistance and market trend, it is designed for all type of markets (crypto, forex, stock etc.) and works on all commonly used timeframes (preferably on 5 Min, 15 Min Candles).
How it works Futures Signal Indictor :
Core logic behind this indicator is to finding the Support and Resistance , we find the Lower High (LH) and Higher Low (HL) to find the from where the price reversed (bounced back) and also we use a custom logic for figuring out the peak price in the last few candles. Based on the multiple previous Support and Resistance (HH, HL, LL LH) we calculate a price level, this price level is used a major a factor for entering the trade. Once we have the price level we check if the current price crosses that price level, if it crossed then we consider that as a long/short entry (based on whether it crosses resistance or support line that we calculated). Once we have pre long/short signals we further filter it based on the market trend to prevent too early/late signals. Along with this if we don't see a clear trend we do the filtering by checking how many support or resistance level the price has bounced off.
Stop Loss and Take Profit: We have also added printing SL and TP levels on the chart to make the it easier for everyone to find the SL/TP values. Script calculates the SL value by checking the previous support level for LONG trade and previous resistance level for SHORT trades. Take profit are calculated in 0.5 ratio as of now.
Bollinger Bands Scalper + VWAPGet more consistent scalps by trading in-between Bollinger Band Deviations.
FEATURES:
1) 3 Bollinger Bands with default settings to 1, 2, and 3 deviations for more consistent scalps
2) Trendicator: a dynamic color changing moving average that helps you see trend quickly
3) Robust VWAP tool with up to 3 different deviations as well as different anchor points to help you see strong support and resistances
4) Calming "purple cloud" color palette helps you focus on price action
5) Discover new trading strategies with a wide range of customizability
Market Maker Indicator V2 [tecnocrypto]This indicator is based on the idea that prices are generated by the interaction between a Market Maker on one side (sometimes also called the "Composite Man") and Retail Traders on the other side (Retail Traders include simple retail, professional traders, whales, institutions...as a single entity). These two opposite entities "play" the trading game on trading platforms/exchanges (crypto), which are neutral to the game.
Market makers are liquidity providers, and make profits either by charging a spread between buy and sell prices, and (also) by trapping retail traders into specific positions.
Trading is a "zero sum" game in the sense that it generates a transfer of resources between these two specific players, which are indeed the Market Maker and Retail Traders. If Retail Traders are in profit, Market Maker is (temporarily) in loss, and viceversa. Market Maker goal is to squeeze profits out of Retail Traders, by inducing them to take wrong positions.
The Market Maker Method Indicator executes the following:
1) Identifies and plots candles that are generated by the Market Maker's moves (called "Shift Candles"); shift candles are "artificial" price/volumes moves, generated to induce retail traders into specific zones which are, essentially, traps. They are called Shift Candles as they generate abnormal (and mostly unexpected) price movements in either direction. They move the price from one zone to the next to execute the Market Maker strategy. Observe how often sudden (apparent) prices increases are followed by price crashes (stop hunt rise, drop); and observe how often sudden (apparent) price collapses are followed by price uptrends (stop hunt low, rise); sometimes these movements are made in progressive steps (generally, 3).
2) Plots open long/open short alerts based on the assumption that when Market Maker plots upwards shift candles, vivid green color, they are preparing for an upcoming price reversal (down); same, but opposite sign, for downwards shift candles. This is a counterintuitive logic for Retail Traders, that generally open long when price is rising, and open shorts when price is falling - jumping into Market Makers traps.
3) Plots the areas where price is expected to return (upwards or downwards) based on previous shift candles (called "Recovery Zones")
You can use this indicator on any timeframe and for any asset.
The Market Maker indicator V2 provides long / short entry signals based upon the market maker manipulative moves described above.
Long alerts are triggered by manipulative price push-downs by the marker maker, which will be followed by price increases (while price was decreasing, market maker was purchasing from retail). Additional factors are taken into consideration to plot long entry signals, , mainly volume build up and mean reversion, around this basic concept.
Short alerts are triggered by manipulative price push-ups by the marker maker, which will be followed by price drops (while price was increasing, market maker was selling to retail). Additional factors are taken into consideration to plot short entry signals, mainly volume build up and mean reversion, around this basic concept.
The indicator is based on the Traders Reality indicator, but improved with alerts, that can be used with trading bots, and additional possibilities to customize the behavior of the indicator.
A strategy associated with this indicator is also available.
Best results on the 1H timeframe.
Contact me for further info.
[BT] - ScalpMaster [ALERTS] v1Go easy on this script as it's my first, hopefully more to come!
ScalpMaster - V1
It's main feature is catch a bull run for volatile markets. Two main selling triggers (CCI and TSSL) with an option to only sell after fees are met (for profit).
Built in Statistics and Back-testing
I've introduced my own version of backtesting built into the main script. You can disable it if it's too much, just makes it easier to dial the settings in and compare with alert triggering. I've included this on all of my scripts.
***You will get a warning that this script repaints, however you can easily compare alerts against the labels. I'm not entirely sure, but I believe the repainting is due to the Global Stats Label at the end gets repainted to keep in the front. ***
Directions
Buy: When dialing in the script, watch the purple line above the source, when the current price crosses above this purple line then the buying trigger sets.
Sell: TSSL - Trailing Stop / Stop Limit, use available settings to manipulate behavior. It's meant to trail the bull run and sell once the price crosses the bottom tssl bar
Sell: CCI - Modify the FastMA and SlowMA settings
Sell: P+ - Above won't trigger until you are in the positive after the fees x2 are met. Great to keep your losses minimal. Combine this with a high Stop Loss for great results but might be waiting awhile for a profit.
Scalp Master V 1.0The Scalp Master is designed for new and experienced trainers to get a better understanding of sudden direction changes in the cryptocurrencies markets, by displaying just 2 basic signals: "Up" or "Down".
It combines the T.A of a group of indicators to give you the most sensitive tool to catch a Pump or Dump before it happens. It also includes one of the most basic and powerful tools to understand how the market is going to behave: Bollinger Bands, if we get an "Up" signal near the lower Bollinger band, we might be close to a good pump and if we get a "Down" signal near the top Bollinger band a dump in the price will most likely happen.
Enjoy!!!
TraderTroys 5MMSRTraderTroys 5 Minute Major Support / Resistance Indicator
This is to only be used on the 5 minute time frame. It's sole purpose is to reveal up coming major support and resistance.
Green = Less reliable
Yellow = More reliable
Red = Very reliable
However, I would recommend back testing this *by applying it to your chart and watching how price action plays with the lines.*
I would not recommend only trading based off this indicator, but use it as a form of confluence with others.
It's built around multiplications of the average price.
Here is a great example of it working:
[Aill3urs V.1.0.P] Study GustaveIt's the Study of the this Strategy-Gustave you can find below.
For any info DM me.
Ma'RenkoMa'Renko is simple, yet powerful trading system designed to help scalpers who use Renko charts (including ATR-based, but it should work with any type of candles as well). The thickness of color bands represents different trend characteristics (mostly volume and speed of price changing) which allow a trader to filter out false pivot points, enter and exit more wisely. The chart speaks for itself.
Ledgercharts scalp indicatorI'm using this indicator for finding scalp opportunities with high volume crypto coins. To be used in combination with support & resistance levels and/or other indicators.
Works best on a 15-minute timeframe.
DISCLAIMER:
This script is not intended as financial advice and is for educational purposes only. Do your own research by verifying the accuracy of the information and know that your decisions are your own.
5 Adaptable SMA bandsProfessional-grade technical indicator designed for elite traders who demand precision, visual clarity, and adaptive market analysis.
This sophisticated tool revolutionizes traditional Simple Moving Average analysis by transforming thin lines into dynamic, adaptive bands that provide superior trend identification and market structure visualization across all timeframes and asset classes.
🎯 Key Professional Features
5 Fully Configurable SMAs with independent period, color, and width controls
3 Advanced Adaptation Methods: Price Percentage, ATR Adaptive, Dynamic Volatility
Institutional-Grade Visual Design with thick, clearly visible bands
Real-Time Information Dashboard displaying all active parameters
Professional Default Setup: SMA 8 (Green), SMA 20 (Blue), SMA 200 (Red)
Precision Band Width Control from 0.05% to 2.0% with 0.05% increments
Individual Toggle Control for each moving average
Optional Center Lines for exact price level identification
📈 Advanced Adaptation Technology
Price Percentage Method: Band width as percentage of SMA value
ATR Adaptive Method (Recommended): Automatically adjusts to market volatility using Average True Range
Dynamic Volatility Method: Uses standard deviation for high-volatility instruments
💼 Professional Trading Applications
Multi-Timeframe Trend Analysis: Identify short, medium, and long-term trends simultaneously
Dynamic Support/Resistance Levels: Adaptive bands act as dynamic S/R zones
Market Structure Analysis: Visualize trend strength and momentum shifts
Entry/Exit Signal Enhancement: Clear visual confirmation of trend changes
Risk Management: Better position sizing based on volatility-adjusted bands
🏆 Competitive Advantages
Superior Visual Clarity: Thick bands are easier to identify than traditional thin lines
Automatic Volatility Adjustment: Adapts to any instrument's characteristics
Zoom-Independent Scaling: Maintains visual proportions at any chart zoom level
Universal Compatibility: Works flawlessly on Forex, Stocks, Crypto, Commodities, Indices
⚙️ Recommended Professional Setups
Scalping: SMAs 8, 20, 50 with ATR Adaptive method
Day Trading: SMAs 20, 50, 100 with 0.3-0.5% band width
Swing Trading: SMAs 50, 100, 200 with Dynamic Volatility method
Position Trading: SMAs 100, 200 with 0.5-0.8% band width
[blackcat] L2 Trend LinearityOVERVIEW
The L2 Trend Linearity indicator is a sophisticated market analysis tool designed to help traders identify and visualize market trend linearity by analyzing price action relative to dynamic support and resistance zones. This powerful Pine Script indicator utilizes the Arnaud Legoux Moving Average (ALMA) algorithm to calculate weighted price calculations and generate dynamic support/resistance zones that adapt to changing market conditions. By visualizing market zones through colored candles and histograms, the indicator provides clear visual cues about market momentum and potential trading opportunities. The script generates buy/sell signals based on zone crossovers, making it an invaluable tool for both technical analysis and automated trading strategies. Whether you're a day trader, swing trader, or algorithmic trader, this indicator can help you identify market regimes, support/resistance levels, and potential entry/exit points with greater precision.
FEATURES
Dynamic Support/Resistance Zones: Calculates dynamic support (bear market zone) and resistance (bull market zone) using weighted price calculations and ALMA smoothing
Visual Market Representation: Color-coded candles and histograms provide immediate visual feedback about market conditions
Smart Signal Generation: Automatic buy/sell signals generated from zone crossovers with clear visual indicators
Customizable Parameters: Four different ALMA smoothing parameters for various timeframes and trading styles
Multi-Timeframe Compatibility: Works across different timeframes from 1-minute to weekly charts
Real-time Analysis: Provides instant feedback on market momentum and trend direction
Clear Visual Cues: Green candles indicate bullish momentum, red candles indicate bearish momentum, and white candles indicate neutral conditions
Histogram Visualization: Blue histogram shows bear market zone (below support), aqua histogram shows bull market zone (above resistance)
Signal Labels: "B" labels mark buy signals (price crosses above resistance), "S" labels mark sell signals (price crosses below support)
Overlay Functionality: Works as an overlay indicator without cluttering the chart with unnecessary elements
Highly Customizable: All parameters can be adjusted to suit different trading strategies and market conditions
HOW TO USE
Add the Indicator to Your Chart
Open TradingView and navigate to your desired trading instrument
Click on "Indicators" in the top menu and select "New"
Search for "L2 Trend Linearity" or paste the Pine Script code
Click "Add to Chart" to apply the indicator
Configure the Parameters
ALMA Length Short: Set the short-term smoothing parameter (default: 3). Lower values provide more responsive signals but may generate more false signals
ALMA Length Medium: Set the medium-term smoothing parameter (default: 5). This provides a balance between responsiveness and stability
ALMA Length Long: Set the long-term smoothing parameter (default: 13). Higher values provide more stable signals but with less responsiveness
ALMA Length Very Long: Set the very long-term smoothing parameter (default: 21). This provides the most stable support/resistance levels
Understand the Visual Elements
Green Candles: Indicate bullish momentum when price is above the bear market zone (support)
Red Candles: Indicate bearish momentum when price is below the bull market zone (resistance)
White Candles: Indicate neutral market conditions when price is between support and resistance zones
Blue Histogram: Shows bear market zone when price is below support level
Aqua Histogram: Shows bull market zone when price is above resistance level
"B" Labels: Mark buy signals when price crosses above resistance
"S" Labels: Mark sell signals when price crosses below support
Identify Market Regimes
Bullish Regime: Price consistently above resistance zone with green candles and aqua histogram
Bearish Regime: Price consistently below support zone with red candles and blue histogram
Neutral Regime: Price oscillating between support and resistance zones with white candles
Generate Trading Signals
Buy Signals: Look for price crossing above the bull market zone (resistance) with confirmation from green candles
Sell Signals: Look for price crossing below the bear market zone (support) with confirmation from red candles
Confirmation: Always wait for confirmation from candle color changes before entering trades
Optimize for Different Timeframes
Scalping: Use shorter ALMA lengths (3-5) for 1-5 minute charts
Day Trading: Use medium ALMA lengths (5-13) for 15-60 minute charts
Swing Trading: Use longer ALMA lengths (13-21) for 1-4 hour charts
Position Trading: Use very long ALMA lengths (21+) for daily and weekly charts
LIMITATIONS
Whipsaw Markets: The indicator may generate false signals in choppy, sideways markets where price oscillates rapidly between support and resistance
Lagging Nature: Like all moving average-based indicators, there is inherent lag in the calculations, which may result in delayed signals
Not a Standalone Tool: This indicator should be used in conjunction with other technical analysis tools and risk management strategies
Market Structure Dependency: Performance may vary depending on market structure and volatility conditions
Parameter Sensitivity: Different markets may require different parameter settings for optimal performance
No Volume Integration: The indicator does not incorporate volume data, which could provide additional confirmation signals
Limited Backtesting: Pine Script limitations may restrict comprehensive backtesting capabilities
Not Suitable for All Instruments: May perform differently on stocks, forex, crypto, and futures markets
Requires Confirmation: Signals should always be confirmed with other indicators or price action analysis
Not Predictive: The indicator identifies current market conditions but does not predict future price movements
NOTES
ALMA Algorithm: The indicator uses the Arnaud Legoux Moving Average (ALMA) algorithm, which is known for its excellent smoothing capabilities and reduced lag compared to traditional moving averages
Weighted Price Calculations: The bear market zone uses (2low + close) / 3, while the bull market zone uses (high + 2close) / 3, providing more weight to recent price action
Dynamic Zones: The support and resistance zones are dynamic and adapt to changing market conditions, making them more responsive than static levels
Color Psychology: The color scheme follows traditional trading psychology - green for bullish, red for bearish, and white for neutral
Signal Timing: The signals are generated on the close of each bar, ensuring they are based on complete price action
Label Positioning: Buy signals appear below the bar (red "B" label), while sell signals appear above the bar (green "S" label)
Multiple Timeframes: The indicator can be applied to multiple timeframes simultaneously for comprehensive analysis
Risk Management: Always use proper risk management techniques when trading based on indicator signals
Market Context: Consider the overall market context and trend direction when interpreting signals
Confirmation: Look for confirmation from other indicators or price action patterns before entering trades
Practice: Test the indicator on historical data before using it in live trading
Customization: Feel free to experiment with different parameter combinations to find what works best for your trading style
THANKS
Special thanks to the TradingView community and the Pine Script developers for creating such a powerful and flexible platform for technical analysis. This indicator builds upon the foundation of the ALMA algorithm and various moving average techniques developed by technical analysis pioneers. The concept of dynamic support and resistance zones has been refined over decades of market analysis, and this script represents a modern implementation of these timeless principles. We acknowledge the contributions of all traders and developers who have contributed to the evolution of technical analysis and continue to push the boundaries of what's possible with algorithmic trading tools.
Savitzky-Golay Hampel Filter | AlphaNattSavitzky-Golay Hampel Filter | AlphaNatt
A revolutionary indicator combining NASA's satellite data processing algorithms with robust statistical outlier detection to create the most scientifically advanced trend filter available on TradingView.
"This is the same mathematics that processes signals from the Hubble Space Telescope and analyzes data from the Large Hadron Collider - now applied to financial markets."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🚀 SCIENTIFIC PEDIGREE
Savitzky-Golay Filter Applications:
NASA: Satellite telemetry and space probe data processing
CERN: Particle physics data analysis at the LHC
Pharmaceutical: Chromatography and spectroscopy analysis
Astronomy: Processing signals from radio telescopes
Medical: ECG and EEG signal processing
Hampel Filter Usage:
Aerospace: Cleaning sensor data from aircraft and spacecraft
Manufacturing: Quality control in precision engineering
Seismology: Earthquake detection and analysis
Robotics: Sensor fusion and noise reduction
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧬 THE MATHEMATICS
1. Savitzky-Golay Filter
The SG filter performs local polynomial regression on data points:
Fits a polynomial of degree n to a sliding window of data
Evaluates the polynomial at the center point
Preserves higher moments (peaks, valleys) unlike moving averages
Maintains derivative information for true momentum analysis
Originally published in Analytical Chemistry (1964)
Mathematical Properties:
Optimal smoothing in the least-squares sense
Preserves statistical moments up to polynomial order
Exact derivative calculation without additional lag
Superior frequency response vs traditional filters
2. Hampel Filter
A robust outlier detector based on Median Absolute Deviation (MAD):
Identifies outliers using robust statistics
Replaces spurious values with polynomial-fitted estimates
Resistant to up to 50% contaminated data
MAD is 1.4826 times more robust than standard deviation
Outlier Detection Formula:
|x - median| > k × 1.4826 × MAD
Where k is the threshold parameter (typically 3 for 99.7% confidence)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💎 WHY THIS IS SUPERIOR
vs Moving Averages:
Preserves peaks and valleys (critical for catching tops/bottoms)
No lag penalty for smoothness
Maintains derivative information
Polynomial fitting > simple averaging
vs Other Filters:
Outlier immunity (Hampel component)
Scientifically optimal smoothing
Preserves higher-order features
Used in billion-dollar research projects
Unique Advantages:
Feature Preservation: Maintains market structure while smoothing
Spike Immunity: Ignores false breakouts and stop hunts
Derivative Accuracy: True momentum without additional indicators
Scientific Validation: 60+ years of academic research
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ PARAMETER OPTIMIZATION
1. Polynomial Order (2-5)
2 (Quadratic): Maximum smoothing, gentle curves
3 (Cubic): Balanced smoothing and responsiveness (recommended)
4-5 (Higher): More responsive, preserves more features
2. Window Size (7-51)
Must be odd number
Larger = smoother but more lag
Formula: 2×(desired smoothing period) + 1
Default 21 = analyzes 10 bars each side
3. Hampel Threshold (1.0-5.0)
1.0: Aggressive outlier removal (68% confidence)
2.0: Moderate outlier removal (95% confidence)
3.0: Conservative outlier removal (99.7% confidence) (default)
4.0+: Only extreme outliers removed
4. Final Smoothing (1-7)
Additional WMA smoothing after filtering
1 = No additional smoothing
3-5 = Recommended for most timeframes
7 = Ultra-smooth for position trading
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 TRADING STRATEGIES
Signal Recognition:
Cyan Line: Bullish trend with positive derivative
Pink Line: Bearish trend with negative derivative
Color Change: Trend reversal with polynomial confirmation
1. Trend Following Strategy
Enter when price crosses above cyan filter
Exit when filter turns pink
Use filter as dynamic stop loss
Best in trending markets
2. Mean Reversion Strategy
Enter long when price touches filter from below in uptrend
Enter short when price touches filter from above in downtrend
Exit at opposite band or filter color change
Excellent for range-bound markets
3. Derivative Strategy (Advanced)
The SG filter preserves derivative information
Acceleration = second derivative > 0
Enter on positive first derivative + positive acceleration
Exit on negative second derivative (momentum slowing)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 PERFORMANCE CHARACTERISTICS
Strengths:
Outlier Immunity: Ignores stop hunts and flash crashes
Feature Preservation: Catches tops/bottoms better than MAs
Smooth Output: Reduces whipsaws significantly
Scientific Basis: Not curve-fitted or optimized to markets
Considerations:
Slight lag in extreme volatility (all filters have this)
Requires odd window sizes (mathematical requirement)
More complex than simple moving averages
Best with liquid instruments
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔬 SCIENTIFIC BACKGROUND
Savitzky-Golay Publication:
"Smoothing and Differentiation of Data by Simplified Least Squares Procedures"
- Abraham Savitzky & Marcel Golay
- Analytical Chemistry, Vol. 36, No. 8, 1964
Hampel Filter Origin:
"Robust Statistics: The Approach Based on Influence Functions"
- Frank Hampel et al., 1986
- Princeton University Press
These techniques have been validated in thousands of scientific papers and are standard tools in:
NASA's Jet Propulsion Laboratory
European Space Agency
CERN (Large Hadron Collider)
MIT Lincoln Laboratory
Max Planck Institutes
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
💡 ADVANCED TIPS
News Trading: Lower Hampel threshold before major events to catch spikes
Scalping: Use Order=2 for maximum smoothness, Window=11 for responsiveness
Position Trading: Increase Window to 31+ for long-term trends
Combine with Volume: Strong trends need volume confirmation
Multiple Timeframes: Use daily for trend, hourly for entry
Watch the Derivative: Filter color changes when first derivative changes sign
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTICES
Not financial advice - educational purposes only
Past performance does not guarantee future results
Always use proper risk management
Test settings on your specific instrument and timeframe
No indicator is perfect - part of complete trading system
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🏆 CONCLUSION
The Savitzky-Golay Hampel Filter represents the pinnacle of scientific signal processing applied to financial markets. By combining polynomial regression with robust outlier detection, traders gain access to the same mathematical tools that:
Guide spacecraft to other planets
Detect gravitational waves from black holes
Analyze particle collisions at near light-speed
Process signals from deep space
This isn't just another indicator - it's rocket science for trading .
"When NASA needs to separate signal from noise in billion-dollar missions, they use these exact algorithms. Now you can too."
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Developed by AlphaNatt
Version: 1.0
Release: 2025
Pine Script: v6
"Where Space Technology Meets Market Analysis"
Not financial advice. Always DYOR
Golden Duck Runner With TargetsGolden Duck Runner With Targets
Overview
The Golden Duck Runner is a comprehensive trend-following indicator designed for intraday and swing trading. It combines dual EMA analysis with pullback detection to identify high-probability entry points in trending markets.
Key Features
Core Signal Logic
Dual EMA System: Uses a fast EMA (default 18) and trend filter EMA (default 111)
Pullback Detection: Identifies when price pulls back to the fast EMA while staying above/below the trend filter
Trend Confirmation: Only generates signals in the direction of the overall trend
Visual Elements
Dynamic EMA Colors: Golden fast EMA, with trend filter changing from teal (uptrend) to orange (downtrend)
Entry Signals: Clear golden arrows marking buy/sell opportunities
Target Levels: Displays three take profit levels and stop loss with visual confirmation
Professional Dashboard: Real-time position and trend information
Risk Management
Fixed Tick-Based Targets: Consistent risk/reward ratios across all instruments
Multiple Take Profits: Three progressive profit-taking levels (30, 50, 75 ticks)
Stop Loss Protection: 36-tick stop loss with visual tracking
Position Duration Limit: Automatic closure after 20 bars if targets not reached
Alert System
Comprehensive alert notifications for:
Long and short entry signals
Individual take profit level hits (TP1, TP2, TP3)
Stop loss activation
Combined alerts for any entry or profit-taking event
How It Works
Entry Conditions
Long Signal:
Market in uptrend (Fast EMA > Trend Filter EMA)
Price pulls back below fast EMA but stays above trend filter EMA
Price closes back above fast EMA with momentum
Short Signal:
Market in downtrend (Fast EMA < Trend Filter EMA)
Price pulls back above fast EMA but stays below trend filter EMA
Price closes back below fast EMA with momentum
Exit Strategy
TP1: 30 ticks from entry (partial profit)
TP2: 50 ticks from entry (partial profit)
TP3: 75 ticks from entry (final target)
Stop Loss: 36 ticks against entry
Time Exit: 20 bars maximum hold time
Customization Options
Adjustable EMA periods for different timeframes
Configurable stop loss and take profit levels
Toggle visibility of EMAs, signals, and visual elements
Professional color scheme optimized for all chart backgrounds
Best Use Cases
Futures Trading: ES, NQ, YM, RTY with tick-based precision
Forex Pairs: Major and minor currency pairs
Crypto Markets: Bitcoin, Ethereum, and altcoins
Stock Indices: SPY, QQQ, and sector ETFs
Recommended Timeframes
Scalping: 1m, 3m, 5m charts
Intraday: 15m, 30m, 1H charts
Swing Trading: 4H, 1D charts
Educational Value
This indicator teaches traders:
Trend identification and confirmation
Pullback trading strategies
Proper risk management techniques
Multi-target profit-taking approaches
Important Notes
Not Financial Advice: This indicator is for educational and analysis purposes only
Backtesting Recommended: Test on historical data before live trading
Risk Management: Always use proper position sizing and risk controls
Market Conditions: Performance may vary in different market environments
Technical Specifications
Version: Pine Script v5
Overlay: True (plots on price chart)
Alerts: Full alert integration for automated trading systems
Performance: Optimized for real-time data processing
Compatibility: Works on all TradingView subscription levels
Disclaimer: Trading involves substantial risk of loss and is not suitable for all investors. Past performance does not guarantee future results. Always trade with proper risk management and never risk more than you can afford to lose.
Advanced Pattern Detection System [50+ Patterns]【Advanced Pattern Detection System - Auto-detects 50+ Chart Patterns】
Introducing the most powerful pattern detection indicator for TradingView!
◆ What is this?
An automated tool that finds and displays over 50 chart patterns on your charts. It detects all the patterns professional traders use - Double Tops, Triangles, Head & Shoulders, and more - all in ONE indicator.
◆ Main Features
・Detects 50+ patterns in real-time
・Shows visual explanation of WHY each pattern was identified
・Automatically calculates theoretical target prices
・Displays confidence levels in % (60-95%)
・Choose panel position from 9 locations
・Works on all timeframes (1min to Monthly)
◆ Detectable Patterns
1. Classic Patterns (Double Top/Bottom, Head & Shoulders, etc.)
2. Triangle Patterns (Ascending, Descending, Symmetrical, Expanding)
3. Continuation Patterns (Flags, Pennants, Wedges, etc.)
4. Harmonic Patterns (Gartley, Butterfly, Bat, etc.)
5. Price Action (Pin Bar, Engulfing, Hammer, etc.)
6. Special Patterns (Cup & Handle, V-formations, etc.)
◆ What Makes It Different
・Not just detection - shows the reasoning behind it
・Auto-draws pivot points and necklines
・Displays target prices with % gain/loss from current price
・Detects multiple patterns simultaneously, sorted by confidence
・Available in both Japanese and English versions
◆ Perfect For
✓ Anyone tired of using multiple indicators
✓ Beginners wanting to learn pattern trading
✓ Traders who don't want to miss entry points
✓ Those looking to improve discretionary trading accuracy
◆ How to Use (Easy 3 Steps)
1. Open TradingView and paste code in Pine Editor
2. Click "Add to Chart"
3. Enable only the patterns you need in settings
◆ Color Meanings
Green → Bullish potential (Buy signal)
Red → Bearish potential (Sell signal)
Yellow → Neutral direction (Wait and see)
◆ Recommended Settings
Scalping: Detection period 20, Sensitivity 0.0025
Day Trading: Detection period 50, Sensitivity 0.002
Swing Trading: Detection period 100, Sensitivity 0.0015
◆ Real Trading Example
"Detects Double Bottom → 85% confidence → Enter on neckline break → Take profit at displayed target price"
This is how you can use it in practice.
◆ Important Notes
・This is an analysis tool, not investment advice
・Always combine with other indicators
・Always set stop losses
・Practice on demo account before live trading
◆ Performance
If running slow, turn OFF unused pattern categories. Reducing max display count to 3 also helps.
◆ Summary
This single tool provides functionality that would normally require multiple paid indicators (worth $100-200 total). It's the ultimate pattern detection system recommended for all traders, from beginners to professionals.
Give it a try if interested! Feel free to ask questions in the comments.
MaxAlgo - HTF Bias TableHTF Bias Tracker
Overview
The HTF Bias Tracker is a custom indicator designed to help traders monitor higher time frame (HTF) market biases while trading on lower time frames. It provides a clear visual table displaying the bias (bullish, bearish, mixed, or neutral) based on whether the current HTF candle has broken the high or low of the previous HTF candle. Additionally, it shows the current candle's condition (bullish or bearish based on close relative to open). This tool is particularly useful for multi-timeframe analysis, allowing traders to align lower time frame entries with higher time frame trends without switching charts.
The indicator does not generate buy/sell signals but offers contextual bias information to inform trading decisions. It is built for flexibility, supporting up to 5 customizable time frames (default: 1H, 4H, Daily, Weekly, Monthly) and can be used on any chart time frame.
How It Works
For each selected higher time frame (HTF):
Bias Calculation (H/L Break Column):
The indicator checks if the current HTF candle's high has exceeded the previous HTF candle's high (bullish break) or if the low has fallen below the previous HTF candle's low (bearish break).
Bullish: Current high > previous high (no low break).
Bearish: Current low < previous low (no high break).
Mixed: Both high and low breaks occur.
Neutral: No breaks yet. In this case, the text is colored based on the last completed break from the prior candle (green for bullish, red for bearish, orange for mixed) to maintain context.
Candle Condition (Candle Column):
Determines if the current HTF candle is bullish (close > open) or bearish (close <= open).
The results are displayed in a table with arrows (↑ for bullish, ↓ for bearish, ↔ for mixed) and color-coded text for quick readability.
The bias updates in real-time as the HTF candle develops, but final confirmation occurs at the HTF candle close.
This logic is rooted in price action principles: breaking a previous candle's extreme often indicates momentum. For example, historical data across various markets shows that when a candle takes the low of the previous candle, there's approximately a 70% probability it closes bearish (and vice versa for highs closing bullish). This can help gauge the likelihood of trend continuation, but results vary by asset, time frame, and market conditions—always backtest for your setup.
Features
Customizable Time Frames: Select up to 5 HTFs via inputs (e.g., "60" for 1H, "D" for Daily). Leave blank to disable.
Table Display: A compact table shows TF, H/L Break bias, and Candle condition. Includes headers for clarity.
Visual Enhancements: Color-coded text (green for bullish, red for bearish, orange for mixed, gray for neutral without prior bias). Arrows provide at-a-glance direction.
User Options:
Table Background Color: Adjust transparency and color for better visibility.
Table Position: Choose from 9 positions (e.g., Bottom Right default).
Border Width (Padding): Increase for more spacing around the table (min 0).
No Overlays: The indicator appears as a non-overlay pane, keeping your chart clean.
Supports all symbols and time frames, but best on lower TFs (e.g., 1m-15m) for monitoring HTFs.
How to Use It
Add to Chart: Search for "HTF Bias Tracker" in TradingView's indicator library and add it to your chart.
Configure Inputs: Set your desired HTFs, position, and colors.
Interpret the Table:
Look for alignment across multiple HTFs (e.g., multiple "Bullish ↑" biases suggest upward momentum).
Use the H/L Break as a directional filter: Enter long trades only when HTF bias is bullish or neutral with a prior bull break.
Combine with Candle Condition for confirmation: A bearish bias with a bearish candle might signal short opportunities.
Trading Example:
On a 1m chart, if the 1H bias shows "Bearish ↓" (low of previous 1H broken), there's ~70% chance the 1H closes lower. Wait for lower TF pullbacks to enter shorts, aligning with the HTF downtrend.
For scalping: If Daily is "Bullish ↑" but 4H is "Neutral ↓" (prior bear break), consider fading minor pullbacks but avoid counter-trend trades.
Risk Management: Always use stop-losses based on recent highs/lows and position size appropriately. This indicator aids bias assessment but should be combined with other tools like support/resistance or oscillators.
Strategy Ideas:
Trend Alignment: Trade in the direction of the majority HTF biases.
Breakout Confirmation: When a break occurs, monitor for volume or price action confirmation on your trading TF.
Reversion Plays: In ranging markets, a "Mixed ↔" bias might signal indecision—avoid trades until resolution.
Backtest the probability edge (e.g., via Pine Script strategies) to quantify performance in your markets.
Limitations and Disclaimer
The ~70% probability mentioned is a general observation from historical price action studies (e.g., across forex and indices); it is not a guarantee and should be verified with your own data. No backtesting results are provided here—users are encouraged to test independently.
The indicator relies on request.security() for HTF data, which may have minor delays in real-time.
This is not financial advice. Trading involves risk, and past performance does not predict future results. Use at your own discretion and consult a professional advisor if needed.
Ichimoku HorizonIchimoku Horizon – Multi-Timeframe Analysis
A multi-timeframe Ichimoku faithful to Hosoda, with authentic real-time calculations.
Ichimoku Horizon is an indicator based on the original method developed by Goichi Hosoda in the 1930s. It strictly respects the authentic formulas and prioritizes mathematical fidelity.
Key Features
Intelligent Multi-Timeframe
Native chart: Ichimoku from your trading timeframe
3 higher timeframes: Daily (1D), Weekly (1W), Monthly (1M) by default
Automatic projection: only higher timeframes relative to the chart are displayed
Precise offsets: displacement adapted to each timeframe
Guaranteed Authenticity
Hosoda’s original formulas fully respected
lookahead_off exclusively: lines calculated in real time with the current candle
Traditional displacement: 26 periods for cloud projection and Chikou shift
Why lookahead_off?
lookahead_off is the calculation mode that respects Hosoda’s logic:
Tenkan, Kijun, SSA and SSB all include the current candle and move in real time.
Chikou is the only exception: shifted 26 periods but calculated only with confirmed closes.
This way, what you see always matches the actual market as it is forming.
What is the no repaint approach?
A no repaint indicator displays values exactly as they exist in the present moment:
Lines update in real time during the formation of a candle.
Once the candle closes, they remain permanently fixed.
This ensures that the plots reflect the true construction of the market.
Main Parameters
Tenkan: 9 periods (short term)
Kijun: 26 periods (medium term)
SSB: 52 periods (long term)
Displacement: 26 periods (+26 for the cloud, −26 for the Chikou)
Timeframe Selection
TF1: Daily (structure aligned with trading activity)
TF2: Weekly (intermediate trend)
TF3: Monthly (macro vision)
Example Configurations
Scalping: Chart 1m → TF1: 5m, TF2: 15m, TF3: 1H
Intraday: Chart 5m → TF1: 15m, TF2: 1H, TF3: 4H
The indicator automatically hides inconsistent timeframes (lower than the chart).
Natural Line Display
Some lines will sometimes appear flat or straight: this is the normal behavior of Ichimoku, directly reflecting the highs and lows of their calculation windows.
Conclusion
Ichimoku Horizon is designed to remain true to Hosoda’s vision while offering the clarity of a modern multi-timeframe tool.
It delivers authentic, real-time calculations with no compromise.
RSI deyvidholnik
📊 Overview
RSI deyvidholnik is an advanced technical indicator that combines the power of traditional RSI (Relative Strength Index) with automatic divergence detection to identify potential market reversal points. This indicator was developed by kingthies and offers clear visual analysis of overbought/oversold conditions along with highly precise divergence signals.
🔧 Key Features
Customizable RSI
Data Source: Configurable (default: close)
Period: Adjustable (default: 14)
Moving Average: Multiple types available (SMA, EMA, SMMA, WMA, VWMA, MMS)
MA Period: Configurable (default: 14)
Divergence Detection
The indicator identifies four types of divergences:
🟢 Bullish Divergence
Occurs when price makes lower lows, but RSI makes higher lows
Indicates possible trend reversal from bearish to bullish
Signaled with green dots on RSI
🔴 Bearish Divergence
Occurs when price makes higher highs, but RSI makes lower highs
Indicates possible trend reversal from bullish to bearish
Signaled with red dots on RSI
🟢 Hidden Bullish Divergence (Optional)
Price makes higher lows while RSI makes lower lows
Confirms continuation of bullish trend
Useful in trending markets
🔴 Hidden Bearish Divergence (Optional)
Price makes lower highs while RSI makes higher highs
Confirms continuation of bearish trend
Useful in trending markets
⚙️ Pivot Settings
Optimized Default Configuration
Right Bars: 1 (quick confirmation)
Left Bars: 5 (noise filtering)
Maximum Bars Between Pivots: 60
Minimum Bars Between Pivots: 3
These settings have been adjusted to provide:
✅ Faster and more responsive signals
✅ Reduction of false signals
✅ Better identification of significant pivots
🎨 Visual Interface
RSI Levels
Line 70: Overbought zone (red)
Line 50: Neutral centerline
Line 30: Oversold zone (green)
Gradient fill: Visually intensifies extreme zones
Graphical Elements
RSI: Main line in white
Moving Average: Smoothed yellow line
Divergence Points: Colored markers on pivots
Background: Subtle fill for better readability
📈 How to Use
For Reversal Trading
Enable only: Bullish and Bearish (default)
Look for: Divergences in overbought/oversold zones
Confirm with: Other indicators or price analysis
For Trend Trading
Enable: Hidden Bull and Hidden Bear
Use in: Markets with clear established trends
Combine with: Market structure analysis
Alert Configuration
The indicator includes automatic alerts for:
⚠️ Bullish Divergence
⚠️ Bearish Divergence
⚠️ Hidden Bullish Divergence
⚠️ Hidden Bearish Divergence
💡 Main Advantages
✅ Automatic Detection: Identifies divergences without manual interpretation
✅ Optimized Configuration: Default values tested for maximum efficiency
✅ Clean Interface: Clear and professional visual
✅ Integrated Alerts: Automatic signal notifications
✅ Flexibility: Multiple customization options
✅ Performance: Optimized code for efficient execution
🎯 Recommended Timeframes
Scalping: 1m, 5m (with more sensitive settings)
Intraday: 15m, 30m, 1h (default configuration)
Swing: 4h, 1D (for medium-term signals)
⚠️ Important Considerations
Not infallible: Always use in conjunction with other analysis methods
Sideways markets: More effective in markets with directional movement
Confirmation: Always wait for signal confirmation before trading
Risk management: Always implement adequate stop-loss and take-profit
RSI Dynamic Bands█ OVERVIEW
The "RSI Dynamic Bands" indicator is a variant of the Relative Strength Index (RSI) oscillator that brings its signals directly onto the price chart. It displays dynamic bands around the price, adjusted based on RSI levels, enabling easy identification of potential overbought or oversold conditions. The indicator also integrates a multi-timeframe RSI table, facilitating the analysis of trend strength across different timeframes.
█ CONCEPTS
The "RSI Dynamic Bands" indicator is designed to simplify the interpretation of price levels in the context of support and resistance zones, which can be correlated with other technical indicators and RSI values. Since the price itself does not display RSI values, a table showing RSI for four selected timeframes has been added, allowing traders to quickly assess trend strength across different time intervals. The most effective approach is to combine the indicator with other technical analysis tools, such as Fibonacci levels or pivot points, to confirm signals when the price approaches the bands and RSI values indicate a potential reversal.
Band Calculation
The bands are calculated based on the current closing price and RSI values, incorporating dynamic scaling to better adapt to market conditions. The formulas for the bands are as follows:
• Upper Band: close + (rsiUpper - rsi) * scaleFactor, where rsiUpper is the upper RSI level (default: 70), and scaleFactor accounts for market volatility.
• Lower Band: close + (rsiLower - rsi) * scaleFactor, where rsiLower is the lower RSI level (default: 30).
• Midline: The arithmetic average of the upper and lower bands: (upperBand + lowerBand) / 2.
Why Scaling? Without scaling, the bands would be chaotic and jagged, making them difficult to interpret. Scaling smooths the bands, making them wider during periods of high volatility and narrower during consolidation, better reflecting potential support and resistance levels.
Indicator Features
• Dynamic Price Bands: The bands adapt to market conditions, facilitating the identification of key price levels.
• Multi-Timeframe RSI Table: Displays RSI values for four selected timeframes (default: 15m, 1h, 4h, Daily), enabling comparison of trend strength across different perspectives.
• Style Customization: Users can adjust band colors, line thickness, and toggle the visibility of bands, fills, and the table.
How to Set Up the Indicator
1 — Add the "RSI Dynamic Bands" indicator to your TradingView chart.
2 — Configure parameters in the settings, such as RSI length, upper/lower levels, and scaling multiplier, to match your trading style.
3 — Enable or disable the display of bands, fills, or the RSI table based on your needs.
4 — Adjust band and table colors in the input section and line thickness in the "Style" section to better align the indicator with your chart.
█ OTHER SECTIONS
FEATURES
• RSI Length: The period for calculating RSI (default: 14).
• RSI Levels: Thresholds for overbought (default: 70) and oversold (default: 30).
• Scaling Multiplier: Adjusts bands based on market volatility (default: 0.15).
• Table Timeframes: Select four timeframes for the RSI table (default: 15m, 1h, 4h, Daily).
• Style Options: Customize band colors, fills, table, and line thickness.
HOW TO USE
Add the indicator to your chart, configure the parameters, and observe price interactions with the bands to identify potential entry and exit points. The RSI table allows you to compare RSI values across different timeframes, aiding in trading decisions. The most effective approach is to combine the indicator with other technical analysis tools, such as Fibonacci levels or pivot points, to confirm signals when the price approaches the bands and RSI values indicate a potential reversal.
Trading Strategies:
• Scalping: Use lower timeframes (e.g., 5m, 15m) in the RSI table to quickly identify short-term lows and highs. Wait for the price to approach the lower band in the RSI oversold zone, with RSI on lower timeframes starting to rise, and other tools, such as Fibonacci levels (e.g., 38.2%) or pivot points, confirming support.
• Medium-Term Trading: Focus on 1h and 4h timeframes. Look for confirmation of a low on a lower timeframe (e.g., 1h), where RSI indicates oversold conditions or starts rising, then check if RSI on a higher timeframe (e.g., 4h) confirms the trend. Confirmation from other tools, such as a Fibonacci level (e.g., 50%) or pivot point near the bands, strengthens the signal.
• Long-Term Trading: Use Daily and higher timeframes (e.g., Weekly). Wait for all relevant timeframes to confirm a low (e.g., RSI near oversold and price at the lower band), with lower timeframes (e.g., 4h) showing rising RSI. Other tools, such as Fibonacci levels (e.g., 61.8%) or pivot points near the bands, can further confirm a trend reversal signal.