On Chart Reverse PMARPIntroducing the On Chart Reverse PMARP
Concept
The PMAR/PMARP is an indicator which calculates :
The ratio between a chosen source price and a user defined moving average ( Price Moving Average Ratio ).
The percentile of the PMAR over an adjustable lookback period ( Price Moving Average Ratio Percentile ).
Here I have 'reverse engineered' the PMAR / PMARP formulas to derive several functions.
These functions calculate the chart price at which the PMARP will cross a particular PMARP level.
I have employed those functions here to give the "crossover" price levels for :
Scale high level
High alert level
High test level
Mid-Line
Low test level
Low alert level
Scale low level
Knowing the price at which these various user defined PMARP levels will be crossed can be useful in setting price levels that trigger components of various strategies.
For example: A trader can use the reverse engineered upper high alert price level, to set a take profit limit order on a long trade, which was entered when PMARP was low.
This 'On Chart' RPMARP indicator displays these 'reverse engineered' price levels as plotted lines on the chart.
This allows the user to see directly on the chart the interplay between the various crossover levels and price action.
This allows for more intuitive Technical Analysis, and allows traders to precisely plan entries, exits and stops for their PMARP based trades.
It optionally plots the user defined moving average from which the PMARP is derived.
It also optionally plots the 'Reverse engineered' midline, test level lines, visual alert level lines, scale max. and min. level lines, and background alert signal bars.
Main Properties :
Price Source :- Choice of price values or external value from another indicator ( default *Close ).
PMAR Length :- User defined time period to be used in calculating the Moving Average for the Price Moving Average Ratio and the PMAR component of the PMARP ( default *21 ).
MA Type :- User defined type of Moving Average which creates the MA for the Price Moving Average Ratio and the PMAR component of the PMARP ( default *EMA ).
Checkbox and color selection box for the optionally plotted Moving Average line.
Price Moving Average Ratio Percentile Properties :
PMARP Length :- The lookback period to be used in calculating the Price Moving Average Ratio Percentile ( default *350 ).
PMARP Level Settings :
Scale High :- Scale high level ( Locked at 100 ).
Hi Alert :- High alert level ( default *99 ).
Hi Test :- High test level ( default *70 ).
Lid Line :- Mid line level ( Locked at 50 ).
Lo Test :- Low test level ( default *30 ).
Lo Alert :- Low alert level ( default *1 ).
Scale Low :- Scale low level ( Locked at 0 ).
Checkboxes and color selection boxes for each of the optionally plotted lines.
PMARP MA Settings :
Checkbox to optionally plot 'reverse engineered' PMARP MA line.
PMARP MA Length :- The time period to be used in calculating the signal Moving Average for the Line Plot ( default *20 ).
PMARP MA Type :- The type of Moving Average which creates the signal Moving Average for the Line Plot ( default *EMA ).
Color Type :- User choice from dropdown between "single" or "dual" line color ( default *dual ).
Single Color :- Color selection box.
Dual Color :- Color selection box. Note: Defines the color of the signal MA when the MA is falling in "dual" line coloring mode.
Signal Bar Settings :
Signal Bars Transparency :- Sets the transparency of the vertical signal bars ( default *70 ).
Checkboxes and color selection boxes for Upper/Lower alert signal bars.
المتوسطات المتحركة
Volume Candle bollinger band By Anil ChawraHow Users Can Make Profit Using This Script:
1.Volume Representation: Each candle on the chart represents a specific time period (e.g., 1 minute, 1 hour, 1 day) and includes information about both price movement and trading volume during that period.
2.Candlestick Anatomy: A volume candle has the same components as a regular candlestick: the body (which represents the opening and closing prices) and the wicks or shadows (which indicate the highest and lowest prices reached during the period).
3.Volume Bars: Instead of just the candlestick itself, volume candles also include a bar or histogram representing the trading volume during that period. The height or length of the volume bar indicates the amount of trading activity.
4.Interpreting Volume: High volume candles typically indicate increased market interest or activity during that period. This could be due to significant buying or selling pressure.
5.Confirmation: Traders often look for confirmation from other technical indicators or price action to validate the significance of a high volume candle. For example, a high volume candle breaking through a key support or resistance level may signal a strong market move.
6.Trend Strength: Volume candles can provide insights into the strength of a trend. A series of high volume candles in the direction of the trend suggests strong momentum, while decreasing volume may indicate weakening momentum or a potential reversal.
7.Volume Patterns: Traders also analyze volume patterns, such as volume spikes or divergences, to identify potential trading opportunities or reversals.
8.Combination with Price Action: Volume analysis is often used in conjunction with price action analysis and other technical indicators to make more informed trading decisions.
9.Confirmation and Validation: It's important to confirm the significance of volume candles with other indicators or price action signals to avoid false signals.
10.Risk Management: As with any trading strategy, proper risk management is crucial when using volume candles to make trading decisions. Set stop-loss orders and adhere to risk management principles to protect your capital.
How the Script Works:
1.Identify High Volume Candles: Look for candles with significantly higher volume compared to the surrounding candles. These can indicate increased market interest or activity.
2.Wait for Confirmation: Once you identify a high volume candle, wait for confirmation from subsequent candles to ensure the momentum is sustained.
3.Enter the Trade: After confirmation, consider entering a trade in the direction indicated by the high volume candle. For example, if it's a bullish candle, consider buying.
4.Set Stop Loss: Always set a stop loss to limit potential losses in case the trade goes against you.
5.Take Profit: Set a target for taking profits. This could be based on technical analysis, such as a resistance level or a certain percentage gain.
6.Monitor Volume: Continuously monitor volume to gauge the strength of the trend. Decreasing volume may signal weakening momentum and could be a sign to exit the trade.
7.Risk Management: Manage risk carefully by adjusting position sizes according to your risk tolerance and the size of your trading account.
8.Review and Adapt: Regularly review your trades and adapt your strategy based on what's working and what's not.
Remember, no trading strategy guarantees profits, and it's essential to practice proper risk management and have realistic expectations. Additionally, consider combining volume analysis with other technical indicators for a more comprehensive approach to trading.
How Users Can Make Profit Using this script :
Bollinger Bands are a technical analysis tool that helps traders identify potential trends and volatility in the market. Here's a simple strategy using Bollinger Bands with a 10-point range:
1. *Understanding Bollinger Bands*: Bollinger Bands consist of a simple moving average (typically 20 periods) and two standard deviations plotted above and below the moving average. The bands widen during periods of high volatility and contract during periods of low volatility.
2. *Identify Price Range*: Look for a stock or asset that has been trading within a relatively narrow range (around 10 points) for some time. This indicates low volatility.
3. *Wait for Squeeze*: When the Bollinger Bands contract, it suggests that volatility is low and a breakout may be imminent. This is often referred to as a "squeeze."
4. *Plan Entry and Exit Points*: When the price breaks out of the narrow range and closes above the upper Bollinger Band, consider entering a long position. Conversely, if the price breaks below the lower band, consider entering a short position.
5. *Set Stop-Loss and Take-Profit*: Set stop-loss orders to limit potential losses if the trade goes against you. Take-profit orders can be set at a predetermined level or based on the width of the Bollinger Bands.
6. *Monitor and Adjust*: Continuously monitor the trade and adjust your stop-loss and take-profit levels as the price moves.
7. *Risk Management*: Only risk a small percentage of your trading capital on each trade. This helps to mitigate potential losses.
8. *Practice and Refinement*: Practice this strategy on a demo account or with small position sizes until you are comfortable with it. Refine your approach based on your experience and market conditions.
Remember, no trading strategy guarantees profits, and it's essential to combine technical analysis with fundamental analysis and risk management principles for successful trading. Additionally, always stay informed about market news and events that could impact your trades.
How does script works:
Bollinger Bands work by providing a visual representation of the volatility and potential price movements of a financial instrument. Here's how they work with a 10-point range:
1. *Calculation of Bollinger Bands*: The bands consist of three lines: the middle line is a simple moving average (SMA) of the asset's price (typically calculated over 20 periods), and the upper and lower bands are calculated by adding and subtracting a multiple of the standard deviation (usually 2) from the SMA.
2. *Interpretation of the Bands*: The upper and lower bands represent the potential extremes of price movements. In a 10-point range scenario, these bands are positioned 10 points above and below the SMA.
3. *Volatility Measurement*: When the price is experiencing high volatility, the bands widen, indicating a wider potential range of price movement. Conversely, during periods of low volatility, the bands contract, suggesting a narrower potential range.
4. *Mean Reversion and Breakout Signals*: Traders often use Bollinger Bands to identify potential mean reversion or breakout opportunities. When the price touches or crosses the upper band, it may indicate overbought conditions, suggesting a potential reversal to the downside. Conversely, when the price touches or crosses the lower band, it may indicate oversold conditions and a potential reversal to the upside.
5. *10-Point Range Application*: In a scenario where the price range is limited to 10 points, traders can look for opportunities when the price approaches either the upper or lower band. If the price consistently bounces between the bands, traders may consider buying near the lower band and selling near the upper band.
6. *Confirmation and Risk Management*: Traders often use other technical indicators or price action patterns to confirm signals generated by Bollinger Bands. Additionally, it's crucial to implement proper risk management techniques, such as setting stop-loss orders, to protect against adverse price movements.
Overall, Bollinger Bands provide traders with valuable insights into market volatility and potential price movements, helping them make informed trading decisions. However, like any technical indicator, they are not foolproof and should be used in conjunction with other analysis methods.
[FXAN] 71 Cygni Algorithm (Scalping)⚜️ FXAN CYGNI INDICATORS ORIGINALITY
Originality comes from proprietary formula we use to measure the relationship between Volume and Price Volatility in relation to overall current market positioning in developing Volume Profile and multiple custom period Volume Profiles. We combine that with our own approach to measure price velocity in correlation to average daily/weekly/monthly ranges of the given market.
The relationship between current volume and price volatility gives us information about how much the volume that is currently coming into the market affects the price movement (volatility) and which side is more dominant/involved in the market (Buyers/Sellers). We call this the "Volume Impact" factor.
This information is then compared in relation to the overall current market positioning in developing Volume Profile and Multiple custom period Volume Profiles. We have created a rating system based on current price positioning in relation to the Volume Profile. Volume profile consists of different volume nodes, high volume nodes where we consider market interest to be high (a lot of transactions - High Volume) and low volume nodes where we consider market interest to be low (not a lot of transactions - Low Volume). We call this the current "Market Interest" factor.
We combine this information with our own approach to measure price velocity in correlation to the higher-timeframe price ranges. Calculation is done by measuring current ranges of market movement in correlation to average daily/weekly/monthly ranges. We call this "Price Velocity" factor.
This approach was applied to develop key components of our Tradingview Indicators, we've simplified some of the calculations and made them easy to use by programming them to display buying/selling volume pressure with colors.
In addition to our own proprietary formulas and criterias to measure volume impact on price, we've also used an array of indicators that measure the percentage change in volume over custom specified periods of time, including custom period ranged Volume Profile, Developing VA, Accumulation/Distribution (A/D Line), Volume Rate of Change (VROC), Volume Price Trend (VPT) - all of them with of course fine-tuned settings to fit the purpose in the overall calculation.
Reasons for multiple indicator use:
Custom period ranged Volume Profiles: To determine current interest of market participants. Used for "Market Interest"
Developing VA: To determine current fair price of the market (value area). Used for "Market Interest".
Accumulation/Distribution (A/D Line): Helping to gauge the strength of buying and selling pressure. Used for "Volume Impact"
Volume Rate of Change (VROC): To give us information about percentage change in volume. Used for "Volume Impact"
Volume Price Trend (VPT): To help identify potential trends. Used for "Volume Impact".
Average True Range (ATR): Used for measuring volatility. Used for "Volume Impact" and "Price Velocity".
Average Daily Range (ADR): Used for measuring average market price movement. Used for "Price Velocity".
How it all works together:
"Volume Impact" factor tells us the influence of incoming market volume on price movement. This information alongside the overall market positioning information derived from "Market Interest" factor combined with information about speed and direction relative to higher-timeframe price ranges frin "Price Velocity.
This is the basis of our proprietary developed Volume Dynamics analysis approach
"Volume Impact" x "Market Interest" x "Price Velocity"
Combining this factors together gives a good overall understanding of which side is currently more involved in the market to gauge the direction ("Volume Impact"), where the market is currently positioned to gauge the context ("Market Interest") and what the current market's momentum to improve the timing of our trades ("Price Velocity"). This increases our probabilities for successful trades, executed with good timing.
To simplify - our indicators will always analyze the volume behind every price movement and rate those movements based on the relationship between movement distance and volume behind it through an array of criterias and rate them.
Colors displayed by the indicators will be a result of that, suggesting which side of the market (Buyers or sellers) is currently more involved in the market, aiming to increase the probabilities for profitable trades. With the help of our indicators you have deep volume analysis behind price movements done without looking at anything else then indicator components.
🔷 OVERVIEW
Cygni 71 Algorithm is a TradingView indicator designed for short-term trading (scalping) and enhancing the precision of your entries/exits based on a higher timeframe market context. It analyzes the underlying volume behind market movements and colors the candles with the help of the Heiken-Ashi methodology to provide a clearer perspective on the market's potential direction and intentions.
🔷 KEY FEATURES
▊ Candle Coloring
▊ Upper Colored Bar
▊ Lower Colored Bar
🔷 HOW DOES IT WORK?
□ Candles will color in reference to the Heiken ashi "average bar" methodology, which uses a modified formula based on two-period averages. This way, you can observe the normal candlesticks with less noise as colors will suggest the most likely direction where the market might be heading.
□ Upper Colored Bar analyzes daily volume dynamics in the market's price action by referencing the daily average price weighted by volume. If the market is bullish, you’ll see the green bars, and if the market is bearish, the bars will color red.
□ Lower Colored Bar analyzes volume dynamics and the market's price action every few second and minute intervals by referencing average price weighted by volume. This makes it much more sensitive than the Upper Colored Bar. If the market is bullish, you’ll see the green bars, and if the market is bearish, the bars will color red.
🔷 HOW TO USE IT?
□ In general, we look for areas where all components are in sync. These are valid trading signals (refer to the usage example below).
□ If all components are not in sync, we should look for at least two of them to be in sync while one of them must be Upper Colored Bar.
□ Candle Colors: Looking for longs when the candles are green and looking for shorts when the colors are red
□ Upper Colored Bar: The most important component of this indicator is that we favor trading in the direction suggested by this component. Additional confirmation of other components is a bonus. The green color suggests a bullish market, trading long. Red color suggests bearish market, trading short.
□ Lower Colored Bar: This should not be used on its own but always combined with at least one of the other components due to its sensitivity. Colors are indicating longs when green and shorts when red.
🔷 COMBINING THE COMPONENTS
Each component of the indicator serves it's own purpose and analyzes the market from it's own perspective and with its own custom settings and formulas. The calculation of the individual component is done independently from other components. Once all of them align, we're able to execute trades with an edge as it signals that different aspects of volume and price analysis line up for the trading opportunity.
- Candle Colors are used for improving the timing of your entries/exits based on market structure
- Upper Colored Bar is used for determining the favorable direction of the market based on Daily Volume Dynamics.
- Lower Colored Bar used for determining the favorable direction of the market based on Second/Minute/3-minute Volume Dynamics.
It's important to combine the components to increase the probability of success - here's how you should look for a trade:
1. Assess the current most favorable market direction by referencing the Upper Colored bar, look for longs if it’s green and for shorts if it’s red
2. Look for the Candle Colors to align with the Upper Colored bar, look for longs if it’s green and for shorts if it’s red
3. Look for short-time frame volume dynamics to align with your entries, by referencing the Lower Colored Bar - look for longs if it’s green and for shorts if it’s red.
A valid example of the trade would be:
- Upper Colored Bar is green, indicating the favorable trading directions is long
- Lower Colored Bar is green, indicating the favorable trading directions is long
- Candle Colors are green, indicating the market structure is favorable to enter your positions
📊 USAGE EXAMPLE
RSI EMA WMA (hieuhn)Indicator: RSI & EMA & WMA (14-9-45)
This indicator, named "RSI & EMA & WMA", is a versatile tool designed to provide insights into market momentum and trend strength by combining multiple technical indicators.
The Relative Strength Index (RSI) is a popular momentum oscillator used to measure the speed and change of price movements. In this indicator, RSI is plotted alongside its Exponential Moving Average (EMA) and Weighted Moving Average (WMA). EMA and WMA are smoothing techniques applied to RSI to help identify trends more clearly.
Key features of this indicator include:
RSI: The main RSI line is plotted on the chart, offering insights into overbought and oversold conditions.
EMA of RSI: The Exponential Moving Average of RSI smooths out short-term fluctuations, aiding in trend identification.
WMA of RSI: The Weighted Moving Average of RSI gives more weight to recent data points, providing a faster response to price changes.
Additionally, this indicator marks specific RSI levels considered as bullish and bearish trends, helping traders identify potential entry or exit points based on market sentiment.
By combining these technical indicators, traders can gain a comprehensive understanding of market dynamics, helping them make more informed trading decisions.
Fibonacci Timeframe Adaptive EMAThe "Fibonacci Timeframe Adaptive EMA" is a sophisticated trading indicator designed for the TradingView platform, leveraging the power of Exponential Moving Averages (EMAs) determined by Fibonacci sequence lengths to provide traders with dynamic market insights. This indicator overlays directly on the price chart, offering a unique blend of trend analysis, smoothing techniques, and timeframe adaptability, making it an invaluable tool for traders looking to enhance their technical analysis strategy.
Key Features
1. Fibonacci-Based EMA Lengths: Utilizes the Fibonacci sequence to select EMA lengths, incorporating natural mathematical ratios believed to be significant in financial markets. The available lengths range from 1 to 987, allowing for detailed trend analysis over various periods.
2. Multiple Smoothing Methods: Offers the choice between several smoothing techniques, including Simple Moving Average (SMA), Exponential Moving Average (EMA), Smoothed Moving Average (SMMA or RMA), Weighted Moving Average (WMA), and Volume Weighted Moving Average (VWMA). This versatility ensures that users can tailor the indicator to suit their analytical preferences.
3. Timeframe Adaptability: Features the ability to fetch and calculate EMAs from different timeframes, providing a multi-timeframe analysis within a single chart view. This adaptability gives traders a broader perspective on market trends, enabling more informed decision-making.
4. Dynamic Visualization Options: Traders can customize the display to suit their analysis needs, including toggling the visibility of Fibonacci EMA lines, EMA prices, and smoothed EMA lines. Additionally, forecast lines can be projected into the future, offering speculative insights based on current trends.
5. Ema Tail Visualization: An innovative feature allowing for the visualization of the 'tail' or the continuation of EMA lines, which can be particularly useful for identifying trend persistence or reversal points.
6. User-friendly Customization: Through a series of input options, traders can easily adjust the source data, Fibonacci lengths, smoothing method, and visual aspects such as line colors and transparency, ensuring a seamless integration into any trading strategy.
Application and Use Cases
The "Fibonacci Timeframe Adaptive EMA" indicator is designed for traders who appreciate the significance of Fibonacci numbers in market analysis and seek a flexible tool to analyze trends across different timeframes. Whether it's for scalping, day trading, or long-term investing, this indicator can provide valuable insights into price dynamics, trend strengths, and potential reversal points. Its adaptability makes it suitable for various asset classes, including stocks, forex, commodities, and cryptocurrencies.
Day Open Line + SMA 8/3 Crossover + BollingerHow Users Can Make Profit Using This Script:
DAYS OPEN LINE:
1.Purpose: Publishing a "Days Open Line" indicator serves to inform customers about the operational schedule of a business or service.
2.Visibility: It ensures that the information regarding the days of operation is easily accessible to current and potential customers.
3.Transparency: By making the operational schedule public, businesses demonstrate transparency and reliability to their customers.
4.Accessibility: The indicator should be published on various platforms such as the business website, social media channels, and physical locations to ensure accessibility to a wide audience.
5.Clarity: The information should be presented in a clear and concise manner, specifying the days of the week the business is open and the corresponding operating hours.
6.Updates: It's important to regularly update the "Days Open Line" indicator to reflect any changes in the operational schedule, such as holidays or special events.
7.Customer Convenience: Providing this information helps customers plan their visits accordingly, reducing inconvenience and frustration due to unexpected closures.
8.Expectation Management: Setting clear expectations regarding the business hours helps manage customer expectations and reduces the likelihood of disappointment or complaints.
9.Customer Service: Publishing the "Days Open Line" indicator demonstrates a commitment to customer service by ensuring that customers have the information they need to engage with the business.
10.Brand Image: Consistently .maintaining and updating the indicator contributes to a positive brand image, as it reflects professionalism, reliability, and a customer-centric approach.
SMA CROSS:
1.This indicator generates buy and sell signals based on the crossover of two Simple Moving Averages (SMA): a shorter 3-day SMA and a longer 8-day SMA.
When the 3-day SMA crosses above the 8-day SMA, it generates a buy signal indicating a potential upward trend.
Conversely, when the 3-day SMA crosses below the 8-day SMA, it generates a sell signal indicating a potential downward trend.
Signal Interpretation:
2.Buy Signal: Generated when the 3-day SMA crosses above the 8-day SMA.
Sell Signal: Generated when the 3-day SMA crosses below the 8-day SMA.
Usage:
3.Traders can use this indicator to identify potential entry and exit points in the market.
Buy signals suggest a bullish trend, indicating a favorable time to enter or hold a long position.
4.Sell signals suggest a bearish trend, indicating a potential opportunity to exit or take a short position.
Parameters:
5.Periods: 3-day SMA and 8-day SMA.
Price: Closing price is commonly used, but users can choose other price types (open, high, low) for calculation.
Confirmation:
6.It's recommended to use additional technical analysis tools or confirmatory indicators to validate signals and minimize false signals.
Risk Management:
7.Implement proper risk management strategies, such as setting stop-loss orders, to mitigate losses in case of adverse price movements.
Backtesting:
8.Before using the indicator in live trading, conduct thorough backtesting to evaluate its effectiveness under various market conditions.
Considerations:
9.While SMA crossovers can provide valuable insights, they may generate false signals during ranging or choppy markets.
Combine this indicator with other technical analysis techniques for comprehensive market analysis.
Continuous Optimization:
10.Monitor the performance of the indicator and adjust parameters or incorporate additional filters as needed to enhance accuracy over time.
BOLLINGER BAND:
1.Definition: A Bollinger Band indicator is a technical analysis tool that consists of a centerline (typically a moving average) and two bands plotted above and below it. These bands represent volatility around the moving average.
2.Purpose: Publishing a Bollinger Band indicator serves to provide traders and investors with insights into the volatility and potential price movements of a financial instrument.
3.Visualization: The indicator is typically displayed on price charts, allowing users to visualize the relationship between price movements and volatility levels.
4.Interpretation: Traders use Bollinger Bands to identify overbought and oversold conditions, potential trend reversals, and volatility breakouts.
5.Components: The indicator consists of three main components: the upper band, lower band, and centerline (usually a simple moving average). These components are calculated based on standard deviations from the moving average.
6.Parameters: Traders can adjust the parameters of the Bollinger Bands, such as the period length and standard deviation multiplier, to customize the indicator based on their trading strategy and preferences.
7.Signals: Bollinger Bands generate signals when prices move outside the bands, indicating potential trading opportunities. For example, a price breakout above the upper band may signal a bullish trend continuation, while a breakout below the lower band may indicate a bearish trend continuation.
8.Confirmation: Traders often use other technical indicators or price action analysis to confirm signals generated by Bollinger Bands, enhancing the reliability of their trading decisions.
9.Education: Publishing Bollinger Band indicators can serve an educational purpose, helping traders learn about technical analysis concepts and how to apply them in real-world trading scenarios.
10.Risk Management: Traders should exercise proper risk management when using Bollinger Bands, as false signals and market volatility can lead to losses. Publishing educational content alongside the indicator can help users understand the importance of risk management in trading.
VWAP:
1.Calculation: VWAP is calculated by dividing the cumulative sum of price times volume traded for every transaction (price * volume) by the total volume traded.
2.Time Frame: VWAP is typically calculated for a specific time frame, such as a trading day or a session.
3.Intraday Trading: It's commonly used by intraday traders to assess the fair value of a security and to determine if the current price is above or below the average price traded during the day.
4.Execution: Institutional traders often use VWAP as a benchmark for executing large orders, aiming to buy at prices below VWAP and sell at prices above VWAP.
5.Benchmark: It serves as a benchmark for traders to evaluate their trading performance. Trades executed below VWAP are considered good buys, while those above are considered less favorable.
6.Sensitivity: VWAP is more sensitive to price and volume changes during periods of high trading activity and less sensitive during periods of low trading activity.
7.Day's End: VWAP resets at the end of each trading day, providing a new reference point for the following trading session.
8.Volume Weighting: The weighting by volume means that prices with higher trading volumes have a greater impact on VWAP than those with lower volumes.
9.Popular with Algorithmic Traders: Algorithmic trading systems often incorporate VWAP strategies to execute trades efficiently and minimize market impact.
10.Limitations: While VWAP is a useful indicator, it's not foolproof. It may lag behind rapidly changing market conditions and may not be suitable for all trading strategies or market conditions. Additionally, it's more effective in liquid markets where there is significant trading volume.
How the Script Works:
1.Utilizes Day Open Line for accurate market entry points.
2.Identifies bullish trends with SMA 3 crossover SMA 8.
3.Signals potential sell opportunities with SMA 8 crossunder SMA 3.
4.Bollinger Bands indicate overbought and oversold conditions.
5.VWAP offers insights into average price levels weighted by volume.
6.Combination of indicators enhances trade confirmation.
7.Facilitates precise timing for buy and sell decisions.
8.Enables traders to capitalize on market volatility.
9.Empowers users to navigate dynamic market conditions.
10.Supports profitable trading strategies with comprehensive analysis.
11.It is known when the market is sideways.
Red Light, Green Light Red Light, Green Light" is a comprehensive trading indicator designed for traders who need a clear, visual representation of market trends, applicable to any financial instrument and timeframe. It combines the analytical depth of three customizable moving averages with the visual simplicity of traffic lights. Users can adjust the length, MA type (including options like Donchian/Ichimoku baseline), source, and utilize multi-timeframe analysis, all enhanced with an offset feature for precise market alignment.
This indicator is ideal for users of Ichimoku Clouds, Donchian Channels, Price Action Scanners, Bollinger Bands, and moving average strategies, offering a new perspective in technical analysis.
The color system of the indicator simplifies trend identification:
Green indicates a strong bullish trend, suggesting traders consider long positions. This occurs when the short MA is above both the medium and long MAs, and the medium is also above the long MA.
Yellow signals caution in a bullish trend, pointing to potential consolidation or distribution phases. It appears when the short MA crosses below the medium MA while the medium remains above the long MA.
Orange reflects caution in a bearish trend, functioning similarly to yellow but under bearish conditions.
Red signifies a strong bearish trend, recommending short selling opportunities. It manifests when all MAs align in descending order, with the short MA at the lowest.
The 'cloud' feature, between the first two MAs, provides trend context akin to the Ichimoku Cloud but with a unique approach. While the Ichimoku system uses price position relative to the cloud to dictate trade bias, "Red Light, Green Light" relies on the color transitions of the MAs to guide trading decisions, with green and yellow for bullish scenarios and red and orange for bearish conditions.
Optimal use of "Red Light, Green Light" involves setting the moving average to the Donchian Baseline with default lengths of 20, 50, and 200, adjusting line thickness for visibility, and moderating cloud opacity as preferred.
Additionally, I developed this indicator primarily as a price action scanner to aid in identifying the most ideal financial instruments for trading based on their directional trends. It’s particularly useful for scanning through multiple timeframes of top-performing or bottom-performing stocks to discern which ones present the best trading opportunities. For instance, a stock that is consistently green from longer timeframes like 12M to 1D but shows yellow, orange, or red in shorter timeframes like 4H or 1H may be experiencing a minor pullback in an overall strong bullish trend, potentially signaling a buying opportunity. Conversely, in a bear market, consistent red in larger timeframes with green or yellow in shorter timeframes could indicate short-selling opportunities.
I recommend using this tool in conjunction with other indicators like Chris Moody’s Williams Vix Fix to enhance your market analysis and decision-making process.
I'm keen to receive feedback and learn about other tools on TradingView that can augment this price action scanning approach.
Volatility Adjusted Weighted DEMA [BackQuant]Volatility Adjusted Weighted DEMA
The Volatility Adjusted Weighted Double Exponential Moving Average (VAWDEMA) by BackQuant is a sophisticated technical analysis tool designed for traders seeking to integrate volatility into their moving average calculations. This innovative indicator adjusts the weighting of the Double Exponential Moving Average (DEMA) according to recent volatility levels, offering a more dynamic and responsive measure of market trends.
Primarily, the single Moving average is very noisy, but can be used in the context of strategy development, where as the crossover, is best used in the context of defining a trading zone/ macro uptrend on higher timeframes.
Why Volatility Adjustment is Beneficial
Volatility is a fundamental aspect of financial markets, reflecting the intensity of price changes. A volatility adjustment in moving averages is beneficial because it allows the indicator to adapt more quickly during periods of high volatility, providing signals that are more aligned with the current market conditions. This makes the VAWDEMA a versatile tool for identifying trend strength and potential reversal points in more volatile markets.
Understanding DEMA and Its Advantages
DEMA is an indicator that aims to reduce the lag associated with traditional moving averages by applying a double smoothing process. The primary benefit of DEMA is its sensitivity and quicker response to price changes, making it an excellent tool for trend following and momentum trading. Incorporating DEMA into your analysis can help capture trends earlier than with simple moving averages.
The Power of Combining Volatility Adjustment with DEMA
By adjusting the weight of the DEMA based on volatility, the VAWDEMA becomes a powerful hybrid indicator. This combination leverages the quick responsiveness of DEMA while dynamically adjusting its sensitivity based on current market volatility. This results in a moving average that is both swift and adaptive, capable of providing more relevant signals for entering and exiting trades.
Core Logic Behind VAWDEMA
The core logic of the VAWDEMA involves calculating the DEMA for a specified period and then adjusting its weighting based on a volatility measure, such as the average true range (ATR) or standard deviation of price changes. This results in a weighted DEMA that reflects both the direction and the volatility of the market, offering insights into potential trend continuations or reversals.
Utilizing the Crossover in a Trading System
The VAWDEMA crossover occurs when two VAWDEMAs of different lengths cross, signaling potential bullish or bearish market conditions. In a trading system, a crossover can be used as a trigger for entry or exit points:
Bullish Signal: When a shorter-period VAWDEMA crosses above a longer-period VAWDEMA, it may indicate an uptrend, suggesting a potential entry point for a long position.
Bearish Signal: Conversely, when a shorter-period VAWDEMA crosses below a longer-period VAWDEMA, it might signal a downtrend, indicating a possible exit point or a short entry.
Incorporating VAWDEMA crossovers into a trading strategy can enhance decision-making by providing timely and adaptive signals that account for both trend direction and market volatility. Traders should combine these signals with other forms of analysis and risk management techniques to develop a well-rounded trading strategy.
Alert Conditions For Trading
alertcondition(vwdema>vwdema , title="VWDEMA Long", message="VWDEMA Long - {{ticker}} - {{interval}}")
alertcondition(vwdema<vwdema , title="VWDEMA Short", message="VWDEMA Short - {{ticker}} - {{interval}}")
alertcondition(ta.crossover(crossover, 0), title="VWDEMA Crossover Long", message="VWDEMA Crossover Long - {{ticker}} - {{interval}}")
alertcondition(ta.crossunder(crossover, 0), title="VWDEMA Crossover Short", message="VWDEMA Crossover Short - {{ticker}} - {{interval}}")
Thus following all of the key points here are some sample backtests on the 1D Chart
Disclaimer: Backtests are based off past results, and are not indicative of the future.
INDEX:BTCUSD
INDEX:ETHUSD
BINANCE:SOLUSD
EMA Cross Dashboard | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Exponential Moving Average (EMA) Cross Dashboard! This dashboard let's you select a source for the calculation of the EMA of it, then let's you enter 2 lengths for up to 5 timeframes, plotting their crosses in the chart.
Features of the new EMA Cross Dashboard :
Shows EMA Crosses Across Up To 5 Different Timeframes.
Select Any Source, Including Other Indicators.
Customizable Dashboard.
📌 HOW DOES IT WORK ?
EMA is a widely used indicator within trading community, it is similar to a Simple Moving Average (SMA) but places more weight on recent prices, making it more reactive to current trends. Crosses of EMA lines can be helpful to determine strong bullish & bearish movements of an asset. This indicator shows finds crosses across 5 different timeframes in a dashboard and plots them in your chart for ease of use.
🚩UNIQUENESS
This dashboard cuts through the hassle of manual EMA cross calculations and plotting. It offers flexibility by allowing various data sources (even custom indicators) and customization through enabling / disabling individual timeframes. The clear visualization lets you see EMA crosses efficiently.
⚙️SETTINGS
1. Timeframes
You can set up to 5 timeframes & 2 lenghts to detect crosses for each timeframe here. You can also enable / disable them.
2. General Configuration
EMA Source -> You can select the source for the calculation of the EMA here. You can select sources from other indicators as well as more general sources like close, high and low price.
SMA Cross Dashboard | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Simple Moving Average (SMA) Cross Dashboard! This dashboard let's you select a source for the calculation of the SMA of it, then let's you enter 2 lengths for up to 5 timeframes, plotting their crosses in the chart.
Features of the new SMA Cross Dashboard :
Shows SMA Crosses Across Up To 5 Different Timeframes.
Select Any Source, Including Other Indicators.
Customizable Dashboard.
📌 HOW DOES IT WORK ?
SMA is a widely used indicator within trading community, it simply works by taking the mathematical average of a source by desired length. Crosses of SMA lines can be helpful to determine strong bullish & bearish movements of an asset. This indicator shows finds crosses across 5 different timeframes in a dashboard and plots them in your chart for ease of use.
🚩UNIQUENESS
This dashboard cuts through the hassle of manual SMA cross calculations and plotting. It offers flexibility by allowing various data sources (even custom indicators) and customization through enabling / disabling individual timeframes. The clear visualization lets you see SMA crosses efficiently.
⚙️SETTINGS
1. Timeframes
You can set up to 5 timeframes & 2 lenghts to detect crosses for each timeframe here. You can also enable / disable them.
2. General Configuration
SMA Source -> You can select the source for the calculation of the SMA here. You can select sources from other indicators as well as more general sources like close, high and low price.
Range Finder [UAlgo]🔶 Description:
The "Range Finder " indicator aims at identifying and visualizing price ranges within a specified number of candles. By utilizing the Average True Range (ATR) indicator and Simple Moving Average (SMA), it detects potential breakout conditions and tracks consecutive candles that remain within the breakout range. This indicator offers flexibility by allowing users to customize settings such as range length, method for determining range breaks (based on either candle close or wick), and visualization options for displaying range breaks on the chart.
🔶 Key Features
Identifying Ranges: The Range Finder automatically adapts to the market by continuously evaluating the Average True Range (ATR) and its Simple Moving Average (SMA). This helps in dynamically adjusting the range based on market volatility.
Range Length: Users can specify the number of candles to be used for constructing the range via the "Range Length" input setting. This allows for customization based on trading strategies and preferences.
Range Break Method: The indicator offers the flexibility to choose between two methods for identifying range breaks. Users can select between "Close" or "Wick" based on their preference for using the closing price or the highs and lows (including wicks) of candles for defining the breakout.
Show Range Breaks: This option enables visual representation of range breaks on the chart. When activated, labels with the letter "B" will appear at the breakout point, colored according to the breakout direction (upward breakouts in the chosen up range color and downward breakouts in the chosen down range color).
Range Color Customization: The indicator provides the ability to personalize the visual appearance of the range by selecting preferred colors for ranges indicating potential upward and downward breakouts.
🔶 Disclaimer
It's important to understand that the Range Finder indicator is intended for informational purposes only and should not be solely relied upon for making trading decisions. Trading financial instruments involves inherent risks, and past performance is not necessarily indicative of future results.
DEMA RSI Overlay [BackQuant]DEMA RSI Overlay
PLEASE Read the following, knowing what an indicator does at its core before adding it into a system is pivotal. The core concepts can allow you to include it in a logical and sound manner.
Anyways,
BackQuant's new trading indicator that blends the Double Exponential Moving Average (DEMA) with the Relative Strength Index (RSI) to create a unique overlay on the trading chart. This combination is not arbitrary; both the DEMA and RSI are revered for their distinct advantages in trading strategy development. Let's delve into the core components of this script, the rationale behind choosing DEMA and RSI, the logic of long and short signals, and its practical trading applications.
Understanding DEMA
DEMA is an enhanced version of the conventional exponential moving average that aims to reduce the lag inherent in traditional averages. It does this by applying more weight to recent prices. The reduction in lag makes DEMA an excellent tool for tracking price trends more closely. In the context of this script, DEMA serves as the foundation for the RSI calculation, offering a smoother and more responsive signal line that can provide clearer trend indications.
Why DEMA?
DEMA is chosen for its responsiveness to price changes. This characteristic is particularly beneficial in fast-moving markets where entering and exiting positions quickly is crucial. By using DEMA as the price source, the script ensures that the signals generated are timely and reflective of the current market conditions, reducing the risk of entering or exiting a trade based on outdated information.
Integrating RSI
The RSI, a momentum oscillator, measures the speed and change of price movements. It oscillates between zero and 100 and is typically used to identify overbought or oversold conditions. In this script, the RSI is calculated based on DEMA, which means it inherits the responsiveness of DEMA, allowing traders to spot potential reversals or continuation signals sooner.
Why RSI?
Incorporating RSI offers a measure of price momentum and market conditions relative to past performance. By setting thresholds for long (buy) and short (sell) signals, the script uses RSI to identify potential turning points in the market, providing traders with strategic entry and exit points.
Calculating Long and Short Signals
Long Signals : These are generated when the RSI of the DEMA crosses above the longThreshold (set at 70 by default) and the closing price is not above the upper volatility band. This suggests that the asset is gaining upward momentum while not being excessively overbought, presenting a potentially favorable buying opportunity.
Short Signals : Generated when the RSI of the DEMA falls below the shortThreshold (set at 55 by default). This indicates that the asset may be losing momentum or entering a downtrend, signaling a possible selling or shorting opportunity.
Logical Soundness
The logic of combining DEMA with RSI for generating trade signals is sound for several reasons:
Timeliness : The use of DEMA ensures that the price source for RSI calculation is up-to-date, making the momentum signals more relevant.
Balance : By setting distinct thresholds for long and short signals, the script balances sensitivity and specificity, aiming to minimize false signals while capturing genuine market movements.
Adaptability : The inclusion of user inputs for periods and thresholds allows traders to customize the indicator to fit various trading styles and timeframes.
Trading Use-Cases
This DEMA RSI Overlay indicator is versatile and can be applied across different markets and timeframes. Its primary use-cases include:
Trend Following: Traders can use it to identify the start of a new trend or the continuation of an existing trend.
Swing Trading: The indicator's sensitivity to price changes makes it ideal for swing traders looking to capitalize on short to medium-term price movements.
Risk Management: By providing clear long and short signals, it helps traders manage their positions more effectively, potentially reducing the risk of significant losses.
Final Note
We have also decided to add in the option of standard deviation bands, calculated on the DEMA, this can be used as a point of confluence rendering trading ranges. Expanding when volatility is high and compressing when it is low.
For example:
This provides the user with a 1, 2, 3 standard deviation band of the DEMA.
Thus following all of the key points here are some sample backtests on the 1D Chart
Disclaimer: Backtests are based off past results, and are not indicative of the future.
INDEX:BTCUSD
INDEX:ETHUSD
BINANCE:SOLUSD
Multi-Timeframe SMA Crossover Indicator## Description of the "Multi-Timeframe SMA Crossover Indicator" script
### Introduction:
The "Multi-Timeframe SMA Crossover Indicator" script is a technical indicator created in Pine Script for the TradingView platform. It is a technical indicator that helps traders identify signals of simple moving average (SMA) crossovers on different timeframes.
### Features:
1. **Multi-Timeframe Analysis:** The script covers various timeframes, allowing traders to analyze SMA crossover signals on different time scales.
2. **SMA Crossover Signals:** The script identifies moments when the crossover of 20 and 40 simple moving averages occurs on timeframes ranging from 1 minute to 120 minutes.
3. **Visualization:** It visualizes SMA crossover signals on the chart, making it easy for traders to identify trend reversal points.
### How to Use:
1. **Interpreting Signals:** A positive signal (green) indicates that the SMA crossover suggests a potential uptrend, while a negative signal (red) suggests a potential downtrend.
2. **Multiple Confirmation:** Traders can seek trend confirmation by analyzing signals on different timeframes. Confirming signals on multiple timeframes can increase confidence in the trade.
### Application:
The "Multi-Timeframe SMA Crossover Indicator" script can be used as a supplementary tool in making investment decisions in financial markets, especially when analyzing trends and identifying entry or exit points.
### Notes:
1. The script is based on simple moving averages (SMA), which can be useful for traders using trend analysis strategies.
2. Investors should use other technical analysis indicators and tools in conjunction with this indicator to obtain a more comprehensive market analysis.
### Conclusion:
The "Multi-Timeframe SMA Crossover Indicator" script is a useful tool for traders who want to analyze trend changes on different timeframes. By using this tool, investors can make better-informed investment decisions in financial markets.
Luxmi AI Directional Option Buying (Long Only)Introduction:
"Option premium charts typically exhibit a predisposition towards bearish sentiment in higher timeframes"
In the dynamic world of options trading, navigating through the complexities of market trends and price movements is essential for making informed decisions. Among the arsenal of tools available to traders, option premium charts stand out as a pivotal source of insight, particularly in higher timeframes. However, their inherent bearish inclination in such timeframes necessitates a keen eye for identifying bullish pullbacks, especially in lower timeframes, to optimize buying strategies effectively.
Understanding the interplay between different data points becomes paramount in this endeavor. Traders embark on a journey of analysis, delving into metrics such as Implementation Shortfall, the performance of underlying index constituents, and bullish trends observed in lower timeframes like the 1-minute and 3-minute charts. These data points serve as guiding beacons, illuminating potential opportunities amidst the market's ever-shifting landscape.
Using this indicator, we will dissect the significance of option premium charts and their nuanced portrayal of market sentiment. Furthermore, we will unveil the art of discerning bullish pullbacks in lower timeframes, leveraging a multifaceted approach that amalgamates quantitative analysis with qualitative insights. Through this holistic perspective, traders can refine their decision-making processes, striving towards efficiency and efficacy in their options trading endeavors.
Major Features:
Implementation Shortfall (IS) Candles:
Working Principle:
TWAP (Time-Weighted Average Price) and EMA (Exponential Moving Average) are both commonly used in calculating Implementation Shortfall, a metric that measures the difference between the actual execution price of a trade and the benchmark price.
TWAP calculates the average price of a security over a specified time period, giving equal weight to each interval. On the other hand, EMA places more weight on recent prices, making it more responsive to current market conditions.
To calculate Implementation Shortfall using TWAP, the difference between the average execution price and the benchmark price is determined over the trading period. Similarly, with EMA, the difference is calculated using the exponential moving average price instead of a simple average.
By employing TWAP and EMA, traders can gauge the effectiveness of their trading strategies and identify areas for improvement in executing trades relative to a benchmark.
Benefits of using Implementation Shortfall:
By visualizing the implementation shortfall and its comparison with the EMA on the chart, traders can quickly assess whether current trading activity is deviating from recent trends.
Green bars suggest potential buying opportunities or bullish sentiment, while red bars suggest potential selling opportunities or bearish sentiment.
Traders can use this visualization to make more informed decisions about their trading strategies, such as adjusting position sizes, entering or exiting trades, or managing risk based on the observed deviations from the moving average.
How to use this feature:
This feature calculates Implementation Shortfall (IS) and visually represents it by coloring the candles in either bullish (green) or bearish (red) hues. This color-coding system provides traders with a quick and intuitive way to assess market sentiment and potential entry points. Specifically, a long entry is signaled when both the candle color and the trend cloud color align as green, indicating a bullish market outlook. This integrated approach enables traders to make informed decisions, leveraging IS insights alongside visual cues for more effective trading strategies.
Micro Trend Candles:
Working Principle:
This feature begins by initializing variables to determine trend channel width and track price movements. Average True Range (ATR) is then calculated to measure market volatility, influencing the channel's size. Highs and lows are identified within a specified range, and trends are assessed based on price breaches, with potential changes signaled accordingly. The price channel is continually updated to adapt to market shifts, and arrows are placed to indicate potential entry points. Colors are assigned to represent bullish and bearish trends, dynamically adjusting based on current market conditions. Finally, candles on the chart are colored to visually depict the identified micro trend, offering traders an intuitive way to interpret market sentiment and potential entry opportunities.
Benefits of using Micro Trend Candles:
Traders can use these identified micro trends to spot potential short-term trading opportunities. For example:
Trend Following: Traders may decide to enter trades aligned with the prevailing micro trend. If the candles are consistently colored in a certain direction, traders may consider entering positions in that direction.
Reversals: Conversely, if the script signals a potential reversal by changing the candle colors, traders may anticipate trend reversals and adjust their trading strategies accordingly. For instance, they might close existing positions or enter new positions in anticipation of a trend reversal.
It's important to note that these micro trends are short-term in nature and may not always align with broader market trends. Therefore, traders utilizing this script should consider their trading timeframes and adjust their strategies accordingly.
How to use this feature:
This feature assigns colors to candles to represent bullish and bearish trends, with adjustments made based on current market conditions. Green candles accompanied by a green trend cloud signal a potential long entry, while red candles suggest caution, indicating a bearish trend. This visual representation allows traders to interpret market sentiment intuitively, identifying optimal entry points and exercising caution during potential downtrends.
Scalping Candles (Inspired by Elliott Wave):
Working Principle:
This feature draws inspiration from the Elliot Wave method, utilizing technical analysis techniques to discern potential market trends and sentiment shifts. It begins by calculating the variance between two Exponential Moving Averages (EMAs) of closing prices, mimicking Elliot Wave's focus on wave and trend analysis. The shorter-term EMA captures immediate price momentum, while the longer-term EMA reflects broader market trends. A smoother Exponential Moving Average (EMA) line, derived from the difference between these EMAs, aids in identifying short-term trend shifts or momentum reversals.
Benefits of using Scalping Candles Inspired by Elliott Wave:
The Elliott Wave principle is a form of technical analysis that attempts to predict future price movements by identifying patterns in market charts. It suggests that markets move in repetitive waves or cycles, and traders can potentially profit by recognizing these patterns.
While this script does not explicitly analyze Elliot Wave patterns, it is inspired by the principle's emphasis on trend analysis and market sentiment. By calculating and visualizing the difference between EMAs and assigning colors to candles based on this analysis, the script aims to provide traders with insights into potential market sentiment shifts, which can align with the broader philosophy of Elliott Wave analysis.
How to use this feature:
Candlestick colors are assigned based on the relationship between the EMA line and the variance. When the variance is below or equal to the EMA line, candles are colored red, suggesting a bearish sentiment. Conversely, when the variance is above the EMA line, candles are tinted green, indicating a bullish outlook. Though not explicitly analyzing Elliot Wave patterns, the script aligns with its principles of trend analysis and market sentiment interpretation. By offering visual cues on sentiment shifts, it provides traders with insights into potential trading opportunities, echoing Elliot Wave's emphasis on pattern recognition and trend analysis.
Volume Candles:
Working Principle:
This feature introduces a custom volume calculation method tailored for bullish and bearish bars, enabling a granular analysis of volume dynamics specific to different price movements. By summing volumes over specified periods for bullish and bearish bars, traders gain insights into the intensity of buying and selling pressures during these periods, facilitating a deeper understanding of market sentiment. Subsequently, the script computes the net volume, revealing the overall balance between buying and selling pressures. Positive net volume signifies prevailing bullish sentiment, while negative net volume indicates bearish sentiment.
Benefits of Using Volume candles:
Enhanced Volume Analysis: Traders gain a deeper understanding of volume dynamics specific to bullish and bearish price movements, allowing them to assess the intensity of buying and selling pressures with greater precision.
Insight into Market Sentiment: By computing net volume and analyzing its relationship with the Exponential Moving Average (EMA), traders obtain valuable insights into prevailing market sentiment. This helps in identifying potential shifts in sentiment and anticipating market movements.
Visual Representation of Sentiment: The color-coded candle bodies based on volume dynamics provide traders with a visual representation of market sentiment. This intuitive visualization helps in quickly interpreting sentiment shifts and making timely trading decisions.
How to use this feature:
This visual representation allows traders to quickly interpret market sentiment based on volume dynamics. Green candles indicate potential bullish sentiment, while red candles suggest bearish sentiment. The color-coded candle bodies help traders identify shifts in market sentiment and make informed trading decisions.
Smart Sentimeter Candles:
Working Principle:
The "Smart Sentimeter Candles" feature is a tool designed for market sentiment analysis using technical indicators. It begins by defining stock symbols from various sectors, allowing traders to select specific indices for sentiment analysis. The script then calculates the difference between two Exponential Moving Averages (EMAs) of the High-Low midpoint, capturing short-term momentum changes in the market. It computes the difference between current and previous values to capture momentum shifts over time.
Additionally, it calculates the Exponential Moving Average (EMA) of this difference to provide a smoothed representation of the prevailing trend in market momentum. Another EMA of this difference is calculated to offer an alternative perspective on longer-term momentum trends. Bar colors are determined based on the difference between current and previous values, with bullish and bearish sentiment represented by custom colors. Finally, sentiment candles are visualized on the chart, providing traders with a clear representation of market sentiment changes.
Benefits of Using Sentimeter Candles:
By analyzing index constituents, traders gain insights into the individual stocks that collectively influence the index's performance. This understanding is crucial for trading options as it helps traders tailor their strategies to specific sectors or stocks within the index.
Sector-Specific Analysis: Traders can focus on specific sectors by selecting relevant indices for sentiment analysis.
Momentum Identification: The script identifies short-term momentum changes in the market, aiding traders in spotting potential trend reversals or continuations.
Clear Visualization: Sentiment candles visually represent market sentiment changes, making it easier for traders to interpret and act upon sentiment trends.
How to use this feature:
Select Indices: Toggle the inputs to choose which indices (e.g., NIFTY, BANKNIFTY, FINNIFTY) to analyze.
Interpret Sentiment Candles: Monitor the color of sentiment candles on the chart. Green candles indicate bullish sentiment, while red candles suggest bearish sentiment.
Observe Momentum Changes: Pay attention to momentum changes identified by the difference between EMAs and their respective EMAs. Increasing bullish momentum may present buying opportunities, while increasing bearish momentum could signal potential sell-offs.
Trend Cloud:
Working Principle:
The script utilizes the Relative Strength Index (RSI) to assess market momentum, identifying bullish and bearish phases based on RSI readings. It calculates two boolean variables, bullmove and bearmove, which signal shifts in momentum direction by considering changes in the Exponential Moving Average (EMA) of the closing price. When RSI indicates bullish momentum and the closing price's EMA exhibits positive changes, bullmove is triggered, signifying the start of a bullish phase. Conversely, when RSI suggests bearish momentum and the closing price's EMA shows negative changes, bearmove is activated, marking the beginning of a bearish phase. This systematic approach helps in understanding the current trend of the price. The script visually emphasizes these phases on the chart using plot shape markers, providing traders with clear indications of trend shifts.
Benefits of Using Trend Cloud:
Comprehensive Momentum Assessment: The script offers a holistic view of market momentum by incorporating RSI readings and changes in the closing price's EMA, enabling traders to identify both bullish and bearish phases effectively.
Structured Trend Recognition: With the calculation of boolean variables, the script provides a structured approach to recognizing shifts in momentum direction, enhancing traders' ability to interpret market dynamics.
Visual Clarity: Plotshape markers visually highlight the start and end of bullish and bearish phases on the chart, facilitating easy identification of trend shifts and helping traders to stay informed.
Prompt Response: Traders can promptly react to changing market conditions as the script triggers alerts when bullish or bearish phases begin, allowing them to seize potential trading opportunities swiftly.
Informed Decision-Making: By integrating various indicators and visual cues, the script enables traders to make well-informed decisions and adapt their strategies according to prevailing market sentiment, ultimately enhancing their trading performance.
How to use this feature:
The most effective way to maximize the benefits of this feature is to use it in conjunction with other key indicators and visual cues. By combining the color-coded clouds, which indicate bullish and bearish sentiment, with other features such as IS candles, microtrend candles, volume candles, and sentimeter candles, traders can gain a comprehensive understanding of market dynamics. For instance, aligning the color of the clouds with the trend direction indicated by IS candles, microtrend candles, and sentimeter candles can provide confirmation of trend strength or potential reversals.
Furthermore, traders can leverage the trend cloud as a trailing stop-loss tool for long entries, enhancing risk management strategies. By adjusting the stop-loss level based on the color of the cloud, traders can trail their positions to capture potential profits while minimizing losses. For long entries, maintaining the position as long as the cloud remains green can help traders stay aligned with the prevailing bullish sentiment. Conversely, a shift in color from green to red serves as a signal to exit the position, indicating a potential reversal in market sentiment and minimizing potential losses. This integration of the trend cloud as a trailing stop-loss mechanism adds an additional layer of risk management to trading strategies, increasing the likelihood of successful trades while reducing exposure to adverse market movements.
Moreover, the red cloud serves as an indicator of decay in option premiums and potential theta effect, particularly relevant for options traders. When the cloud turns red, it suggests a decline in option prices and an increase in theta decay, highlighting the importance of managing options positions accordingly. Traders may consider adjusting their options strategies, such as rolling positions or closing out contracts, to mitigate the impact of theta decay and preserve capital. By incorporating this insight into options pricing dynamics, traders can make more informed decisions about their options trades.
Scalping Opportunities (UpArrow and DownArrow):
Working Principle:
The feature calculates candlestick values based on the open, high, low, and close prices of each bar. By comparing these derived candlestick values, it determines whether the current candlestick is bullish or bearish. Additionally, it signals when there is a change in the color (bullish or bearish) of the derived candlesticks compared to the previous bar, enabling traders to identify potential shifts in market sentiment. This is a long only strategy, hence the signals are plotted only when the Trend Cloud is Green (Bullish).
Benefits of using UpArrow and DownArrow:
Clear Visualization: By employing color-coded candlesticks, the script offers traders a visually intuitive representation of market sentiment, enabling quick interpretation of prevailing conditions.
Signal Identification: Its capability to detect shifts in market sentiment serves as a valuable tool for identifying potential trading opportunities, facilitating timely decision-making and execution.
Long-Only Strategy: The script selectively plots signals only when the trend cloud is green, aligning with a bullish bias and enabling traders to focus on long positions during favorable market conditions.
Up arrows indicate potential long entry points, complementing the bullish bias of the trend cloud. Conversely, down arrows signify an active pullback in progress, signaling caution and prompting traders to refrain from entering long positions during such periods.
How to use this feature:
Confirmation: Confirm bullish market conditions with the Trend Cloud indicator. Ensure alignment between trend cloud signals, candlestick colors, and arrow indicators for confident trading decisions.
Entry Signals: Look for buy signals within a green trend cloud, indicated by bullish candlestick color changes and up arrows, suggesting potential long entry points aligned with the prevailing bullish sentiment.
Wait Signals: Exercise caution when encountering down arrows, which signify wait signals or active pullbacks in progress. Avoid entering long positions during these periods to avoid potential losses.
Exit Strategy: Use trend cloud color changes as signals to exit long positions. When the trend cloud shifts color, consider closing out long positions to lock in profits or minimize losses.
Profit Management: It's important to book or lock in some profits early on in option buying. Consider taking partial profits when the trade is in your favor and trail the remaining position to maximize gains on favorable trades.
Risk Management: Implement stop-loss orders or trailing stops to manage risk effectively. Exit positions promptly if sentiment shifts or if price movements deviate from the established trend, safeguarding capital.
Up and Down Signals:
Working Principle:
This feature calculates Trailing Stoploss (TSL) using the Average True Range (ATR) to dynamically adjust the stop level based on price movements. It generates buy signals when the price crosses above the trailing stop and sell signals when it crosses below. These signals are plotted on the chart and trigger alerts, signaling potential trading opportunities. Additionally, the script selectively plots Up and Down signals only when the Implementation Shortfall Calculation identifies scalp opportunities, independent of the prevailing price trend.
Benefits of using Up and Down Signals:
Trailing Stoploss: The script employs an ATR-based trailing stop, allowing traders to adjust stop levels dynamically in response to changing market conditions, thereby maximizing profit potential and minimizing losses.
Clear Signal Generation: Buy and sell signals are generated based on price interactions with the trailing stop, providing clear indications of entry and exit points for traders to act upon.
Alert Notifications: The script triggers alerts when buy or sell signals are generated, ensuring traders remain informed of potential trading opportunities even when not actively monitoring the charts.
Scalping Opportunities: By incorporating Implementation Shortfall Calculation, the script identifies scalp opportunities, enabling traders to capitalize on short-term price movements irrespective of the prevailing trend.
How to use this feature:
Signal Interpretation: Interpret Up signals as opportunities to enter long positions when the price crosses above the trailing stop, and Down signals as cues to exit.
Alert Monitoring: Pay attention to alert notifications triggered by the script, indicating potential trading opportunities based on signal generation.
Scalping Strategy: When Up and Down signals are plotted alongside scalp opportunities identified by the Implementation Shortfall Calculation, consider scalping trades aligned with these signals for short-term profit-taking, regardless of the overall market trend.
Consideration of Trend Cloud: Remember that this feature does not account for the underlying trend provided by the Trend Cloud feature. Consequently, the take profit levels generated by the trailing stop may be smaller than those derived from trend-following strategies. It's advisable to supplement this feature with additional trend analysis to optimize profit-taking levels and enhance overall trading performance.
Chart Timeframe Support and Resistance:
Working Principle:
This feature serves to identify and visualize support and resistance levels on the chart, primarily based on the chosen Chart Timeframe (CTF). It allows users to specify parameters such as the number of bars considered on the left and right sides of each pivot point, as well as line width and label color. Moreover, users have the option to enable or disable the display of these levels. By utilizing functions to calculate pivot highs and lows within the specified timeframe, the script determines the highest high and lowest low surrounding each pivot point.
Additionally, it defines functions to create lines and labels for each detected support and resistance level. Notably, this feature incorporates a trading method that emphasizes the concept of resistance turning into support after breakouts, thereby providing valuable insights for traders employing such strategies. These lines are drawn on the chart, with colors indicating whether the level is above or below the current close price, aiding traders in visualizing key levels and making informed trading decisions.
Benefits of Chart Timeframe Support and Resistance:
Identification of Price Levels: Support and resistance levels help traders identify significant price levels where buying (support) and selling (resistance) pressure may intensify. These levels are often formed based on historical price movements and are regarded as areas of interest for traders.
Decision Making: Support and resistance levels assist traders in making informed trading decisions. By observing price reactions near these levels, traders can gauge market sentiment and adjust their strategies accordingly. For example, traders may choose to enter or exit positions, set stop-loss orders, or take profit targets based on price behavior around these levels.
Risk Management: Support and resistance levels aid in risk management by providing reference points for setting stop-loss orders. Traders often place stop-loss orders below support levels for long positions and above resistance levels for short positions to limit potential losses if the market moves against them.
How to use this feature:
Planning Long Positions: When considering long positions, it's advantageous to strategize when the price is in proximity to a support level identified by the script. This suggests a potential area of buying interest where traders may expect a bounce or reversal in price. Additionally, confirm the bullish bias by ensuring that the trend cloud is green, indicating favorable market conditions for long trades.
Waiting for Breakout: If long signals are generated near resistance levels detected by the script, exercise patience and wait for a breakout above the resistance. A breakout above resistance signifies potential strength in the upward momentum and may present a more opportune moment to enter long positions. This approach aligns with trading methodologies that emphasize confirmation of bullish momentum before initiating trades.
Settings:
The Index Constituent Analysis setting empowers users to input the constituents of a specific index, facilitating the analysis of market sentiments based on the performance of these individual components. An index serves as a statistical measure of changes in a portfolio of securities representing a particular market or sector, with constituents representing the individual assets or securities comprising the index.
By providing the constituent list, users gain insights into market sentiments by observing how each constituent performs within the broader index. This analysis aids traders and investors in understanding the underlying dynamics driving the index's movements, identifying trends or anomalies, and making informed decisions regarding their investment strategies.
This setting empowers users to customize their analysis based on specific indexes relevant to their trading or investment objectives, whether tracking a benchmark index, sector-specific index, or custom index. Analyzing constituent performance offers a valuable tool for market assessment and decision-making.
Example: BankNifty Index and Its Constituents
Illustratively, the BankNifty index represents the performance of the banking sector in India and includes major banks and financial institutions listed on the National Stock Exchange of India (NSE). Prominent constituents of the BankNifty index include:
State Bank of India (SBIN)
HDFC Bank
ICICI Bank
Kotak Mahindra Bank
Axis Bank
IndusInd Bank
Punjab National Bank (PNB)
Yes Bank
Federal Bank
IDFC First Bank
By utilizing the Index Constituent Analysis setting and inputting these constituent stocks of the BankNifty index, traders and investors can assess the individual performance of these banking stocks within the broader banking sector index. This analysis enables them to gauge market sentiments, identify trends, and make well-informed decisions regarding their trading or investment strategies in the banking sector.
Example: NAS100 Index and Its Constituents
Similarly, the NAS100 index, known as the NASDAQ-100, tracks the performance of the largest non-financial companies listed on the NASDAQ stock exchange. Prominent constituents of the NAS100 index include technology and consumer discretionary stocks such as:
Apple Inc. (AAPL)
Microsoft Corporation (MSFT)
Amazon.com Inc. (AMZN)
Alphabet Inc. (GOOGL)
Facebook Inc. (FB)
Tesla Inc. (TSLA)
NVIDIA Corporation (NVDA)
PayPal Holdings Inc. (PYPL)
Netflix Inc. (NFLX)
Adobe Inc. (ADBE)
By inputting these constituent stocks of the NAS100 index into the Index Constituent Analysis setting, traders and investors can analyze the individual performance of these technology and consumer discretionary stocks within the broader NASDAQ-100 index. This analysis facilitates the evaluation of market sentiments, identification of trends, and informed decision-making regarding trading or investment strategies in the technology and consumer sectors.
Example: FTSE 100 Index and Its Constituents
The FTSE 100 index represents the performance of the 100 largest companies listed on the London Stock Exchange (LSE) by market capitalization. Some notable constituents of the FTSE 100 index include:
HSBC Holdings plc
BP plc
GlaxoSmithKline plc
Unilever plc
Royal Dutch Shell plc
AstraZeneca plc
Diageo plc
Rio Tinto plc
British American Tobacco plc
Reckitt Benckiser Group plc
By inputting these constituent stocks of the FTSE 100 index into the Index Constituent Analysis setting, traders and investors can analyze the individual performance of these diverse companies within the broader UK market index. This analysis facilitates the evaluation of market sentiments, identification of trends, and informed decision-making regarding trading or investment strategies in the UK market.
This comprehensive approach enables users to dissect index performance effectively, providing valuable insights for investors and traders across different markets and sectors.
Index Selection - Index Selection allows traders to specify the index for Sentimeter calculations, enabling customization for Call and Put Option charts corresponding to the chosen index.
Support and Resistance Levels - Set the left and right bars to consider pivot high and low to draw Support and resistance lines. Linewidth setting to help increase the width of the Support and Resistance lines. Label Color to change the color of the labels.
Style Section Colors to allow users to customize the color scheme to their liking.
GKD-M Stepped Baseline Optimizer [Loxx]The Giga Kaleidoscope GKD-M Stepped Baseline Optimizer is a Metamorphosis module included in the "Giga Kaleidoscope Modularized Trading System."
█ Introduction
The GKD-M Stepped Baseline Optimizer is an advanced component of the Giga Kaleidoscope Modularized Trading System (GKD), designed to enhance trading strategy development by dynamically optimizing Baseline moving averages. This tool allows traders to evaluate over 65 moving averages, adjusting them across multiple periods to identify which settings yield the highest win rates for their trading strategies. The optimizer systematically tests these moving averages across specified timeframes and intervals, offering insights into net profit, total closed trades, win percentages, and other critical metrics for both long and short positions. Traders can define the initial period and incrementally adjust this value to explore a wide range of periods, thus fine-tuning their strategies with precision. What sets the GKD-M Stepped Baseline Optimizer apart is its unique capability to adapt the baseline moving average according to the highest win rates identified during backtesting, at each trading candle. This win-rate adaptive approach ensures that the trading system is always aligned with the most effective period settings for the selected moving average, enhancing the system's overall performance. Moreover, the 'stepped' aspect of this optimizer introduces a filtering process based ons, significantly reducing market noise and ensuring that identified trends are both significant and reliable. This feature is critical for traders looking to mitigate the risks associated with volatile market conditions and to capitalize on genuine market movements.In essence, the GKD-M Stepped Baseline Optimizer is tailored for traders who utilize the GKD trading system, offering a sophisticated tool to refine their baseline indicators dynamically, ensuring that their trading strategies are continuously optimized for maximum efficacy.
**the backtest data rendered to the chart above uses $5 commission per trade and 10% equity per trade with $1 million initial capital. Each backtest result for each ticker assumes these same inputs. The results are NOT cumulative, they are separate and isolated per ticker and trading side, long or short**
█ Core Features
Stepped Baseline for Noise Reduction
One of the hallmark features of the GKD-M Stepped Baseline Optimizer is its stepped baseline capability. This advanced functionality employs volatility filters to refine the selection of moving averages, significantly reducing market noise. The optimizer ensures that only substantial and reliable trends are considered, eliminating the false signals often caused by minor price fluctuations. This stepped approach to baseline optimization is critical for traders aiming to develop strategies that are both resilient and responsive to genuine market movements.
Dynamic Win Rate Adaptive Capability
Another cornerstone feature is the optimizer’s dynamic win rate adaptive capability. This unique aspect allows the optimizer to adjust the moving average period settings in real-time, based on the highest win rates derived from backtesting over a predefined range. At every trading candle, the optimizer evaluates a comprehensive set of backtesting data to ascertain the optimal period settings for the moving average in use. To perform the backtesting, the trader selects an initial period input (default is 60) and a skip value that increments the initial period input up to seven times. For instance, if a skip value of 5 is chosen, the Baseline Optimizer will run the backtest for the selected moving average on periods such as 60, 65, 70, 75, and so on, up to 90. If the user selects an initial period input of 45 and a skip value of 2, the Baseline Optimizer will conduct backtests for the chosen moving average on periods like 45, 47, 49, 51, and so forth, up to 57. The GKD-M Stepped Baseline Optimizer then exports the baseline with the highest cumulative win rate per candle to any baseline-enabled GKD backtest. This ensures that the baseline indicator remains continually aligned with the most efficacious parameters, dynamically adapting to changing market conditions.
Comprehensive Moving Averages Evaluation
The optimizer’s ability to test over 65 different moving averages across multiple periods stands as a testament to its comprehensive analytical capability. Traders have the flexibility to explore a wide array of moving averages, from traditional ones like the Simple Moving Average (SMA) and Exponential Moving Average (EMA) to more complex types such as the Hull Moving Average (HMA) and Adaptive Moving Average (AMA). This extensive evaluation allows traders to pinpoint the moving average that best aligns with their trading strategy and market conditions, further enhancing the system’s adaptability and effectiveness.
Volatility Filtering and Ticker Volatility Types
Incorporating a wide range of volatility types, including the option to utilize external volatility tickers like the VIX for filtering, adds another layer of sophistication to the optimizer. This feature allows traders to calibrate their baseline according to externals, providing an additional dimension of customization. Whether using standard deviation, ATR, or external volatility indices, traders can fine-tune their strategies to be responsive to the broader market sentiment and volatility trends.
█ Key Inputs
Baseline Settings
• Baseline Source: Determines the price data (Open, High, Low, Close) used for moving average calculations.
• Baseline Period: The starting period for moving average calculation.
• Backtest Skip: Incremental steps for period adjustments in the optimization process.
• Baseline Filter Type: Selection from over 65 moving averages for baseline calculation.
Volatility and Filter Settings
• Price Filter Type & Moving Average Filter Type: Defines thement applied to the price or the moving average, enhancing filter specificity.
• Filter Options: Allows users to select the application area of the volatility filter (price, moving average, or both).
• Filter Multiplier & Period: Configures the intensity and temporal scope of the filter, fine-tuning sensitivity to market volatility.
Backtest Configuration
• Window Period: Specifies the length of the backtesting window in days.
• Backtest Type: Chooses between a fixed window or cumulative data approach for backtesting.
• Initial Capital, Order Size, & Type: Sets the financial parameters for backtesting, including starting equity and the scale of trades.
• Commission per Order: Accounts for trading costs within backtest profitability calculations.
Date and Time Range
• From/Thru Year/Month/Day: Defines the historical period for strategy testing.
• Entry Time: Specifies the time frame during which trades can be initiated, crucial for strategies sensitive to market timing.
Volatility Measurements for Goldie Locks Volatility Qualifiers
• Mean Type & Period: Chooses the moving average type and period for volatility assessment.
• Inner/Outer Volatility Qualifier Multipliers: Adjusts the boundaries for volatility-based trade qualification.
• Activate Qualifier Boundaries: Enables or disables the upper and lower volatility qualifiers.
Advanced Volatility Inputs
• Volatility Ticker Selection & Trading Days: Incorporates external volatility indices (e.g., VIX) into the strategy, adjusting for market volatility.
• Static Percent, MAD Internal Filter Period, etc.: Provides fixed or adaptive volatility thresholds for filtering.
UI Customization
• Baseline Width & Table Display Options: Customizes the visual representation of the baseline and the display of optimization results.
• Table Header/Content Color & Text Size: Enhances readability and user interface aesthetics.
Export Options
• Export Data: Selects the specific metric to be exported from the script, such as net profit or average profit per trade.
Moving Average Specific Parameters
Specific inputs tailored to the characteristics of selected moving averages (e.g., Fractal Adjusted (FRAMA), Least Squares Moving Average (LSMA), T3, etc.), allowing users to fine-tune the behavior of these averages based on unique formula requirements.
█ Indicator UI
• Long and Short Baselines: The optimizer differentiates trends through two distinct baselines: a green line for long (uptrend) baselines and a red line for short (downtrend) baselines. These baselines alternate activation based on the current trend direction as determined by the moving average plus length combination for the candle in view.
Ambiguity in market direction, when an uptrend and downtrend are concurrently indicated, is visually represented by yellow lines.
• Stepping Mechanism for Trend Visualization: Adjusting the source input and the moving average output based on volatility, the indicator exhibits a stepped appearance on the chart. This mechanism ensures that only substantial market movements, surpassing a specified volatility threshold, are recognized as trend changes.
Stepping Activated
• Goldilocks Zone: Beyond the long and short baselines, the Goldilocks zone introduces a distinct moving average that closely follows the selected price or source input, aiming to strike the perfect balance between not too much and not too little market movement for trading. The upper limit of the Goldilocks zone indicates a market stretch too far for advantageous trading (overextension), while the lower limit suggests inadequate market movement for entry (underextension). Trading within the Goldilocks zone is deemed optimal, as it signifies sufficient but not excessive volatility for entering trades, aligning with either the long or short baseline recommendations. Moreover, the mean of the Goldilocks zone serves as a critical indicator, offering a median reference point that aligns closely with the market's current state. This mean is pivotal for traders, as it represents a 'just right' condition for market entry, embodying the essence of the Goldilocks principle in financial trading strategies.
• Signal Indicators and Entry Points: The chart includes with green or red dots to signify valid price points within the Goldilocks zone, indicative of conducive trading conditions. Furthermore, small directional arrows at the chart's bottom highlight potential long or short entry points, validated by the Goldilocks zone's parameters.
• Data Table: A table presenting real-time statistics from the current candle backward through the chosen range offers insights into win rates and other relevant data, aiding in informed decision-making. This table adapts with each new candle, highlighting the most favorable win rates for both long and short positions.
█ Optimizing Strategy with Backtesting
Optimizing a trading strategy with backtesting involves rigorously testing the strategy on historical data to evaluate its performance and robustness before applying it in live markets. The GKD-M Stepped Baseline Optimizer incorporates advanced backtesting capabilities, offering both cumulative and rolling window types of backtests. Here's how each backtest type operates and the insights they provide for refining trading strategies:
Cumulative Backtest
• Overview: A cumulative backtest evaluates a strategy's performance over a continuous period without resetting the strategy parameters or the simulated trading capital at the beginning of each new period.
• Utility: This type is useful for understanding a strategy's long-term viability, assessing how it adapts to different market conditions over an extended timeframe.
• Interpreting Statistics: Cumulative backtest results often focus on overall return, drawdowns, win rate, and the Sharpe ratio. A strategy with consistent returns, manageable drawdowns, a high win rate, and a favorable Sharpe ratio is considered robust.
Rolling Window Backtest
• Overview: Unlike the cumulative approach, a rolling window backtest divides the historical data into smaller, overlapping or non-overlapping periods (windows), running the strategy separately on each. After each window, the strategy parameters and simulated trading capital are reset.
• Utility: This method is invaluable for assessing a strategy's consistency and adaptability to various market phases. It helps identify if the strategy's performance is dependent on specific market conditions.
• Interpreting Statistics: For rolling window backtests, consistency is key. Look for similar performance metrics (returns, drawdowns, win rate) across different windows. Variability in performance indicates sensitivity to market conditions, suggesting the need for strategy adjustments.
Strategy Refinement Through Backtest Statistics
• Net Profit and Loss: Measures the strategy’s overall effectiveness. Consistent profitability across different market conditions is a positive indicator.
• Win Rate and Profit Factor: High win rates and profit factors indicate a strategy's efficiency in capturing gains over losses.
• Average Profit per Trade: Understanding the strategy's ability to generate profit on a per-trade basis can highlight its operational efficiency.
• Average Number of Bars in Trade: This metric helps understand the strategy's market exposure and timing efficiency.
█ Exporting Data and Integration with GKD Backtests
The GKD-M Stepped Baseline Optimizer seamlessly integrates with the broader GKD trading system, allowing traders to export the optimization data and leverage it within the various GKD backtest modules. This feature allows users to forward the GKD-M Stepped Baseline Optimizer adaptive signals to a GKD backtest to be used as a Baseline component in a GKD trading system.
█ Moving Averages included in the Stepped Baseline Optimizer
The GKD-M Stepped Baseline Optimizer incorporates an extensive array of over 65 moving averages, each with unique characteristics and implications for trading strategy development. This comprehensive suite enables traders to conduct nuanced analysis and optimization, ensuring the selection of the most effective moving average for Baseline input into their GKD trading system.
Adaptive Moving Average - AMA
ADXvma - Average Directional Volatility Moving Average
Ahrens Moving Average
Alexander Moving Average - ALXMA
Coral
Deviation Scaled Moving Average - DSMA
Donchian
Double Exponential Moving Average - DEMA
Double Smoothed Exponential Moving Average - DSEMA
Double Smoothed FEMA - DSFEMA
Double Smoothed Range Weighted EMA - DSRWEMA
Double Smoothed Wilders EMA - DSWEMA
Double Weighted Moving Average - DWMA
Ehlers Optimal Tracking Filter - EOTF
Exponential Moving Average - EMA
Fast Exponential Moving Average - FEMA
Fractal Adaptive Moving Average - FRAMA
Generalized DEMA - GDEMA
Generalized Double DEMA - GDDEMA
Geometric Mean Moving Average
Hull Moving Average (Type 1) - HMA1
Hull Moving Average (Type 2) - HMA2
Hull Moving Average (Type 3) - HMA3
Hull Moving Average (Type 4) - HMA4
IE/2 - Early T3 by Tim Tilson
Integral of Linear Regression Slope - ILRS
Instantaneous Trendline
Kalman Filter
Kaufman Adaptive Moving Average - KAMA
Laguerre Filter
Leader Exponential Moving Average
Linear Regression Value - LSMA (Least Squares Moving Average)
Linear Weighted Moving Average - LWMA
McGinley Dynamic
McNicholl EMA
Non-Lag Moving Average
Ocean NMA Moving Average - ONMAMA
One More Moving Average - OMA
Parabolic Weighted Moving Average
Probability Density Function Moving Average - PDFMA
Quadratic Regression Moving Average - QRMA
Range Filter
Range Weighted EMA - RWEMA
Recursive Moving Trendline
Regularized EMA - REMA
Simple Decycler - SDEC
Simple Loxx Moving Average - SLMA
Simple Moving Average - SMA
Sine Weighted Moving Average
Smoothed LWMA - SLWMA
Smoothed Moving Average - SMMA
Smoother
Super Smoother
T3
Tether Lines
Three-pole Ehlers Butterworth
Three-pole Ehlers Smoother
Triangular Moving Average - TMA
Triangle Moving Average Generalized
Triple Exponential Moving Average - TEMA
Two-pole Ehlers Butterworth
Two-pole Ehlers smoother
Ultimate Smoother
Variable Index Dynamic Average - VIDYA
Variable Moving Average - VMA
Volume Weighted EMA - VEMA
Volume Weighted Moving Average - VWMA
Zero-Lag DEMA - Zero Lag Double Exponential Moving Average
Zero-Lag Moving Average
Zero Lag TEMA - Zero Lag Triple Exponential Moving Average
█ Volatility Types and Filtering
The GKD-M Stepped Baseline Optimizer features a comprehensive selection of over 15 volatility types, each tailored to capture different aspects of market behavior and risk.
Volatility Ticker Selection: Enables direct incorporation of external volatility indicators like VIX and EUVIX into the script for market sentiment analysis, signal filtering enhancement, and real-time risk management adjustments.
Standard Deviation of Logarithmic Returns: Quantifies asset volatility using the standard deviation applied to logarithmic returns, capturing symmetric price movements and financial returns' compound nature.
Exponential Weighted Moving Average (EWMA) for Volatility: Focuses on recent market information by applying exponentially decreasing weights to squared logarithmic returns, offering a dynamic view of market volatility.
Roger-Satchell Volatility Measure: Estimates asset volatility by analyzing the high, low, open, and close prices, providing a nuanced view of intraday volatility and market dynamics.
Close-to-Close Volatility Measure: Calculates volatility based on the closing prices of stocks, offering a streamlined but limited perspective on market behavior.
Parkinson Volatility Measure: Enhances volatility estimation by including high and low prices of the trading day, capturing a more accurate reflection of intraday market movements.
Garman-Klass Volatility Measure: Incorporates open, high, low, and close prices for a comprehensive daily volatility measure, capturing significant price movements and market activity.
Yang-Zhang Volatility Measure: Offers an efficient estimation of stock market volatility by combining overnight and intraday price movements, capturing opening jumps and overall market dynamics.
Garman-Klass-Yang-Zhang Volatility Measure: Merges the benefits of Garman-Klass and Yang-Zhang measures, providing a fuller picture of market volatility including opening market reactions.
Pseudo GARCH(2,2) Volatility Model: Mimics a GARCH(2,2) process using exponential moving averages of squared returns, highlighting volatility shocks and their future impact.
ER-Adaptive Average True Range (ATR): Adjusts the ATR period length based on market efficiency, offering a volatility measure that adapts to changing market conditions.
Adaptive Deviation: Dynamically adjusts its calculation period to offer a nuanced measure of volatility that responds to the market's intrinsic rhythms.
Median Absolute Deviation (MAD): Provides a robust measure of statistical variability, focusing on deviations from the median price, offering resilience against outliers.
Mean Absolute Deviation (MAD): Measures the average magnitude of deviations from the mean price, facilitating a straightforward understanding of volatility.
ATR (Average True Range): Finds the average of true ranges over a specified period, indicating the expected price movement and market volatility.
True Range Double (TRD): Offers a nuanced view of volatility by considering a broader range of price movements, identifying significant market sentiment shifts.
EMA 20/50/100/200 PricesDescription:
Introducing the EMA Indicator with Dynamic Labels, a unique addition to the TradingView Public Library. This innovative script enhances trend analysis and decision-making by overlaying four Exponential Moving Averages (EMAs) – 20, 50, 100, and 200 periods – on your chart, each with a distinct color for quick identification.
What sets this script apart?
Unlike standard EMA indicators, this script includes dynamic labels that display the current price level of each EMA at the latest price bar. This feature provides an instant snapshot of market sentiment, offering insights into potential dynamic support or resistance levels.
Key Features:
Customizable EMA Periods: Tailor the EMA periods according to your trading strategy, allowing for flexibility across different timeframes and assets.
Adaptive Label Sizes: A unique function adjusts label sizes based on user input, ensuring optimal readability across various display settings.
Color-Coded EMAs: Quickly differentiate between the EMAs with pre-defined colors, enhancing visual clarity and trend recognition.
How to Use:
Trend Analysis: Use the EMAs to identify the overall market trend. When shorter EMAs are above longer ones, it suggests a bullish trend, and vice versa.
Trade Entries and Exits: Look for crossovers of the EMAs as potential entry or exit signals. Dynamic labels will help you pinpoint the exact levels.
Customization: Adjust the EMA periods and label sizes under the indicator settings to match your trading style and preferences.
Underlying Concepts:
This script utilizes the classic EMA calculation but innovates by integrating dynamic, real-time labels and customizable periods. The choice of four different periods allows for a nuanced analysis of trend strength and direction, catering to both short-term traders and long-term investors.
Originality and Contribution:
The "Advanced EMA Indicator with Dynamic Labels" is original in its approach to providing real-time, actionable data through dynamic labels. It caters to the community's need for more interactive and informative indicators that go beyond basic trend analysis.
Conclusion:
Whether you're a novice trader seeking to understand market trends or an experienced investor looking for nuanced analysis tools, this script offers valuable insights and flexibility. It stands as a testament to the power of Pine Script in creating practical, user-centric trading tools.
Johnny's Moving Average RibbonProps to Madrid for creating the original script: Madrid Moving Average Ribbon.
All I did was upgrade it to pinescript v5 and added a few changes to the script.
Features and Functionality
Moving Average Types: The indicator offers a choice between exponential moving averages (EMAs) and simple moving averages (SMAs), allowing users to select the type that best fits their trading strategy.
Dynamic Color Coding: Each moving average line within the ribbon changes color based on its direction and position relative to a reference moving average, providing visual cues for market sentiment and trend strength.
Lime Green: Indicates an uptrend and potential long positions, shown when a moving average is rising and above the longer-term reference MA.
Maroon: Suggests caution for long positions or potential short reentry points, displayed when a moving average is rising but below the reference MA.
Ruby Red: Represents a downtrend, suitable for short positions, shown when a moving average is falling and below the reference MA.
Green: Signals potential reentry points for downtrends or warnings for uptrend reversals, displayed when a moving average is falling but above the reference MA.
Usage and Application
Trend Identification: Traders can quickly ascertain the market's direction at a glance by observing the predominant color of the ribbon and its orientation.
Trade Entry and Exit Points: The color transitions within the ribbon can signal potential entry or exit points, with changes from green to lime or red to maroon indicating shifts in market momentum.
Customization: Users have the flexibility to toggle between exponential and simple moving averages, allowing for a tailored analytical approach that aligns with their individual trading preferences.
Technical Specifications
The ribbon consists of multiple moving averages calculated over different periods, typically ranging from shorter to longer-term intervals to capture various aspects of market behavior.
The color dynamics are determined by comparing each moving average to a reference point, often a longer-term moving average within the ribbon, to assess the relative trend strength and direction.
GKD-B Multi-Ticker Stepped Baseline [Loxx]Giga Kaleidoscope GKD-B Multi-Ticker Stepped Baseline is a Baseline module included in Loxx's "Giga Kaleidoscope Modularized Trading System".
This version of the GKD-B Baseline is designed specifically to support traders who wish to conduct GKD-BT Multi-Ticker Backtests with multiple tickers. This functionality is exclusive to the GKD-BT Multi-Ticker Backtests.
Traders have the capability to apply a filter to the selected moving average, leveraging various volatility metrics to enhance trend identification. This feature is tailored for traders favoring a gradual and consistent approach, enabling them to discern more sustainable trends. The system permits filtering for both the input data and the moving average results, requiring price movements to exceed a specific threshold—defined as multiples of the volatility—before acknowledging a trend change. This mechanism effectively reduces false signals caused by market noise and lateral movements. A distinctive aspect of this tool is its ability to adjust both price and moving average data based on volatility indicators like VIX, EUVIX, BVIV, and EVIV, among others. Understanding the time frame over which a volatility index is measured is crucial; for instance, VIX is measured on an annual basis, whereas BVIV and EVIV are based on a 30-day period. To accurately convert these measurements to a daily scale, users must input the correct "days per year" value: 252 for VIX and 30 for BVIV and EVIV. Future updates will introduce additional functionality to extend analysis across various time frames, but currently, this feature is solely available for daily time frame analysis.
█ GKD-B Multi-Ticker Stepped Baseline includes 65+ different moving averages:
Adaptive Moving Average - AMA
ADXvma - Average Directional Volatility Moving Average
Ahrens Moving Average
Alexander Moving Average - ALXMA
Deviation Scaled Moving Average - DSMA
Donchian
Double Exponential Moving Average - DEMA
Double Smoothed Exponential Moving Average - DSEMA
Double Smoothed FEMA - DSFEMA
Double Smoothed Range Weighted EMA - DSRWEMA
Double Smoothed Wilders EMA - DSWEMA
Double Weighted Moving Average - DWMA
Ehlers Optimal Tracking Filter - EOTF
Exponential Moving Average - EMA
Fast Exponential Moving Average - FEMA
Fractal Adaptive Moving Average - FRAMA
Generalized DEMA - GDEMA
Generalized Double DEMA - GDDEMA
Hull Moving Average (Type 1) - HMA1
Hull Moving Average (Type 2) - HMA2
Hull Moving Average (Type 3) - HMA3
Hull Moving Average (Type 4) - HMA4
IE /2 - Early T3 by Tim Tilson
Integral of Linear Regression Slope - ILRS
Kaufman Adaptive Moving Average - KAMA
Laguerre Filter
Leader Exponential Moving Average
Linear Regression Value - LSMA ( Least Squares Moving Average )
Linear Weighted Moving Average - LWMA
McGinley Dynamic
McNicholl EMA
Non-Lag Moving Average
Ocean NMA Moving Average - ONMAMA
One More Moving Average - OMA
Parabolic Weighted Moving Average
Probability Density Function Moving Average - PDFMA
Quadratic Regression Moving Average - QRMA
Regularized EMA - REMA
Range Weighted EMA - RWEMA
Recursive Moving Trendline
Simple Decycler - SDEC
Simple Jurik Moving Average - SJMA
Simple Moving Average - SMA
Sine Weighted Moving Average
Smoothed LWMA - SLWMA
Smoothed Moving Average - SMMA
Smoother
Super Smoother
T3
Three-pole Ehlers Butterworth
Three-pole Ehlers Smoother
Triangular Moving Average - TMA
Triple Exponential Moving Average - TEMA
Two-pole Ehlers Butterworth
Two-pole Ehlers smoother
Variable Index Dynamic Average - VIDYA
Variable Moving Average - VMA
Volume Weighted EMA - VEMA
Volume Weighted Moving Average - VWMA
Zero-Lag DEMA - Zero Lag Exponential Moving Average
Zero-Lag Moving Average
Zero Lag TEMA - Zero Lag Triple Exponential Moving Average
Geometric Mean Moving Average
Coral
Tether Lines
Range Filter
Triangle Moving Average Generalized
Ultinate Smoother
Adaptive Moving Average - AMA
The Adaptive Moving Average (AMA) is a moving average that changes its sensitivity to price moves depending on the calculated volatility. It becomes more sensitive during periods when the price is moving smoothly in a certain direction and becomes less sensitive when the price is volatile.
ADXvma - Average Directional Volatility Moving Average
Linnsoft's ADXvma formula is a volatility-based moving average, with the volatility being determined by the value of the ADX indicator.
The ADXvma has the SMA in Chande's CMO replaced with an EMA , it then uses a few more layers of EMA smoothing before the "Volatility Index" is calculated.
A side effect is, those additional layers slow down the ADXvma when you compare it to Chande's Variable Index Dynamic Average VIDYA .
The ADXVMA provides support during uptrends and resistance during downtrends and will stay flat for longer, but will create some of the most accurate market signals when it decides to move.
Ahrens Moving Average
Richard D. Ahrens's Moving Average promises "Smoother Data" that isn't influenced by the occasional price spike. It works by using the Open and the Close in his formula so that the only time the Ahrens Moving Average will change is when the candlestick is either making new highs or new lows.
Alexander Moving Average - ALXMA
This Moving Average uses an elaborate smoothing formula and utilizes a 7 period Moving Average. It corresponds to fitting a second-order polynomial to seven consecutive observations. This moving average is rarely used in trading but is interesting as this Moving Average has been applied to diffusion indexes that tend to be very volatile.
Deviation Scaled Moving Average - DSMA
The Deviation-Scaled Moving Average is a data smoothing technique that acts like an exponential moving average with a dynamic smoothing coefficient. The smoothing coefficient is automatically updated based on the magnitude of price changes. In the Deviation-Scaled Moving Average, the standard deviation from the mean is chosen to be the measure of this magnitude. The resulting indicator provides substantial smoothing of the data even when price changes are small while quickly adapting to these changes.
Donchian
Donchian Channels are three lines generated by moving average calculations that comprise an indicator formed by upper and lower bands around a midrange or median band. The upper band marks the highest price of a security over N periods while the lower band marks the lowest price of a security over N periods.
Double Exponential Moving Average - DEMA
The Double Exponential Moving Average ( DEMA ) combines a smoothed EMA and a single EMA to provide a low-lag indicator. It's primary purpose is to reduce the amount of "lagging entry" opportunities, and like all Moving Averages, the DEMA confirms uptrends whenever price crosses on top of it and closes above it, and confirms downtrends when the price crosses under it and closes below it - but with significantly less lag.
Double Smoothed Exponential Moving Average - DSEMA
The Double Smoothed Exponential Moving Average is a lot less laggy compared to a traditional EMA . It's also considered a leading indicator compared to the EMA , and is best utilized whenever smoothness and speed of reaction to market changes are required.
Double Smoothed FEMA - DSFEMA
Same as the Double Exponential Moving Average (DEMA), but uses a faster version of EMA for its calculation.
Double Smoothed Range Weighted EMA - DSRWEMA
Range weighted exponential moving average (EMA) is, unlike the "regular" range weighted average calculated in a different way. Even though the basis - the range weighting - is the same, the way how it is calculated is completely different. By definition this type of EMA is calculated as a ratio of EMA of price*weight / EMA of weight. And the results are very different and the two should be considered as completely different types of averages. The higher than EMA to price changes responsiveness when the ranges increase remains in this EMA too and in those cases this EMA is clearly leading the "regular" EMA. This version includes double smoothing.
Double Smoothed Wilders EMA - DSWEMA
Welles Wilder was frequently using one "special" case of EMA (Exponential Moving Average) that is due to that fact (that he used it) sometimes called Wilder's EMA. This version is adding double smoothing to Wilder's EMA in order to make it "faster" (it is more responsive to market prices than the original) and is still keeping very smooth values.
Double Weighted Moving Average - DWMA
Double weighted moving average is an LWMA (Linear Weighted Moving Average). Instead of doing one cycle for calculating the LWMA, the indicator is made to cycle the loop 2 times. That produces a smoother values than the original LWMA
Ehlers Optimal Tracking Filter - EOTF
The Elher's Optimum Tracking Filter quickly adjusts rapid shifts in the price and yet is relatively smooth when the price has a sideways action. The operation of this filter is similar to Kaufman’s Adaptive Moving
Average
Exponential Moving Average - EMA
The EMA places more significance on recent data points and moves closer to price than the SMA ( Simple Moving Average ). It reacts faster to volatility due to its emphasis on recent data and is known for its ability to give greater weight to recent and more relevant data. The EMA is therefore seen as an enhancement over the SMA .
Fast Exponential Moving Average - FEMA
An Exponential Moving Average with a short look-back period.
Fractal Adaptive Moving Average - FRAMA
The Fractal Adaptive Moving Average by John Ehlers is an intelligent adaptive Moving Average which takes the importance of price changes into account and follows price closely enough to display significant moves whilst remaining flat if price ranges. The FRAMA does this by dynamically adjusting the look-back period based on the market's fractal geometry.
Generalized DEMA - GDEMA
The double exponential moving average (DEMA), was developed by Patrick Mulloy in an attempt to reduce the amount of lag time found in traditional moving averages. It was first introduced in the February 1994 issue of the magazine Technical Analysis of Stocks & Commodities in Mulloy's article "Smoothing Data with Faster Moving Averages.". Instead of using fixed multiplication factor in the final DEMA formula, the generalized version allows you to change it. By varying the "volume factor" form 0 to 1 you apply different multiplications and thus producing DEMA with different "speed" - the higher the volume factor is the "faster" the DEMA will be (but also the slope of it will be less smooth). The volume factor is limited in the calculation to 1 since any volume factor that is larger than 1 is increasing the overshooting to the extent that some volume factors usage makes the indicator unusable.
Generalized Double DEMA - GDDEMA
The double exponential moving average (DEMA), was developed by Patrick Mulloy in an attempt to reduce the amount of lag time found in traditional moving averages. It was first introduced in the February 1994 issue of the magazine Technical Analysis of Stocks & Commodities in Mulloy's article "Smoothing Data with Faster Moving Averages''. This is an extension of the Generalized DEMA using Tim Tillsons (the inventor of T3) idea, and is using GDEMA of GDEMA for calculation (which is the "middle step" of T3 calculation). Since there are no versions showing that middle step, this version covers that too. The result is smoother than Generalized DEMA, but is less smooth than T3 - one has to do some experimenting in order to find the optimal way to use it, but in any case, since it is "faster" than the T3 (Tim Tillson T3) and still smooth, it looks like a good compromise between speed and smoothness.
Hull Moving Average (Type 1) - HMA1
Alan Hull's HMA makes use of weighted moving averages to prioritize recent values and greatly reduce lag whilst maintaining the smoothness of a traditional Moving Average. For this reason, it's seen as a well-suited Moving Average for identifying entry points. This version uses SMA for smoothing.
Hull Moving Average (Type 2) - HMA2
Alan Hull's HMA makes use of weighted moving averages to prioritize recent values and greatly reduce lag whilst maintaining the smoothness of a traditional Moving Average. For this reason, it's seen as a well-suited Moving Average for identifying entry points. This version uses EMA for smoothing.
Hull Moving Average (Type 3) - HMA3
Alan Hull's HMA makes use of weighted moving averages to prioritize recent values and greatly reduce lag whilst maintaining the smoothness of a traditional Moving Average. For this reason, it's seen as a well-suited Moving Average for identifying entry points. This version uses LWMA for smoothing.
Hull Moving Average (Type 4) - HMA4
Alan Hull's HMA makes use of weighted moving averages to prioritize recent values and greatly reduce lag whilst maintaining the smoothness of a traditional Moving Average. For this reason, it's seen as a well-suited Moving Average for identifying entry points. This version uses SMMA for smoothing.
IE /2 - Early T3 by Tim Tilson and T3 new
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.
Integral of Linear Regression Slope - ILRS
A Moving Average where the slope of a linear regression line is simply integrated as it is fitted in a moving window of length N (natural numbers in maths) across the data. The derivative of ILRS is the linear regression slope. ILRS is not the same as a SMA ( Simple Moving Average ) of length N, which is actually the midpoint of the linear regression line as it moves across the data.
Kaufman Adaptive Moving Average - KAMA
Developed by Perry Kaufman, Kaufman's Adaptive Moving Average (KAMA) is a moving average designed to account for market noise or volatility. KAMA will closely follow prices when the price swings are relatively small and the noise is low.
Laguerre Filter
The Laguerre Filter is a smoothing filter which is based on Laguerre polynomials. The filter requires the current price, three prior prices, a user defined factor called Alpha to fill its calculation.
Adjusting the Alpha coefficient is used to increase or decrease its lag and its smoothness.
Leader Exponential Moving Average
The Leader EMA was created by Giorgos E. Siligardos who created a Moving Average which was able to eliminate lag altogether whilst maintaining some smoothness. It was first described during his research paper "MACD Leader" where he applied this to the MACD to improve its signals and remove its lagging issue. This filter uses his leading MACD's "modified EMA" and can be used as a zero lag filter.
Linear Regression Value - LSMA ( Least Squares Moving Average )
LSMA as a Moving Average is based on plotting the end point of the linear regression line. It compares the current value to the prior value and a determination is made of a possible trend, eg. the linear regression line is pointing up or down.
Linear Weighted Moving Average - LWMA
LWMA reacts to price quicker than the SMA and EMA . Although it's similar to the Simple Moving Average , the difference is that a weight coefficient is multiplied to the price which means the most recent price has the highest weighting, and each prior price has progressively less weight. The weights drop in a linear fashion.
McGinley Dynamic
John McGinley created this Moving Average to track prices better than traditional Moving Averages. It does this by incorporating an automatic adjustment factor into its formula, which speeds (or slows) the indicator in trending, or ranging, markets.
McNicholl EMA
Dennis McNicholl developed this Moving Average to use as his center line for his "Better Bollinger Bands" indicator and was successful because it responded better to volatility changes over the standard SMA and managed to avoid common whipsaws.
Non-lag moving average
The Non Lag Moving average follows price closely and gives very quick signals as well as early signals of price change. As a standalone Moving Average, it should not be used on its own, but as an additional confluence tool for early signals.
Ocean NMA Moving Average - ONMAMA
Created by Jim Sloman, the NMA is a moving average that automatically adjusts to volatility without being programmed to do so. For more info, read his guide "Ocean Theory, an Introduction"
One More Moving Average (OMA)
The One More Moving Average (OMA) is a technical indicator that calculates a series of Jurik-style moving averages in order to reduce noise and provide smoother price data. It uses six exponential moving averages to generate the final value, with the length of the moving averages determined by an adaptive algorithm that adjusts to the current market conditions. The algorithm calculates the average period by comparing the signal to noise ratio and using this value to determine the length of the moving averages. The resulting values are used to generate the final value of the OMA, which can be used to identify trends and potential changes in trend direction.
Parabolic Weighted Moving Average
The Parabolic Weighted Moving Average is a variation of the Linear Weighted Moving Average . The Linear Weighted Moving Average calculates the average by assigning different weights to each element in its calculation. The Parabolic Weighted Moving Average is a variation that allows weights to be changed to form a parabolic curve. It is done simply by using the Power parameter of this indicator.
Probability Density Function Moving Average - PDFMA
Probability density function based MA is a sort of weighted moving average that uses probability density function to calculate the weights. By its nature it is similar to a lot of digital filters.
Quadratic Regression Moving Average - QRMA
A quadratic regression is the process of finding the equation of the parabola that best fits a set of data. This moving average is an obscure concept that was posted to Forex forums in around 2008.
Regularized EMA - REMA
The regularized exponential moving average (REMA) by Chris Satchwell is a variation on the EMA (see Exponential Moving Average) designed to be smoother but not introduce too much extra lag.
Range Weighted EMA - RWEMA
This indicator is a variation of the range weighted EMA. The variation comes from a possible need to make that indicator a bit less "noisy" when it comes to slope changes. The method used for calculating this variation is the method described by Lee Leibfarth in his article "Trading With An Adaptive Price Zone".
Recursive Moving Trendline
Dennis Meyers's Recursive Moving Trendline uses a recursive (repeated application of a rule) polynomial fit, a technique that uses a small number of past values estimations of price and today's price to predict tomorrow's price.
Simple Decycler - SDEC
The Ehlers Simple Decycler study is a virtually zero-lag technical indicator proposed by John F. Ehlers. The original idea behind this study (and several others created by John F. Ehlers) is that market data can be considered a continuum of cycle periods with different cycle amplitudes. Thus, trending periods can be considered segments of longer cycles, or, in other words, low-frequency segments. Applying the right filter might help identify these segments.
Simple Loxx Moving Average - SLMA
A three stage moving average combining an adaptive EMA, a Kalman Filter, and a Kauffman adaptive filter.
Simple Moving Average - SMA
The SMA calculates the average of a range of prices by adding recent prices and then dividing that figure by the number of time periods in the calculation average. It is the most basic Moving Average which is seen as a reliable tool for starting off with Moving Average studies. As reliable as it may be, the basic moving average will work better when it's enhanced into an EMA .
Sine Weighted Moving Average
The Sine Weighted Moving Average assigns the most weight at the middle of the data set. It does this by weighting from the first half of a Sine Wave Cycle and the most weighting is given to the data in the middle of that data set. The Sine WMA closely resembles the TMA (Triangular Moving Average).
Smoothed LWMA - SLWMA
A smoothed version of the LWMA
Smoothed Moving Average - SMMA
The Smoothed Moving Average is similar to the Simple Moving Average ( SMA ), but aims to reduce noise rather than reduce lag. SMMA takes all prices into account and uses a long lookback period. Due to this, it's seen as an accurate yet laggy Moving Average.
Smoother
The Smoother filter is a faster-reacting smoothing technique which generates considerably less lag than the SMMA ( Smoothed Moving Average ). It gives earlier signals but can also create false signals due to its earlier reactions. This filter is sometimes wrongly mistaken for the superior Jurik Smoothing algorithm.
Super Smoother
The Super Smoother filter uses John Ehlers’s “Super Smoother” which consists of a Two pole Butterworth filter combined with a 2-bar SMA ( Simple Moving Average ) that suppresses the 22050 Hz Nyquist frequency: A characteristic of a sampler, which converts a continuous function or signal into a discrete sequence.
Three-pole Ehlers Butterworth
The 3 pole Ehlers Butterworth (as well as the Two pole Butterworth) are both superior alternatives to the EMA and SMA . They aim at producing less lag whilst maintaining accuracy. The 2 pole filter will give you a better approximation for price, whereas the 3 pole filter has superior smoothing.
Three-pole Ehlers smoother
The 3 pole Ehlers smoother works almost as close to price as the above mentioned 3 Pole Ehlers Butterworth. It acts as a strong baseline for signals but removes some noise. Side by side, it hardly differs from the Three Pole Ehlers Butterworth but when examined closely, it has better overshoot reduction compared to the 3 pole Ehlers Butterworth.
Triangular Moving Average - TMA
The TMA is similar to the EMA but uses a different weighting scheme. Exponential and weighted Moving Averages will assign weight to the most recent price data. Simple moving averages will assign the weight equally across all the price data. With a TMA (Triangular Moving Average), it is double smoother (averaged twice) so the majority of the weight is assigned to the middle portion of the data.
Triple Exponential Moving Average - TEMA
The TEMA uses multiple EMA calculations as well as subtracting lag to create a tool which can be used for scalping pullbacks. As it follows price closely, its signals are considered very noisy and should only be used in extremely fast-paced trading conditions.
Two-pole Ehlers Butterworth
The 2 pole Ehlers Butterworth (as well as the three pole Butterworth mentioned above) is another filter that cuts out the noise and follows the price closely. The 2 pole is seen as a faster, leading filter over the 3 pole and follows price a bit more closely. Analysts will utilize both a 2 pole and a 3 pole Butterworth on the same chart using the same period, but having both on chart allows its crosses to be traded.
Two-pole Ehlers smoother
A smoother version of the Two pole Ehlers Butterworth. This filter is the faster version out of the 3 pole Ehlers Butterworth. It does a decent job at cutting out market noise whilst emphasizing a closer following to price over the 3 pole Ehlers .
Variable Index Dynamic Average - VIDYA
Variable Index Dynamic Average Technical Indicator ( VIDYA ) was developed by Tushar Chande. It is an original method of calculating the Exponential Moving Average ( EMA ) with the dynamically changing period of averaging.
Variable Moving Average - VMA
The Variable Moving Average (VMA) is a study that uses an Exponential Moving Average being able to automatically adjust its smoothing factor according to the market volatility.
Volume Weighted EMA - VEMA
An EMA that uses a volume and price weighted calculation instead of the standard price input.
Volume Weighted Moving Average - VWMA
A Volume Weighted Moving Average is a moving average where more weight is given to bars with heavy volume than with light volume. Thus the value of the moving average will be closer to where most trading actually happened than it otherwise would be without being volume weighted.
Zero-Lag DEMA - Zero Lag Double Exponential Moving Average
John Ehlers's Zero Lag DEMA's aim is to eliminate the inherent lag associated with all trend following indicators which average a price over time. Because this is a Double Exponential Moving Average with Zero Lag, it has a tendency to overshoot and create a lot of false signals for swing trading. It can however be used for quick scalping or as a secondary indicator for confluence.
Zero-Lag Moving Average
The Zero Lag Moving Average is described by its creator, John Ehlers , as a Moving Average with absolutely no delay. And it's for this reason that this filter will cause a lot of abrupt signals which will not be ideal for medium to long-term traders. This filter is designed to follow price as close as possible whilst de-lagging data instead of basing it on regular data. The way this is done is by attempting to remove the cumulative effect of the Moving Average.
Zero-Lag TEMA - Zero Lag Triple Exponential Moving Average
Just like the Zero Lag DEMA , this filter will give you the fastest signals out of all the Zero Lag Moving Averages. This is useful for scalping but dangerous for medium to long-term traders, especially during market Volatility and news events. Having no lag, this filter also has no smoothing in its signals and can cause some very bizarre behavior when applied to certain indicators.
█ Volatility Goldie Locks Zone
This volatility filter is the standard first pass filter that is used for all NNFX systems despite the additional volatility/volume filter used in step 5. For this filter, price must fall into a range of maximum and minimum values calculated using multiples of volatility. Unlike the standard NNFX systems, this version of volatility filtering is separated from the core Baseline and uses it's own moving average with Loxx's Exotic Source Types.
█ Volatility Types included
The GKD system utilizes volatility-based take profits and stop losses. Each take profit and stop loss is calculated as a multiple of volatility. You can change the values of the multipliers in the settings as well.
This module includes 17 types of volatility:
Close-to-Close
Parkinson
Garman-Klass
Rogers-Satchell
Yang-Zhang
Garman-Klass-Yang-Zhang
Exponential Weighted Moving Average
Standard Deviation of Log Returns
Pseudo GARCH(2,2)
Average True Range
True Range Double
Standard Deviation
Adaptive Deviation
Median Absolute Deviation
Efficiency-Ratio Adaptive ATR
Mean Absolute Deviation
Static Percent
Various volatility estimators and indicators that investors and traders can use to measure the dispersion or volatility of a financial instrument's price. Each estimator has its strengths and weaknesses, and the choice of estimator should depend on the specific needs and circumstances of the user.
Volatility Ticker Selection
Import volatility tickers like VIX, EUVIX, BVIV, and EVIV.
Close-to-Close
Close-to-Close volatility is a classic and widely used volatility measure, sometimes referred to as historical volatility.
Volatility is an indicator of the speed of a stock price change. A stock with high volatility is one where the price changes rapidly and with a larger amplitude. The more volatile a stock is, the riskier it is.
Close-to-close historical volatility is calculated using only a stock's closing prices. It is the simplest volatility estimator. However, in many cases, it is not precise enough. Stock prices could jump significantly during a trading session and return to the opening value at the end. That means that a considerable amount of price information is not taken into account by close-to-close volatility.
Despite its drawbacks, Close-to-Close volatility is still useful in cases where the instrument doesn't have intraday prices. For example, mutual funds calculate their net asset values daily or weekly, and thus their prices are not suitable for more sophisticated volatility estimators.
Parkinson
Parkinson volatility is a volatility measure that uses the stock’s high and low price of the day.
The main difference between regular volatility and Parkinson volatility is that the latter uses high and low prices for a day, rather than only the closing price. This is useful as close-to-close prices could show little difference while large price movements could have occurred during the day. Thus, Parkinson's volatility is considered more precise and requires less data for calculation than close-to-close volatility.
One drawback of this estimator is that it doesn't take into account price movements after the market closes. Hence, it systematically undervalues volatility. This drawback is addressed in the Garman-Klass volatility estimator.
Garman-Klass
Garman-Klass is a volatility estimator that incorporates open, low, high, and close prices of a security.
Garman-Klass volatility extends Parkinson's volatility by taking into account the opening and closing prices. As markets are most active during the opening and closing of a trading session, it makes volatility estimation more accurate.
Garman and Klass also assumed that the process of price change follows a continuous diffusion process (Geometric Brownian motion). However, this assumption has several drawbacks. The method is not robust for opening jumps in price and trend movements.
Despite its drawbacks, the Garman-Klass estimator is still more effective than the basic formula since it takes into account not only the price at the beginning and end of the time interval but also intraday price extremes.
Researchers Rogers and Satchell have proposed a more efficient method for assessing historical volatility that takes into account price trends. See Rogers-Satchell Volatility for more detail.
Rogers-Satchell
Rogers-Satchell is an estimator for measuring the volatility of securities with an average return not equal to zero.
Unlike Parkinson and Garman-Klass estimators, Rogers-Satchell incorporates a drift term (mean return not equal to zero). As a result, it provides better volatility estimation when the underlying is trending.
The main disadvantage of this method is that it does not take into account price movements between trading sessions. This leads to an underestimation of volatility since price jumps periodically occur in the market precisely at the moments between sessions.
A more comprehensive estimator that also considers the gaps between sessions was developed based on the Rogers-Satchel formula in the 2000s by Yang-Zhang. See Yang Zhang Volatility for more detail.
Yang-Zhang
Yang Zhang is a historical volatility estimator that handles both opening jumps and the drift and has a minimum estimation error.
Yang-Zhang volatility can be thought of as a combination of the overnight (close-to-open volatility) and a weighted average of the Rogers-Satchell volatility and the day’s open-to-close volatility. It is considered to be 14 times more efficient than the close-to-close estimator.
Garman-Klass-Yang-Zhang
Garman-Klass-Yang-Zhang (GKYZ) volatility estimator incorporates the returns of open, high, low, and closing prices in its calculation.
GKYZ volatility estimator takes into account overnight jumps but not the trend, i.e., it assumes that the underlying asset follows a Geometric Brownian Motion (GBM) process with zero drift. Therefore, the GKYZ volatility estimator tends to overestimate the volatility when the drift is different from zero. However, for a GBM process, this estimator is eight times more efficient than the close-to-close volatility estimator.
Exponential Weighted Moving Average
The Exponentially Weighted Moving Average (EWMA) is a quantitative or statistical measure used to model or describe a time series. The EWMA is widely used in finance, with the main applications being technical analysis and volatility modeling.
The moving average is designed such that older observations are given lower weights. The weights decrease exponentially as the data point gets older – hence the name exponentially weighted.
The only decision a user of the EWMA must make is the parameter lambda. The parameter decides how important the current observation is in the calculation of the EWMA. The higher the value of lambda, the more closely the EWMA tracks the original time series.
Standard Deviation of Log Returns
This is the simplest calculation of volatility. It's the standard deviation of ln(close/close(1)).
Pseudo GARCH(2,2)
This is calculated using a short- and long-run mean of variance multiplied by ?.
avg(var;M) + (1 ? ?) avg(var;N) = 2?var/(M+1-(M-1)L) + 2(1-?)var/(M+1-(M-1)L)
Solving for ? can be done by minimizing the mean squared error of estimation; that is, regressing L^-1var - avg(var; N) against avg(var; M) - avg(var; N) and using the resulting beta estimate as ?.
Average True Range
The average true range (ATR) is a technical analysis indicator, introduced by market technician J. Welles Wilder Jr. in his book New Concepts in Technical Trading Systems, that measures market volatility by decomposing the entire range of an asset price for that period.
The true range indicator is taken as the greatest of the following: current high less the current low; the absolute value of the current high less the previous close; and the absolute value of the current low less the previous close. The ATR is then a moving average, generally using 14 days, of the true ranges.
True Range Double
A special case of ATR that attempts to correct for volatility skew.
Standard Deviation
Standard deviation is a statistic that measures the dispersion of a dataset relative to its mean and is calculated as the square root of the variance. The standard deviation is calculated as the square root of variance by determining each data point's deviation relative to the mean. If the data points are further from the mean, there is a higher deviation within the data set; thus, the more spread out the data, the higher the standard deviation.
Adaptive Deviation
By definition, the Standard Deviation (STD, also represented by the Greek letter sigma ? or the Latin letter s) is a measure that is used to quantify the amount of variation or dispersion of a set of data values. In technical analysis, we usually use it to measure the level of current volatility.
Standard Deviation is based on Simple Moving Average calculation for mean value. This version of standard deviation uses the properties of EMA to calculate what can be called a new type of deviation, and since it is based on EMA, we can call it EMA deviation. Additionally, Perry Kaufman's efficiency ratio is used to make it adaptive (since all EMA type calculations are nearly perfect for adapting).
The difference when compared to the standard is significant--not just because of EMA usage, but the efficiency ratio makes it a "bit more logical" in very volatile market conditions.
Median Absolute Deviation
The median absolute deviation is a measure of statistical dispersion. Moreover, the MAD is a robust statistic, being more resilient to outliers in a data set than the standard deviation. In the standard deviation, the distances from the mean are squared, so large deviations are weighted more heavily, and thus outliers can heavily influence it. In the MAD, the deviations of a small number of outliers are irrelevant.
Because the MAD is a more robust estimator of scale than the sample variance or standard deviation, it works better with distributions without a mean or variance, such as the Cauchy distribution.
For this indicator, a manual recreation of the quantile function in Pine Script is used. This is so users have a full inside view into how this is calculated.
Efficiency-Ratio Adaptive ATR
Average True Range (ATR) is a widely used indicator for many occasions in technical analysis. It is calculated as the RMA of the true range. This version adds a "twist": it uses Perry Kaufman's Efficiency Ratio to calculate adaptive true range.
Mean Absolute Deviation
The mean absolute deviation (MAD) is a measure of variability that indicates the average distance between observations and their mean. MAD uses the original units of the data, which simplifies interpretation. Larger values signify that the data points spread out further from the average. Conversely, lower values correspond to data points bunching closer to it. The mean absolute deviation is also known as the mean deviation and average absolute deviation.
This definition of the mean absolute deviation sounds similar to the standard deviation (SD). While both measure variability, they have different calculations. In recent years, some proponents of MAD have suggested that it replace the SD as the primary measure because it is a simpler concept that better fits real life.
█ 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
8. Metamorphosis - a technical indicator that produces a compound signal from the combination of other GKD indicators*
*(not part of the NNFX algorithm)
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, and the Average Directional Index (ADX).
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.
What is an Metamorphosis indicator?
The concept of a metamorphosis indicator involves the integration of two or more GKD indicators to generate a compound signal. This is achieved by evaluating the accuracy of each indicator and selecting the signal from the indicator with the highest accuracy. As an illustration, let's consider a scenario where we calculate the accuracy of 10 indicators and choose the signal from the indicator that demonstrates the highest accuracy.
The resulting output from the metamorphosis indicator can then be utilized in a GKD-BT backtest by occupying a slot that aligns with the purpose of the metamorphosis indicator. The slot can be a GKD-B, GKD-C, or GKD-E slot, depending on the specific requirements and objectives of the indicator. This allows for seamless integration and utilization of the compound signal within the GKD-BT framework.
How does Loxx's GKD (Giga Kaleidoscope Modularized Trading System) implement the NNFX algorithm outlined above?
Loxx's GKD v2.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)
6. GKD-M - Metamorphosis module (Metamorphosis, Number 8 in the NNFX algorithm, but not part of the NNFX algorithm)
(additional module types will added in future releases)
Each module interacts with every module by passing data to A backtest module wherein the various components of the GKD system are combined to create a trading signal.
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: Multi-Ticker CC Backtest
Baseline: Hull Moving Average
Volatility/Volume: Hurst Exponent
Confirmation 1: Advance Trend Pressure as shown on the chart above
Confirmation 2: uf2018
Continuation: Coppock Curve
Exit: Rex Oscillator
Metamorphosis: Baseline Optimizer
Each GKD indicator is denoted with a module identifier of either: GKD-BT, GKD-B, GKD-C, GKD-V, GKD-M, or GKD-E. This allows traders to understand to which module each indicator belongs and where each indicator fits into the GKD system.
█ Giga Kaleidoscope Modularized Trading System Signals
Standard Entry
1. GKD-C Confirmation gives signal
2. Baseline agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
1-Candle Standard Entry
1a. GKD-C Confirmation gives signal
2a. Baseline agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Baseline Entry
1. GKD-B Baseline gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
7. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
1-Candle Baseline Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Volatility/Volume Entry
1. GKD-V Volatility/Volume gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Volatility/Volume Entry
1a. GKD-V Volatility/Volume gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSVVC Bars Back' prior
Next Candle
1b. Price retraced
2b. Volatility/Volume agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Baseline agrees
Confirmation 2 Entry
1. GKD-C Confirmation 2 gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Volatility/Volume agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Confirmation 2 Entry
1a. GKD-C Confirmation 2 gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSC2C Bars Back' prior
Next Candle
1b. Price retraced
2b. Confirmation 2 agrees
3b. Confirmation 1 agrees
4b. Volatility/Volume agrees
5b. Baseline agrees
PullBack Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price is beyond 1.0x Volatility of Baseline
Next Candle
1b. Price inside Goldie Locks Zone Minimum
2b. Price inside Goldie Locks Zone Maximum
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Continuation Entry
1. Standard Entry, 1-Candle Standard Entry, Baseline Entry, 1-Candle Baseline Entry, Volatility/Volume Entry, 1-Candle Volatility/Volume Entry, Confirmation 2 Entry, 1-Candle Confirmation 2 Entry, or Pullback entry triggered previously
2. Baseline hasn't crossed since entry signal trigger
4. Confirmation 1 agrees
5. Baseline agrees
6. Confirmation 2 agrees
MACD on RSIThe MACD on RSI indicator combines elements of the Moving Average Convergence Divergence (MACD) and the Relative Strength Index (RSI). It calculates the RSI on a specified source with a customizable length, then applies two exponential moving averages (EMAs) to the RSI values. The difference between these EMAs forms the MACD line, visually representing the momentum of the RSI.
TradeTale Reversal Alert 🚀This script explains how RSI Oscillator along with Bollinger Bands & Moving Average can be used to catch "Reversal Points".
What is an Oscillator:-
An oscillator is a technical analysis tool that constructs high and low bands between two extreme values and then builds a trend indicator that fluctuates within these bounds. Traders use the trend indicator to discover short-term overbought or oversold conditions. RSI with MA is used along with minor calculations (maths) in this Oscillator for generating Long and Short signals.
RSI:-
RSI is a momentum oscillator which measures the speed and change of price movements. RSI moves up and down (oscillates) between ZERO and 100. Generally RSI above 70 is considered overbought and below 30 is considered oversold. Some traders may use a setting of 20 and 80 for oversold and overbought conditions respectively. Some traders may use a setting of 10 and 90 for oversold and overbought conditions respectively. However this may reduce the number of signals. 10 to 30 is shown as bullish zone and 70 to 90 is shown as bearish zone in this Oscillator.
Calculation:-
There are three basic components in the RSI - Avg Gain, Avg Loss & RS.
Avg Gain = Average of Upward Price Change
Avg Loss = Average of Downward Price Change
RS = (Avg Gain)/(Avg Loss)
RSI = 100 – (100 / (1 +RS ))
First Calculation:-
RSI calculation is based on default 14 periods.
Average gain and Average loss are simple 14 period averages.
Average Loss equals the sum of the losses divided by 14 for the first calculation.
Average Gain equals the sum of the Gains divided by 14 for the first calculation.
First Average Gain = Sum of Gains over the past 14 periods / 14.
First Average Loss = Sum of Losses over the past 14 periods / 14.
The formula uses a positive value for the average loss.
RS values are smoothed after the first calculation.
Second Calculation:-
Subsequent calculations multiply the prior value by 13, add the most recent value, and divide the total by 14.
Average Gain = / 14.
Average Loss = / 14.
if
Average Loss = 0, RSI = 100 (means there were no losses to measure).
Average Gain = 0, RSI = 0 (means there were no gains to measure).
Moving Average (MA):-
A moving average (MA) is used in technical analysis, used to help smooth out price data by creating a constantly updated average price. A rising moving average indicates that the security is in an uptrend, while a declining moving average indicates a downtrend.
Bollinger Bands (BB):–
It is consists of a Moving Average line and two standard deviation lines that are plotted above and below the moving average line. The moving average periods & standard deviation can be adjust according to the preference. Bollinger Bands help traders to identify the volatility and potential price range of security.
Logic of this indicator:-
RSI is an oscillator that fluctuates between zero and 100 which makes it easy to use for many traders. Its easy to identify extremes because RSI is range-bound.
Bollinger Band Upper and Lower Bands are used to identify Overbought & Oversold points Respectively. Price crossover of these Upper & Lower Bands used to calculate Reversal Points.
BB, RSI and MA calculations along with maths is used to generate signals.
Rocket signal in is Long Signal and also exit Short signal. (Bullish Entry/Exit)
Bear signal is Short Signal and also exit Long signal. (Bearish Entry/Exit)
But remember that RSI works best in range bound market and is less trustworthy in trending markets. (caution)
A new trader need to be cautious because during strong trends in the market/security, RSI may remain in overbought (70 to 90) or oversold (10 to 30) for extended periods.
Also Bollinger Bands here are used to calculate range reversal, So is less trustworthy in trending markets. (caution)
Chart Timeframe:-
This Indicator works on all timeframes.
Traders should set stop loss and take profit levels as per risk reward ratio.
Note:
Don't confuse RSI and relative strength. RSI is changes in the price momentum of a security.
whereas relative strength compares the price performance of two or more securities.
Like other technical indicators, This indicator also is not a holy grail. It can only assist you in building a good strategy. You can only succeed with proper position sizing, risk management and following correct trading Psychology (No overtrade, No greed, No revenge trade etc).
THIS INDICATOR IS FOR EDUCATIONAL PURPOSE AND PAPER TRADING ONLY. YOU MAY PAPER TRADE TO GAIN CONFIDENCE AND BUILD FURTHER ON THESE. PLEASE CONSULT YOUR FINANCIAL ADVISOR BEFORE INVESTING. WE ARE NOT SEBI REGISTERED.
Hope you all like it
happy learning.
GKD-C XMA Histogram [Loxx]The Giga Kaleidoscope GKD-C XMA Histogram is a Confirmation module included in Loxx's "Giga Kaleidoscope Modularized Trading System."
█ GKD-C XMA Histogram
The "XMA Histogram" utilizes a dynamic approach to analyze market trends through various types of moving averages, including Exponential Moving Average (EMA), Fast Exponential Moving Average (FEMA), Linear Weighted Moving Average (LWMA), Simple Moving Average (SMA), and Smoothed Moving Average (SMMA). This flexibility allows traders to select the moving average that best fits their trading style and market conditions. The indicator calculates the selected moving average over a specified period for a given price source, then examines the difference between the current and previous values of this moving average.
A threshold, adjusted for market precision, determines significant changes. If the change in the moving average exceeds this threshold, it signals potential market momentum. The histogram visualizes this momentum, marking upward momentum with green and downward momentum with red. The XMA Histogram is designed to signal potential entry and exit points, identifying when the price crosses the moving average in a way that suggests a strong trend. This tool is particularly useful for traders looking to capitalize on trends by providing a clear, visual representation of market momentum and direction shifts.
█ 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
8. Metamorphosis - a technical indicator that produces a compound signal from the combination of other GKD indicators*
*(not part of the NNFX algorithm)
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, and the Average Directional Index (ADX).
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.
What is an Metamorphosis indicator?
The concept of a metamorphosis indicator involves the integration of two or more GKD indicators to generate a compound signal. This is achieved by evaluating the accuracy of each indicator and selecting the signal from the indicator with the highest accuracy. As an illustration, let's consider a scenario where we calculate the accuracy of 10 indicators and choose the signal from the indicator that demonstrates the highest accuracy.
The resulting output from the metamorphosis indicator can then be utilized in a GKD-BT backtest by occupying a slot that aligns with the purpose of the metamorphosis indicator. The slot can be a GKD-B, GKD-C, or GKD-E slot, depending on the specific requirements and objectives of the indicator. This allows for seamless integration and utilization of the compound signal within the GKD-BT framework.
How does Loxx's GKD (Giga Kaleidoscope Modularized Trading System) implement the NNFX algorithm outlined above?
Loxx's GKD v2.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)
6. GKD-M - Metamorphosis module (Metamorphosis, Number 8 in the NNFX algorithm, but not part of the NNFX algorithm)
(additional module types will added in future releases)
Each module interacts with every module by passing data to A backtest module wherein the various components of the GKD system are combined to create a trading signal.
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: Multi-Ticker CC Backtest
Baseline: Hull Moving Average
Volatility/Volume: Hurst Exponent
Confirmation 1: Advance Trend Pressure as shown on the chart above
Confirmation 2: uf2018
Continuation: Coppock Curve
Exit: Rex Oscillator
Metamorphosis: Baseline Optimizer
Each GKD indicator is denoted with a module identifier of either: GKD-BT, GKD-B, GKD-C, GKD-V, GKD-M, or GKD-E. This allows traders to understand to which module each indicator belongs and where each indicator fits into the GKD system.
█ Giga Kaleidoscope Modularized Trading System Signals
Standard Entry
1. GKD-C Confirmation gives signal
2. Baseline agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
1-Candle Standard Entry
1a. GKD-C Confirmation gives signal
2a. Baseline agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Baseline Entry
1. GKD-B Baseline gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
7. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
1-Candle Baseline Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Volatility/Volume Entry
1. GKD-V Volatility/Volume gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Volatility/Volume Entry
1a. GKD-V Volatility/Volume gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSVVC Bars Back' prior
Next Candle
1b. Price retraced
2b. Volatility/Volume agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Baseline agrees
Confirmation 2 Entry
1. GKD-C Confirmation 2 gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Volatility/Volume agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Confirmation 2 Entry
1a. GKD-C Confirmation 2 gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSC2C Bars Back' prior
Next Candle
1b. Price retraced
2b. Confirmation 2 agrees
3b. Confirmation 1 agrees
4b. Volatility/Volume agrees
5b. Baseline agrees
PullBack Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price is beyond 1.0x Volatility of Baseline
Next Candle
1b. Price inside Goldie Locks Zone Minimum
2b. Price inside Goldie Locks Zone Maximum
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Continuation Entry
1. Standard Entry, 1-Candle Standard Entry, Baseline Entry, 1-Candle Baseline Entry, Volatility/Volume Entry, 1-Candle Volatility/Volume Entry, Confirmation 2 Entry, 1-Candle Confirmation 2 Entry, or Pullback entry triggered previously
2. Baseline hasn't crossed since entry signal trigger
4. Confirmation 1 agrees
5. Baseline agrees
6. Confirmation 2 agrees
LSMA Z-Score [BackQuant]LSMA Z-Score
Main Features and Use in the Trading Strategy
- The indicator normalizes the LSMA into a detrended Z-Score, creating an oscillator with standard deviation levels to indicate trend strength.
- Adaptive coloring highlights the rate of change and potential reversals, with different colors for positive and negative changes above and below the midline.
- Extreme levels with adaptive coloring indicate the probability of a reversion, providing strategic entry or exit points.
- Alert conditions for crossing the midline or significant shifts in trend direction enhance its utility within a trading strategy.
1. What is an LSMA?
The Least Squares Moving Average (LSMA) is a technical indicator that smoothens price data to help identify trends. It uses the least squares regression method to fit a straight line through the selected price points over a specified period. This approach minimizes the sum of the squares of the distances between the line and the price points, providing a more statistically grounded moving average that can adapt more smoothly to price changes.
2. What is a Z-Score?
A Z-Score is a statistical measurement that describes a value's relationship to the mean of a group of values, measured in terms of standard deviations from the mean. If a Z-Score is 0, it indicates that the data point's score is identical to the mean score. A Z-Score helps in understanding if a data point is typical for a given data set or if it is atypical. In finance, a Z-Score is often used to measure how far a piece of data is from the average of a set, which can be helpful in identifying outliers or unusual data points.
3. Why Turning LSMA into a Z-Score is Innovative and Its Benefits
Converting LSMA into a Z-Score is innovative because it combines the trend identification capabilities of the LSMA with the statistical significance testing of Z-Scores. This transformation normalizes the LSMA, creating a detrended oscillator that oscillates around a mean (zero line), with standard deviation levels to show trend strength. This method offers several benefits:
Enhanced Trend Detection:
- By normalizing the LSMA, traders can more easily identify when the price is deviating significantly from its trend, which can signal potential trading opportunities.
Standardization:
- The Z-Score transformation allows for comparisons across different assets or time frames, as the score is standardized.
Objective Measurement of Trend Strength:
- The use of standard deviation levels provides an objective measure of trend strength and volatility.
4. How It Can Be Used in the Context of a Trading System
This indicator can serve as a versatile tool within a trading system for a range of things:
Trend Confirmation:
- A positive Z-Score can confirm an uptrend, while a negative Z-Score can confirm a downtrend, providing traders with signals to enter or exit trades.
Oversold/Overbought Conditions:
- Extreme Z-Score levels can indicate overbought or oversold conditions, suggesting potential reversals or pullbacks.
Volatility Assessment:
- The standard deviation levels can help traders assess market volatility, with wider bands indicating higher volatility.
5. How It Can Be Used for Trend Following
For trend following strategies, this indicator can be particularly useful:
Trend Strength Indicator:
- By monitoring the Z-Score's distance from zero, traders can gauge the strength of the current trend, with larger absolute values indicating stronger trends.
Directional Bias:
- Positive Z-Scores can be used to establish a bullish bias, while negative Z-Scores can establish a bearish bias, guiding trend following entries and exits.
Color-Coding for Trend Changes :
- The adaptive coloring of the indicator based on the rate of change and extreme levels provides visual cues for potential trend reversals or continuations.
Thus following all of the key points here are some sample backtests on the 1D Chart
Disclaimer: Backtests are based off past results, and are not indicative of the future.
This is using the Midline Crossover:
INDEX:BTCUSD
INDEX:ETHUSD
BINANCE:SOLUSD
GKD-C Hodrick-Prescott Filter [Loxx]The Giga Kaleidoscope GKD-C Hodrick-Prescott Filter is a Confirmation module included in Loxx's "Giga Kaleidoscope Modularized Trading System."
█ GKD-C Hodrick-Prescott Filter
The Hodrick-Prescott (HP) filter is a mathematical tool used in macroeconomics to separate a time series into its trend component and its cyclical component. It was developed by economists Robert Hodrick and Edward Prescott in 1980.
The HP filter works by decomposing a time series into two components: a trend component and a cyclical component. The trend component represents the long-term behavior of the time series, while the cyclical component represents the short-term fluctuations around the trend.
The HP filter is based on the assumption that the trend component of a time series varies smoothly over time, while the cyclical component varies more rapidly. The filter uses a mathematical algorithm to estimate the trend component of the time series, and then subtracts the trend from the original time series to obtain the cyclical component.
The HP filter is widely used in macroeconomics to analyze business cycles, as it allows researchers to separate the underlying trend in economic data from the short-term fluctuations. It is also used in finance to analyze asset prices, and in other fields where time series analysis is important.
█ 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
8. Metamorphosis - a technical indicator that produces a compound signal from the combination of other GKD indicators*
*(not part of the NNFX algorithm)
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, and the Average Directional Index (ADX).
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.
What is an Metamorphosis indicator?
The concept of a metamorphosis indicator involves the integration of two or more GKD indicators to generate a compound signal. This is achieved by evaluating the accuracy of each indicator and selecting the signal from the indicator with the highest accuracy. As an illustration, let's consider a scenario where we calculate the accuracy of 10 indicators and choose the signal from the indicator that demonstrates the highest accuracy.
The resulting output from the metamorphosis indicator can then be utilized in a GKD-BT backtest by occupying a slot that aligns with the purpose of the metamorphosis indicator. The slot can be a GKD-B, GKD-C, or GKD-E slot, depending on the specific requirements and objectives of the indicator. This allows for seamless integration and utilization of the compound signal within the GKD-BT framework.
How does Loxx's GKD (Giga Kaleidoscope Modularized Trading System) implement the NNFX algorithm outlined above?
Loxx's GKD v2.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)
6. GKD-M - Metamorphosis module (Metamorphosis, Number 8 in the NNFX algorithm, but not part of the NNFX algorithm)
(additional module types will added in future releases)
Each module interacts with every module by passing data to A backtest module wherein the various components of the GKD system are combined to create a trading signal.
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: Multi-Ticker CC Backtest
Baseline: Hull Moving Average
Volatility/Volume: Hurst Exponent
Confirmation 1: Advance Trend Pressure as shown on the chart above
Confirmation 2: uf2018
Continuation: Coppock Curve
Exit: Rex Oscillator
Metamorphosis: Baseline Optimizer
Each GKD indicator is denoted with a module identifier of either: GKD-BT, GKD-B, GKD-C, GKD-V, GKD-M, or GKD-E. This allows traders to understand to which module each indicator belongs and where each indicator fits into the GKD system.
█ Giga Kaleidoscope Modularized Trading System Signals
Standard Entry
1. GKD-C Confirmation gives signal
2. Baseline agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
1-Candle Standard Entry
1a. GKD-C Confirmation gives signal
2a. Baseline agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Baseline Entry
1. GKD-B Baseline gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
7. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
1-Candle Baseline Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Volatility/Volume Entry
1. GKD-V Volatility/Volume gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Volatility/Volume Entry
1a. GKD-V Volatility/Volume gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSVVC Bars Back' prior
Next Candle
1b. Price retraced
2b. Volatility/Volume agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Baseline agrees
Confirmation 2 Entry
1. GKD-C Confirmation 2 gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Volatility/Volume agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Confirmation 2 Entry
1a. GKD-C Confirmation 2 gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSC2C Bars Back' prior
Next Candle
1b. Price retraced
2b. Confirmation 2 agrees
3b. Confirmation 1 agrees
4b. Volatility/Volume agrees
5b. Baseline agrees
PullBack Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price is beyond 1.0x Volatility of Baseline
Next Candle
1b. Price inside Goldie Locks Zone Minimum
2b. Price inside Goldie Locks Zone Maximum
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Continuation Entry
1. Standard Entry, 1-Candle Standard Entry, Baseline Entry, 1-Candle Baseline Entry, Volatility/Volume Entry, 1-Candle Volatility/Volume Entry, Confirmation 2 Entry, 1-Candle Confirmation 2 Entry, or Pullback entry triggered previously
2. Baseline hasn't crossed since entry signal trigger
4. Confirmation 1 agrees
5. Baseline agrees
6. Confirmation 2 agrees