Liquidity Channels [TFO]This indicator was built to visually demonstrate the significance of major, untouched pivots. With traders commonly placing orders at or near significant pivots, these areas are commonly referred to as Resting Liquidity. If we attribute some factor of growth over time, we can quickly visualize that certain pivots originated much further away than others, if their channels appear larger.
A pivot in this case is validated by the Liquidity Strength parameter. If set to 50 for example, then a pivot high is validated if its high is greater than the high of the 50 bars to the left and right of itself. This also implies a delay in finding pivots, as the drawings won't actually appear until validation, which would occur 50 bars after the original high has formed in this case. This is typical of indicators using swing highs and lows, as one must wait some period of time to validate the pivots in question.
The Channel Growth parameter dictates how much the Liquidity Channels will expand over time. The following chart is an example, where the left-hand side is using a Channel Growth of 1, and the right-hand side is using a Channel Growth of 10.
When price reaches these levels, they become invalidated and will stop extending to the right. The other condition for invalidation is the Delete After (Bars) parameter which, when enabled, declares that untouched levels will be deleted if the distance from their origin exceeds this many bars.
This indicator also offers an option to Hide Expanding Channels for those who just want the actual levels on their chart, without the extra visuals, which would look something like the below chart.
Indikator dan strategi
Machine Learning RSI [BackQuant]Machine Learning RSI
The Machine Learning RSI is a cutting-edge trading indicator that combines the power of Relative Strength Index (RSI) with Machine Learning (ML) clustering techniques to dynamically determine overbought and oversold thresholds. This advanced indicator adapts to market conditions in real-time, offering traders a robust tool for identifying optimal entry and exit points with increased precision.
Core Concept: Relative Strength Index (RSI)
The RSI is a well-known momentum oscillator that measures the speed and change of price movements, oscillating between 0 and 100. Typically, RSI values above 70 are considered overbought, and values below 30 are considered oversold. However, static thresholds may not be effective in all market conditions.
This script enhances the RSI by integrating a dynamic thresholding system powered by Machine Learning clustering, allowing it to adapt thresholds based on historical RSI behavior and market context.
Machine Learning Clustering for Dynamic Thresholds
The Machine Learning (ML) component uses clustering to calculate dynamic thresholds for overbought and oversold levels. Instead of relying on fixed RSI levels, this indicator clusters historical RSI values into three groups using a percentile-based initialization and iterative optimization:
Cluster 1: Represents lower RSI values (typically associated with oversold conditions).
Cluster 2: Represents mid-range RSI values.
Cluster 3: Represents higher RSI values (typically associated with overbought conditions).
Dynamic thresholds are determined as follows:
Long Threshold: The upper centroid value of Cluster 3.
Short Threshold: The lower centroid value of Cluster 1.
This approach ensures that the indicator adapts to the current market regime, providing more accurate signals in volatile or trending conditions.
Smoothing Options for RSI
To further enhance the effectiveness of the RSI, this script allows traders to apply various smoothing methods to the RSI calculation, including:
Simple Moving Average (SMA)
Exponential Moving Average (EMA)
Weighted Moving Average (WMA)
Hull Moving Average (HMA)
Linear Regression (LINREG)
Double Exponential Moving Average (DEMA)
Triple Exponential Moving Average (TEMA)
Adaptive Linear Moving Average (ALMA)
T3 Moving Average
Traders can select their preferred smoothing method and adjust the smoothing period to suit their trading style and market conditions. The option to smooth the RSI reduces noise and makes the indicator more reliable for detecting trends and reversals.
Long and Short Signals
The indicator generates long and short signals based on the relationship between the RSI value and the dynamic thresholds:
Long Signals: Triggered when the RSI crosses above the long threshold, signaling bullish momentum.
Short Signals: Triggered when the RSI falls below the short threshold, signaling bearish momentum.
These signals are dynamically adjusted to reflect real-time market conditions, making them more robust than static RSI signals.
Visualization and Clustering Insights
The Machine Learning RSI provides an intuitive and visually rich interface, including:
RSI Line: Plotted in real-time, color-coded based on its position relative to the dynamic thresholds (green for long, red for short, gray for neutral).
Dynamic Threshold Lines: The script plots the long and short thresholds calculated by the ML clustering process, providing a clear visual reference for overbought and oversold levels.
Cluster Plots: Each RSI cluster is displayed with distinct colors (green, orange, and red) to give traders insights into how RSI values are grouped and how the dynamic thresholds are derived.
Customization Options
The Machine Learning RSI is highly customizable, allowing traders to tailor the indicator to their preferences:
RSI Settings : Adjust the RSI length, source price, and smoothing method to match your trading strategy.
Threshold Settings : Define the range and step size for clustering thresholds, allowing you to fine-tune the clustering process.
Optimization Settings : Control the performance memory, maximum clustering steps, and maximum data points for ML calculations to ensure optimal performance.
UI Settings : Customize the appearance of the RSI plot, dynamic thresholds, and cluster plots. Traders can also enable or disable candle coloring based on trend direction.
Alerts and Automation
To assist traders in staying on top of market movements, the script includes alert conditions for key events:
Long Signal: When the RSI crosses above the long threshold.
Short Signal: When the RSI crosses below the short threshold.
These alerts can be configured to notify traders in real-time, enabling timely decisions without constant chart monitoring.
Trading Applications
The Machine Learning RSI is versatile and can be applied to various trading strategies, including:
Trend Following: By dynamically adjusting thresholds, this indicator is effective in identifying and following trends in real-time.
Reversal Trading: The ML clustering process helps identify extreme RSI levels, offering reliable signals for reversals.
Range-Bound Trading: The dynamic thresholds adapt to market conditions, making the indicator suitable for trading in sideways markets where static thresholds often fail.
Final Thoughts
The Machine Learning RSI represents a significant advancement in RSI-based trading indicators. By integrating Machine Learning clustering techniques, this script overcomes the limitations of static thresholds, providing dynamic, adaptive signals that respond to market conditions in real-time. With its robust visualization, customizable settings, and alert capabilities, this indicator is a powerful tool for traders seeking to enhance their momentum analysis and improve decision-making.
As always, thorough backtesting and integration into a broader trading strategy are recommended to maximize the effectiveness!
Smooth Price Oscillator [BigBeluga]The Smooth Price Oscillator by BigBeluga leverages John Ehlers' SuperSmoother filter to produce a clear and smooth oscillator for identifying market trends and mean reversion points. By filtering price data over two distinct periods, this indicator effectively removes noise, allowing traders to focus on significant signals without the clutter of market fluctuations.
🔵 KEY FEATURES & USAGE
● SuperSmoother-Based Oscillator:
This oscillator uses Ehlers' SuperSmoother filter, applied to two different periods, to create a smooth output that highlights price momentum and reduces market noise. The dual-period application enables a comparison of long-term and short-term price movements, making it suitable for both trend-following and reversion strategies.
// @function SuperSmoother filter based on Ehlers Filter
// @param price (float) The price series to be smoothed
// @param period (int) The smoothing period
// @returns Smoothed price
method smoother_F(float price, int period) =>
float step = 2.0 * math.pi / period
float a1 = math.exp(-math.sqrt(2) * math.pi / period)
float b1 = 2 * a1 * math.cos(math.sqrt(2) * step / period)
float c2 = b1
float c3 = -a1 * a1
float c1 = 1 - c2 - c3
float smoothed = 0.0
smoothed := bar_index >= 4
? c1 * (price + price ) / 2 + c2 * smoothed + c3 * smoothed
: price
smoothed
● Mean Reversion Signals:
The indicator identifies two types of mean reversion signals:
Simple Mean Reversion Signals: Triggered when the oscillator moves between thresholds of 1 and Overbought or between thresholds -1 and Ovesold, providing additional reversion opportunities. These signals are useful for capturing shorter-term corrections in trending markets.
Strong Mean Reversion Signals: Triggered when the oscillator above the overbought (upper band) or below oversold (lower band) thresholds, indicating a strong reversal point. These signals are marked with a "+" symbol on the chart for clear visibility.
Both types of signals are plotted on the oscillator and the main chart, helping traders to quickly identify potential trade entries or exits.
● Dynamic Bands and Thresholds:
The oscillator includes overbought and oversold bands based on a dynamically calculated standard deviation and EMA. These bands provide visual boundaries for identifying extreme price conditions, helping traders anticipate potential reversals at these levels.
● Real-Time Labels:
Labels are displayed at key thresholds and bands to indicate the oscillator’s status: "Overbought," "Oversold," and "Neutral". Mean reversion signals are also displayed on the main chart, providing an at-a-glance summary of current indicator conditions.
● Customizable Threshold Levels:
Traders can adjust the primary threshold and smoothing length according to their trading style. A higher threshold can reduce signal frequency, while a lower setting will provide more sensitivity to market reversals.
The Smooth Price Oscillator by BigBeluga is a refined, noise-filtered indicator designed to highlight mean reversion points with enhanced clarity. By providing both strong and simple reversion signals, as well as dynamic overbought/oversold bands, this tool allows traders to spot potential reversals and trend continuations with ease. Its dual representation on the oscillator and the main price chart offers flexibility and precision for any trading strategy focused on capturing cyclical market movements.
Moving Average Pullback Signals [UAlgo]The "Moving Average Pullback Signals " indicator is designed to identify potential trend continuation or reversal points based on moving average (MA) pullback patterns. This tool combines multiple types of moving averages, customized trend validation parameters, and candlestick wick patterns to provide reliable buy and sell signals. By leveraging several advanced MA methods (such as TEMA, DEMA, ZLSMA, and McGinley-D), this script can adapt to different market conditions, providing traders with flexibility and more precise trend-based entries and exits. The addition of a gradient color-coded moving average line and wick validation logic enables traders to visualize market sentiment and trend strength dynamically.
🔶 Key Features
Multiple Moving Average (MA) Calculation Methods: This indicator offers various MA calculation types, including SMA, EMA, DEMA, TEMA, ZLSMA, and McGinley-D, allowing traders to select the MA that best fits their strategy.
Trend Validation and Pattern Recognition: The indicator includes a customizable trend validation length, ensuring that the trend is consistent before buy/sell signals are generated. The "Trend Pattern Mode" setting provides flexibility between "No Trend in Progress," "Trend Continuation," and "Both," tailoring signals to the trader’s preferred style.
Wick Validation Logic: To enhance the accuracy of entries, this indicator identifies specific wick patterns for bullish or bearish pullbacks, which signal potential trend continuation or reversal. Wick length and validation factor are adjustable to suit various market conditions and timeframes.
Gradient Color-coded MA Line: This feature provides a quick visual cue for trend strength, with color changes reflecting relative highs and lows of the MA, enhancing market sentiment interpretation.
Alerts for Buy and Sell Signals: Alerts are triggered when either a bullish or bearish pullback is detected, allowing traders to receive instant notifications without continuously monitoring the chart.
Visual Labels for Reversal Points: The indicator plots labels ("R") at potential reversal points, with color-coded labels for bullish (green) and bearish (red) pullbacks, highlighting pullback opportunities that align with the trend or reversal potential.
🔶 Disclaimer
Use with Caution: This indicator is provided for educational and informational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
Adaptive Kalman filter - Trend Strength Oscillator (Zeiierman)█ Overview
The Adaptive Kalman Filter - Trend Strength Oscillator by Zeiierman is a sophisticated trend-following indicator that uses advanced mathematical techniques, including vector and matrix operations, to decompose price movements into trend and oscillatory components. Unlike standard indicators, this model assumes that price is driven by two latent (unobservable) factors: a long-term trend and localized oscillations around that trend. Through a dynamic "predict and update" process, the Kalman Filter leverages vectors to adaptively separate these components, extracting a clearer view of market direction and strength.
█ How It Works
This indicator operates on a trend + local change Kalman Filter model. It assumes that price movements consist of two underlying components: a core trend and an oscillatory term, representing smaller price fluctuations around that trend. The Kalman Filter adaptively separates these components by observing the price series over time and performing real-time updates as new data arrives.
Predict and Update Procedure: The Kalman Filter uses an adaptive predict-update cycle to estimate both components. This cycle allows the filter to adjust dynamically as the market evolves, providing a smooth yet responsive signal. The trend component extracted from this process is plotted directly, giving a clear view of the prevailing direction. The oscillatory component indicates the tendency or strength of the trend, reflected in the green/red coloration of the oscillator line.
Trend Strength Calculation: Trend strength is calculated by comparing the current oscillatory value against a configurable number of past values.
█ Three Kalman filter Models
This indicator offers three distinct Kalman filter models, each designed to handle different market conditions:
Standard Model: This is a conventional Kalman Filter, balancing responsiveness and smoothness. It works well across general market conditions.
Volume-Adjusted Model: In this model, the filter’s measurement noise automatically adjusts based on trading volume. Higher volumes indicate more informative price movements, which the filter treats with higher confidence. Conversely, low-volume movements are treated as less informative, adding robustness during low-activity periods.
Parkinson-Adjusted Model: This model adjusts measurement noise based on price volatility. It uses the price range (high-low) to determine the filter’s sensitivity, making it ideal for handling markets with frequent gaps or spikes. The model responds with higher confidence in low-volatility periods and adapts to high-volatility scenarios by treating them with more caution.
█ How to Use
Trend Detection: The oscillator oscillates around zero, with positive values indicating a bullish trend and negative values indicating a bearish trend. The further the oscillator moves from zero, the stronger the trend. The Kalman filter trend line on the chart can be used in conjunction with the oscillator to determine the market's trend direction.
Trend Reversals: The blue areas in the oscillator suggest potential trend reversals, helping traders identify emerging market shifts. These areas can also indicate a potential pullback within the prevailing trend.
Overbought/Oversold: The thresholds, such as 70 and -70, help identify extreme conditions. When the oscillator reaches these levels, it suggests that the trend may be overextended, possibly signaling an upcoming reversal.
█ Settings
Process Noise 1: Controls the primary level of uncertainty in the Kalman filter model. Higher values make the filter more responsive to recent price changes, but may also increase susceptibility to random noise.
Process Noise 2: This secondary noise setting works with Process Noise 1 to adjust the model's adaptability. Together, these settings manage the uncertainty in the filter's internal model, allowing for finely-tuned adjustments to smoothness versus responsiveness.
Measurement Noise: Sets the uncertainty in the observed price data. Increasing this value makes the filter rely more on historical data, resulting in smoother but less reactive filtering. Lower values make the filter more responsive but potentially more prone to noise.
O sc Smoothness: Controls the level of smoothing applied to the trend strength oscillator. Higher values result in a smoother oscillator, which may cause slight delays in response. Lower values make the oscillator more reactive to trend changes, useful for capturing quick reversals or volatility within the trend.
Kalman Filter Model: Choose between Standard, Volume-Adjusted, and Parkinson-Adjusted models. Each model adapts the Kalman filter for specific conditions, whether balancing general market data, adjusting based on volume, or refining based on volatility.
Trend Lookback: Defines how far back to look when calculating the trend strength, which impacts the indicator's sensitivity to changes in trend strength. Shorter values make the oscillator more reactive to recent trends, while longer values provide a smoother reading.
Strength Smoothness: Adjusts the level of smoothing applied to the trend strength oscillator. Higher values create a more gradual response, while lower values make the oscillator more sensitive to recent changes.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
Next Trend ChannelThis indicator shows you the overall market trend across various time frames, allowing you to identify the future trend direction. The uptrend is displayed in green, and before it begins, a green dot appears below the starting candle to signal the trend’s initiation. The downtrend is shown in red, with an orange dot appearing just before the downtrend starts, informing you of the continuation. A gray trend signifies a ranging market, and it’s recommended not to trade in this zone. Please backtest before using.
Bullish Breaker with StoplossThis script highlights a large bullish candle that closes above the previous 2 candles , then plots the high of the previous candle for the FVG, and also plots the 50% and 61.8% fib levels on the bullish candle. It also plots a stop loss line below the "Breaker" candle with the loss amount calculated if you took an entry at the FVG Level so you can quickly gauge risk and size accordingly, this script was specifically made for trading on NQ 5 min, but works on other instruments as well. Too enter a trade wait for a pullback after the highlighted "Breaker" on the next 2 candles into the discount zone between the 50% and FVG levels. For best results only make long entries when the 15min is above its 21 EMA or has confirmed a reversal off of Support levels, I may add support levels in a future update.
Disclaimer, This script is for educational and informational purposes, trading is risky , we do not guarantee the accuracy or reliability of this script, past performance is not indicative of future results.
Fractal Trend Detector [Skyrexio]Introduction
Fractal Trend Detector leverages the combination of Williams fractals and Alligator Indicator to help traders to understand with the high probability what is the current trend: bullish or bearish. It visualizes the potential uptrend with the coloring bars in green, downtrend - in red color. Indicator also contains two additional visualizations, the strong uptrend and downtrend as the green and red zones and the white line - trend invalidation level (more information in "Methodology and it's justification" paragraph)
Features
Optional strong up and downtrends visualization: with the specified parameter in settings user can add/hide the green and red zones of the strong up and downtrends.
Optional trend invalidation level visualization: with the specified parameter in settings user can add/hide the white line which shows the current trend invalidation price.
Alerts: user can set up the alert and have notifications when uptrend/downtrend has been started, strong uptrend/downtrend started.
Methodology and it's justification
In this script we apply the concept of trend given by Bill Williams in his book "Trading Chaos". This approach leverages the Alligator and Fractals in conjunction. Let's briefly explain these two components.
The Williams Alligator, created by Bill Williams, is a technical analysis tool used to identify trends and potential market reversals. It consists of three moving averages, called the jaw, teeth, and lips, which represent different time periods:
Jaw (Blue Line): The slowest line, showing a 13-period smoothed moving average shifted 8 bars forward.
Teeth (Red Line): The medium-speed line, an 8-period smoothed moving average shifted 5 bars forward.
Lips (Green Line): The fastest line, a 5-period smoothed moving average shifted 3 bars forward.
When the lines are spread apart and aligned, the "alligator" is "awake," indicating a strong trend. When the lines intertwine, the "alligator" is "sleeping," signaling a non-trending or range-bound market. This indicator helps traders identify when to enter or avoid trades.
Williams Fractals, introduced by Bill Williams, are a technical analysis tool used to identify potential reversal points on a price chart. A fractal is a series of at least five consecutive bars where the middle bar has the highest high (for a up fractal) or the lowest low (for a down fractal), compared to the two bars on either side.
Key Points:
Up fractal: Formed when the middle bar shows a higher high than the two preceding and two following bars, signaling a potential turning point downward.
Down fractal: Formed when the middle bar has a lower low than the two surrounding bars, indicating a potential upward reversal.
Fractals are often used with other indicators to confirm trend direction or reversal, helping traders make more informed trading decisions.
How we can use its combination? Let's explain the uptrend example. The up fractal breakout to the upside can be interpret as bullish sign, there is a high probability that uptrend has just been started. It can be explained as following: the up fractal created is the potential change in market's behavior. A lot of traders made a decision to sell and it created the pullback with the fractal at the top. But if price is able to reach the fractal's top and break it, this is a high probability sign that market "changed his opinion" and bullish trend has been started. The moment of breaking is the potential changing to the uptrend. Here is another one important point, this breakout shall happen above the Alligator's teeth line. If not, this crossover doesn't count and the downtrend potentially remaining. The inverted logic is true for the down fractals and downtrend.
According to this methodology we received the high probability up and downtrend changes, but we can even add it. If current trend established by the indicator as the uptrend and alligator's lines have the following order: lips is higher than teeth, teeth is higher than jaw, script count it as a strong uptrend and start print the green zone - zone between lips and jaw. It can be used as a high probability support of the current bull market. The inverted logic can be used for bearish trend and red zones: if lips is lower than teeth and teeth is lower than jaw it's interpreted by the indicator as a strong down trend.
Indicator also has the trend invalidation line (white line). If current bar is green and market condition is interpreted by the script as an uptrend you will see the invalidation line below current price. This is the price level which shall be crossed by the price to change up trend to down trend according to algorithm. This level is recalculated on every candle. The inverted logic is valid for downtrend.
How to use indicator
Apply it to desired chart and time frame. It works on every time frame.
Setup the settings with enabling/disabling visualization of strong up/downtrend zones and trend invalidation line. "Show Strong Bullish/Bearish Trends" and "Show Trend Invalidation Price" checkboxes in the settings. By default they are turned on.
Analyze the price action. Indicator colored candle in green if it's more likely that current state is uptrend, in red if downtrend has the high probability to be now. Green zones between two lines showing if current uptrend is likely to be strong. This zone can be used as a high probability support on the uptrend. The red zone show high probability of strong downtrend and can be used as a resistance. White line is showing the level where uptrend or downtrend is going be invalidated according to indicator's algorithm. If current bar is green invalidation line will be below the current price, if red - above the current price.
Set up the alerts if it's needed. Indicator has four custom alerts called "Uptrend has been started" when current bar closed as green and the previous was not green, "Downtrend has been started" when current bar closed red and the previous was not red, "Uptrend became strong" if script started printing the green zone "Downtrend became strong" if script started printing the red zone.
Disclaimer:
Educational and informational tool reflecting Skyrex commitment to informed trading. Past performance does not guarantee future results. Test indicators before live implementation.
Key Prices & LevelsThis indicator is designed to visualize key price levels & areas for NY trading sessions based on the price action from previous day, pre-market activity and key areas from NY session itself. The purpose is to unify all key levels into a single indicator, while allowing a user to control which levels they want to visualize and how.
The indicator identifies the following:
Asia Range High/Lows, along with ability to visualize with a box
London Range High/Lows, along with ability to visualize with a box
Previous Day PM Session High/Lows
Current Day Lunch Session High/Lows, starts appearing after 12pm EST once the lunch session starts
New York Open (8:30am EST) price
9:53 Open (root candle) price
New York Midnight (12:00am EST) price
Previous Day High/Lows
First 1m FVG after NY Session Start (after 9:30am), with the ability to configure minimum FVG size.
Opening Range Gap, showing regular market hours close price (previous day 16:15pm EST close), new session open price (9:30am EST open) and optionally the mid-point between the two
Asia Range 50% along with 2, 2.5, 4 and 4.5 deviations of the Asia range in both directions
Configurability:
Each price level can be turned off
Styles in terms of line type, color
Ability to turn on/off labels for price levels and highlighting of prices on price scale
Ability to control label text for price levels
The reasoning and how each price level can be used is explained in this video
youtu.be
Position Size Calculator by Dr. Rahul Ware.Position Size Calculator
The Position Size Calculator script helps traders determine the optimal position size for their trades based on their account balance, risk percentage, and stop loss parameters. It calculates the number of shares to buy and the total position size in INR (Indian Rupees), providing a clear and concise way to manage risk effectively.
Key Features:
Account Balance Input: Specify your account balance in INR to tailor the position size calculations to your specific trading capital.
Risk Percentage Input: Define the percentage of your account balance you are willing to risk on each trade, ensuring you stay within your risk tolerance.
Stop Loss Options: Choose between using a fixed stop loss price or a stop loss percentage to calculate the risk amount per share.
Dynamic Stop Loss Line: The script plots a red dotted line representing the stop loss price on the chart, updating dynamically for the last bar.
Comprehensive Table Display: View key metrics, including account balance, risk percentage, amount at risk, current price, stop loss price, stop loss percentage, position size in INR, and the number of shares to buy, all in a neatly formatted table.
This tool is designed to enhance your trading strategy by providing precise position sizing, helping you manage risk effectively and make informed trading decisions. Use this script to optimize your trade sizes and improve your overall trading performance.
Auto Fibonacci ModePurpose of the Code:
This Pine Script™ code defines an indicator called "Auto Fibonacci Mode" that automatically plots Fibonacci retracement and extension levels based on recent price data, providing traders with reference levels for potential support and resistance. It also offers an "Auto" mode that determines levels based on the selected moving average type (e.g., EMA, SMA) for added flexibility in trend identification.
Key Components and Functionalities:
Inputs:
lookback (Lookback): Determines how many bars back to look when identifying the highest and lowest prices.
reverse: Reverses the direction of Fibonacci calculations, which is helpful for analyzing both uptrends and downtrends.
auto: When enabled, this option automatically adjusts Fibonacci levels based on a moving average.
mod: Allows the user to select a specific moving average type (EMA, SMA, RMA, HMA, or WMA) for use in "Auto" mode.
Label and Color Options: Customize the display of Fibonacci labels, colors, and whether to show the highest and lowest levels on the chart.
Fibonacci Levels:
Sixteen Fibonacci levels are configurable in the input options, allowing users to choose traditional retracement levels (e.g., 0.236, 0.5, 1.618) as well as custom levels.
These levels are calculated dynamically and adjusted based on the highest and lowest price range within the lookback period.
Calculation of Direction and Fibonacci Levels:
Moving Average Direction: Using the specified moving average, the code evaluates the price direction to determine the trend (upward or downward). This direction can be reversed if the user selects the reverse option.
Fibonacci Level Calculation: Each level is computed based on the highest and lowest prices over the lookback range and adjusted according to the selected trend direction and moving average type.
Plotting Fibonacci Levels:
The script generates lines on the chart to represent each Fibonacci level, with customizable gradient colors.
Labels displaying level values and prices can be enabled, providing easy identification of each level on the chart.
Additional Lines:
Lines representing the highest and lowest prices within the lookback range can also be displayed, highlighting recent support and resistance levels for added context.
Usage:
The Auto Fibonacci Mode indicator is designed for traders interested in Fibonacci retracement and extension levels, particularly those seeking automatic trend detection based on moving averages.
This indicator enables:
Automatic adjustment of Fibonacci levels based on selected moving average type.
Quick visualization of support and resistance areas without manual adjustments.
Analysis flexibility with customizable levels and color gradients for easier trend and reversal identification.
This tool is valuable for traders who rely on Fibonacci analysis and moving averages as part of their technical analysis strategy.
Important Note:
This script is provided for educational purposes and does not constitute financial advice. Traders and investors should conduct their research and analysis before making any trading decisions.
gmma abusuhilمؤشر Guppy Multiple Moving Averages (GMMA) هو أداة تحليل فني طورها المحلل المالي داريل جابي (Daryl Guppy) لتحديد قوة الاتجاهات في الأسواق المالية والتمييز بين الاتجاهات الصاعدة والهابطة وأيضًا الإشارات المحتملة للانعكاسات. يعتمد المؤشر على استخدام عدة متوسطات متحركة، حيث يتم تجميعها في مجموعتين: مجموعة للمضاربين وأخرى للمستثمرين.
فكرة عمل GMMA
يقوم مؤشر GMMA بعرض 12 متوسطًا متحركًا مقسمة إلى مجموعتين:
المتوسطات المتحركة للمضاربين (Trader EMAs):
تتكون من 6 متوسطات متحركة سريعة.
أطوال هذه المتوسطات عادة ما تكون قصيرة مثل (3، 5، 8، 10، 12، و15).
هذه المجموعة تعكس نشاط المضاربين والمستثمرين قصيري الأجل.
عندما تتوسع المتوسطات في هذه المجموعة وتتجه نحو الأعلى أو الأسفل، فهذا يشير إلى قوة أو ضعف قصير الأجل.
المتوسطات المتحركة للمستثمرين (Investor EMAs):
تتكون من 6 متوسطات متحركة بطيئة.
أطوال هذه المتوسطات عادة ما تكون طويلة مثل (30، 35، 40، 45، 50، و60).
هذه المجموعة تعكس نشاط المستثمرين طويل الأجل، الذين يستثمرون في الاتجاهات الكبرى.
عندما تتوسع هذه المتوسطات، فإنها تشير إلى تأكيد الاتجاه طويل الأجل.
كيفية استخدام GMMA في التحليل
التوسع أو التباعد بين المتوسطات:
إذا بدأت المتوسطات المتحركة للمضاربين في التوسع صعوديًا (الانتشار بعيدًا عن بعضها البعض)، فهذا يعني أن هناك اتجاهًا صعوديًا قويًا وقوة شرائية قصيرة الأجل.
إذا بدأت المتوسطات في الانكماش والتقارب، فهذا يعني أن الزخم قصير الأجل بدأ يضعف وقد يحدث انعكاس.
التفاعل بين المتوسطات السريعة والبطيئة:
تقاطع المتوسطات السريعة لأعلى مع المجموعة البطيئة يمكن أن يعطي إشارة للشراء، خاصة عندما تتوسع المتوسطات البطيئة أيضًا صعوديًا.
تقاطع المتوسطات السريعة لأسفل مع المجموعة البطيئة قد يعطي إشارة للبيع، خاصة عندما تكون المتوسطات البطيئة في وضع هبوطي.
تحليل الانعكاس والاتجاه:
إذا كانت المتوسطات السريعة تنكسر وتتقاطع مع المتوسطات البطيئة في الاتجاه المعاكس، فقد يكون ذلك إشارة إلى انعكاس محتمل في الاتجاه.
يعتبر المؤشر فعّالًا في الكشف عن التغيرات في الاتجاه، سواء كانت اتجاهات طويلة الأجل أو قصيرة الأجل، مما يجعله مفيدًا لتحديد نقاط الدخول والخروج.
التوافق أو التآلف بين المجموعات:
التآلف يحدث عندما تتحرك المتوسطات السريعة والبطيئة في اتجاه واحد. هذا يشير إلى وجود اتجاه قوي ومستدام.
عندما تكون المتوسطات في حالة تآلف صعودي، فإن ذلك يشير إلى اتجاه صعودي قوي، والعكس صحيح للاتجاه الهبوطي.
مزايا وعيوب مؤشر GMMA
المزايا:
سهولة الاستخدام: يوفر المؤشر تصورًا واضحًا لقوة الاتجاهات وللتفاعلات بين الفترات الزمنية المختلفة.
تحليل الزخم وقوة الاتجاه: يساعد المؤشر في تحديد قوة الاتجاهات قصيرة وطويلة الأجل، وهو مفيد للمضاربين والمستثمرين على حد سواء.
الإشارات المتعددة: يتيح تنبيهات دقيقة حول تغييرات الاتجاهات المحتملة من خلال التفاعل بين المتوسطات السريعة والبطيئة.
العيوب:
إشارات خاطئة في السوق العرضية: قد ينتج عن المؤشر إشارات خاطئة عند وجود حركة عرضية، حيث تتقاطع المتوسطات مرارًا وتكرارًا بدون اتجاه واضح.
تأخير الإشارات: نظرًا لأن المؤشر يعتمد على المتوسطات المتحركة، فقد تكون إشارات الدخول والخروج متأخرة بعض الشيء، خصوصًا في الحالات التي تحدث فيها تحركات سريعة في السوق.
خلاصة
مؤشر GMMA يعتبر من المؤشرات القوية للتحليل الفني، حيث يوفر رؤية متعددة الأبعاد للاتجاهات والزخم. يمكن استخدامه بشكل مستقل أو مع مؤشرات أخرى لتأكيد الإشارات وتجنب الإشارات الخاطئة، خاصة في الأسواق التي تشهد تقلبات شديدة أو حركات عرضية.
Enhanced Keltner TrendThe Enhanced Keltner Trend (EKT) indicator builds on the classic Keltner Channel, using volatility to define potential trend channels around a central moving average. It combines customizable volatility measures moving average, giving traders flexibility to adapt the trend channel to various market conditions.
How It Works?
MA Calculation:
A user-defined moving average forms the central line (or price basis) of the Keltner Channel.
Channel Width:
The width of the Keltner Channel depends on market volatility.
You can choose between two methods for measuring the volatility:
ATR-based Width: Uses the Average True Range (ATR) with customizable periods and multipliers.
Price Range Width: Uses the high and low price range over a defined period.
Trend Signal:
The trend is evaluated by price in relation to the Keltner Channel:
Bullish Trend (Blue Line): When the price crosses above the upper band, it signals upward momentum.
Bearish Trend (Orange Line): When the price crosses below the lower band, it signals downward momentum.
What Is Unique?
This Enhanced version of the Keltner Trend is for investors who want to have more control over the Keltner's channels calculation, so they can calibrate it to provide them more alpha when combined with other Technical Indicators.
Use ATR: Gives the user the choice to use the ATR for the channel width calculation, or use the default High - Low over specified period.
ATR Period: Users can modify ATR length to calculate the channels width (Volatility).
ATR Multiplier: Users can fine-tune how much of the volatility they want to factor into the channels, providing more control over the final calculation.
MA Period: Smoothing period for the Moving Averages.
MA Type: Choosing from different Moving Averages types providing different smoothing types.
Setting Alerts:
Built-in alerts for trend detection:
Bullish Trend: When price crosses the upper band, it signals a Bullish Signal (Blue Color)
Bearish Trend: When price crosses the lower band, it signals a Bearish Signal (Orange Color)
Credits to @jaggedsoft , it's a modified version of his.
Trading with EDGE on the 4HOn what time frame should I use this indicator?
Please note that this script is meant to be used on the 4H. It could also be used on the 2H or the 1H if you're an aggressive trader and you know what you're doing.
What does it do?
This indicator paints the background green when the selected asset is in prime condition go up and it paints the background red when the selected asset is expected to go down. You should expect chop when there is no background coloring.
This indicator is a trend-following indicator.
What is the background coloring based on?
This Script is based on one of the strategies explained by x.com . It's based on comparing price action to certain moving averages of the daily and the weekly as well as certain conditions being met on the RSI daily and weekly.
Does this indicator repaint ?
Even though it uses data from different time frames, it does not.
How to trade it?
This indicator is meant to highlight conditions in which longs or shorts are favorable, not to signal trades/entries. That being said, entering long when it turns green and red when it turns red does give edge.
The idea is that you apply your favorite strategy to enter into longs when the background is green and short when the background is red.
You can use my other indicator “Full Vibration Pivots” for trade ideas.
Tip Wallet:
SOL FkkaMgdEuMyaf21WZLfPr2XdY2dzZqwNEK4FgSCuTdiE
Mainnet/L2 0xe4F9cADa2AC19Ec724E080112e95A1962C734320
Dynamic Average and Outliers (Excludes Last 20 Candles)a technical analysis tool used in financial markets to identify potential price breakouts, which occur when an asset's price moves beyond a defined support or resistance level with significant momentum. These indicators help traders anticipate when a stock, currency pair, or commodity is likely to enter a new trend, either bullish or bearish.
William Fractals + SignalsWilliams Fractals + Trading Signals
This indicator identifies Williams Fractals and generates trading signals based on price sweeps of these fractal levels.
Williams Fractals are specific candlestick patterns that identify potential market turning points. Each fractal requires a minimum of 5 bars (2 before, 1 center, 2 after), though this indicator allows you to customize the number of bars checked.
Up Fractal (High Point) forms when you have a center bar whose HIGH is higher than the highs of 'n' bars before and after it. For example, with n=2, you'd see a pattern where the center bar's high is higher than 2 bars before and 2 bars after it. The indicator also recognizes patterns where up to 4 bars after the center can have equal highs before requiring a lower high.
Down Fractal (Low Point) forms when you have a center bar whose LOW is lower than the lows of 'n' bars before and after it. For example, with n=2, you'd see a pattern where the center bar's low is lower than 2 bars before and 2 bars after it. The indicator also recognizes patterns where up to 4 bars after the center can have equal lows before requiring a higher low.
Trading Signals:
The indicator generates signals when price "sweeps" these fractal levels:
Buy Signal (Green Triangle) triggers when price sweeps a down fractal. This requires price to go BELOW the down fractal's low level and then CLOSE ABOVE it . This pattern often indicates a failed breakdown and potential reversal upward.
Sell Signal (Red Triangle) triggers when price sweeps an up fractal. This requires price to go ABOVE the up fractal's high level and then CLOSE BELOW it. This pattern often indicates a failed breakout and potential reversal downward.
Customizable Settings:
1. Periods (default: 10) - How many bars to check before and after the center bar (minimum value: 2)
2. Maximum Stored Fractals (default: 1) - How many fractal levels to keep in memory. Older levels are removed when this limit is reached to prevent excessive signals and maintain indicator performance.
Important Notes:
• The indicator checks the actual HIGH and LOW prices of each bar, not just closing prices
• Fractal levels are automatically removed after generating a signal to prevent repeated triggers
• Signals are only generated on bar close to avoid false triggers
• Alerts include the ticker symbol and the exact price level where the sweep occurred
Common Use Cases:
• Identifying potential reversal points
• Finding stop-hunt levels where price might reverse
• Setting stop-loss levels above up fractals or below down fractals
• Trading failed breakouts/breakdowns at fractal levels
CentBit.OnlineDescription:
The MA Trend indicator by @CentBit_Online provides traders with accurate trend signals by combining a Moving Average (MA) with dynamic levels and directional markers. This tool uses customized colors and symbols to clearly show market direction changes, helping traders make timely entries and exits.
Key Features:
Lag-Reduced Signals: Quickly detect trend shifts.
ATR-Based Levels: Highlights potential support and resistance.
Distinct Visuals: Custom colors and unique arrow styles for clarity.
Ideal for traders looking for clear trend insights and enhanced visual signals in TradingView.
Script Ema By V.a The Sonic R trading strategy is a method that utilizes multiple exponential moving averages (EMAs) to identify potential trade opportunities.This setup helps traders make more informed decisions by aligning their trades with the primary trend, increasing the likelihood of successful outcomes.
TrendLine Pro Paulinho CryPToTrendLine Pro Paulinho CryPTo – Indicator Overview
This custom indicator is designed to assist traders by providing powerful visual signals and various technical analysis tools directly on the chart. The "TrendLine Pro Paulinho CryPTo" combines multiple analysis techniques, including trendlines, RSI (Relative Strength Index), Stochastic, Supertrend, Bollinger Bands, EMA (Exponential Moving Averages), and liquidation levels, to help traders make informed decisions.
Key Features:
1. Buy and Sell Signals
Activation: Users can toggle the display of buy and sell signals.
Buy Signal (Long): Displayed as an upward label when a potential long entry is detected.
Sell Signal (Short): Displayed as a downward label when a potential short entry is detected.
Customizable Colors: Set specific colors for buy and sell signals, as well as text color and label size for better visibility.
2. Stop Loss Management
Activation: The Stop Loss feature is optional and can be toggled on/off.
Customizable Settings: Users can adjust the thickness and extension of the stop loss lines and labels.
Automatic Display: When a signal is triggered, a Stop Loss line will be plotted on the chart, and its label will appear to show the stop loss level.
3. RSI (Relative Strength Index)
Adjustable Parameters: Set the RSI period, overbought and oversold levels, and their respective maximum thresholds.
RSI Labels: The script can show labels such as "OB" (Overbought) and "OS" (Oversold) directly on the chart.
Color Customization: Labels for the RSI overbought and oversold levels can be customized with distinct colors.
4. Stochastic Indicator
Parameters: Set periods for %K, %D, and smoothing for the Stochastic oscillator.
Labels: Displays overbought and oversold labels for the Stochastic, and users can choose colors and text styles for each level.
Lines and Signals: Plots the %K and %D lines and their respective overbought/oversold levels.
5. Supertrend Indicator
Activation: The Supertrend feature helps identify the current market trend (upward or downward).
Configurable ATR Period: Adjust the ATR (Average True Range) period and factor to fine-tune the Supertrend calculation.
Visual Representation: Plots a green line for bullish trends and a red line for bearish trends.
6. Bollinger Bands
Activation: Enable or disable the Bollinger Bands.
Customizable Settings: Choose between different moving averages for the basis (SMA, EMA, etc.) and set the standard deviation for the bands.
Visualization: The basis, upper, and lower bands are plotted, and the area between them is shaded for visual clarity.
7. EMAs (Exponential Moving Averages)
Multiple EMAs: Users can enable up to five EMAs with customizable periods and colors for quick trend identification.
Adjustable Thickness: Set the thickness for each EMA line for better visibility.
8. Liquidation Levels (For Leveraged Trading)
Setup: Shows the liquidation prices for long and short positions, helping traders visualize potential liquidation zones based on leverage.
Median Line: Plots a median line between the long and short liquidation levels.
Line Style and Width: The appearance of liquidation lines can be customized by choosing between solid, dotted, or dashed lines, with adjustable thickness.
9. User Input Parameters
Leverage: Set the leverage for your positions, which will influence the liquidation levels and movements.
Liquidation Alerts: Optional toggles for showing long or short liquidation levels and other related information.
Line Style & Extension: Customize the style of the lines (solid, dotted, or dashed) and how far the lines extend into the future.
How to Use the Indicator:
Signals: The indicator will automatically detect and display buy (Long) and sell (Short) signals based on trend analysis. Once a signal is triggered, a label will appear on the chart with the corresponding signal.
Stop Loss: If enabled, stop loss lines and labels will be automatically drawn based on the signal levels. Customize the stop loss settings to adjust thickness and extension.
RSI & Stochastic: Monitor RSI and Stochastic for overbought or oversold conditions. The script will display relevant labels and help you spot potential reversal points.
Supertrend & Bollinger Bands: Use Supertrend to track the market trend and Bollinger Bands to gauge market volatility and price levels.
EMAs: EMAs provide trend-following signals, and the indicator will plot up to five EMAs based on your configuration.
Liquidation Levels: If you’re trading with leverage, the indicator will calculate and display your liquidation levels. It also plots a median line to help you assess the overall market situation.
Customization Options:
Visual Settings: You can change the colors, line thickness, and styles for each indicator and signal to match your preferences.
Flexibility: Adjust the settings for each tool to better suit your trading style, whether you're using a short-term or long-term strategy.
This indicator provides a comprehensive toolset for technical analysis and risk management, helping traders make better-informed decisions in real-time. By combining these advanced tools with customizable parameters, it allows for flexible and dynamic trading strategies.
Feel free to experiment with the settings and adapt the indicator to your unique trading style and risk profile.
SMA Crossover Buy/Sell Signal with SL/TP and SMA200 FilterThis is a simple SMA Crossover that triggers Buy or Sell signal with Stop loss and Take profit with a risk reward ratio of 1: 1.7 with SMA 200 as filter.