SOLANA Performance & Volatility Analysis BB%Overview:
The script provides an in-depth analysis of Solana's performance and volatility. It showcases Solana's price, its inverse relationship, its own volatility, and even juxtaposes it against Bitcoin's 24-hour historical volatility. All of these are presented using the Bollinger Bands Percentage (BB%) methodology to normalise the price and volatility values between 0 and 1.
Key Components:
Inputs:
SOLANA PRICE (SOLUSD): The price of Solana.
SOLANA INVERSE (SOLUSDT.3S): The inverse of Solana's price.
SOLANA VOLATILITY (SOLUSDSHORTS): Volatility for Solana.
BITCOIN 24 HOUR HISTORICAL VOLATILITY (BVOL24H): Bitcoin's volatility over the past 24 hours.
BB Calculations:
The script uses the Bollinger Bands methodology to calculate the mean (SMA) and the standard deviation of the prices and volatilities over a certain period (default is 20 periods). The calculated upper and lower bands help in normalising the values to the range of 0 to 1.
Normalised Metrics Plotting:
For better visualisation and comparative analysis, the normalised values for:
Solana Price
Solana Inverse
Solana Volatility
Bitcoin 24hr Volatility
are plotted with steplines.
Band Plotting:
Bands are plotted at 20%, 40%, 60%, and 80% levels to serve as reference points. The area between the 40% and 60% bands is shaded to highlight the median region.
Colour Coding:
Different colours are used for easy differentiation:
Solana Price: Blue
Solana Inverse: Red
Solana Volatility: Green
Bitcoin 24hr Volatility: White
Licence & Creator:
The script adheres to the Mozilla Public Licence 2.0 and is credited to the author, "Volatility_Vibes".
Works well with Breaks and Retests with Volatility Stop
Volatility
TrendSphere (Zeiierman)█ Overview
TrendSphere is designed to capture and visualize market trends and volatility effectively. It combines various volatility measures and trend analysis techniques, producing dynamic bands and a central trend line on the price chart. Its essence is to offer a real-time, reliable estimate of the underlying linear trend in the price.
█ How It Works
Real-Time Trend Estimation
At its core, TrendSphere is designed to offer instantaneous and accurate insights into the inherent linear trend of asset prices. By continually updating its estimations, it ensures traders are equipped with the most current data. This allows the construction of support and resistance bands around the estimated trend, providing trading opportunities.
Dynamic Bands and Trend Line
TrendSphere plots a central trend line and dynamic bands around it on the price chart. Influenced by volatility, the distance between these elements offers a clear view of market conditions and the strength or weakness of trends. These bands not only depict potential turning points but also offer traders valuable opportunities to trade within the confines of the overarching trend.
Volatility Measures
Traders can select their preferred volatility measure and adjust settings to best fit their analysis needs. The bands and trend line dynamically respond to these selections, offering a tailored view of market conditions.
ATR (Average True Range): Reflects market volatility by evaluating the range between high and low prices.
Historical Volatility: Computes price variability using the standard deviation of log returns.
Bollinger Band Width: Measures the distance between Bollinger Bands, providing another angle on market volatility.
Eliminating Common Complications
One of the standout features of TrendSphere is its ability to determine linear price trends without falling prey to challenges like backpainting or repainting. In layman's terms, this means traders get a more trustworthy and unaltered view of price movements, leading to enhanced decision-making in line with the genuine trajectory of price trends.
█ How to Use
Trend Analysis
Observe the central trend line; its direction indicates the prevailing trend. When the price is above the trend line, it suggests an upward trend, and when it's below, it indicates a downward trend.
Volatility Analysis
Wider bands imply higher market volatility, suggesting larger price swings, while narrower bands indicate lower volatility. Traders can use the bands to identify potential reversal points and overbought/oversold conditions.
Potential Trading Signals (Using Bollinger bandwidth as volatility measure)
Consider buying when the price is above the trend line with narrowing bands, suggesting a strong upward trend.
Consider selling when the price is below the trend line with narrowing bands, indicating a strong downward trend.
█ Settings
Select Volatility Measure
Choose the desired volatility measure: ATR, Historical Volatility, or Bollinger Band Width.
Volatility Scaling Factor
Adjusts the scale of the volatility measure, influencing the width of the bands.
Volatility Strength
Modifies the influence of volatility on the bands, adjusting their responsiveness to volatility changes.
Length
Defines the number of periods used in calculating the selected volatility measure, impacting the stability and responsiveness of the bands.
Trend Sensitivity
Adjusts the sensitivity of the trend component, affecting how quickly it reacts to price changes.
█ Related scripts with the same calculation philosophy
TrendCylinder
Predictive Trend and Structure
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Better RSIThis script is an enhancement of the original RSI (Relative Strength Index) indicator for TradingView. While the core RSI functionality remains intact, several powerful features have been added to make it a "Better RSI" tool for traders and investors.
Key Features:
1. Divergence Detection: The script now includes both Bullish and Hidden Divergence detection. Bullish Divergence helps identify potential trend reversals when the price makes lower lows, but the RSI makes higher lows. Conversely, Hidden Divergence highlights instances where the RSI and price move in opposite directions, signaling potential trend continuation or reversal.
2. Bollinger Band Breakout Highlight: Users have the option to select "Bollinger Bands" as the Moving Average (MA) type in the settings. When enabled, this feature highlights RSI-Bollinger Band breakouts. It's a valuable tool for traders looking to capitalize on RSI movements in conjunction with Bollinger Bands.
3. Customizable Settings: The script provides a range of customizable settings, allowing you to adjust parameters like RSI length, MA type, Bollinger Bands standard deviation, and more to suit your trading strategy.
4. Clear Visuals: The script offers clear visual cues, with colored backgrounds indicating RSI overbought and oversold levels, as well as extreme breakouts. Bullish and bearish divergence points are also marked with distinct crosses, making it easy to spot potential trading opportunities.
Whether you're a seasoned trader or just starting, the "Better RSI" script empowers you with advanced tools to make more informed trading decisions. Use it to identify potential trend reversals, continuation patterns, and RSI-Bollinger Band breakouts in the market.
3GBH - ICT NY SessionThis indicator is meant to help those using ICT's methodology.
This script simply highlights the NY session with green and red zones.
The red zone can help to indicate periods you do not want to trade, for example, NY lunch session.
Timings and colors and customizable with an easy user interface.
Breaks and Retests with Volatility Stop [HG]The "Breaks and Retests with Volatility Stop " indicator is a powerful tool designed to assist traders in identifying key support and resistance levels, breakouts, retests, and potential trend reversals. This indicator combines two essential components: support and resistance detection, and a Volatility Stop indicator for improved risk management. Below are the key features of this indicator:
**Support and Resistance Detection:**
- **Lookback Range:** Users can customize the lookback range, determining how many bars are considered when identifying support and resistance levels. This allows for flexibility in capturing short-term or longer-term levels.
- **Bars Since Breakout:** The indicator helps traders spot retests by allowing them to specify the number of bars that should occur since a breakout before considering it a potential retest.
- **Retest Detection Limiter:** Traders can set a limit on how many bars should be actively checked during a potential retest event. This feature prevents retest alerts from occurring too late, ensuring more accurate results.
- **Breakouts and Retests:** Users can choose to display or hide breakout and retest events separately, tailoring the indicator to their specific trading strategy.
- **Repainting Options:** The indicator offers three repainting options: "On," "Off: Candle Confirmation," and "Off: High & Low." This provides flexibility in choosing the repainting behavior that suits your trading style.
**Styling Options:**
- **Outline and Extend:** Traders can customize the appearance of support and resistance boxes by selecting outline styles and extension preferences.
- **Label Types and Sizes:** The indicator offers two label types, "Full" and "Simple," allowing traders to choose the level of detail displayed on the chart. Additionally, users can adjust the label size for better visibility.
- **Customizable Colors:** Support and resistance levels can be color-coded to match your preferred charting style, enhancing visibility and clarity.
- **Override Text Color:** If desired, traders can override the text color for labels, providing further customization of the indicator's appearance.
**Alerts and Notifications:**
- The indicator generates various alerts and notifications to keep traders informed about critical market events, including:
- New Support and Resistance Levels
- Support and Resistance Breakouts
- Support and Resistance Retests
- Potential Support and Resistance Retests
**Volatility Stop Indicator:**
- The "Breaks and Retests with Volatility Stop " indicator also includes a Volatility Stop component, which helps traders manage risk by indicating potential stop-loss levels based on market volatility. The Volatility Stop is color-coded to reflect the current trend direction, making it easy to identify potential trend reversals.
In summary, this TradingView indicator is a comprehensive tool designed to enhance your technical analysis and trading decisions. It provides support and resistance levels, breakout and retest alerts, and incorporates a Volatility Stop indicator for risk management, making it a valuable addition to any trader's toolkit.
Kalman MomentumKalman Filter
The Kalman Filter is an algorithm used for recursive estimation and filtering of time-series data. It was developed by Rudolf E. Kálmán in the 1960s and has found widespread applications in various fields, including control systems, navigation, signal processing, and finance.
The primary purpose of the Kalman filter is to estimate the state of a dynamic system based on a series of noisy measurements over time. It operates recursively, meaning it processes each new measurement and updates its estimate of the system state as new data becomes available.
Kalman Momentum Indicator
This indicator implements the Kalman Filter to provide a smoothed momentum indicator using returns. The momentum in this indicator is calculated by getting the logarithmic returns and then getting the expected value.
The Kalman calculation in this indicator is used to filter and predict the next value based on the logarithmic returns expected value.
Here's a simplified explanation of the steps and how they are applied in the Script:
State Prediction: Predict the current state based on the previous state estimate.
Error Covariance Prediction: Predict the covariance of the prediction error.
Correction Step:
Kalman Gain Calculation: Calculate the Kalman gain, which determines the weight given to the measurement.
State Correction: Update the state estimate based on the measurement.
Error Covariance Correction: Update the error covariance.
In this Script, the Kalman Filter is applied to estimate the state of the system, with two state variables.
When the Kalman Momentum is above 0, there is positive momentum or positive smoothed expected value.
When the Kalman Momentum is below 0, there is negative momentum or negative smoothed expected value.
How to Use:
Trend Identification:
Positive values of the Kalman Momentum Indicator indicates positive expected value, while negative values suggest negative expected value.
You can look for changes in the sign of the indicator to identify potential shifts in market direction.
Volatility Analysis:
Observe the behavior of the indicator during periods of high and low volatility. Changes in the volatility of the Kalman Momentum Indicator may precede changes in market conditions.
Filtering Noise:
The Kalman Filter is known for its ability to filter out noise in time series data. Use the Kalman Momentum Indicator to filter out the noise in momentum to catch the trend more clearly.
Squeezes:
At time there may be squeezes, and these are zones with low volatility. What could follow after these zones are expansions and huge trending moves.
Indicator Settings:
You can change the source of the calculations.
There is also a lookback for the log returns.
Understanding Expected Value in Trading:
The Expected Value is a fundamental concept that shows the potential outcomes of a trading strategy or individual trade over a series of occurrences. It is a measure that represents the average outcome when a particular action is repeated multiple times.
Images of the indicator:
IU Average move How The Script Works :
1. This script calculate the average movement of the price in a user defined custom session and plot the data in a table from on top left corner of the chart.
2. The script takes highest and lowest value of that custom session and store their difference into an array.
3. Then the script average the array thus gets the average price.
4. Addition to that the script converter the price pip change into percentage in order to calculate the value in percentage form.
5. This script is pure price action based the script only take price value and doesn't take any indicator for calculation.
6. The script works on every type of market.
7. If the session is invalid it returns nothing
8. The background color, text color and transparency is changeable.
How User Can Benefit From This Script:
1. User can understand the volatility of any session that he/she wish to trade.
2. It can be helpful for understanding the average price moment of any tradeble asset.
3. It will give the average price movement both in percentage and points bases.
4. By understanding the volatility user can adjust his stop loss or take profit with respect his risk management.
[blackcat] L2 Range Action Verification Index (RAVI) with 3 SMAThe Range Action Verification Index (RAVI) is a technical indicator used in trading to measure the strength of a trend. It compares two simple moving averages (SMAs) to determine the market's momentum.
To calculate RAVI, we subtract the shorter SMA from the longer SMA, and then divide the result by the longer SMA. This value is then multiplied by 100 to express it as a percentage.
The RAVI indicator helps traders identify whether the market is in a trending or range-bound phase. When the RAVI value is positive, it indicates a bullish trend, suggesting that the market is in an uptrend. Conversely, a negative RAVI value indicates a bearish trend or a downtrend.
Traders can use the RAVI indicator in several ways. Here are a few common strategies:
1. **Trend confirmation**: Traders can use RAVI to confirm the strength of a trend identified by other indicators or price patterns. If the RAVI value aligns with the direction of the trend, it provides additional confirmation.
2. **Overbought and oversold conditions**: Traders can use extreme RAVI values to identify overbought or oversold conditions in the market. When the RAVI value reaches high positive or negative levels, it suggests that the market may be due for a reversal or a retracement.
3. **Divergence**: Traders can look for divergences between the RAVI indicator and the price action. For example, if the price makes a higher high, but the RAVI value makes a lower high, it could indicate a weakening trend and a potential reversal.
As with any technical indicator, it is essential to use RAVI in conjunction with other tools and analysis techniques to make informed trading decisions. Traders should also consider factors such as market conditions, risk management, and other supporting indicators to validate their trading strategies.
In this indicator, an additional simple moving average (SMA) is introduced to consider long-term bias. This modification allows the Range Action Verification Index (RAVI) to be used as a volatility filter. By comparing the shorter SMA with this longer SMA, traders can gain insights into the market's volatility and adjust their trading strategies accordingly. This longer SMA helps provide a broader perspective on the market's trend and can be particularly useful for identifying and filtering out periods of high volatility. It is called "L2 Range Action Verification Index (RAVI) with 3 SMA". It calculates the RAVI value based on three simple moving averages (SMA). The code also includes calculations for the upper and lower bands, as well as color gradient settings. Finally, it plots the RAVI values and a midline.
It calculates the Range Action Verification Index (RAVI) using three Simple Moving Averages (SMA). The RAVI measures the difference between two SMAs divided by a third SMA, and then multiplied by 100.
The code starts with defining input parameters such as length, multiplier, and lengths for the three SMAs. Then it assigns the closing price to a variable called "price".
Next, it calculates the three SMAs using the "ta.sma" function from TradingView's built-in technical analysis library. The first SMA uses "sma1Length", the second SMA uses "sma2Length", and the third SMA uses "sma3Length".
After that, it calculates the RAVI by subtracting sma2 from sma1, dividing it by sma3, and multiplying it by 100.
Then it calculates additional values like basis (using another SMA), deviation (using standard deviation), upper band (basis + dev), and lower band (basis - dev).
Finally, it plots these values on a chart using different colors for each line. It also creates an array of gradient colors based on RSI values calculated from another indicator called ALMA. This gradient color is used to colorize the RAVI line.
Overall, this script helps visualize and analyze market trends based on moving averages and their relationship with price movements.
ATR Multiples PlottedInspired by @jeffsuntrading and @Fred6724 's ATR% multiple from 50-MA .
There are no catch-all values, however a high of 6 and a low of -4 generally has been valuable to me. I tend to look at the historical highs and lows of the indicator, and adjust the Value High and Value Low accordingly to get an idea when profit-taking may be sensible.
The essence is the difference between price and the selected moving average, measured in ATRs.
BonsaiBonsai is a tailored tech analysis tool for all traders. It uses dynamic thresholds, sensitivity modes, and averaging to identify market trends. Its scoring system, visual cues, and alerts offer an intuitive trading journey.
═════════════════════════════════════════════════════════════════════════
🌳 Bonsai 🌳 Trend Analysis Indicator
📘 Overview
Bonsai is designed to aid traders in recognizing market trends, utilizing sensitivity as its pivotal component.
📌 Script Logic
• Threshold-Based Trends: Bonsai sets dynamic thresholds based on market deviations from previous highs or lows to identify trend reversals.
• Signal Generation: After ascertaining the trend direction, Bonsai provides buy/sell signals from trend crossovers and crossunders.
• Returns & Scoring: Each signal's potential returns are calculated, considering asset-specific trading fees. A scoring system (1-10) is introduced for traders to evaluate potential profitability quickly.
• Auto-Threshold: Threshold adjustments are made depending on the selected sensitivity mode, optimizing adaptability.
• Visual Indicators: Bonsai visualizes potential market highs and lows through trend lines. Colors differentiate between bullish and bearish market sentiments.
• Trend Line Enhancement with ALMA : Bonsai integrates the Arnaud Legoux Moving Average (ALMA), aiming to refine trend line representation. ALMA may reduce noise, providing a smoother trend line, which might be useful during volatile market conditions. This can potentially lead to improved trend forecasts with fewer fakeouts.
🎯 Purpose
• For Experienced Traders: Bonsai complements professional analysis with its data-driven insights, catering to diverse trading strategies.
• For Newcomers: Serving as an entry to technical analysis, Bonsai's intuitive design and streamlined settings are beginner-friendly.
🛠 Key Elements
• Dynamic Thresholds: Bonsai’s thresholds are dynamic, adapting to market conditions and user-selected sensitivity mode.
• Scoring System: Bonsai’s unique scoring system is grounded on potential returns, streamlining complex market data interpretation.
Performance Table Breakdown
🔧 Classic Elements & Value Added
• Refined Moving Averages: Bonsai incorporates standard moving averages like the EMA, SMA and ALMA to smooth and refine trend lines.
• Enhanced Visual Representation: Bonsai strives to provide clarity beyond just displaying market directions. Its visuals are crafted to help traders understand and potentially act promptly. The deliberate use of color dynamics, trend indications, and integration of moving averages come together to create a representation that aims to stand out in its clarity and simplicity.
📊 Features
• Dynamic Sensitivity Modes : Settings include:
• (Auto) Slow, Mid, Fast : These modes allow Bonsai to auto-adjust its sensitivity in line with market changes.
• 'Slow': Aims to capture larger market moves with fewer signals.
• 'Mid': A balanced mode with a moderate signal frequency.
• 'Fast': Caters to rapid market changes, providing more signals.
• Manual : For traders who prefer setting their sensitivity.
• Visualization: Green indicates bullish trends, and Red indicates bearish ones. Trend colors are customizable in gradient intensity and opacity.
• Performance Insights : A table displaying the effectiveness of all modes, guiding your strategy choices.
• Dashboard Themes : Users can switch between light and dark themes.
• Alert System : Real-time buy/sell signal notifications.
• Compatibility : Output can be integrated as a source for other indicators.
Indicator Settings Menu
🎛 How To Use Bonsai
1. Select your sensitivity mode.
2. Use color cues to analyze market directions.
3. Check the performance insights for strategy adjustment.
4. Set alerts to stay updated.
📜 Feedback & Improvement
We value your feedback. As the trading world evolves, Bonsai will adapt, meeting traders' dynamic needs.
❗️ Disclaimer
Bonsai serves as an analytical tool and isn’t a standalone trading strategy. Its performance table is for reference, and accuracy isn’t guaranteed. Always research thoroughly and be mindful of trading risks. Bonsai facilitates analysis but doesn’t promise particular outcomes.
Predictive Trend and Structure (Expo)█ Overview
The Predictive Trend and Structure indicator is designed for traders seeking to identify future trend directions and interruptions in trend continuation. This indicator is unique because it employs standard deviation to predict upcoming trend directions and potential trend continuation levels. This enables traders to stay ahead of the market.
█ How It Works
This indicator primarily functions based on the calculated standard deviation of the trend over a specified period. It evaluates the trend direction by comparing the current trend value to its previous one and scales the standard deviation, allowing for adjustments in sensitivity to price fluctuations.
█ How to Use
Trend
You can easily identify when a future trend begins by observing where the trend level is displayed. If the price breaks above and remains above the trend, it indicates a bullish trend. Conversely, if the price breaks below and stays below, it signifies a bearish trend.
Support and Resistance
With the Predictive Structure enabled, the indicator aids in identifying potential support and resistance levels.
Trend Continuation Break
Trend continuation breaks occur when prices breaks support or resistance, indicating the existing trend may persist. The indicator plots these levels in advance, allowing traders to quickly identify where trend continuation might occur.
█ Settings
Period for Std Dev: Determines the number of periods used for the standard deviation calculation, impacting the indicator's sensitivity to price changes.
Standard Deviation Scaler: Scales the computed standard deviation, affecting the deviations needed to confirm trends and the indicator's focus on significant trend changes.
Predictive Structure: Enables or disables the prediction of market structures like potential levels of structure breaks/trend continuation breaks.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
The Real Koops - Darvas Box v2.1What Is the Darvas Box?
The Darvas Box strategy was developed by Nicholas Darvas. Aside from being a well known dancer, he began trading stock in the 1950s. Based on his success in trading, he was approached to write a book on his strategy. The book, “How I Made $2,000,000 in the Stock Market,” outlines his approach together with “You can still make it in the market”.
Darvas Box Implementation
The intend behind the Darvas box was for it to be used for rapidly rising technology stocks, and in fact it was never tested or used by Darvas for Commodities. This implementation of the Darvas Box was created specifically in support of Commodity Trends, which tend to be very volatile over long periods of time. The main ones for an uptrend (e.g. longing the market. Shorting the market would work exactly the opposite):
1. When the price of a rapidly rising stock (pls note rapidly rising is key - we are not interested in a sideways trend) is reaching a resistance point, which is does not surpass for three or more consecutive days, that point represents the top of the box.
2. If, after falling from the upper limit, the stock reaches a downward resistance point which it does not penetrate for three of more consecutive days, that level represents the bottom of the box.
3. A stock is in a rising trend when it is in the topmost box. If it remains there, its price fluctuations should be ignored, and the stock is a HOLD.
4. If the price of the stock moves above the top of this topmost box, this stock becomes a BUY. A 10% stop loss should be set at the breakout.
5. Having formed a new higher box, if the price falls below the bottom into the stop loss area of this box, the stock is a SELL.
6. There is no reason to HOLD or BUY a stock that is not in its topmost box.
7. In case a candle pierces out of the top of the box while establishing the bottom of the box, the box is invalidated.
8. If the Box is broken out of on the top, the color is Yellow. If the Box is broken out of on the bottom, the color is Blue.
9. If a Box is being formed in the current timeframe, it is colored Grey, and has clear Buy and Stop Loss indicators so that the user knows how to configure his/her Broker.
10. All parameters for the implementation have been made configurable, so that users can tweak both the presentation of the boxes (background color, border width and style) as well as the configuration of the breakout %, stop loss %, textual presentation and box validation e.g. display arrows where the top and the bottom of the box was drawn, draw boxes only from All Time High back test after a configurable number of years, the number of boxes to be drawn from the last box etc.
11. In addition, two other key principles are critical for application of the indicator:
1. The stock’s price must be at or above its ATH for the past 3 years or more.
2. The volume profile needs to indicate a rapidly growing volume or insider buying (e.g., a volume spike).
How is this implementation different from others?
This implementation holds fully true to the way Darvas described his Darvas Box in his books, but applies it to Commodities. It is in addition, highly configurable, so that it can be used to debug itself (at which points have box boundaries been drawn), and it provides Buy/Sell/Stop Loss levels for entries and exits – again, highly configurable, with defaults set as per Darvas’ books.
Finally, it works over daily to quarterly timeframes (it is not suitable for high frequency trading).
How to use this Indicator?
First, use it with the default settings. Once a grey box is drawn for the current timeframe for the commodity you are interested in investing in (based on Darvas principles outlined above), this box will indicate a Buy level and a Stop loss level based on the principles described above, allowing you to make a purchase decision for that commodity asset accordingly. Then, stay the trade. As the stock continues to move up, more Darvas Boxes will be drawn with new Buy levels and stop loss levels – either add to your position or keep the original investment in play. Once a trend reversal occurs, the Stop loss level will be used to get you out of the trade.
Second, once you are comfortable with this trading methodology, you can refine the script to use a color scheme as you prefer for your Tradingview, as well as set buy, stop loss and sell levels, aligned with your own level of comfort to deal with volatility.
If you wonder why a certain box was drawn at certain levels, you can use the green and red arrows to show the levels based upon which the boxes were drawn.
GKD-E Parabolic SAR [Loxx]The Giga Kaleidoscope GKD-E Parabolic SAR is an exit module included in Loxx's "Giga Kaleidoscope Modularized Trading System."
█ GKD-E Parabolic SAR
The Parabolic Stop and Reverse (SAR) is a technical indicator used in financial markets, particularly in stock and forex trading, to help traders identify potential trend reversals. It plots points on a chart either above or below an asset's price, gradually adjusting their positions as the price continues to move. When the SAR points are above the price, it suggests a downtrend, and when below, it indicates an uptrend. The SAR points act as dynamic stop-loss levels, trailing the price to protect profits and signal potential exit points. Traders often use the Parabolic SAR in conjunction with other indicators to make more informed trading decisions and manage risk effectively in volatile markets.
█ 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, the Average Directional Index (ADX), and the Chandelier Exit.
The purpose of the exit indicator is to identify when a trend is likely to reverse or when the market conditions have changed, signaling the need to exit a trade. By using an exit indicator, traders can manage their risk and prevent significant losses.
In the NNFX system, the exit indicator is used in conjunction with a stop loss and a take profit order to maximize profits and minimize losses. The stop loss order is used to limit the amount of loss that can be incurred if the trade goes against the trader, while the take profit order is used to lock in profits when the trade is moving in the trader's favor.
Overall, the use of an exit indicator in the NNFX trading system is an important component of a comprehensive trading strategy. It allows traders to manage their risk effectively and improve the profitability of their trades by exiting at the right time.
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
MeanReversion - LogReturn/Vola ZScoreShows the z-Score of log-return (blue line) and volatility (black line). In statistics, the z-score is the number of standard deviations by which a value of a raw score is above or below the mean value.
This indicator aggregates z-score based on two indicators:
MeanReversion by Logarithmic Returns
MeanReversion by Volatility
Change the time period in bars for longer or shorter time frames. At a daily chart 252 mean on trading year, 21 mean one trading month.
Multi Timeframe Moving AveragesThe Multi Timeframe Moving Averages indicator is a powerful tool for technical analysis that allows traders to visualize and analyze moving averages from multiple timeframes on a single chart. This can be helpful for identifying trends, support and resistance levels, and potential entry and exit points.
The indicator is highly customizable, allowing traders to choose the number of moving averages to plot, the timeframe for each moving average, and the color and style of each line. Traders can also choose to plot the moving averages as solid lines, dashed lines, or filled bands.
The indicator also includes a number of additional features, such as:
The ability to plot standard deviations around the moving averages
The ability to display a table of all the moving averages on the chart
The ability to draw arrows on the chart to indicate when prices cross the moving averages
The Multi Timeframe Moving Averages indicator can be used by traders of all experience levels and is a valuable tool for any technical trader's arsenal.
EXAMPLE USAGE
One way to use the Multi Timeframe Moving Averages indicator is to identify trends. If the moving averages on all timeframes are sloping in the same direction, then the market is likely trending in that direction. For example, if the 50-day, 100-day, and 200-day moving averages are all sloping upwards, then the market is likely in a bullish trend.
Another way to use the Multi Timeframe Moving Averages indicator is to identify support and resistance levels. Moving averages can act as both support and resistance levels, depending on the direction of the trend. For example, if the market is in a bullish trend, then the 50-day moving average can act as a support level. If the market price falls below the 50-day moving average, it could signal a potential reversal of the trend.
The Multi Timeframe Moving Averages indicator can also be used to identify potential entry and exit points. For example, a trader could enter a long position when the price crosses above the 50-day moving average and exit the position when the price crosses below the 200-day moving average.
BOLLINGER BANDS SIGNAL
For every available timeframe, if prices bounce off the lower band and cross above their moving average, the upper band becomes the upper price target. A crossing below the moving average would identify the lower band as the downside target. In a strong uptrend, prices will usually fluctuate between the upper band and the average. In that case, a crossing below the average warns of a trend reversal to the downside.
USER INPUT SETTINGS
The elements below reflect the indicator’s settings menu structure:
Near Hit % : Reduce/increase target distance by setting them closer/further away from the band. This is a percentage of the distance between the moving average and its bands.
Gradient (Size & Style) : if on, plots a customizable gradient of colors instead of lines to represent standard deviations. Each color can be changed in the Moving Average Settings” section of the settings menu
Arrows (width & Shift) : if on, will display arrow-shaped lines at the right of the real-time bar. After an MA crossover/crossunder, the arrow starts at the moving average and ends at the corresponding band until the target gets hit.
Backtest Table (Location & Size) : if on, shows a timeframe screener table. Use “Small” as a Size for better mobile screen displays. This table allows you to see active targets and their directions across every timeframe. The table also displays the weighted average (%) of Hit targets signals, from the chart's timeframe point of view to all other timeframes.
St. Dev. (length & Mult.) : Bollinger Bands / Standard deviation lookback period & multiplier
Trade Labels : off by default, highlight crossovers, crossunders, and target hit with a label numbered with its corresponding moving average from the settings menu: MA01, MA02, etc.
Moving Averages : Show/hide plotted Moving Averages Lines
Moving Average Settings (plotted)
These are the 5 moving averages and corresponding bands that can be plotted on the chart. For each of those, you can customize their timeframes, types (SMA, EMA, etc.), and lookback periods
Other Moving Averages (no plots)
Similar to the above, these moving averages will reflect on the vertical arrows and inside the table
CONCLUSION
The Multi Timeframe Moving Averages indicator is a powerful tool for technical analysis that can be used to identify trends, support and resistance levels, and potential entry and exit points. The indicator is highly customizable and includes a number of additional features, such as the ability to plot standard deviations and display a table of all the moving averages on the chart. The Multi Timeframe Moving Averages indicator is a valuable tool for any technical trader's arsenal.
Weighted Momentum Forecast
The Weighted Momentum Forecast (EWMF) is a predictive indicator designed to forecast the potential direction and magnitude of the next candle's close. It combines the principles of momentum, trend confirmation, and volatility adjustment to make its predictions.
**Components:**
1. **Rate of Change (ROC)**: Measures the momentum of the market.
2. **Average True Range (ATR)**: Represents the market's recent volatility.
3. **Moving Average Convergence Divergence (MACD)**: Used to confirm the momentum's direction.
4. **Trend Moving Average**: A longer-term moving average to confirm the general trend.
5. **Bollinger Bands**: Adjusts the forecast to account for extreme predictions.
**Logic:**
1. **Momentum Bias**: The crossover and crossunder of the MACD line and its signal line are used to determine the momentum's bias. A crossover indicates a bullish bias, while a crossunder indicates a bearish bias.
2. **Trend Confirmation**: If the current close is above the trend moving average, the indicator has a bullish bias, and vice versa.
3. **Forecast Calculation**: The forecast for the next candle's close is calculated based on the current close, the rate of change, the momentum's bias, and the trend's bias. This value is then adjusted for volatility using the ATR.
4. **Volatility Adjustment**: If the forecasted value is beyond the Bollinger Bands, it's adjusted to be within the bands to account for extreme predictions.
**Usage:**
The EWMF plots a purple line representing the forecasted value of the next candle's close. This forecasted value provides traders with a visual representation of where the price might head in the next period, based on recent momentum, trend, and volatility.
**Note**: This is a heuristic approach and is not guaranteed to be accurate. It's essential to use this indicator in conjunction with other tools, backtest on historical data, and use proper risk management techniques. Always be aware of the inherent risks involved in trading and never risk more than you're willing to lose.