Majors Rotation System [BackQuant]Majors Rotation System
Introducing BackQuant's Majors Rotation System, a comprehensive portfolio management tool for rotating among the major cryptocurrencies—BTC, ETH, and SOL. This system is designed to optimize returns by selecting the strongest-performing asset while avoiding periods of market weakness. It employs a long and cash-only strategy, meaning the system will only hold positions when market conditions are favorable, and will stay in cash during downtrends. Additionally, it incorporates a powerful regime filter to ensure the system is inactive during market-wide downturns.
This script is ideal for crypto traders looking to improve performance by dynamically allocating capital based on real-time performance metrics, rather than relying on a simple buy-and-hold strategy.
Key Features
Dynamic Asset Rotation: The system constantly evaluates the performance of BTC, ETH, and SOL, selecting the strongest asset based on a ratio matrix. This matrix compares the relative strength of each asset to one another, ensuring that your portfolio is always positioned in the cryptocurrency with the most momentum.
Long and Cash-Only Portfolio: This system only takes long positions or remains in cash. By avoiding short positions, it reduces exposure during market downturns. The built-in regime filter ensures the system only operates when the broader market (represented by the TOTAL crypto market cap) is trending up, offering additional protection against unfavorable market conditions.
Equity Tracking: The script provides a real-time visualization of portfolio equity compared to a buy-and-hold strategy. It displays the equity curve of the portfolio while allowing you to compare it against the hypothetical equity of holding BTC, ETH, or SOL individually (Buy and Hold).
Performance Metrics: In addition to equity visualization, the system provides detailed performance metrics, including:
Sharpe Ratio: Measures risk-adjusted returns.
Sortino Ratio: Focuses on downside risk.
Omega Ratio: Evaluates returns relative to risk.
Maximum Drawdown: The maximum observed loss from a peak to a trough.
These metrics allow traders to assess the efficiency of the rotation system compared to simply holding assets.
Visual Cues:
Painted Candles: The script provides a visual trend indicator by painting candles according to the trend of the selected chart, helping traders quickly identify momentum shifts.
Support for Multiple Assets: The system allows users to toggle between BTC, ETH, and SOL or view the entire portfolio at once. It displays key metrics for each asset and offers an intuitive way to understand which asset is currently outperforming.
Regime Filter: A key aspect of this system is the regime filter, which only allows trading in favorable market conditions. It uses a Universal TPI (Trend Performance Indicator) to evaluate whether the overall crypto market (TOTAL Market Cap) and key assets (BTC, ETH) are in a bullish trend. If the market is in a downtrend, the system will exit positions and move into cash.
Customizable Parameters: Users can customize several important aspects of the system:
Starting Date: Choose when the backtest or live trading begins.
Starting Capital: Set the initial capital for backtesting purposes.
Visualization Options: Toggle between base data, ratioed data, and equity plots. Users can also customize the line width and color settings for better chart clarity.
Adaptive Momentum Scoring: The system uses advanced indicators, which are not disclosed (proprietary) to assess the trend and momentum of the selected cryptocurrencies dynamically.
How the Rotation Works
The system uses a universal algorithm to calculate trend and momentum signals for BTC, ETH, and SOL. These signals are processed through a ratio matrix, which compares the performance of each asset against the others. Based on this comparison, the system identifies the strongest asset and allocates capital accordingly.
BTC, ETH, and SOL Scores: These scores represent the relative strength of each asset based on the universal algorithm. The system dynamically selects the asset with the highest score, rotating out of underperforming assets and into the top performer.
Allocation Decisions: The system determines whether to allocate capital to BTC, ETH, SOL, or Cash based on the scores. If none of the assets show strength, the system defaults to cash to protect the portfolio from market downturns.
Equity and Buy-and-Hold Comparisons
This script provides a side-by-side comparison of the portfolio’s equity curve and a buy-and-hold strategy:
Portfolio Equity: Shows the performance of the system as it rotates between BTC, ETH, and SOL.
Buy-and-Hold Equity: Displays how the portfolio would have performed if you simply held BTC, ETH, or SOL without trading.
These comparisons allow traders to see how the dynamic rotation system performs relative to a passive holding strategy.
Alerts and Visual Feedback
The system provides real-time alerts when asset allocations change, notifying traders when the system moves capital between assets or into cash. Additionally, the system offers detailed visual feedback, including:
Equity Curve Plots: Displays the equity curve of the portfolio and the individual assets.
Score Labels: Shows the strength scores for BTC, ETH, and SOL directly on the chart for easy monitoring.
Final Thoughts
The Majors Rotation System offers a powerful way to navigate the highly volatile crypto market by rotating between the strongest performing assets and staying in cash when conditions are unfavorable. With its advanced metrics, equity tracking, and built-in regime filter, this system is designed to optimize returns while minimizing risk.
Wyszukaj w skryptach "algo"
MTF Regression with Forecast### **MTF Regression with Forecast, Treasury Yield, Additional Variable & VWAP Filter - Enhanced with Long Regression**
Unlock advanced market insights with our **MTF Regression** indicator, meticulously designed for traders seeking comprehensive multi-timeframe analysis combined with powerful forecasting tools. Whether you're a seasoned trader or just starting out, this indicator offers a suite of features to enhance your trading strategy.
#### **🔍 Key Features:**
- **Multi-Timeframe (MTF) Regression:**
- **Fast, Slow, & Long Regressions:** Analyze price trends across multiple timeframes to capture both short-term movements and long-term trends.
- **Customizable Price Inputs:**
- **Flexible Price Selection:** Choose between Close, Open, High, or Low prices to suit your trading style.
- **Price Transformation:** Option to apply Exponential Moving Averages (EMA) for smoother trend analysis.
- **Diverse Regression Methods:**
- **Multiple Algorithms:** Select from Linear, Exponential, Hull Moving Average (HMA), Weighted Moving Average (WMA), or Spline regressions to best fit your analysis needs.
- **Integrated External Data:**
- **10-Year Treasury Yield:** Incorporate macroeconomic indicators to refine regression accuracy.
- **Additional Variables:** Enhance your analysis by integrating data from other tickers (e.g., NASDAQ:AAPL).
- **Advanced Filtering Options:**
- **VWAP Filter:** Align signals with the Volume Weighted Average Price for improved trade entries.
- **Price Action Filter:** Ensure price behavior supports the generated signals for higher reliability.
- **Enhanced Signal Generation:**
- **Bullish & Bearish Signals:** Identify potential trend reversals and continuations with clear visual cues.
- **Predictive Signals:** Forecast future price movements with forward-looking arrows based on regression slopes.
- **Slope & Acceleration Thresholds:** Customize minimum slope and acceleration levels to fine-tune signal sensitivity.
- **Forecasting Capabilities:**
- **Projection Lines:** Visualize future price trends by extending regression lines based on current slope data.
- **User-Friendly Interface:**
- **Organized Settings Groups:** Easily navigate through price inputs, regression settings, integration options, and more.
- **Customizable Alerts:** Stay informed with configurable alerts for bullish, bearish, and predictive signals.
#### **📈 Why Choose MTF Regression Indicator?**
- **Comprehensive Analysis:** Combines multiple regression techniques and external data sources for a well-rounded market view.
- **Flexibility:** Highly customizable to fit various trading strategies and preferences.
- **Enhanced Decision-Making:** Provides clear signals and forecasts to support informed trading decisions.
- **Efficiency:** Optimized to deliver reliable performance without overloading your trading platform.
Elevate your trading game with the **MTF Regression with Forecast, Treasury Yield, Additional Variable & VWAP Filter** indicator. Harness the power of multi-timeframe analysis and predictive forecasting to stay ahead in the dynamic markets.
---
*Feel free to reach out for more information or support. Happy Trading!*
ZigZag with Trend, EMA & TrendlinesIntroduction to the "ZigZag with Trend, EMA & Trendlines" Indicator
The "ZigZag with Trend, EMA & Trendlines" indicator is a comprehensive tool designed to assist traders in identifying market trends, key turning points, and dynamic price movements. By combining ZigZag patterns, Trendline analysis, and Exponential Moving Averages (EMA), this indicator offers multiple perspectives to help traders spot trend reversals, support/resistance zones, and potential buy/sell signals.
Key Features:
ZigZag Pattern Identification:
The ZigZag algorithm captures significant price swings, filtering out smaller price movements. This highlights the most relevant highs and lows, allowing traders to visualize the market's broader trend and anticipate reversals.
Customizable Swing Length: Traders can adjust the sensitivity of the ZigZag pattern by modifying the swing length, offering flexibility in detecting both short-term and long-term price patterns.
Adjustable ZigZag Color: You can change the color of the ZigZag line in the settings, making it easy to customize for visual preference.
Trend Analysis:
Trend Calculation: The indicator calculates the average trend by using a maximum and minimum price-based algorithm. This highlights whether the market is trending upwards (bullish) or downwards (bearish).
Buy/Sell Signals: Automatic buy and sell signals are plotted based on the crossing of trend lines, making it easier for traders to act on trend reversals.
The indicator uses dynamic colors—green for bullish and red for bearish trends.
Exponential Moving Averages (EMA):
The indicator includes three important EMAs—34, 89, and 200 periods—commonly used by traders to gauge the overall direction and momentum of the market.
EMA 34 (green) is suited for short-term trends, EMA 89 (yellow) for mid-term trends, and EMA 200 (red) for long-term market direction.
These EMAs are plotted on the chart, making it easy to determine potential crossover points and trend continuation signals.
Trendlines:
Automatic Trendline Drawing: Based on significant pivot highs and pivot lows, the indicator automatically draws trendlines on the chart. This visual representation of support and resistance helps traders anticipate future price movements.
Customizable Trendline Color: Uptrend and downtrend lines are plotted with customizable colors, providing clarity when the market is shifting between bullish and bearish conditions.
Trendline Period Setting: The trendline drawing period can be adjusted, allowing for more flexibility depending on the market's volatility.
How to Use:
Trend Confirmation: Use the combination of ZigZag patterns and EMAs to confirm the current trend direction. The ZigZag line will show the major swing highs and lows, while the EMAs will provide a broader understanding of trend strength and potential reversals.
Buy/Sell Signals: Look for crossovers between the average trend and the price to receive automatic buy (green) and sell (red) signals.
Support/Resistance: The automatically drawn trendlines based on pivot points offer valuable support and resistance levels that traders can use to set stop losses or take profits.
Conclusion:
The "ZigZag with Trend, EMA & Trendlines" indicator offers a unique combination of price action and trend-following tools. This all-in-one solution allows traders to visualize market structure, identify key price points, and confirm trends. It's a powerful tool for traders looking to capitalize on both short-term and long-term market movements, making it an essential addition to any trading strategy.
Iceberg Trade Revealer [CHE]Unveiling Iceberg Trades: A Deep Dive into Low Volatility Market Phases
Introduction
In the dynamic world of trading, hidden forces often influence market movements in ways that aren't immediately apparent. One such force is the phenomenon of iceberg trades—large orders that are concealed to prevent significant market impact. This presentation explores the concept of iceberg trades, explains why they are typically hidden during periods of low volatility, and introduces an indicator designed to reveal these elusive trades.
Agenda
1. Understanding Iceberg Trades
- Definition and Purpose
- Impact on Market Dynamics
2. The Low Volatility Concealment
- Why Low Volatility Phases?
- Strategies Behind Hiding Large Orders
3. Introducing the Iceberg Trade Revealer Indicator
- How the Indicator Works
- Key Components and Calculations
4. Demonstration and Use Cases
- Interpreting the Indicator Signals
- Practical Trading Applications
5. Conclusion
- Summarizing the Insights
- Q&A Session
1. Understanding Iceberg Trades
Definition and Purpose
- Iceberg Trades are large single orders divided into smaller lots to disguise the total order quantity.
- Traders use iceberg orders to minimize market impact and avoid unfavorable price movements.
Impact on Market Dynamics
- Concealed Volume: Iceberg orders hide true supply and demand levels.
- Price Stability: They prevent sudden spikes or drops by releasing orders gradually.
- Market Sentiment: Their presence can influence perceptions of market strength or weakness.
2. The Low Volatility Concealment
Why Low Volatility Phases?
- Less Market Attention: Low volatility periods attract fewer traders, making it easier to conceal large orders.
- Reduced Slippage: Prices are more stable, reducing the risk of executing orders at unfavorable prices.
- Strategic Advantage: Large players can accumulate or distribute positions without tipping off the market.
Strategies Behind Hiding Large Orders
- Order Splitting: Breaking down large orders into smaller pieces.
- Time Slicing: Executing orders over an extended period.
- Algorithmic Trading: Using sophisticated algorithms to optimize order execution.
3. Introducing the Iceberg Trade Revealer Indicator
How the Indicator Works
- Core Thesis: Iceberg trades can be detected by analyzing periods of unusually low volatility.
- Volatility Analysis: Uses the Average True Range (ATR) and Bollinger Bands to identify low volatility phases.
- Signal Generation: Marks periods where iceberg trades are likely occurring.
Key Components and Calculations
1. Average True Range (ATR)
- Measures market volatility over a specified period.
- Lower ATR values indicate less price movement.
2. Bollinger Bands
- Creates a volatility envelope around the ATR.
- Bands tighten during low volatility and widen during high volatility.
3. Timeframe Adjustments
- Utilizes multiple timeframes to enhance signal accuracy.
- Options for auto, multiplier, or manual timeframe selection.
4. Signal Conditions
- Iceberg Trade Detection: ATR falls below the lower Bollinger Band.
- Revealed Volatility: ATR rises above the upper Bollinger Band, indicating potential market moves after iceberg trades.
4. Demonstration and Use Cases
Interpreting the Indicator Signals
- Iceberg Trade Zones: Highlighted areas where large hidden orders are likely.
- Revealed Volatility Zones: Areas indicating the market's response to the execution of iceberg trades.
Practical Trading Applications
- Entry and Exit Points: Use signals to time trades alongside institutional activity.
- Risk Management: Adjust strategies during detected low volatility phases.
- Market Analysis: Gain insights into underlying market mechanics.
5. Conclusion
Summarizing the Insights
- Iceberg Trades play a significant role in market movements, especially when concealed during low volatility phases.
- The Iceberg Trade Revealer Indicator provides a tool to uncover these hidden activities, offering traders a strategic edge.
- Understanding and utilizing this indicator can enhance trading decisions by aligning them with the actions of major market players.
Best regards Chervolino ( Volker )
Q&A Session
- Questions and Discussions: Open the floor for any queries or further explanations.
Thank You!
By delving into the hidden aspects of market activity, traders can better navigate the complexities of financial markets. The Iceberg Trade Revealer Indicator serves as a bridge between observable market data and the concealed strategies of large institutions.
References
- Average True Range (ATR): A technical analysis indicator that measures market volatility.
- Bollinger Bands: A volatility indicator that creates a band of three lines which are plotted in relation to a security's price.
- Iceberg Orders: Large orders divided into smaller lots to hide the actual order quantity.
Note: Always consider multiple factors when making trading decisions. Indicators provide tools, but they do not guarantee results.
Educational Content Disclaimer:
Disclaimer:
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
DIVERGENCE SPOT X P.FUTURES (BYBIT and BINANCE) [GUSLM]Author's note:
When I searched the Trading View libraries, I didn't find what I was looking for. I noticed that the crypto market currently uses a lot more derivatives called "Perpetual" Futures, while the price is always formulated based on the spot price, or the real coin.
I wanted something that would mark the difference in real time between the spot price and the perpetual futures, creating a bar history. Since the relationship between them generates algorithms on exchanges to formulate payment rates for the lowest side, and to formulate the "market price" of the perpetual futures (without expiration), which are not the value of the last trade. I found several scripts that try to show the relationship between the funding rate and the rate, or the increase in these over time. But they don't show the direct action of the two prices in real time, nor a history of this difference.
The usefulness of this script is that at times you will see jumps in the price difference and can make assessments from this. Associated with another funding rate script it becomes even more interesting. I also didn't find coverage for the two brokers that my friends and I operate with, so I enabled it for use on these two brokers.
Function:
It works for the BYBIT and BINANCE exchanges. In coins that have both markets (Spot and Perpetual futures).
It shows in bars the real-time activity of the two markets, the difference between them. A configurable historical average, and bars for each candle. The last one is in real time.
How it works:
The script will detect which coin you are looking at, and will use its algorithm to detect if there is an opposite pair. If it is spot, it will identify and look for the perpetual future, and if it is future, it will find the spot prices. It will calculate the difference between them in %, using 0.05 as the default threshold - normally used by brokers as "zero". The futures on average are currently 0.05 higher than the spot in price. And it will show this difference in a bar, green and upwards if the futures are higher, and red if they are lower. and its respective normalized value in %(100)
Example of use:
1: you can check for possible movement patterns in relation to the expectation of future prices and spot, over time.
2. Main: you will notice at times normally prior to larger price movements, the indicator will pulse, indicating changes in the price difference of perpetual futures in relation to spot. - e.g.: in large purchases in spot that pull the price up by buying more positions in the order book, you will see a downward pulse in the indicator bar. as well as in the opposite direction, being an upward pulse.
3. The movement may sometimes be in futures, so you will see the opposite happening, it may be useful to add the opposite currency pair as an additional price, to identify with certainty who is "pulling" whether it is spot or perpetual. But in both cases the possible interpretation is the same. the expectation of futures in relation to the spot price is higher or lower than the average, and there are or are not pulses in one direction or another.
Summary: by following this indicator you can see the real-time vision of large purchases in spot, for example. Someone with great market power may have a future position, and is triggering purchases or ignition in the direction of their position in spot, for example.
Warning: many other indicators and market insights are needed to have a view of the whole and interpret these signals and bar movements. Use and observation lead to an understanding for future actions. But it should always be based on a global context. This is not an indicator to be used alone.
Warning 2: if the opposite pair is not available (exchange only has a spot market, for example) nothing will appear in the indicator. And if it is an exchange other than BYBIT or BINANCE, nothing will probably appear either.
BE-NSE-Distributed Straddle Intraday Trading StrategyHerewith publishing the script (not the Indicator!) for the benift of Option Traders. I call this a script as this doesn't perform any kind of analysis of candle data and provide general BUY | SELL information. This Script is based on the TRUE VALUES concept which is nothing but LTP.
Idea Behind this Script:
As an option seller i need the lower risk option premium to trade. so that, time can work in our favor. basic question which we get at the first is which option to choose out of many available.
If traders feel the question is apt then this script is for them.
Logic Behind this script:
Upon Market Open, script in the BACKEND ( Under the hood ) deployes 60 possible combinations of STRADDLES for sampling, and continue to monitor the LTP movements and compares it against opposite pairs. lets say out of 30 Straddle options one of the Straddle it picked is ATM CE VS ATM PE. for 1 rs move in underlying how much impact is happening in CE VS PE.
This simple anlysis is done at every 30 seconds. once the Analysis is complete it picks 4 options 2 on the CALL side and 2 on the PUT side, which script feels the movement of prices are smooth. SMOOTH refers that time decay that can work in our favor..
Calculations behid the script:
lets say BNF LTP is 52000 at 9:20 AM, and one of the pair script took for sampling was ATM CE vs PE which are having the LTP of 100 each.
At 9:35 AM, BNF is trading at 52075, and ATM CE is reading the LTP of 122 and ATM PUT is reading the LTP of 70. ideally LTP of Call should be around 135 and Put should be around 65 considering the usual delta of 0.48 . Net Money Index for this Pair Sample is 8
Call Side => 100 - 122 = -22
Put Side => 100 - 70 = 30
Money Index => 30 - 22 = 8 for 15 Min
This Money index is calculated across choosen samples and the Option strikes is provided as an output which has mere possiblity of working in Options Seller's favor.
How to Read the Output:
For the choosen strikes from the time of Entry (Suggested Entry time by script) till the current time, the bottom pane plots the Money index as columns. Green Columns indicate that how much option premium eroded due to time decay. Red Columns indicate that how much Option premium increased during the time.
Note: Script dynamically calculate the strikes and suggests in realtime.
WARNING or a Humble Request:
For those who don't understand the word "Repaint" how it works in Pine Script. plz don't consider using this script. For those who wish to understand I have kept the Observer mode in the settings which shall guide you on why the Money Index shown on the chart when the MARKET IS CLOSED is different than when the MARKET IS OPEN (Realtime).
Disclaimer:
I have tested the script only in BNF and not sure if this works on Nifty, FinNifty or others. you may still try and plz do provide the feedback for improvising the script.
----- BreathEasy --------
The information contained in my scripts/indicators/ideas 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, 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 are only for educational purposes!
ICT IPDA Liquidity Matrix By AlgoCadosThe ICT IPDA Liquidity Matrix by AlgoCados is a sophisticated trading tool that integrates the principles of the Interbank Price Delivery Algorithm (IPDA), as taught by The Inner Circle Trader (ICT). This indicator is meticulously designed to support traders in identifying key institutional levels and liquidity zones, enhancing their trading strategies with data-driven insights. Suitable for both day traders and swing traders, the tool is optimized for high-frequency and positional trading, providing a robust framework for analyzing market dynamics across multiple time horizons.
# Key Features
Multi-Time Frame Analysis
High Time Frame (HTF) Levels : The indicator tracks critical trading levels over multiple days, specifically at 20, 40, and 60-day intervals. This functionality is essential for identifying long-term trends and significant support and resistance levels that aid in strategic decision-making for swing traders and positional traders.
Low Time Frame (LTF) Levels : It monitors price movements within 20, 40, and 60-hour intervals on lower time frames. This granularity provides a detailed view of intraday price actions, which is crucial for scalping and short-term trading strategies favored by day traders.
Daily Open Integration : The indicator includes the daily opening price, providing a crucial reference point that reflects the market's initial sentiment. This feature helps traders assess the market's direction and volatility, enabling them to make informed decisions based on the day's early movements, which is particularly useful for day trading strategies.
IPDA Reference Points : By leveraging IPDA's 20, 40, and 60-period lookbacks, the tool identifies Key Highs and Lows, which are used by IPDA as Draw On Liquidity. IPDA is an electronic and algorithmic system engineered for achieving price delivery efficiency, as taught by ICT. These reference points serve as benchmarks for understanding institutional trading behavior, allowing traders to align their strategies with the dominant market forces and recognize institutional key levels.
Dynamic Updates and Overlap Management : The indicator is updated daily at the beginning of a new daily candle with the latest market data, ensuring that traders operate with the most current information. It also features intelligent overlap management that prioritizes the most relevant levels based on the timeframe hierarchy, reducing visual clutter and enhancing chart readability.
Comprehensive Customization Options : Traders can tailor the indicator to their specific needs through an extensive input menu. This includes toggles for visibility, line styles, color selections, and label display preferences. These customization options ensure that the tool can adapt to various trading styles and preferences, enhancing user experience and analytical capabilities.
User-Friendly Interface : The tool is designed with a user-friendly interface that includes clear, concise labels for all significant levels. It supports various font families and sizes, making it easier to interpret and act upon the displayed data, ensuring that traders can focus on making informed trading decisions without being overwhelmed by unnecessary information.
# Usage Note
The indicator is segmented into two key functionalities:
LTF Displays : The Low Time Frame (LTF) settings are exclusive to timeframes up to 1 hour, providing detailed analysis for intraday traders. This is crucial for traders who need precise and timely data to make quick decisions within the trading day.
HTF Displays : The High Time Frame (HTF) settings apply to the daily timeframe and any shorter intervals, allowing for comprehensive analysis over extended periods. This is beneficial for swing traders looking to identify broader trends and market directions.
# Inputs and Configurations
BINANCE:BTCUSDT
Offset: Adjustable setting to shift displayed data horizontally for better visibility, allowing traders to view past levels and make informed decisions based on historical data.
Label Styles: Choose between compact or verbose label formats for different levels, offering flexibility in how much detail is displayed on the chart.
Daily Open Line: Customizable line style and color for the daily opening price, providing a clear visual reference for the start of the trading day.
HTF Levels: Configurable high and low lines for HTF with options for style and color customization, allowing traders to highlight significant levels in a way that suits their trading style.
LTF Levels: Similar customization options for LTF levels, ensuring flexibility in how data is presented, making it easier for traders to focus on the most relevant intraday levels.
Text Utils: Settings for font family, size, and text color, allowing for personalized display preferences and ensuring that the chart is both informative and aesthetically pleasing.
# Advanced Features
Overlap Management : The script intelligently handles overlapping levels, particularly where multiple timeframes intersect, by prioritizing the more significant levels and removing redundant ones. This ensures that the charts remain clear and focused on the most critical data points, allowing traders to concentrate on the most relevant market information.
Real-Time Updates : The indicator updates its calculations at the start of each new daily bar, incorporating the latest market data to provide timely and accurate trading signals. This real-time updating is crucial for traders who rely on up-to-date information to execute their strategies effectively and make informed trading decisions.
# Example Use Cases
Scalpers/Day traders: Can utilize the LTF features to make rapid decisions based on hourly market movements, identifying short-term trading opportunities with precision.
Swing Traders: Will benefit from the HTF analysis to identify broader trends and key levels that influence longer-term market movements, enabling them to capture significant market swings.
By providing a clear, detailed view of key market dynamics, the ICT IPDA Liquidity Matrix by AlgoCados empowers traders to make more informed and effective trading decisions, aligning with institutional trading methodologies and enhancing their market understanding.
# Usage Disclaimer
This tool is designed to assist in trading decisions, but it should be used in conjunction with other analysis methods and risk management strategies. Trading involves significant risk, and it is essential to understand the market conditions thoroughly before making trading decisions.
Session Statistical Mapping° [Pro+] (Joshuuu)Introduction:
Dive into the dynamic world of statistical market analysis with Session Statistical Mapping Pro+, an advanced tool designed for intraday traders of all asset classes.
Description:
This indicator offers a detailed algorithmic statistical measurement of Time and price, integrating the principles of Inner Circle Trader (ICT) to analyze the market behaviours such as Manipulation, and Distribution. This tool supercharges your trading strategies with data-driven insights.
ICT traders classify manipulation as a movement to trap market participants in the "wrong" direction. This allows analysts to anticipate the intended real direction of the distribution phase.
On the other hand, when price distributes, it's looking to expand for higher – or lower – prices. Analysts can therefore note distribution levels for a draw on liquidity, retracement, or reversal.
These levels and the Time at which they are reached during the selected session, will provide important information about orderflow when price trades through them and the sequence in which the delivery occurs.
Additionally, to amplify the price mapping, this tool plots the average Time at which its manipulation and distribution phases should complete. This feature allows traders to utilize historical Timings in conjunction with the price levels of manipulation and distribution.
As with any historical data driven tool, analysts should not expect past behaviour to match future performance. This tool was created with a data driven edge to bring attention to when sessions are likely to turn after their manipulations, or retrace after completing set distributions.
Key Features:
Algorithmic Measurement of Price: Leverage algorithmic theory to measure price movements with precision. This tool calculates average session manipulation and distribution price levels, providing traders with actionable insights based on historical data – key manipulation and distribution levels.
Algorithmic Measurement of Time: Utilize algorithmic theory to measure time-based movements within specific sessions. This tool calculates the projected average Time at which the manipulation and distribution phases are completed during a given session. This feature enhances traders' ability to interpret market movements and align their strategies with Time data.
Four Sessions Times: Customize up to four Time ranges to focus on specific trading sessions, such as the European, US, or Asian market sessions. This allows traders to align their analysis with the operational hours of major market participants, capturing the most relevant price movements. Traders can also create unique sessions based on their trading Time to study market behaviour when they usually operate in the markets – unlocking a level of understanding towards their personal backtested model and strategies.
Flexible Calculation: The sample size of the sessions can be set to a specific number – the default is 1000. This allows traders to adjust the depth of historical data used in their analysis, balancing detail and performance.
Further Customization:
Custom Appearance: Adjust the style of session lines with options like dotted, solid, and various colors. This helps traders visually distinguish between different types of market activities (e.g., Open, Manipulation, Distribution) on their charts.
Lookback Periods: Option to show available lookback periods for a deeper historical analysis, providing context and historical benchmarks for current market conditions.
Extended Visualization: Pre-extend lines until session close for better visualization of market phases. This helps traders see the continuation of trends and market behaviours beyond the immediate session.
Clean Chart Layout: Options to delete old labels and abbreviate labels maintain a clean and organized chart, enhancing readability and focus.
Conclusion
By incorporating algorithmic theory Time and price measurements, historical data insights, and the principles of Inner Circle Trader (ICT), this indicator offers a comprehensive approach to understanding market behaviour. Whether you're analyzing price patterns, timing market movements, or combining both, Session Statistical Mapping Pro+ equips you with the potential roadmap of an asset, allowing you to navigate the complexities of the market’s volatility.
Usage Guidance:
Add Session Statistical Mapping Pro to your Tradingview chart.
Choose up to 4 sessions for the mapping to plot on your chart, be sure to adjust your style and visual preferences to differentiate the sessions’ levels.
Observe how calculated manipulation, distributions, and delivery times align together with predetermined analysis.
Leverage this information with other models and insights to create a stronger narrative for your analysis.
These tools are available ONLY on the TradingView platform.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of the Toodegrees Premium Suite subscription. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
M Farm Scalper v4"M Farm Scalper v2" Trading Indicator on TradingView
Overview
This script uses a combination of indicators to help attempt the best view of when to exit and enter markets. The author has seen that usage of multiple indicators combined provided value and create profit.
1. Improved Signal Reliability
Combining swing highs and lows with Swing Failure Patterns (SFP) increases the reliability of the signals. Each indicator contributes different insights into market behavior:
Swing Highs and Lows: These help identify key support and resistance levels.
Swing Failure Patterns: These provide early warning signs of potential trend reversals when price fails to maintain new highs or lows.
2. Comprehensive Market Analysis
Using multiple indicators allows for a more comprehensive analysis of market conditions:
Trend Analysis: Swing highs and lows can indicate the overall trend direction.
Reversal Signals: SFPs highlight potential reversal points where the current trend might be weakening.
3. Enhanced Signal Strength
The script not only detects basic SFPs but also evaluates their strength by considering the number of failures within a specified range:
Strength of SFPs: By quantifying the strength of SFPs, the script can distinguish between weak and strong reversal signals. This helps traders prioritize stronger signals, reducing false positives.
4. Visual and Alert-based Trading
The combined use of these indicators improves both visual analysis and automated alert systems:
Visual Representation: Plotting different characters for swing points and SFPs makes it easier for traders to quickly interpret the chart.
Alerts: Automated alerts for specific conditions (like swing high/low failures) enable traders to respond promptly to significant market movements without constantly monitoring the charts.
5. Flexibility and Customization
The script includes parameters that allow traders to customize the behavior of the indicators based on their trading preferences:
Customization of Lookback Period (swingHistory): Traders can adjust this to fine-tune the sensitivity of swing point detection.
Selective Plotting (plotSwings, plotFirstSFPOnly, plotStrongerSFPs): These options provide flexibility in how much information is displayed on the chart, preventing clutter and focusing on relevant signals.
6. Minimized Noise and False Signals
By using a combination of indicators, the strategy aims to filter out market noise and reduce the likelihood of false signals:
Confluence of Signals: When multiple indicators align to provide a signal, it generally indicates a higher probability setup, thus reducing the chances of acting on false or less significant market moves.
7. Contextual Market Understanding
Combining indicators offers a more contextual understanding of market dynamics:
Market Context: Identifying both support/resistance levels (via swing points) and potential trend reversals (via SFPs) provides a fuller picture of market conditions, allowing traders to make more informed decisions.
Conclusion
Combining multiple indicators in the "M Farm Scalper v2" script is a strategic choice designed to enhance the robustness, reliability, and actionable quality of the trading signals. This approach leverages the strengths of each indicator to provide a well-rounded, comprehensive trading tool that aids traders in identifying high-probability trade setups and minimizing the risk of false signals.
ChatGPT can make mistakes. Check important info.
Introducing "M Farm Scalper v2" – an advanced proprietary trading indicator designed exclusively for the TradingView platform. This tool excels in identifying key swing points and Swing Failure Patterns (SFPs), offering traders unique visual and auditory cues to enhance decision-making. It's particularly tailored for the 5-minute timeframe but adaptable to suit a variety of trading styles.
Unique Features
Advanced Swing Point Detection: Leverages a sophisticated algorithm to detect swing highs and lows, integrating predictive analytics to forecast potential market reversals.
Dynamic Swing Failure Pattern Analysis: Employs a real-time analysis combining price action and volume data to pinpoint bullish and bearish reversal opportunities with high precision.
Innovative Visual and Auditory Cues: Features unique, easy-to-understand icons such as animals and fruits to represent market signals, simplifying complex market data into actionable insights.
Functionality
"M Farm Scalper v2" is crafted to deliver:
Configurable Parameters: Users can adjust settings including Swing History, visibility of swing points, and sensitivity for detecting stronger SFPs, making it highly customizable to fit individual trading strategies.
Clear, Actionable Outputs: Designed to offer straightforward visual signals directly on the trading chart, facilitating quick and effective decision-making.
Compliance and Originality
Original Integration of Features: This script combines several analytical techniques into a cohesive unit that surpasses the capabilities of existing open-source scripts in both originality and functionality.
Justification for Closed-Source: The proprietary nature of the algorithms and the unique method of data presentation are maintained as closed-source to protect the integrity and effectiveness of the tool, providing users with a reliable competitive advantage.
Application Instructions
To apply "M Farm Scalper v2," add it from the TradingView "Indicators" menu by searching for our script. Adjust the customizable settings as per your trading requirements and observe how the indicator’s outputs make market dynamics easy to interpret and act upon.
Chart Presentation
The accompanying chart is presented cleanly, focusing solely on the outputs of "M Farm Scalper v2." Each visual cue is annotated to demonstrate its relevance, ensuring that traders can easily understand and utilize the information provided without distraction.
Conclusion
"M Farm Scalper v2" is not just an indicator but an essential trading tool for those seeking precision and efficiency in their trading operations. Its advanced features and user-friendly design make it a valuable addition to any trader’s arsenal, especially for those involved in scalping and short-term trading.
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Gaussian Price Filter [BackQuant]Gaussian Price Filter
Overview and History of the Gaussian Transformation
The Gaussian transformation, often associated with the Gaussian (normal) distribution, is a mathematical function characteristically prominent in statistics and probability theory. The bell-shaped curve of the Gaussian function, expressing the normal distribution, is ubiquitously employed in various scientific and engineering disciplines, including financial market analysis. This transformation's core utility in trading and economic forecasting is derived from its efficacy in smoothing data series and highlighting underlying trends, which are pivotal for making strategic trading decisions.
The Gaussian filter, specifically, is a type of data-smoothing algorithm that mitigates the random "noise" of market price data, thus enhancing the visibility of crucial trend changes and patterns. Historically, this concept was adapted from fields such as signal processing and image editing, where precise extraction of useful information from noisy environments is critical.
1. What is a Gaussian Transformation?
A Gaussian transformation involves the application of a Gaussian function to a set of data points. The function is applied as a filter in the context of trading algorithms to smooth time series data, which helps in identifying the intrinsic trends obscured by market volatility. The transformation is characterized by its parameter, sigma (σ), representing the standard deviation, which determines the width of the Gaussian bell curve. The breadth of this curve impacts the degree of smoothing: a wider curve (higher sigma value) results in more smoothing, beneficial for longer-term trend analysis.
2. Filtering Price with Gaussian Transformation and its Benefits
In the provided Script, the Gaussian transformation is utilized to filter price data. The filtering process involves convolving the price data with Gaussian weights, which are calculated based on the chosen length (the number of data points considered) and sigma. This convolution process smooths out short-term fluctuations and highlights longer-term movements, facilitating a clearer analysis of market trends.
Benefits:
Reduces noise: It filters out minor price movements and random fluctuations, which are often misleading.
Enhances trend recognition: By smoothing the data, it becomes easier to identify significant trends and reversals.
Improves decision-making: Traders can make more informed decisions by focusing on substantive, smoothed data rather than reacting to random noise.
3. Potential Limitations and Issues
While Gaussian filters are highly effective in smoothing data, they are not without limitations:
Lag introduction: Like all moving averages, the Gaussian filter introduces a lag between the actual price movements and the output signal, which can delay decision-making.
Feature blurring: Over-smoothing might obscure significant price movements, especially if a large sigma is used.
Parameter sensitivity: The choice of length and sigma significantly affects the output, requiring optimization and backtesting to determine the best settings for specific market conditions.
4. Extending Gaussian Filters to Other Indicators
The methodology used to filter price data with a Gaussian filter can similarly be applied to other technical indicators, such as RSI (Relative Strength Index) or MACD (Moving Average Convergence Divergence). By smoothing these indicators, traders can reduce false signals and enhance the reliability of the indicators' outputs, leading to potentially more accurate signals and better timing for entering or exiting trades.
5. Application in Trading
In trading, the Gaussian Price Filter can be strategically used to:
Spot trend reversals: Smoothed price data can more clearly indicate when a trend is starting to change, which is crucial for catching reversals early.
Define entry and exit points: The filtered data points can help in setting more precise entry and exit thresholds, minimizing the risk and maximizing the potential return.
Filter other data streams: Apply the Gaussian filter on volume or open interest data to identify significant changes in market dynamics.
6. Functionality of the Script
The script is designed to:
Calculate Gaussian weights (f_gaussianWeights function): Generates the weights used for the Gaussian kernel based on the provided length and sigma.
Apply the Gaussian filter (f_applyGaussianFilter function): Uses the weights to compute the smoothed price data.
Conditional Trend Detection and Coloring: Determines the trend direction based on the filtered price and colors the price bars on the chart to visually represent the trend.
7. Specific Actions of This Code
The Pine Script provided by BackQuant executes several specific actions:
Input Handling: It allows users to specify the source data (src), kernel length, and sigma directly in the chart settings.
Weight Calculation and Normalization: Computes the Gaussian weights and normalizes them to ensure their sum equals one, which maintains the original data scale.
Filter Application: Applies the normalized Gaussian kernel to the price data to produce a smoothed output.
Trend Identification and Visualization: Identifies whether the market is trending upwards or downwards based on the smoothed data and colors the bars green (up) or red (down) to indicate the trend direction.
Momentum Ghost Machine [ChartPrime]Momentum Ghost Machine (ChartPrime) is designed to be the next generation in momentum/rate of change analysis. This indicator utilizes the properties of one of our favorite filters to create a more accurate and stable momentum oscillator by using a high quality filtered delayed signal to do the momentum comparison.
Traditional momentum/roc uses the raw price data to compare current price to previous price to generate a directional oscillator. This leaves the oscillator prone to false readings and noisy outputs that leave traders unsure of the real likelihood of a future movement. One way to mitigate this issue would be to use some sort of moving average. Unfortunately, this can only go so far because simple moving average algorithms result in a poor reconstruction of the actual shape of the underlying signal.
The windowed sinc low pass filter is a linear phase filter, meaning that it doesn't change the shape or size of the original signal when applied. This results in a faithful reconstruction of the original signal, but without the "high frequency noise". Just like any filter, the process of applying it requires that we have "future" samples resulting in a time delay for real time applications. Fortunately this is a great thing in the context of a momentum oscillator because we need some representation of past price data to compare the current price data to. By using an ideal low pass filter to generate this delayed signal we can super charge the momentum oscillator and fix the majority of issues its predecessors had.
This indicator has a few extra features that other momentum/roc indicators dont have. One major yet simple improvement is the inclusion of a moving average to help gauge the rate of change of this indicator. Since we included a moving average, we thought it would only be appropriate to add a histogram to help visualize the relationship between the signal and its average. To go further with this we have also included linear extrapolation to further help you predict the momentum and direction of this oscillator. Included with this extrapolation we have also added the histogram in the extrapolation to further enhance its visual interpretation. Finally, the inclusion of a candle coloring feature really drives how the utility of the Momentum Machine .
There are three distinct options when using the candle coloring feature: Direct, MA, and Both. With direct the candles will be colored based on the indicators direction and polarity. When it is above zero and moving up, it displays a green color. When it is above zero and moving down it will display a light green color. Conversely, when the indicator is below zero and moving down it displays a red color, and when it it moving up and below zero it will display a light red color. MA coloring will color the candles just like a MACD. If the signal is above its MA and moving up it will display a green color, and when it is above its MA and moving down it will display a light green color.
When the signal is below its MA and moving down it will display a red color, and when its below its ma and moving up it will display a light red color. Both combines the two into a single color scheme providing you with the best of both worlds. If the indicator is above zero it will display the MA colors with a slight twist. When the indicator is moving down and is below its MA it will display a lighter color than before, and when it is below zero and is above its MA it will display a darker color color.
Length of 50 with a smoothing of 100
Length of 50 with a smoothing of 25
By default, the indicator is set to a momentum length of 50, with a post smoothing of 2. We have chosen the longer period for the momentum length to highlight the performance of this indicator compared to its ancestors. A major point to consider with this indicator is that you can only achieve so much smoothing for a chosen delay. This is because more data is required to produce a smoother signal at a specified length. Once you have selected your desired momentum length you can then select your desired momentum smoothing . This is made possible by the use of the windowed sinc low pass algorithm because it includes a frequency cutoff argument. This means that you can have as little or as much smoothing as you please without impacting the period of the indicator. In the provided examples above this paragraph is a visual representation of what is going on under the hood of this indicator. The blue line is the filtered signal being compared to the current closing price. As you can see, the filtered signal is very smooth and accurately represents the underlying price action without noise.
We hope that users can find the same utility as we did in this indicator and that it levels up your analysis utilizing the momentum oscillator or rate of change.
Enjoy
Kalman Price Filter [BackQuant]Kalman Price Filter
The Kalman Filter, named after Rudolf E. Kálmán, is a algorithm used for estimating the state of a linear dynamic system from a series of noisy measurements. Originally developed for aerospace applications in the early 1960s, such as guiding Apollo spacecraft to the moon, it has since been applied across numerous fields including robotics, economics, and, notably, financial markets. Its ability to efficiently process noisy data in real-time and adapt to new measurements has made it a valuable tool in these areas.
Use Cases in Financial Markets
1. Trend Identification:
The Kalman Filter can smooth out market price data, helping to identify the underlying trend amidst the noise. This is particularly useful in algorithmic trading, where identifying the direction and strength of a trend can inform trade entry and exit decisions.
2. Market Prediction:
While no filter can predict the future with certainty, the Kalman Filter can be used to forecast short-term market movements based on current and historical data. It does this by estimating the current state of the market (e.g., the "true" price) and projecting it forward under certain model assumptions.
3. Risk Management:
The Kalman Filter's ability to estimate the volatility (or noise) of the market can be used for risk management. By dynamically adjusting to changes in market conditions, it can help traders adjust their position sizes and stop-loss orders to better manage risk.
4. Pair Trading and Arbitrage:
In pair trading, where the goal is to capitalize on the price difference between two correlated securities, the Kalman Filter can be used to estimate the spread between the pair and identify when the spread deviates significantly from its historical average, indicating a trading opportunity.
5. Optimal Asset Allocation:
The filter can also be applied in portfolio management to dynamically adjust the weights of different assets in a portfolio based on their estimated risks and returns, optimizing the portfolio's performance over time.
Advantages in Financial Applications
Adaptability: The Kalman Filter continuously updates its estimates with each new data point, making it well-suited to markets that are constantly changing.
Efficiency: It processes data and updates estimates in real-time, which is crucial for high-frequency trading strategies.
Handling Noise: Its ability to distinguish between the signal (e.g., the true price trend) and noise (e.g., random fluctuations) is particularly valuable in financial markets, where price data can be highly volatile.
Challenges and Considerations
Model Assumptions: The effectiveness of the Kalman Filter in financial applications depends on the accuracy of the model used to describe market dynamics. Financial markets are complex and influenced by numerous factors, making model selection critical.
Parameter Sensitivity: The filter's performance can be sensitive to the choice of parameters, such as the process and measurement noise values. These need to be carefully selected and potentially adjusted over time.
Despite these challenges, the Kalman Filter remains a potent tool in the quantitative trader's arsenal, offering a sophisticated method to extract useful information from noisy financial data. Its use in trading strategies should, however, be complemented with sound risk management practices and an awareness of the limitations inherent in any model-based approach to trading.
Breaker Blocks Screener | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Breaker Blocks Screener! This screener can provide information about the latest breaker blocks in up to 5 tickers. You can also customize the algorithm that finds the breaker blocks and the styling of the screener.
Features of the new Breaker Blocks Screener :
Find Latest Breaker Blocks Accross 5 Tickers
Latest Status, Restests & Volume
Customizable Algoritm / Styling
📌 HOW DOES IT WORK ?
Breaker blocks form when an order block fails, or "breaks". It is often associated with market going in the opposite direction of the broken order block, and they can be spotted by following order blocks and finding the point they get broken, ie. price goes below a bullish order block.
The volume of a breaker block is simply the total volume of the bar that the original order block is broken. Often the higher the breaking bar's volume, the stronger the breaker block is.
This screener then finds breaker blocks accross 5 different tickers, and shows the latest information about them.
Status ->
Far -> The current price is far away from the breaker block.
Approaching ⬆️/⬇️ -> The current price is approaching the breaker block, and the direction it's approaching from.
Inside -> The price is currently inside the breaker block.
Retests -> Retest means the price to invalidate the breaker block, but failed to do so. Here you can see how many times the price retested the breaker block.
For the volume, check the top of the "How Does It Work" section.
🚩UNIQUENESS
This screener can detect latest breaker blocks and give information about them for up to 5 tickers. This saves the user time by showing them all in a dashboard at the same time. The screener shows the number of the retests of the breaker block as an unique trait. Another unique ability of the screener is that it shows the latest valid breaker block's volume in the dashboard.
⚙️SETTINGS
1. Tickers
You can set up to 5 tickers for the screener to scan breaker blocks here. You can also enable / disable them and set their individual timeframes.
2. General Configuration
Zone Invalidations -> Select between Wick & Close price for Order & Breaker Block Invalidation.
Swing Length -> Swing length is used when finding order block formations. Smaller values will result in finding smaller order blocks.
Liquidity Grab Screener | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Liquidity Grab Screener! This screener can provide information about the latest liquidity grabs in up to 5 tickers. You can also customize the algorithm that finds the liquidity grabs and the styling of the screener.
Features of the new Liquidity Grab Screener :
Find Latest Liquidity Grabs Accross 5 Tickers
Price, Size, Status Information
Customizable Algoritm / Styling
📌 HOW DOES IT WORK ?
Liquidity grabs occur when one of the latest pivots has a false breakout. Then, if the wick to body ratio of the bar is higher than 0.5 (can be changed from the settings) a bubble is plotted.
The bubble size is determined by the wick to body ratio of the candle.
This screener then finds liquidity grabs accross 5 different tickers, and shows the latest information about them.
Price -> The price when the liquidity grab happened.
Size -> Size of the liquidity grab, determined by the wick-body ratio.
Status -> Shows the elapsed time of the liquidity grab.
🚩UNIQUENESS
Liquidity grabs can be useful when determining candles that have executed a lot of market orders, and planning your trades accordingly. This screener will find liquidity grabs from up to 5 tickers and give information about their price, size and status. The screener also lets you customize the pivot length and the wick-body ratio for liquidity grabs.
⚙️SETTINGS
1. Tickers
You can set up to 5 tickers for the screener to scan order blocks here. You can also enable / disable them and set their individual timeframes.
2. General Configuration
Pivot Length -> This setting determines the range of the pivots. This means a candle has to have the highest / lowest wick of the previous X bars and the next X bars to become a high / low pivot.
Wick-Body Ratio -> After a pivot has a false breakout, the wick-body ratio of the latest candle is tested. The resulting ratio must be higher than this setting for it to be considered as a liquidity grab.
Exponentially Weighted Moving Average Oscillator [BackQuant]Exponentially Weighted Moving Average (EWMA)
The Exponentially Weighted Moving Average (EWMA) is a quantitative or statistical measure used to model or describe a time series. The EWMA is widely used in finance, the main applications being technical analysis and volatility modeling.
The moving average is designed as such that older observations are given lower weights. The weights fall exponentially as the data point gets older – hence the name exponentially weighted.
Applications of the EWMA
The EWMA is widely used in technical analysis. It may not be used directly, but it is used in conjunction with other indicators to generate trading signals. A well-known example is the Negative Volume Index (NVI), which is used in conjunction with its EWMA.
Why is it different from the In-Built TradingView EWMA
Adaptive Algorithms: If your strategy requires the alpha parameter to change adaptively based on certain conditions (for example, based on market volatility), a for loop can be used to adjust the weights dynamically within the loop as opposed to the fixed decay rate in the standard EWMA.
Customization: A for loop allows for more complex and nuanced calculations that may not be directly supported by built-in functions. For example, you might want to adjust the weights in a non-standard way that the typical EWMA calculation doesn't allow for.
Use of the Oscillator
This mainly comes from 3 main premises, this is something I like to do personally since it is easier to work with them in the context of my system. E.g. Using them to spot clear trends without noise on longer timeframes.
Clarity: Plotting the EWMA as an oscillator provides a clear visual representation of the momentum or trend strength. It allows traders to see overbought or oversold conditions relative to a normalized range.
Comparison: An oscillator can make it easier to compare different securities or timeframes on a similar scale, especially when normalized. This is because the oscillator values are typically bounded within a range (like -1 to 1 or 0 to 100), whereas the actual price series can vary significantly.
Focus on Change: When plotted as an oscillator, the focus is on the rate of change or the relative movement of the EWMA, not on the absolute price levels. This can help traders spot divergences or convergences that may not be as apparent when the EWMA is plotted directly on the price chart. This is also one reason there is a conditional plotting on the chart.
Trend Strength: When normalized, the distance of the oscillator from its midpoint can be interpreted as the strength of the trend, providing a quantitative measure that can be used to make systematic trading decisions.
Here are the backtests on the 1D Timeframe for
BITSTAMP:BTCUSD
BITSTAMP:ETHUSD
COINBASE:SOLUSD
When using this script the user is able to define a source and period, which by extension calculates the alpha. An option to colour the bars accord to trend.
This makes it super easy to use in a system.
I recommend using this as above the midline (0) for a positive trend and below the midline for negative trend.
Hence why I put a label on the last bar to ensure it is easier for traders to read.
Lastly, The decreasing colour relative to RoC, this also helps traders to understand the strength of the indicator and gain insight into when to potentially reduce position size.
This indicator is best used in the medium timeframe.
Order Blocks Screener | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Order Blocks Screener! This screener can provide information about the latest order blocks in up to 5 tickers. You can also customize the algorithm that finds the order blocks and the styling of the screener.
Features of the new Order Blocks Screener :
Find Latest Order Blocks Accross 5 Tickers
Latest Status, Restests, Bullish & Bearish Volume
Customizable Algoritm / Styling
📌 HOW DOES IT WORK ?
Order blocks occur when there is a high amount of market orders exist on a price range. It is possible to find order blocks using specific formations on the chart.
The high & low volume of order blocks should be taken into consideration while determining their strengths. The determination of the high & low volume of order blocks are similar to FVGs, in a bullish order block, the high volume is the last 2 bars' total volume, while the low volume is the oldest bar's volume. In a bearish order block scenerio, the low volume becomes the last 2 bars' total volume.
This screener then finds order blocks accross 5 different tickers, and shows the latest information about them.
Status ->
Far -> The current price is far away from the order block.
Approaching ⬆️/⬇️ -> The current price is approaching the order block, and the direction it's approaching from.
Inside -> The price is currently inside the order block.
Retests -> Retest means the price to invalidate the order block, but failed to do so. Here you can see how many times the price retested the order block.
For the bullish / bearish volume, check the "How Does It Work" section.
🚩UNIQUENESS
This screener can detect latest order blocks and give information about them for up to 5 tickers. This saves the user time by showing them all in a dashboard at the same time. The screener shows the number of the retests of the order block as an unique trait. Another unique ability of the screener is that it shows the latest valid order block's bullish and bearish volume in the dashboard.
⚙️SETTINGS
1. Tickers
You can set up to 5 tickers for the screener to scan order blocks here. You can also enable / disable them and set their individual timeframes.
2. General Configuration
Zone Invalidation -> Select between Wick & Close price for Order Block Invalidation.
Swing Length -> Swing length is used when finding order block formations. Smaller values will result in finding smaller order blocks.
Squeeze Momentum DeluxeThe Squeeze Momentum Deluxe is a comprehensive trading toolkit built with features of momentum, volatility, and price action. This script offers a suite for both mean reversion and trend-following analysis. Developed based on the original TTM Squeeze implementation by @LazyBear, this indicator introduces several innovative components to enhance your trading insights.
🔲 Components and Features
Momentum Oscillator - as rooted in the TTM Squeeze, quantifies the relationship between price and its extremes over a defined period. By normalizing the calculation, the values become comparable throughout time and across securities, allowing for a nuanced assessment of Bullish and Bearish momentum. Furthermore, by presenting it as a ribbon with a signal line we gain additional information about the direction of price swings.
Squeeze Bars - The original squeeze concept is based on the relationship between the Bollinger Bands and Keltner Channel , once the BB resides inside the KC a squeeze occurs. By understanding their fundamentals a new form of calculation can be inferred.
method bb(float src, simple int len, simple float mult) => method kc(float src, simple int len, simple float mult) =>
float basis = ta.sma (src, len) float basis = ta.sma (src, len)
float dev = ta.stdev(src, len) float rng = ta.atr ( len)
float upper = basis + dev * mult float upper = basis + rng * mult
float lower = basis - dev * mult float lower = basis - rng * mult
Both BB and KC are constructed upon a moving average with the addition of Standard Deviation and Average True Range respectively. Therefore, the calculation can be transformed to when the Stdev is lower than the ATR a squeeze occurs.
method sqz(float src, simple int len) =>
float dev = ta.stdev(src, len)
float atr = ta.atr ( len)
dev < atr ? true : false
This indicator uses three different thresholds for the ATR to gain three levels of price "Squeeze" for further analysis.
Directional Flux- This component measures the overall direction of price volatility, offering insights into trend sentiment. Presented as waves in the background, it includes an OverFlux feature to signal extreme market bias in a particular direction which can signal either exhaustion or vital continuation. Additionally, the user can choose if to base the calculation on Heikin-Ashi Candles to bias the tool toward trend assessment.
Confluence Gauges - Placed at the top and bottom of the indicator, these gauges measure confluence in the relationship between the Momentum Oscillator and Directional Flux. They provide traders with an easily interpretable visual aid for detecting market sentiment. Reversal doritos displayed alongside them contribute to mean reversion analysis.
Divergences (Real-Time) - Equipped with a custom algorithm, the indicator detects real-time divergences between price and the oscillator. This dynamic feature enhances your ability to spot potential trend reversals as they occur.
🔲 Settings
Directional Flux Length - Adjusts the period of which the background volatility waves operate on.
Trend Bias - Bases the calculation of the Flux to HA candles to bias its behavior toward the trend of price action.
Squeeze Momentum Length - Calibrates the length of the main oscillator ribbon as well as the period for the squeeze algorithm.
Signal - Controls the width of the ribbon. Lower values result in faster responsiveness at the cost of premature positives.
Divergence Sensitivity - Adjusts a threshold to limit the amount of divergences detected based on strength. Higher values result in less detections, stronger structure.
🔲 Alerts
Sell Signal
Buy Signal
Bullish Momentum
Bearish Momentum
Bullish Flux
Bearish Flux
Bullish Swing
Bearish Swing
Strong Bull Gauge
Strong Bear Gauge
Weak Bull Gauge
Weak Bear Gauge
High Squeeze
Normal Squeeze
Low Squeeze
Bullish Divergence
Bearish Divergence
As well as the option to trigger 'any alert' call.
The Squeeze Momentum Deluxe is a comprehensive tool that goes beyond traditional momentum indicators, offering a rich set of features to elevate your trading strategy. I recommend using toolkit alongside other indicators to have a wide variety of confluence to therefore gain higher probabilistic and better informed decisions.
LIT - Timings Fx MartinThe Asia Liquidity Points Indicator is a powerful tool designed for traders to identify key liquidity points during the Asia trading session. This script is tailored specifically to aid traders in capitalizing on the unique characteristics of Asian markets, providing invaluable insights into liquidity zones that can significantly enhance trading decisions.
Key Features:
Asia Session Focus: The indicator focuses exclusively on the Asia trading session, which encompasses the trading activity primarily in the Asian markets such as Tokyo, Hong Kong, Singapore, and others.
Liquidity Zones Identification: The script utilizes advanced algorithms to identify and map out liquidity zones within the Asia trading session. These zones represent areas where significant buying or selling pressure is likely to occur, thus presenting lucrative trading opportunities.
Customizable Parameters: Traders have the flexibility to customize various parameters such as time frame, sensitivity, and display options to suit their trading preferences and strategies.
Visual Alerts: The indicator provides visual alerts on the trading chart, clearly indicating the location and strength of liquidity points. This feature enables traders to quickly identify potential entry or exit points based on the liquidity dynamics in the market.
Real-Time Updates: The script continuously monitors market activity during the Asia session, providing real-time updates on liquidity points as they evolve. This ensures traders stay informed and adaptable to changing market conditions.
Integration with Trading Strategies: The Asia Liquidity Points Indicator seamlessly integrates with various trading strategies, serving as a valuable tool for both discretionary and algorithmic traders. Whether used in isolation or in combination with other technical analysis tools, this indicator can enhance trading performance and profitability.
User-Friendly Interface: The indicator boasts a user-friendly interface, making it accessible to traders of all levels of experience. Whether you are a novice trader or a seasoned professional, you can easily incorporate this tool into your trading arsenal.
In conclusion, the Asia Liquidity Points Indicator offers traders a strategic advantage in navigating the nuances of the Asia trading session. By identifying key liquidity zones and providing real-time insights, this script empowers traders to make informed decisions and capitalize on lucrative trading opportunities in the dynamic Asian markets.
Order Blocks Finder [TradingFinder] Major OB | Supply and Demand🔵 Introduction
Drawing all order blocks on the path, especially in range-bound or channeling markets, fills the chart with lines, making it confusing rather than providing the trader with the best entry and exit points.
🔵 Reason for Indicator Creation
For traders familiar with market structure and only need to know the main accumulation points (best entry or exit points), and primary order blocks that act as strong sources of power.
🟣 Important Note
All order blocks, both ascending and descending, are identified and displayed on the chart when the structure of "BOS" or "CHOCH" is broken, which can also be identified with "MSS."
🔵 How to Use
When the indicator is installed, it plots all order blocks (active order blocks) and continues until the price reaches them. This continuation happens in boxes to have a better view in the TradingView chart.
Green Range : Ascending order blocks where we expect a price increase in these areas.
Red Range : Descending order blocks where we expect a price decrease in these areas.
🔵 Settings
Order block refine setting : When Order block refine is off, the supply and demand zones are the entire length of the order block (Low to High) in their standard state and cannot be improved. If you turn on Order block refine, supply and demand zones will improve using the error correction algorithm.
Refine type setting : Improving order blocks using the error correction algorithm can be done in two ways: Defensive and Aggressive. In the Aggressive method, the largest possible range is considered for order blocks.
🟣 Important
The main advantage of the Aggressive method is minimizing the loss of stops, but due to the widening of the supply or demand zone, the reward-to-risk ratio decreases significantly. The Aggressive method is suitable for individuals who take high-risk trades.
In the Defensive method, the range of order blocks is minimized to their standard state. In this case, fewer stops are triggered, and the reward-to-risk ratio is maximized in its optimal state. It is recommended for individuals who trade with low risk.
Show high level setting : If you want to display major high levels, set show high level to Yes.
Show low level setting : If you want to display major low levels, set show low level to Yes.
🔵 How to Use
The general view of this indicator is as follows.
When the price approaches the range, wait for the price reaction to confirm it, such as a pin bar or divergence.
If the price passes with a strong candle (spike), especially after a long-range or at the beginning of sessions, a powerful event is happening, and it is outside the credibility level.
An Example of a Valid Zone
An Example of Breakout and Invalid Zone. (My suggestion is not to use pending orders, especially when the market is highly volatile or before and after news.)
After reaching this zone, expect the price to move by at least the minimum candle that confirmed it or a price ceiling or floor.
🟣 Important : These factors can be more accurately measured with other trend finder indicators provided.
🔵 Auxiliary Tools
There is much talk about not using trend lines, candlesticks, Fibonacci, etc., in the web space. However, our suggestion is to create and use tools that can help you profit from this market.
• Fibonacci Retracement
• Trading Sessions
• Candlesticks
🔵 Advantages
• Plotting main OBs without additional lines;
• Suitable for timeframes M1, M5, M15, H1, and H4;
• Effective in Tokyo, Sydney, and London sessions;
• Plotting the main ceiling and floor to help identify the trend.
Macro Matrix [Pro+] (DRxICT)Description:
Visualize the intricacies of the financial markets with Macro Matrix, a tool meticulously crafted with insights drawn from the teachings of Inner Circle Trader (ICT), and enhanced by ICT_Concepts.
A Macro is a short list of orders that the Interbank Price Delivery Algorithm (IPDA) will run to determine which liquidity to seek or which inefficiencies to rebalance. ICT traders are taught to focus on these Time windows to frame the clearest narrative and observe defining market behaviour. Traders can use the Macro Matrix to stay alerted about key market timings and price swings that arise during these times.
The Macro Matrix Pro+ brings the power of Macros to new heights thanks to ICT_Concepts’s studies of the market, by taking the price range defined by a Macro Time Window (i.e. 9:50-10:10 AM New York Time), and projecting it above and below the original range creating extensions, similar to DR models. Analysts can use these extensions to measure future price swings as targets, retracement levels, or key reversals.
In addition, analysts have the flexibility to choose different extensions over time. Extend projections until the next Macro, for the next 3 Macros, or even for a whole day. By considering and cross-referencing previous Macros, analysts can gain insights into their potential impact on the market and identify key market pivots.
When news events occur in specific macros on specific days of the week, these time based ranges can offer unique insights. This is particularly true when we consider the different impacts that various days of the week can have on market trends. By analyzing news events that fall within macro time ranges, analysts can gain a deeper understanding of the ranges that influence future market movements.
Key Features:
Day of the Week Filtering: refine your macro selection by implementing a day-of-the-week filter. This feature allows you to precisely tailor your chosen macros, enabling you to identify specific time-based opportunities within the week.
CME_MINI:ES1! Friday Macros only:
Macro Range: choose whether to base your macro range projections on the candle bodies or the wicks, offering you versatile control over your analysis and automate drawings.
CME_MINI:NQ1! Body vs. Wick difference:
Macro Extension: toggle between different extension methods to identify prior macro levels for future opportunities. Select to extend macro lines at intervals of 3, 6, 9 macros, or 1, 2, 3 days.
CME_MINI:NQ1! Different Extension periods:
Automatic Macro Coloring: choose to automatically color the macros based on the relationship of the open and the close or choose a single color to identify the macros and projections. Bullish macros will be colored blue and bearish macros will be colored red by default.
FOREXCOM:EURUSD Note how coloring helps determine narrative throughout the day:
Macro Open, Close, and Range Projections: identify key price levels of algorithmic timings to locate price inefficiencies, liquidity pools of interest, and equilibrium price points of fair value. Easily select these levels, as well as range projections up to 2.5 standard deviations.
CME_MINI:NQ1! Levels legend:
Alert Systems: customize alerts with flexible intervals preceding macro initiation in the market. Craft personalized alerts to stay informed and prepared for future market movements.
Usage Guidance:
Add Macro Matrix to your Tradingview chart.
Tailor your experience by toggling specific Time-based macros and style your perspective to be aligned with your analytical preference.
Observe where and when the market begins its macros, and how projections are utilized to influence macro or micro trends.
Leverage this invaluable information with other models and insights to create a stronger narrative for your analysis.
These tools are available ONLY on the TradingView platform.
Terms and Conditions
Our charting tools are products provided for informational and educational purposes only and do not constitute financial, investment, or trading advice. Our charting tools are not designed to predict market movements or provide specific recommendations. Users should be aware that past performance is not indicative of future results and should not be relied upon for making financial decisions. By using our charting tools, the purchaser agrees that the seller and the creator are not responsible for any decisions made based on the information provided by these charting tools. The purchaser assumes full responsibility and liability for any actions taken and the consequences thereof, including any loss of money or investments that may occur as a result of using these products. Hence, by purchasing these charting tools, the customer accepts and acknowledges that the seller and the creator are not liable nor responsible for any unwanted outcome that arises from the development, the sale, or the use of these products. Finally, the purchaser indemnifies the seller from any and all liability. If the purchaser was invited through the Friends and Family Program, they acknowledge that the provided discount code only applies to the first initial purchase of the Toodegrees Premium Suite subscription. The purchaser is therefore responsible for cancelling – or requesting to cancel – their subscription in the event that they do not wish to continue using the product at full retail price. If the purchaser no longer wishes to use the products, they must unsubscribe from the membership service, if applicable. We hold no reimbursement, refund, or chargeback policy. Once these Terms and Conditions are accepted by the Customer, before purchase, no reimbursements, refunds or chargebacks will be provided under any circumstances.
By continuing to use these charting tools, the user acknowledges and agrees to the Terms and Conditions outlined in this legal disclaimer.
Auto Chart Patterns [Trendoscope®]🎲 Introducing our most comprehensive automatic chart pattern recognition indicator.
Last week, we published an idea on how to algorithmically identify and classify chart patterns.
This indicator is nothing but the initial implementation of the idea. Whatever we explained in that publication that users can do manually to identify and classify the pattern, this indicator will do it for them.
🎲 Process of identifying the patterns.
The bulk of the logic is implemented as part of the library - chartpatterns . The indicator is a shell that captures the user inputs and makes use of the library to deliver the outcome.
🎯 Here is the list of steps executed to identify the patterns on the chart.
Derive multi level recursive zigzag for multiple base zigzag length and depth combinations.
For each zigzag and level, check the last 5 pivots or 6 pivots (based on the input setting) for possibility of valid trend line pairs.
If there is a valid trend line pair, then there is pattern.
🎯 Rules for identifying the valid trend line pairs
There should be at least two trend lines that does not intersect between the starting and ending pivots.
The upper trend line should touch all the pivot highs of the last 5 or 6 pivots considered for scanning the patterns
The lower trend line should touch all the pivot lows of the last 5 or 6 pivots considered for scanning the patterns.
None of the candles from starting pivot to ending pivot should fall outside the trend lines (above upper trend line and below lower trend line)
The existence of a valid trend line pair signifies the existence of pattern. What type of pattern it is, to identify that we need to go through the classification rules.
🎲 Process of classification of the patterns.
We need to gather the following information before we classify the pattern.
Direction of upper trend line - rising, falling or flat
Direction of lower trend line - rising, falling or flat
Characteristics of trend line pair - converging, expanding, parallel
🎯 Broader Classifications
Broader classification would include the following types.
🚩 Classification Based on Geometrical Shapes
This includes
Wedges - both trend lines are moving in the same direction. But, the trend lines are either converging or diverging and not parallel to each other.
Triangles - trend lines are moving in different directions. Naturally, they are either converging or diverging.
Channels - Both trend lines are moving in the same direction, and they are parallel to each other within the limits of error.
🚩 Classification Based on Pattern Direction
This includes
Ascending/Rising Patterns - No trend line is moving in the downward direction and at least one trend line is moving upwards
Descending/Falling Patterns - No trend line is moving in the upward direction, and at least one trend line is moving downwards.
Flat - Both Trend Lines are Flat
Bi-Directional - Both trend lines are moving in opposite direction and none of them is flat.
🚩 Classification Based on Formation Dynamics
This includes
Converging Patterns - Trend Lines are converging towards each other
Diverging Patterns - Trend Lines are diverging from each other
Parallel Patterns - Trend Lines are parallel to each others
🎯 Individual Pattern Types
Now we have broader classifications. Let's go through in detail to find out fine-grained classification of each individual patterns.
🚩 Ascending/Uptrend Channel
This pattern belongs to the broader classifications - Ascending Patterns, Parallel Patterns and Channels. The rules for the Ascending/Uptrend Channel pattern are as below
Both trend lines are rising
Trend lines are parallel to each other
🚩 Descending/Downtrend Channel
This pattern belongs to the broader classifications - Descending Patterns, Parallel Patterns and Channels. The rules for the Descending/Downtrend Channel pattern are as below
Both trend lines are falling
Trend lines are parallel to each other
🚩 Ranging Channel
This pattern belongs to the broader classifications - Flat Patterns, Parallel Patterns and Channels. The rules for the Ranging Channel pattern are as below
Both trend lines are flat
Trend lines are parallel to each other
🚩 Rising Wedge - Expanding
This pattern belongs to the broader classifications - Rising Patterns, Diverging Patterns and Wedges. The rules for the Expanding Rising Wedge pattern are as below
Both trend lines are rising
Trend Lines are diverging.
🚩 Rising Wedge - Contracting
This pattern belongs to the broader classifications - Rising Patterns, Converging Patterns and Wedges. The rules for the Contracting Rising Wedge pattern are as below
Both trend lines are rising
Trend Lines are converging.
🚩 Falling Wedge - Expanding
This pattern belongs to the broader classifications - Falling Patterns, Diverging Patterns and Wedges. The rules for the Expanding Falling Wedge pattern are as below
Both trend lines are falling
Trend Lines are diverging.
🚩 Falling Wedge - Contracting
This pattern belongs to the broader classifications - Falling Patterns, Converging Patterns and Wedges. The rules for the Converging Falling Wedge are as below
Both trend lines are falling
Trend Lines are converging.
🚩 Rising/Ascending Triangle - Expanding
This pattern belongs to the broader classifications - Rising Patterns, Diverging Patterns and Triangles. The rules for the Expanding Ascending Triangle pattern are as below
The upper trend line is rising
The lower trend line is flat
Naturally, the trend lines are diverging from each other
🚩 Rising/Ascending Triangle - Contracting
This pattern belongs to the broader classifications - Rising Patterns, Converging Patterns and Triangles. The rules for the Contracting Ascending Triangle pattern are as below
The upper trend line is flat
The lower trend line is rising
Naturally, the trend lines are converging.
🚩 Falling/Descending Triangle - Expanding
This pattern belongs to the broader classifications - Falling Patterns, Diverging Patterns and Triangles. The rules for the Expanding Descending Triangle pattern are as below
The upper trend line is flat
The lower trend line is falling
Naturally, the trend lines are diverging from each other
🚩 Falling/Descending Triangle - Contracting
This pattern belongs to the broader classifications - Falling Patterns, Converging Patterns and Triangles. The rules for the Contracting Descending Triangle pattern are as below
The upper trend line is falling
The lower trend line is flat
Naturally, the trend lines are converging.
🚩 Converging Triangle
This pattern belongs to the broader classifications - Bi-Directional Patterns, Converging Patterns and Triangles. The rules for the Converging Triangle pattern are as below
The upper trend line is falling
The lower trend line is rising
Naturally, the trend lines are converging.
🚩 Diverging Triangle
This pattern belongs to the broader classifications - Bi-Directional Patterns, Diverging Patterns and Triangles. The rules for the Diverging Triangle pattern are as below
The upper trend line is rising
The lower trend line is falling
Naturally, the trend lines are diverging from each other.
🎲 Indicator Settings - Auto Chart Patterns
🎯 Zigzag Settings
Zigzag settings allow users to select the number of zigzag combinations to be used for pattern scanning, and also allows users to set zigzag length and depth combinations.
🎯 Scanning Settings
Number of Pivots - This can be either 5 or 6. Represents the number of pivots used for identification of patterns.
Error Threshold - Error threshold used for initial trend line validation.
Flat Threshold - Flat angle threshold is used to identify the slope and direction of trend lines.
Last Pivot Direction - Filters patterns based on the last pivot direction. The values can be up, down, both, or custom. When custom is selected, then the individual pattern specific last pivot direction setting is used instead of the generic one.
Verify Bar Ratio - Provides option to ignore extreme patterns where the ratios of zigzag lines are not proportionate to each other.
Avoid Overlap - When selected, the patterns that overlap with existing patterns will be ignored while scanning. Meaning, if the new pattern starting point falls between the start and end of an existing pattern, it will be ignored.
🎯 Group Classification Filters
Allows users to enable disable patterns based on group classifications.
🚩 Geometric Shapes Based Classifications
Wedges - Rising Wedge Expanding, Falling Wedge Expanding, Rising Wedge Contracting, Falling Wedge Contracting.
Channels - Ascending Channel, Descending Channel, Ranging Channel
Triangles - Converging Triangle, Diverging Triangle, Ascending Triangle Expanding, Descending Triangle Expanding, Ascending Triangle Contrcting and Descending Triangle Contracting
🚩 Direction Based Classifications
Rising - Rising Wedge Contracting, Rising Wedge Expanding, Ascending Triangle Contracting, Ascending Triangle Expanding and Ascending Channel
Falling - Falling Wedge Contracting, Falling Wedge Expanding, Descending Triangle Contracting, Descending Triangle Expanding and Descending Channel
Flat/Bi-directional - Ranging Channel, Converging Triangle, Diverging Triangle
🚩 Formation Dynamics Based Classifications
Expanding - Rising Wedge Expanding, Falling Wedge Expanding, Ascending Triangle Expanding, Descending Triangle Expanding, Diverging Triangle
Contracting - Rising Wedge Contracting, Falling Wedge Contracting, Ascending Triangle Contracting, Descending Triangle Contracting, Converging Triangle
Parallel - Ascending Channel, Descending Channgel and Ranging Channel
🎯 Individual Pattern Filters
These settings allow users to enable/disable individual patterns and also set last pivot direction filter individually for each pattern. Individual Last Pivot direction filters are only considered if the main "Last Pivot Direction" filter is set to "custom"
🎯 Display Settings
These are the settings that determine the indicator display. The details are provided in the tooltips and are self explanatory.
🎯 Alerts
A basic alert message is enabled upon detection of new pattern on the chart.
ATR Range Accumulation by Standard Deviation and Volume [SS]So, this is an indicator/premise I have been experimenting with, which mixes ATR with Z-Score and Volume metrics.
What does the indicator do?
The indicator, on the lower timeframes, uses an ATR approach to determine short-term ranges. It takes the average ATR range over a designated lookback period and plots out the levels like so:
It then calculates the Z-Score for these ATR targets (shown in the chart above) and calculates, over the designated lookback period, how often price accumulates at that standard deviation level.
The indicator is essentially a hybrid of my Z-Score Support and Resistance indicator and my frequency distribution indicator. It combines both concepts into one.
You also have the option of sorting by volume accumulation. This will display the accumulation of the ranges by volume accumulation, like so:
Larger Timeframes:
If you want to see the accumulation by volume or standard deviation on the larger timeframes, you can. Simply toggle on your preferred setting:
Show Total Accumulation Breakdown:
This will break down the levels, over the lookback period, by standard deviation. This is similar to the Z-Score support and resistance indicator. It will then show you how often price accumulates at these various standard deviation levels. Here is an example on the daily timeframe using the 1D chart settings:
Inversely, you can repeat this, with the Z-Score levels, but show accumulation by volume. This will print 5 boxes, which are between +3 Standard Deviations and -3 Standard Deviations, like so:
Here we can see that 61% of volume accumulation is between -1 and 1 standard deviation.
Using it to Trade:
For swing trading, I suggest using the larger timeframe information. However, for both swing and day traders, it is also helpful to use the ATR display. You can modify the ATR display to show the levels on any timeframe by selecting which timeframe you would like to see ATR ranges for. If you are trading on the 1 or 5-minute chart, I suggest leaving the levels at no shorter than a 60-minute timeframe.
You can also use these levels on the daily for the weekly levels, etc.
The accumulation being shown will be based on the current chart timeframe. This is a function of Pinescript, but in this case, it's actually advantageous because if you are trading on the shorter timeframe, and a level has 0% recent accumulation, it's unlikely we will see that level soon or overly quickly. Intraday retracements will generally happen to areas of high accumulation.
How this indicator is different:
The difference in this indicator comes from its focus on accumulation in relation to Standard Deviation. There is one thing that is consistent among retail traders, algorithms, market makers, and funds, and that is looking at the market in terms of standard deviation. Each person, market maker, and algorithm may be slightly nuanced in how it conceptualizes standard deviation (whether it be since the inception of the ticker (or IPO), or the previous 500 days, or the previous 100 days, etc.), but the premise remains consistent. Standard Deviation is a really important, if not the most important, metric to pay attention to. Another important metric is volume. Thus, the premise is that combining volume accumulation with standard deviation should, theoretically, be telling. We can see the extent of buying at various standard deviations and whether a stock is really a buy or not.
And that's the indicator! Hope you enjoy it. Leave your comments and questions below.
Safe trades!
Automatic Trend Lines & S/R Zones Pro [Quantigenics]The “Automatic Trend Lines & S/R Zones Pro ” script is an innovative tool that integrates automated support and resistance zone identification with trend line generation. This script is an invaluable asset in technical analysis, adeptly identifying critical price reversal or breakout areas and drawing trend lines to gauge market direction and momentum. It generates trading signals based on support/resistance and trend line dynamics, making it a versatile standalone or complementary tool suitable for any market or time frame.
The "Automatic Trend Lines & S/R Zones Pro " script performs advanced financial chart analysis by algorithmically identifying support/resistance zones and generating trend lines It analyzes historical data, applying calculations like the highest and lowest price points over specified periods (defined by 'PeakOverBar' and 'LowOverBar' settings) to determine potential support and resistance zones. Trend lines are drawn by connecting significant price peaks and troughs, calculated based on user-defined strength parameters. The script also produces trading signals by analyzing price interactions with these zones and trend lines, using algorithms to detect breakouts or rejections, thus aiding traders in informed decision-making.
Technical Composition: a
Support and Resistance Zone Detection : Mechanism: Utilizes historical price data to identify key levels indicative of intense trading activity, revealing potential price stalling or reversals. These levels are marked based on past market actions and supply-demand dynamics.
Visualization: Zones are highlighted with colored boxes, enabling traders to easily spot shifts in market sentiment.
Automatic Trend Line Generation : Methodology: Connects significant price highs and lows over a designated period, customizable through inputs like PeakOverBar and LowOverBar.
Utility : These trend lines act as crucial indicators of uptrend support and downtrend resistance, aiding in the recognition of potential breakout or reversal zones and trend directions.
Customization and Flexibility : Adjustable Parameters: Includes customization options for peak/trough identification periods, trend line visibility, and extent of support/resistance zones.
Enhanced User Experience : Designed to be intuitive and adaptable, catering to diverse trading styles and strategies.
Usage in Trading :
Entry and Exit Points: The trade signals plotted at the support/resistance zones can be used for identifying both entry and exit points, in anticipation of price stalling and potentially reversing, and breakout signals plotted as price breaks trendlines can be used for breakout trading strategies, as well as stop loss areas.
Signal Alerts: Real-time alerts for significant interactions with trend lines or S/R zones, vital for both entry and exit strategies.
Integration with Other Systems: While effective as a standalone tool, it can also be used alongside other indicators for a more robust trading method.
Input Parameter Settings :
Intra-Bar Signal Generation (IntraBar) : Allows toggling between immediate signal generation within the current bar or after bar closure.
Peak and Low Over Bar (PeakOverBar, LowOverBar) : Sets the bar count for identifying market peaks and lows, adjustable for analyzing different market trends.
Strongest Peaks and Lows Period (StrongestFromPeaks, StrongestFromLows) : Determines the period for identifying significant market peaks and lows.
Show S/R Zones (ShowSRZones) : Enables the display of Support/Resistance zones for better market insight.
Trend Line Type (TrendLineType) : Offers options for trend line styles, like "One Line" or "Triple Lines."
Extend Trend Lines (ExtendTrendLines) : Configures the extension length of trend lines, useful for predicting future trends.
Peak and Low Trend Line Settings (ShowPeakTrendLine, ShowLowTrendLine, etc.) : Manage the display and characteristics of specific trend lines.
Signal Settings (ShowLabels, ShowBreakSignals, ShowPopUPSignals, etc.) : Customizes the appearance and frequency of signals and alerts.
Alert Settings (ShowTrendBreakSignals, ShowTrendPopSignals, etc.) : Configures alerts for significant market events like trend line breaks or rejections.
The "Automatic Trend Lines & S/R Zones Pro" script stands out as an essential tool for traders, offering comprehensive support/resistance and trend line analysis in a single package. Its automatic features, combined with customizable options, make it a key element in elevating market analysis and informed trading decision-making.
As always, remember that trading involves risks and past performance is not indicative of future results.
You can see the “Author’s instructions below to get immediate access to Automatic Trend Lines & S/R Zones Pro & the rest of the “Quantigenics Premium Indicator Suite”.