Volume Positive & Negative Levels [ChartPrime]Volume Positive & Negative Levels
Overview:
The Volume Positive & Negative Levels indicator by ChartPrime is designed to provide traders with a clear visualization of volume activity across different price levels. By plotting volume levels as histograms, this tool helps identify significant areas of buying (positive volume) and selling (negative volume) pressure, enhancing the ability to spot potential support and resistance zones.
Key Features:
⯁ Lookback Period:
- The `lookbackPeriod` parameter, set to 500 bars, determines the range over which the volume analysis is conducted, ensuring a comprehensive view of the market’s volume activity. The maximum lookback period is 500 bars or the bars currently visible on the chart, whichever is smaller.
⯁ Dynamic Volume Calculation:
- Volume is calculated dynamically based on the price action, with positive volume indicating buying pressure (close > open) and negative volume indicating selling pressure (close < open).
⯁ Color Coding for Clarity:
- Positive Volume: Represented with a distinct color (`#ad9a2c`), making it easy to identify areas of buying interest.
- Negative Volume: Highlighted with another color (`#ad2cad`), simplifying the detection of selling pressure.
Volume Threshold and Bins:
- The indicator allows users to set a volume threshold (`volume_level`) to highlight significant volume levels, with the default set at 70.
- The number of bins (`numBins`) defines the granularity of the volume profile, with a higher number providing more detail.
⯁ Volume Profile Visualization:
- The volume profile is plotted as a histogram, with the height of each bar proportional to the volume at that price level. This visualization helps in quickly assessing the strength of volume at various price points.
⯁ Interactive Labels and Threshold Indicators:
- Labels: The indicator uses labels to mark significant volume levels, providing quick reference points for traders.
- Threshold Lines: Lines are drawn at specified volume thresholds, with colors and widths dynamically adjusted based on the volume levels.
⯁ User Inputs:
- Volume Threshold (`volume_level`): Sets the minimum volume required to highlight significant levels.
- Number of Bins (`numBins`): Determines the resolution of the volume profile.
- Line Width (`line_withd`): Specifies the width of the lines used in the visualization.
The Volume Positive & Negative Levels indicator is a powerful tool for traders looking to gain deeper insights into market dynamics. By providing a clear visual representation of volume activity across different price levels, it helps traders identify key support and resistance zones, spot trends, and make more informed trading decisions. Whether you are a day trader or a swing trader, this indicator enhances your ability to analyze volume data effectively, improving your overall trading strategy.
Komut dosyalarını "volume profile" için ara
VP and POCThis code is credited to juliangonzaconde. Have taken his help to modify his beautiful creation.
Volume profile is a key study when comes to understanding the auction trading process. Volume Profiles will show you exactly how much volume, as well as relative volume, occurred at each price as well as the exact number of contracts for the entire session. It is a visualization tool to understand the high activity zone and low activity zone.
Volume profile measures the confidence of the traders in the market. From short term trading perspective monitoring the developing volume profile in realtime make more sense to track current market participation behavior to take better trading decisions.
Hope this helps you in trading on daily timeframe.
Happy Trading.
Order Flow Delta Matrix Pro @MaxMaserati 2.0Order Flow Delta Matrix Pro @MaxMaserati 2.0
Institutional-level order flow analysis
This advanced indicator displays institutional order flow data in an easy-to-read time-series matrix, revealing hidden buying and selling pressure that drives price movements.
KEY FEATURES
🔥 REAL-TIME DELTA TRACKING
- Delta Row: Net buying vs selling pressure per time period
- Live Countdown: Shows exact time remaining until next candle close
- Extended historical view for pattern recognition
CUSTOMIZABLE ROWS (Toggle On/Off)
- Max Delta: Highest buying pressure spikes (accumulation zones)
- *Min Delta: Lowest selling pressure spikes (distribution zones)
- Cumulative Delta: Running total showing institutional bias
- Delta/Volume Ratio: Quality of directional flow vs total volume
- Session Delta: Net flow since session start
- Volume: Raw transaction volume with high-volume highlighting
ADVANCED CONTROLS
- Time Direction: View oldest→newest OR newest→oldest
- 12/24 Hour Format: Choose your preferred time display
- Current Time Highlighting: Blue highlight on active time period
- Full Color Customization: Adapt to any chart theme
- Smart Sensitivity: Low/Normal/High modes for different markets
🎓 HOW TO USE IT
🟢 BULLISH SIGNALS
- Positive Delta Spikes: Look for green +500K+ delta values
- Rising Cumulative Delta: Upward trending cumulative line = institutional accumulation
- High Max Delta: Strong buying pressure at support levels
🔴 BEARISH SIGNALS
- Negative Delta Spikes: Look for red -500K+ delta values
- Falling Cumulative Delta: Downward trending cumulative = institutional distribution
- High Min Delta: Strong selling pressure at resistance levels
PRO TECHNIQUES
-Divergence Analysis: Price goes up but cumulative delta goes down = potential reversal
- Volume Confirmation: High delta + high volume = strong institutional conviction
- Session Bias: Positive session delta = bullish bias, negative = bearish bias
BEST USED FOR
- Scalping: 1-5 minute timeframes for quick institutional flow detection
- Day Trading: 15-60 minute timeframes for session bias and reversal spots
- Volume Profile: Combine with volume profile for complete order flow picture
- Futures Trading: Excellent for ES, NQ, crude oil, forex majors
PRO TIPS
1. Watch for Delta Divergences - Most reliable reversal signal
2. High Volume + High Delta = Institutional activity
3. Session Delta Direction = Overall market bias
4. Blue highlighted column= Current live data
5. Use with Support/Resistance for entry/exit timing
IMPORTANT NOTES
- Works on ALL timeframes and ALL markets
- Real-time updates for live trading decisions
- Historical data available for backtesting strategies
- No repainting - all signals are final and reliable
The matrix format makes complex data easy to interpret, giving a significant edge in understanding market dynamics and smart money order timing.
Volume Footprint POC for Every CandleCalculating and plotting the Point of Control (POC) for every candle on a volume footprint chart can provide valuable insights for traders. Here are some interpretations and uses of this information:
1. Identify Key Price Levels
Highest Traded Volume: The POC represents the price level with the highest traded volume for each candle. This level often acts as a significant support or resistance level.
Confluence Zones: When multiple POCs align at similar price levels over several candles, it indicates strong support or resistance zones.
2. Gauge Market Sentiment
Buyer and Seller Activity: High volume at certain price levels can indicate where buyers and sellers are most active. A rising POC suggests stronger buying activity, while a falling POC suggests stronger selling activity.
Volume Profile: Analyzing the volume profile helps in understanding the distribution of traded volume across different price levels, providing insights into market sentiment and potential reversals.
3. Spot Trends and Reversals
Trend Continuation: Consistent upward or downward shifts in POC levels can indicate a trend continuation. Traders can use this information to stay in trending positions.
Reversal Signals: A sudden change in the POC direction may signal a potential reversal. This can be used to take profits or enter new positions.
4. Intraday Trading Strategies
Short-Term Trading: Intraday traders can use the POC to make informed decisions on entry and exit points. For example, buying near the POC during an uptrend or selling near the POC during a downtrend.
Scalping Opportunities: High-frequency traders can use shifts in the POC to scalp small profits from price movements around these key levels.
5. Volume-Based Indicators
Confirmation of Other Indicators: The POC can be used in conjunction with other technical indicators (e.g., moving averages, RSI) to confirm signals and improve trading accuracy.
Support and Resistance: Combining the POC with traditional support and resistance levels can provide a more comprehensive view of the market dynamics.
In summary, the Point of Control (POC) is a valuable tool for traders to understand market behavior, identify key levels, and make more informed trading decisions. If you have specific questions or need further details on how to use this information in your trading strategy, feel free to ask! 😊
MM Day Trader LevelsAs an intraday trader, there are certain key levels that I care about for short-term price action on every single chart. When I first began day trading, each morning I would painstakingly mark those key levels off on the charts I planned to trade each day. Depending on the number of charts I was watching, this would take up quite a bit of my time that I felt would have been much better spent doing other things. It also meant that those levels would often be left behind, and on later days I might be trading a symbol and get confused when a line appeared and I'd be paying attention to it only to later discover that it wasn't from prior day, but from some other day in the past when I had marked it off.
I looked all over TradingView to find indicators that did this automatically for me, and I found a lot of them. One by one I tried them, and inevitably I would always find that something was wrong with them. Often they didn't have all of the levels I wanted (so I would have to combine multiple indicators), but more often I found that the levels would be incorrect, or they would be buggy and not appear consistently, or they would not appear at the right time, or they would not work on futures! The list of problems went on and on. And the biggest issue I found was that nobody knew how to get session volume profile in an indicator.
So, over the course of a few years I figured out how to solve all of those problems and now I'm thrilled to present this free indicator for everyone like me who trades intraday and wants a clean consistent way to see the prior day levels that they care about automatically on every single chart (even futures). The levels the indicator provides are:
Yesterday High & Low
Value Area High & Low & Point of Control
Today's Open
Yesterday's Close (aka "Settlement" on futures)
Premarket High & Low (non-futures only)
Overnight High & Low (futures only)
These levels are extremely important, and I expect price to be reactive to them, so each level has a shaded background behind it so that the levels stand out against other lines you may have on your chart. I try to keep configuration as simple as possible, but there are configuration options that allow you to:
Hide any of the levels
Change the color for the levels
Shade the value area (or not)
Change the label text, size, type (basic label or plain text) and location (how far to the right of last candle to place the label
Adjust session volume profile value area volume & number of rows
The biggest advantage to this indicator over others on TradingView is how it handles session volume profile. When it comes to futures, TradingView does differentiate between regular trading hours and "electronic" trading hours on the charts, but their timeframes for those sessions are unusual, and they do not provide any programmatic way to differentiate between them. So, I created a whole new library for dealing with futures sessions that is fully integrated into both my Session Volume Profile library and this indicator, allowing me to bring you the best and only custom indicator available on TradingView that provides you with true regular session volume profile information across every type of symbol, including futures.
I'm incredibly proud of everything I've been able to provide with this indicator, and even more thrilled to say that I'm proud of how the indicator has been implemented. Once again releasing this indicator and all associated code for free and open source. I encourage you to take a look at the source code to see how it all works, take advantage of the free underlying libraries I created to make all of this possible: Session Library and Session Volume Profile Library.
TwV Market SignalsSignals Indicator
Summary
This indicator allows traders to have in handy short and long signals and estimate the trend of the market.
The indicator draws Long and Short signals depending on the trend analysis. The indicators also use meaningful colors for traders to be able to visually understand the graphs, such us fillings on EMAs, so the possible trend is represented.
The colors used are light green for bullish, red for bearish, dark green for possible bearish to bullish change and purple for possible bullish to bearish change. These colors are applicable to all fillings and summary box.
How to use this indicator
The use of EMAs 10,20 and 50 draw the medium to long term trends, therefore avoiding signals against the trend. Furthermore the EMAs will advise possible change in trends, specially considering the 10 and 20 cross, considering that crossing the 10,20 and 50, might confirm the change in med to long term trend change of the price. This is completely visual in the chart as it tints green for positive trend and yellow to red for negative trend.
The 200 SMA is included as it also gives better confirmation to the trend, the basics tell that when the EMAs mentioned above are below the 200 SMA then the likelihood for entries in long positions are not the best and vice versa for short.
Therefore, the trader shall filter Long and Short Signals accordingly as this EMAs are not used to send Long and Short signals considering that they confirm the trend in a slow pace and not reactively to the price volatility.
There are two strategies built-in within the indicator:
Strategy 1 – Longer time trades and high volatility handling
The Long and Short Signals are based on 14 and EMAs (by default). This two Mas are used to send signals based on their crossovers as they are way more reactive to the price movement.
Trader shall consider that EMAs are used for higher timeframes, therefore the indicator has the possibility to adjust the EMAs and use SMAs or WMAs instead for one or the two parameters (14 and 21).
WMAs react faster to the price volatility so the trader shall adjust this according to the timeframe being used. (Lower timeframes suggested).
This strategy is used for trades that might keep running for longer periods of times.
For reference on what the SMAs, EMAs and WMAs are, please see below sections in the description.
Strategy 2 - Shorter time trades and unhandled high volatility
The Long and Short Signals are bases on HMA. HMAs (Hull Moving Averages) track the price movement and volatility way faster that SMAs, EMAs and WMAs, therefore as the HMA follow the price quicker, it is intended for short time trades even in higher timeframes.
Scalping is not suggested using this strategy as HMA do not handle high volatility even on higher timeframes.
One of the biggest differences from the first strategy is that there is no more than a single HMA length to work with, which is 24 as default.
HMAs calculation is different to other MAs, therefore combining various HMAs lengths looking for crossovers become trend identification a lot less precise. HMAs are not intended to be used with different length crossovers.
Exit points = The use of Stochastic and VRVP
Stochastic RSI
It is well known that when Stochastic RSI resets when overbought or oversold therefore traders have within a summary box the possibility to check whether the K & D lines in the Stochastic RSI hace crossed over bullish or bearish.
Although the crossover is not mandatory for a change trend, the crossover might be used by the trader to exit a position considering that the price might move on the opposite direction.
Traders shall look at the summary box, where bullish and bearish crossovers are shown, so they evaluate their position exit.
Visible Range Volume Profile
The use of the VRVP is to find support and resistance on the price movements. Although high and lows are used as possible supports and resistances, VRVP shows an area of confluence on the order book, where volume of positions are accumulated and that might act as support or resistance depending on the price direction.
Traders can visually activate the VRVP to see the Point of Control (POC) directly on the chart as a line (similar as how a support or resistance would be drawn). Moreover, traders have the ability to see within the summary box, whether to see if the price is above or below the POC, so they clearly know if it is acting as support or resistance.
Price Direction
Trade the market trend is well know to be used to identify possible price direction. It is important not to confuse the longer time trend drawn by the EMAs with the TTM Trend bar color. The TTM trend colors bars according to the price direction, helping traders not to confuse when a red bar appears on an up trend or green bars on a down trend.
This coloring helps traders not to exit trades based on bar coloring, which might psychologically affect when scalping or short-term trading specially.
Originally, the TTM trend is used considering the ADX in and indicator called TTM Squeeze, where the strength of the movement is measured, therefore although candle colors help with the price direction, ADX provides the trader the ability to see whether the direction is losing momentum and then catch the best possible exit before the direction change.
How to use Summary
1. Receive the Long or Short Signals using strategy 1 or 2, depending on the selected in the main menu of the indicator.
2. Evaluate the trend based on the 10,20, 50 and 200 MAs. Filter the Long and Short signals accordingly.
3. Monitor constantly the TTM Trend and the ADX for the direction and strength of the position entered and review if the momentum is being lost, considering step 4 or other possible reasons that might lead to exiting the position.
4. Once entered to a position evaluate constantly the Stochastic RSI bearish or bullish crossover or POC value on screen or summary box to exit the position.
Terminology basics
Trend indicators
Exponential Moving Average (EMAs): The base indicator is composed of moving averages of 10, 20 and 55 exponential periods, to determine a possible bullish or bearish trend (EMA Crossing)
Simple Moving Average (SMA): The base indicator is composed of a moving average of 200 simple periods, which in conjunction with the EMAs can lead to estimate potential upward or downwards moves, as well as possible resistances. (SMA Positioning)
Weighted moving average (WMA): It is a technical indicator that traders use to generate trade direction and make a long or short position. It assigns greater weighting to recent data points and less weighting on past data points. (WMA Crossing)
Strength and S/R indicators
VPVR (Volume Profile Visible Range): It allows to determine the Point of Control (POC) which is the node with the highest volume profile. This can be used as an important retest point or to calculate potential support and resistance. The POC level is represented with a red dotted line in the graph.
The VPVR is a simplified version of the “TwV Multi-timeframe Dynamic VRVP” that you can find for free use in my profile. This version calculates the main’s timeframe POC and also has the possibility to be fixed range if the trader enables it from the menu. (Dynamic range by default).
ADX (Average Directional Index): The ADX helps the indicator to estimate the strength of the movement, always considering the DI+ and DI- to not go against the trend strength. This is represented as summary text in a table.
/
Exit indicator
Stochastic RSI: It is an indicator used in technical analysis that ranges between zero and a hundred and is created by applying the Stochastic oscillator formula to a set of relative strength index (RSI) values rather than to standard price data. Using RSI values within the Stochastic formula gives traders an idea of whether the current RSI value is overbought or oversold (Exit zones)
/
Summary Panel
This panel allows the trader to have a summary of the current status (bearish or bullish) of some of the most determinant indicators within the strategy. It has the following characteristics:
It is placed on the right bottom side of the chart by the default. Traders can change its position or hidden it through the main menu of the indicator.
Its colors change according to the indicator’s values and constant change for easier detection.
The summary box shows the projection for each of the indicators (Trend, Stochastic, EMA, VPVR and ADX).
The summary box is multi-language (English and Spanish), which can be changes in the main menu of the indicator
Alerts
Within the indicator’s menu, you can set up alerts for all long, short, close long and close short signals, which might come in handy when the trader would like to have notifications on the Trading View website, desktop app or phone apps. Furthermore, there are also signals for possible exit points, which can also be activated from the indicator’s menu.
Period Value ZonesPeriod Value Zones is designed to help traders understand where current value is being found by splitting the day into 3 key periods based on common reversal times recognized for intraday trading.
By splitting the day into 3 periods, we can more efficiently determine where short-term value lies by using only the data we consider relevant during these periods of time.
> Overview
This indicator is recommended for low timeframe trading during the New York RTH Session.
By only trading within this session, we can ensure that volume and volatility remain fairly consistent.
Within each Period, you will find on the chart:
Value Area Points from Previous period (Value High(VAH)/Value Low(VAL)/Point of Control(POC))
Volume Weighted Average Price (VWAP) Cloud, based on High and Low values during the period.
Value Zone based Potential Reversal Zones.
Additional Displays:
Potential Reversal Detection Signals with Invalidation Levels
Forward Plotted Key Market times.
> Components
• Value Area Points
VAH/VAL/POC are important volume profile points which display where the market has previously held value.
We use these specific levels as support and resistance to confirm direction by monitoring interactions between price and these important levels.
The VAH and VAL lines change colors based on price's interaction with them to confirm whether that level should be regarded as support or resistance.
• VWAP Cloud
VWAP is a common metric used to determine the strength of a trend, and provides a point to look for re-bid & re-offer.
When price breaks out of our Fixed Value zone, VWAP helps us determine further direction.
Also included is VWAP deviation bands, for traders who would prefer to view the standard deviation away from this cloud as well.
• Value Reversal Zones
These Zones are calculated based on extensions of the Period Value Zone.
While in a balanced market, these zones have been shown to provide potential reversal opportunities.
• Potential Reversal Signals
These signals are based on an advanced method for confirming a higher-low or lower-high to reasonably create a signal that is not very laggy but also rooted in sound logic.
While helpful, These are NOT buy or sell signals, and you should always use further analysis to decide the next steps to take.
When a signal appears, an associated invalidation level is also displayed, if this level is crossed the associated signal is no longer considered relevant.
• Key Market Times
These are important times within the day that normally produce volatility caused by daily market catalysts.
Each key time is forward plotted 1 hour before it occurs to provide a clear heads up for potential opportunity.
Opening Fuel: Known for having an increase in Volume after the formation of the 15min Opening Range.
1st Reversal: Common Area for seeing initial large positioning effecting the market, often causing reversals.
Initial Balance Close: End of the first hour, a common positioning tool for futures traders.
2nd Reversal: Positioning is typically reactionary to IB Close, alongside Euro Traders Exiting Positions.
Euro Close: Close of Europe Session, a common positioning tool for futures traders.
Lunch: Usually Low Volume, traders are often out to lunch.
Lunch End: Volume tends to re-enter, as traders come back from lunch.
1st Reversal: New Hour, common area to see large position re-enter the market.
Bonds Close: Bonds markets close, Equities reacting to close of the bond market.
1st MOC: Initial Market on Close orders are places, market reaction is normally expected off of MOC positioning.
MOC Close: As MOC orders are reported, volatility is likely found within the market.
> Methodology
This indicator can be used with the same principles as trading balanced volume profiles.
Rule 1: Unless the price breaks and holds Value High or Value Low, we should expect buyers and sellers to maintain the current balance.
Rule 2: If we break and push away from the Period Value High, we should treat that level as supportive on retest unless we look back below and sellers defend on retest.
Rule 3: If we break and push away from the Period Value Low, we should treat that level as resistance on retest unless we look back above and buyers defend on retest.
Rule 4: If we recover Value Low, and it becomes supportive, we look for our Period POC and Period Value High as our targets above.
Rule 5: If we fail to hold Period Value High, and it becomes resistance, we look for our Period POC and Period Value Low as targets below.
Balance in the context of this indicator is considered as the area between Period Value High and Period Value Low
Acceptance outside of balance in the context of this indicator is considered as Period Value Low or High, becoming supportive or resistance.
> Examples
Theoretical Example:
In the bullish example below, price holds VWAP and makes POC supportive, showing interest from buyers pushing to Value High.
Real-World Example:
Below is an example of the same setup as the theoretical example, taking place on a real futures chart.
By utilizing these rules, we can look for opportunities at these levels and have a plan for how we should be interacting with them.
This will help us determine likely targets and risk-off levels that are based on volume and current "value" from participants.
Hybrid Profile [DW]This is an experimental study inspired by J. Peter Steidlmayer's Market Profile tool with an alternative set of calculations for analyzing price action and distribution over a defined interval.
This tool is geared toward finding price reactive points for better entry and exit positions.
In this script, price range over a user defined interval (up to 4000 bars) is divided into 50 sections, then TPOs are counted for each section to generate the distribution histogram. Histogram lines are calculated in real time, and recalculate on each new bar.
Areas of significance are displayed as purple lines in the histogram, making it incredibly simple to identify levels that price will likely react to. The significance sensitivity can be manually adjusted for desired output.
Rather than using POC, I created a series of proprietary calculations to generate what I call the Point Of Focus (POF). This line is similar to POC, but does not always follow the highest count in the distribution.
The POF is designed to experience less whipsaws than POC, which makes trading using the POF much simpler since its value is more consistent. On historical data, price has shown to either revert to or launch from the POF rather frequently.
Unlike a conventional Market Profile, this profile doesn't have a "value area". Instead it has a Mean Value Zone, which is calculated using a series of custom VWAP calculations. The output is similar to VA, but much smoother.
This script has a built in tick volume substitution for charts with no real volume data, making all elements of the script compatible with any cryptocurrency, stock, currency pair, or index you want to analyze.
A bar color scheme is included within this script which can be used to help determine dominant trend and local extremes of the interval.
This tool is not necessarily better or worse than the classic Market Profile, nor is it a replacement for Volume Profile.
However, this is a powerful alternative that can both simplify and improve your technical analysis.
Profile Any Indicator [Kioseff Trading]Create a visible-range profile for almost any indicator!
Hello!
This script "Profile Any Indicator" allows you to create a visible-range profile for *almost* any indicator hosted on TradingView.
Therefore, the only requirement:
1. Indicator must have a retrievable plot value.
Should your indicator have a retrievable plot value (most indicators do), you can use this script to create a visible-range profile of its values!
Consequently, the profile's always oriented to the left-most or right-most side of your chart - updating as you scroll left or right.
The image above shows me using the indicator to create a profile for MACD. I am largely zoomed out and the profile has adjusted to chart orientation.
Let's zoom in and see what happens!
Voila!
The indicator adjusted to my chart positioning and created a new visible-range profile! No manual adjustments are required (:
Instructions
1. Load the indicator you'd like to profile on the chart.
The image above shows me applying the OBV indicator to the chart. Additionally, the "Profile Any Indicator" script is also loaded on the chart, instructing me to add an indicator to its settings.
2. From the settings for "Profile Any indicator", locate the "Indicator" setting and select the indicator you would like to profile.
The image above shows me selecting the OBV indicator in the settings for "Profile Any Indicator".
Once steps 1 and 2 are complete you'll have a visible-range profile for the selected indicator on your chart!
The image above shows the completion of the process.
3. Merge the indicator pane or select to plot the selected indicator in the current pane.
From here, you can select to plot the value of the selected indicator in the current pane or merge the selected indicator's pane (which must stay on the chart) with the pane designated to the "Profile Any Indicator" script.
The image above shows the two panes merged.
The image above shows the two panes separate. Alternatively, in the settings for "Profile Any Indicator", I selected to plot OBV in its pane.
You can select to populate the visible-range profile on the right of the chart!
Additionally, you can modify the POC line, value area %, and, essentially, any parameter you'd find for a volume-profile-like indicator!
Thanks for checking this out (:
Lorentzian Classification - Advanced Trading DashboardLorentzian Classification - Relativistic Market Analysis
A Journey from Theory to Trading Reality
What began as fascination with Einstein's relativity and Lorentzian geometry has evolved into a practical trading tool that bridges theoretical physics and market dynamics. This indicator represents months of wrestling with complex mathematical concepts, debugging intricate algorithms, and transforming abstract theory into actionable trading signals.
The Theoretical Foundation
Lorentzian Distance in Market Space
Traditional Euclidean distance treats all feature differences equally, but markets don't behave uniformly. Lorentzian distance, borrowed from spacetime geometry, provides a more nuanced similarity measure:
d(x,y) = Σ ln(1 + |xi - yi|)
This logarithmic formulation naturally handles:
Scale invariance: Large price moves don't overwhelm small but significant patterns
Outlier robustness: Extreme values are dampened rather than dominating
Non-linear relationships: Captures market behavior better than linear metrics
K-Nearest Neighbors with Relativistic Weighting
The algorithm searches historical market states for patterns similar to current conditions. Each neighbor receives weight inversely proportional to its Lorentzian distance:
w = 1 / (1 + distance)
This creates a "gravitational" effect where closer patterns have stronger influence on predictions.
The Implementation Challenge
Creating meaningful market features required extensive experimentation:
Price Features: Multi-timeframe momentum (1, 2, 3, 5, 8 bar lookbacks) Volume Features: Relative volume analysis against 20-period average
Volatility Features: ATR and Bollinger Band width normalization Momentum Features: RSI deviation from neutral and MACD/price ratio
Each feature undergoes min-max normalization to ensure equal weighting in distance calculations.
The Prediction Mechanism
For each current market state:
Feature Vector Construction: 12-dimensional representation of market conditions
Historical Search: Scan lookback period for similar patterns using Lorentzian distance
Neighbor Selection: Identify K nearest historical matches
Outcome Analysis: Examine what happened N bars after each match
Weighted Prediction: Combine outcomes using distance-based weights
Confidence Calculation: Measure agreement between neighbors
Technical Hurdles Overcome
Array Management: Complex indexing to prevent look-ahead bias
Distance Calculations: Optimizing nested loops for performance
Memory Constraints: Balancing lookback depth with computational limits
Signal Filtering: Preventing clustering of identical signals
Advanced Dashboard System
Main Control Panel
The primary dashboard provides real-time market intelligence:
Signal Status: Current prediction with confidence percentage
Neighbor Analysis: How many historical patterns match current conditions
Market Regime: Trend strength, volatility, and volume analysis
Temporal Context: Real-time updates with timestamp
Performance Analytics
Comprehensive tracking system monitors:
Win Rate: Percentage of successful predictions
Signal Count: Total predictions generated
Streak Analysis: Current winning/losing sequence
Drawdown Monitoring: Maximum equity decline
Sharpe Approximation: Risk-adjusted performance estimate
Risk Assessment Panel
Multi-dimensional risk analysis:
RSI Positioning: Overbought/oversold conditions
ATR Percentage: Current volatility relative to price
Bollinger Position: Price location within volatility bands
MACD Alignment: Momentum confirmation
Confidence Heatmap
Visual representation of prediction reliability:
Historical Confidence: Last 10 periods of prediction certainty
Strength Analysis: Magnitude of prediction values over time
Pattern Recognition: Color-coded confidence levels for quick assessment
Input Parameters Deep Dive
Core Algorithm Settings
K Nearest Neighbors (1-20): More neighbors create smoother but less responsive signals. Optimal range 5-8 for most markets.
Historical Lookback (50-500): Deeper history improves pattern recognition but reduces adaptability. 100-200 bars optimal for most timeframes.
Feature Window (5-30): Longer windows capture more context but reduce sensitivity. Match to your trading timeframe.
Feature Selection
Price Changes: Essential for momentum and reversal detection Volume Profile: Critical for institutional activity recognition Volatility Measures: Key for regime change detection Momentum Indicators: Vital for trend confirmation
Signal Generation
Prediction Horizon (1-20): How far ahead to predict. Shorter horizons for scalping, longer for swing trading.
Signal Threshold (0.5-0.9): Confidence required for signal generation. Higher values reduce false signals but may miss opportunities.
Smoothing (1-10): EMA applied to raw predictions. More smoothing reduces noise but increases lag.
Visual Design Philosophy
Color Themes
Professional: Corporate blue/red for institutional environments Neon: Cyberpunk cyan/magenta for modern aesthetics
Matrix: Green/red hacker-inspired palette Classic: Traditional trading colors
Information Hierarchy
The dashboard system prioritizes information by importance:
Primary Signals: Largest, most prominent display
Confidence Metrics: Secondary but clearly visible
Supporting Data: Detailed but unobtrusive
Historical Context: Available but not distracting
Trading Applications
Signal Interpretation
Long Signals: Prediction > threshold with high confidence
Look for volume confirmation
- Check trend alignment
- Verify support levels
Short Signals: Prediction < -threshold with high confidence
Confirm with resistance levels
- Check for distribution patterns
- Verify momentum divergence
- Market Regime Adaptation
Trending Markets: Higher confidence in directional signals
Ranging Markets: Focus on reversal signals at extremes
Volatile Markets: Require higher confidence thresholds
Low Volume: Reduce position sizes, increase caution
Risk Management Integration
Confidence-Based Sizing: Larger positions for higher confidence signals
Regime-Aware Stops: Wider stops in volatile regimes
Multi-Timeframe Confirmation: Align signals across timeframes
Volume Confirmation: Require volume support for major signals
Originality and Innovation
This indicator represents genuine innovation in several areas:
Mathematical Approach
First application of Lorentzian geometry to market pattern recognition. Unlike Euclidean-based systems, this naturally handles market non-linearities.
Feature Engineering
Sophisticated multi-dimensional feature space combining price, volume, volatility, and momentum in normalized form.
Visualization System
Professional-grade dashboard system providing comprehensive market intelligence in intuitive format.
Performance Tracking
Real-time performance analytics typically found only in institutional trading systems.
Development Journey
Creating this indicator involved overcoming numerous technical challenges:
Mathematical Complexity: Translating theoretical concepts into practical code
Performance Optimization: Balancing accuracy with computational efficiency
User Interface Design: Making complex data accessible and actionable
Signal Quality: Filtering noise while maintaining responsiveness
The result is a tool that brings institutional-grade analytics to individual traders while maintaining the theoretical rigor of its mathematical foundation.
Best Practices
- Parameter Optimization
- Start with default settings and adjust based on:
Market Characteristics: Volatile vs. stable
Trading Timeframe: Scalping vs. swing trading
Risk Tolerance: Conservative vs. aggressive
Signal Confirmation
Never trade on Lorentzian signals alone:
Price Action: Confirm with support/resistance
Volume: Verify with volume analysis
Multiple Timeframes: Check higher timeframe alignment
Market Context: Consider overall market conditions
Risk Management
Position Sizing: Scale with confidence levels
Stop Losses: Adapt to market volatility
Profit Targets: Based on historical performance
Maximum Risk: Never exceed 2-3% per trade
Disclaimer
This indicator is for educational and research purposes only. It does not constitute financial advice or guarantee profitable trading results. The Lorentzian classification system reveals market patterns but cannot predict future price movements with certainty. Always use proper risk management, conduct your own analysis, and never risk more than you can afford to lose.
Market dynamics are inherently uncertain, and past performance does not guarantee future results. This tool should be used as part of a comprehensive trading strategy, not as a standalone solution.
Bringing the elegance of relativistic geometry to market analysis through sophisticated pattern recognition and intuitive visualization.
Thank you for sharing the idea. You're more than a follower, you're a leader!
@vasanthgautham1221
Trade with precision. Trade with insight.
— Dskyz , for DAFE Trading Systems
SpaceTime Profile Regular SpaceManBTCSpaceTime Profile Regular SpaceManBTC
Is a profiling tool for a market session.
Using time and price it calculates the TPO mapping the POC on your chart as well as the general profile.
The tool is useful as it can give you a general idea of how a day traded/is trading based off of its shape.
As well as provides the current developing POC as a reference for potentially a dynamic level of interest.
Value area shading is also including in the release using 68% as my reference of personal choice to represent where
bulk of the market activity occured on a given time frame.
To generate the data the indicator aims to look at the price variations over time of the given session (you can choose this in settings), this will then stack
and overlay on the chart to generate the TPO calculations by mapping 1 to 1 with the price you see on the chart.
This will give you areas of importance such as the POC which can be retested when naked providing a point of interest.
Works similar to volume profile but with no volume calculations only with price and time in mind.
Very useful tool for trend / market analysis by providing this graphical representation of a trading session between buyers and sellers!
Multi Timeframe 8x MA Support Resistance Zones [SiDec]Multi-Timeframe Moving Average Support/Resistance Zones: The Ultimate Trading Power Tool
Indicator Overview
Get ready to elevate your trading game with the Multi-Timeframe Moving Average Support/Resistance Zones indicator. This advanced tool is engineered for traders who want to maximize efficiency without constantly switching between timeframes. By dynamically plotting support and resistance zones using the 21 SMA and 21 EMA, it reveals crucial price levels where trends may pause, reverse, or accelerate—giving you actionable insights in a fraction of the time.
Imagine seeing all the relevant timeframe zones on one chart, without ever needing to flip between timeframes—saving you time and allowing you to focus on what really matters.
Core Features
Dynamic Zones That Adjust in Real-Time:
The area between the 21 EMA and 21 SMA is shaded, forming a "zone" on your chart. This dynamic zone adjusts live as price moves, keeping you in sync with current market behavior across multiple timeframes.
By showing these zones across all your selected timeframes, you can view everything you need at a glance—no time wasted jumping between charts.
All Timeframes, One View:
With the ability to view multiple timeframe zones simultaneously (from 5-minute to Monthly), this tool helps you spot key levels quickly without switching between timeframes. You’ll see how price interacts with these levels across different timeframes without ever having to change charts.
Higher timeframes show broader, more significant zones—giving you the market's big picture—while intraday zones help you fine-tune your entries.
Customisable Like Never Before:
Toggle Timeframes: Only activate the timeframes you care about—no distractions, just pure focus.
Color Your World: Assign different colors to each timeframe for instant visual cues (e.g., blue for Daily, gold for Weekly). This makes it easy to identify key zones across all timeframes at a glance.
Why You Need This Tool
Instant Trend Confirmation: Track how price interacts with multiple timeframe zones to confirm bullish or bearish momentum in real-time.
Confluence = High Confidence: When zones from multiple timeframes overlap, you’ve found a high-probability reversal area. This is where the market is likely to turn, and where your edge lies.
Efficiency at Its Best: No more switching between timeframes—everything you need is in one place, giving you more time to trade and less time spent on analysis.
Configuration Instructions
1.) Timeframe Selection:
Choose which timeframes to display using the Timeframe Selection panel.
Intraday Focus: 5m, 15m, 1H.
Swing/Long-Term Focus: 4H, 12H, Daily, Weekly, Monthly.
Color Coding: Assign a distinct color to each timeframe for instant identification—like having a personal color-coded trading roadmap.
2.) MA Settings:
MA Types:
21 EMA: Perfect for capturing short-term trends and fast price action.
21 SMA: The smooth operator for spotting longer-term trends with more consistency.
Recommended Periods: The 21-period MA works wonders for trend detection across various timeframes. You can also integrate Fibonacci-based MAs (e.g., 55, 233) for enhanced confluence.
3.) Visual Tweaks:
Opacity: Adjust the zone transparency (80-90% opacity keeps it visible yet non-intrusive).
Zone Extensions: Customize how far zones extend backward and forward, capturing the full impact of support/resistance levels.
Labels: Show real-time MA values and timeframe-specific details for further clarity.
Trading Strategies That Pack a Punch
1.) Trend Confirmation:
Uptrend: Price staying above the 21 EMA and 21 SMA suggests a bullish trend.
Downtrend: Price holding below these MAs signals a bearish market.
2.) Zone-Based Reversals:
Entry: Look for price to retrace to a higher timeframe support zone (e.g., Daily 21 SMA) with confirmation from oversold/overbought indicators like RSI.
Exit: Time to sell when price breaks through a critical zone, like the 4H 21 EMA.
3.) Confluence Trading:
Combine the zones with other indicators to amplify your trade setups:
Fibonacci Levels: When a 61.8% retracement lines up with an MA zone, you’ve found a high-confluence area.
Volume Profile: High-volume nodes near key zones strengthen their significance.
Best Practices for Maximum Profit
Focus on Higher Timeframes: Weekly and Monthly zones carry more weight, making them more significant in decision-making.
Avoid Clutter: If you’re trading higher timeframes, disable intraday timeframes like 5m and 15m to keep your chart clear and focused.
Risk Management: Zones are probabilities, not guarantees. Always use stop-loss orders to protect your trades.
Example of a Winning Setup
Scenario:
Price retraces to the 1H 21 EMA zone.
The Daily 21 SMA zone is nearby—talk about confluence!
RSI shows oversold conditions, indicating a potential reversal.
Action:
Enter long on a bullish candlestick pattern (e.g., bullish engulfing).
Set your stop-loss just below the Daily 21 SMA zone.
Target the next higher timeframe resistance.
Performance Considerations
Repainting Risk: Zones might slightly adjust with the formation of new bars, but the changes will typically be minimal.
Enhance with Oscillators: Use momentum indicators like MACD or Stochastic and volume analysis for even more confirmation.
Conclusion
The Multi-Timeframe Moving Average Support/Resistance Zones indicator isn’t just a tool—it’s a game-changer. With the ability to view all relevant timeframe zones on one chart, you can make decisions faster, spot high-confluence areas, and trade with greater precision. The time you save by not switching between timeframes can make all the difference in your trading success.
Maximise your trading edge—harness the power of multi-timeframe analysis, gain more time to trade, and dominate the market like never before. 📊🔍
Futures Full FS ScreenerFull FS Screener
This indicator allows traders to have a view of multiple pairs and timeframes buy/sell signals and specific information of parameters, based on the Futures FS Indicator also developed by me.
Futures FS Indicator Fundamentals
1. Exponential Moving Average (EMAs): The base indicator is composed of moving averages of 5, 10, 11, 13, 36 and 55 exponential periods.
2. Squeeze Momentum: This indicator allows the signals to go with the trend and not against it.
3. VPVR (Volume Profile Visible Range): It allows to determine the Point of Control (POC) which is the node with the highest volume profile. This can be used as an important retest point or to calculate potential support and resistance.
4. ADX (Average Directional Index): The ADX helps the indicator to estimate the strength of the movement, always considering the DI+ and DI- to not go against the trend.
5. RSI (Relative Strength Index): The RSI helps measuring the speed and magnitude of the recent price changes to evaluate overvalued or undervalued conditions in the price of that security. The indicator considers RSI 5, 13 and 50 as bottom and top, respectively.
6. MACD (Moving average convergence divergence): The MACD is a trend-following momentum indicator that shows the relationship between moving averages. The indicator uses moving averages of 5, 8 and 21).
7. The trend is determined according to these parameters and their different values, which might indicate that we are in a bullish or bearish trend. The trend has a max positive (bullish) value of 6 and a max negative (bearish) value of -6.
Full Screener Panel
This panel allows the trader to monitor multiple pairs at a single screen, giving an immediate vision of possible entries and exits (Long/Short/Strong Long/Strong Short Signals). Moreover, allows traders to have handy all information of the Future FS Indicator that might be analyzed further for each pair. It has the following characteristics:
• It can be placed anywhere on the screen through the main menu of the indicator.
• It can be combined with the same indicator multiple times, as per screener is limited to show 40 pairs, you can select the number of panels being added to adjust position one next to each other.
• It strengthens colors when a pair has changed its signals in order to the trader to know immediate changes and then do the follow up
• The screener shows the pairs, which can be changed within the menus.
• The screener shows the Long, Short, Strong Long and Strong Short Signals in its las column but previously, it shows the parameters that determined the possible position. Therefore, the EMAs, SQZ, ADX, VPVR, RSI and MACD calculated internally, are also summarized in the screener.
For analyzing a specific pair, refer to the TwV Futures Indicator – FS, which is other indicator that might be on my TradingView Profile and that was used as base for the screener.
Futures Simple FS ScreenerSimple FS Screener
This indicator allows traders to have a simple view of multiple pairs and timeframe buy/sell signals, based on the Futures FS Indicator also developed by me.
Futures FS Indicator Fundamentals
1. Exponential Moving Average (EMAs): The base indicator is composed of moving averages of 5, 10, 11, 13, 36 and 55 exponential periods.
2. Squeeze Momentum: This indicator allows the signals to go with the trend and not against it.
3. VPVR (Volume Profile Visible Range): It allows to determine the Point of Control (POC) which is the node with the highest volume profile. This can be used as an important retest point or to calculate potential support and resistance.
4. ADX (Average Directional Index): The ADX helps the indicator to estimate the strength of the movement, always considering the DI+ and DI- to not go against the trend.
5. RSI (Relative Strength Index): The RSI helps measuring the speed and magnitude of the recent price changes to evaluate overvalued or undervalued conditions in the price of that security. The indicator considers RSI 5, 13 and 50 as bottom and top, respectively.
6. MACD (Moving average convergence divergence): The MACD is a trend-following momentum indicator that shows the relationship between moving averages. The indicator uses moving averages of 5, 8 and 21).
Simple Screener Panel
This panel allows the trader to monitor multiple pairs at a single screen, giving an immediate vision of possible entries and exits (Long/Short/Strong Long/Strong Short Signals). It has the following characteristics:
It can be placed anywhere on the screen through the main menu of the indicator.
It can be combined with the same indicator multiple times, as per screener is limited to show 40 pairs, you can select the number of panels being added to adjust position one next to each other.
It strengthens colors when a pair has changed its signals in order to the trader to know immediate changes and then do the follow up
The screener shows the pairs (which can be changed within the menus) and as part of being the simple screener it shows the Long, Short, Strong Long and Strong Short Signals. Therefore, the EMAs, SQZ, ADX, VPVR, RSI and MACD are calculated internally and its data will not be shown.
For viewing all parameters, refer to the Futures FS Full Screener or the TwV Futures Indicator – FS, which are other indicators that might be on my TradingView Profile
Adaptive Range Scalper - KetBotAIThe Adaptive Scalper is designed to dynamically adjust entry, take-profit (TP), and stop-loss (SL) levels based on the latest market price. It combines multiple tools to provide traders with actionable insights, suitable for a range of trading styles and timeframes.
How the Indicator Works
Dynamic Levels:
- Yellow Dotted Line: Represents the entry level, following the latest price dynamically.
- Green Line: The Take Profit (TP) level, calculated as a multiple of the current price, adapts in real-time.
- Red Line: The Stop Loss (SL) level, placed below the price and also dynamically adjusts.
Bollinger Bands:
Provides context for market volatility and potential overbought/oversold zones.
Narrowing bands signal consolidation, while expanding bands indicate increased volatility.
Buy and Sell Signals:
Buy Signal: Triggered when the price crosses above the lower Bollinger Band.
Sell Signal: Triggered when the price crosses below the upper Bollinger Band.
These signals help traders time entries and exits based on momentum shifts.
Risk/Reward Analysis:
Visual shading shows the favorable risk/reward zone between the stop loss and take profit levels.
Timeframe Suggestions
Short-Term Traders (Scalping):
Use on 5-minute to 15-minute charts.
Focus on high-volatility periods for quick entries and exits.
Intraday Traders:
Ideal for 30-minute to 1-hour charts.
Provides more stable signals and less noise.
Swing Traders:
Best suited for 4-hour or daily charts.
Captures broader trends with fewer signals, allowing for larger moves.
Tool Combination
Volume Profile:
Combine with volume-based tools to confirm key support/resistance zones around TP and SL levels.
Trend Indicators:
Use with Moving Averages (e.g., 20-period or 50-period) to identify the broader trend direction.
Example: Only take buy signals in an uptrend and sell signals in a downtrend.
Momentum Oscillators:
Pair with tools like RSI or MACD to avoid entering overbought/oversold conditions.
Support/Resistance Lines:
Manually mark significant levels to confirm alignment with the indicator’s TP and SL zones.
Useful Advice for Traders
Risk Management:
- Always assess the risk/reward ratio; aim for at least 1:2 (risking 1 to gain 2).
- Adjust the multiplier to match your trading style (e.g., higher multiplier for swing trades, lower for scalping).
Avoid Overtrading:
Use the indicator in conjunction with clear rules to avoid false signals during low-volatility periods.
Monitor market volatility:
Pay attention to narrowing Bollinger Bands, which signal consolidations. Avoid trading until a breakout occurs.
Test on Demo Accounts:
Practice using the indicator on a demo account to understand its behavior across different assets and timeframes.
Focus on High-Liquidity Markets:
For the best results, trade highly liquid instruments like major currency pairs, gold, or stock indices.
Summary
The Adaptive Range Indicator dynamically adjusts to market conditions, offering clear entry and exit levels. By combining it with Bollinger Bands and other tools, traders can better navigate market trends and avoid noise. It’s versatile across multiple timeframes and assets, making it a valuable addition to any trader’s toolkit.
Normal Distribution CurveThis Normal Distribution Curve is designed to overlay a simple normal distribution curve on top of any TradingView indicator. This curve represents a probability distribution for a given dataset and can be used to gain insights into the likelihood of various data levels occurring within a specified range, providing traders and investors with a clear visualization of the distribution of values within a specific dataset. With the only inputs being the variable source and plot colour, I think this is by far the simplest and most intuitive iteration of any statistical analysis based indicator I've seen here!
Traders can quickly assess how data clusters around the mean in a bell curve and easily see the percentile frequency of the data; or perhaps with both and upper and lower peaks identify likely periods of upcoming volatility or mean reversion. Facilitating the identification of outliers was my main purpose when creating this tool, I believed fixed values for upper/lower bounds within most indicators are too static and do not dynamically fit the vastly different movements of all assets and timeframes - and being able to easily understand the spread of information simplifies the process of identifying key regions to take action.
The curve's tails, representing the extreme percentiles, can help identify outliers and potential areas of price reversal or trend acceleration. For example using the RSI which typically has static levels of 70 and 30, which will be breached considerably more on a less liquid or more volatile asset and therefore reduce the actionable effectiveness of the indicator, likewise for an asset with little to no directional volatility failing to ever reach this overbought/oversold areas. It makes considerably more sense to look for the top/bottom 5% or 10% levels of outlying data which are automatically calculated with this indicator, and may be a noticeable distance from the 70 and 30 values, as regions to be observing for your investing.
This normal distribution curve employs percentile linear interpolation to calculate the distribution. This interpolation technique considers the nearest data points and calculates the price values between them. This process ensures a smooth curve that accurately represents the probability distribution, even for percentiles not directly present in the original dataset; and applicable to any asset regardless of timeframe. The lookback period is set to a value of 5000 which should ensure ample data is taken into calculation and consideration without surpassing any TradingView constraints and limitations, for datasets smaller than this the indicator will adjust the length to just include all data. The labels providing the percentile and average levels can also be removed in the style tab if preferred.
Additionally, as an unplanned benefit is its applicability to the underlying price data as well as any derived indicators. Turning it into something comparable to a volume profile indicator but based on the time an assets price was within a specific range as opposed to the volume. This can therefore be used as a tool for identifying potential support and resistance zones, as well as areas that mark market inefficiencies as price rapidly accelerated through. This may then give a cleaner outlook as it eliminates the potential drawbacks of volume based profiles that maybe don't collate all exchange data or are misrepresented due to large unforeseen increases/decreases underlying capital inflows/outflows.
Thanks to @ALifeToMake, @Bjorgum, vgladkov on stackoverflow (and possibly some chatGPT!) for all the assistance in bringing this indicator to life. I really hope every user can find some use from this and help bring a unique and data driven perspective to their decision making. And make sure to please share any original implementaions of this tool too! If you've managed to apply this to the average price change once you've entered your position to better manage your trade management, or maybe overlaying on an implied volatility indicator to identify potential options arbitrage opportunities; let me know! And of course if anyone has any issues, questions, queries or requests please feel free to reach out! Thanks and enjoy.
Pin Candle DetectionPin candles are a variation of hammer candles that are useful in technical analysis . In particular, when combined with volume profile studies, they can be a powerful set up for long entries or other decision making.
For example, when looking at volume profiles, a long entry would be a fair value area (i.e. 40%) below the close of a pin candle. When combined with a support level , the set up is stronger.
While most scripts look for hammer candles, pin candles are somewhat different in that the length of the wick is significant.
This script and its parameters was built for ES futures 15 min chart in mind.
This script is unique in that it allows for the below parameters to be adjusted to suit other instruments and timeframes:
1. Fib level: Candle must close within a certain retracement level). My preference is 0.55. Some traders like 0.5, while others prefer 0.33
2. Wick length: Pin candles differ from pure hammers in that the length of the wick must be significant. My preference is 7 points on ES (as in $ and not ticks)
Add this script to your alerts to no longer miss these set ups.
Bar Bodies [vnhilton]Note: Go to "Chart Settings" & hide "Body" & "Borders". Also uncheck "Labels on price scale" & "Values in status line" as they're not needed.
This script plots candlestick bodies with the same thickness as the wicks (similar to the bar chart, but without the horizontal lines to represent the open & close). To do this, it plots an invisible candlestick body with an invisible candlestick border from the high to the close/open for a green/red candle respectively, & uses the low wick as the candlestick body itself by plotting it from the low price to the open/close for a green/red candle respectively.
My personal use for this script is to use it in conjunction with TradingView's Periodic Volume Profile, in order to still see OHLC data without obstructing the candlesticks' volume profiles, as seen in the chart snapshot image above.
IDKFAIDKFA - Advanced Order Blocks & Volume Profile with Market Structure Analysis
Why IDKFA?
Named after the legendary DOOM cheat code that gives players "all weapons and full ammo," IDKFA provides traders with a comprehensive arsenal of market analysis tools. Just as the cheat code arms players with everything needed for combat, this indicator equips traders with essential market structure tools: Order Blocks, Volume Profile, LVN/HVN areas, Fibonacci retracements, and intelligent buy/sell signals - all in one unified system.
Core Features
Order Blocks Detection
Automatically identifies institutional order blocks using pivot high/low analysis
Extends blocks dynamically until price interaction occurs
Bullish blocks (demand zones) and bearish blocks (supply zones)
Customizable opacity and extend functionality
Advanced Volume Profile
Real-time volume profile calculation for multiple session types
Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL)
Mode 1: Side-by-side bull/bear volume display
Mode 2: Overlapped volume display with percentage analysis
Shows buying vs selling pressure at each price level
LVN/HVN Area Detection
Low Volume Nodes (LVN): Areas below VAL where price moves quickly
High Volume Nodes (HVN): Areas above VAH with strong resistance
NPOC (Naked Point of Control): Single print areas within Value Area
Volume-based gradient coloring shows relative activity levels
Smart Fibonacci Retracements
Auto-detects trend direction for proper fibonacci orientation
Dynamic color coding: Red levels in uptrends, Gold in downtrends
Special 88.6% level turns lime green in downtrends
Key levels: 23.6%, 38.2%, 50%, 61.8%, 65%, 78.6%, 88.6%
Intelligent Signal System
Works best on higher timeframes
Identifies high-probability reversal setups at key levels
Buy signals: Large bearish rejection followed by bullish reclaim
Sell signals: Large bullish rejection followed by bearish breakdown
Signals only trigger near significant support/resistance areas
Signal Analysis & Usage Guidelines
Buy Signal Mechanics
The buy signal triggers when:
Previous candle shows significant bearish movement (minimum ATR multiplier)
Current candle reclaims a configurable percentage of the previous candle's range
Price is near a key support level (order blocks, fibonacci, volume levels)
Sell Signal Mechanics
The sell signal triggers when:
Previous candle shows significant bullish movement (minimum ATR multiplier)
Current candle rejects below a configurable percentage of the previous candle's range
Price is near a key resistance level (order blocks, fibonacci, volume levels)
When to TAKE Signals
High Probability Buy Signals:
Signal appears AT or BELOW the VAL (Value Area Low)
Signal occurs at bullish order block confluence
Price is in LVN area below VAL (momentum acceleration zone)
Signal aligns with fibonacci 61.8% or 78.6% support
Multiple session POC levels provide support confluence
Previous session's VAL acting as current support
High Probability Sell Signals:
Signal appears AT or ABOVE the VAH (Value Area High)
Signal occurs at bearish order block confluence
Price is in HVN area above VAH (heavy resistance zone)
Signal aligns with fibonacci 61.8% or 78.6% resistance
Multiple session POC levels provide resistance confluence
Previous session's VAH acting as current resistance
When to AVOID Signals
Avoid Buy Signals When:
Signal appears ABOVE the VAH (buying into resistance)
Price is in HVN red zones (high volume resistance areas)
No clear support structure below current price
Volume profile shows heavy selling pressure (high bear percentages)
Signal occurs during low-volume periods between major sessions
Multiple bearish order blocks exist below current price
Avoid Sell Signals When:
Signal appears BELOW the VAL (selling into support)
Price is in LVN green zones (momentum could continue)
No clear resistance structure above current price
Volume profile shows heavy buying pressure (high bull percentages)
Signal occurs during Asian session ranges without clear direction
Multiple bullish order blocks exist above current price
Volume Profile Context for Signals
Understanding Bull/Bear Percentages:
70%+ Bull dominance at a level = Strong support expected
70%+ Bear dominance at a level = Strong resistance expected
50/50 Split = Neutral zone, less predictable
Use percentages to gauge conviction behind moves
POC (Point of Control) Interactions:
Signals above POC in uptrend = Higher probability
Signals below POC in downtrend = Higher probability
Signals against POC bias require extra confirmation
POC often acts as magnetic level for price return
Trading Strategies
Strategy 1: VAL/VAH Bounce Strategy
Wait for price to approach VAL (support) or VAH (resistance)
Look for signal confirmation at these critical levels
Enter with tight stops beyond the Value Area
Target opposite boundary or next session's levels
Strategy 2: Order Block + Volume Confluence
Identify order block alignment with VAL/VAH
Wait for signal within the confluence zone
Enter on signal with stop beyond order block
Use LVN areas as acceleration zones for targets
Strategy 3: LVN/HVN Strategy
LVN (Green) Areas: "Go Zones" - expect quick price movement through low volume
HVN (Red) Areas: "Stop Zones" - expect resistance and potential reversals
NPOC Areas: "Fill Zones" - price often returns to fill single print gaps
Strategy 4: Multi-Session Analysis
Use Daily/Weekly for major structure context
Use 4H for intermediate levels
Use 1H for precise entry timing
Ensure all timeframes align before taking signals
Strategy 5: Fibonacci + Volume Profile
Buy signals at 61.8% or 78.6% fibonacci near VAL
Sell signals at 61.8% or 78.6% fibonacci near VAH
Use 88.6% level as final support/resistance before major moves
50% level often aligns with POC for confluence
Signal Quality Assessment
Grade A Signals (Highest Probability):
Signal at VAL/VAH with order block confluence
Fibonacci level alignment (61.8%, 78.6%)
Volume profile shows 70%+ dominance in signal direction
Multiple timeframe structure alignment
Signal occurs during high-volume sessions (London/NY)
Grade B Signals (Moderate Probability):
Signal near POC with some confluence
Fibonacci 50% or 38.2% alignment
Mixed volume profile readings (50-70% dominance)
Some timeframe alignment present
Signal during overlap sessions
Grade C Signals (Lower Probability):
Signal with minimal confluence
Weak fibonacci alignment or none
Volume profile neutral or against signal
Conflicting timeframe signals
Signal during low-volume periods
Risk Management Guidelines
Position Sizing Based on Signal Quality:
Grade A: Standard position size
Grade B: Reduced position size (50-75%)
Grade C: Minimal position size (25%) or skip entirely
Stop Loss Placement:
Beyond order block boundaries
Outside Value Area (VAL/VAH)
Below/above fibonacci confluence levels
Account for session volatility ranges
Profit Targets:
First target: Opposite VAL/VAH boundary
Second target: Next session's key levels
Final target: Major order blocks or fibonacci extensions
Credits & Attribution
Original components derived from:
Market Sessions & Volume Profile by © Leviathan (Mozilla Public License 2.0)
Volume Profile elements inspired by @LonesomeTheBlue's volume profile script
Pivot Order Blocks by TradingWolf / © MensaTrader (Mozilla Public License 2.0)
Auto Fibonacci Retracement code (public domain)
Significant enhancements and modifications include:
Advanced LVN/HVN detection and visualization
Bull/Bear percentage analysis for Mode 2/3
Comprehensive alert system with market context
Integrated buy/sell signals at key levels
Performance optimizations and extended session support
Enhanced Mode 2/3 with percentage pressure analysis
Important Disclaimers
This indicator is a technical analysis tool designed for educational purposes. It does not provide financial advice, investment recommendations, or trading signals that guarantee profits. All trading involves substantial risk of loss, and past performance does not guarantee future results. Users should conduct their own research, understand the risks involved, and consider consulting with qualified financial advisors before making trading decisions. The signals and analysis provided are based on historical price patterns and volume data, which may not predict future market movements accurately.
Best Practices
Never trade signals blindly - always consider volume profile context
Wait for confluence between multiple tools before entering
Respect the Value Area - avoid buying above VAH or selling below VAL
Use session context - Asian ranges vs London/NY breakouts
Practice proper risk management - position size based on signal quality
Understand the bigger picture - use multiple timeframes for context
Remember: Like the IDKFA cheat code, having all the tools doesn't guarantee success. The key is learning to use them together effectively and understanding when NOT to take a signal is often more important than knowing when to take one.
Liquidity Levels/Voids (VP) [LuxAlgo]The Liquidity Levels/Voids (VP) is a script designed to detect liquidity voids & levels by measuring traded volume at all price levels on the market between two swing points and highlighting the distribution of the liquidity voids & levels at specific price levels.
🔶 USAGE
Liquidity is a fundamental market force that shapes the trajectory of assets.
The creation of a liquidity level comes as a result of an initial imbalance of supply/demand, which forms what we know as a swing high or swing low. As more players take positions in the market, these are levels that market participants will use as a historical reference to place their stops. When the levels are then re-tested, a decision will be made. The binary outcome here can be a breakout of the level or a reversal back to the mean.
Liquidity voids are sudden price changes that occur in the market when the price jumps from one level to another with little trading activity (low volume), creating an imbalance in price. The price tends to fill or retest the liquidity voids area, and traders understand at which price level institutional players have been active.
Liquidity voids are a valuable concept in trading, as they provide insights about where many orders were injected, creating this inefficiency in the market. The price tends to restore the balance.
🔶 SETTINGS
The script takes into account user-defined parameters and detects the liquidity voids based on them, where detailed usage for each user-defined input parameter in indicator settings is provided with the related input's tooltip.
🔹 Liquidity Levels / Voids
Liquidity Levels/Voids: Color customization option for Unfilled Liquidity Levels/Voids.
Detection Length: Lookback period used for the calculation of Swing Levels.
Threshold %: Threshold used for the calculation of the Liquidity Levels & Voids.
Sensitivity: Adjusts the number of levels between two swing points, as a result, the height of a level is determined, and then based on the above-given threshold the level is checked if it matches the liquidity level/void conditions.
Filled Liquidity Levels/Voids: Toggles the visibility of the Filled Liquidity Levels/Voids and color customization option for Filled Liquidity Levels/Voids.
🔹 Other Features
Swing Highs/Lows: Toggles the visibility of the Swing Levels, where tooltips present statistical information, such as price, price change, and cumulative volume between the two swing levels detected based on the detection length specified above, Coloring options to customize swing low and swing high label colors, and Size option to adjust the size of the labels.
🔹 Display Options
Mode: Controls the lookback length of detection and visualization.
# Bars: Lookback length customization, in case Mode is set to Present.
🔶 RELATED SCRIPTS
Liquidity-Voids-FVG
Buyside-Sellside-Liquidity
Swing-Volume-Profiles
Historic VPoCs and pseudo VPVRThis study tries to recreate session based historic VPoCs
and VPVR Volume Profile
as they are used by
TradingLatino TradingView user.
It's aimed at BTCUSDT pair and 4h timeframe.
HOW IT WORKS
HOW IT WORKS - VPVR Profile Block
It gathers volume from the last chosen Bars
in order to draw the vpvr profile block
Volume that intersects with current level range
being studied is added to its value.
Additionally the current level price is modified
so that it matches the level price where most
of the volume has concentrated
So you get a pretty accurate price for drawn volume
while at the same time the levels are not stuck
to arbitrary level prices.
HOW IT WORKS - VPoC
It calculates a Volume Profile for the
given historic session but then
it only outputs that Volume Profile VPoC.
SETTINGS
Show VPVR Volume Profile {True}.
Show Historic VPoC lines {True}.
Show Historic VPoC labels {True}.
Extend Historic VPoC lines {True}: If this option is turned off the VPoC lines are only shown during the session duration.
Show tick difference from current price {False}: BETA. Feedback is needed because I'm not sure how it should work this setting.
VPVR Number of bars {100}: Define the Visible Range in number of bars so that its Volume Profile can be shown.
VPVR Profile width (in bars) {15}: VPVR Profile can be make larger or smaller in width thanks to this option.
VPVR Profile offset (in bars) {15}: VPVR Profile can be shown more to the left or to the right if the defaults do not suit you.
Historic Session Volume Profile timeframe {1D}: Historic VPoC use 1 day as their timeframe reference by default.
Number of decimal digits {2}: How many decimal digits are shown in label prices.
Number of previous sessions to print VPoC {5}: How many previous sessions VPoCs are to be printed. The maximum for this setting is 20.
Historic VPoC lines width (in pixels) {2}.
Historic VPoC labels size {small}.
History VPoC line offset (in bars) {5}: How far to the right VPoCs lines are to be extended. Note: This setting does not apply when 'Extend Historic VPoC lines' is set to 'False'.
WARNING
Please be aware that VPoC from the first previous session might not be accurate due to Pine Script limitations.
VPVR USAGE
This is not a VPVR like the official TradingView indicator.
This is a pseudo VPVR and that means it needs some manual input from you.
But, don't worry it's quite easy to do and if you always use the same number
of bars to calculate your VPVR then you might even just set it up once.
In order to show the VPVR (or Volume Profile on the Visible Range):
Rescale your chart so that you see all the bars for your Visible Range.
Click on the ruler tool.
Click on the last bar (far to the right) shown on the screen
Drag the ruler to first bar (far to the left) shown on the screen
Check what the ruler says
E.g. it says: 101 bars
Open this study settings
Modify: 'VPVR Number of bars ' setting
So that its value matches your measured number of bars (101)
Press OK to confirm and wait for the indicator to refresh.
STRATEGY USAGE
If your strategy uses VPoC
to define your resistances
or supports
you can check the VPoCs shown here.
FEEDBACK
I have only used this identifier in BTCUSDT 4h timeframe.
I'm interested to know what needs to be tweaked
in other securities and timeframes.
PINE STUDY TRICK
This study let's you choose the number of decimals the label will use.
CREDITS
I have reused and adapted some code from
'Poor man's volume profile' study
which it's from TradingView IldarAkhmetgaleev user.
I also wanted to thank him for helping me understanding his study.
I have reused some code from
'MTF Selection Framework - PineCoders FAQ' study
which it's from TradingView PineCoders user.
Multitimeframe Fair Value Gap – FVG (Zeiierman)█ Overview
The Multitimeframe Fair Value Gap – FVG (Zeiierman) indicator provides a dynamic and customizable visualization of institutional imbalances (Fair Value Gaps) across multiple timeframes. Built for traders who seek to analyze price inefficiencies, this tool helps highlight potential entry points, unmitigated gaps, and directional bias using smart volume logic and adaptive visual elements.
A Fair Value Gap (FVG) forms when there's a three-candle sequence in which a market imbalance leaves a "gap" between the wicks of candle 1 and candle 3. These areas are often considered footprints of institutional activity, and this indicator gives you the tools to track them with surgical precision across any timeframe you choose—regardless of the one you're viewing.
This indicator also includes a trend filter powered by a low-pass Butterworth filter, enabling traders to distinguish between countertrend vs. trend-aligned FVGs for more intelligent decision-making. On top of that, it features a dynamic FVG table for live tracking and bull/bear volume power visualization inside each gap, adding powerful clarity to market intent.
█ How It Works
The indicator analyzes the open, high, low, close, and volume of candles from a user-selected timeframe. It identifies Fair Value Gaps based on wick logic and only confirms those that meet customizable strength criteria. Once detected, the indicator visualizes each FVG with dynamically extending boxes, optional buy/sell volume bars, and a real-time mitigation check.
⚪ Multitimeframe Logic
Users can analyze FVGs from a higher or lower timeframe regardless of their current chart.
This is achieved using request.security() to fetch OHLCV data from the chosen timeframe.
⚪ Wick Sensitivity & Impulse Filter
The script measures the wick size of potential FVG candles and compares them to a running average. Only FVGs with wick sizes above a certain sensitivity threshold (user-controlled) are plotted. This ensures only meaningful price dislocations (e.g., strong impulsive moves) are shown, reducing noise.
⚪ Midpoint Mitigation Logic
FVGs are marked as "mitigated" when the price revisits the gap area. Traders can choose whether full gap closure or just a midpoint touch is required. This allows faster reactivity in real-time trading environments.
⚪ Bull & Bear Power – Volume-Weighted Visualization
Every Fair Value Gap box includes sub-bars representing the estimated buy and sell effort that created the gap. These are calculated using the candle's close in relation to its high/low range and volume:
Buy Volume % ≈ effort from low to close
Sell Volume % ≈ effort from high to close
Each sub-bar inside the FVG:
Is color-coded (UpCol for bullish, DnCol for bearish)
Is drawn proportionally to the strength of buyers or sellers
Visually displays who was in control during the imbalance
⚪ FVG Table – Dynamic On-Chart Overview
The indicator includes an optional on-chart table that displays all currently active (unmitigated) FVGs in a side panel format:
Automatic updates as gaps are formed and mitigated
Color-coded rows to show bullish vs. bearish FVGs
Timestamps to know precisely when the gap formed
User-controlled position via Table Left and Table Right
This is a gap watchlist overlay, giving traders a concise view of current inefficiencies without manually scanning the chart.
⚪ FVG Trend Filter (Butterworth Smoother)
Using a two-pole Butterworth low-pass filter, the indicator computes a trendline based on average FVG values, offering a smooth but responsive directional signal.
Passband Ripple (dB): Controls sensitivity and overshoot tolerance
Cutoff Frequency (0–0.5): Sets how quickly the trendline reacts
The trendline helps categorize each FVG:
Trend up → favor bullish FVGs
Trend down → favor bearish FVGs
It adds an extra dimension to FVG entries, helping distinguish between trend-aligned and countertrend signals.
█ How to Use
⚪ Identify Institutional Gaps
Use this tool to identify areas where institutions may have left imbalances behind quickly.
These areas often become:
Strong support/resistance zones
Areas where price might react sharply
Targets for liquidity sweeps or retracements
⚪ React to Trend or Countertrend
The built-in trendline helps categorize each FVG:
Trend up → Bullish FVGs have higher validity
Trend down → Bearish FVGs have higher validity
⚪ Volume Context via Bull/Bear Power
Each Fair Value Gap is more than just a price imbalance — it’s a story of effort and intent. The Bull/Bear Power feature visualizes the buy and sell pressure behind each FVG, helping you understand how the gap was formed and who was in control.
A bullish FVG with a strong buy effort suggests continuation potential — buyers dominated the move.
A bullish FVG with a dominant sell effort could signal a trap or reversal — sellers may have overwhelmed the breakout.
These insights allow you to confirm imbalance strength, spot traps early, and add confidence to entries based on dominant volume profiles.
Instead of viewing gaps as static zones, this feature turns each into a live volume map — a visual breakdown of who moved the market and whether that move had conviction.
⚪ Plan with the FVG Table
The FVG Table acts as your on-chart control center for tracking active imbalances. When enabled, it provides a clear summary of all unmitigated Fair Value Gaps, helping you stay organized and focused during fast-moving sessions.
Track live and historical gaps: See exactly when and where each FVG formed.
Monitor older, still-valid zones: Gaps off-screen but not mitigated remain in play — perfect for anticipating future reactions.
Gauge market bias at a glance: The balance of bullish vs. bearish FVGs helps you understand overall directional pressure.
Plan entries confidently: Use the table to reference all zones for risk management, confluence stacking, or layered execution strategies.
Instead of manually scanning your chart, the FVG Table offers a clean, at-a-glance overview of the market’s inefficiencies — giving you the structure needed to act with precision.
█ Settings
FVG Timeframe
Select any timeframe to source FVGs independent of your current chart.
Sensitivity
Filter FVGs by how impulsive the move is — it helps you eliminate weak gaps.
Mitigated on Mid
Control whether gaps are removed at midpoint touch or full fill.
Table Settings
Control the table position and width. Cleanly view all active FVGs.
FVG Style
Customize gap box colors, length, and bullish/bearish overlays.
Trend Filter
Enable or disable the smoothed FVG-based trendline with customizable smoothing controls.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Lockin Strength Indicator (LSI)How It Works:
RSI Calculation: The standard RSI is calculated using a 14-period by default.
Volume Weighting: If enabled, the LSI modifies the RSI by weighting it based on the volume relative to its moving average. This emphasizes periods of high or low volume, which can be particularly useful for Solana-based assets that might have unique volume profiles.
Plotting: The LSI is plotted with standard overbought and oversold levels, and background highlighting makes these areas visually distinct.
Customization:
RSI Length: You can adjust the length of the RSI period.
Overbought/Oversold Levels: You can modify the levels for overbought and oversold signals.
Volume Weighting: You can toggle volume weighting on or off.
This indicator is designed to give you a more nuanced view of Solana cryptocurrencies by combining RSI with volume dynamics.