Bijnor Pivot ExtendedOverview: The Bijnor Pivot Extended (BP+) indicator is a powerful visual tool designed to help traders identify key price levels using Fibonacci-based pivots. It dynamically plots Support and Resistance levels based on your chosen timeframe (Daily, Weekly, or Monthly) and displays them only for the current session, reducing chart clutter and improving focus.
🔧 Features:
📆 Pivot Timeframe Selection: Choose between Daily, Weekly, or Monthly pivots.
🎯 Fibonacci Pivot Levels:
Central Pivot (P)
Resistance: R1, R2, R3, R4 (Extended)
Support: S1, S2, S3, S4 (Extended)
🎨 Full Customization:
Toggle labels and prices on/off
Position labels to the left or right
Change line width and individual colors for pivot, support, and resistance lines
🧠 Smart Line Plotting:
Lines are drawn only during the selected session, keeping your chart clean
🕹️ Max Performance: Optimized to stay lightweight with max_lines_count and max_labels_count set to 500
🧭 How to Use It:
Use this indicator to:
Plan entries and exits around key Fibonacci pivot zones
Identify overbought/oversold zones at R3/R4 and S3/S4
Enhance your intraday, swing, or positional trading setups
Combine with price action, candlestick patterns, or volume for maximum edge.
✅ Bonus:
This script is ideal for traders looking for a minimalist yet powerful pivot framework, with extended levels for breakout or reversal scenarios.
Chỉ báo và chiến lược
DEMA Trend Oscillator Strategy📌 Overview
The DEMA Trend Oscillator Strategy is a dynamic trend-following approach based on the Normalized DEMA Oscillator SD.
It adapts in real-time to market volatility with the goal of improving entry accuracy and optimizing risk management.
⚠️ This strategy is provided for educational and research purposes only.
Past performance does not guarantee future results.
🎯 Strategy Objectives
The main goal of this strategy is to respond quickly to sudden price movements and trend reversals,
by combining momentum-based signals with volatility filters.
It is designed to be user-friendly for traders of all experience levels.
✨ Key Features
Normalized DEMA Oscillator: A momentum indicator that normalizes DEMA values on a 0–100 scale, allowing intuitive identification of trend strength
Two-Bar Confirmation Filter: Requires two consecutive bullish or bearish candles to reduce noise and enhance entry reliability
ATR x2 Trailing Stop: In addition to fixed stop-loss levels, a trailing stop based on 2× ATR is used to maximize profits during strong trends
📊 Trading Rules
Long Entry:
Normalized DEMA > 55 (strong upward momentum)
Candle low is above the upper SD band
Two consecutive bullish candles appear
Short Entry:
Normalized DEMA < 45 (downward momentum)
Candle high is below the lower SD band
Two consecutive bearish candles appear
Exit Conditions:
Take-profit at a risk-reward ratio of 1.5
Stop-loss triggered if price breaks below (long) or above (short) the SD band
Trailing stop activated based on 2× ATR to secure and extend profits
💰 Risk Management Parameters
Symbol & Timeframe: Any (AUDUSD 5M example)
Account size (virtual): $3000
Commission: 0.4PIPS(0.0004)
Slippage: 2 pips
Risk per trade: 5%
Number of trades (backtest):534
All parameters can be adjusted based on broker specifications and individual trading profiles.
⚙️ Trading Parameters & Considerations
Indicator: Normalized DEMA Oscillator SD
Parameter settings:
DEMA Period (len_dema): 40
Base Length: 20
Long Threshold: 55
Short Threshold: 45
Risk-Reward Ratio: 1.5
ATR Multiplier for Trailing Stop: 2.0
🖼 Visual Support
The chart displays the following visual elements:
Upper and lower SD bands (±2 standard deviations)
Entry signals shown as directional arrows
🔧 Strategy Improvements & Uniqueness
This strategy is inspired by “Normalized DEMA Oscillator SD” by QuantEdgeB,
but introduces enhancements such as a two-bar confirmation filter and an ATR-based trailing stop.
Compared to conventional trend-following strategies, it offers superior noise filtering and profit optimization.
✅ Summary
The DEMA Trend Oscillator Strategy is a responsive and practical trend-following method
that combines momentum detection with adaptive risk management.
Its visual clarity and logical structure make it a powerful and repeatable tool
for traders seeking consistent performance in trending markets.
⚠️ Always apply appropriate risk management. This strategy is based on historical data and does not guarantee future results.
Attrition Scalper - MTF# Attrition Scalper MTF Update
## What's Changed
Compared to previous Attrition Scalper versions, the channel and lines are now calculated using multi-timeframe (MTF) confluence with weighted averages.
The indicator is updated to PineScript V6.
I've removed redundant logic, inefficient buy/sell and high/low signals, and linear regression calculations to create a cleaner, more streamlined version that's both easier to use and provides a better foundation for future developments.
Using these lines every day has quickly made me realize that one line in one timeframe is usually in confluence with another line in another timeframe, and that price zone is usually much more reliable as a proper support/resistance or a mean reversion scalp zone.
The new logic checks one timeframe lower and one timeframe higher than the current timeframe the user is viewing and performs a weighted average calculation of 0.618 × lower TF + 1.0 × current TF + 0.786 × higher TF before plotting the lines.
Timeframes higher than weekly or lower than 5 minutes don't use MTF and instead just show the normal lines and the channel for that single timeframe similar to previous Attrition Scalper V2.
## Understanding the Lines
The Attrition Scalper generates several key reference lines that can help identify trade opportunities:
### Primary Reference Lines
- **Middle VIDYA and EVWMA (Middle Band)**: Usually represents the "mean" or equilibrium price. Price tends to gravitate back to this area during consolidation.
- **Green/Red VIDYA Lines**: These color-changing lines are your higher priority/reliable support/resistance levels.
### Fibonacci Extension Lines
- **Blue Lower Fibonacci Lines (0.618, 1.618, 2.618)**: Secondary support/resistance zones. While less significant than the VIDYA lines, these still provide valuable reference points for potential bounces.
- **Yellow 4.236 Fibonacci Lines**: These represent significant price overextension. When price reaches or exceeds these levels, expect a mean reversion move soon. These are the highest trust lines.
## Trading Applications
### Overextension & Mean Reversion
When price pushes above/below the yellow 4.236 Fibonacci line:
- This indicates an overextended market condition
- Probability of mean reversion increases significantly
- Consider counter-trend positions back toward the middle band
- Set targets near the middle VIDYA/EVWMA lines
- Higher timeframes = Higher reliability
- Don't panic and trust the process
### Support & Resistance Trading
- **Primary S/R Zones (Green/Red VIDYA)**: These are your highest probability bounce/rejection points. Pay special attention when price approaches these levels, especially on the first test.
- **Secondary S/R Zones (Blue Fib Lines)**: Use these as supplementary confirmation or for tighter stop placement or basic entries/TPs when laddering in and out.
## Best Practices
1. **Wait for Candle Close**: Trading signals are most reliable after a candle has fully closed above/below significant lines. Don't just take an instant long/short position when price goes above/below the outer yellow 4.236 fib line; wait for confirmation and candle close. Don't be sad if you miss an opportunity just because you waited—it's better this way in the long run.
2. **Respect Momentum**: Don't fight strong momentum just because price reached a line; wait for signs of reversal. Price almost always retraces, but it can be a small retracement only to inside the channel instead of going all the way back to the mean if the market is trending, OR it can stay overextended for an extended period of time (usually few candles max though). Sudden spikes all the way to the overextended zone are almost always a better position to take as a mean reversion play compared to long drawn out single direction trends. Don't fight the trend; take very small quick scalps given the opportunity.
3. **Use Confirmation Combined with Volume**: Look for rejection candles, engulfing patterns, or double tops/bottoms at key levels before entering. Strong volume at key lines increases the probability of a meaningful reaction. For example, at the end of an uptrend, if you see the price has spiked and is now overextended (out of the channel and above all the lines) and you see volume also spiking, that's almost always the top, at least for a while.
5. **Consider Volatility**: During high volatility, price may overshoot lines a lot (although very rare) before reversing; be patient and wait for confirmation. It could also be a news event, so always check before entering a position.
Multi Timeframe Altered Money Flow Index by CoffeeShopCryptoMoney Flow Index is a long used tool in trading markets, understanding to where money is moving and most importantly when its going there.
One of the biggest challenges was the when part. Because seeing it on your current trading chart timeframe is easy but it gets difficult if youre attempting a top-down-analysis of market structure vs price performance.
The new formula presented by @CoffeeshopCrypto is a key solution to this timeframe analysis issue. Seems like I may have solved the "glitch-In-The-Matrix".
The issue was always setting a secondary MFI on your chart and telling the system you wanted to watch the 1 hour MFI from a 5 minute chart.
To do this you need to wait for 12 candles to close on your 5 minute chart before you can get a 1hour MFI value. The move may have already happend and you may be too late. If there was only a better faster way to see the changing values of the High Timeframe Money Flow Index in real time without changing chart times and losing place......oh wait.....there is one now!
This tool allows you to tell it what timeframe you are looking at,
and what you want to compare it to.
It runs the calculation in the background automatically to give you the real time values of your High Timeframe chart setting on the chart you are looking at.
How to trade Long
When both the LFT and HTF Money flow cross above ZERO, they are both in uptrend
How to trade Short
When both the LFT and HTF Money flow cross below ZERO, they are both in downtrend
What happens when Low timeframe is inside the high timeframe:
If High timeframe MFI is below zero but the LFT MFI is above it and still below zero, you have lost your short term downtrend. The opposite is true when the high timeframe MFI is above zero.
A strong constant comparative trend is when your low timeframe MFI is leading your High timeframe MFI.
Personal Settings:
In my usage, i find it best to multiply my trading chart timeframe by 3 and use that number as my high timeframe MFI setting
This works on ANY chart time you want. For example you are not locked to the standard built TradingView chart times.
If you trade on a 7 minute timeframe, you can set your HTF to 21.
7 * 3 = 21
Noxon Cycles Session High/Low Indicator
This powerful indicator automatically marks the Highs and Lows of the Asian, London, and New York trading sessions directly on your chart. It helps traders identify key liquidity zones, potential reversals, and breakout points with precision. Whether you're scalping or swing trading, this tool enhances your market structure analysis and timing for better entries and exits. Perfect for intraday strategies and institutional trading insights.
CSCMultiTimeframeToolsLibrary "CSCMultiTimeframeTools"
Calculates instant higher timeframe values for higher timeframe analysis with zero lag.
getAdjustedLookback(current_tf_minutes, higher_tf_minutes, length)
Calculate adjusted lookback period for higher timeframe conversion.
Parameters:
current_tf_minutes (int) : Current chart timeframe in minutes (e.g., 5 for 5m).
higher_tf_minutes (int) : Target higher timeframe in minutes (e.g., 15 for 15m).
length (int) : Base length value (e.g., 14 for RSI/MFI).
Returns: Adjusted lookback period (length × multiplier).
Purpose and Benefits of the TimeframeTools Library
This library is designed to solve a critical pain point for traders who rely on higher timeframe (HTF) indicator values while analyzing lower timeframe (LTF) charts. Traditional methods require waiting for multiple candles to close—for example, to see a 1-hour RSI on a 5-minute chart, you’d need 12 closed candles (5m × 12 = 60m) before the value updates. This lag means missed opportunities, delayed signals, and inefficient decision-making.
Why Traders Need This
Whether you’re scalping (5M/15M) or swing trading (1H/4H), this library bridges the gap between timeframes, giving you HTF context in real time—so you can act faster, with confidence.
How This Library Eliminates the Waiting Game
By dynamically calculating the adjusted lookback period, the library allows:
Real-time HTF values on LTF charts – No waiting for candle closes.
Accurate conversions – A 14-period RSI on a 1-hour chart translates to 168 periods (14 × 12) on a 5-minute chart, ensuring mathematical precision.
Flexible application – Works with common indicators like RSI, MFI, CCI, and moving averages (though confirmations should be done before publishing under your own secondary use).
Key Advantages Over Manual Methods
Speed: Instantly reflects HTF values without waiting for candle resolutions.
Adaptability: Adjusts automatically if the user changes timeframes or lengths.
Consistency: Removes human error in manual period calculations.
Limitations to Note
Not a magic bullet – While it solves the lag issue, traders should still:
Validate signals with price action or additional confirmations.
Be mindful of extreme lookback lengths (e.g., a 200-period daily SMA on a 1-minute chart requires 28,800 periods, which may strain performance).
Weighted Ichimoku StrategyLSE:HSBA
The Ichimoku Kinko Hyo indicator is a comprehensive tool that combines multiple signals to identify market trends and potential buying/selling opportunities. My weighted variant of this strategy attempts to assign specific weights to each signal, allowing for a more nuanced and customizable approach to trend identification. The intent is to try and make a more informed trading decision based on the cumulative strength of various signals.
I've tried not to make it a mishmash of this and that + MACD + RSI and on and on; most people have their preferred indicator that focuses on just that that they can use in conjunction.
The signals used can be grouped into two groups the 'Core Ichimoku Signals' & the 'Additional Signals' (at the end you will find the signals and their assigned weights followed by the thresholds where they align).
The Core Ichimoku Signals are the primary signals used in Ichimoku analysis, including Kumo Breakout, Chikou Cross, Kijun Cross, Tenkan Cross, and Kumo Twist.
While the Additional Signals provide further insights and confirmations, such as Kijun Confirmation, Tenkan-Kijun Above Cloud, Chikou Above Cloud, Price-Kijun Cross, Chikou Span Signal, and Price Positioning.
Entries are triggered when the cumulative weight of bullish signals exceeds a specified buy threshold, indicating a strong uptrend or potential trend reversal.
Exits are initiated when the cumulative weight of bearish signals surpasses a specified sell threshold, or when additional conditions such as consolidation patterns or ATR-based targets are met.
There are various exit types that you can choose between, which can be used separately or in conjunction with one another. As an example you might want to exit on a different condition during consolidation periods than during other periods or just use ATR with some other backstop.
They are listed in evaluation order i.e. ATR trumps all, Consolidation exit trumps the regular Kumo sell and so on:
**ATR Sell**: Exits trades based on ATR-based profit targets and stop-losses.
**Consolidation Exit**: Exits trades during consolidation periods to reduce drawdown.
**Sell Below Kumo**: Exits trades when the price is below the Kumo, indicating a potential downtrend.
**Sell Threshold**: Exits trades when the cumulative weight of bearish signals surpasses a specified sell threshold.
There are various 'filters' which are really behavior modifiers:
**Kumo Breakout Filter**: Requires price to close above the Kumo for buy signals (essentially a entry delay).
**Whipsaw Filter**: Ensures trend strength over specified days to reduce false signals.
**Buy Cooldown**: Prevents new entries until half the Kijun period passes after an exit (prevents flapping).
**Chikou Filter**: Delays exits unless the previous close is below the Chikou Span.
**Consolidation Trend Filter**: Prevents consolidation exits if the trend is bullish (rare, but happens).
Then there are some debugging options. Ichimoku periods have some presets (personally I like 8/22/44/22) but are freely configurable, preset to the traditional values for purists.
The list of signals and most thresholds follow, play around with them. Thats all.
Cheers,
**Core Ichimoku Signals**
**Kumo Breakout**
- 30 (Bullish) / -30 (Bearish)
- Indicates a strong trend when the price breaks above (bullish) or below (bearish) the Kumo (cloud). This signal suggests a significant shift in market sentiment.
**Chikou Cross**
- 20 (Bullish) / -20 (Bearish)
- Shows the relationship between the Chikou Span (lagging span) and the current price. A bullish signal occurs when the Chikou Span is above the price, indicating a potential uptrend. Conversely, a bearish signal occurs when the Chikou Span is below the price, suggesting a downtrend.
**Kijun Cross**
- 15 (Bullish) / -15 (Bearish)
- Signals trend changes when the Tenkan-sen (conversion line) crosses above (bullish) or below (bearish) the Kijun-sen (base line). This crossover is often used to identify potential trend reversals.
**Tenkan Cross**
- 10 (Bullish) / -10 (Bearish)
- Indicates short-term trend changes when the price crosses above (bullish) or below (bearish) the Tenkan-sen. This signal helps identify minor trend shifts within the broader trend.
**Kumo Twist**
- 5 (Bullish) / -5 (Bearish)
- Shows changes in the Kumo's direction, indicating potential trend shifts. A bullish Kumo Twist occurs when Senkou Span A crosses above Senkou Span B, and a bearish twist occurs when Senkou Span A crosses below Senkou Span B.
**Additional Signals**
**Kijun Confirmation**
- 8 (Bullish) / -8 (Bearish)
- Confirms the trend based on the price's position relative to the Kijun-sen. A bullish signal occurs when the price is above the Kijun-sen, and a bearish signal occurs when the price is below it.
**Tenkan-Kijun Above Cloud**
- 5 (Bullish) / -5 (Bearish)
- Indicates a strong bullish trend when both the Tenkan-sen and Kijun-sen are above the Kumo. Conversely, a bearish signal occurs when both lines are below the Kumo.
**Chikou Above Cloud**
- 5 (Bullish) / -5 (Bearish)
- Shows the Chikou Span's position relative to the Kumo, indicating trend strength. A bullish signal occurs when the Chikou Span is above the Kumo, and a bearish signal occurs when it is below.
**Price-Kijun Cross**
- 2 (Bullish) / -2 (Bearish)
- Signals short-term trend changes when the price crosses above (bullish) or below (bearish) the Kijun-sen. This signal is similar to the Kijun Cross but focuses on the price's direct interaction with the Kijun-sen.
**Chikou Span Signal**
- 10 (Bullish) / -10 (Bearish)
- Indicates the trend based on the Chikou Span's position relative to past price highs and lows. A bullish signal occurs when the Chikou Span is above the highest high of the past period, and a bearish signal occurs when it is below the lowest low.
**Price Positioning**
- 10 (Bullish) / -10 (Bearish)
- Shows indecision when the price is between the Tenkan-sen and Kijun-sen, indicating a potential consolidation phase. A bullish signal occurs when the price is above both lines, and a bearish signal occurs when the price is below both lines.
**Confidence Level**: Highly Sensitive
- **Buy Threshold**: 50
- **Sell Threshold**: -50
- **Notes / Significance**: ~2–3 signals, very early trend detection. High sensitivity, may capture noise and false signals.
**Confidence Level**: Entry-Level
- **Buy Threshold**: 58
- **Sell Threshold**: -58
- **Notes / Significance**: ~3–4 signals, often Chikou Cross or Kumo Breakout. Very sensitive, risks noise (e.g., false buys in choppy markets).
**Confidence Level**: Entry-Level
- **Buy Threshold**: 60
- **Sell Threshold**: -60
- **Notes / Significance**: ~3–4 signals, Kumo Breakout or Chikou Cross anchors. Entry point for early trends.
**Confidence Level**: Moderate
- **Buy Threshold**: 65
- **Sell Threshold**: -65
- **Notes / Significance**: ~4–5 signals, balances sensitivity and reliability. Suitable for moderate risk tolerance.
**Confidence Level**: Conservative
- **Buy Threshold**: 70
- **Sell Threshold**: -70
- **Notes / Significance**: ~4–5 signals, emphasizes stronger confirmations. Reduces false signals but may miss some opportunities.
**Confidence Level**: Very Conservative
- **Buy Threshold**: 75
- **Sell Threshold**: -75
- **Notes / Significance**: ~5–6 signals, prioritizes high confidence. Minimizes risk but may enter trades late.
**Confidence Level**: High Confidence
- **Buy Threshold**: 80
- **Sell Threshold**: -80
- **Notes / Significance**: ~6–7 signals, very strong confirmations needed. Suitable for cautious traders.
**Confidence Level**: Very High Confidence
- **Buy Threshold**: 85
- **Sell Threshold**: -85
- **Notes / Significance**: ~7–8 signals, extremely high confidence required. Minimizes false signals significantly.
**Confidence Level**: Maximum Confidence
- **Buy Threshold**: 90
- **Sell Threshold**: -90
- **Notes / Significance**: ~8–9 signals, maximum confidence level. Ensures trades are highly reliable but may result in fewer trades.
**Confidence Level**: Ultra Conservative
- **Buy Threshold**: 100
- **Sell Threshold**: -100
- **Notes / Significance**: ~9–10 signals, ultra-high confidence. Trades are extremely reliable but opportunities are rare.
**Confidence Level**: Extreme Confidence
- **Buy Threshold**: 110
- **Sell Threshold**: -110
- **Notes / Significance**: All signals align, extreme confidence. Trades are almost certain but very few opportunities.
Dskyz (DAFE) AI Adaptive Regime - Beginners VersionDskyz (DAFE) AI Adaptive Regime - Pro: Revolutionizing Trading for All
Introduction
In the fast-paced world of financial markets, traders need tools that can keep up with ever-changing conditions while remaining accessible. The Dskyz (DAFE) AI Adaptive Regime - Pro is a groundbreaking TradingView strategy that delivers advanced, AI-driven trading capabilities to everyday traders. Available on TradingView (TradingView Scripts), this Pine Script strategy combines sophisticated market analysis with user-friendly features, making it a standout choice for both novice and experienced traders.
Core Functionality
The strategy is built to adapt to different market regimes—trending, ranging, volatile, or quiet—using a robust set of technical indicators, including:
Moving Averages (MA): Fast and slow EMAs to detect trend direction.
Average True Range (ATR): For dynamic stop-loss and volatility assessment.
Relative Strength Index (RSI) and MACD: Multi-timeframe confirmation of momentum and trend.
Average Directional Index (ADX): To identify trending markets.
Bollinger Bands: For assessing volatility and range conditions.
Candlestick Patterns: Recognizes patterns like bullish engulfing, hammer, and double bottoms, confirmed by volume spikes.
It generates buy and sell signals based on a scoring system that weighs these indicators, ensuring trades align with the current market environment. The strategy also includes dynamic risk management with ATR-based stops and trailing stops, as well as performance tracking to optimize future trades.
What Sets It Apart
The Dskyz (DAFE) AI Adaptive Regime - Pro distinguishes itself from other TradingView strategies through several unique features, which we compare to common alternatives below:
| Feature | Dskyz (DAFE) | Typical TradingView Strategies|
|---------|-------------|------------------------------------------------------------|
| Regime Detection | Automatically identifies and adapts to **four** market regimes | Often static or limited to trend/range detection |
| Multi‑Timeframe Analysis | Uses higher‑timeframe RSI/MACD for confirmation | Rarely incorporates multi‑timeframe data |
| Pattern Recognition | Detects candlestick patterns **with volume confirmation** | Limited or no pattern recognition |
| Dynamic Risk Management | ATR‑based stops and trailing stops | Often uses fixed stops or basic risk rules |
| Performance Tracking | Adjusts thresholds based on past performance | Typically static parameters |
| Beginner‑Friendly Presets | Aggressive, Conservative, Optimized profiles | Requires manual parameter tuning |
| Visual Cues | Color‑coded backgrounds for regimes | Basic or no visual aids |
The Dskyz strategy’s ability to integrate regime detection, multi-timeframe analysis, and user-friendly presets makes it uniquely versatile and accessible, addressing the needs of everyday traders who want professional-grade tools without the complexity.
-Key Features and Benefits
[Why It’s Ideal for Everyday Traders
⚡The Dskyz (DAFE) AI Adaptive Regime - Pro democratizes advanced trading by offering professional-grade tools in an accessible package. Unlike many TradingView strategies that require deep technical knowledge or fail in changing market conditions, this strategy simplifies complex analysis while maintaining robustness. Its presets and visual aids make it easy for beginners to start, while its adaptive features and performance tracking appeal to advanced traders seeking an edge.
🔄Limitations and Considerations
Market Dependency: Performance varies by market and timeframe. Backtesting is essential to ensure compatibility with your trading style.
Learning Curve: While presets simplify use, understanding regimes and indicators enhances effectiveness.
No Guaranteed Profits: Like all strategies, success depends on market conditions and proper execution. The Reddit discussion highlights skepticism about TradingView strategies’ universal success (Reddit Discussion).
Instrument Specificity: Optimized for futures (e.g., ES, NQ) due to fixed tick values. Test on other instruments like stocks or forex to verify compatibility.
📌Conclusion
The Dskyz (DAFE) AI Adaptive Regime - Pro is a revolutionary TradingView strategy that empowers everyday traders with advanced, AI-driven tools. Its ability to adapt to market regimes, confirm signals across timeframes, and manage risk dynamically. sets it apart from typical strategies. By offering beginner-friendly presets and visual cues, it makes sophisticated trading accessible without sacrificing power. Whether you’re a novice looking to trade smarter or a pro seeking a competitive edge, this strategy is your ticket to mastering the markets. Add it to your chart, backtest it, and join the elite traders leveraging AI to dominate. Trade like a boss today! 🚀
Use it with discipline. Use it with clarity. Trade smarter.
**I will continue to release incredible strategies and indicators until I turn this into a brand or until someone offers me a contract.
-Dskyz
Oscura 23:00 - 00:00 (Italia)Hiding spread zone.
Usefull to hide zone where the broker make new contract and erase spread
Heiken Ashi with RSI Colors📜 Description:
This indicator blends Heiken Ashi candlesticks with RSI-based color filters to help traders quickly assess both trend structure and momentum extremes in a single glance.
✅ Heiken Ashi Mode: Smooths out price action to highlight clearer trends and suppress noise
✅ RSI Coloring: Applies candle color changes based on whether RSI is overbought, oversold, or neutral
It allows traders to visually spot potential exhaustion zones, continuation trends, or early reversal areas with enhanced clarity.
🔧 Settings:
Use Heiken Ashi Candles: Toggle between standard candles and Heiken Ashi smoothed values
RSI Length: Controls the lookback for RSI calculation (default 14)
Overbought/Oversold Levels: Customize your thresholds for extreme conditions (default: 70/30)
🎨 Candle Color Logic:
Green (Lime): RSI is overbought → price may be overextended upward
Red: RSI is oversold → price may be overextended downward
Gray: RSI is between extremes → neutral momentum
💡 Use Cases:
Confirm trend momentum with Heiken Ashi structure
Spot potential reversal points using RSI extremes
Enhance entry/exit decisions by combining price action and momentum in a single visual
Equal Highs and Equal LowsIt identifies eqx, teqx and seqx. So you are able to use them and determine what might happen. Trust me this indicator works if you know what you are doing
cd_full_poi_CxOverview
This indicator tracks the price in 16 different time frames (optional) in order to answer the question of where the current price has reacted or will react.
It appears on the chart and in the report table when the price approaches or touches the fvg or mitigations (order block / supply-demand), the rules of which will be explained below.
In summary, it follows the fvg and mitigations in the higher timeframe than the lower timeframe.
Many traders see fvg or mitigates as an point of interest and see the high, low swept in those zones as a trading opportunity. Key levels, Session high/lows and Equal high and lows also point of interest.
If we summarise the description of the point of interest ;
1- Fair value gaps (FVG) (16 time frames)
2- Mitigation zones (16 time frames)
3- Previous week, day, H4, H1 high and low levels
4- Sessions zones (Asia, London and New York)
5- Equal high and low levels are in indicator display.
Details:
1- Fair Value Gaps : It is simply described as a price gap and consists of a series of 3 candles. The reaction of the price to the gap between the 1st and 3rd candle wicks is observed.
The indicator offers 3 options for marking. These are :
1-1- ‘Colours are unimportant’: candle colours are not considered for marking. Fvg formation is sufficient.(Classical)
1-2- ‘First candle opposite colour’ : when a price gap occurs, the first candle of a series of 3 candles must be opposite.
For bullish fvg : bearish - bullish - free
For Bearish fvg : bullish - bearish - free
1-3- ‘All same colour’ : all candles in a series of 3 candles must be the same direction.
For bullish fvg: bullish - bullish - bullish
For bearish fvg : bearish - bearish – bearish
Examples:
2- Mitigation zones: Opposite candles with a fvg in front of them or candles higher/lower than the previous and next candle and with the same colour as the fvg series are marked.
Examples :
3- Previous week, day, H4, H1 high and low levels
4- Sessions regions (Asia, London and New York)
5- Equal high and low levels:
Annotation: Many traders want to see a liquidity grab on the poi, then try to enter the trade with the appropriate method.
Among the indicators, there is also the indication of grabs/swepts that occur at swing points. It is also indicated when the area previously marked as equal high/low is violated (grab).
At the end, sample setups will be shown to give an idea about the use of the indicator.
Settings:
- The options to be displayed from the menu are selected by ticking.
- 1m, 2m, 3m, 5m, 5m, 10m, 15m, 30m, h1, h4, h4, h6, h8, h12, daily, weekly, monthly and quarterly, 16 time zones in total can be displayed.
- The ‘Collapse when the price touches mitigate’ tab controls whether to collapse the box as the price moves into the inner region of the mitigate. If not selected, the size of the mitigate does not change.
- ‘Approach limit =(ATR / n)’ tab controls how close the price is to the fvg or mitigate. Instant ATR(10) value is calculated by dividing by the entered ‘n’ value.
- All boxes and lines are automatically removed from the screen when the beyond is closed.
- Colour selections, table, text features are controlled from the menu.
- Sessions hours are set as standard hours, the user can select special time zones. Timezone is set to GMT-4.
- On the candle when the price touches fvg or mitigate, the timeframe information of the POI is shown in the report table together with the graphical representation.
The benefits and differences :
1- We can evaluate the factors we use for setup together.
2- We are aware of what awaits us in the high time frame in the following candles.
3- It offers the user the opportunity to be selective with different candle selection options in fvg selection.
4- Mitige areas are actually unmitige areas because they have a price gap in front of them. The market likes to retest these areas.
5- Equal high/low zones are the levels that the price creates to accumulate liquidity or fails to go beyond (especially during high volume hours). Failure or crossing of the level may give a reversal or continuation prediction.
Sample setup 1:
Sample setup 2:
Sample setup 3:
Cheerful trades…
Enjoy…
Crosby Ratio | QuantumResearch ⚖️ Crosby Ratio | QuantumResearch
A Heikin-Ashi Smoothed Momentum Oscillator for Trend Strength & Market Rotation
Inspired by the Original Work of Bitcoin Magazine Pro
🔗 www.bitcoinmagazinepro.com
📘 Overview
The Crosby Ratio, as originally conceptualized by Bitcoin Magazine Pro, is a powerful tool used to evaluate the momentum and directional strength of price movement by analyzing the slope of market trends in degrees.
This enhanced implementation by QuantumResearch builds on the original concept with a Pine Script version tailored for trading charts, integrating Heikin-Ashi smoothing, ATR scaling, and customizable visual modes to fit traders' unique styles.
🧠 What Is the Crosby Ratio?
At its core, the Crosby Ratio uses angular measurement to quantify price movement — translating price trend strength into degrees. This approach allows traders to:
📈 Identify when the market is exhibiting strong upward or downward pressure
🚨 Spot overextended or overheated trend conditions
⚖ Filter out short-term noise and focus on macro momentum
🔍 1. Key Innovations by QuantumResearch
✅ Heikin-Ashi Smoothing: Reduces noise and stabilizes price action before computing momentum angles
✅ Custom atan2() Angular Function: Measures the directional angle between smoothed price changes and ATR-based scaling
✅ Dynamic Threshold Bands: Color-coded zones highlight overbought/oversold momentum regions
✅ Fully Customizable Palette: Choose from 8 visual themes with automatic color adaptation
📊 2. Interpretation Guide
Crosby Value Interpretation
> +18° 🚀 Strong bullish trend acceleration
+13° to +18° 📈 Moderate upward momentum
-9° to +13° ⚖ Neutral/transition phase
-15° to -9° 📉 Moderate bearish pressure
< -15° 🛑 Strong bearish acceleration
The indicator also features background shading when values exceed key thresholds, improving visual clarity during trend inflection points.
📌 Ideal Use Cases
🔄 Rotational Momentum Strategies: Spot the strongest assets during rapid shifts
⚡ Breakout Filtering: Confirm whether breakouts have directional strength
🧘 Noise Reduction: Heikin-Ashi smoothing filters chaotic wicks, especially in crypto
📉 Bearish Exhaustion Detection: Quickly identify when bearish momentum might be overdone
🔗 Original Inspiration & Acknowledgment
This indicator draws its core idea and naming convention from the original Crosby Ratio developed and introduced by Bitcoin Magazine Pro in their excellent write-up:
🔗 The Crosby Ratio – Bitcoin Magazine Pro
Their work on quantifying market sentiment via angle-based momentum inspired this script adaptation for TradingView with added visual features, smoothing techniques, and alerts.
⚠️ Disclaimer
This indicator is a momentum oscillator and should be used in conjunction with other confirmation tools. Market dynamics can vary, and no single metric ensures profitable trades. Always apply proper risk management.
VolumePrice Intensity AnalyzerVolumePrice Intensity Analyzer
The VolumePrice Intensity Analyzer is a Pine Script v6 indicator designed to measure market activity intensity through the trading value (Price * Volume, scaled to millions). It helps traders identify significant volume-price interactions, track trends, and gauge momentum by combining volume analysis with trend-following tools.
Features:
Volume-Based Analysis: Calculates Price * Volume in millions to highlight market activity levels.
Trend Identification: Plots 20-day and 50-day SMAs of the trading value to smooth fluctuations and reveal sustained trends.
Relative Strength: Displays the ratio of daily Price * Volume to the long-term SMA in a separate pane, helping traders assess activity intensity relative to historical averages.
Real-Time Metrics: A table shows the current Price * Volume and its ratio to the long SMA, updated continuously with bold text formatting (v6 feature).
Alerts: Triggers notifications for high trading values (when Price * Volume exceeds 1.5x the long SMA) and SMA crossovers (short SMA crossing above long SMA).
Visual Cues: Uses dynamic bar colors (teal for bullish, gray for bearish) and background highlights to mark significant market activity.
Customizable Inputs: Adjust SMA periods, scaling factor, and alert threshold via the settings panel, with tooltips for clarity (v6 feature).
Originality:
Unlike basic volume indicators, this tool combines Price * Volume with trend analysis (SMAs), relative strength (ratio plot), and actionable alerts. The real-time table and visual highlights provide a unique, at-a-glance view of market intensity, making it a valuable addition for volume and trend-focused traders.
Calculations:
Trading Value (P*V): (Close * Volume) * Scale Factor (default scale factor of 1e-6 converts to millions).
SMAs: 20-day and 50-day Simple Moving Averages of the trading value to identify short- and long-term trends.
Ratio: Daily Price * Volume divided by the 50-day SMA, plotted in a separate pane to show relative activity strength.
Bar Colors: Teal (RGB: 0, 132, 141) for bullish bars (close > open or close > previous close), gray for bearish or neutral bars.
Background Highlight: Light yellow (hex: #ffcb3b, 81% transparency) when Price * Volume exceeds the long SMA by the alert threshold.
Plotted Elements:
Short SMA P*V (M): Red line, 20-day SMA of Price*Volume in millions.
Long SMA P*V (M): Blue line, 50-day SMA of Price*Volume in millions.
Today P*V (M): Columns, daily Price*Volume in millions (teal/gray based on price action).
Daily V*P/Longer Term Average: Purple line in a separate pane, ratio of daily Price * Volume to the 50-day SMA.
Usage:
Spot High Activity: Look for Price * Volume columns exceeding the SMAs or spikes in the ratio plot to identify significant market moves.
Confirm Trends: Use SMA crossovers (e.g., short SMA crossing above long SMA) as bullish trend signals, or vice versa for bearish trends.
Monitor Intensity: The table provides real-time Price * Volume and ratio values, while background highlights signal high activity periods.
Versatility: Suitable for stocks, forex, crypto, or any market with volume data, across various timeframes.
How to Use:
Add the indicator to your chart.
Adjust inputs (SMA periods, scale factor, alert threshold) via the settings panel to match your trading style.
Watch for alerts, check the table for real-time metrics, and observe the ratio plot for relative strength signals.
Use the background highlights and bar colors to quickly spot significant market activity and price action.
This indicator leverages Pine Script v6 features like lazy evaluation for performance and advanced text formatting for better visuals, making it a powerful tool for traders focusing on volume, trends, and momentum.
FunctionSurvivalEstimationLibrary "FunctionSurvivalEstimation"
The Survival Estimation function, also known as Kaplan-Meier estimation or product-limit method, is a statistical technique used to estimate the survival probability of an individual over time. It's commonly used in medical research and epidemiology to analyze the survival rates of patients with different treatments, diseases, or risk factors.
What does it do?
The Survival Estimation function takes into account censored observations (i.e., individuals who are still alive at a certain point) and calculates the probability that an individual will survive beyond a specific time period. It's particularly useful when dealing with right-censoring, where some subjects are lost to follow-up or have not experienced the event of interest by the end of the study.
Interpretation
The Survival Estimation function provides a plot of the estimated survival probability over time, which can be used to:
1. Compare survival rates between different groups (e.g., treatment arms)
2. Identify patterns in the data that may indicate differences in mortality or disease progression
3. Make predictions about future outcomes based on historical data
4. In a trading context it may be used to ascertain the survival ratios of trading under specific conditions.
Reference:
www.global-developments.org
"Beyond GDP" ~ www.aeaweb.org
en.wikipedia.org
www.kdnuggets.com
survival_probability(alive_at_age, initial_alive)
Kaplan-Meier Survival Estimator.
Parameters:
alive_at_age (int) : The number of subjects still alive at a age.
initial_alive (int) : The Total number of initial subjects.
Returns: The probability that a subject lives longer than a certain age.
utility(c, l)
Captures the utility value from consumption and leisure.
Parameters:
c (float) : Consumption.
l (float) : Leisure.
Returns: Utility value from consumption and leisure.
welfare_utility(age, b, u, s)
Calculate the welfare utility value based age, basic needs and social interaction.
Parameters:
age (int) : Age of the subject.
b (float) : Value representing basic needs (food, shelter..).
u (float) : Value representing overall well-being and happiness.
s (float) : Value representing social interaction and connection with others.
Returns: Welfare utility value.
expected_lifetime_welfare(beta, consumption, leisure, alive_data, expectation)
Calculates the expected lifetime welfare of an individual based on their consumption, leisure, and survival probability over time.
Parameters:
beta (float) : Discount factor.
consumption (array) : List of consumption values at each step of the subjects life.
leisure (array) : List of leisure values at each step of the subjects life.
alive_data (array) : List of subjects alive at each age, the first element is the total or initial number of subjects.
expectation (float) : Optional, `defaut=1.0`. Expectation or weight given to this calculation.
Returns: Expected lifetime welfare value.
ADX with Shaded ZoneThe ADX with Shaded Zone indicator is a momentum-based tool that visualizes trend strength using the Average Directional Index (ADX) along with the +DI and -DI lines. This indicator enhances the traditional ADX setup by adding a shaded zone between ADX levels 20 and 25, helping traders easily identify the transition area between non-trending and trending market conditions.
It plots:
+DI (Green): Positive Directional Indicator
−DI (Red): Negative Directional Indicator
ADX (Blue): Measures the strength of the trend
Shaded Zone: Highlights the indecisive range where ADX is below 25 (gray background between levels 20 and 25)
⚙️ How to Use:
✅ Trend Identification:
ADX < 20: Weak or no trend. Avoid trend-following strategies.
ADX 20–25 (Shaded Zone): Transition zone. Potential trend forming — stay cautious.
ADX > 25: Stronger trend. Favor trend-following strategies.
✅ Direction Confirmation:
If +DI > -DI and ADX > 25 → Uptrend confirmation.
If -DI > +DI and ADX > 25 → Downtrend confirmation.
Crossovers between +DI and -DI can be used as early signals.
✅ Shaded Zone Use:
The gray shaded area helps visually filter out low-trend strength conditions.
Useful for trend traders to wait before entering until ADX breaks above 25.
RSI Oversold ScannerPine Script Description for TradingView Publication
Title: RSI Oversold Scanner (1m, 5m, 15m)
Description:
The RSI Oversold Scanner is a powerful tool designed to identify stocks that are simultaneously oversold on the 1-minute, 5-minute, and 15-minute timeframes, based on the Relative Strength Index (RSI). This script is ideal for traders seeking short-term reversal or momentum opportunities across multiple intraday timeframes.
Key Features:
Multi-Timeframe RSI Analysis: Calculates RSI (default length: 14) on the 1m, 5m, and 15m timeframes and checks if all are below the oversold threshold (default: 30).
Visual Output: Displays a table in the top-right corner showing RSI values and oversold status ("Yes" or "No") for each timeframe, making it easy to verify conditions.
Scan Result: Plots a value of 1 when all three timeframes are oversold, or 0 otherwise, enabling quick identification of matching stocks.
Alert Support: Includes an alert condition that triggers when a stock is oversold on all timeframes, with a customizable message for real-time notifications.
User-Friendly: Built with Pine Script v6 for compatibility and reliability, with clear visual feedback for traders of all levels.
How It Works:
The script uses ta.rsi to compute RSI on the current chart’s timeframe (1m) and request.security to fetch RSI data for the 5m and 15m timeframes.
It checks if RSI is below the oversold level (default: 30) on all three timeframes.
A table displays the RSI values and oversold status for easy debugging.
The Scan Result plot (1 or 0) indicates whether the stock meets the oversold criteria, which can be used for manual scanning or alerts.
Usage Instructions:
Add the script to your chart via Pine Editor.
Use a watchlist to switch between stocks and check the table or Scan Result for oversold conditions.
Set alerts by selecting the script’s Scan Result condition (value = 1) to get notified when a stock is oversold on all timeframes.
Customize the RSI length or oversold level in the script’s code if needed (e.g., change rsiLength or oversoldLevel).
Notes:
Best used on intraday charts (e.g., 1m or higher) with a watchlist for manual scanning, as TradingView’s Stock Screener does not directly support custom Pine Scripts.
Real-time alerts and intraday data may require a TradingView paid plan.
The script uses only two request.security calls, staying well within Pine Script’s limits.
Ideal For:
Day traders and swing traders looking for oversold stocks across multiple intraday timeframes.
Users who want to combine technical analysis with visual and alert-based confirmation.
Consolidation Zones + OI Change %The script finds consolidation zones (flats) on the chart and analyzes the behavior of the Open Interest during these zones to understand:
whether a position is being built up (OI growth - green),
or whether players are unloading/exiting (OI fall - red),
and gives visual and text signals when the range is broken.
Скрипт находит зоны консолидации (флеты) на графике и анализирует поведение открытого интереса (Open Interest) во время этих зон, чтобы понять:
идёт ли набор позиции (рост OI — зелёный),
или разгрузка / выход игроков (падение OI — красный),
и даёт визуальные и текстовые сигналы при пробое диапазона.
Trend Breakout [Uncle Sam Trading]Trend Breakout Indicator
Overview
The Trend Breakout Indicator is a powerful, non-repainting tool designed to help traders identify high-probability breakout and trend reversal setups on any market and timeframe. By leveraging pivot points, this indicator draws dynamic support and resistance channels, highlights counter-trend breakouts, and provides visual cues for market direction. It’s ideal for traders looking to simplify their analysis while targeting key price levels for entries and exits.
Key Features
Pivot-Based Channels: Draws a red upper channel (resistance) and a green lower channel (support) by connecting recent pivot highs and lows.
Counter-Trend Breakout Signals:
Blue “CT Breakup” signal (▲) when the price breaks above the upper channel during a downtrend, indicating a potential reversal or pullback.
Orange “CT Breakdown” signal (▼) when the price breaks below the lower channel during an uptrend, signaling a potential downmove.
Trend Visualization: Background color shifts to green for uptrends and red for downtrends, making it easy to gauge market direction.
Customizable Settings: Adjust pivot detection sensitivity with “Pivot Left Bars” (default: 5) and “Pivot Right Bars” (default: 1), and control channel extension with “Channel Extension Bars” (default: 50).
Optional Trend Signals: Enable “Show Trend Change Signals” to display trend shifts with green (uptrend) or red (downtrend) arrows.
Alert Conditions: Set alerts for counter-trend breakouts and trend changes directly on TradingView.
Example Performance (BTCUSDT, 1-Hour Chart)
On the BTCUSDT 1-hour chart:
A “CT Breakdown” signal appeared on April 6 at 8:00 AM at $82,700, followed by a drop to $74,400 within hours—a 10% move.
A “CT Breakup” signal occurred on April 9 at 1:00 AM at $76,600, leading to a rally to $86,600 in a few hours—a 9% gain.
These examples highlight the indicator’s ability to spot significant price movements, though results depend on market conditions, your trading style, and risk management.
Settings
Pivot Left Bars (default: 5): Number of bars to the left for pivot detection.
Pivot Right Bars (default: 1): Number of bars to the right for pivot confirmation (ensures non-repainting signals).
Channel Extension Bars (default: 50): How far the channels extend to the right.
Show Pivot Points (default: true): Displays small triangles at pivot highs (maroon) and lows (navy).
Show Counter-Trend Breakout Signals (default: true): Shows CT Breakup and CT Breakdown signals.
Show Trend Change Signals (default: false): Displays trend shift arrows when enabled.
How to Use
Add the indicator to your chart via TradingView’s indicator library.
Adjust the settings to match your trading style and timeframe.
Watch for “CT Breakup” and “CT Breakdown” signals to identify potential trade setups.
Use the background color (green/red) to confirm the current trend.
Set alerts for breakouts or trend changes to stay updated on key signals.
Always combine with proper risk management and your own analysis—past performance is not a guarantee of future results.
Notes
The indicator is non-repainting, meaning signals are confirmed and won’t disappear after they form.
Works on any market (crypto, forex, stocks) and timeframe, such as the BTCUSDT 1-hour chart shown.
Performance varies based on market volatility and your trading strategy.
This is a free tool created to support the TradingView community—feedback is welcome in the comments!
Disclaimer
Trading involves risk, and this indicator is not a guaranteed predictor of future price movements. Always conduct your own analysis and manage risk appropriately. The examples provided (e.g., BTCUSDT signals) are for educational purposes only and reflect past performance, which may not repeat.
Statistical Trailing Stop [LuxAlgo]The Statistical Trailing Stop tool offers traders a way to lock in profits in trending markets with four statistical levels based on the log-normal distribution of volatility.
The indicator also features a dashboard with statistics of all detected signals.
🔶 USAGE
The tool works out of the box, traders can adjust the data used with two parameters: data & distribution length.
By default, the tool takes volatility measures of groups of 10 candles, and statistical measures of the last 100 of these groups then traders can adjust the base level to use as trailing, the larger the level, the more resistant the tool will be to moves against the trend.
🔹 Base Levels
Traders can choose up to 4 different levels of trailing, all based on the statistical distribution of volatility.
As we can see in the chart above, each higher level is more resistant to market movements, so level 0 is the most reactive and level 3 the least.
It is up to the trader to determine the best level for each underlying, time frame and market conditions.
🔹 Dashboard
The tool provides a dashboard with the statistics of all trades, making it very easy to assess the performance of the parameters used for any given market.
As we can see on the chart, all Daily BTC signals with default parameters but different base levels, level 2 is the best performing of all four, giving a positive expectation of $2435 per trade, taking into account all long and short trades.
Of note are the long trades with a win rate of 76.47% and a risk-to-reward of 3.34, giving a positive expectation of $4839 per trade, with winners having an average duration of 210 days and losers 32 days.
This, compared to short trades with negative expectation, speaks to the uptrend bias of this particular market.
🔶 SETTINGS
Data Length: Select how many bars to use per data point
Distribution Length: Select how many data points the distribution will have
Base Level: Choose between 4 different trailing levels
🔹 Dashboard
Show Statistics: Enable/disable dashboard
Position: Select dashboard position
Size: Select dashboard size
Collatz Conjecture - DolphinTradeBot1️⃣ Overview
Every positive number follows its own unique path to reach 1 according to the Collatz rule.
Some numbers reach the end quickly and directly.
Others rise significantly before crashing down sharply.
Some get stuck within a certain range for a while before finally reaching 1.
Each number follows a different pattern — the number of steps it takes, how high it climbs, or which values it passes through cannot be predicted in advance.
This is a structure that appears chaotic but ultimately leads to order:
Every number reaches 1, but the way it gets there is entirely uncertain.
2️⃣ How Is It Work?
The rule is simple:
▪️ If the number is even → divide it by two.
▪️ If it’s odd → multiply it by three and add one.
Repeat this process at each step.
Example :
Let’s say the starting number is 7:
7 → 22 → 11 → 34 → 17 → 52 → 26 → 13 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1
It reaches 1 in 17 steps.
And from there, it always enters the same cycle:
4 → 2 → 1 → 4 → 2 → 1...
3️⃣ Why Is It Worth Learning?
🎯 This indicator isn’t just mathematical fun—it’s a thought experiment for those who dare to question market behavior.
▪️ It’s fun.
Watching numbers behave in unpredictable ways from a simple rule set is surprisingly enjoyable.
▪️ It shows how hard it is to teach a computer what randomness really is .
The Collatz process can be used to simulate chaotic behavior and may even inspire creative ways to introduce complexity into your code.
▪️ It makes you think — especially in financial markets.
The patternless, yet rule-based structure of Collatz can help train your mind to recognize that not all unpredictability is random. It’s a great mental model for navigating complex systems like price action.
▪️ Just like price movements in financial markets, this ancient problem remains unsolved.
Despite its simplicity, the Collatz conjecture has resisted proof for decades — a reminder that even the most basic-looking systems can hide deep complexity.
4️⃣ How To Use?
Super easy — in the indicator’s settings, there’s just one input field.
Enter any positive number, and you’ll see the pattern it follows on its way to 1.
You can also observe how many steps it takes and which values it visits in the info box at the top center of the chart.
5️⃣ Some Examples
You Can Observe the Chaos in the Following Examples⤵️
For Input Number → 12
For Input Number → 13
For Input Number → 14
For Input Number → 32768
For Input Number → 47
VWAP Separation w/ StDev (LEX)---
## VWAP Separation with Standard Deviation Bands
**Overview**
This indicator measures and visualizes the raw distance (separation) between a chosen price source (like `hlc3` or `close`) and its corresponding Volume Weighted Average Price (VWAP) for a selected anchor period. It helps traders gauge how far the current price has deviated from its volume-weighted average.
To provide context on the magnitude of this separation, the indicator also calculates and plots dynamic bands representing +/- 1 standard deviation of the separation value itself, calculated over a user-defined lookback period.
**How it Works**
1. **VWAP Calculation:** The indicator first calculates the VWAP based on the user-selected `Anchor Period` (e.g., Session, Week, Month) and `Source` price. The VWAP calculation resets at the beginning of each new anchor period.
2. **Separation Calculation:** It then subtracts the calculated VWAP from the source price for each bar (`Separation = Source - VWAP`).
3. **Plotting Separation:** This raw separation value is plotted as a line in a separate indicator pane.
* Positive values indicate the source price is above the VWAP.
* Negative values indicate the source price is below the VWAP.
4. **Zero Line & Crossings:** A horizontal line at zero is plotted for easy reference. Small circles are plotted on the zero line whenever the separation value crosses it (using `ta.cross`), highlighting moments when the price crosses its VWAP.
5. **Standard Deviation Bands:**
* The indicator calculates the rolling Simple Moving Average (SMA) of the `Separation` value over a specified `StDev Length` using `ta.sma`.
* It then calculates the rolling standard deviation of the `Separation` value over the same length using `ta.stdev`.
* Finally, it plots two dynamic lines: `SMA + 1 StDev` and `SMA - 1 StDev`. These bands represent the typical range of the separation's volatility based on the lookback period.
**How to Use / Interpretation**
* **Magnitude of Separation:** The primary line directly shows how far, in price terms, the market is currently trading away from its VWAP for the chosen anchor period. Large absolute values suggest a significant deviation.
* **Zero Line:** Crossing the zero line indicates the price is moving from one side of the VWAP to the other. The indicator staying consistently above/below zero shows price trending relative to its VWAP.
* **Standard Deviation Bands:** These bands help contextualize the separation.
* When the separation line touches or exceeds the upper band, it suggests the price is unusually far *above* the VWAP compared to its recent behavior.
* When the separation line touches or exceeds the lower band, it suggests the price is unusually far *below* the VWAP compared to its recent behavior.
* These "unusual" deviations *might* indicate over-extended conditions potentially leading to mean reversion back towards the VWAP, *or* they could signal the start of a strong move away from the VWAP. Always use in conjunction with other analysis methods.
* The width of the bands indicates the recent volatility *of the separation value itself*. Wider bands mean the separation has been more volatile; narrower bands mean it's been more stable.
**Key Features**
* Flexible VWAP calculation based on various anchor periods (Session, Week, Month, Earnings, etc.).
* Plots the raw price separation from VWAP.
* Clear zero line reference.
* Visual markers for zero-line crossings.
* Dynamic +/- 1 Standard Deviation bands based on the separation's volatility.
* User-configurable inputs for anchor period, price source, and standard deviation length.
**Settings**
* **Anchor Period:** Determines the calculation period for VWAP (Session, Week, Month, Quarter, Year, Decade, Century, Earnings, Dividends, Splits). Default: `Session`.
* **Source:** The price data used for calculating VWAP and separation (e.g., hlc3, close, open). Default: `hlc3`.
* **StDev Length:** The lookback period (number of bars) used to calculate the moving average and standard deviation of the separation value. Default: `20`.
**Disclaimer**
This indicator is provided for educational and informational purposes only. It does not constitute financial advice or a recommendation to trade. Trading financial markets involves significant risk. Always perform your own due diligence and test any indicator thoroughly before using it in live trading. Past performance is not indicative of future results.
---
HG StdDevThe HG StdDev indicator provides a dynamic view of market volatility by calculating the standard deviation of a selected price source over a customizable period. Additionally, it plots a threshold line representing the highest standard deviation over a secondary lookback window.
Red Line: Current standard deviation (volatility) of the price.
Gray Line: Highest standard deviation value within the lookback range, serving as a reference for recent peak volatility.
Use this tool to identify periods of increasing or extreme volatility, potential breakout zones, or to filter signals based on volatility thresholds.
Pivot Levels with EMA Trend📌 Trend Change Levels with EMA Trend
✨ Description:
This TradingView script identifies clean trend change levels based on 1-hour structure shifts and filters them to keep only those not invalidated. It follows the "Jake Ricci" method, each level is printed at the beginning of the candle that changes the trend, on a 1 hour chart. For precision, make sure to exclude after/pre market and only use the levels on regular hours charts.
It includes dynamic EMAs (9, 50, 200), intraday VWAP, the daily open level printed, and a visual trend label based on EMA(9) slope.
Designed for intermediate traders, it helps build bias, manage entries, and avoid false setups by focusing on clean, reactive levels that the market respects.
🔧 Core Logic:
On the 1H chart, the script compares current and previous closes to detect trend direction. If the trend flips (e.g., up to down), the open of the candle that caused the flip becomes a candidate level.
Only levels that remain untouched by future candle closes are plotted — this filters out “weak” levels that price already violated (which means, a candle closes after passing through the level).
These levels become key S/R zones and often act as reaction points during pullbacks, traps, and liquidity sweeps.
The idea is to check how the price reacts to those levels. Usually there's a clean retest of the level. After that, if the price continues in that direction, it tends to reach the following level.
🔹 Included Tools:
🟣 Trend Change Levels (1H):
Fixed horizontal lines based on confirmed shifts in trend, shown only when not broken.
📉 EMAs (9 / 50 / 200):
Visibility can be set per timeframe. Use for trend context.
📍 EMA Trend Label:
Shows \"UP\", \"DOWN\", or \"RANGE\" based on EMA(9) slope.
🔵 VWAP (Intraday Reset):
Real-time volume-weighted average price that resets daily. Useful for fair value zones and reversion plays.
🟠 Daily Open Line:
Plot of the current day’s open. Used for intraday directional bias. Usually: DO NOT take longs below the Open Print, DO NOT take shorts above it.
📊 ATR Table:
Displays current ATR multiplier on the chart. It's useful to understand if the market is expanding or not.
📈 How to Use It (Strategy):
1. Start on the 1H chart to generate levels.
Only the open of candles that reversed trend are considered — and only if future candles didn’t close through them. I suggest manually adding horizontal lines to mark again the levels, so that they stick to all the timeframes.
2. Use the trend label to decide your bias — \"UP\" for long setups, \"DOWN\" for shorts. Avoid trading against the slope.
3. Switch to the 5m chart and wait for price to approach a plotted level. These are often used for manipulation, retests, or clean reversals.
4. Look for confirmation: rejection candles, break-and-retest, strong engulfing candles, or traps above/below the level. ALWAYS check the price action around the level, along with the volume.
5. Check if VWAP or an EMA is near the level. If yes, the confluence strengthens the trade idea.
6. Use the ATR value to understand if the market is expanding (candles are bigger than the ATR). You don't want to stay in a slow and ranging trade.
✅ Example Entry Flow:
1. On the 1H chart, note a trend change level printed recently.
2. Check the current trend label — if it says \"UP,\" prefer longs.
3. Wait for price to retrace toward the level.
4. On the 5m, look for a bullish engulfing candle or trap setup at the level.
5. Check if VWAP and EMA(50) are near. If yes, execute the trade.
6. Set stop just under the low of the candle prior to your entry. Ideally, a retracing candle.
To be clear: imaging to be LONG, you wait for a retracement that should touch your level. You wait for a candle that resumes the LONG trend, enter when it breaks the high of the previous candle (sill in retracement), you place your stop under the candle prior to your entry.
Notes:
No repainting — levels only show up after confirmed shifts.
Removes broken levels for chart clarity and reliability.
Helps spot high-probability pullback zones and fakeouts.
Perfect confluence tool to support price action, SMC, or EMA strategies.
Works across multiple timeframes with customizable inputs.
👤 Ideal For:
Intraday traders looking for reactive entry points and direction confirmation.
Swing traders wanting to pinpoint continuation zones or reversal pivots.
🚨 Final Note: This indicator doesn’t generate buy/sell signals. It improves your trade filtering by identifying areas the market already respected and reacting to them with price action. Combine it with your own system , test it in replay, and use screenshots to document setups.
📌 If used with discipline, this becomes a precision tool — not a signal generator.