[TTI] IBD Base Analysis (WEEKLY)📜 ––––HISTORY & CREDITS––––
This indicator, titled " IBD Base Analysis (WEEKLY)," is an original creation by TinTinTrading. It synthesises multiple metrics and visual cues to provide a comprehensive overview of market bases on a weekly timeframe. It is based on the teachings of Investors Business Daily (IBD) and William O'Neil. Mainly from attending all IBD Seminars, Courses and part of man IBD MeetUps. I have compiled most criteria and made it into indicator.
🦄 –––UNIQUENESS–––
What sets this indicator apart is its multi-faceted approach to base analysis. It doesn't just measure base depth or length, or plot a base structure with target (Cup with Handle, Double Bottoms, Flat Bases or other);
The IBD Base Analysis (WEEKLY) allows the user to pick the beginning and end of base and then runs through the criteria for a HEALTHY vs FAULTY Bases. The script is intended for a Weekly timeframe and is base agnostic - hence it can be used on any base pattern you want to analyse. By using the script you will be able to grab a quick visual if there are any faulty characteristics that you have be aware of. Furthermore, its user-friendly interface, complete with customisable color-coding and toggle-able advanced metrics, makes it a great tool for both novice and expert traders to incorporate into their trading.
🛠️ ––––WHAT IT DOES––––
👉 Analysis Table with customisable position. Each cell has additional information when you hover over it with a mouse to show what is required and what is faulty. The cells are color coordinated by user customisable color-coding. If the cell is green then it is bullish. If it is orange then it is soft violating condition and if it is red it is bearish.
Depth: First we look at the Depth of the base expressed in percent
Length: How many weeks long is the base
Number of Weeks under Accumulation (Acc Wks)
Number of Weeks under Distribution (Distrb Wks)
Number of Weeks showing Supporting action
Number of weeks which show wide and loose action (unfavorable), "10% WKs)
Number of weeks we close above the mid point
Grading of the close within the first 3 weeks after bottoming
Counting the Gap ups vs Gap down for the given period
👉 Base plots
+ plot under weeks where we have a tight action compared to previous week - this is considered favorable
▲ plot under down weeks where we show supporting action
⏺ appear under the 3 most important weeks in the base: The Week at the bottom, The week with the Largest Spread and the Week with the Largest Volume. Green means bullish action, Orange means soft violation. The tooltips on the circles show the Closing Range of the week.
- midpoint (in blue), this draws the midpoint within the base.
👉 18 month line - According to IBD the True Market Leaders Breakout and run for on average of 18 months before topping. For this reason I have included a customizable on/off line that plots 18 months back. What I want to see is if the stock has been in a strong uptrend (Stage 2 accumulation for those knowing the Stan Weinstein methodology) for the last18 months. If yes, you ought to consider the base higher risk than one that is just starting its move.
💡 ––––HOW TO USE IT––––
Add the indicator to your chart
Determine the beginning and the end of the base (use the settings in the indicator or drag the verical blue lines)
Read the price action based on the coloring and the criteria explained in the tooltips. Additionally familiarize yourself with the general tips for reading a base below.
💡 ––––GENERAL TIPS FOR READING THE ANALYSIS TABLE––––
Depth: IBD recommends bases to be under 30%. However, during a strong bear market some stocks can exhibit 1.5-2x the volatility. Yet, it is key within the IBD methodology to buy breakouts from proper Non-deep bases
Length: Many newer traders misinterpret small patterns for bases. This common misunderstanding is addressed by calculating the length of the base and determining if it is developed or immature.
Number of Weeks under Accumulation (Acc Wks): This is the first thing the late Market Wizard William O'neill looks into the base. How many weeks are showing signs of accumualtion and how many are showing signs of distribution (the cell below). Always look for Accumulation weeks to be more than distribution weeks.
Number of Weeks under Distribution (Dist Wks): See above
Number of Weeks showing Supporting action: New traders determine down week as bearish. However, within the methodology and extensive research IBD has given criteria of down weeks that are actually a bullish sign. Counting the number of weeks within the base that meet this criteria gives us this metric.
Number of weeks which show wide and loose action: If the base is not compact but it is wide and loose it is considered an unfavorable pattern. Generally, occurs within Stage 3 of a stock topping.
Wks > Mid: Utilizes a simple 'hack' of base reading. How many weeks have closed above the mid level of the base and how many have closed below the mid level of the base.
Grading of the close within the first 3 weeks of the bottom: The next cell looks at the price action subsequent of the 3 weeks after the bottom. These are very important as they show if accumulation is happening (strengthening the breakout hypothesis) or if it is not.
Counting the Gap ups vs Gap down for the given period: Lastly gaps are key footprint of institutional moves. We look for the number of DAILY gaps on the WEEKLY timeframe and compare the daily gap up vs the daily gap downs within the base.
REMEMBER, ALL TRADING INCLUDES RISK. NEVER RELY SOLELY ON A SINGLE INDICATOR. INCORPORATE IT INTO YOUR BROADER TRADING METHODOLOGY AS A COMPLEMENTING SOURCE OF INFORMATION.
Cari dalam skrip untuk "bear"
Show-BiasThe script looks at the current bar and prints the bullishness or bearishness bias based on the high, low and close values.
Bullish bias:
----------------
Higher High
Higher Low
Higher Close
Green candle
Bearish bias:
----------------
Lower High
Lower Low
Lower Close
Red candle
Momentum Probability Oscillator [SS]This is the momentum based probability indicator.
What it does?
This takes the average of MFI, Stochastics and RSI and plots it out as an independent oscillator.
It then tracks bullish vs bearish instances. Bullish is defined as a greater move from open to high than open to low and inverse for bearish.
It stores this data and these averages and plots these levels as a graph.
The graph depicts the max bullish values at the top, the min bearish values at the bottom and the averages in between:
It will plot the average "threshold" value in yellow:
The threshold value is key. A ticker trading above the threshold is generally bullish. Below is bearish.
The threshold value frequently acts as support and resistance levels (see below):
Resistance:
Support:
The indicator also shows you the amount of time a ticker has spent in each region, over a defined lookback period (defaulted to 500):
When you see that cumulatively, more time has been spent in a bullish range or a bearish range, it can help you ascertain the prevailing sentiment at that time.
The indicator will also calculate the average price range based on the underlying oscillator value. It does this through use of ATR based techniques, as its not usually possible to calculate a price from an oscillator:
This is intended as a general reference and not a precise target, as it is using ATR as opposed to the actual technical value itself.
As this is an oscillator, you can use it to look for divergences as well. The advantage to having it formulated in this way is:
a) You get the power of all 3 indicators (stochastics, MFI and RSI) in one and
b) You are adding context to the underlying technical reading. The indicator is plotting out the average, max and min ranges for the selected ticker and performing assessments based on these ranges that add context to the current PA.
You also have the ability to see the specific technical levels associated with each specific technical indicator. If you open up the settings menu and select "Show Table", this will appear:
This will show you the exact values of each of the technicals the indicator is using in its range assessment.
And that is basically the bulk of the indicator!
I use this predominately on the smaller timeframes, especially when there is a lot of chop, to ascertain the overall sentiment.
I also will reference it on the 1 hour to see what the prevailing sentiment is and whether the stock is at an area of technical resistance or support. For example, here is what I referenced on SPY today:
QUICK NOTE:
It works best with RTH (regular trading hours) turned on and ETH (extended trading hours) turned off!
That's it!
Hopefully you like it and leave your comments and suggestions below!
AI Moving Average (Expo)█ Overview
The AI Moving Average indicator is a trading tool that uses an AI-based K-nearest neighbors (KNN) algorithm to analyze and interpret patterns in price data. It combines the logic of a traditional moving average with artificial intelligence, creating an adaptive and robust indicator that can identify strong trends and key market levels.
█ How It Works
The algorithm collects data points and applies a KNN-weighted approach to classify price movement as either bullish or bearish. For each data point, the algorithm checks if the price is above or below the calculated moving average. If the price is above the moving average, it's labeled as bullish (1), and if it's below, it's labeled as bearish (0). The K-Nearest Neighbors (KNN) is an instance-based learning algorithm used in classification and regression tasks. It works on a principle of voting, where a new data point is classified based on the majority label of its 'k' nearest neighbors.
The algorithm's use of a KNN-weighted approach adds a layer of intelligence to the traditional moving average analysis. By considering not just the price relative to a moving average but also taking into account the relationships and similarities between different data points, it offers a nuanced and robust classification of price movements.
This combination of data collection, labeling, and KNN-weighted classification turns the AI Moving Average (Expo) Indicator into a dynamic tool that can adapt to changing market conditions, making it suitable for various trading strategies and market environments.
█ How to Use
Dynamic Trend Recognition
The color-coded moving average line helps traders quickly identify market trends. Green represents bullish, red for bearish, and blue for neutrality.
Trend Strength
By adjusting certain settings within the AI Moving Average (Expo) Indicator, such as using a higher 'k' value and increasing the number of data points, traders can gain real-time insights into strong trends. A higher 'k' value makes the prediction model more resilient to noise, emphasizing pronounced trends, while more data points provide a comprehensive view of the market direction. Together, these adjustments enable the indicator to display only robust trends on the chart, allowing traders to focus exclusively on significant market movements and strong trends.
Key SR Levels
Traders can utilize the indicator to identify key support and resistance levels that are derived from the prevailing trend movement. The derived support and resistance levels are not just based on historical data but are dynamically adjusted with the current trend, making them highly responsive to market changes.
█ Settings
k (Neighbors): Number of neighbors in the KNN algorithm. Increasing 'k' makes predictions more resilient to noise but may decrease sensitivity to local variations.
n (DataPoints): Number of data points considered in AI analysis. This affects how the AI interprets patterns in the price data.
maType (Select MA): Type of moving average applied. Options allow for different smoothing techniques to emphasize or dampen aspects of price movement.
length: Length of the moving average. A greater length creates a smoother curve but might lag recent price changes.
dataToClassify: Source data for classifying price as bullish or bearish. It can be adjusted to consider different aspects of price information
dataForMovingAverage: Source data for calculating the moving average. Different selections may emphasize different aspects of price movement.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. 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.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
SMTV IndicatorThis indicator uses the ATR set to 2 to indicate Dynamic Support and Resistance levels. It also uses VWAP set to Weekly and a 50 Moving Average to indicate additional trend and support and resistance levels.
ATR x 2
View the Indicator on the 1H to Identify the Daily Support and Resistance levels.
This will be the Green and Red channel lines.
Red Line will indicate the daily Resistance Level.
Green Line will indicate the daily Support Level.
This is where prices are most likely to go to and either reverse or breakthrough, if it breaks either the Support or Resistance level then the next Support and Resistance Level will be marked out.
VWAP
The indicator is set to weekly, and it will indicate a Key Support or Resistance Level.
If price is above the VWAP it will indicate a Bullish Bias.
If price is below VWAP it will indicate a Bearish Bias.
You will often see bounces from this level, depending on if the Market is Bullish or Bearish.
If the VWAP is broken through and a bounce takes places then you can often see Trend reversal
Break of Structure
The indicator will also indicate when a Bullish or Bearish break off structure has occurred, which generally will indicate a trend change.
Green meaning Bullish.
Red meaning Bearish.
There is also an option to check the Buy and Sell signals box in the input, these signals will occur when a Break of Structure has taken place and the next candle after the BOS closes in the same direction as the BOS signal.
You can use this indicator on anytime frame, however you will get more false signals on lower time frames, if you wish in these times, you can set the ATR to 3 or 4 to get less false signals. It is important to view the Daily Support and Resistance levels and the VWAP and 50MA these will be the main levels with highest Risk to Reward entries. You can then use lower time frames like the 5 or 1min to find break of structure indication to indicate the direction around the daily support and resistance, VWAP and 50MA.
Volume Profile with Delta [TradeMaster Lite]The indicator estimates and displays the total traded volume and it's delta** at each price level during the user-defined period. It can be used to identify key support and resistance levels, determine logical take profit and stop loss levels, identify balanced and unbalanced markets and determine trend strength. The indicator offers different approaches to visualize the volume profile and can be chosen based on your preferred trading strategy and analysis method. The position and size of the Volume Profile is fully customizable, it can even be flipped if needed!
Three different display types (cosmetic effect only):
Classic
Compact
Modern
The Lite version offers three different range types:
Visible Range: displays the volume profile for the visible range of bars or candles on the chart. It adjusts dynamically as you change the chart view making it ideal for the modern trader who values both precision and simplicity.
Open End: displays the volume profile from a specific start date without a defined end, including real delta data. It provides an overview of the volume activity across all price levels of the examined period.
Fixed End: lets you define a specific start and end point for the volume profile. It can be useful if you want to analyze the volume activity within a specific time period or price range.
👉 Usage
The Volume Profile is a histogram that shows the estimated trading volume at certain price levels, how much was sold and how much was bought of the asset. The longer the histogram, the greater the trading volume at that price level. The Delta estimates which side was dominant at that price level and by how much.
To make the most out of the indicator, you can look for
pullbacks to high volume nodes or value areas,
initial equilibrium pullbacks,
buy or sell opportunities for price reversals,
institutional order flow.
The largest histogram node is called the Point of Control (POC). It is the estimated real market price of a coin. There's a common belief that when the price is above this point, the market sentiment is bullish, and when it's below, the sentiment turns bearish. It can act as a strong support if the price is above it and as strong resistance if the price is below it.
Price action usually finds the most support and resistance and the edge of the high volume areas. The indicator can mark these as VAH and VAL (Value Area High and Low).
In addition to the indication of support and resistance zones, the volume profile can also be used to infer the speed of price movements. At levels where there is little trading volume, faster and more volatile price movements are expected. In such scenarios the price may fall or rise faster to the next high volume zone.
👉 General advice
Confirming Signals with other indicators:
As with all technical indicators, it is important to confirm potential signals with other analytical tools, such as support and resistance levels, as well as indicators like RSI, MACD, and volume. This helps increase the probability of a successful trade.
Use proper risk management:
When using this or any other indicator, it is crucial to have proper risk management in place. Consider implementing stop-loss levels and thoughtful position sizing.
Combining with other technical indicators:
The indicator can be effectively used alongside other technical indicators to create a comprehensive trading strategy and provide additional confirmation.
Keep in Mind:
Thorough research and backtesting are essential before making any trading decisions. Furthermore, it's crucial to have a solid understanding of the indicator and its behavior. Additionally, incorporating fundamental analysis and considering market sentiment can be vital factors to take into account in your trading approach.
Limitations:
The Lite version shows simple delta with current timeframe volume data.
The indicators within the TradeMaster Lite package aim for simplicity and efficiency, while retaining their original purpose and value. Some settings, functions or visuals may be simpler than expected.
**The Delta estimates which side was dominant at that price level and by how much. It is the difference between bull and bear volume of the candle.
⭐ Conclusion
We hold the view that the true path to success is the synergy between the trader and the tool, contrary to the common belief that the tool itself is the sole determinant of profitability. The actual scenario is more nuanced than such an oversimplification. Our aim is to offer useful features that meet the needs of the 21st century and that we actually use.
🛑 Risk Notice:
Everything provided by trademasterindicator – from scripts, tools, and articles to educational materials – is intended solely for educational and informational purposes. Past performance does not assure future returns.
Variety Volatility Supertrend w/ Bands [Loxx]Variety Volatility Supertrend w/ Bands indicator is a powerful and highly customizable tool for traders. Building upon the foundational concept of the classic Supertrend indicator, this variant adds a plethora of user-driven options and features that can cater to diverse trading styles and market scenarios.
The Supertrend indicator is traditionally used to identify market trends by overlaying a line on the price chart, which changes color and position in relation to the price based on the trend direction. The Variety Volatility Supertrend w/ Bands takes this a step further by offering various volatility calculations, visual enhancements, explicit trading signals, and alert conditions.
It provides five options for volatility calculations, enabling users to select the most suitable measure for their strategy. This indicator also allows users to control the display of the upper, lower, and mid bands, which can serve as dynamic support and resistance levels. Further, it can display explicit trading signals when the trend changes direction and set up alerts for these signals.
█ User Inputs
Source: Defines the source of the price data, typically the closing price.
Period: Defines the lookback period for the chosen volatility calculation.
Mid Price Period: Defines the number of periods for calculating the mid-price.
Multiplier: The factor by which the volatility measure (e.g., ATR) is multiplied.
Volatility Type: The user can choose one of five different calculations for the volatility measure: ATR, Standard Error, Standard Deviation, Custom Standard Deviation with Sample Correction, and Custom Standard Deviation without Sample Correction.
Classic Supertrend: Enables the classic version of the Supertrend indicator if set to true.
Show Upper Band, Show Lower Band, Show Mid: Determines whether the upper, lower, and middle bands of the Supertrend indicator are displayed.
Outer Line Width, Mid Line Width: Controls the line widths of the outer and middle lines.
Color Bars: Colors the price bars based on the direction of the trend if enabled.
Show signals: Displays trading signals on the chart if enabled.
Bull Color, Bear Color: Controls the colors of the Supertrend indicator during bullish and bearish market conditions.
█ Computations
The script begins by calculating the chosen volatility measure (ATR, Standard Error, Standard Deviation, etc.) and the mid-price, which is the average of the highest and lowest prices over the specified Mid Price Period. It then calculates the upper and lower bands by adding and subtracting the product of the Multiplier and the volatility measure from the mid-price.
The script then compares the current price with the previous upper and lower bands to determine the trend direction. If the current price is greater than the previous upper band, the trend is considered bullish. If it's less than the previous lower band, the trend is bearish.
█ Visualizations
The script plots the upper, lower, and mid bands on the chart based on the user's settings. If Color Bars is enabled, the script colors the price bars based on the trend direction. If Show signals is enabled, the script displays shapes on the chart to represent trading signals when the trend changes direction.
█ Alerts
Finally, the script sets up alert conditions for long and short trading signals. When these conditions are met, TradingView sends an alert to the user with a message indicating the indicator's name, the type of signal (long or short), and the symbol and closing price of the asset.
█ Visualization Modes
Classic Supertrend
The Classic Supertrend mode essentially transforms the "Variety Volatility Supertrend w/ Bands " indicator to behave more like the traditional Supertrend indicator.
In the traditional Supertrend indicator, there is a single line that shifts positions based on the trend direction. When the market is in an uptrend, the Supertrend line is plotted below the price, acting as a dynamic support level. Conversely, when the market is in a downtrend, the Supertrend line moves above the price, acting as a dynamic resistance level.
When you set Classic Supertrend to True in this script, it mimics this behavior. It will only display one line (the Supertrend line) instead of the upper and lower bands. The Supertrend line will switch between the calculated upper band and lower band based on the trend direction:
In an uptrend, it plots the lower band as the Supertrend line (acting as a dynamic support level).
In a downtrend, it plots the upper band as the Supertrend line (acting as a dynamic resistance level).
Thus, when Classic Supertrend is True, the display is similar to the regular Supertrend indicator, offering a more simplified, less cluttered view of the price trend.
See here for the Classic Supertrend
Supertrend Moving Average with Bands
When the Classic Supertrend option is turned off in the "Variety Volatility Supertrend w/ Bands " indicator, the indicator displays upper and lower bands along with the midline, depending on the user's settings. These bands can serve as dynamic support and resistance levels, and they move and adjust based on the market's volatility.
Support and resistance are key concepts in technical analysis. Support is a price level where the price tends to find a floor as it falls, indicating a greater amount of demand or buying interest that can prop up the prices. Resistance, on the other hand, is a price level where rising prices tend to stop rising, indicating a greater amount of supply or selling interest.
In the context of the "Variety Volatility Supertrend w/ Bands " indicator:
Upper Band: This can act as a dynamic resistance level in a downtrend. When prices are falling, they might struggle to rise above this band. If prices do break above the upper band, it could be a sign that the downtrend is reversing, and a new uptrend may be beginning.
Lower Band: Conversely, this can act as a dynamic support level in an uptrend. When prices are rising, they might bounce off this band and continue to rise. If prices break below the lower band, it could indicate that the uptrend is reversing, and a new downtrend may be beginning.
The benefit of these dynamic support and resistance levels is that they adjust automatically as market conditions change, potentially offering more relevant insights into price behavior compared to static support and resistance levels.
See here for the Supertrend Moving Average with Bands
█ Volatility Types
The "Variety Volatility Supertrend w/ Bands " indicator provides five options for the volatility calculation. Volatility is a statistical measure of the dispersion of returns for a given security or market index. In most cases, the higher the volatility, the riskier the security. Here's a quick summary of each option:
Average True Range (ATR): This is a common volatility measure in the world of trading, particularly for commodities and forex markets. It measures the average of true price ranges over a specified period. The true range considers the most recent period's high-low range, the previous close to the most recent high, and the previous close to the most recent low, taking the highest value.
Standard Error: This is a measure of the accuracy of predictions made with statistical techniques. In the context of trading, the standard error can give traders an idea of the quality of their volatility or price level estimates. It's calculated using the standard deviation of the price data, the square root of the number of data points.
Standard Deviation: This is a measure of the dispersion of a set of data from its mean. It's a commonly used volatility measure in finance. In trading, a higher standard deviation suggests greater price volatility.
Custom Standard Deviation - with Sample Correction: This is a variation of the standard deviation calculation, but it applies a correction for small sample sizes. It's calculated similarly to the standard deviation, but the sum of the squares is divided by (n-1) instead of n to provide a more accurate estimate when working with a small number of data points.
Custom Standard Deviation - without Sample Correction: This is another variation of the standard deviation calculation, but without the sample correction. This might be used when the number of data points is sufficiently large that the correction is not necessary.
The choice of volatility measure can have a significant impact on the sensitivity of the Supertrend indicator. Some measures may result in wider bands and fewer trend changes, while others may produce narrower bands and more frequent trend changes. The choice of volatility measure should align with the trader's strategy and risk tolerance.
█ Multiple Timeframe options
The "Variety Volatility Supertrend w/ Bands " indicator, like most indicators on the TradingView platform, can be applied to various timeframes, regardless of the chart's current timeframe. The timeframe of an indicator is determined by the timeframe of the price data it processes.
This indicator's flexibility with timeframes allows it to be used in different trading strategies. Day traders might use shorter timeframes like 1-minute or 15-minute charts, swing traders might use 1-hour or 4-hour charts, and long-term investors might use daily or weekly charts.
See here for the Supertrend Moving Average with Bands on 4-hour chart using Daily data
Liquidity Voids (FVG) [LuxAlgo]The Liquidity Voids (FVG) indicator is designed to detect liquidity voids/imbalances derived from the fair value gaps and highlight the distribution of the liquidity voids at specific price levels.
Fair value gaps and liquidity voids are both indicators of sell-side and buy-side imbalance in trading. The only difference is how they are represented in the trading chart. Liquidity voids occur when the price moves sharply in one direction forming long-range candles that have little trading activity, whilst a fair value is a gap in price.
🔶 USAGE
Liquidity can help you to determine where the price is likely to head next. In conjunction with higher timeframe market structure, and supply and demand, liquidity can give you insights into potential price movement. It's essential to practice using liquidity alongside trend analysis and supply and demand to read market conditions effectively.
The peculiar thing about liquidity voids is that they almost always fill up. And by “filling”, we mean the price returns to the origin of the gap. The reason for this is that during the gap, an imbalance is created in the asset that has to be made up for. The erasure of this gap is what we call the filling of the void. And while some voids waste no time in filling, some others take multiple periods before they get filled.
🔶 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 Detection
Liquidity Voids Threshold: Act as a filter while detecting the Liquidity Voids. When set to 0 basically means no filtering is applied, increasing the value causes the script to check the width of the void compared to a fixed-length ATR value
Bullish: Color customization option for Bullish Liquidity Voids
Bearish: Color customization option for Bearish Liquidity Voids
Labels: Toggles the visibility of the Liquidity Void label
Filled Liquidity Voids: Toggles the visibility of the Filled Liquidity Voids
🔹 Display Options
Mode: Controls the lookback length of detection and visualization
# Bars: Lookback length customization, in case Mode is set to Present
🔶 RELATED SCRIPTS
Buyside-Sellside-Liquidity
Fair-Value-Gaps
[MAD] WaveBuilderThe WaveBuilder indicator is a powerful technical analysis tool that combines wave calculations, channel formation, and smoothing techniques to identify trends, reversals, and potential trading opportunities.
It provides users with customizable settings for different timeframes, smoothing averages, channel levels, and alert conditions, making it a comprehensive and versatile tool for analyzing market dynamics.
----------------------
Wave Settings:
The Wave Settings section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the wave calculations based on different timeframes and lengths. This section focuses on four different lengths. Here are the details of the Wave Settings (4 Lengths):
Timeframe 1 (TF1): This parameter allows you to select the first timeframe for the wave calculation. You can choose any valid timeframe.
Weight (F1): This setting represents the weight for Timeframe 1. It is a floating-point value that affects the impact of this timeframe in the wave calculation.
Multiplier 2 (TF2): This parameter specifies the multiplier for the second timeframe. It determines the ratio between Timeframe 2 and Timeframe 1.
Weight (F2): This setting represents the weight for Timeframe 2. It determines the influence of Timeframe 2 in the wave calculation.
Multiplier 3 (TF3): This parameter defines the multiplier for the third timeframe. It determines the ratio between Timeframe 3 and Timeframe 1.
Weight (F3): This setting represents the weight for Timeframe 3. It determines the impact of Timeframe 3 in the wave calculation.
Multiplier 4 (TF4): This parameter specifies the multiplier for the fourth timeframe. It determines the ratio between Timeframe 4 and Timeframe 1.
Weight (F4): This setting represents the weight for Timeframe 4. It determines the influence of Timeframe 4 in the wave calculation.
WaveBuilder Fast: This parameter sets the length of the fast wave average. It represents the number of bars considered in the calculation of the fast wave average.
WaveBuilder Slow: This parameter sets the length of the slow wave average. It represents the number of bars considered in the calculation of the slow wave average.
The Wave Settings allow you to configure different timeframes, multipliers, and weights for wave calculations. These settings provide flexibility in customizing the indicator's behavior based on your preferred trading strategy and market conditions.
----------------------
Counter Oscillator:
The Counter Oscillator section in the Multitimeframe WaveTrend indicator enables you to configure parameters related to a counter oscillator. This oscillator helps identify potential reversals or countertrend movements.
Here are the details of the Counter Oscillator settings:
Multiplier Counter (TF5): This parameter allows you to select the multiplier counter timeframe. It determines the ratio between the multiplier counter and the main timeframes.
Weight (F5): This setting represents the weight for the multiplier counter. It determines the influence of the multiplier counter in the counter oscillator calculation.
Length (will_length): This parameter sets the length or period of the counter oscillator. It represents the number of bars considered in the counter oscillator calculation.
The Counter Oscillator settings provide additional insights into the market by analyzing countertrend movements. By adjusting the multiplier counter and length parameters, you can customize the counter oscillator to suit your trading preferences.
----------------------
Wave Smoothing and Mixing:
The Wave Smoothing and Mixing section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the smoothing and mixing of the wave calculations. Here are the details of the Wave Smoothing and Mixing settings:
Average 1 Type: This parameter allows you to select the type of smoothing average for the first average. You have various options such as WMA, HMA, VWMA, LMA, RMA, SMA, EMA, and more.
Length 1: This setting determines the length or period of the first smoothing average. It represents the number of bars considered in the calculation.
Average 2 Type: This parameter allows you to select the type of smoothing average for the second average.
Length 2: This setting determines the length or period of the second smoothing average.
Mix Factor AVG1-AVG2: This parameter controls the mixing factor between the first and second smoothing averages. It affects the weighting or blending of the two averages.
POW - Factor: This parameter adjusts the power factor, which can compress or expand the resulting values. It allows you to fine-tune the output based on your preferences.
The Wave Smoothing and Mixing settings enable you to smooth the wave calculations and mix different averages to create a more refined and customized output. By selecting the desired smoothing types, adjusting the lengths, and modifying the mix factor and power factor, you can tailor the indicator to your specific trading style.
----------------------
Channel Levels and Alert Mode:
The Channel Levels and Alert Mode section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the channel levels and the alert mode. Here are the details of the Channel Levels and Alert Mode settings:
Channel Width: This parameter determines the width or range of the channel levels. It represents the distance between the upper and lower channel lines.
Channel Shift Up/Down: This setting allows you to shift the entire channel up or down. It represents the vertical offset of the channel lines.
Alert Mode (Alertmode): This parameter determines the type of alert triggered by the indicator based on the channel levels.
You have options such as Outside, CrossIn, CrossOut, ChangeDir-All, and ChangeDir-Outside.
Channel Levels: The upper and lower channel levels are calculated based on the channel width and offset. They provide visual boundaries for the price movement within the channel.
The Channel Levels and Alert Mode settings help define the channel levels and specify the conditions for generating alert notifications.
By adjusting the channel width, offset, and selecting the appropriate alert mode, you can customize the indicator's behavior according to your trading requirements.
----------------------
Dynamic Channel:
The Dynamic Channel section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the dynamic channel formation.
This feature helps create channels based on different smoothing averages.
Here are the details of the Dynamic Channel settings:
Channel Average 1 Type: This parameter allows you to select the type of smoothing average for the first channel average.
Length 1: This setting determines the length or period of the first channel average.
Channel Average 2 Type: This parameter allows you to select the type of smoothing average for the second channel average.
Length 2: This setting determines the length or period of the second channel average.
MA 1 / MA 2 Mix Factor: This parameter controls the mixing factor between the first and second channel averages. It affects the weighting or blending of the two averages.
Mixing Off Dynamic in Weight: This parameter allows you to mix off the dynamic in weight.
Smoothing Type: This parameter allows you to select the type of smoothing for the trend within the dynamic channel.
Smoothing Length: This setting determines the length or period of the trend smoothing within the dynamic channel.
The Dynamic Channel settings enable you to create channels based on different smoothing averages and adjust the weighting between them. Additionally, you can apply further smoothing to the trend within the dynamic channel. This feature helps identify trends and potential trade opportunities within the channel.
----------------------
Speed of Change Rate:
The Speed of Change Rate section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the rate of change in the indicator. Here are the details of the Speed of Change Rate settings:
Plot Speed (plot_speed): This setting determines whether to plot the speed of change on the chart.
Speed Scaling (change_factor): This parameter adjusts the scaling factor for the speed of change.
Speed Smoother (smoothtype_change): This parameter allows you to select the type of smoothing average for the speed of change calculation.
Speed Length (change_length): This setting determines the length or period of the speed of change calculation.
The Speed of Change Rate settings provide insights into the rate at which the indicator values are changing. By visualizing and analyzing the speed of change, you can identify potential acceleration or deceleration in the price movement.
----------------------
Signal Main Configuration:
The Signal Main Configuration section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the signal input and passthrough. Here are the details of the Signal Main Configuration settings:
Signal Type (inputtype): This parameter determines the type of signal input. You have options such as MultiBit and NoInput.
Select L1 Indicator Signal (inputModule): This parameter allows you to select the source of the L1 indicator signal. You can choose any valid input source, such as the closing price or another indicator.
Signal Passthrough (Passthrough): This setting enables or disables the passthrough of the signal. When enabled, the indicator passes the input signal to the output.
The Signal Main Configuration settings allow you to define the type of signal input and control whether to pass the signal through the indicator or not. This feature provides flexibility in integrating the indicator with other trading strategies or indicators.
----------------------
Multibit Modified Channel:
The Multibit Modified Channel section in the Multitimeframe WaveTrend indicator allows you to configure parameters related to the modified channel based on the multibit input. Here are the details of the Multibit Modified Channel settings:
Input Bull (CH_Trendup_in): This parameter allows you to specify the input channel for bullish signals.
Bull Offset (trendfactorbull): This setting determines the offset for the bullish signals in the modified channel.
Input Bear (CH_Trenddown_in): This parameter allows you to specify the input channel for bearish signals.
Bear Offset (trendfactorbaer): This setting determines the offset for the bearish signals in the modified channel.
The Multibit Modified Channel settings enable you to modify the channel based on the multibit input. By specifying the input channels for bullish and bearish signals and adjusting the respective offsets,
you can customize the channel representation based on your trading strategy.
Multibit Output:
The Multibit Output section in the Multitimeframe WaveBuilder indicator allows you to configure parameters related to the output of the multibit signals and alerts. Here are the details of the Multibit Output settings:
Output Bull (CH_Buy_out): This parameter specifies the output channel for bullish signals.
Output Bear (CH_Sell_out): This parameter specifies the output channel for bearish signals.
Show Alerts (showalerts): This setting determines whether to display alert notifications for the multibit signals.
The Multibit Output settings define the output channels for bullish and bearish signals and control the display of alert notifications. This allows you to visualize and receive alerts for the multibit signals generated by the indicator.
----------------
Here a overview from the settings
--------------------------------
The pipeline of the WaveBuilder can be understood in the following structured manner:
----------
Wave Calculation:
Wave calculation is performed using the input parameters, resulting in wave values.
The wave values are then averaged using Average 1 and Average 2, and the weighted average is obtained.
The weighted average is mixed with other factors to create a mixed value.
----------
Channel Formation:
The mixed value is multiplied by a weight to generate a dynamic part.
The dynamic part is combined with the static channel and the multibit modification to form a base value.
----------
Smoothing and Mixing:
The base value is averaged using Average 1 and Average 2, and the weighted average is calculated.
The mixed2 value is obtained by smoothing the weighted average.
The mixed2 value is further processed using power compression (POW) to refine the output.
----------
Plotting:
The final smoothed and processed values are plotted to visualize the indicator on the chart.
By following this pipeline, the WaveBuilder combines wave calculations, channel formation, smoothing techniques, and power compression to provide valuable insights into market trends and potential trading opportunities.
--------------------------------
Librarys used:
djmad/Signal_transcoder_library
djmad/MAD_MATH
djmad/Mad_Standardparts
Market Price Order Divergence + Trapped Positions [Pt]█ Introduction
Specifically designed for trading on NYSE, NASDAQ, Dow Jones, and AMEX related instruments like SPY, QQQ, ES, NQ...etc., this innovative tool provides traders with advanced market insights to help them comprehend the market intricacies and make well-informed decisions. Comprising three primary features: Price Order Divergence (POD) Bubbles, Market Order Bubbles, and Trapped Positions/Zones, this tool assists traders in deciphering the nuances of market order flow and trends.
An important point to note is that TradingView doesn't currently provide direct access to market order data, such as buy and sell order flow. Therefore, this tool cleverly leverages TICK index data to estimate the overall market buy and sell strength.
█ Price Order Divergence (POD)
POD serves to detect disparities between the prices of US indices and estimated market orders during regular trading hours (9:30 to 16:00 EST). Bullish divergence indicates that the estimated market order flow is biased towards buy orders, despite bearish price action. In contrast, bearish divergence indicates that the market order flow is biased towards sell orders while the price exhibits bullish action. By default, PODs are visually represented as green bubbles under the candle for bullish divergence and red ones above the candle for bearish divergence. The bubble's size symbolizes the estimated market order strength.
█ Market Order Bubbles (MOB)
During extended or Globex hours, instead of POD, the tool uses Market Order Bubbles (MOB) to estimate market orders using volume data. Sophisticated algorithm is used to distinguish between bullish vs bearish volume. A strong bullish volume represents significant buy orders, whereas a strong bearish volume represents substantial sell orders. By default, MOBs during these hours are shown in blue for bullish and yellow for bearish divergence. Again, the bubble's size symbolizes the estimated market order strength.
█ Trapped Positions/Zones
Trapped positions materialize when PODs or MOBs emerge in trending markets. For example, a bearish divergence during an uptrend suggests significant selling (including shorting), and if the price continues ascending without offering short positions any profit, these positions become 'trapped shorts' and is shown as 'TS' in the zone. The opposite is true for 'trapped longs' or 'TL'.
A price range zone can be delineated from the trapped position candles. If prices revisit these zones, and the prevailing market trend stays bullish, the trapped shorts will probably liquidate near the break-even point to mitigate losses. The same rationale applies to bullish divergence in a downtrend. Therefore, these zone often times represents support / resistance zones.
█ Potential Use Cases
► Trend Confirmation: POD or MOB can confirm the strength of an ongoing trend. For example, during a bullish trend, a plethora of green bubbles or blue MOBs can affirm the trend's solidity.
► Spotting Reversals: Large, isolated POD or MOB bubbles could indicate potential market reversals. For instance, a prominent red bubble or yellow MOB during an uptrend might hint at an impending trend reversal.
► Risk Management: The Trapped Positions/Zones feature could assist in risk management. When prices approach these zones, traders can anticipate potential large market orders impacting price movements.
► Profit Optimization: This tool can aid traders in optimizing profits by identifying when trapped positions are likely to liquidate, thus predicting potential sharp price movements.
Remember, as with any tool, this should be used alongside other market analyses and not as a standalone indicator. Happy trading!
================================================================================================================
█ Settings Overview
◊ Market - available options: NYSE, NASDAQ, Dow Jones, AMEX. This will be displayed
◊ Lookback period- # of bars to lookback for detecting price vs market order divergences
▼ Regular Hour - Price Order Divergence Bubbles
◊ Show Price Order Divergence (POD) Bubbles - toggle on/off for POD bubbles
◊ └ Use Market Order Sentiment only - Shows divergences between price movement and market order sentiment (amount of buying vs selling)
◊ └ Use Market Order Trend Bias - On top of market order sentiment, the indicator also looks at overall market short term trends to determine divergences
◊ └ Use Threshold Min. Threshold - For filtering order size, the lower the threshold, the more sensitive
◊ └ Use Volume Strength - Take volume into consideration as well, only shows divergence when there is strength in volume
▼ Extended Hour - Market Order Bubbles
◊ Show Market Order Bubbles - toggle on/off for MOB. Using volume data to estimate significant market order activities. Bubbles indicate possible large liquidation activities
◊ └ Volume Analysis period - lookback period for volume analysis
◊ └ Volume Strength period - lookback period for volume strength
▼ Trapped Position Zones
◊ Show Potential Traps - toggle on/off for un-activated trapped zones. They are shown as lightly shaded areas of potential traps. These areas will be activated once price hit the activation %
◊ Show Trapped positions (Regular Hours) - toggle on/off for POD trapped zones. By default, trapped shorts are shown in green, trapped tongs are shown in red.
◊ Show Trapped positions (Extended Hours) - toggle on/off for MOB bubbles. By default, trapped shorts are shown in blue, trapped tongs are shown in orange.
◊ └ Activation % - Trapped zones are activated if price goes x% of the potential trapped range in the undesirable direction. Default is 100%
◊ Liquidate display options - options: On first touch, Per touch, Fully liquidated
Trapped zones liquidate display options:
▼ Display
◊ General color settings for bubbles, trapped zones, and label size
◊ Use Emoji for bubbles - fun setting that displays bulls and bears by default. This helps really visualize where the bulls and bears are! 🤣🤣 These emoji can be changed in the style setting.
▼ Trapped Zone Channel
The trapped zone channel represents a continuous channel of the closest activated trapped zone area. This allows for creating alerts for trapped zones, and the plot outputs allows for custom Pinescript integration.
◊ Trapped Zone Channel Buffer % - Adds upper and lower buffer for trapped zone channel
◊ Show Trapped Channel - toggle on/off on trapped zone channels
◊ └ Remove channel changing lines - toggle on/off the transition plot lines when switching to the closest trapped zones
◊ Show Trapped Channel Fill - toogl
▼ Extra
◊ Display settings for chosen market and indicator title
▼ Trend Follower
◊ Show Trend Following Bar Color - toggle trend follower algorithm. This is an experimental trend following algorithm that attempts to detect bullish, neutral and bearish trends.
▼ Outputs
◊ Output Bubbles
Outputs for Bubbles for external interface. These can be used as inputs to your own indicator or strategy Pinescript. For more info, take a look at this TradingView blog:
www.tradingview.com
Bubble type can be chosen within the settings:
Both - Default, output will include both Market Price Order Divergence Bubbles (during Regular Hours) and Market Order Bubbles (during Extended Hours)
POD Only (RTH) - Output will include only Market Price Order Divergence Bubbles; otherwise, output = 0 during Extended Hours
MOB Only (ETH) - Output will include only Market Order Bubbles; otherwise, output = 0 during Regular Hours
Market Order Bubbles output values:
3 = Large size Bullish Bubble
2 = Medium size Bullish Bubble
1 = Small size Bullish Bubble
0 = No Bubble
-1 = Small size Bearish Bubble
-2 = Medium size Bearish Bubble
-3 = Large size Bearish Bubble
ATR VisualizerAdvance Your Market Analysis with the True Range Indicator
The True Range Indicator is a sophisticated screener meticulously developed to bolster your trading execution by presenting an exceptional understanding of the market direction. The centerpiece of this instrument is a distinctive candle configuration depicting the Average True Range (ATR) and the Bear/Bull range. However, it traverses beyond the conventional channels to offer specific market settings to boost your trading decisions.
User-Defined Settings
Broadly, the indicator offers five dynamic settings:
Bear/Bull Range
The Bear/Bull Range outlines the ATR for each candle type - bearish and bullish - and then smartly opts for the pertinent one based on the prevalent market circumstances. This feature aids in comparing the range of bullish and bearish candlesticks, which deepens your understanding of the price action and volatility.
Bearish Range
The Bearish Range isolates and computes the ATR for bearish candles solely. Utilizing this option spots the bear-dominated periods and provides insights about potential market reversals or downward continuations.
Bullish Range
Opposite to the Bearish Range, the Bullish Range setting tabulates the ATR exclusively for bullish candles. It assists in tracking the periods when bulls control, enlightening traders about the possibility of upward continuations or trend reversals.
Average Range
The Average Range provides an unbiased measure of range without prioritizing either bull or bear trends. This model is ideal for traders looking for a holistic interpretation of market behavior, regardless of direction.
Cumulative Average Range
Equally significant is the Cumulative Average Range which calculates the aggregate moving average of the true ranges for an expressed period. This setting is extremely valuable when evaluating the long-term volatility and spotting potential breakouts.
Dual Candle Configuration
Going a step ahead, the True Range Indicator uniquely offers the possibility to incorporate more than one candle estimate on your screen. This ensures simultaneous analysis of multiple market dynamics, thereby enhancing your trading precision multifold.
Concluding Thoughts
In essence, the True Range Indicator is an indispensable companion for traders looking to not only leverage market volatility but also make educated predictions. Equipped with an array of insightful market settings and the ability to display dual candle estimates on-screen, you can customize the functionality to suit your unique trading style and magnify your market performance dramatically.
Algorganic Buy / Sell / X-Exit Signal [UOI]The " Algorganic Buy / Sell / X-Exit Signal " indicator is an Algorithmic Machine Learning-based superpack indicator that generates buy and sell signals for trading in financial markets. It is packed with conditional statemnets and filters to avoid false signals and utilizes Nearest Neighbors Model (NNM) algorithm with a distance metric to determine the direction of the price movement and make predictions according to the next past 12 bars for the next 4 to 8 bars in whatever chart frame the trader is using. Ideal time frames are 2, 3, 5 and 15 minutes for option traders and scalpers can use it on the 1 minute chart.
The indicator takes into account various technical indicators such as Relative Strength Index (RSI), Average Directional Index (ADX), CCI, Stochastic, ATR and major EMAs and has two optimizer for confirmation. These indicators are used as features to train the Machine Learning model and at the same time to provide better buy and sell signals with multiple "if" conditions.
The NNM algorithm calculates the distance between the current data point and historical data points. It works like a mixture of ATR and ADX. By considering the nearest neighbors, the model predicts the direction of future price movement. The predictions are filtered using additional criteria, including volatility, trend detection, and, ATR and ADX values.
The indicator provides visual signals on the chart, indicating when to enter a long (buy) or short (sell) position but traders should also be mindful of support and resistance levels and oversold and overbought conditions and the higher timeframe signal. It also offers options for dynamic exits based on specific conditions or fixed exits after a predefined number of bars.
Additionally, the indicator includes filters based on EMA (Exponential Moving Average), SMA (Simple Moving Average), and a kernel regression technique. These filters help to refine the signals and reduce noise in the predictions.
The indicator also includes alert functionalities to notify traders of entry and exit points.
The Algorganic is a versatile trading indicator that provides buy and sell signals based on the analysis of various popular technical indicators in combination with Machine Learning techniques with technical analysis and support and resistance levels to generate trading signals, helping traders make informed decisions. This powerful tool overlays on your price chart and can be used across different markets and timeframes.
Key Features:
1. Dynamic EMA Support and Resistance Levels: You can define the top and bottom lines as either 'Support' or 'Resistance'. These levels are calculated using an Exponential Moving Average (EMA) and Average True Range (ATR) inputs.
2. Exponential Moving Average (EMA): The EMA is calculated based on the EMA length input provided by the user, with a default setting of 21 periods.
3. Average True Range (ATR): The ATR is calculated with a default length of 14 periods and is used in determining the support and resistance levels.
4. Buy/Sell Signals: The indicator provides buy and sell signals when the price hits the defined support or resistance levels. These signals are represented by X-shapes plotted on the chart, with green indicating a hit on support (buy signal), and red indicating a hit on resistance (sell signal).
5. Trend Strength Analysis: It uses a unique combination of technical indicators like MACD, RSI, Velocity, CCI, Stochastic, and a custom trend strength indicator. The settings for each of these indicators can be customized according to user preference.
6. Bull/Bear Tug of War: This feature paints the little triangles green if the majority of the indicators are bullish, and red if the majority are bearish. This is a powerful feature to visualize the overall market sentiment.
7. Buy/Sell Alert: The script generates alerts for potential buy and sell signals. Alerts contain information about the signal type, ticker symbol, and current price.
8. Plot EMA Line: This indicator includes an option to display an additional EMA line on the chart, which can be toggled on or off as per the user's choice.
How to use it:
You basically need to master riding this machine. There are a lot of conditions that have been added to make sure novice traders do not make a mistake. The image below shows how to use the indicator. Pay attention to colors:
Longer time frame you should pay attention to the EMA lines and over bought and oversold levels in the optimizers. here is an example:
And another example on 15 min timeframe:
On top of all the above, this indicator has a built-in advanced support and resistance tool that dynamically identifies pivot points and their corresponding support and resistance zones based on the historical data of a given asset. So what this means is that you should ignore a buy signal very close to a resistance and only enter when the resistance is broken.
Here are the configurable support and resistance parameters:
1. Pivot Period : The period considered for pivot detection. The range is between 4 to 30 days with a default value of 25.
2. Source: The price point to be used as the source for pivot detection. You can choose between 'High/Low' and 'Close/Open'.
3. Maximum Number of Pivot: This defines the maximum number of pivot points that the algorithm will store. This can be anywhere from 5 to 100, with 45 as the default value.
4. Maximum Channel Width % : This sets the maximum width of the support/resistance channel as a percentage. Minimum value is 1, with a default value of 10. Higher numbers capture longer timeframe and lower number shorter timeframes. For scalping use 5 or 8 for swing use 12 or 14.
5. Maximum Number of Lines: This sets the maximum number of support/resistance lines displayed on the chart. It ranges from 1 to 15 with a default of 10.
6. Minimum Strength: This is the minimum strength of the support or resistance line, defined by the number of times price touches it. It ranges from 1 to 10 with a default of 2.
7. Line Style: This option allows the user to choose the line style between 'Solid', 'Dotted', and 'Dashed'.
8. Line Width: This allows users to choose the width of the line ranging from 1 to 4.
9. Resistance Color and Support Color: These define the colors for the resistance and support lines.
The script also includes functions to calculate if the price has crossed over or under a support or resistance line.
The S/R assist uses these inputs to calculate pivot highs and lows, create support and resistance zones, and plot these on the chart. When the price crosses a support or resistance line, the script can identify this as a possible trading signal. The lines' strengths are also calculated, and only those with strengths above the user-defined minimum are drawn on the chart.
Conditional Chart Pattern Signals: ABC Top/BottomCCPS ABC is a set of top/bottom patterns based on three points.
Pattern Variants/Subvariants:
• UHV (Uphill Middle): The price retreats slightly and reverses to climb higher with V-shape. A downward signal of this variant points out the candle where the price might retreat again. Nonetheless, as it has been a strong uptrend with higher velocity and higher wave, the probability of a huge decrease is small. Thus, it is classified as a weak bearish signal and we should only use it as a warning, i.e., we will enter a sell position when there is another high with another bearish signal. Subvariant: UHV3.
• UHL (Uphill Top Left): When the price crawls near the top of a hill, it is higher and higher but the velocity and the wave decrease. Subvariants: UHL1 (only velocity decreases), UHL2 (only wave decreases), UHL3 (both velocity and wave decrease).
• DHC (Downhill Top Center): An increase followed by a decrease in price with higher velocity and higher wave represents the start of falling from the top of a hill. Subvariants: DHC1 (only velocity increases), DHC2 (only wave increases), DHC3 (both velocity and wave increase).
• DHR (Downhill Top Right): A small decrease followed by a larger decrease in price with higher velocity and higher wave represents the confirmation of falling from the top of a hill. Subvariants: DHR1 (only velocity increases), DHR2 (only wave increases), DHR3 (both velocity and wave increase).
• DHV (Downhill Middle): A large decrease followed by a small increase in price to form a V-shape with lower velocity yet higher wave represents the continuation of falling in the downside of a hill. Subvariant: DHV3.
• DVA (Downvalley Middle): The price gains slightly and reverses to plunge lower with A-shape. An upward signal of this variant points out the candle where the price might bounce again. Nonetheless, as it has been a strong downtrend with higher velocity and higher wave, the probability of a huge increase is small. Thus, it is classified as a weak bullish signal and we should only use it as a warning, i.e., we will enter a buy position when there is another low with another bullish signal. Subvariant: DVA3.
• DVL (Downvalley Bottom Left): When the price arrives near the bottom of a valley, it is lower and lower but the velocity and the wave decrease. Subvariants: DVL1 (only velocity decreases), DVL2 (only wave decreases), DVL3 (both velocity and wave decrease).
• UVC (Upvalley Bottom Center): A decrease followed by an increase in price with higher velocity and higher wave represents the start of rising from the bottom of a valley. Subvariants: UVC1 (only velocity increases), UVC2 (only wave increases), UVC3 (both velocity and wave increase).
• UVR (Upvalley Bottom Right): A small increase followed by a larger increase in price with higher velocity and higher wave represents the confirmation of rising from the bottom of a valley. Subvariants: UVR1 (only velocity increases), UVR2 (only wave increases), UVR3 (both velocity and wave increase).
• UVA (Upvalley Middle): A large increase followed by a small decrease in price to form an A-shape with lower velocity yet higher wave represents the continuation of rising in the upside of a valley. Subvariant: UVA3.
Wave Calculation:
• Full: Waves are calculated at middle and two edges. Forward: Waves are calculated at middle and right edge.
• Average: Waves are measured by average heights. Max: Waves are measured by max heights.
Bullish/Bearish Signal Candle Check: None/Standard/TL.
• None: Not check signal candle if it is bullish or bearish.
• Standard: Bullish candle if close is higher than open or close is higher than previous close.
• TL(c): Bullish/bearish candles follow the proprietary standard. It has more conditions than Standard.
Exit: Choose an exit mode to calculate historical performance.
• Next Occurrence: Exit of an occurrence stands at the next occurrence.
• Near Fixed Length: Exit of an occurrence stands at either a specified fixed length or the next occurrence depending on which one happens first.
Signal Label Text: Subvariant name/abbreviation.
Signal Label Tooltip:
• Total: Number of occurrences of the subvariant, including the current one.
• Entry Price ($): Close price of the signal.
• Max Profit ($): Max profit of an occurrence is calculated from after the signal until the next occurrence of the same subvariant.
• Min/Max/Average Max Profit ($): Min/max/average profit of a subvariant is calculated by getting min/max/average of max profit of all occurrences of that subvariant.
• Max Loss ($): Max loss of an occurrence is calculated from after the signal until the next occurrence of the same subvariant.
• Min/Max/Average Max Loss ($): Min/max/average loss of a subvariant is calculated by getting max/min/average of max loss of all occurrences of that subvariant.
• Win: Number of historical winning occurrences of the subvariant. An occurrence of a subvariant is defined as winning when the max profit is larger than the absolute value of the max loss.
• Min Length: Min time between occurrences of the subvariant in terms of candles.
• Max Length: Max time between occurrences of the subvariant in terms of candles.
• Average Length: Average time between occurrences of the subvariant in terms of candles.
Current Label Text: Shows information of the latest occurrence of each subvariant next to the current candle.
• Last Occurrence: Date/time in exchange timezone of the latest occurrence.
Specification & Performance:
tinyurl.com
Usage:
Enter right when the signal closes or at the open of the next candle after the signal.
Other Features:
• Non-repainting.
• Compact design.
Markets: Developed and tested on: US100. Timeframes: Developed and tested on: 30m.
NGL - Bar PatternsThe NGL - Bar Patterns Indicator is a user-friendly and intuitive tool designed for traders of all experience levels. It brings to the fore a unique approach to visualizing the price trends and identifying potential market zones.
This indicator paints the bars on your chart in a variety of colors, representing different price zones.
The changing colors offer an easy-to-understand visual representation of where the price is situated within a range derived from historical highs and lows.
This can help to quickly identify market conditions and potential trading opportunities.
Here's a quick rundown on how to interpret the colors:
Lime: Represents the price zones with the highest bullish momentum. A lime-colored bar indicates that the closing price is well above the historical range. It might be interpreted as a strong bullish momentum.
Green: Slightly less bullish than lime, but still signifies an upward momentum in the price.
Black: Indicates that the price is trending towards the middle of the historical range, possibly indicating a neutral market condition.
Navy: The price is below the middle but not exceedingly bearish.
Red: This color represents an area where the price is starting to show bearish momentum.
Orange: Indicates a stronger bearish momentum than red.
Purple: Represents the area where the price has strong bearish momentum.
Lime (at the bottom): This is the area with the most bearish momentum.
Please note, this indicator should not be used as a standalone decision-making tool, but in combination with other technical analysis methods or indicators. Always consider your risk tolerance and financial situation before entering trades.
Disclaimer: Past performance does not guarantee future results. The information provided by this indicator is for educational purposes only and should not be considered as financial advice. Always do your own research before making investment decisions.
Price based concepts / quantifytools- Overview
Price based concepts incorporates a collection of multiple price action based concepts. Main component of the script is market structure, on top of which liquidity sweeps and deviations are built on, leaving imbalances the only standalone concept included. Each concept can be enabled/disabled separately for creating a selection of indications that one deems relevant for their purposes. Price based concepts are quantified using metrics that measure their expected behavior, such as historical likelihood of supportive price action for given market structure state and volume traded at liquidity sweeps. The concepts principally work on any chart, whether that is equities, currencies, cryptocurrencies or commodities, charts with volume data or no volume data. Essentially any asset that can be considered an ordinary speculative asset. The concepts also work on any timeframe, from second charts to monthly charts. None of the indications are repainted.
Market structure
Market structure is an analysis of support/resistance levels (pivots) and their position relative to each other. Market structure is considered to be bullish on a series of higher highs/higher lows and bearish on a series of lower highs/lower lows. Market structure shifts from bullish to bearish and vice versa on a break of the most recent pivot high/low, indicating weak ability to defend a key level from the dominating side. Supportive market structure typically provides lengthier and sustained trending environment, making it an ideal point of confluence for establishing directional bias for trades.
Liquidity sweeps
Liquidity sweeps are formed when price exceeds a pivot level that served as a provable level of demand once and is expected to display demand again when revisited. A simple way to look at liquidity sweeps is re-tests of untapped support/resistance levels.
Deviations
Deviations are formed when price exceeds a reference level (market structure shift level/liquidity sweep level) and shortly closes back in, leaving participating breakout traders in an awkward position. On further adverse movement, stuck breakout traders are forced to cover their underwater positions, creating ideal conditions for a lengthier reversal.
Imbalances
Imbalances, also known as fair value gaps or single prints, depict areas of inefficient and one sided transacting. Given inclination for markets to trade efficiently, price is naturally attracted to areas that lack proper participation, making imbalances ideal targets for entries or exits.
Key takeaways
- Price based concepts consists of market structure, liquidity sweeps, deviations and imbalances.
- Market structure shifts from bullish to bearish and vice versa on a break of the most recent pivot high/low, indicating weak ability to defend a key level from the dominating side.
- Supportive market structure tends to provide lengthier and sustained movement for the dominating side, making it an ideal foundation for establishing directional bias for trades.
- Liquidity sweeps are formed when price exceeds an untapped support/resistance level that served as a provable level of demand in the past, likely to show demand again when revisited.
- Deviations are formed when price exceeds a key level and shortly closes back in, leaving breakout traders in an awkward position. Further adverse movement compels trapped participants to cover their positions, creating ideal conditions for a reversal.
- Imbalances depict areas of inefficient and one sided transacting where price is naturally attracted to, making them ideal targets for entries or exits.
- Price based concepts are quantified using metrics that measure expected behavior, such as historical likelihood of supportive structure and volume traded at liquidity sweeps.
- For practical guide with practical examples, see last section.
Accessing script 🔑
See "Author's instructions" section, found at bottom of the script page.
Disclaimer
Price based concepts are not buy/sell signals, a standalone trading strategy or financial advice. They also do not substitute knowing how to trade. Example charts and ideas shown for use cases are textbook examples under ideal conditions, not guaranteed to repeat as they are presented. Price based concepts notify when a set of conditions are in place from a purely technical standpoint. Price based concepts should be viewed as one tool providing one kind of evidence, to be used in conjunction with other means of analysis.
Price based concepts are backtested using metrics that reasonably depict their expected behaviour, such as historical likelihood of supportive price movement on each market structure state. The metrics are not intended to be elaborate and perfect, but to serve as a general barometer for feedback created by the indications. Backtesting is done first and foremost to exclude scenarios where the concepts clearly don't work or work suboptimally, in which case they can't be considered as valid evidence. Even when the metrics indicate historical reactions of good quality, price impact can and inevitably does deviate from the expected. Past results do not guarantee future performance.
- Example charts
Chart #1 : BTCUSDT
Chart #2 : EURUSD
Chart #3 : ES futures
Chart #4 : NG futures
Chart #5 : Custom timeframes
- Concepts
Market structure
Knowing when price has truly pivoted is much harder than it might seem at first. In this script, pivots are determined using a custom formula based on volatility adjusted average price, a fundamentally different approach to the widely used highest/lowest price within X amount of bars. The script calculates average price within set period and adjusts it to volatility. Using this formula, the script determines when price has turned significantly enough and aggressively enough to constitute a relevant pivot, resulting in high accuracy while ruling out subjective decision making completely. Users can adjust length of market structure basis and sensitivity of volatility adjustment to achieve desired magnitude of pivots, reflected on the average swing metrics. Note that structure pivots are backpainted. Typical confirmation time for a pivot is within 2-3 bars after peak in price.
Market structure shifts
Generally speaking, traders consider market structure to have shifted when most recent structure high/low gets taken out, flipping underlying bias from one side over to the other (e.g. from bullish structure favoring upside to bearish structure favoring downside). However, there are many ways to approach the concept and the most popular method might not always be the best one. Users can determine their own market structure shift rules by choosing source (close, high, low, ohlc4 etc.) for determining structure shift. Users can also choose additional rules for structure shift, such as two consecutive closes above/below pivot to qualify as a valid shift.
Liquidity sweeps
Users can set maximum amount of bars liquidity levels are considered relevant from the moment of confirmed pivot. By default liquidity levels are monitored for 250 bars and then discarded. Level of tolerance can be set to anything between 100 and 1000 bars. For each liquidity sweep, relative volume (volume relative to volume moving average) is stored and added to average calculations for keeping track of typical depth of liquidity found at sweeps.
Deviations
Users can set a maximum amount of bars price has to spend above/below reference level to consider a deviation to be in place. By default set to 6 bars.
Imbalances
Users can set a desired fill point for imbalances using the following options: 100%, 75%, 50%, 25%. Users can also opt for excluding insignificant imbalances to attain better relevance in indications.
- Backtesting
Built-in backtesting is based on metrics that are considered to reasonably quantify expected behaviour of the main concept, market structure. Structure feedback is monitored using two metrics, supportive structure and structure period gain. Rest of the metrics provided are informational in nature, such as average swing and average relative volume traded at liquidity sweeps. Main purpose of the metrics is to form a general barometer for monitoring whether or not the concepts can be viewed as valid evidence. When the concepts are clearly not working optimally, one should adjust expectations accordingly or take action to improve performance. To make any valid conclusions of performance, sample size should also be significant enough to eliminate randomness effectively. If sample size on any individual chart is insufficient, one should view feedback scores on multiple correlating and comparable charts to make up for the loss.
For more elaborate backtesting, price based concepts can be used in any other script that has a source input, including fully mechanic strategies utilizing Tradingview's native backtester. Each concept and their indications (e.g. higher low on a bearish structure, lower high on a bullish structure, market structure shift up, imbalance filled etc.) can be utilized separately and used as a component in a backtesting script of your choice.
Structure feedback
Structure feedback is monitored using two metrics, likelihood of supportive price movement following a market structure shift and average structure period gain. If either of the two employed tests indicate failed reactions beyond a tolerable level, one should take action to improve feedback by adjusting the settings. If feedback metrics after adjusting the settings are still insufficient, the concepts are working suboptimally for the given chart and cannot be regarded as valid technical evidence as they are.
Metric #1 : Supportive structure
Each structure pivot is benchmarked against its respective structure shift level. Feedback is considered successful if structure pivot takes place above market structure shift level (in the case of bullish structure) or below market structure shift level (in the case of bearish structure). Structure feedback constitutes as one test indicating how often a market structure state results in price movement that can be considered supportive.
Metric #2 : Structure period gain
Each structure period is expected to present favorable appreciation, measured from one market structure shift level to another. E.g. bullish structure period gain is measured from market structure shift up level to market structure shift down level that ends the bullish structure period. Bearish structure is measured in a vice versa manner, from market structure shift down level to market structure shift up level that ends the bearish structure period. Feedback is considered successful if average structure period gain is supportive for a given structure (positive for bullish structure, negative for bearish structure).
Additional metrics
On top of structure feedback metrics, percentage gain for each swing (distance between a pivot to previous pivot) is recorded and stored to average calculations. Average swing calculations shed light on typical pivot magnitude for better understanding changes made in market structure settings. Average relative volume traded at liquidity sweep on the other hand gives a clue of depth of liquidity typically found on a sweeps.
Feedback scores
When market structure (basis for most concepts) is working optimally, quality threshold for both feedback metrics are met. By default, threshold for supportive structure is set to 66%, indicating valid feedback on 2/3 of backtesting periods on average. On top, average structure period gain needs to be positive (for bullish structures) and negative (for bearish structure) to qualify as valid feedback. When both tests are passed, a tick indicating valid feedback will appear next to feedback scores, otherwise an exclamation mark indicating suboptimal performance on either or both. If both or either test fail, market structure parameters need to be optimized for better performance or one needs to adjust expectations accordingly.
Verifying backtest calculations
Backtest metrics can be toggled on via input menu, separately for bullish and bearish structure. When toggled on, both cumulative and average counters used in backtesting will appear on "Data Window" tab. Calculation states are shown at a point in time where cursor is hovered. E.g. when hovering cursor on 4th of January 2021, backtest calculations as they were during this date will be shown.
- Alerts
Available alerts are the following.
- HH/HL/LH/LL/EQL/EQH on a bullish/bearish structure
- Bullish/bearish market structure shift
- Bullish/bearish imbalance created
- Bullish/bearish imbalance filled
- Bullish/bearish liquidity sweep
- Bullish/bearish deviation
- Visuals
Each concept can be enabled/disabled separately for creating a selection indications that one deems relevant for their purposes. On top, each concept has a stealth visual option for more discreet visuals.
Unfilled imbalances and untapped liquidity levels can be extended forward to better gauge key areas of interest.
Liquidity sweeps have an intensity option, using color and width to visualize volume traded at sweep.
Market structure states and market structure shifts can be visualized as chart color.
Metric table can be offsetted horizontally or vertically from any four corners of the chart, allowing space for tables from other scripts.
Table sizes, label sizes and colors are fully customizable via input menu.
- Practical guide
The basic idea behind market structure is that a side (bulls or bears) have shown significant weakness on a failed attempt to defend a key level (most recent pivot high/low). In the same way, a side has shown significant strength on a successful attempt to break through a key level. This successful break through a key level often leads to sustained lengthier movement for the side that provably has the upper hand, making it an ideal tool for establishing directional bias.
Multi-timeframe view of market structure provides crucial guidance for analyzing market structure states on any individual timeframe. If higher timeframe market structure is bullish, it doesn't make sense to expect contradicting lower timeframe market structure to provide significant adverse movement, but rather a normal correction within a long term trend. In the same way, if lower timeframe market structure is in agreement with higher timeframe market structure, one can expect a reliable trending environment to ensue as multiple points of confluence are in place.
Bullish structure can be considered constructive on a series of higher highs and higher lows, indicating strong interest from bulls to sustain an uptrend. Vice versa is true for bearish structure, a series of lower highs and lower lows can be considered constructive. When structure does not indicate strong interest to maintain a supportive trend (lower highs on bullish structure, higher lows on bearish structure), a structure shift and a turn in trend might be nearing.
Market structure shifts are of great interest for breakout traders who position for continuation. Structure shifts can indeed be fertile ground for executing a breakout trade, but breakouts can easily turn into fakeouts that leave participants in an awkward position. When price moves further away from the underwater participants, potential for snowball effect of covering positions and driving price further away is elevated.
Liquidity sweeps as a concept is based on the premise that pivoting price is evidence of meaningful depth of liquidity found at/around pivot. If liquidity existed at a pivot once, it is likely to exist there in the future as well. When price grinds against liquidity, it is on a path of resistance rather than path of least resistance. Pivots are also attractive placements for traders to set stop-losses, which act as fuel for price to move to the opposite direction when swept and triggered.
Behind tightly formed pivots are potentially many stop-loss orders lulled in the comfort of having many layers of levels protecting their position. Compression that leaves such clusters of unswept liquidity rarely goes unvisited.
As markets strive for efficient and proper transacting most of the time, imbalances serve as points in price where price is naturally attracted to. However, imbalances too are contextual and sometimes one sided trading is rewarded with follow through, rather than with a fill. Identifying market regimes give further clue into what to expect from imbalances. In a ranging environment, one can expect imbalances to fill relatively quick, making them ideal targets for entries and exits.
On a strongly trending environment on the other hand imbalances tend to stick for a much longer time. In such environments continuation can be expected with no fills or only partial fills. Signs of demand preventing fill attempts serve as additional clues for imminent continuation.
ADW - MomentumADW - Momentum is a trading indicator based on the Relative Momentum Index (RMI) and Exponential Moving Averages (EMAs). This indicator plots the RMI along with its EMAs and highlights regions where RMI crosses its slow EMA. Additionally, it provides alerts when the momentum flips bullish or bearish.
Key Features:
The RMI helps to identify momentum in the market.
Three EMAs (Fast, Standard, and Slow) were calculated on the RMI. These can be utilized to analyze the momentum trend over different periods.
Highlighted regions and colour coding to indicate when RMI crosses its Slow EMA, signalling potential momentum shifts.
Customizable parameters: Users can specify the lengths of the RMI and EMAs, boundaries for RMI, and colours for various components of the plot.
Alerts: The script can alert users when the momentum has flipped bullish or bearish.
The script is organized into several sections:
Inputs: The user can customize several parameters including the RMI averaging length, momentum lookback, RMI boundaries, and the EMA lengths. In addition, users can also specify the colours for the RMI line, Slow EMA line, and the fill colour.
RMI Calculation: The script calculates the RMI based on the user-provided length and momentum lookback. This is done by first calculating two EMAs - one for the positive differences between closing prices (emaInc), and one for the negative differences (emaDec). Then, the RMI is computed using these EMAs.
Plotting: The script plots the RMI line, Slow EMA line, and two horizontal lines indicating the RMI boundaries. In addition, it also fills the region between the RMI and Slow EMA lines.
Conditions: The script computes the conditions for bullish and bearish momentum flips. These are defined as when the RMI crosses above or below the Slow EMA respectively.
Alerts: Finally, the script sets up two alert conditions based on the bullish and bearish conditions. These alert the user when the momentum has flipped bullish or bearish, with a message that includes the current RMI value.
Leveraged Share VolumeHello everyone,
Did this quick reference indicator and figured I would share it as nothing like it exists that I could find.
What this does is it pulls leveraged share data and displays the bull share and bear share volume.
There are 5 pre-programmed shares. These include:
SPY
Pulls bull share data from: SPXL and UPRO
Pulls bear share data from: SPXU and SPXS
IWM
Pulls bull share data from: TNA
Pulls bear share data from: TZA
DIA
Pulls bull share data from: UDOW
Pulls bear share data from: SDOW
QQQ
Pulls bull share data from: TQQQ
Pulls bear share data from: SQQQ
XLE
Pulls bull share data from: ERX
Pulls bear share data from: ERY
As there continues to be more leveraged shares available (for example, AAPU, APPD, MSFT, TSLA, etc.) there is also the option to use these manual tickers as these shares become available. The image below shows the data input screen:
The indicator will default to show the data as a ratio. The ratio is calculated by the total bear shares over the total bull shares (sell to buy ratio). If you unselect the Ratio option (displayed in the image above), it will show the raw volume.
When data is displayed as a ratio, you will see the white SMA line. This will show you the average ratio over a 14 period lookback. This is customizeable under the SMA Length input (shown in the image above).
Indicator's purpose:
The aim of the indicator is to provide context as to where the current sentiment is. Its similar in concept to a put to call ratio. The idea is, the more bearish people are, the more inverse shares are being bought, the higher the ratio or raw volume for bear shares and vice versa for bullish situations.
If you would like some more contextual information about the powers of tracking this type of data for trading purposes, you can check out this idea I published about the relationship between leveraged shares and market sentiment/behaviour:
Otherwise, the indicator is pretty straight forward!
Its not meant to be anything but a reference indicator to help give you context of the current market positioning.
If you have any questions or suggestions, please feel free to leave them below.
Thank you for reading and checking out the indicator!
Safe trades everyone!
Volume Tick Analysis and Order Blocks [Tcs] | ALGOThe indicator has been developed to provide the most complete vision possible of liquidity areas, highly traded past price levels, and how volume tick analysis affects price action.
It helps to draw on all the areas that generate a price move, or market inefficiency.
The indicator has different features:
- ORDER BLOCKS : The indicator draws different kinds of order blocks on the chart.
• Real valuable order blocks - where the price reaction is more probable. It's define by a calculation of the quantity tick volume exchanged between bulls and bears on a price level, which can create a candle event, such as engulfing candles. For this motivation the order blocks plotted will be a real valuable area.
The threshold can be adjusted based on the strategy's needs, in particular this set up has been added to adapt the strategy on different kind of asset. For Cryptocurrency for example the best threshold are between 0.5 and 1. The lower the value, the fewer order blocks will be plotted, but they will be more valuable. It's possible to show the volume exchanged, the percentage, and who controlled the valuable area, bulls or bears, on these order blocks.
For a better visualization, the order block will change color (more transparent) after it will be violated for the first time, and it will be deleted once the price will break trough it.
All order blocks can be extend
GENERAL OB VISUALIZATION
EXAMPLE OF TRADES ON OB
It's also possible to plot the footprint of past and invalidated order blocks on the chart, which can help to draw lines for future valuable areas.
• Secondary order blocks are less valuable order blocks where the probability of a price reaction is less. Usually, they work for small retracements and are more useful for scalpers. the concept is the same as Primary order blocks but without a too restricted calculation of tick volume exchanged
• LIQUIDITY GRABS: Liquidity grabs are plotted on candles that try to invalidate an order block, but high volumes move them to the opposite direction. They happen when opposite players try to move the market in the opposite direction. They are calculated only on primary order blocks.
A good entry usually is when a liquidity grab appear, the price come in the liquidity grab area to fry liquidity and price close again in the liquidity grab area.
• VOLUME VSA: All candles with high and above-average volume are plotted on the chart for both bull and bear volume. It highlights more than average volume, high volume, and extreme volume with different colors. This can help to spot good entries or detect beginning/end of a trend. For example abnormal high volume at the end of a big price movement, in the same direction, can define the end of a trend. If same situation of abnormal high volume, but in the opposite direction of the trend, could define the beginning of a market inversion.
• FAIR VALUE GAPS: It highlights all the inefficiencies of market moves, which can be used as retracement or price return areas. Here, they can be adjusted based on how effective they are adjusting the volume threshold. Bulls and bears FVG are defined in different colors. More effective FVG are plotted in less transparent colors, and you will find three levels of effectiveness.
Both OB and FVG will change color once the price retraces on them, and they will be removed when they are invalidated.
Please note that this indicator is for educational purposes only and should not be used for trading without further testing and analysis.
Volatility patterns / quantifytools- Overview
Volatility patterns detect various forms of indecisive price action, on a larger scale as a compressed range and on a smaller scale as indecision candles. Indecisive and volatility suppressing price action can be thought of as a spring being pressed down. The more suppression, the more tension is built and eventually released as a spike or series of spikes in volatility. Each volatility pattern is assigned an influence period, during which average and peak relative volatility is recorded and stored to volatility metrics.
- Patterns
The following scenarios are qualified as indecision candles: inside candles, indecision engulfing candles and volatility shifts.
By default, each indecision candle is considered a valid pattern only when another indecision candle has taken place within 3 periods, e.g. prior inside candle + indecision engulfing candle = valid volatility pattern. This measurement is taken to filter noise by looking for multiple hints of pending volatility, rather than just one. Level of tolerated noise can be changed via input menu by using sensitivity setting, by default set to 2.
Sensitivity at 1: Any single indecision candle is considered a valid pattern
Sensitivity at 2: 2 indecision candles within 3 bars is considered a valid pattern
Sensitivity at 3: 2 indecision candles within 2 bars (consecutive) is considered a valid pattern
The following scenarios are qualified as range patterns: series of lower highs/higher lows and series of low volatility pivots.
A pivot is defined by highest/lowest point in price, by default within 2 periods back and 2 periods forward. When 4 pivots with qualities mentioned above are found, a box indicating compressed range will appear. Both required pivots and pivot definition can be adjusted via input menu.
- Influence time and metrics
By default, influence time for each volatility pattern is set to 6 candles, a period for which spike(s) in volatility is expected. For each influence period, average relative volatility (volatility relative to volatility SMA 20) and peak relative volatility is recorded and stored to volatility metrics. All metrics used in calculations are visible in "Data Window "tab. Average and peak volatility during influence period will vary depending on chart, timeframe and chosen settings. Tweaking the settings might result in an improvement and is worth experimenting with.
- Visuals
By default, indecision candles are visualized as yellow lines and range patterns as orange boxes. Influence time periods are respectively visualized as colored candle borders, applied as long as influence time period is active. All colors are fully customizable via input menu.
- Practical guide
Volatility patterns depict moments of equal strength from both bulls and bears. While this equilibrium is in place, price is stagnant and compresses until either side initiates volatility, releasing the built up tension. On top of hedging and playing the volatility using volatility based instruments, some other methods can be applied to take advantage of the somewhat tricky areas of indecision.
Example #1: Trading volatility
Volatility is not a bad thing from a trading perspective, but can actually be fertile ground for executing trade setups. Trading volatility influence periods from higher timeframes on lower timeframes gives greater resolution to work with and opportunities to take advantage of the wild swings created.
Example #2: Finding bias for patterns
Points of confluence where it anyway makes sense to favor one side over the other can be used for establishing bias for indecisive price action as well. At face value, it makes sense to expect bearish reactions at range highs and bullish reactions at range low, for which volatility patterns can provide a catalyst.
Example #3: Betting on initiation direction
Betting on direction of the first volatile move can easily go against you, but if risk/reward is able to compensate for the poor win rate, it's a valid idea to consider and explore.
EMA + ATR Support/Resistance Auto-Boxed Range + Take profitUnveiling the 'EMA + ATR Support/Resistance Auto-Boxed Range + Take profit signal' tool, an innovative resource engineered for discerning traders to pinpoint crucial dynamic support and resistance levels (not like the common pivot based support and resistance indictors). The tool ingeniously amalgamates the power of EMA and ATR indicators to delineate these levels as green and red bands, offering invaluable insights into potential trading windows.
The real game-changers in this tool are the newly incorporated 'Auto Boxed Range Detector' and the 'Bull Bear Tug of War' detector. The Auto Boxed Range Detector is at the core of this update, illuminating price ranges to give you the upper hand in detecting breakouts or breakdowns. This feature has been designed meticulously to automate the identification of trading ranges, thereby increasing the accuracy and speed of your decision-making process. Also, this helps avoiding fake breakouts. If the top of the boxed range is near resistance line it is less likely to breakout unless we are on a trend day.
Simultaneously, the Bull Bear Tug of War detector (the little red and green triangles at the bottom) introduces an entirely new dimension of market dominance visualization. This detector embodies market power struggles through vivid red and green triangles, supplemented by translucent colors for transitional periods or potential false-outs. It's a dynamic, real-time pictorial representation of the ceaseless tug of war between bulls and bears captured by a combination of RSI, CCI, MACD, STOCHASTIC, AND VWAP, enabling you to anticipate market swings better. You can change the position of the triangles in the setting and move the red ones to top and keep the green ones in the bottom.
Customization options are plentiful, including the ability to tweak the EMA and ATR lengths, with default values set at 20 and 14 respectively. Additionally, you can modify the ATR multiplier in the S/R length setting, defaulted at 2, and the line width for optimal visibility. The EMA line can be made visible in the settings, while support and resistance lines are color-coded in green and red for instant recognition.
When prices make contact with these levels, the tool generates visual cues in the form of crosses above or below the price bars, thus serving as potential take profit or entry/exit points. Should you prefer, take profit signals can be deactivated in the settings.
To leverage this tool to its maximum potential:
- Fine-tune the EMA and ATR lengths to resonate with your trading strategy. Longer lengths yield smoother lines but may trail current prices.
- Determine the S/R length to govern the spacing of support and resistance lines from the EMA line.
- Stay alert for crosses above or below the price bar, signaling when prices have met support or resistance levels. These are key indicators for potential take profit or entry/exit decisions.
- For best results, this tool should be used in conjunction with other indicators to corroborate signals and minimize false alerts. The ultimate aim is to utilize other indicators to initiate a trade and rely on this tool to provide timely take profit reminders.
Bear in mind, this tool should not be the sole determinant in your investment decisions. Comprehensive research and a multifaceted approach are indispensable when contemplating any trades.
Stochastic RSI+ by MartialChartsFXThe original Stochastic RSI was built to generate more signals than either of the ordinary RSI or Stochastic Oscillator.
This Stochastic RSI+ is a customized Stochastic RSI meant to be less obtrusive as a lower indicator with several added components for improved utility.
The Stochastic RSI+ has 3 components:
1. The Single line color changing Stochastic RSI (%K line)
2. Divergence detection using one of three oscillators (RSI, Stochastic, or the default Stochastic RSI). Divergence may be detected in Strict or Non-Strict modes.
3. Strength indicator
Single Line Stochastic RSI (%K)
To make manual detection of divergence easier, I decided to reduce the Stochastic RSI down to just the %K line. In order to see how the %K line interacts with the %D line without having the extra line as a distraction, the %K line has been coded to change colors based on its relation to the %D line.
The Stochastic %K is green when %K is greater than %D
The Stochastic %K is red when %K is less than %D
The oversold region is 0-20 and highlighted in a light green on the scale.
The overbought region is 80-100 and highlighted in light red on the scale.
Divergence Detection
The optional divergence detection settings include the selection of 3 oscillators: RSI, Stochastic, or Stochastic RSI (default). Regardless of which oscillator is selected for divergence detection the indicator will only show the Stochastic RSI's %K line. This gives the trader the change to see if divergence is present on multiple oscillators. The divergence detection does not draw trendlines on the chart or the lower indicator, instead it plots an H (for Hidden Divergence) or a D (for Divergence) in green (bullish) or red (bearish) where the 2nd point of divergence is located based on the oscillator used and whether the detection is set to strict or not. This programming will not capture every instance of divergence. You should still manually verify any divergence indicated.
Strict Divergence enabled is the traditional method of divergence detection where swing points on the price charts align with peaks and valleys on the oscillator. Where there are not matching peaks and valleys on both price and the oscillator, divergence is not detected.
Strict Divergence disabled is an alternate divergence detection by connecting swing points on the price chart and then checking to see what the corresponding oscillator values are regardless of if it is a peak or valley on the oscillator. To draw this method manually would be drawing the oscillator trendline through the %K line to connect which ever points on Stochastic RSI line up with the swing points on the price chart. This will find more divergence than would ordinarily be overlooked.
Asset Strength
The Strength indicator is the 2nd set of numbers on the indicator information line. Values above 0 are bullish, Values below 0 are bearish. Strength is measured by comparing fast and slow RSI calculations to gauge a rate of change towards bullish or bearish.
Strength color changes:
Dark green to light green = asset is bullish but getting weaker
Light green to dark green = asset is bullish and getting stronger
Red to pink = asset is bearish but getting stronger
Pink to Red = asset is bearish and getting weaker
Usage
Can be used in all asset classes. This is a Stochastic RSI oscillator so the same Stochastic RSI usage rules apply.
The ways that I use Stochastic RSI+:
1. To gauge if a zone is likely to hold or be broken.
- Buying zones have better confluence when Stochastic RSI+ is very oversold (0-5) and have bullish divergence.
- Selling zone have better confluence when Stochastic RSI+ is very overbought (95-100) and have bearish divergence.
2. For divergence to time entries and to identify continuations, retracements, reversals, and stop hunts.
3. For strength to see if the asset is getting stronger or weaker when price reaches a zone.
COT-index rangeA graph showing the commercials (part of COT-data) positioning in relation to its own range, X periods back. I usually choose the look-back period to equal approximately one year. This will be around 52 on a weekly chart and 250 on a daily chart.
In my opinion a high data-point for the commercials is bullish and vice versa. But instead of only looking att absolute values I now look more at how the commercials are positioned compared to the previous 12 och 6 months.
Example:
a) if COT-index range = 0.8, then the commercials are in the 80th percentile for this specific look-back period, i.e. the commercials has only been more bullish 20% of the time and more bearish 80% of the time.
b) a) if COT-index range = 0.5, then the commercials are in the 50th percentile for this specific look-back period, i.e. the commercials has been more bullish 50% of the time and more bearish 50% of the time.
c) if COT-index range = 0.2, then the commercials are in the 20th percentile for this specific look-back period, i.e. the commercials has been more bullish 80% of the time and more bearish 20% of the time.
In other words, a high reading is bullish and a low reading is bearish.
GKD-C RSX VDI w/ Floating Levels [Loxx]Giga Kaleidoscope GKD-C RSX VDI w/ Floating Levels is a Confirmation module included in Loxx's "Giga Kaleidoscope Modularized Trading System".
█ GKD-C RSX VDI w/ Floating Levels
What is the VDI (Volatility Direction Index)?
The Volatility Direction Index Index (VDI) is a technical analysis indicator developed by Loxx. It is designed to help traders and investors identify potential trend reversals, confirm existing trends, and recognize overbought or oversold market conditions. VDI is a momentum oscillator that measures the volatility and price direction of an asset over a specified period.
Here's a step-by-step breakdown of how to calculate VDI:
Choose a period (n) over which to calculate the VDI, typically 8 or 10.
Calculate the true range for each day:
True Range = max
Calculate the directional bias for each day:
If (Today's High - Previous Close) > (Previous Close - Today's Low), the directional bias is positive.
If (Today's High - Previous Close) < (Previous Close - Today's Low), the directional bias is negative.
Calculate the VDI for each day with a positive directional bias:
VDI Positive = * 100
Calculate the VDI for each day with a negative directional bias:
VDI Negative = * 100
Calculate the n-day sum of positive VDI values (Sum_Positive_VDI) and the n-day sum of negative VDI values (Sum_Negative_VDI).
Calculate the final Volatility Direction Index Index value:
VDI = (Sum_Positive_VDI - Sum_Negative_VDI) / (Sum_Positive_VDI + Sum_Negative_VDI) * 100
This VDI value can then be plotted on a chart over time to help traders and investors visualize the momentum and volatility of the asset's price.
VDI oscillates between -100 and +100. Positive VDI values indicate bullishness, while negative VDI values suggest bearishness. Values near the extremes (+100 or -100) can be considered overbought or oversold, potentially signaling a trend reversal. Traders often use additional technical analysis tools and techniques to confirm signals generated by the VDI.
What is the RSX?
The Jurik RSX is a technical indicator developed by Mark Jurik to measure the momentum and strength of price movements in financial markets, such as stocks, commodities, and currencies. It is an advanced version of the traditional Relative Strength Index (RSI), designed to offer smoother and less lagging signals compared to the standard RSI.
The main advantage of the Jurik RSX is that it provides more accurate and timely signals for traders and analysts, thanks to its improved calculation methods that reduce noise and lag in the indicator's output. This enables better decision-making when analyzing market trends and potential trading opportunities.
What is RSX VDI w/ Confidence Bands
This indicator calculates the RSX VDI and then wraps that calculation with uppper and lower floating levels, similar to Donchian channels. There are three types of signals: Levels cross, dynamic middle cross, and signal cross.
Additional Features
This indicator allows you to select from 33 source types. They are as follows:
Close
Open
High
Low
Median
Typical
Weighted
Average
Average Median Body
Trend Biased
Trend Biased (Extreme)
HA Close
HA Open
HA High
HA Low
HA Median
HA Typical
HA Weighted
HA Average
HA Average Median Body
HA Trend Biased
HA Trend Biased (Extreme)
HAB Close
HAB Open
HAB High
HAB Low
HAB Median
HAB Typical
HAB Weighted
HAB Average
HAB Average Median Body
HAB Trend Biased
HAB Trend Biased (Extreme)
What are Heiken Ashi "better" candles?
Heiken Ashi "better" candles are a modified version of the standard Heiken Ashi candles, which are a popular charting technique used in technical analysis. Heiken Ashi candles help traders identify trends and potential reversal points by smoothing out price data and reducing market noise. The "better formula" was proposed by Sebastian Schmidt in an article published by BNP Paribas in Warrants & Zertifikate, a German magazine, in August 2004. The aim of this formula is to further improve the smoothing of the Heiken Ashi chart and enhance its effectiveness in identifying trends and reversals.
Standard Heiken Ashi candles are calculated using the following formulas:
Heiken Ashi Close = (Open + High + Low + Close) / 4
Heiken Ashi Open = (Previous Heiken Ashi Open + Previous Heiken Ashi Close) / 2
Heiken Ashi High = Max (High, Heiken Ashi Open, Heiken Ashi Close)
Heiken Ashi Low = Min (Low, Heiken Ashi Open, Heiken Ashi Close)
The "better formula" modifies the standard Heiken Ashi calculation by incorporating additional smoothing, which can help reduce noise and make it easier to identify trends and reversals. The modified formulas for Heiken Ashi "better" candles are as follows:
Better Heiken Ashi Close = (Open + High + Low + Close) / 4
Better Heiken Ashi Open = (Previous Better Heiken Ashi Open + Previous Better Heiken Ashi Close) / 2
Better Heiken Ashi High = Max (High, Better Heiken Ashi Open, Better Heiken Ashi Close)
Better Heiken Ashi Low = Min (Low, Better Heiken Ashi Open, Better Heiken Ashi Close)
Smoothing Factor = 2 / (N + 1), where N is the chosen period for smoothing
Smoothed Better Heiken Ashi Open = (Better Heiken Ashi Open * Smoothing Factor) + (Previous Smoothed Better Heiken Ashi Open * (1 - Smoothing Factor))
Smoothed Better Heiken Ashi Close = (Better Heiken Ashi Close * Smoothing Factor) + (Previous Smoothed Better Heiken Ashi Close * (1 - Smoothing Factor))
The smoothed Better Heiken Ashi Open and Close values are then used to calculate the smoothed Better Heiken Ashi High and Low values, resulting in "better" candles that provide a clearer representation of the market trend and potential reversal points.
It's important to note that, like any other technical analysis tool, Heiken Ashi "better" candles are not foolproof and should be used in conjunction with other indicators and analysis techniques to make well-informed trading decisions.
Heiken Ashi "better" candles, as mentioned previously, provide a clearer representation of market trends and potential reversal points by reducing noise and smoothing out price data. When using these candles in conjunction with other technical analysis tools and indicators, traders can gain valuable insights into market behavior and make more informed decisions.
To effectively use Heiken Ashi "better" candles in your trading strategy, consider the following tips:
Trend Identification: Heiken Ashi "better" candles can help you identify the prevailing trend in the market. When the majority of the candles are green (or another color, depending on your chart settings) and there are no or few lower wicks, it may indicate a strong uptrend. Conversely, when the majority of the candles are red (or another color) and there are no or few upper wicks, it may signal a strong downtrend.
Trend Reversals: Look for potential trend reversals when a change in the color of the candles occurs, especially when accompanied by longer wicks. For example, if a green candle with a long lower wick is followed by a red candle, it could indicate a bearish reversal. Similarly, a red candle with a long upper wick followed by a green candle may suggest a bullish reversal.
Support and Resistance: You can use Heiken Ashi "better" candles to identify potential support and resistance levels. When the candles are consistently moving in one direction and then suddenly change color with longer wicks, it could indicate the presence of a support or resistance level.
Stop-Loss and Take-Profit: Using Heiken Ashi "better" candles can help you manage risk by determining optimal stop-loss and take-profit levels. For instance, you can place your stop-loss below the low of the most recent green candle in an uptrend or above the high of the most recent red candle in a downtrend.
Confirming Signals: Heiken Ashi "better" candles should be used in conjunction with other technical indicators, such as moving averages, oscillators, or chart patterns, to confirm signals and improve the accuracy of your analysis.
In this implementation, you have the choice of AMA, KAMA, or T3 smoothing. These are as follows:
Kaufman Adaptive Moving Average (KAMA)
The Kaufman Adaptive Moving Average (KAMA) is a type of adaptive moving average used in technical analysis to smooth out price fluctuations and identify trends. The KAMA adjusts its smoothing factor based on the market's volatility, making it more responsive in volatile markets and smoother in calm markets. The KAMA is calculated using three different efficiency ratios that determine the appropriate smoothing factor for the current market conditions. These ratios are based on the noise level of the market, the speed at which the market is moving, and the length of the moving average. The KAMA is a popular choice among traders who prefer to use adaptive indicators to identify trends and potential reversals.
Adaptive Moving Average
The Adaptive Moving Average (AMA) is a type of moving average that adjusts its sensitivity to price movements based on market conditions. It uses a ratio between the current price and the highest and lowest prices over a certain lookback period to determine its level of smoothing. The AMA can help reduce lag and increase responsiveness to changes in trend direction, making it useful for traders who want to follow trends while avoiding false signals. The AMA is calculated by multiplying a smoothing constant with the difference between the current price and the previous AMA value, then adding the result to the previous AMA value.
T3
The T3 moving average is a type of technical indicator used in financial analysis to identify trends in price movements. It is similar to the Exponential Moving Average (EMA) and the Double Exponential Moving Average (DEMA), but uses a different smoothing algorithm.
The T3 moving average is calculated using a series of exponential moving averages that are designed to filter out noise and smooth the data. The resulting smoothed data is then weighted with a non-linear function to produce a final output that is more responsive to changes in trend direction.
The T3 moving average can be customized by adjusting the length of the moving average, as well as the weighting function used to smooth the data. It is commonly used in conjunction with other technical indicators as part of a larger trading strategy.
█ Giga Kaleidoscope Modularized Trading System
Core components of an NNFX algorithmic trading strategy
The NNFX algorithm is built on the principles of trend, momentum, and volatility. There are six core components in the NNFX trading algorithm:
1. Volatility - price volatility; e.g., Average True Range, True Range Double, Close-to-Close, etc.
2. Baseline - a moving average to identify price trend
3. Confirmation 1 - a technical indicator used to identify trends
4. Confirmation 2 - a technical indicator used to identify trends
5. Continuation - a technical indicator used to identify trends
6. Volatility/Volume - a technical indicator used to identify volatility/volume breakouts/breakdown
7. Exit - a technical indicator used to determine when a trend is exhausted
What is Volatility in the NNFX trading system?
In the NNFX (No Nonsense Forex) trading system, ATR (Average True Range) is typically used to measure the volatility of an asset. It is used as a part of the system to help determine the appropriate stop loss and take profit levels for a trade. ATR is calculated by taking the average of the true range values over a specified period.
True range is calculated as the maximum of the following values:
-Current high minus the current low
-Absolute value of the current high minus the previous close
-Absolute value of the current low minus the previous close
ATR is a dynamic indicator that changes with changes in volatility. As volatility increases, the value of ATR increases, and as volatility decreases, the value of ATR decreases. By using ATR in NNFX system, traders can adjust their stop loss and take profit levels according to the volatility of the asset being traded. This helps to ensure that the trade is given enough room to move, while also minimizing potential losses.
Other types of volatility include True Range Double (TRD), Close-to-Close, and Garman-Klass
What is a Baseline indicator?
The baseline is essentially a moving average, and is used to determine the overall direction of the market.
The baseline in the NNFX system is used to filter out trades that are not in line with the long-term trend of the market. The baseline is plotted on the chart along with other indicators, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR).
Trades are only taken when the price is in the same direction as the baseline. For example, if the baseline is sloping upwards, only long trades are taken, and if the baseline is sloping downwards, only short trades are taken. This approach helps to ensure that trades are in line with the overall trend of the market, and reduces the risk of entering trades that are likely to fail.
By using a baseline in the NNFX system, traders can have a clear reference point for determining the overall trend of the market, and can make more informed trading decisions. The baseline helps to filter out noise and false signals, and ensures that trades are taken in the direction of the long-term trend.
What is a Confirmation indicator?
Confirmation indicators are technical indicators that are used to confirm the signals generated by primary indicators. Primary indicators are the core indicators used in the NNFX system, such as the Average True Range (ATR), the Moving Average (MA), and the Relative Strength Index (RSI).
The purpose of the confirmation indicators is to reduce false signals and improve the accuracy of the trading system. They are designed to confirm the signals generated by the primary indicators by providing additional information about the strength and direction of the trend.
Some examples of confirmation indicators that may be used in the NNFX system include the Bollinger Bands, the MACD (Moving Average Convergence Divergence), and the MACD Oscillator. These indicators can provide information about the volatility, momentum, and trend strength of the market, and can be used to confirm the signals generated by the primary indicators.
In the NNFX system, confirmation indicators are used in combination with primary indicators and other filters to create a trading system that is robust and reliable. By using multiple indicators to confirm trading signals, the system aims to reduce the risk of false signals and improve the overall profitability of the trades.
What is a Continuation indicator?
In the NNFX (No Nonsense Forex) trading system, a continuation indicator is a technical indicator that is used to confirm a current trend and predict that the trend is likely to continue in the same direction. A continuation indicator is typically used in conjunction with other indicators in the system, such as a baseline indicator, to provide a comprehensive trading strategy.
What is a Volatility/Volume indicator?
Volume indicators, such as the On Balance Volume (OBV), the Chaikin Money Flow (CMF), or the Volume Price Trend (VPT), are used to measure the amount of buying and selling activity in a market. They are based on the trading volume of the market, and can provide information about the strength of the trend. In the NNFX system, volume indicators are used to confirm trading signals generated by the Moving Average and the Relative Strength Index. Volatility indicators include Average Direction Index, Waddah Attar, and Volatility Ratio. In the NNFX trading system, volatility is a proxy for volume and vice versa.
By using volume indicators as confirmation tools, the NNFX trading system aims to reduce the risk of false signals and improve the overall profitability of trades. These indicators can provide additional information about the market that is not captured by the primary indicators, and can help traders to make more informed trading decisions. In addition, volume indicators can be used to identify potential changes in market trends and to confirm the strength of price movements.
What is an Exit indicator?
The exit indicator is used in conjunction with other indicators in the system, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR), to provide a comprehensive trading strategy.
The exit indicator in the NNFX system can be any technical indicator that is deemed effective at identifying optimal exit points. Examples of exit indicators that are commonly used include the Parabolic SAR, the Average Directional Index (ADX), and the Chandelier Exit.
The purpose of the exit indicator is to identify when a trend is likely to reverse or when the market conditions have changed, signaling the need to exit a trade. By using an exit indicator, traders can manage their risk and prevent significant losses.
In the NNFX system, the exit indicator is used in conjunction with a stop loss and a take profit order to maximize profits and minimize losses. The stop loss order is used to limit the amount of loss that can be incurred if the trade goes against the trader, while the take profit order is used to lock in profits when the trade is moving in the trader's favor.
Overall, the use of an exit indicator in the NNFX trading system is an important component of a comprehensive trading strategy. It allows traders to manage their risk effectively and improve the profitability of their trades by exiting at the right time.
How does Loxx's GKD (Giga Kaleidoscope Modularized Trading System) implement the NNFX algorithm outlined above?
Loxx's GKD v1.0 system has five types of modules (indicators/strategies). These modules are:
1. GKD-BT - Backtesting module (Volatility, Number 1 in the NNFX algorithm)
2. GKD-B - Baseline module (Baseline and Volatility/Volume, Numbers 1 and 2 in the NNFX algorithm)
3. GKD-C - Confirmation 1/2 and Continuation module (Confirmation 1/2 and Continuation, Numbers 3, 4, and 5 in the NNFX algorithm)
4. GKD-V - Volatility/Volume module (Confirmation 1/2, Number 6 in the NNFX algorithm)
5. GKD-E - Exit module (Exit, Number 7 in the NNFX algorithm)
(additional module types will added in future releases)
Each module interacts with every module by passing data between modules. Data is passed between each module as described below:
GKD-B => GKD-V => GKD-C(1) => GKD-C(2) => GKD-C(Continuation) => GKD-E => GKD-BT
That is, the Baseline indicator passes its data to Volatility/Volume. The Volatility/Volume indicator passes its values to the Confirmation 1 indicator. The Confirmation 1 indicator passes its values to the Confirmation 2 indicator. The Confirmation 2 indicator passes its values to the Continuation indicator. The Continuation indicator passes its values to the Exit indicator, and finally, the Exit indicator passes its values to the Backtest strategy.
This chaining of indicators requires that each module conform to Loxx's GKD protocol, therefore allowing for the testing of every possible combination of technical indicators that make up the six components of the NNFX algorithm.
What does the application of the GKD trading system look like?
Example trading system:
Backtest: Strategy with 1-3 take profits, trailing stop loss, multiple types of PnL volatility, and 2 backtesting styles
Baseline: Hull Moving Average
Volatility/Volume: Hurst Exponent
Confirmation 1: RSX VDI w/ Floating Levels as shown on the chart above
Confirmation 2: Williams Percent Range
Continuation: Fisher Transform
Exit: Rex Oscillator
Each GKD indicator is denoted with a module identifier of either: GKD-BT, GKD-B, GKD-C, GKD-V, or GKD-E. This allows traders to understand to which module each indicator belongs and where each indicator fits into the GKD protocol chain.
Giga Kaleidoscope Modularized Trading System Signals (based on the NNFX algorithm)
Standard Entry
1. GKD-C Confirmation 1 Signal
2. GKD-B Baseline agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume agrees
Baseline Entry
1. GKD-B Baseline signal
2. GKD-C Confirmation 1 agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume agrees
6. GKD-C Confirmation 1 signal was less than 7 candles prior
Volatility/Volume Entry
1. GKD-V Volatility/Volume signal
2. GKD-C Confirmation 1 agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 2 agrees
5. GKD-B Baseline agrees
6. GKD-C Confirmation 1 signal was less than 7 candles prior
Continuation Entry
1. Standard Entry, Baseline Entry, or Pullback; entry triggered previously
2. GKD-B Baseline hasn't crossed since entry signal trigger
3. GKD-C Confirmation Continuation Indicator signals
4. GKD-C Confirmation 1 agrees
5. GKD-B Baseline agrees
6. GKD-C Confirmation 2 agrees
1-Candle Rule Standard Entry
1. GKD-C Confirmation 1 signal
2. GKD-B Baseline agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
Next Candle:
1. Price retraced (Long: close < close or Short: close > close )
2. GKD-B Baseline agrees
3. GKD-C Confirmation 1 agrees
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume agrees
1-Candle Rule Baseline Entry
1. GKD-B Baseline signal
2. GKD-C Confirmation 1 agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 1 signal was less than 7 candles prior
Next Candle:
1. Price retraced (Long: close < close or Short: close > close )
2. GKD-B Baseline agrees
3. GKD-C Confirmation 1 agrees
4. GKD-C Confirmation 2 agrees
5. GKD-V Volatility/Volume Agrees
1-Candle Rule Volatility/Volume Entry
1. GKD-V Volatility/Volume signal
2. GKD-C Confirmation 1 agrees
3. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
4. GKD-C Confirmation 1 signal was less than 7 candles prior
Next Candle:
1. Price retraced (Long: close < close or Short: close > close)
2. GKD-B Volatility/Volume agrees
3. GKD-C Confirmation 1 agrees
4. GKD-C Confirmation 2 agrees
5. GKD-B Baseline agrees
PullBack Entry
1. GKD-B Baseline signal
2. GKD-C Confirmation 1 agrees
3. Price is beyond 1.0x Volatility of Baseline
Next Candle:
1. Price is within a range of 0.2x Volatility and 1.0x Volatility of the Goldie Locks Mean
2. GKD-C Confirmation 1 agrees
3. GKD-C Confirmation 2 agrees
4. GKD-V Volatility/Volume Agrees
]█ Setting up the GKD
The GKD system involves chaining indicators together. These are the steps to set this up.
Use a GKD-C indicator alone on a chart
1. Inside the GKD-C indicator, change the "Confirmation Type" setting to "Solo Confirmation Simple"
Use a GKD-V indicator alone on a chart
**nothing, it's already useable on the chart without any settings changes
Use a GKD-B indicator alone on a chart
**nothing, it's already useable on the chart without any settings changes
Baseline (Baseline, Backtest)
1. Import the GKD-B Baseline into the GKD-BT Backtest: "Input into Volatility/Volume or Backtest (Baseline testing)"
2. Inside the GKD-BT Backtest, change the setting "Backtest Special" to "Baseline"
Volatility/Volume (Volatility/Volume, Backte st)
1. Inside the GKD-V indicator, change the "Testing Type" setting to "Solo"
2. Inside the GKD-V indicator, change the "Signal Type" setting to "Crossing" (neither traditional nor both can be backtested)
3. Import the GKD-V indicator into the GKD-BT Backtest: "Input into C1 or Backtest"
4. Inside the GKD-BT Backtest, change the setting "Backtest Special" to "Volatility/Volume"
5. Inside the GKD-BT Backtest, a) change the setting "Backtest Type" to "Trading" if using a directional GKD-V indicator; or, b) change the setting "Backtest Type" to "Full" if using a directional or non-directional GKD-V indicator (non-directional GKD-V can only test Longs and Shorts separately)
6. If "Backtest Type" is set to "Full": Inside the GKD-BT Backtest, change the setting "Backtest Side" to "Long" or "Short
7. If "Backtest Type" is set to "Full": To allow the system to open multiple orders at one time so you test all Longs or Shorts, open the GKD-BT Backtest, click the tab "Properties" and then insert a value of something like 10 orders into the "Pyramiding" settings. This will allow 10 orders to be opened at one time which should be enough to catch all possible Longs or Shorts.
Solo Confirmation Simple (Confirmation, Backtest)
1. Inside the GKD-C indicator, change the "Confirmation Type" setting to "Solo Confirmation Simple"
1. Import the GKD-C indicator into the GKD-BT Backtest: "Input into Backtest"
2. Inside the GKD-BT Backtest, change the setting "Backtest Special" to "Solo Confirmation Simple"
Solo Confirmation Complex without Exits (Baseline, Volatility/Volume, Confirmation, Backtest)
1. Inside the GKD-V indicator, change the "Testing Type" setting to "Chained"
2. Import the GKD-B Baseline into the GKD-V indicator: "Input into Volatility/Volume or Backtest (Baseline testing)"
3. Inside the GKD-C indicator, change the "Confirmation Type" setting to "Solo Confirmation Complex"
4. Import the GKD-V indicator into the GKD-C indicator: "Input into C1 or Backtest"
5. Inside the GKD-BT Backtest, change the setting "Backtest Special" to "GKD Full wo/ Exits"
6. Import the GKD-C into the GKD-BT Backtest: "Input into Exit or Backtest"
Solo Confirmation Complex with Exits (Baseline, Volatility/Volume, Confirmation, Exit, Backtest)
1. Inside the GKD-V indicator, change the "Testing Type" setting to "Chained"
2. Import the GKD-B Baseline into the GKD-V indicator: "Input into Volatility/Volume or Backtest (Baseline testing)"
3. Inside the GKD-C indicator, change the "Confirmation Type" setting to "Solo Confirmation Complex"
4. Import the GKD-V indicator into the GKD-C indicator: "Input into C1 or Backtest"
5. Import the GKD-C indicator into the GKD-E indicator: "Input into Exit"
6. Inside the GKD-BT Backtest, change the setting "Backtest Special" to "GKD Full w/ Exits"
7. Import the GKD-E into the GKD-BT Backtest: "Input into Backtest"
Full GKD without Exits (Baseline, Volatility/Volume, Confirmation 1, Confirmation 2, Continuation, Backtest)
1. Inside the GKD-V indicator, change the "Testing Type" setting to "Chained"
2. Import the GKD-B Baseline into the GKD-V indicator: "Input into Volatility/Volume or Backtest (Baseline testing)"
3. Inside the GKD-C 1 indicator, change the "Confirmation Type" setting to "Confirmation 1"
4. Import the GKD-V indicator into the GKD-C 1 indicator: "Input into C1 or Backtest"
5. Inside the GKD-C 2 indicator, change the "Confirmation Type" setting to "Confirmation 2"
6. Import the GKD-C 1 indicator into the GKD-C 2 indicator: "Input into C2"
7. Inside the GKD-C Continuation indicator, change the "Confirmation Type" setting to "Continuation"
8. Inside the GKD-BT Backtest, change the setting "Backtest Special" to "GKD Full wo/ Exits"
9. Import the GKD-E into the GKD-BT Backtest: "Input into Exit or Backtest"
Full GKD with Exits (Baseline, Volatility/Volume, Confirmation 1, Confirmation 2, Continuation, Exit, Backtest)
1. Inside the GKD-V indicator, change the "Testing Type" setting to "Chained"
2. Import the GKD-B Baseline into the GKD-V indicator: "Input into Volatility/Volume or Backtest (Baseline testing)"
3. Inside the GKD-C 1 indicator, change the "Confirmation Type" setting to "Confirmation 1"
4. Import the GKD-V indicator into the GKD-C 1 indicator: "Input into C1 or Backtest"
5. Inside the GKD-C 2 indicator, change the "Confirmation Type" setting to "Confirmation 2"
6. Import the GKD-C 1 indicator into the GKD-C 2 indicator: "Input into C2"
7. Inside the GKD-C Continuation indicator, change the "Confirmation Type" setting to "Continuation"
8. Import the GKD-C Continuation indicator into the GKD-E indicator: "Input into Exit"
9. Inside the GKD-BT Backtest, change the setting "Backtest Special" to "GKD Full w/ Exits"
10. Import the GKD-E into the GKD-BT Backtest: "Input into Backtest"
Baseline + Volatility/Volume (Baseline, Volatility/Volume, Backtest)
1. Inside the GKD-V indicator, change the "Testing Type" setting to "Baseline + Volatility/Volume"
2. Inside the GKD-V indicator, make sure the "Signal Type" setting is set to "Traditional"
3. Import the GKD-B Baseline into the GKD-V indicator: "Input into Volatility/Volume or Backtest (Baseline testing)"
4. Inside the GKD-BT Backtest, change the setting "Backtest Special" to "Baseline + Volatility/Volume"
5. Import the GKD-V into the GKD-BT Backtest: "Input into C1 or Backtest"
6. Inside the GKD-BT Backtest, change the setting "Backtest Type" to "Full". For this backtest, you must test Longs and Shorts separately
7. To allow the system to open multiple orders at one time so you can test all Longs or Shorts, open the GKD-BT Backtest, click the tab "Properties" and then insert a value of something like 10 orders into the "Pyramiding" settings. This will allow 10 orders to be opened at one time which should be enough to catch all possible Longs or Shorts.
Requirements
Inputs
Confirmation 1: GKD-V Volatility / Volume indicator
Confirmation 2: GKD-C Confirmation indicator
Continuation: GKD-C Confirmation indicator
Solo Confirmation Simple: GKD-B Baseline
Solo Confirmation Complex: GKD-V Volatility / Volume indicator
Solo Confirmation Super Complex: GKD-V Volatility / Volume indicator
Stacked 1: None
Stacked 2+: GKD-C, GKD-V, or GKD-B Stacked 1
Outputs
Confirmation 1: GKD-C Confirmation 2 indicator
Confirmation 2: GKD-C Continuation indicator
Continuation: GKD-E Exit indicator
Solo Confirmation Simple: GKD-BT Backtest
Solo Confirmation Complex: GKD-BT Backtest or GKD-E Exit indicator
Solo Confirmation Super Complex: GKD-C Continuation indicator
Stacked 1: GKD-C, GKD-V, or GKD-B Stacked 2+
Stacked 2+: GKD-C, GKD-V, or GKD-B Stacked 2+ or GKD-BT Backtest
Additional features will be added in future releases.