SVMKR_VIX_Based_LevelsThe "SVMKR_VIX_Based_Levels" script is a Pine Script indicator designed to assist intraday traders in identifying dynamic support and resistance levels based on the Volatility Index (VIX). Here's a breakdown of the script and its uses for intraday traders:
### Script Description:
1. **Data Retrieval**:
- The script fetches daily closing prices of the India VIX (volatility index) and a specified security using `request.security()`.
2. **Input Parameters**:
- Intraday traders can customize the indicator using input parameters such as the number of levels above and below the Pivot Day Close (PDC), line offset lengths, line extension options, and color and width settings for plotted lines.
3. **Plotting**:
- The script plots the PDC and VIX as hidden lines (`display=display.none`).
- Support and resistance levels are calculated based on the VIX and PDC, and plotted above and below the PDC with customizable colors and widths.
- Each level can be labeled with its corresponding price.
4. **Customization**:
- Intraday traders can choose to display or hide prices on the plotted lines.
- Colors and widths of plotted lines are customizable.
- Options to show minor and mild support levels provide additional flexibility.
5. **Labels**:
- Labels are added to indicate the PDC and the plotted levels, displaying corresponding prices if enabled.
### Uses for Intraday Traders:
1. **Dynamic Support and Resistance**: Intraday traders can benefit from dynamically adjusted support and resistance levels that respond to changes in market volatility, providing more accurate levels for trade planning.
2. **Market Sentiment Analysis**: By incorporating the VIX, a measure of market volatility and sentiment, the indicator provides insights into market sentiment, helping intraday traders gauge market mood and potential direction.
3. **Confirmation of Price Action**: The plotted support and resistance levels can serve as confirmation signals for intraday traders, helping validate trading decisions and enhance trading confidence.
4. **Adaptability to Changing Market Conditions**: Intraday traders often face rapidly changing market conditions. The indicator's ability to adapt to changes in volatility ensures that plotted levels remain relevant and responsive, aiding traders in adjusting their strategies accordingly.
5. **Trade Planning and Execution**: Intraday traders can use the plotted support and resistance levels to identify potential entry and exit points, set profit targets and stop-loss levels, and plan their trades more effectively.
Overall, the "SVMKR_VIX_Based_Levels" indicator provides intraday traders with a valuable tool for dynamic support and resistance identification, market sentiment analysis, confirmation of price action, and trade planning and execution, ultimately assisting them in making more informed and profitable trading decisions in the intraday timeframe.
Trend Analysis
Nested Candle Highlighter @shrilssThe Nested Candle Highlighter identifies when the current candle's body is completely enclosed by the previous candle's wick zones. It examines the upper wick zone, from the previous high to the open or close, and the lower wick zone, from the low up to the open or close. This focused analysis can signal consolidation and potential shifts in momentum, offering an insightful addition to your trading analysis.
Reversal Pivot PointsThis indicator aims to identify price levels where price action has quickly reversed from. These "pivots" establish major levels where major liquidity is located. Unlike standard support and resistance levels, when price breaks below or above a pivot, these pivots disappear from the chart. Comes with various customization features built to fit all.
Features
Pivot Timeframe: Identify and plot pivots from one specific timeframe and see it from all lower timeframes
Pivot left/right bar limit: A feature aimed at preventing false pivots identification
Remove On Close (ROC): Feature to only remove pivots once price close under it
ROC Timeframe: The timeframe the script uses to determine if the candle closed under the level
Wait For Close: Will only remove the pivot after the current candle closes
Line Extension Type: The extension of the line. None - extends line to current time, left - only extends line to the left, right - only extends line to the right, both - extends line both directions
Line Offset: How much to offset (in bars) the line and label from the current candle
Line Type: The style of line when plotted. Solid (─), dotted (┈), dashed (╌), arrow left (←), arrow right (→), arrows both (↔)
Display Level: Whether to or not to display the price of the pivot
Display Perfect Level: Whether to or not to display levels where price perfectly rejected off of
Alerts: Creates an alert when a level has been crossed
How to trade
1. Pivots can be traded to or from. The stock market (market makers) will tend to "chase" liquidity in order to fill orders at better averages. This allows us retail traders to to participate alongside these moves to these pivots. Once price action hits a pivot, it can do two things: break the pivot and continue or bounce off it. We can participate alongside these bounces after confirmation of a reversal (doji, volume, etc). These bounce plays are high risk as it's generally 50-50, but the risk to reward is typically also very high, making them very valuable to take.
2. Typically, the market is a fluid environment and should be "natural," so perfect things (manmade and filled with liquidity) should not occur. With this knowledge, we can expect these perfect levels, "PDT/PDB," to break as they are not natural occurrence and have heavy liquidity on and above/below them. We can trade to these levels and expect them to break/sweep if price action comes near them again.
Bilson Gann CountGann counting is a method for identifying swing points,trends, and overall market structure. It simplifies price action by drawing short trend lines that summarize moves.
There's essentially 4 types of bar/candle.
Up bar - Higher high and higher low than previous bar
Down bar - Lower high and lower low than previous bar
Inside bar - Lower high and higher low than previous bar
Outside bar - Higher high and lower low than previous bar
We use these determinations to decide how the trendline moves through the candles.
Up bars we join to the high, down bars we join to the low, inside bars are ignored.
There are other indicators that already exist which do this, the difference here is how we handle outside bars.
Other gann counting methods skip outside bars, this method determines how to handle the outside bar after the outside bar is broken.
examples
UP -> OUTSIDE -> UP = Outside bar treated as swing low
UP -> OUTSIDE -> DOWN = Outside bar treated as swing high
DOWN -> OUTSIDE -> UP = Outside bar treated as swing low
DOWN -> OUTSIDE -> DOWN = Outside bar treated as swing high
RSI and MACD Composite ScoreComponents of the Indicator
RSI Settings:
The RSI is set with a length parameter, which can be adjusted by the user but defaults to 14. This measures the speed and change of price movements.
MACD Settings:
The MACD is composed of two lines: the MACD line and the signal line, which are calculated from exponential moving averages (EMAs) of different lengths (fast and slow). The default settings are 9 for the fast length, 26 for the slow length, and 3 for the signal length.
The MACD histogram, which is the difference between the MACD line and the signal line, is also calculated.
Normalization and Combination
RSI Normalization : The RSI values are normalized around 0 by subtracting 50 from the RSI and then dividing by 50. This scaling adjusts the RSI to fluctuate around 0, where positive values indicate strength and negative values indicate weakness relative to the median RSI value of 50.
MACD Normalization : The MACD histogram is normalized by dividing it by the highest absolute value of the histogram over the slow length period. This adjustment scales the MACD histogram to fall between -1 and 1, making it comparable in magnitude to the normalized RSI.
Composite Score Calculation
The composite score is simply the sum of the normalized RSI and the normalized MACD histogram. This results in a combined score that reflects both momentum (from RSI) and trend (from MACD), providing a multifaceted view of market dynamics.
Visualization
The composite score is plotted as an oscillator, with a horizontal zero line that helps identify when the score shifts from positive to negative or vice versa.
The background color changes based on the trend: green if the composite score is above zero (bullish trend) and red if below zero (bearish trend).
Bar ReplayThis indicator mirrors TradingView's bar replay feature to a certain extent, offering traders a streamlined way to analyze past market movements. It's a practical tool for strategy testing, pattern recognition, and refining trading approaches.
While it may have some limitations, it offers a practical solution for strategy testing and refining trading approaches for free and gets the job done. After all, having a tool is better than having none.
This is just an experiment so don't take it that seriously. I hope you guys find it useful.
If you have some ideas for improvement or found any bugs, kindly let me know.
How to use it?
Step 1 : Add the indicator to the chart.
Step 2 : Select the candle .
Step 3 : Make the changes visible.
Step 4 : How to Navigate
Step 5 : Change the date easily
The blank screen issue.
Note : There are some limitations
The data is limited to the free plan.
It's not smooth as the real Bar replay feature.
I haven't checked the bugs so let me know if you found any.
Previous Candle + Inside/OutsideThe script uses the previous candle of the current timeframe to assess the state of the current candle.
1. Previous candle high/low and midpoint are displayed
2. Highlights current bar if INSIDE previous candle
3. Highlights current bar if POTENTIAL OUTSIDE bar. This condition uses the logic that if the previous high/low has been swept and price then reaches previous bar 50%, then an OUTSIDE bar is possible.
4. If current candle breaks previous high/low, a label is added to identify.
5. If above condition is true and current candle color is opposite of previous, then label is highlighted to show possible bull/bear condition.
6. If current candle live price is below previous midpoint, a BEAR label is shown
7. If current candle live price is above previous midpoint, a BULL label is shown
I personally use the indicator on Daily/Weekly/Monthly charts to help with my overall market assessment. However users may find their own use for the indicator...or modify it to their own preferences.
As ever, the indicator should only be used with live trading accounts after thorough backtesting using a large data range.
Rolling Point of Control (POC) [AlgoAlpha]Enhance your trading decisions with the Rolling Point of Control (POC) Indicator designed by AlgoAlpha! This powerful tool displays a dynamic Point of Control based on volume or price profiles directly on your chart, providing a vivid depiction of dominant price levels according to historical data. 🌟📈
🚀 Key Features:
Profile Type Selection: Choose between Volume Profile and Price Profile to best suit your analysis needs.
Adjustable Lookback Period: Modify the lookback period to consider more or less historical data for your profile.
Customizable Resolution and Scale: Tailor the resolution and horizontal scale of the profile for precision and clarity.
Trend Analysis Tools: Enable trend analysis with the option to display a weighted moving average of the POC.
Color-Coded Feedback: Utilize color gradients to quickly identify bullish and bearish conditions relative to the POC.
Interactive Visuals: Dynamic rendering of profiles and alerts for crossing events enhances visual feedback and responsiveness.
Multiple Customization Options: Smooth the POC line, toggle profile and fill visibility, and choose custom colors for various elements.
🖥️ How to Use:
🛠 Add the Indicator:
Add the indicator to favorites and customize settings like profile type, lookback period, and resolution to fit your trading style.
📊 Market Analysis:
Monitor the POC line for significant price levels. Use the histogram to understand price distributions and locate major market pivots.
🔔 Alerts Setup:
Enable alerts for price crossing over or under the POC, as well as for trend changes, to stay ahead of market movements without constant chart monitoring.
🛠️ How It Works:
The Rolling POC indicator dynamically calculates the Point of Control either based on volume or price within a user-defined lookback period. It plots a histogram (profile) that highlights the level at which the most trading activity has occurred, helping to identify key support and resistance levels.
Basic Logic Overview:
- Data Compilation: Gathers high, low, and volume (if volume profile selected) data within the lookback period.
- Histogram Calculation: Divides the price range into bins (as specified by resolution), counting hits in each bin to find the most frequented price level.
- POC Identification: The price level with the highest concentration of hits (or volume) is marked as the POC.
- Trend MA (Optional): If enabled, the indicator plots a moving average of the POC for trend analysis.
By integrating the Rolling Point of Control into your charting toolkit, you can significantly enhance your market analysis and potentially increase the accuracy of your trading decisions. Whether you're day trading or looking at longer time frames, this indicator offers a detailed, customizable perspective on market dynamics. 🌍💹
Lin Reg (Linear Regression) Support and Resistance by xxMargauxLin Reg (Linear Regression) Support & Resistance by xxMargaux 💸
This indicator plots three linear regression lines (Lin Reg) on the price chart, providing insights into potential support and resistance levels. It calculates Lin Reg lines based on user-defined lengths and sources.
This indicator's settings were initially configured for MNQ1! (E-Mini Nasdaq 100 futures contracts). But works as intended on any security and on any timeframe.
When price is below a given Lin Reg line, that line will be red and may serve as resistance as price moves up towards the line. That is, it may be a potential short entry opportunity. When price is above a given Lin Reg line, that line will be green and may serve as support as price continues up from the line. That is, it may be a potential long entry opportunity.
When price starts to break sideways or down through the Lin Reg lines, this may signal a reversal from uptrend to downtrend. When price starts to break sideways or up through the Lin Reg Lines, this may signal a reversal from downtrend to uptrend. In very strong trends, breaking through the lines briefly may provide an entry opportunity, but be cautious because a trend reversal may also be possible.
Inputs:
Length of Price Lin Reg Lines: Customize the lengths of the three Lin Reg lines.
Source for Price Lin Reg Lines: Choose the source for each Lin Reg line.
Source for Security Price: Select the price source for the security.
Features:
Trend Analysis: Assists in visualizing price trends based on the relationship between the security price and Lin Reg lines, which will be colored according to whether price is above or below each Lin Reg line.
Customizable Colors: When price is above a Lin Reg line that line will be green. When price is below a Lin Reg line, that line will be red.
Here's a beginner-friendly explanation of linear regression lines 💡
Best-Fit Line: Imagine you have a scatter plot of closing prices on a chart. Linear regression aims to find the straight line that best fits the overall trend of these data points. It's like drawing a line through the center of the data that minimizes the distance between the line and each data point.
Trend Identification: Once the linear regression line is plotted on a price chart, it provides a visual representation of the trend. If the price is generally rising, the linear regression line will slope upwards. If the price is falling, the line will slope downwards. This helps traders identify whether the trend is bullish (upward) or bearish (downward).
Support and Resistance: Linear regression lines can also act as dynamic support and resistance levels. When the price is above the linear regression line, it may act as support, meaning the price tends to bounce off the line and continue higher. Conversely, when the price is below the line, it may act as resistance, with the price encountering selling pressure and potentially reversing lower.
Reversal Signals: Changes in the slope or direction of the linear regression line can signal potential trend reversals. For example, if the price breaks above a downward-sloping linear regression line, it may indicate a shift from a downtrend to an uptrend, and vice versa.
Adjustable Parameters: Traders can customize the length of the linear regression line by adjusting the period over which it's calculated. Shorter periods may be more sensitive to recent price changes, while longer periods may provide a smoother trend line.
PPN - Token compare to USDT/BTCThis simple indicator allows you to easily view the price of a selected cryptocurrency token in either USDT or BTC on TradingView charts. By adding this indicator to your chart, you can quickly compare the price of the token to either USDT (Tether) or BTC (Bitcoin).
**Features:**
- Choose between displaying the token price in USDT or BTC.
- Automatically detects the current trading pair and adjusts the display accordingly.
- Uses data from the BINANCE exchange to fetch real-time prices.
**How to Use:**
1. Add the indicator to your TradingView chart.
2. Select the desired ticker ending (USDT or BTC) in the indicator settings.
3. Pin the indicator to a new scale (More -> Pin to Scale -> New scale or no scale (fullscreen).
**Note:** This indicator is intended for informational purposes only and should not be used as the sole basis for making trading decisions. Always conduct your own research and consult with a financial advisor before making any investment decisions.
---
Feel free to use and modify! <3
Message me on TradingView if you have any suggestions!
FOMO Alert (Miu)This indicator won't plot anything to the chart.
Please follow steps below to set your alarms based on price range variation:
1) Add indicator to the chart
2) Go to settings
3) Choose timeframe which will be used to calculate bars
4) Choose how many bars which will be used to calculate max and min range
5) Choose max and min range variation (%) to trigger alerts
5) Choose up to 6 different symbols to get alert notification
6) Once all is set go back to the chart and click on 3 dots to set alert in this indicator, rename your alert and confirm
7) You can remove indicator after alert is set and it'll keep working as expected
What does this indicator do?
This indicator will generate alerts based on following conditions:
- If min and max prices reach the range (%) from amount of bars on timeframe set for any symbol checked it will trigger an alert.
- If next set of bars reaches higher range than before it will trigger an alert with new data
- If next set of bars doesn't reach higher range than before it will not trigger alerts, even if they are above the range set (this is to prevent the alert to keep triggering with high frequency)
Once condition is met it will send an alert with the following information:
- Symbol name (e.g: BTC, ETH, LTC)
- Range achieved (e.g: 3,03%)
- Current symbol price and current bar direction (e.g: 63,477.1 ▲)
This script will request lowest and highest prices through request.security() built-in function from all different symbols within the range set. It also requests symbols' price (close) and amount of digits (mintick) for each symbol to send alerts with correct value.
This script was developed with main purpose to send alerts when there are strong price movements and I decided to share with community so anyone can set different parameters for different purposes.
Feel free to give feedbacks on comments section below.
Enjoy!
Bull Bear Trend IndicatorIntroduction: Origin of the Swing Point Indicator
In the quest for a reliable indicator that accurately predicts trend directions and identifies valid highs and lows, the genesis of the Swing Point Indicator emerged. Faced with the challenge of finding a tool that provided comprehensive market analysis and actionable insights, the need for a novel solution became evident. Combining insights gleaned from market analysis and innovative algorithmic approaches, the Swing Point Indicator was born.
Enhanced Feature: Highs and Lows Labeling in Trend Direction
In addition to its core functionalities, the Swing Point Indicator incorporates an advanced feature that enhances the visualization of trend direction. This feature provides further clarity by selectively labeling highs and lows based on the prevailing trend, reinforcing the identification of higher highs and lower lows in uptrends and downtrends, respectively. Overlapping labels on highs and lows signify a potential trend change, providing traders with valuable insight into market reversals.
Detailed Description:
1. Uptrend Labeling:
- Higher Highs (Green Label with Price): In an uptrend, where higher highs are observed, the indicator labels these points with vibrant green color and includes the corresponding price value. This visually highlights the significance of higher highs as pivotal points in the upward trajectory of prices.
- Higher Lows (Red Marker without Text or Diamond): To complement the identification of higher highs, higher lows are marked with a distinct red marker or diamond, devoid of any accompanying text. While these points are crucial in delineating the ascending trend, their emphasis lies in their role as support levels, providing a foundation for upward price movements.
2. Downtrend Labeling:
- Lower Lows (Red Label with Price): Conversely, in a downtrend characterized by lower lows, the indicator labels these points with conspicuous red color, accompanied by the corresponding price value. Lower lows signify critical levels of downward price momentum, acting as indicators of potential bearish continuation.
- Lower Highs (Green Marker without Text or Diamond): Lower highs, indicative of downward retracements in a downtrend, are marked by distinctive green markers or diamonds without accompanying text. While these points denote temporary pauses or pullbacks in the bearish trend, their emphasis lies in their role as resistance levels, impeding upward price movements.
Functionality and Utility:
- Customizable Lookback Candle Count: Traders have the option to adjust the lookback candle count, which is set by default at 108 candles in the settings. This flexibility allows traders to tailor the indicator to their specific trading preferences and timeframes.
- Equal Highs or Lows Option: When enabled, the Swing Point Indicator can identify equal highs or equal lows, providing traders with additional insight into market dynamics.
- Formation Confirmation: A new higher high along with its higher low or a new lower low along with its lower high is confirmed after two candles have closed following the swing point candle. This ensures the reliability of the identified trend direction.
Conclusion:
The incorporation of selective labeling for highs and lows based on trend direction, alongside the introduction of customizable settings and formation confirmation criteria, enhances the effectiveness of the Swing Point Indicator. This feature-rich tool empowers traders with a nuanced understanding of market dynamics, highlighting critical price levels and trend reversals. By offering enhanced visualization, customizable options, and confirmation criteria, the Swing Point Indicator equips traders with the confidence and precision needed to navigate the markets successfully, contributing to more informed and profitable trading strategies.
Solar Recent Resistance / Support levelsSolar Recent Resistance / Support Indicator
The Solar Recent Resistance / Support indicator is designed to identify recent resistance and support levels based on Fibonacci retracement levels. It helps traders visualize potential price barriers and significant levels where price action may encounter obstacles or find support.
Features:
Fibonacci Levels: The indicator calculates Fibonacci retracement levels based on the specified length and Fibonacci multiplier.
Recent Resistance Line: Displays a trend line representing the most recent resistance level identified by the indicator.
Next Resistance Line: Indicates the next significant resistance level above the current resistance level. The level is calculated based on a multiplier factor.
Recent Support Line: Shows a trend line denoting the most recent support level identified by the indicator.
Previous Support Line: Represents the support level before the current support, aiding in identifying historical support zones.
Usage:
Traders can use the indicator to identify potential areas of price reversal or consolidation.
The recent resistance and support lines can act as reference points for setting profit targets and stop-loss levels.
The next resistance line provides insight into potential future price movements, helping traders anticipate market behavior.
Parameters:
Fibonacci Length: Specifies the length of the Fibonacci retracement calculation.
Fibonacci Multiplier: Determines the multiplier factor for calculating the next resistance level.
Line Width: Adjusts the width of the plotted trend lines.
Resistance Color: Sets the color of the resistance lines.
Support Color: Defines the color of the support lines.
Fibonacci Level: Specifies the Fibonacci level used in the calculations.
Show Resistance Line: Enables or disables the display of resistance lines.
Show Support Line: Enables or disables the display of support lines.
Note:
Adjust the Fibonacci multiplier value to ensure that the next resistance level accurately reflects significant price barriers.
Swing Failure Pattern (SFP) [LuxAlgo]The Swing Failure Pattern indicator highlights Swing Failure Patterns (SFP) on the user chart, a pattern occurring during liquidity generation from significant market participants.
A Confirmation level used to confirm a trend reversal is also included. Users can additionally filter out SFP based on a set Volume % Threshold .
🔶 USAGE
Swing failure patterns occur when candle wicks exceed (above/below) a recent swing level but close back below/above it, and occur from more significant market participants engineering liquidity. This pattern can be indicative of a potential trend reversal.
A label and an accentuated wick line highlight the SFP (both can be disabled).
Using a higher "Swings" period will not return different SFP but will however potentially reduce their detection rate.
🔹 Confirmation Level
The confirmation level is the highest point between the previous swing and SFP for a bullish SFP, and the lowest point for a bearish SFP. This level allows confirming a trend reversal after an SFP once the price breaks it.
A small triangle will be displayed when the price closes beyond the confirmation level.
A more reactive and contrarian approach could use the SFP as an entry point, and the confirmation level for taking (partial) profit, or stop loss. The example below shows a possible scenario:
🔹 Volume % Threshold
During the occurrence of an SFP, the Volume % Threshold option allows comparing the cumulative volume outside the Swing level to the total volume of the candle. The following options are included:
Volume outside swing < Threshold: Volume outside the Swing level needs to be lower than x % of total candle volume. Prevent excessive liquidity generation.
Volume outside swing > Threshold: Volume outside the Swing level needs to be higher than x % of total candle volume. Requires more significant liquidity to be generated.
None: No extra filter is applied
Note that in the above case, the left SFP is no longer highlighted because the volume above the swing level was higher than the 25% threshold of the total volume.
When we change the setting to "Volume outside swing > Threshold", we get the reversed situation.
The "Volume outside Swing level" is obtained using intrabar - Lower TimeFrame (LTF) data.
At the intrabar (LTF) level, there are a maximum of 100K bars available. When using the Volume % Threshold filter, a vertical line will highlight the maximum period during which intrabars are available.
🔶 DETAILS
🔹 LTF Settings
When 'Auto' is enabled (Settings, LTF), the LTF will be the nearest possible x times smaller TF than the current TF. When 'Premium' is disabled, the minimum TF will always be 1 minute to ensure TradingView plans lower than Premium don't get an error.
Examples with current Daily TF (when Premium is enabled):
500 : 3-minute LTF
1500 (default): 1-minute LTF
5000: 30 seconds LTF (1 minute if Premium is disabled)
The concerning LTF can be seen at the right-top (default) corner.
🔶 SETTINGS
Swings: Period used for the swing detection, with higher values returning longer-term Swing Levels.
Bullish SFP: enable/disable bullish Swing Failure Patterns.
Bearish SFP: enable/disable bearish Swing Failure Patterns.
🔹 Volume Validation
Validation:
Volume outside swing < Threshold: The volume outside the swing level needs to be lower than x % of the total volume.
Volume outside swing > Threshold: The volume outside the swing level needs to be higher than x % of the total volume.
None: No extra validation is applied.
Volume % Threshold: % of total volume as threshold.
Auto + multiple: Adjusts the initial set LTF
LTF: LTF setting
Premium: Enable when your TradingView plan is Premium or higher
🔹 Dashboard
Show Dashboard: Display applied Lower Timeframe (LTF)
Location: Location of the dashboard
Size: Size of the dashboard
🔹 Style
Swing Lines
Confirmation Lines
Swing Failure Wick
Swing Failure Label
Lines / Labels: Color for lines and labels
SFP Wicks: Color for SFP wick line
Bayesian Bias OscillatorWhat is a Bayes Estimator?
Bayesian estimation, or Bayesian inference, is a statistical method for estimating unknown parameters of a probability distribution based on observed data and prior knowledge about those parameters. At first , you will need a prior probability distribution, which is a prior belief about the distribution of the parameter that you are interested in estimating. This distribution represents your initial beliefs or knowledge about the parameter value before observing any data. Second , you need a likelihood function, which represents the probability of observing the data given different values of the parameter. This function quantifies how well different parameter values explain the observed data. Then , you will need a posterior probability distribution by combining the prior distribution and the likelihood function to obtain the posterior distribution of the parameter. The posterior distribution represents the updated belief about the parameter value after observing the data.
Bayesian Bias Oscillator
This tool calculates the Bayes bias of returns, which are directional probabilities that provide insight on the "trend" of the market or the directional bias of returns. It comes with two outputs: the default one, which is the Z-Score of the Bayes Bias, and the regular raw probability, which can be switched on in the settings of the indicator.
The Z-Score output value doesn't tell you the probability, but it does tell you how much of a standard deviation the value is from the mean. It uses both probabilities, the probability of a positive return and the probability of a negative return, which is just (1 - probability of a positive return).
The probability output value shows you the raw probability of a positive return vs. the probability of a negative return. The probability is the value of each line plotted (blue is the probability of a positive return, and purple is the probability of a negative return).
FVG Positioning Average [LuxAlgo]The FVG Positioning Average indicator aims to uncover potential price levels of interest by averaging together recent Fair Value Gap (FVG) initiation levels.
This indicator is grounded in the theory that significant buying or selling activity is the primary catalyst for creating FVGs.
By averaging together the prices where each FVG initiated, we may potentially reveal where major participants are positioned.
🔶 USAGE
By analyzing the average price of bullish or bearish FVGs, users can identify potential support or resistance areas where the larger participants may re-enter or defend their positions.
These areas could be used to adjust entries and exits or assist with risk management such as take-profit or stop-loss levels.
The indicator displays 2 lines, the Bull Average and the Bear Average.
The Bull Average is only displayed when the price holds above the bull Average.
The Bear Average is only displayed when the price holds below the bear average.
When only one average is displayed alone, this level is seen as support or resistance, it is anticipated that this level would be defended for the current trend to stay valid.
When both averages are displayed simultaneously, it can be interpreted as one side attempting to take over the trend.
The movements and reactions during these attempts can be analyzed to provide helpful information about where the price might be headed.
Possible outcomes:
Trend Confirmation/Re-Entry (From Weak Attempts)
Trend Reversal (Creating Support or Resistance)
Consolidation (Oscillating between/around Bull & Bear Averages)
🔶 DETAILS
🔹 Lookback Types
This indicator includes 2 lookback types:
Bar Count: Uses Bars to determine what data to include. This type can be utilized for averages that are more locally relevant to the current chart data.
FVG Count: Uses a specific # of FVGs for calculations. This type can be utilized for a continuous & consistent view, typically relevant with longer term analysis.
Note: When using bar lookback, if no data is in range, no lines will be displayed.
Below is an example of the 'FVG Count' Display.
🔹 Initiation Levels
Initiation Levels are the specific price points where each FVG starts, these are the last points the price was traded at before creating the gap.
Bull Initiation Level: Lowest Point (Bottom) of FVG
Bear Initiation Level: Highest Point (Top) of FVG
🔹 FVG Display
Each FVG being used for the current calculation of averages is displayed on the chart for reference.
Note: If you prefer to not display the FVGs, they can be toggled off in the settings, uncheck "Show FVGs on Chart".
🔶 Settings
FVG Lookback: As mentioned above in the 'Lookback Types', this sets the number of FVGs or Bars to use for consideration.
Lookback Type: As also mentioned above in 'Lookback Types', this determines the method of lookback to be used.
ATR Multiplier: The FVGs are required to have a Greater Width than (ATR * Multiplier) in order to be used for calculations. This allows you to focus on the data being considered if needed.