Multi Adaptive Moving Average (MAMA)The Multi Adaptive Moving Average (MAMA) indicator is an advanced tool for technical analysis, designed to provide traders with a detailed understanding of market trends and potential future price movements. This indicator utilizes multiple Simple Moving Averages (SMAs) and forecasting techniques to enhance decision-making processes.
Simple Moving Averages (SMAs):
Short MA (20-period): This moving average is highly responsive to price changes, making it ideal for capturing short-term trends. It helps traders identify quick market shifts and potential entry or exit points.
Mid MA (50-period): This average strikes a balance between short- and long-term trends, offering insights into the market's intermediate direction. It aids in confirming the sustainability of short-term trends.
Long MA (100-period): By smoothing out price data over a longer period, this moving average is useful for identifying long-term trends and filtering out short-term volatility.
Very Long MA (200-period): Often considered a critical indicator for determining the overall market trend, this average helps confirm the direction and strength of long-term movements.
Forecasting:
Flat Forecast: This approach assumes that prices will remain constant in the near future, which is particularly useful in markets trading sideways without a clear trend direction.
Linear Regression Forecast: This method uses historical data to project future price movements, offering a dynamic forecast based on existing trends. It helps traders anticipate potential price changes and plan their strategies accordingly.
Advantages:
Comprehensive Trend Analysis: By incorporating four different SMAs, the indicator provides a layered view of market trends across various timeframes. This enables traders to identify potential trend reversals and continuations with greater accuracy.
Predictive Insights: The forecasting feature offers traders a forward-looking perspective, enabling them to anticipate market movements and adjust their trading strategies proactively. This can be especially advantageous in volatile markets.
Customization: The MAMA indicator is highly customizable, allowing traders to adjust parameters such as the source of price data and the inclusion of the current unclosed candle. This flexibility ensures that the indicator can be tailored to fit different trading styles and market conditions.
Visual Clarity: The use of distinct colors for each SMA and their forecasts enhances visual interpretation, making it easier for traders to quickly assess market conditions and make informed decisions. The inclusion of a legend further aids in distinguishing between the different moving averages and their respective forecasts.
How to Use:
Trend Confirmation: Use the alignment of the SMAs to confirm market trends. For example, when the Short MA crosses above the Mid and Long MAs, it may indicate a bullish trend, while the opposite could suggest a bearish trend.
Entry and Exit Points: Look for crossovers between the SMAs as potential signals for entering or exiting trades. The forecasts can help in timing these decisions by providing an expectation of future price movements.
Risk Management: Utilize the Very Long MA to set stop-loss and take-profit levels, as it reflects the long-term trend and can help in avoiding trades against the prevailing market direction.
The MAMA indicator is intended to support technical analysis and should not be used as the sole basis for making trading decisions. Financial markets are inherently uncertain, and past performance does not guarantee future results. Traders should use this tool in conjunction with other analytical methods and consider their risk tolerance and investment objectives. It is advisable to conduct thorough research and consult with a financial advisor before making significant trading decisions. Always be aware of the risks involved in trading and invest only what you can afford to lose.
Trend Analysis
Institutional Demand Supply IndicatorINTRODUCTION
Institutional demand and supply zones are key areas on a price chart where large institutional traders, such as banks and hedge funds, place significant buy or sell orders. These zones often act as strong support or resistance levels due to the substantial volume of trades executed by institutions.
There are various ways to identify these areas of interest on the charts, but the main goal is to study the price movements, especially significant ones. Large financial entities tend to operate in the same price areas repeatedly. Instead of chasing price movements and risking counter moves, it's better to wait for the price to return to these areas, expecting that these entities will buy or sell there again.
INDICATOR SETTINGS:
1. High Probability Zones (HPZ) - High Probability Zones (HPZ) are demand and supply zones identified using advanced calculations to highlight the most relevant and significant areas. These zones have a higher probability of impacting price movements. Better to keep it turned On.
2. Zone Extension? - Extending zones can be useful for identifying areas that have already been retraced as these zones may continue to influence market dynamics despite the retracement.
3. Zone Type - This option lets you select the zone layout type. 4 options are given which are self explanatory.
4. Directional Candle Count - This option keeps a count of number of consecutive bullish / bearish candle that you would like to set as qualifying parameter for demand / supply zone. For Example - If you keep the number 1, the script will draw a demand or supply zone by just checking if 1 candle has met all the criteria's and calculations.
5. Zone Validity Percentage - You can set the percent change for the number of candles mentioned in point 4 above.
6. HPZ - Keep the number between 6 to 10. As you move the number up, less number of zones will be displayed.
7. Zone Count - You can adjust the number of visible demand and supply zones on the chart. Increase this number if you want to display more zones, or decrease it if the chart becomes too cluttered.
D I S P L A Y
1. Background Color Demand / Supply Zone - This is the background color of demand and supply zone.
2. Channel Color Demand / Supply Zone - This is the color of channel.
3. Channel Line Style - Choose between Solid, dotted or dashed.
4. Background Color Transparency - Choose the transparency of background color
5. Channel Line Width - Choose Channel line width between 1 to 4.
6. Channel Line Transparency - Choose Channel Line Transparency and keep it between 1 to 100.
Sometimes, a level may be breached on one timeframe, but that doesn’t mean the indicator is not working. To understand the price action better, switch to a different timeframe to check why that level was breached and why it found support at a different zone on another timeframe. Look at the 2 screenshots below.
Ultra High/LowThe Ultra High/Low script helps traders track key price levels by automatically marking significant highs and lows on a chart, highlighting potential reversal points for future trading decisions.
Introduction
The Ultra High/Low script identifies and marks significant highs and lows on a trading chart. These are specific points where the price reached a peak or bottomed out before reversing. The script draws lines at these levels, which can be extended, and it also labels the exact price at these points. This makes it easy for traders to see where the price has changed direction previously, helping them make more informed trading decisions.
Detailed Description
In more detail, the Ultra High/Low script is designed using Pine Script™, a programming language used for creating custom indicators and strategies on the TradingView platform. Here's how it works:
..........
Detection of Pivot Highs and Lows
The script identifies "pivot highs" and "pivot lows." These are points on the chart where the price reached a local maximum or minimum, surrounded by lower highs (for pivot highs) or higher lows (for pivot lows).
The user can customize how many bars to the left and right of the high or low the script should consider to confirm a pivot (Length argument in the settings).
The script uses Pine Script functions for pivot detection. ta.pivothigh() and ta.pivotlow() .
......
Drawing Lines and Labels
Once a pivot is identified, the script draws a dashed line from the pivot point to the current price bar. This line helps visualize where significant price reversals have occurred.
The script also adds a label next to these lines showing the exact price of the pivot point. This label also shows "PDH" (Previous Day High) or "PDL" (Previous Day Low) if the pivot is PDH or PDL. Same for "PWH" (Previous Week High) and "PWL" (Previous Week Low).
......
Purging and Extending Lines
If the price crosses a pivot line after it has been drawn, the script can either delete the old line (purged line) or keep it and add additional indicators to show that the line has been liquidated.
The script also has options to extend the lines into the right.
......
Custom Inputs
The script offers several customizable options, like the color of the lines and labels, whether to show the exact price or not, and whether to extend the lines. This allows traders to tailor the indicator to their specific needs and preferences.
..........
Overall, the Ultra High/Low script is a powerful visual aid for identifying critical price levels that may influence future price movements, making it easier for traders to make decisions based on historical price behavior.
Dow Theory based Strategy (Markttechnik)What makes this script unique?
calculates two trends at the same time: a big one for the overall strong trend - and a small one to trigger a trade after a small correction within the big trend
only if both trends (the small and the big trend) are in an uptrend, a buy signal is created: this prevents a buy signal from being generated in a falling market just because an upward movement begins in a small trend
the exit strategy can be configured very flexibly and individually: use the last low as stop loss and automatically switch to a trialing stop loss as soon as the take profit is reached (instead of finishing the trade)
the take profit strategy can also be configured - e.g. use the last high, a fixed percentage or a combination of it
plots each trade in detail on the chart - e.g. inner candles or the exact progression of the stop loss over the entire duration of the trade to allow you to analyze each trade precisely
What does the script do and how?
In this strategy an intact upward trend is characterized by higher highs and lower lows only if the big trend and the small trend are in an upward trend at the same time.
The following describes how the script calculates a buy signal. Every step is drawn to the chart immediately - see example chart above:
1. the stock rises in the big trend - i.e. in a longer time frame
2. a correction takes place (the share price falls) - but does not create a new low
3. the stock rises again in the big trend and creates a new high
From now on, the big trend is in an intact upward trend (until it falls below its last low).
This is drawn to the chart as 3 bold green zigzag lines.
But we do not buy right now! Instead, we want to wait for a correction in the big trend and for the start of a small upward trend.
4. a correction takes place (not below the low from 2.)
Now, the script also starts to calculate the small trend:
5. the stock rises in the small trend - i.e. in a shorter time frame
6. a small correction takes place (not below the low from 4.)
7. the stock rises above the high from 5.: a new high in the shorter time frame
Now, both trends are in an intact upward trend.
A buy signal is created and both the minor and major trend are colored green on the chart.
Now, the trade is active and:
the stop loss is calculated and drawn for each candle
the take profit is calculated and drawn to the chart
as soon as the price reaches the take profit or the stop loss, the trade is closed
Features and functionalities
Uptrend : An intact upward trend is characterized by higher highs and lower lows. Uptrends are shown in green on the chart.
The beginning of an uptrend is numbered 1, each subsequent high is numbered 2, and each low is numbered 3.
Downtrend: An intact downtrend is characterized by lower highs and lower lows. Downtrends are displayed in red on the chart.
Note that our indicator does not show the numbering of the points of the downtrend.
Trendless phases: If there is no intact trend, we are in a trendless phase. Trendless phases are shown in blue on the chart.
This occurs after an uptrend, when a lower low or a lower high is formed. Or after a downtrend, when a higher low or a higher high is formed.
Buy signals
A buy signal is generated as soon as a new upward trend has been formed or a new high has been established in an intact upward trend.
But even before a buy signal is generated, this strategy anticipates a possible emerging trend and draws the next possible trading opportunity to the chart.
In addition to the (not yet reached) buy price, the risk-reward ratio, the StopLoss and the TakeProfit price is shown.
With this information, you can already enter a StopBuy order, which is thus triggered directly with the then created buy signal.
You can configure, if a buy signal shall be created while the big trend is an uptrend, a downtrend and/or trendless.
Exit strategy
With this strategy, you have multiple possibilities to close your position. All of them can be configured within the settings. In general, you can combine a take profit strategy with a stop loss strategy.
The take profit price will be calculated once for each trade. It will be drawn to the chart for active trade.
Depending on your configuration, this can be the last high (which is often a resistance level), a fixed percentage added to the buy price or the maximum of both.
You can also configure that a trailing stop loss is used as soon as the take profit price is reached once.
The stop loss gets recalculated with each candle and is displayed and plotted for each active and finished trade. With this, you can easily check how the stop loss changed during your trades.
The stop loss can be configured flexibly:
Use the classic "trailing stop loss" that follows the price from below.
Set the stop loss to the last low and tighten it every time the small trend marks a new local low.
Confiure that the stop loss is tightened as soon as the break even is reached. Nothing is more annoying than a trade turning from a win to a loss.
Ignore inside candles (see description below) and relax the stop loss to use the outside candle for its calculation.
Inner candles
Inner candles are created when the candle body is within the maximum values of a previous candle (the outer candle). There can be any number of consecutive inner candles. As soon as you have activated the "Check inner candles" setting, all consecutive inner candles will be highlighted in yellow on the chart.
Prices during an inner candle scenario might be irrelevant for trading and can be interpreted as fluctuations within the outside candle. For this reason, the trailing stop loss should not be aligned with inner candles. Therefore, as soon as an inner candle occurs, the stop loss is reset and the low at the time of the outside candle is used as the calculation for the trailing stop loss. This will all be plotted for you on the chart.
Display of the trades:
All active and closed trades of the last 5 years are displayed in the chart with buy signal, sell, stop loss history, inside candles and statistics.
Backtesting:
The strategy can be simulated for each stock over the period of the last 5 years. Each individual trade is recorded and can be traced and analyzed in the chart including stop loss history. Detailed evaluations and statistics are available to evaluate the performance of the strategy.
Additional Statistics
This strategy immediately displays a statistic table to the chart area giving you an overview of its performance over the last years for the given chart.
This includes:
The total win/loss in $ and %
The win/loss per year in %
The active investment time in days and % (e.g. invested 10 of 100 trading days -> 10%)
The total win/loss in %, extrapolated to 100% equity usage: Only with this value can strategies really be compared. Because you are not invested between the trades and could invest in other stocks during this time. This value indicates how much profit you would have made if you had been invested 100% of the time - or to put it another way - if you had been invested 100% of the time in stocks with exactly the same performance. Let's say you had only one trade in the last 5 years that lasted, say, only one month and made 5% profit. This would be significantly better than a strategy with which you were invested for, say, 5 years and made 10% profit.
The total profit/loss per year in %, extrapolated to 100% equity usage
Notifications (alerts):
Get alerted before a new buy signal emerges to create an order if necessary and not miss a trade. You can also be notified when the stop loss needs to be adjusted. The notification can be done in different ways, e.g. by Mail, PopUp or App-Notification. This saves them the annoying, time-consuming and error-prone "click through" all the charts.
Settings: Display Settings
With these settings, you have the possibility to:
Show the small or the big trend as a background color
Configure if the numbers (1-2-3-2-3) shall be shown at all or only for the small, the big trend or both
Settings: Trend calculation - fine tuning
Drawing trend lines on a chart is not an exact science. Some highs and lows are not very clear or significant. And so it will always happen that 2 different people would draw different trendlines for the same chart. Unfortunately, there is no exact "right" or "wrong" here.
With the options under "Trend Calculation - Fine Tuning" you have the possibility to influence the drawing in of trends and to adapt it to your personal taste.
Small Trend, Big Trend : With these settings you can influence how significant a high or low has to be to recognize them as an independent high or low. The larger the values, the more significant a high or low must be to be recognized as such.
High and low recognition : With this setting you can influence when two adjacent, almost identical highs or lows should be recognized as independent highs or lows. The higher the value, the more different "similar" highs or lows must be in order to be recognized as such.
Which default settings were selected and why
Show Trades: true - its often useful to see all recent trades in the chart
Time Frame: 1 day - most common time frame (except for day traders)
Take Profit: combined 10% - the last high is taken as take profit because the trend often changes there, but only if there is at least 10% profit to ensure we do not risk money for a tiny profit
Stop Loss: combined - the last low is used as stop loss because the trend would break there and switch to a trailing stop loss as soon as our take profit is reached to let our profits run without risking them anymore
Stop Loss distance: 3% - we are giving the price 3% air (below the last low) to avoid being stopped out due to a short price drop
Trailing Stop Loss: 2% - we have to give the stop loss some room to avoid being stopped out prematurely; this is a value that is well balanced between a certain downside distance and the profit-taking ratio
Set Stop Loss to break even: true, 2% - once we reached the break even, it is a common practice to not risk our money anymore, the value is set to the same value as the trailing stop loss
Trade Filter: Uptrend - we only start trades if the big trend is an uptrend in the expectation that it will continue after a small correction
Display settings: those will not influence the trades, feel free to change them to your needs
Trend calculation - Fine Tuning: 1/1,5/0,05; influences the internal calculation for highs and lows and how significant they need to be to be considered a new high or low; the default values will provide you nicely calculated trends in the daily time frame; if there are too many or too few lows and highs according to your taste, feel free to play around and immediately see the result drawn to the chart; read the manual for a detailed description of this values
Note that you can (and should) configure the general trading properties like your initial capital, order size, slippage and commission.
Tick Range Engulfing Candle Highlighter with Trend ChangeOverview
The "Tick Range Engulfing Candle Highlighter with Trend Change" indicator is designed to identify potential trend reversals by analyzing the size of each candle relative to a customizable tick size. This indicator highlights key moments when the market may shift direction based on an "engulfing" candle pattern, where the current candle's price range is larger than the previous one. By identifying these moments, traders can gain insight into possible trend changes, which could be useful for various trading strategies, including trend-following or reversal-based trading.
Key Concepts
Tick Size:
The indicator uses a user-defined tick size to calculate the price range of each candle. The tick size represents the minimum price movement that the market recognizes, allowing for more precise control over the range calculations.
Engulfing Candle Pattern:
The concept of an "engulfing candle" refers to a scenario where the current candle’s range (high minus low) is larger than the previous candle’s range. This pattern can signal a potential trend reversal, especially when combined with a change in the candle's direction (bullish to bearish or bearish to bullish).
Trend Change Detection:
The indicator specifically looks for situations where a bullish candle is followed by a larger bearish candle (indicating a potential downward trend reversal) or where a bearish candle is followed by a larger bullish candle (indicating a potential upward trend reversal).
The trend change is validated by comparing the tick range of the current and previous candles, ensuring that the current range is larger, which adds significance to the reversal signal.
How the Indicator Works
Input and Calculation:
Users start by setting the tick size through the indicator’s input. The script then calculates the tick range for the current and previous candles by dividing the difference between the high and low prices by the specified tick size.
Candle Direction Analysis:
The indicator assesses whether each candle is bullish (closing price higher than the opening price) or bearish (closing price lower than the opening price).
Engulfing and Trend Reversal Detection:
The script checks for an engulfing pattern combined with a change in the candle's direction:
Bullish to Bearish Change: Detected when a bullish candle is followed by a larger bearish candle.
Bearish to Bullish Change: Detected when a bearish candle is followed by a larger bullish candle.
Visual Cues:
When the conditions for a trend change are met, the indicator plots visual signals on the chart:
A red downward arrow below the candle indicates a potential bearish reversal.
A green upward arrow above the candle indicates a potential bullish reversal.
How to Use This Indicator
Customization:
Adjust the tick size to match the asset’s characteristics or your trading preferences. A smaller tick size will result in more sensitive detection, while a larger tick size will smooth out minor fluctuations.
Trade Confirmation:
This indicator can be used as a confirmation tool for other trend-following or reversal strategies. It’s particularly useful for traders looking to identify early signs of trend reversals.
Strategy Integration:
Consider integrating this indicator with other technical analysis tools such as moving averages, RSI, or support/resistance levels to build a more comprehensive trading strategy.
Underlying Concepts
The core idea behind this indicator is the principle of engulfing patterns combined with tick size analysis. By focusing on candles that not only change direction but also show a significant increase in range, the indicator highlights moments when the market may be experiencing a substantial shift in momentum. This method can help traders filter out noise and focus on more meaningful potential reversals.
In summary, the "Tick Range Engulfing Candle Highlighter with Trend Change" indicator provides traders with a tool to spot potential trend changes based on price action and candle analysis. It's flexible, allowing for customization, and can be a valuable addition to various trading strategies.
Uptrick: Price Exaggerator
## Uptrick: Price Exaggerator
** Purpose and Overview **:
The "Uptrick: Price Exaggerator" is an innovative Pine Script™ indicator that provides traders with a unique way to visualize potential price extremes. Unlike traditional indicators that focus on historical price data or statistical patterns, this script applies dynamic multipliers to the asset’s closing price to project exaggerated price levels. This approach offers fresh insights into potential market extremes and can be particularly useful for identifying possible overbought or oversold conditions.
** Functionality **:
- ** Dynamic Price Exaggeration **: This script applies a range of multipliers to the closing price to generate several projected price levels. These levels are plotted as lines on the chart, helping traders visualize potential future price extremes beyond typical market ranges.
- ** Highly Customizable **: Users can adjust multipliers, select different source prices (like open, high, low), and choose colors to match their trading strategies and preferences.
- ** Real-Time Updates **: The plotted levels update in real-time, reflecting the latest market conditions and providing an ongoing perspective on potential price extremes.
** Detailed Inputs and Configuration **:
1. ** Multiplier Settings **:
- ** Purpose **: Adjusts the degree of price exaggeration to visualize potential extreme price levels.
- ** Inputs **:
- **Multiplier 1**: Default 0.9 (90% of the source price)
- **Multiplier 2**: Default 0.8 (80% of the source price)
- **Multiplier 3**: Default 1.1 (110% of the source price)
- **Multiplier 4**: Default 1.2 (120% of the source price)
- **Multiplier 5**: Default 1.5 (150% of the source price)
- ** Impact **: Higher multipliers show more distant potential levels, indicating possible resistance or support at extreme levels. Lower multipliers highlight nearer levels, suggesting smaller potential movements.
2. ** Source Price Selection **:
- ** Purpose **: Determines the base data for calculating exaggerated price levels.
- **Inputs**:
- **Source 1**: Default is closing price (can be customized)
- **Source 2**: Default is closing price
- **Source 3**: Default is closing price
- **Source 4**: Default is closing price
- **Source 5**: Default is closing price
- ** Customization **: Users can select various sources (e.g., open, high, low) for each multiplier, tailoring the tool to their analytical needs.
3. ** Color Customization **:
- ** Purpose **: Enhances visual clarity by distinguishing between different exaggerated levels.
- **Inputs**:
- **Color 1**: Default red
- **Color 2**: Default blue
- **Color 3**: Default green
- **Color 4**: Default orange
- **Color 5**: Default purple
- ** Customization **: Colors can be adjusted to fit user preferences and chart color schemes.
4. ** Plotting the Lines **:
- ** Purpose **: Provides a visual representation of potential future price extremes on the chart.
- ** Implementation **: Lines are plotted based on the selected multipliers and source prices, offering a clear view of potential price scenarios.
** Using the Script for Market Analysis **:
1. ** Identifying Overbought Conditions **:
- ** Method **: Observe exaggerated price levels above the current market price. Approaching or exceeding higher multiplier levels may indicate overbought conditions.
- ** Analysis **: These levels can act as potential resistance zones where price reversals or consolidations might occur.
2. ** Spotting Oversold Conditions **:
- ** Method **: Observe exaggerated price levels below the current market price. If the price approaches or falls below lower multiplier levels, it may suggest oversold conditions.
- ** Analysis **: These levels might serve as support zones where price bounces or stabilization could happen.
3. ** Detecting Smaller Movements **:
- **Detailed Examination**: Lower multiplier levels can highlight minor support and resistance levels, useful for traders focusing on smaller price fluctuations.
- ** Fine-Tuning **: Adjust multipliers to zoom in on specific price ranges and better detect small market movements.
** How to Use the Script **:
1. ** Add the Script to Your Chart **:
- Scroll to the bottom of this description and right where there is the source code, click ' Add to Favourites ' - Now you can go to a chart, go to your ' favorites ', and you will find it there.
2. ** Configure Inputs **:
- Click the gear icon next to the script in the indicators panel to open settings.
- Adjust multipliers, source prices, and colors according to your analysis needs.
3. ** Interpret the Levels **:
- Analyze the plotted levels to assess potential overbought or oversold conditions and identify possible price extremes.
- Combine insights with other indicators and patterns for more informed trading decisions.
** Conceptual Framework **:
The "Uptrick: Price Exaggerator" offers a novel approach to market analysis by exaggerating price levels through dynamic multipliers. This unique method extends beyond conventional indicators, providing traders with a different perspective on potential price movements and market extremes. By customizing inputs and visualizing potential price scenarios, this script enhances market analysis and supports diverse trading strategies.
** Originality and Uniqueness **:
This script stands out by applying dynamic multipliers to the source price, offering a fresh way to anticipate potential market extremes. Unlike standard indicators, which often rely on historical data or statistical methods, the "Uptrick: Price Exaggerator" provides a distinctive view of future price levels. Its customizable features and real-time updates offer traders a flexible tool that can adapt to various market conditions and personal trading styles.
Unleash Bitcoin's Next Move with S&P Divergence!BTC_GO_LONG_SONG
This script works like a special helper that watches two things: Bitcoin (a popular type of digital money) and the S&P 500 (which is like a big basket of important companies' stocks).
Imagine Bitcoin and the S&P 500 are connected by an invisible elastic band.
When they move together: The elastic band stays relaxed.
When they move apart: The elastic band stretches.
This script keeps an eye on how much the elastic band stretches.
If Bitcoin starts to move in a different way than the S&P 500 and the band stretches a lot, the script thinks that Bitcoin might snap back or make a big jump soon.
Here’s how it works:
Volume Check: The script looks at how many people are buying or selling Bitcoin. If a lot more people are trading than usual, it’s like a signal that something big might happen.
Price Movement: It watches how Bitcoin’s price is changing. If Bitcoin breaks away from its usual pattern and moves far from where it was recently, it could be a sign that a big change is coming.
Elastic Band Check: The script checks if Bitcoin is moving differently than the S&P 500. If Bitcoin is doing its own thing while the S&P 500 moves in another direction, it’s like the elastic band is being stretched.
When all these things happen together—high trading volume, unusual price movement, and a stretched elastic band—the script shows a green triangle on the chart.
This triangle is a signal for people who believe Bitcoin might go up (the Bulls) that it could be a good time to think about entering a trade because a breakout might be coming.
This explanation uses the idea of an elastic band to describe the relationship between Bitcoin and the S&P 500, making it easier to understand how this script helps traders spot potential breakout opportunities.
ICT Unicorn | Flux Charts💎 GENERAL OVERVIEW
Introducing our new ICT Unicorn Indicator! This indicator is built around the ICT's "Unicorn" strategy. The strategy uses Breaker Blocks and Fair Value Gaps for entry confirmation. For more information about the process, check the "HOW DOES IT WORK" section.
Features of the new ICT Unicorn Indicator :
Implementation of ICT's Unicorn Strategy
Toggleable Retracement Entry Method
3 Different TP / SL Methods
Customizable Execution Settings
Customizable Backtesting Dashboard
Alerts for Buy, Sell, TP & SL Signals
📌 HOW DOES IT WORK ?
The ICT Unicorn entry model merges the concepts of Breaker Blocks and Fair Value Gaps (FVGs), offering a distinct method for identifying trade opportunities. By integrating these two elements, we can have a position entry with stop-loss and take-profit targets on the potential support & resistance zones. This model is particularly reliable for trade entry, as it combines two powerful entry techniques.
An ICT Unicorn Model consists of a FVG which is overlapping with a Breaker Block of the same type. Here is an example :
When a FVG overlaps with a Breaker Block of the same type, the indicator gives a Buy or Sell signal depending on the FVG type (Bullish & Bearish). If the "Require Retracement" option is enabled in the settings, the signals are not given immediately. Instead, the current price of the ticker will need to touch the FVG once more before the signals are given.
After the Buy or Sell signal, the indicator immediately draws the take-profit (TP) and stop-loss (SL) targets. The indicator has three different TP & SL modes, explained in the "Settings" section of this write-up.
You can set up alerts for entry and TP & SL signals, and also check the current performance of the indicator and adjust the settings accordingly to the current ticker using the backtesting dashboard.
🚩 UNIQUENESS
This indicator is an all-in-one suit for the ICT's Unicorn concept. It's capable of plotting the strategy, giving signals, a backtesting dashboard and alerts feature. Different and customizable algorithm modes will help the trader fine-tune the indicator for the asset they are currently trading. Three different TP / SL modes are available to suit your needs. The backtesting dashboard allows you to see how your settings perform in the current ticker. You can also set up alerts to get informed when the strategy is executable for different tickers.
⚙️ SETTINGS
1. General Configuration
FVG Detection Sensitivity -> You may select between Low, Normal, High or Extreme FVG detection sensitivity. This will essentially determine the size of the spotted FVGs, with lower sensitivies resulting in spotting bigger FVGs, and higher sensitivies resulting in spotting all sizes of FVGs.
Swing Length -> Swing length is used when finding order block formations. Smaller values will result in finding smaller order & breaker blocks.
Require Retracement ->
a) Disabled : The entry signal is given immediately once a FVG overlaps with a Breaker Block of the same type.
b) Enabled : The current price of the ticker will need to touch the FVG once more before the entry signal is given.
2. TP / SL
TP / SL Method ->
a) Unicorn : This is the default option. The SL will be set to the lowest low of the last 100 bars with an extra offset in a Buy signal. For Sell signals, the SL will be set to the highest high of the last 100 bars with an extra offset. The TP is then set to a value using the SL value and maintaining a risk-reward ratio.
b) Dynamic: The TP / SL zones will be auto-determined by the algorithm based on the Average True Range (ATR) of the current ticker.
c) Fixed : You can adjust the exact TP / SL ratios from the settings below.
Dynamic Risk -> The risk you're willing to take if "Dynamic" TP / SL Method is selected. Higher risk usually means a better winrate at the cost of losing more if the strategy fails. This setting is has a crucial effect on the performance of the indicator, as different tickers may have different volatility so the indicator may have increased performance when this setting is correctly adjusted.
Intramarket Difference Index StrategyIntramarket Difference Indicator (IDI) Strategy:
In layman’s terms this strategy compares two indicators across (correlated) markets and exploits their differences.
📍 Import Notes:
This Strategy calculates trade position size independently, this means that the ‘Order size’ input in the ‘Properties’ tab will have no effect on the strategy. Why ? because this allows us to define custom position size algorithms which we can use to improve our risk management and equity growth over time. Here we have the option to have fixed quantity or fixed percentage of equity ATR (Average True Range) based stops in addition to the turtle trading position size algorithm.
‘Pyramiding’ does not work for this strategy’, similar to the order size input togeling this input will have no effect on the strategy as the strategy explicitly defines the maximum order size to be 1.
This strategy is not perfect, and as of writing of this post I have not traded this algo.
Always take your time to backtests and debug the strategy.
🔷 The IDI Strategy:
By default this strategy pulls data from your current TV chart and then compares it to the base market, be default BINANCE:BTCUSD . The strategy pulls SMA and RSI data from either market (we call this the difference data), standardizes the data (solving the different unit problem across markets) such that it is comparable and then differentiates the data, calling the result of this transformation and difference the Intramarket Difference (ID). The formula for the the ID is
ID = market1_diff_data - market2_diff_data (1)
Where
market(i)_diff_data = diff_data / ATR(j)_market(i)^0.5,
where i = {1, 2} and j = the natural numbers excluding 0
Formula (1) interpretation is the following
When ID > 0: this means the current market outperforms the base market
When ID = 0: Markets are at long run equilibrium
When ID < 0: this means the current market underperforms the base market
To form the strategy we define one of two strategy type’s which are Trend and Mean Revesion respectively.
🔸 Trend Case:
Given the ‘‘Strategy Type’’ is equal to TREND we define a threshold for which if the ID crosses over we go long and if the ID crosses under the negative of the threshold we go short.
The motivating idea is that the ID is an indicator of the two symbols being out of sync, and given we know volatility clustering, momentum and mean reversion of anomalies to be a stylised fact of financial data we can construct a trading premise. Let's first talk more about this premise.
For some markets (cryptocurrency markets - synthetic symbols in TV) the stylised fact of momentum is true, this means that higher momentum is followed by higher momentum, and given we know momentum to be a vector quantity (with magnitude and direction) this momentum can be both positive and negative i.e. when the ID crosses above some threshold we make an assumption it will continue in that direction for some time before executing back to its long run equilibrium of 0 which is a reasonable assumption to make if the market are correlated. For example for the BTCUSD - ETHUSD pair, if the ID > +threshold (inputs for MA and RSI based ID thresholds are found under the ‘‘INTRAMARKET DIFFERENCE INDEX’’ group’), ETHUSD outperforms BTCUSD, we assume the momentum to continue so we go long ETHUSD.
In the standard case we would exit the market when the IDI returns to its long run equilibrium of 0 (for the positive case the ID may return to 0 because ETH’s difference data may have decreased or BTC’s difference data may have increased). However in this strategy we will not define this as our exit condition, why ?
This is because we want to ‘‘let our winners run’’, to achieve this we define a trailing Donchian Channel stop loss (along with a fixed ATR based stop as our volatility proxy). If we were too use the 0 exit the strategy may print a buy signal (ID > +threshold in the simple case, market regimes may be used), return to 0 and then print another buy signal, and this process can loop may times, this high trade frequency means we fail capture the entire market move lowering our profit, furthermore on lower time frames this high trade frequencies mean we pay more transaction costs (due to price slippage, commission and big-ask spread) which means less profit.
Note it is possible that after printing a buy the strategy then prints many sell signals before returning to a buy, which again has the same implications. The image below showcases the theory above, by allowing our winner to run we may capture more profit.
Valid trades are denoted by solid green and red arrows respectively and all other valid trades which occur within the original signal are light green and red small arrows, if we were to close our trades when the IDI returns to its equilibrium of 0 our average bars per trade would be very low and we would not capture the general trend.
Note by capturing the sum of many momentum moves we are essentially following the trend hence the trend following strategy type.
Here we also print the IDI (with default strategy settings with the MA difference type), we can see that by letting our winners run we may catch many valid momentum moves, that results in a larger final pnl that if we would otherwise exit based on the equilibrium condition.
Note if you would like to plot the IDI separately copy and paste the following code in a new Pine Script indicator template.
indicator("IDI")
// INTRAMARKET INDEX
var string g_idi = "intramarket diffirence index"
ui_index_1 = input.symbol("BINANCE:BTCUSD", title = "Base market", group = g_idi)
// ui_index_2 = input.symbol("BINANCE:ETHUSD", title = "Quote Market", group = g_idi)
type = input.string("MA", title = "Differrencing Series", options = , group = g_idi)
ui_ma_lkb = input.int(24, title = "lookback of ma and volatility scaling constant", group = g_idi)
ui_rsi_lkb = input.int(14, title = "Lookback of RSI", group = g_idi)
ui_atr_lkb = input.int(300, title = "ATR lookback - Normalising value", group = g_idi)
ui_ma_threshold = input.float(5, title = "Threshold of Upward/Downward Trend (MA)", group = g_idi)
ui_rsi_threshold = input.float(20, title = "Threshold of Upward/Downward Trend (RSI)", group = g_idi)
//>>+----------------------------------------------------------------+}
// CUSTOM FUNCTIONS |
//<<+----------------------------------------------------------------+{
// construct UDT (User defined type) containing the IDI (Intramarket Difference Index) source values
// UDT will hold many variables / functions grouped under the UDT
type functions
float Close // close price
float ma // ma of symbol
float rsi // rsi of the asset
float atr // atr of the asset
// the security data
getUDTdata(symbol, malookback, rsilookback, atrlookback) =>
indexHighTF = barstate.isrealtime ? 1 : 0
= request.security(symbol, timeframe = timeframe.period,
expression = [close , // Instentiate UDT variables
ta.sma(close, malookback) ,
ta.rsi(close, rsilookback) ,
ta.atr(atrlookback) ])
data = functions.new(close_, ma_, rsi_, atr_)
data
// Intramerket Difference Index
idi(type, symbol1, malookback, rsilookback, atrlookback, mathreshold, rsithreshold) =>
threshold = float(na)
index1 = getUDTdata(symbol1, malookback, rsilookback, atrlookback)
index2 = getUDTdata(syminfo.tickerid, malookback, rsilookback, atrlookback)
// declare difference variables for both base and quote symbols, conditional on which difference type is selected
var diffindex1 = 0.0, var diffindex2 = 0.0,
// declare Intramarket Difference Index based on series type, note
// if > 0, index 2 outpreforms index 1, buy index 2 (momentum based) until equalibrium
// if < 0, index 2 underpreforms index 1, sell index 1 (momentum based) until equalibrium
// for idi to be valid both series must be stationary and normalised so both series hae he same scale
intramarket_difference = 0.0
if type == "MA"
threshold := mathreshold
diffindex1 := (index1.Close - index1.ma) / math.pow(index1.atr*malookback, 0.5)
diffindex2 := (index2.Close - index2.ma) / math.pow(index2.atr*malookback, 0.5)
intramarket_difference := diffindex2 - diffindex1
else if type == "RSI"
threshold := rsilookback
diffindex1 := index1.rsi
diffindex2 := index2.rsi
intramarket_difference := diffindex2 - diffindex1
//>>+----------------------------------------------------------------+}
// STRATEGY FUNCTIONS CALLS |
//<<+----------------------------------------------------------------+{
// plot the intramarket difference
= idi(type,
ui_index_1,
ui_ma_lkb,
ui_rsi_lkb,
ui_atr_lkb,
ui_ma_threshold,
ui_rsi_threshold)
//>>+----------------------------------------------------------------+}
plot(intramarket_difference, color = color.orange)
hline(type == "MA" ? ui_ma_threshold : ui_rsi_threshold, color = color.green)
hline(type == "MA" ? -ui_ma_threshold : -ui_rsi_threshold, color = color.red)
🔸 Mean Reversion Case:
We stated prior that mean reversion of anomalies is an standerdies fact of financial data, how can we exploit this ?
We exploit this by normalizing the ID by applying the Ehlers fisher transformation. We now assume our series is approximately normally distributed. To form the strategy we employ the same logic as for e the z score, if the FT normalized ID >< 2.5 or -2.5 respectively we buy or short respectively. We also employ the same exit conditions (fixed ATR stop and trailing Donchian Trailing stop)
🔷 Position Sizing:
If ‘‘Fixed Risk From Initial Balance’’ is toggled true this means we risk a fixed percentage of our initial balance, if false we risk a fixed percentage of our equity (current balance).
Note we also employ a volatility adjusted position sizing formula, the turtle training method which is defined as follows.
Turtle position size = (1/ r * ATR * DV) * C
Where,
r = risk factor coefficient (default is 20)
ATR(j) = risk proxy, over j times steps
DV = Dollar Volatility, where DV = (1/Asset Price) * Capital at Risk
🔷 Risk Management:
Correct money management means we can limit risk and increase reward (theoretically). Here we employ
Max loss and gain per day
Max loss per trade
Max number of consecutive losing trades until trade skip
To read more see the tooltips (info circle).
Note the ATR stop losses and take profits are defined, with the prior being default.
ATR SL and TP defined
🔷 Hurst Regime (Regime Filter):
The Hurst Exponent (H) aims to segment the market into three different states, Trending (H > 0.5), Random Geometric Brownian Motion (H = 0.5) and Mean Reverting / Contrarian (H < 0.5). In my interpretation this can be used as a trend filter that eliminates market noise.
We utilize the trending and mean reverting based states, as extra conditions required for valid trades both strategy types respectively, in the process increasing our trade entry quality.
🔷 Example model Architecture:
Here is an example of one configuration of this strategy, combining all aspect discussed in this post.
Asset Overlay with Lag [CubeT]Asset Overlay with Lag
This indicator allows you to overlay a secondary asset on your main chart with a customizable lag. It's perfect for traders who want to analyze the relationship between the current asset and another asset with a time-shifted perspective. The secondary asset’s price data can be lagged by any number of bars, helping you spot leading or lagging behaviors between assets.
Features:
Overlay a secondary asset on your current chart.
Adjust the lag of the secondary asset to visually compare time-shifted movements.
Easily customize the lag amount directly within the settings.
How to Use:
Add the Indicator: Apply the indicator to your chart in TradingView.
Select the Secondary Asset: Choose the asset you wish to overlay (e.g., "BTC") from the indicator settings.
Set the Lag: Adjust the lag amount in bars (e.g., 7 bars for a 1-week lag on a daily chart).
Adjust Price Scale (Right-click on plotted secondary asset line > Select "Pin to scale" and choose "Pin to new left scale" to separate the scales for clearer comparison.
Price and OI ChangePrice and OI Change
Description:
The "Price and OI Change" indicator provides insights into market dynamics by analyzing the price and open interest (OI) changes over a 7-day period. This indicator is designed for use with both spot and futures markets, including cryptocurrencies.
Key Features:
Price and OI Change Calculation: Computes the 7-day change in price and open interest to help identify market trends and shifts.
Market Conditions Visualization: Differentiates market conditions by changing the background color based on:
Leverage-Driven Market: Blue background indicates increasing prices and OI, suggesting a bullish trend driven by leverage.
Spot-Driven Market: Green background shows increasing prices but decreasing OI, indicating a bullish trend driven by spot market activity.
Leverage Sell-Off: Orange background reveals decreasing prices with increasing OI, signaling a potential liquidation phase.
Deleveraging Sell-Off: Red background reflects decreasing prices and OI, indicating a bearish market with reduced leverage.
Top 3 BTC Futures Average OI: Displays the average open interest for the top 3 BTC futures contracts from major exchanges (Binance, OKX, Bybit). This helps gauge overall market sentiment and liquidity.
Visualization Tools: Includes optional plotting of open interest data and average OI for better visualization of market conditions.
Usage:
Traders and Analysts: Use the background color changes and average OI to make informed decisions about market entry and exit points.
Futures Traders: Track OI changes in major BTC futures to assess market strength and potential liquidity issues.
Flow IndicatorThe Flow Indicator is designed to help you identify potential breakout and reversal points by analysing market momentum, volume, and dynamic price zones. Here's how to effectively use this indicator in your trading:
1. Flow Zones
Flow High: This is the highest high over the specified Period. It acts as a resistance level.
Flow Low: This is the lowest low over the Period. It acts as a support level.
Flow Mid: The midpoint between Flow High and Low, acting as a pivot or balance point for price action.
2. Momentum Flow and Volume Pressure
Momentum: Calculated using the RSI, this helps you gauge the strength of the current price move.
Volume Pressure: The moving average of volume helps you understand the level of market participation.
3. Energy Surge
Energy Surge: This proprietary calculation combines momentum and volume pressure to identify potential "energy surges" in the market. When these surges occur, the market is likely to make a significant move.
Energy Multiplier: This input allows you to adjust the sensitivity of energy surges. Higher values make the indicator less sensitive, while lower values increase sensitivity.
4. Buy and Sell Signals
Buy Signal: A buy signal is generated when an energy surge crosses above the specified energyMultiplier and the price is above the Flow Mid. This indicates potential upward momentum with strong market participation.
Sell Signal: A sell signal is generated when an energy surge crosses above the energyMultiplier and the price is below the Flow Mid. This indicates potential downward momentum with strong market participation.
5. Visual Cues
Flow Zones: The indicator plots the Flow High, Low, and Mid lines on your chart. These help you identify key levels where price action is likely to react.
Energy Surge Histogram: The energy surge is plotted as a histogram, showing when these surges occur.
Background Colours: When a buy signal is generated, the background turns green, indicating a potential buy zone. Similarly, when a sell signal is generated, the background turns red, indicating a potential sell zone.
6. Practical Application
Trend Continuation: Use buy signals when the price is above the Flow Mid and the market is in an uptrend. Similarly, use sell signals when the price is below the Flow Mid and the market is in a downtrend.
Reversals: If a signal occurs near the Flow High or Low, it could indicate a reversal. For instance, if a buy signal is generated near the Flow Low, it could signal a reversal from a support level.
Breakouts: Watch for signals that occur as the price breaks through the Flow High or Low. These can indicate strong breakout opportunities.
7. Customisation
Flow Period: Adjust this setting to change the sensitivity of the Flow Zones. Shorter periods will react more quickly to recent price changes, while longer periods will provide more stable zones.
Momentum Period: This controls the sensitivity of the RSI-based momentum calculation. Shorter periods react faster, while longer periods smooth out the momentum.
Volume Period: This setting controls how the volume pressure is calculated. Adjust it based on the timeframe and market you're trading.
Energy Multiplier: Customise this to fine-tune the energy surge signals. Higher multipliers filter out weaker surges, focusing only on the strongest movements.
Combined EMA, SMMA, and 60-Day Cycle Indicator V2What This Script Does:
This script is designed to help traders visualize market trends and generate trading signals based on a combination of moving averages and price action. Here's a breakdown of its components and functionality:
Moving Averages:
EMAs (Exponential Moving Averages): These are indicators that smooth out price data to help identify trends. The script uses several EMAs:
200 EMA: A long-term trend indicator.
400 EMA: An even longer-term trend indicator.
55 EMA: A medium-term trend indicator.
89 EMA: Another medium-term trend indicator.
SMMA (Smoothed Moving Average): Similar to EMAs but with different smoothing. The script calculates:
21 SMMA: Short-term smoothed average.
9 SMMA: Very short-term smoothed average.
Cycle High and Low:
60-Day Cycle: The script looks back over the past 60 days to find the highest price (cycle high) and the lowest price (cycle low). These are plotted as horizontal lines on the chart.
Color-Coded Clouds:
Clouds: The script fills the area between certain EMAs with color-coded clouds to visually indicate trend conditions:
200 EMA vs. 400 EMA Cloud: Green when the 200 EMA is above the 400 EMA (bullish trend) and red when it’s below (bearish trend).
21 SMMA vs. 9 SMMA Cloud: Orange when the 21 SMMA is above the 9 SMMA and green when it’s below.
55 EMA vs. 89 EMA Cloud: Light green when the 55 EMA is above the 89 EMA and red when it’s below.
Trading Signals:
Buy Signal: This is shown when:
The price crosses above the 60-day low and
The EMAs indicate a bullish trend (e.g., the 200 EMA is above the 400 EMA and the 55 EMA is above the 89 EMA).
Sell Signal: This is shown when:
The price crosses below the 60-day high and
The EMAs indicate a bearish trend (e.g., the 200 EMA is below the 400 EMA and the 55 EMA is below the 89 EMA).
How It Helps Traders:
Trend Visualization: The colored clouds and EMA lines help you quickly see whether the market is in a bullish or bearish phase.
Trading Signals: The script provides clear visual signals (buy and sell labels) based on specific market conditions, helping you make more informed trading decisions.
In summary, this script combines several tools to help identify market trends and provide buy and sell signals based on price action relative to a 60-day high/low and the positioning of moving averages. It’s a useful tool for traders looking to visualize trends and automate some aspects of their trading strategy.
Viking Fun PredictОсобая благодарность за оригинальную идею Александру Горчакову
Индикатор предсказывает вырастет или упадет цена на следующей свече
Индикатор отображает красные или зеленые кружки над каждой из свечей
Зеленый кружок прогноз роста
Красный кружок прогноз падения
Индикатор выдает прогноз для шестой свечи на основе пяти свечей
Индикатор берет цены максимумов и минимумов пяти свечей и усредняет их, получая 5 значений. На основе полученных 5 значений строится линейная регрессия
Если линия линейной регрессии возрастает, то индикатор прогнозирует рост (зеленый кружок)
Если линия линейной регрессии возрастает, то индикатор прогнозирует падение (красный кружок)
Компания Викинг предоставляет профессиональный сервис, позволяющий реализовать арбитражные стратегии и маркет-мейкинг, осуществляет обучение трейдеров-арбитражеров.
---------------------------
Special thanks for the original idea to Alexander Gorchakov
The indicator predicts whether the price will rise or fall on the next candle
The indicator displays red or green circles above each of the candles
Green circle growth forecast
Red circle forecast of the fall
The indicator gives a forecast for the sixth candle based on five candles
The indicator takes the prices of the highs and lows of five candles and averages them, getting 5 values. Based on the obtained 5 values, a linear regression is constructed
If the linear regression line increases, the indicator predicts growth (green circle)
If the linear regression line increases, the indicator predicts a fall (red circle)
Viking provides a professional service that allows you to implement arbitrage strategies and market making, and provides training for arbitrage traders.
QuantPivoteWe are introducing the ST_QuantPivots Indicator, an advanced analytical tool meticulously crafted for ThinkOrSwim, which is now poised to debut on TradingView with Pine Script conversion.
Weekly Periods Analyzed :
The number of total periods loaded and analyzed is on the chart.
Touch > H1 :
Pivot level average price exceeded or was equal to, but did not close above.
Close > H1 :
How often has the price closed above the H1 pivot level.
Touch > H2 :
Pivot level one standard deviation above H1.
The price exceeded or was equal to, but did not close above.
Close > H2 :
How many times has the price closed above the H2 pivot level .
Touch > L1 :
Pivot level average price exceeded or was equal to, but did not close below.
Close > L1 :
How many times has the price closed below the L1 pivot level.
Touch > L2 :
Pivot level one standard deviation below L1.
The price exceeded or was equal to, but did not closed below.
Close > L2 :
How many times has the price closed below the L2 pivot level.
Total Closes Inside H1 / L1 :
Total number of times with in the periods analyzed that there were closes within H1 / L1 .
Total Closes Inside H2 / L2 :
Total number of times with in the periods analyzed that there were closes within H2 / L2 respectively.
Pivots :
Pivot lines are a function of the analysis and averaging period inputs.
H1 represents the average point which the highest price is achieved for the selected time period (analysis period).
L1 represents the average point which the lowest price is achieved for the selected time period (analysis period).
H2/L2 = One standard deviation away from the inner high H1 or low L1 bands.
Pivot lines are a function of the analysis and averaging period inputs.
H1 represents the average point which the highest price is achieved for the selected time period (analysis period).
L1 represents the average point which the lowest price is achieved for the selected time period (analysis period).
H2/L2 = One standard deviation away from the inner high H1 or low L1 bands.
Unicorn ICT Signals [TradingFinder] Breaker Block + FVG Zones🔵 Introduction
The "ICT Unicorn Model" trading strategy in the "Inner Circle Trader" (ICT) style is one of the well-known strategies in the world of Forex and financial market trading.
The ICT methodology was developed by Michael Huddleston and is based on technical analysis and Price Action concepts.
This style focuses specifically on interpreting price movements and identifying optimal entry and exit points in the market.
In the Unicorn strategy, traders seek points where the probability of price reversal or trend continuation is high. This strategy is primarily based on recognizing and analyzing Price Action patterns and market structure.
By understanding"ICT Unicorn Model", traders can make more informed decisions about where to enter or exit trades, thereby increasing their chances of success in the market.
🟣 Understanding the Breaker Block
A Breaker Block is a specialized form of an Order Block that changes its role after a key market level is broken. Typically, an Order Block is an area on the chart where large institutional orders are likely to be placed, providing strong support or resistance.
However, when this area is breached, and the price moves in the opposite direction, it transforms into what is known as a Breaker Block. This shift indicates a reversal in market sentiment, turning the previous support into resistance or vice versa, thereby signaling a potential trend change to traders.
🟣 The Significance of the Fair Value Gap (FVG)
The Fair Value Gap (FVG) refers to an area on a price chart where the price rapidly moves through a level, leaving behind a gap. This gap represents an imbalance between supply and demand and is often seen as a potential area for price to return and fill the gap.
These zones are crucial for traders as they can indicate future price movements, providing opportunities to enter or exit trades.
🟣 Defining the ICT Unicorn Model
When an FVG overlaps with a Breaker Block, it forms a highly significant trading area known as a Unicorn. This overlap creates an ideal zone for traders to enter the market, as it combines two powerful technical signals.
The Unicorn Model is therefore considered an optimal strategy for identifying precise entry and exit points in the financial markets.
Demand ICT Unicorn Model :
Supply ICT Unicorn Model :
🔵 How to Use
🟣 Bullish ICT Unicorn
The Bullish ICT Unicorn model is applicable when the market is in an uptrend, and traders are seeking buying opportunities.
Follow these steps to identify Bullish ICT Unicorn :
Identify the Bullish Breaker Block : Locate an area where the price moved upward after breaking an Order Block. This area now acts as a Breaker Block.
Identify the Bullish FVG : Look for a Fair Value Gap near the Breaker Block.
Confirm the Unicorn : When the Bullish Breaker Block and Bullish FVG overlap, a Bullish Unicorn is confirmed. Traders can enter a buy position when the price returns to this zone.
🟣Bearish ICT Unicorn
The Bearish ICT Unicorn model is used when the market is in a downtrend, and traders are looking for selling opportunities.
To identify Bearish ICT Unicorn, follow these steps :
Identify the Bearish Breaker Block : Find an area where the price moved downward after breaking an Order Block. This area now acts as a Breaker Block.
Identify the Bearish FVG : Check if a Fair Value Gap has formed near the Breaker Block.
Confirm the Unicorn : When the Bearish Breaker Block and Bearish FVG overlap, a Bearish Unicorn is confirmed. Traders can enter a sell position when the price returns to this zone.
🔵 Setting
🟣 Global Setting
Pivot Period of Order Blocks Detector : Enter the desired pivot period to identify the Order Block.
Order Block Validity Period (Bar) : You can specify the maximum time the Order Block remains valid based on the number of candles from the origin.
Mitigation Level Breaker Block : Determining the basic level of a Breaker Block. When the price hits the basic level, the Breaker Block due to mitigation.
Mitigation Level FVG : Determining the basic level of a FVG. When the price hits the basic level, the FVG due to mitigation.
Mitigation Level Unicorn : Determining the basic level of a Unicorn Block. When the price hits the basic level, the Unicorn Block due to mitigation.
🟣 Unicorn Block Display
Show All Unicorn Block : If it is turned off, only the last Order Block will be displayed.
Demand Unicorn Block : Show or not show and specify color.
Supply Unicorn Block : Show or not show and specify color.
🟣 Breaker Block Display
Show All Breaker Block : If it is turned off, only the last Breaker Block will be displayed.
Demand Main Breaker Block : Show or not show and specify color.
Demand Sub (Propulsion & BoS Origin) Breaker Block : Show or not show and specify color.
Supply Main Breaker Block : Show or not show and specify color.
Supply Sub (Propulsion & BoS Origin) Breaker Block : Show or not show and specify color.
🟣 Fair Value Gap Display
Show Bullish FVG : Toggles the display of demand-related boxes.
Show Bearish FVG : Toggles the display of supply-related boxes.
🟣 Logic Settings
🟣 Order Block Refinement
Refine Order Blocks : Enable or disable the refinement feature. Mode selection.
🟣 FVG Filter
FVG Filter : This refines the number of identified FVG areas based on a specified algorithm to focus on higher quality signals and reduce noise.
Types of FVG filters :
Very Aggressive Filter: Adds a condition where, for an upward FVG, the last candle's highest price must exceed the middle candle's highest price, and for a downward FVG, the last candle's lowest price must be lower than the middle candle's lowest price. This minimally filters out FVGs.
Aggressive Filter: Builds on the Very Aggressive mode by ensuring the middle candle is not too small, filtering out more FVGs.
Defensive Filter: Adds criteria regarding the size and structure of the middle candle, requiring it to have a substantial body and specific polarity conditions, filtering out a significant number of FVGs.
Very Defensive Filter: Further refines filtering by ensuring the first and third candles are not small-bodied doji candles, retaining only the highest quality signals.
🟣 Alert
Alert Name : The name of the alert you receive.
Alert ICT Unicorn Model Block Mitigation :
On / Off
Message Frequency :
This string parameter defines the announcement frequency. Choices include: "All" (activates the alert every time the function is called), "Once Per Bar" (activates the alert only on the first call within the bar), and "Once Per Bar Close" (the alert is activated only by a call at the last script execution of the real-time bar upon closing). The default setting is "Once per Bar".
Show Alert Time by Time Zone :
The date, hour, and minute you receive in alert messages can be based on any time zone you choose. For example, if you want New York time, you should enter "UTC-4". This input is set to the time zone "UTC" by default.
🔵Conclusion
The Unicorn Model in ICT, utilizing the concepts of Breaker Blocks and Fair Value Gaps, provides an effective tool for identifying entry and exit points in financial markets. By offering more precise signals, this model helps traders make better decisions and minimize trading risks.
Success in applying this model requires practice and a deep understanding of market structure, but it can significantly improve trading performance.
Momentum Squeeze Scalper [M2S} [ITZS]Overview
The Momentum Squeeze Scalper is a technical analysis tool designed to identify potential breakout opportunities in the market. It combines elements of momentum analysis with a "squeeze" concept based on Bollinger Bands and Keltner Channels.
Key Components
1. Squeeze Detection
The indicator uses two types of squeezes:
a) Loose TTM Fire (Loose Squeeze): Represented by orange dots. This occurs when one side of the Bollinger Bands is inside the Keltner Channel.
b) Strict TTM Fire (Strict/Tight Squeeze): Represented by green dots. This happens when both sides of the Bollinger Bands are inside the Keltner Channel.
These squeezes can indicate potential breakouts in either direction (long or short).
Long Squeeze: Occurs when prices are compressed at a low level, potentially leading to an upward breakout.
Short Squeeze: Happens when prices are compressed at a high level, possibly leading to a downward breakout.
2. Momentum Line
The Momentum Line is a key feature of this indicator. Its color changes based on specific conditions:
Color 0 (White): Default color, indicating neutral momentum.
Color 1 (Green): Indicates positive momentum. This color appears when:
1. The histogram is positive and increasing, or
2. The momentum is increasing during a squeeze (loose or strict), or
3. There's a strict squeeze in place.
Color 2 (Red): Indicates negative momentum. This color appears when:
1. The histogram is negative and decreasing, or
2. The momentum is decreasing during a squeeze (loose or strict), or
3. There's a strict squeeze in place.
The changing colors of the Momentum Line help traders quickly identify shifts in market momentum and potential trading opportunities.
3. Signal Line
The orange line is the signal line, which is a smoothed version of the momentum line. It can help confirm trend changes when it crosses the momentum line.
Inputs and Their Effects
1. Momentum Period (default: 17):
Purpose: Determines the lookback period for momentum calculation.
Effect: A longer period makes the indicator less sensitive to short-term price changes, resulting in smoother momentum lines but potentially slower signals. A shorter period will make the indicator more responsive to recent price action but may increase noise.
2. Signal Period (default: 8):
Purpose: Sets the smoothing period for the signal line.
Effect: A shorter period makes it more responsive to recent price action, potentially providing earlier signals but with a higher chance of false alerts. A longer period creates a smoother signal line, reducing false signals but potentially delaying entry/exit points.
3. Smooth Momentum (default: false):
Purpose: Determines whether to use EMA smoothing on the source price before momentum calculation.
Effect: When true, it can reduce noise in the momentum calculation, potentially providing clearer signals in choppy markets. When false, it responds more quickly to price changes.
Smoothing Period (default: 1):
Purpose: Sets the period for EMA smoothing when Smooth Momentum is true.
Effect: A higher value creates a smoother momentum line, potentially reducing false signals but also increasing lag.
BB Length (default: 7):
Purpose: Defines the period for Bollinger Bands calculation.
Effect: A shorter length makes the bands more sensitive to price changes, potentially identifying squeezes more quickly but also increasing the chance of false signals. A longer length creates more stable bands but may delay squeeze identification.
StDev (default: 1.0):
Purpose: Standard deviation multiplier for Bollinger Bands.
Effect: Higher values create wider bands, making squeezes less frequent but potentially more significant. Lower values create tighter bands, increasing the frequency of squeezes but potentially reducing their reliability.
Keltner Length (default: 1):
Purpose: Sets the period for Keltner Channel calculation.
Effect: A longer length creates a wider, more stable channel, reducing the frequency of squeezes but potentially making them more reliable. A shorter length creates a tighter channel, increasing squeeze frequency but potentially reducing significance.
Multiplier (default: 0.5):
Purpose: Multiplier for Keltner Channel width.
Effect: Higher values create a wider channel, making squeezes less frequent but potentially more significant. Lower values create a tighter channel, increasing squeeze frequency but potentially reducing their reliability.
KC Smoothing Period (default: 10):
Purpose: Determines the smoothing period for the momentum histogram.
Effect: A longer period creates a smoother histogram, potentially reducing false signals but increasing lag. A shorter period makes the histogram more responsive but potentially noisier.
Smoothing Type (default: None):
Purpose: Allows selection of different smoothing algorithms for the momentum histogram.
Effect: Different smoothing types (e.g., ALMA, DEMA, EMA) can affect how quickly the histogram responds to price changes and how smooth the resulting line is. This can impact the timing and frequency of momentum color changes.
How to Use the Indicator
Look for squeeze dots (orange or green) to identify periods of low volatility.
Pay attention to the color of the Momentum Line:
1. Green suggests potential bullish momentum
2. Red suggests potential bearish momentum
Use the histogram for additional confirmation of momentum strength and direction.
Consider entering trades when the squeeze dots disappear and the Momentum Line shows a strong color signal (green for long, red for short).
How to Adjust the Indicator
1. For More Frequent Signals: Decrease the Momentum Period, Signal Period, BB Length, and Keltner Length. Increase the StDev and decrease the Multiplier. This will make the indicator more sensitive but may increase false signals.
2. For Fewer, More Reliable Signals: Increase the Momentum Period, Signal Period, BB Length, and
Keltner Length. Decrease the StDev and increase the Multiplier. This will reduce sensitivity but may miss some opportunities.
3. To Detect Stronger Squeezes: Increase the StDev for Bollinger Bands and decrease the Multiplier for Keltner Channels. This will make it harder for squeezes to occur, potentially identifying stronger setups.
4. To Reduce Noise: Enable Smooth Momentum and increase the Smoothing Period. Choose a smoothing type like EMA or DEMA for the histogram. This can help in choppy or ranging markets.
5. For Faster Response: Decrease the Momentum Period and Signal Period, and choose a responsive smoothing type like EMA for the histogram. This can be useful in fast-moving markets but may increase false signals.
Interpretation and Trading
1. Squeeze Formation: When you see orange (loose) or green (strict) dots, it indicates a potential buildup of energy in the market. This compression often precedes a significant move.
2. Momentum Direction: Watch the Momentum Line color changes:
Transition to Green: Suggests increasing bullish momentum, especially during a squeeze.
Transition to Red: Suggests increasing bearish momentum, especially during a squeeze.
White: Indicates neutral momentum or no clear direction.
3. Confirmation: Look for the Momentum Line (colored) to cross above the Signal Line (orange) for bullish confirmation, or below for bearish confirmation.
4. Exit Signals: When the squeeze dots disappear and the Momentum Line color changes, it often indicates that the compressed energy has been released, and the strong move may be ending.
5. Trend Strength: The distance between the Momentum Line and the Signal Line can indicate trend strength. A wider gap suggests a stronger trend.
Remember, no indicator is perfect. Always use this tool in conjunction with other forms of analysis and proper risk management. It's recommended to backtest and practice with this indicator on historical data before using it in live trading. Adjust the inputs based on your trading style, timeframe, and the specific characteristics of the asset you're trading.
DEMA Adaptive DMI [BackQuant]DEMA Adaptive DMI
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.
Conceptual Foundation and Innovation
The DEMA Adaptive DMI blends the Double Exponential Moving Average (DEMA) with the Directional Movement Index (DMI) to offer a unique approach to trend-following. By applying DEMA to the high and low prices, this indicator refines the traditional DMI calculation, enhancing its responsiveness to price changes. This results in a more adaptive and timely measure of market trends and momentum, providing traders with a more refined tool for capturing directional movements in the market.
Technical Composition and Calculation
At its core, the DEMA Adaptive DMI calculates the DEMA for both the high and low prices over a user-defined period. This dual application of DEMA serves to smooth out price fluctuations while retaining sensitivity to market movements. The DMI is then derived from the changes in these DEMA values, producing a set of plus and minus directional indicators that reflect the prevailing trend. Additionally, an Average Directional Index (ADX) is computed to measure the strength of the trend, with the entire process being dynamically adjusted based on the DEMA calculations.
DEMA Application:
The DEMA is applied to both high and low prices to reduce lag and provide a smoother representation of price action.
Directional Movement Calculation: The DMI is calculated using the smoothed price changes, resulting in plus and minus indicators that accurately reflect market trends.
ADX Calculation:
The ADX is computed to quantify the strength of the trend, offering traders insight into whether the market is trending strongly or is in a phase of consolidation.
Features and User Inputs The DEMA Adaptive DMI offers a range of customizable options to suit different trading styles and market conditions:
DEMA Calculation Period: Users can set the period for the DEMA calculation, allowing for adjustments based on the desired sensitivity.
DMI Length: The length of the DMI calculation can be adjusted, providing flexibility in how trends are measured.
ADX Smoothing Period: The smoothing period for the ADX can be customized to fine-tune the trend strength measurement.
Divergence Detection: Optional divergence detection features allow traders to spot potential reversals based on the DMI and price action.
Visualization options include static high and low levels to mark extreme DMI thresholds, the ability to color bars according to trend direction, and background hues to highlight overbought and oversold conditions.
Practical Applications
The DEMA Adaptive DMI is particularly effective in markets where trend strength and direction are crucial for successful trading. Traders can leverage this indicator to:
Identify Trend Reversals:
Detect potential trend reversals by monitoring the DMI and ADX in conjunction with divergence signals.
Trend Confirmation:
Use the DEMA-based DMI to confirm the strength and direction of a trend, aiding in the timing of entries and exits.
Strategic Positioning:
The indicator's responsiveness allows traders to position themselves effectively in fast-moving markets, reducing the risk of late entries or exits.
Advantages and Strategic Value
By integrating the DEMA with the DMI, this indicator provides a more adaptive and timely measure of market trends. The reduced lag from the DEMA ensures that traders receive signals that are closely aligned with current market conditions, while the dynamic DMI calculation offers a more accurate representation of trend direction and strength. This makes the DEMA Adaptive DMI a valuable tool for traders looking to enhance their trend-following strategies with a focus on precision and adaptability.
Summary and Usage Tips
The DEMA Adaptive DMI is a sophisticated trend-following indicator that combines the benefits of DEMA and DMI into a single, powerful tool. Traders are encouraged to incorporate this indicator into their trading systems for a more nuanced and responsive approach to trend detection and confirmation. Whether used for identifying trend reversals, confirming trend strength, or strategically positioning in the market, the DEMA Adaptive DMI offers a versatile and reliable solution for trend-following strategies.
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
Curved Price Channels (Zeiierman)█ Overview
The Curved Price Channels (Zeiierman) is designed to plot dynamic channels around price movements, much like the traditional Donchian Channels, but with a key difference: the channels are curved instead of straight. This curvature allows the channels to adapt more fluidly to price action, providing a smoother representation of the highest high and lowest low levels.
Just like Donchian Channels, the Curved Price Channels help identify potential breakout points and areas of trend reversal. However, the curvature offers a more refined approach to visualizing price boundaries, making it potentially more effective in capturing price trends and reversals in markets that exhibit significant volatility or price swings.
The included trend strength calculation further enhances the indicator by offering insight into the strength of the current trend.
█ How It Works
The Curved Price Channels are calculated based on the asset's average true range (ATR), scaled by the chosen length and multiplier settings. This adaptive size allows the channels to expand and contract based on recent market volatility. The central trendline is calculated as the average of the upper and lower curved bands, providing a smoothed representation of the overall price trend.
Key Calculations:
Adaptive Size: The ATR is used to dynamically adjust the width of the channels, making them responsive to changes in market volatility.
Upper and Lower Bands: The upper band is calculated by taking the maximum close value and adjusting it downward by a factor proportional to the ATR and the multiplier. Similarly, the lower band is calculated by adjusting the minimum close value upward.
Trendline: The trendline is the average of the upper and lower bands, representing the central tendency of the price action.
Trend Strength
The Trend Strength feature in the Curved Price Channels is a powerful feature designed to help traders gauge the strength of the current trend. It calculates the strength of a trend by analyzing the relationship between the price's position within the curved channels and the overall range of the channels themselves.
Range Calculation:
The indicator first determines the distance between the upper and lower curved channels, known as the range. This range represents the overall volatility of the price within the given period.
Range = Upper Band - Lower Band
Relative Position:
The next step involves calculating the relative position of the closing price within this range. This value indicates where the current price sits in relation to the overall range.
RelativePosition = (Close - Trendline) / Range
Normalization:
To assess the trend strength over time, the current range is normalized against the maximum and minimum ranges observed over a specified look-back period.
NormalizedRange = (Range - Min Range) / (Max Range - Min Range)
Trend Strength Calculation:
The final Trend Strength is calculated by multiplying the relative position by the normalized range and then scaling it to a percentage.
TrendStrength = Relative Position * Normalized Range * 100
This approach ensures that the Trend Strength not only reflects the direction of the trend but also its intensity, providing a more comprehensive view of market conditions.
█ Comparison with Donchian Channels
Curved Price Channels offer several advantages over Donchian Channels, particularly in their ability to adapt to changing market conditions.
⚪ Adaptability vs. Fixed Structure
Donchian Channels: Use a fixed period to plot straight lines based on the highest high and lowest low. This can be limiting because the channels do not adjust to volatility; they remain the same width regardless of how much or how little the price is moving.
Curved Price Channels: Adapt dynamically to market conditions using the Average True Range (ATR) as a measure of volatility. The channels expand and contract based on recent price movements, providing a more accurate reflection of the market's current state. This adaptability allows traders to capture both large trends and smaller fluctuations more effectively.
⚪ Sensitivity to Market Movements
Donchian Channels: Are less sensitive to recent price action because they rely on a fixed look-back period. This can result in late signals during fast-moving markets, as the channels may not adjust quickly enough to capture new trends.
Curved Price Channels: Respond more quickly to changes in market volatility, making them more sensitive to recent price action. The multiplier setting further allows traders to adjust the channel's sensitivity, making it possible to capture smaller price movements during periods of low volatility or filter out noise during high volatility.
⚪ Enhanced Trend Strength Analysis
Donchian Channels: Do not provide direct insight into the strength of a trend. Traders must rely on additional indicators or their judgment to gauge whether a trend is strong or weak.
Curved Price Channels: Includes a built-in trend strength calculation that takes into account the distance between the upper and lower channels relative to the trendline. A broader range between the channels typically indicates a stronger trend, while a narrower range suggests a weaker trend. This feature helps traders not only identify the direction of the trend but also assess its potential longevity and strength.
⚪ Dynamic Support and Resistance
Donchian Channels: Offer static support and resistance levels that may not accurately reflect changing market dynamics. These levels can quickly become outdated in volatile markets.
Curved Price Channels: Offer dynamic support and resistance levels that adjust in real-time, providing more relevant and actionable trading signals. As the channels curve to reflect price movements, they can help identify areas where the price is likely to encounter support or resistance, making them more useful in volatile or trending markets.
█ How to Use
Traders can use the Curved Price Channels in similar ways to Donchian Channels but with the added benefits of the adaptive, curved structure:
Breakout Identification:
Just like Donchian Channels, when the price breaks above the upper curved band, it may signal the start of a bullish trend, while a break below the lower curved band could indicate a bearish trend. The curved nature of the channels helps in capturing these breakouts more precisely by adjusting to recent volatility.
Volatility:
The width of the price channels in the Curved Price Channels indicator serves as a clear indicator of current market volatility. A wider channel indicates that the market is experiencing higher volatility, as prices are fluctuating more dramatically within the period. Conversely, a narrower channel suggests that the market is in a lower volatility state, with price movements being more subdued.
Typically, higher volatility is observed during negative trends, where market uncertainty or fear drives larger price swings. In contrast, lower volatility is often associated with positive trends, where prices tend to move more steadily and predictably. The adaptive nature of the Curved Price Channels reflects these volatility conditions in real time, allowing traders to assess the market environment quickly and adjust their strategies accordingly.
Support and Resistance:
The trend line act as dynamic support and resistance levels. Due to it's adaptive nature, this level is more reflective of the current market environment than the fixed level of Donchian Channels.
Trend Direction and Strength:
The trend direction and strength are highlighted by the trendline and the directional candle within the Curved Price Channels indicator. If the price is above the trendline, it indicates a positive trend, while a price below the trendline signals a negative trend. This directional bias is visually represented by the color of the directional candle, making it easy for traders to quickly identify the current market trend.
In addition to the trendline, the indicator also displays Max and Min values. These represent the highest and lowest trend strength values within the lookback period, providing a reference point for understanding the current trend strength relative to historical levels.
Max Value: Indicates the highest recorded trend strength during the lookback period. If the Max value is greater than the Min value, it suggests that the market has generally experienced more positive (bullish) conditions during this time frame.
Min Value: Represents the lowest recorded trend strength within the same period. If the Min value is greater than the Max value, it indicates that the market has been predominantly negative (bearish) over the lookback period.
By assessing these Max and Min values, traders gain an immediate understanding of the underlying trend. If the current trend strength is close to the Max value, it indicates a strong bullish trend. Conversely, if the trend strength is near the Min value, it suggests a strong bearish trend.
█ Settings
Trend Length: Defines the number of bars used to calculate the core trendline and adaptive size. A length of 200 will create a smooth, long-term trendline that reacts slowly to price changes, while a length of 20 will create a more responsive trendline that tracks short-term movements.
Multiplier: Adjusts the width of the curved price channels. A higher value tightens the channels, making them more sensitive to price movements, while a lower value widens the channels. A multiplier of 10 will create tighter channels that are more sensitive to minor price fluctuations, which is useful in low-volatility markets. A multiplier of 2 will create wider channels that capture larger trends and are better suited for high-volatility markets.
Trend Strength Length: Defines the period over which the maximum and minimum ranges are calculated to normalize the trend strength. A length of 200 will smooth out the trend strength readings, providing a stable indication of trend health, whereas a length of 50 will make the readings more reactive to recent price changes.
-----------------
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!
Market Structure Trailing Stop [BigBeluga]The Market Structure Trailing Stop indicator is an advanced tool for identifying market structure shifts, liquidity sweeps, and potential trend reversals using comprehensive volume analysis. This indicator combines the analysis of market structure pivots (CHoCH - Change of Character) with a sophisticated volume-based trailing stop logic. By evaluating delta volume at key structural points, it allows traders to identify high-probability trend continuations or reversals and manage their trades more effectively.
🔵 KEY FEATURES
● Market Structure Analysis
Pivot-Based Market Structure : The indicator identifies high and lows using user-defined periods, allowing traders to spot key market structure shifts.
Change of Character (CHoCH) : The first significant break of a market structure is marked as a CHoCH, indicating a potential trend reversal.
Break of Structure (BoS) : The indicator highlights subsequent breaks of structure after CHoCH, providing traders with crucial insights into trend strength.
● Advanced Volume Analysis
Delta Volume Evaluation : The indicator calculates delta volume (difference between up and down volume) at each ChoCh or BoS market structure point to assess the strength of the move. Identify Delta Volume from break point back to Pivot
● Trailing Stop Logic
Volume-Validated Trailing Stop : The indicator automatically plots a trailing stop if the delta volume at the UP CHoCH is positive and above the defined threshold and vice versa for Down CHoCH , allowing traders to protect their profits while riding the trend.
Trend Weakness Detection : If a subsequent BoS occurs with negative delta volume or lower volume than the input threshold, the trailing stop disappears, indicating potential trend exhaustion or reversal.
Dynamic Stop Placement : The trailing stop is dynamically adjusted based on market structure and volume, providing traders with a more adaptive stop-loss strategy.
Up Trend Trailing Stop:
Down Trend Trailing Stop:
● Liquidity Sweep Detection
Liquidity Sweep (X) Labels : The indicator identifies liquidity sweeps—points where the price temporarily reverses to sweep liquidity above or below a key level—marked with an “X” label.
Potential Reversal Zones : These liquidity sweeps are potential reversal zones, especially when accompanied by significant delta volume changes, providing traders with early warnings of potential trend reversals.
🔵 HOW TO USE
● Identifying Market Structure Shifts
Change of Character (CHoCH) : When a CHoCH occurs, the indicator calculates the total volume from the high point to the break point. If the delta volume is positive and exceeds the input threshold, a trailing stop is plotted, signaling potential trend continuation.
Break of Structure (BoS) : If BoS is enabled, subsequent breaks of structure are highlighted. If these BoS points show weaker volume or negative delta volume, the trailing stop will disappear, indicating that the trend may be losing strength.
● Using the Trailing Stop Feature
Protecting Profits : Once a CHoCH occurs and the delta volume validates the trend, the trailing stop will be plotted below (or above) the price to protect profits while allowing the trend to run.
Trend Reversal Signals : If the trailing stop disappears due to weak volume at subsequent BoS points, it may signal that the trend is losing momentum, and traders may consider closing their positions or tightening their stops manually.
● Liquidity Sweep Interpretation
Spotting Reversal Zones : Liquidity sweeps, marked with an “X” label, indicate zones where the price has swept liquidity. These areas can serve as potential reversal zones, especially when significant delta volume is observed at these points.
Early Reversal Warnings : Traders can use these liquidity sweep labels as early warnings for potential trend reversals, particularly in conjunction with other technical analysis methods.
🔵 CUSTOMIZATION
Highs and Lows Calculation : Customize the number of bars to the left and right for identifying pivots and market structure shifts.
Volume Threshold : Define the volume threshold to filter out weaker moves and focus on significant market structure shifts.
BoS and Liquidity Sweep Labels : Toggle on or off the BoS and Liquidity Sweep labels to tailor the indicator to your trading style.
Trend Color : Enable or disable trend coloring for candles to visually highlight uptrends and downtrends on the chart.
🔵 CONCLUSION
The Market Structure Trailing Stop indicator combines advanced volume analysis with market structure detection to provide traders with a powerful tool for identifying and managing trends. By leveraging delta volume at key structure points, it helps traders validate trend strength and manage their positions with a dynamic trailing stop strategy. The addition of liquidity sweep detection further enhances its utility, offering early warnings of potential trend reversals. This indicator is ideal for traders who want to gain a deeper understanding of market structure while incorporating volume-based insights into their trading strategies.
VRS (Vegas Reversal Strategy)It is based on the reversal of the price after an accentuated volatility of the previous day. It is tested only on BTC, TF Day, and has an activation value equal to a spike of minimum 2.4% amplitude, a value that I have left in the settings free to be modified if it is found valid for other assets.
In the settings you can change how many of the latest longs or shorts I want to view in the past, colors and various aesthetics.
When the system detects a spike at the end of the day from 2.4% onwards it will signal the direction of Reversal, generating the 3 TP, dotted lines.
Entry into the market must be done at the close of the candle day, unfortunately at night time if you want to enter on the tick.
Stop above/below the spike that generated the condition.
If the Day2 candle closes FULL inside the spike, immediate and early closing of the operation.
There cannot be two consecutive Day events: if you are Long or Short and have taken a stop on the next candle, even if the latter generates another entry, this must not be activated.
TP 1 and 2 are both mandatory at 33% of the position, TP3, based on the current movement, can be considered to be left to run to the bitter end or in any case to structuring confirmations of a slowdown in the price.
Upon reaching TP1 it is mandatory to move the STOP to even.
In the event of the presence of extremely strong directional movements, for example Long direction, an opposite activation, Short, must be done but with reduced capital, on the contrary an activation in the same direction as the trend movement can be done with a surcharge. Always pay attention to Money Management and Risk Management.
Always manage Risk and Money Management in an adequate, technical and sustainable manner in relation to your capital. A fair exposure per transaction is between 1% and 2% of the capital.
VS (Vegas Fractal System)VS is a trading system based on the identification of fractal reaction zones within a larger, carefully identified movement. It is internally made up of 4 sub-systems.
The indicator is composed of the following parameters: Max and Min, are the largest area identified and will act as the STOPLOSS point. L1, is the price reaction level. Entry, is where to place a pending market entry order. TP, is the place to place a 100% sell order.
A valid area must be identified through the Fibonacci levels that join Highs and Lows or vice versa depending on the bullish or bearish movement. To be usable, this movement must not have a sub-movement that has already hit the 0.618 level.
Always manage Risk and Money Management in an adequate, technical and sustainable manner in relation to your capital. A fair exposure per transaction is between 1% and 2% of the capital.
Magic Linear Regression Channel [MW]Introduction
The Magic Linear Regression Channel indicator provides users with a way to quickly include a linear regression channel ANYWHERE on their chart, in order to find channel breakouts and bounces within any time period. It uses a novel method that allows users to adjust the start and end period of the regression channel in order to quickly make adjustments faster, with fewer steps, and with more precision than with any other linear regression channel tool. It includes Fibonacci bands AND a horizontal mode in order for users to quickly define significant price levels based on the high, low, open, and close prices defined by the start period.
Settings
Start Time: This is initially MANUALLY SELECTED ON THE CHART when the indicator is first loaded.
End time: This is also initially MANUALLY SELECTED ON THE CHART when the indicator is first loaded.
Horizontal Line: This forces the baseline to be horizontal. The band distance is defined by the maximum price distance from the band.
Horizontal Line Type: This snaps the horizontal line to the close, high, low, or open price. Or, it can also use a regression calculation for the selected time period to define the y-position of the line.
Extend Line N Bars: How many bars to the left in which to extend the baseline and bands.
Show Baseline ONLY!!: Removes all lines except the baseline and it’s extension.
Add Half Band: Includes a band that is half the distance between the baseline and the top and bottom bands
Add Outer Fibonacci Band: Includes a band that is 1.618 (phi) times the default band distance
Add Inner Fibonacci Band - Upper: Includes a band that is 0.618 (1/phi) times the default band distance
Add Inner Fibonacci Band - Lower: Includes a band that is 0.382 (1 - 1/phi) times the default band distance
Calculations
This indicator uses the least squares approach for generating a straight regression line, which can be reviewed at Wikipedia’s “Simple Linear Regression” page. It sums all of the x-values, and y-values, as well as the sum of the product of corresponding x and y values, and the sum of the squares of the x-values. These values are used to calculate the slope and intercept using the following equations:
slope = (n * sum_xy - sum_x * sum_y) / (n * sum_xx - sum_x * sum_x)
And
intercept = (sum_y - slope * sum_x) / n
The slope and intercept are then used to generate the baseline and the corresponding bands using the user-selected offsets.
How to Use
When the Magic Linear Regression Channel indicator is first added to the chart, there will be a blue prompt behind the “Indicators, Metrics & Strategies” window. Close the window, then select a START POINT by clicking at a desired location on the chart. Next, you will be prompted to select an END POINT. The end point MUST be placed after the START POINT. At this time a channel will be generated. Once you’ve selected the START POINT and END POINT, you can adjust them by dragging them anywhere on the chart. Each adjustment will generate a new channel making it easier for you to quickly visualize and recognize any channel exits and bounces.
The Magic Linear Regression Channel indicator works great at identifying wave patterns. Place the start line at a top or bottom pivot point. Place the end line at the next respective top or bottom pivot. This will give you a complete wave form to work with. When price reaches a band and rejects, it can be a strong indication that price may move back to one of the bands in the channel. If price exits the channel with volume that supports the exit, it may be an indication of a breakout.
You can also use the horizontal mode to identify key levels, then add Fibonacci bands based on regression calculations for the given time period to provide more meaningful areas of support and resistance.
Other Usage Notes and Limitations
Occasionally, off-by-1 errors appear which makes the extended lines protrude at a slightly incorrect angle. This is a known bug and will be addressed in the next release.
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.