Inside Bar Setup [as]Inside Bar Setup Indicator Description
The **Inside Bar Setup ** indicator is a powerful tool for traders to identify and visualize inside bar patterns on their charts. An inside bar pattern occurs when the current candle's high is lower than the previous candle's high, and the current candle's low is higher than the previous candle's low. This pattern can indicate a potential breakout or a continuation of the existing trend.
Key Features:
1. **Highlight Inside Bar Patterns:**
- The indicator highlights inside bar patterns with distinct colors for bullish and bearish bars. Bullish inside bars are colored with the user-defined bull bar color (default lime), and bearish inside bars are colored with the user-defined bear bar color (default maroon).
2. **Marking Mother Candle High and Low:**
- The high and low of the mother candle (the candle preceding the inside bar) are marked with horizontal lines. The high is marked with a green line, and the low is marked with a red line.
- These levels are labeled as "Range High" and "Range Low" respectively, with the labels displayed a few bars to the right for clarity. The labels have a semi-transparent background for better visibility.
3. **Target Levels:**
- The indicator calculates and plots potential target levels (T1 and T2) for both long and short positions based on user-defined multipliers of the mother candle's range.
- For long positions, T1 and T2 are plotted above the mother candle's high.
- For short positions, T1 and T2 are plotted below the mother candle's low.
- These target levels are optional and can be toggled on or off via the input settings.
4. **Customizable Inputs:**
- **Colors:**
- Bull Bar Color: Customize the color for bullish inside bars.
- Bear Bar Color: Customize the color for bearish inside bars.
- **Long Targets:**
- Show Long T1: Toggle the display of the first long target.
- Show Long T2: Toggle the display of the second long target.
- Long T1: Multiplier for the first long target above the mother candle's high.
- Long T2: Multiplier for the second long target above the mother candle's high.
- **Short Targets:**
- Show Short T1: Toggle the display of the first short target.
- Show Short T2: Toggle the display of the second short target.
- Short T1: Multiplier for the first short target below the mother candle's low.
- Short T2: Multiplier for the second short target below the mother candle's low.
5. **New Day Detection:**
- The indicator detects the start of a new day and clears the inside bar arrays, ensuring that the pattern detection is always current.
#### Usage:
- Add the indicator to your TradingView chart.
- Customize the inputs to match your trading strategy.
- Watch for highlighted inside bars to identify potential breakout opportunities.
- Use the marked range highs and lows, along with the calculated target levels, to plan your trades.
This indicator is ideal for traders looking to capitalize on inside bar patterns and their potential breakouts. It provides clear visual cues and customizable settings to enhance your trading decisions.
Note:
This indicator is based on famous 15 min inside bar strategy shared by Subashish Pani on his youtube channel Power of stocks. Please watch his videos to use this indicator for best results.
Trend Analysis
Energy ScriptEnergy Script Indicator
Description of Indicator
The Energy Script Indicator calculates the market's energy using the formula `Energy = Price * sqrt(Volume)`; providing insight into market activity by combining price movement and volume. This indicator is designed to help traders identify potential reversals and continuation points based on energy levels.
Features
Energy Calculation: Utilizes price and volume to compute market energy, highlighting significant activity changes.
Smoothing Options: Two customizable smoothing periods to filter out noise and highlight trends.
Threshold Alert: Set a threshold value to receive alerts when energy exceeds predefined levels, aiding in quick decision-making.
Customizable Colors: Choose colors for different plot lines to suit your charting preferences.
How to Use:
1. Smoothing Periods: Adjust `Smoothing 1` and `Smoothing 2` to control the sensitivity of the energy plots.
2. Threshold: Set the `Threshold` value to identify significant energy levels. Enable or disable threshold plotting as needed.
3. Volume Integration: Toggle `Use Volume` to include or exclude volume in energy calculations.
4. Alerts: Receive alerts when energy levels cross the defined threshold, signaling potential market movements.
This indicator is a powerful tool for analyzing market dynamics by combining price action with volume, providing a deeper understanding of market energy and potential trading opportunities.
ACD Indicator [TradingFinder] M Fisher Pivots Methodology Signal🔵 Introduction
The book "The Logical Trader" begins with a comprehensive review of the ACD Methodology principles, which include identifying specific price points related to the opening range.
This method allows you to set reference points for trading and use points "A" and "C" for trade entry. You will also learn about the "Pivot Range" and how to combine them with the ACD method to maximize position size and minimize risk.
In this indicator, the strategy is implemented to make it easier to use.
🔵 How to Use
The "ACD" strategy can be applied to various markets such as stocks, commodities, or forex, providing buy and sell signals that allow you to set your price targets and stop losses.
This strategy is based on the assumption that the opening range of trades is statistically significant each day, meaning the initial market fluctuations influence the market until the end of the day.
The ACD trading strategy is known as a breakout strategy and performs best in volatile or strongly trending markets, such as crude oil and stocks.
Some of the rules for using the ACD strategy include the following :
Consider points A and C as reference points and continuously pay attention to these points during trades. These points serve as entry and exit points for trades.
Examine daily and multi-day pivot ranges to analyze market trends. If the price is above the pivots, the trend is upward, and if below the pivots, the trend is downward.
Trading with the ACD strategy in forex is possible using the ACD indicator. This indicator is a technical tool used to measure the balance between supply and demand in the market. By analyzing trading volume and price, this indicator helps traders identify trend strength and suitable entry and exit points.
To use the ACD indicator, consider the following :
Identifying strong trends: The ACD indicator can help you identify strong and stable trends in the market.
Determining entry and exit points: ACD provides buy and sell signals to enter or exit trades at the best possible time.
Bullish Setup :
When the "A up" line is broken, it is advisable to wait for some time to ensure that this is not a "Fake Breakout" and that the price stabilizes above this line.
After entering the trade, the best stop loss you can choose is below the "A down" line. However, it is recommended to test this in backtests to achieve the best results. The suitable reward-to-risk ratio for this strategy is 1, which should also be backtested.
Bearish Setup :
When the "A down" line is broken, it is advisable to wait for some time to ensure that this is not a "Fake Breakout" and that the price stabilizes below this line.
After entering the trade, the best stop loss you can choose is above the "A up" line. However, it is recommended to test this in backtests to achieve the best results. The suitable reward-to-risk ratio for this strategy is 1, which should also be backtested.
🔵 Setting
NDay Pivot Range Period : Using this entry you can specify the number of days to calculate NDay Pivot Range.
Show Daily Pivot Range : Set the Daily Pivot color and displayed or not.
Show NDay Pivot Range : Set the NDay Pivot color and displayed or not.
ATR Period Levels : Determining the period of the ATR indicator, which is used to determine the A and C levels.
Show Tokyo ACD Setup : Set the Tokyo ACD Setup color and displayed or not.
Tokyo Opening Range Time : The amount of time taken to determine the opening range. You can set this number between 5 and 60 minutes.
Tokyo Session : Market start and end time.
A Level Multiplier : The coefficient that is multiplied by ATR to determine the distance of line A up and A down.
C Level Multiplier : The coefficient that is multiplied by ATR to determine the distance of line C up and C down.
The same settings exist for the London and New York sessions.
ICT Turtle Soup | Flux Charts💎 GENERAL OVERVIEW
Introducing our new ICT Turtle Soup Indicator! This indicator is built around the ICT "Turtle Soup" model. The strategy has 5 steps for execution which are described in this write-up. For more information about the process, check the "HOW DOES IT WORK" section.
Features of the new ICT Turtle Soup Indicator :
Implementation of ICT's Turtle Soup Strategy
Adaptive Entry Method
Customizable Execution Settings
Customizable Backtesting Dashboard
Alerts for Buy, Sell, TP & SL Signals
📌 HOW DOES IT WORK ?
The ICT Turtle Soup strategy may have different implementations depending on the selected method of the trader. This indicator's implementation is described as :
1. Mark higher timerame liquidity zones.
Liquidity zones are where a lot of market orders sit in the chart. They are usually formed from the long / short position holders' "liquidity" levels. There are various ways to find them, most common one being drawing them on the latest high & low pivot points in the chart, which this indicator does.
2. Mark current timeframe market structure.
The market structure is the current flow of the market. It tells you if the market is trending right now, and the way it's trending towards. It's formed from swing higs, swing lows and support / resistance levels.
3. Wait for market to make a liquidity grab on the higher timeframe liquidity zone.
A liquidity grab is when the marked liquidity zones have a false breakout, which means that it gets broken for a brief amount of time, but then price falls back to it's previous position.
4. Buyside liquidity grabs are "Short" entries and Sellside liquidity grabs are "Long" entries by default.
5. Wait for the market-structure shift in the current timeframe for entry confirmation.
A market-structure shift happens when the current market structure changes, usually when a new swing high / swing low is formed. This indicator uses it as a confirmation for position entry as it gives an insight of the new trend of the market.
6. Place Take-Profit and Stop-Loss levels according to the risk ratio.
This indicator uses "Average True Range" when placing the stop-loss & take-profit levels. Average True Range calculates the average size of a candle and the indicator places the stop-loss level using ATR times the risk setting determined by the user, then places the take-profit level trying to keep a minimum of 1:1 risk-reward ratio.
This indicator follows these steps and inform you step by step by plotting them in your chart.
🚩UNIQUENESS
This indicator is an all-in-one suit for the ICT's Turtle Soup concept. It's capable of plotting the strategy, giving signals, a backtesting dashboard and alerts feature. It's designed for simplyfing a rather complex strategy, helping you to execute it with clean signals. The backtesting dashboard allows you to see how your settings perform in the current ticker. You can also set up alerts to get informed when the strategy is executable for different tickers.
⚙️SETTINGS
1. General Configuration
MSS Swing Length -> The swing length when finding liquidity zones for market structure-shift detection.
Higher Timeframe -> The higher timeframe to look for liquidity grabs. This timeframe setting must be higher than the current chart's timeframe for the indicator to work.
Breakout Method -> If "Wick" is selected, a bar wick will be enough to confirm a market structure-shift. If "Close" is selected, the bar must close above / below the liquidity zone to confirm a market structure-shift.
Entry Method ->
"Classic" : Works as described on the "HOW DOES IT WORK" section.
"Adaptive" : When "Adaptive" is selected, the entry conditions may chance depending on the current performance of the indicator. It saves the entry conditions and the performance of the past entries, then for the new entries it checks if it predicted the liquidity grabs correctly with the current setup, if so, continues with the same logic. If not, it changes behaviour to reverse the entries from long / short to short / long.
2. TP / SL
TP / SL Method -> If "Fixed" is selected, you can adjust the TP / SL ratios from the settings below. If "Dynamic" is selected, the TP / SL zones will be auto-determined by the algorithm.
Risk -> The risk you're willing to take if "Dynamic" TP / SL Method is selected. Higher risk usually means a better winrate at the cost of losing more if the strategy fails. This setting is has a crucial effect on the performance of the indicator, as different tickers may have different volatility so the indicator may have increased performance when this setting is correctly adjusted.
DeQuex Algo BISTIntroduction:
The DeQuex Algo is an advanced technical analysis tool designed to help traders identify high-probability entry and exit points in the Borsa Istanbul (BIST) market. This updated version incorporates an adaptive MACD to reduce false signals and improve the overall reliability of the indicator.
Key Features:
1. Adaptive MACD: The script utilizes an adaptive MACD that dynamically adjusts to market volatility, reducing the occurrence of false signals often associated with traditional MACD implementations.
2. RSI Confirmation: In addition to the adaptive MACD, the DeQuex Algo also considers RSI readings to provide stronger confirmation for buy and sell signals.
3. Signal Types:
- Buy Signal: Triggered when the adaptive MACD crosses above its signal line.
- Sell Signal: Triggered when the adaptive MACD crosses below its signal line.
- Strong Buy Signal: Triggered when both the adaptive MACD and RSI cross above their respective thresholds, indicating a high-probability bullish setup.
- Strong Sell Signal: Triggered when both the adaptive MACD and RSI cross below their respective thresholds, indicating a high-probability bearish setup.
4. Price Bar Highlighting: The script color-codes price bars to provide a visual representation of the current trend. Green bars indicate an uptrend, red bars indicate a downtrend, and purple bars signify a period of consolidation or uncertainty. This feature allows traders to quickly assess the market context at a glance.
5. Customizable Alerts: Users can enable alerts for each signal type, ensuring they never miss a potential trading opportunity.
6. Dynamic Support and Resistance: The DeQuex Algo incorporates dynamic support and resistance levels based on market volatility. These levels are plotted using an innovative approach that combines Donchian channels with a Kalman filter for smoother, more reliable zones.
7. User-Friendly Inputs: The script provides a range of input parameters, allowing traders to fine-tune the indicator's sensitivity and adapt it to their preferred trading style and timeframe.
How to Use:
1. Add the DeQuex Algo indicator to your TradingView chart.
2. Customize the input parameters as desired, or use the default settings.
3. Enable alerts for your preferred signal types.
4. Look for buy and sell signals based on the adaptive MACD and RSI readings, paying attention to the color-coded price bars for additional context.
5. Consider the dynamic support and resistance levels when planning your entries, exits, and stop-loss placements.
Please note that while the DeQuex Algo is designed to identify high-probability setups, no indicator is perfect, and false signals may still occur. Always use proper risk management and consider other factors, such as market sentiment and fundamental analysis, when making trading decisions.
We hope that the DeQuex Algo will be a valuable addition to your trading toolbox, and we welcome any feedback or suggestions for further improvement.
Best regards,
BrandonJames1337
TR:
İşte güncellenmiş DeQuex Algo göstergeniz için önerilen bir açıklama:
Giriş:
DeQuex Algo, yatırımcıların Borsa İstanbul (BIST) piyasasında yüksek olasılıklı giriş ve çıkış noktalarını belirlemelerine yardımcı olmak için tasarlanmış gelişmiş bir teknik analiz aracıdır. Bu güncellenmiş sürüm, yanlış sinyalleri azaltmak ve göstergenin genel güvenilirliğini artırmak için uyarlanabilir bir MACD içerir.
Temel Özellikler:
1. Uyarlanabilir MACD: Komut dosyası, piyasa oynaklığına dinamik olarak ayarlanan ve genellikle geleneksel MACD uygulamalarıyla ilişkili yanlış sinyallerin oluşumunu azaltan uyarlanabilir bir MACD kullanır.
2. RSI Onayı: Uyarlanabilir MACD'ye ek olarak DeQuex Algo, alım ve satım sinyalleri için daha güçlü onay sağlamak üzere RSI okumalarını da dikkate alır.
3. Sinyal Türleri:
- Alış Sinyali: Uyarlanabilir MACD sinyal çizgisinin üzerine çıktığında tetiklenir.
- Satış Sinyali: Uyarlanabilir MACD sinyal çizgisinin altından geçtiğinde tetiklenir.
- Güçlü Alış Sinyali: Hem uyarlanabilir MACD hem de RSI kendi eşiklerinin üzerine çıktığında tetiklenir ve yüksek olasılıklı bir yükseliş düzenine işaret eder.
- Güçlü Satış Sinyali: Hem uyarlanabilir MACD hem de RSI kendi eşiklerinin altına düştüğünde tetiklenir ve yüksek olasılıklı bir düşüş düzenine işaret eder.
4. Fiyat Çubuğu Vurgulama: Komut dosyası, mevcut eğilimin görsel bir temsilini sağlamak için fiyat çubuklarını renk kodlarıyla kodlar. Yeşil çubuklar yükseliş trendini, kırmızı çubuklar düşüş trendini ve mor çubuklar ise konsolidasyon veya belirsizlik dönemini gösterir. Bu özellik, yatırımcıların piyasa bağlamını bir bakışta hızlı bir şekilde değerlendirmelerine olanak tanır.
5. Özelleştirilebilir Uyarılar: Kullanıcılar her sinyal türü için uyarıları etkinleştirerek potansiyel bir alım satım fırsatını asla kaçırmamalarını sağlayabilir.
6. Dinamik Destek ve Direnç: DeQuex Algo, piyasa oynaklığına dayalı dinamik destek ve direnç seviyeleri içerir. Bu seviyeler, daha yumuşak ve daha güvenilir bölgeler için Donchian kanallarını Kalman filtresiyle birleştiren yenilikçi bir yaklaşım kullanılarak çizilir.
7. Kullanıcı Dostu Girişler: Komut dosyası, yatırımcıların göstergenin hassasiyetini ince ayarlamalarına ve tercih ettikleri ticaret tarzına ve zaman dilimine uyarlamalarına olanak tanıyan bir dizi giriş parametresi sağlar.
Nasıl Kullanılır:
1. DeQuex Algo göstergesini TradingView grafiğinize ekleyin.
2. Giriş parametrelerini istediğiniz gibi özelleştirin veya varsayılan ayarları kullanın.
3. Tercih ettiğiniz sinyal türleri için uyarıları etkinleştirin.
4. Ek bağlam için renk kodlu fiyat çubuklarına dikkat ederek uyarlanabilir MACD ve RSI okumalarına dayalı alım ve satım sinyallerini arayın.
5. Girişlerinizi, çıkışlarınızı ve stop-loss yerleşimlerinizi planlarken dinamik destek ve direnç seviyelerini göz önünde bulundurun.
DeQuex Algo yüksek olasılıklı kurulumları belirlemek için tasarlanmış olsa da, hiçbir göstergenin mükemmel olmadığını ve yine de yanlış sinyallerin oluşabileceğini lütfen unutmayın. Alım satım kararları verirken her zaman uygun risk yönetimini kullanın ve piyasa duyarlılığı ve temel analiz gibi diğer faktörleri göz önünde bulundurun.
DeQuex Algo'nun ticaret araç kutunuza değerli bir katkı sağlayacağını umuyor ve daha fazla iyileştirme için her türlü geri bildirim veya öneriyi memnuniyetle karşılıyoruz.
Saygılarımla,
BrandonJames1337
Bollinger Bands with Squeeze and SMA Indicator Description: BB+SMA
Overview:
Bollinger Bands (BB): Computes and plots three bands based on a selected moving average type (SMA, EMA, SMMA (RMA), WMA, VWMA) and standard deviation multiplier. The bands indicate potential support and resistance levels relative to price volatility.
Squeeze Condition: Detects periods of low volatility (squeeze) when the distance between the upper and lower Bollinger Bands narrows significantly. This condition can signal potential price breakouts.
Simple Moving Average (SMA): Calculates and plots a simple moving average based on user-defined length. It smooths price data to highlight trends and potential reversals.
Smoothing Line: Further enhances the SMA by applying different smoothing methods (SMA, EMA, SMMA (RMA), WMA, VWMA) over a specified smoothing length. It helps in identifying smoother trends and changes in direction.
Key Components:
Inputs: Users can adjust parameters such as Bollinger Bands length, type of moving average, standard deviation multiplier, squeeze condition length, squeeze threshold percentage, SMA length, smoothing method, and smoothing length.
Plotting: Displays the Bollinger Bands (basis, upper, lower), SMA, squeeze condition bands (basis, upper, lower), and a smoothing line on the chart.
Visualization: Utilizes different colors and line styles for clarity in visualizing each component's plot on the chart.
Purpose:
Helps traders identify potential price volatility, trend reversals, and breakout opportunities using Bollinger Bands, SMA, squeeze conditions, and smoothed moving averages.
Enhances technical analysis by providing clear visual cues for trend strength and potential entry/exit points based on the specified parameters.
Conclusion:
The "BB+SMA" indicator integrates multiple technical analysis tools into a single script, offering traders a comprehensive approach to analyzing price movements and making informed trading decisions directly on TradingView charts.
Asian Range IndicatorIndicator Name:
Asian Range Indicator
Description:
This TradingView indicator is designed to accurately detect the price range during the Asian session, based on our trading strategy. This range is crucial for planning trades in the European and American sessions. Using advanced algorithms, the indicator automatically identifies and plots the highs and lows within the Asian session period, highlighting them on the chart with shaded areas for clear visualization. This helps traders anticipate breakouts and set more precise entry and exit levels.
How to Use the Indicator:
Add the indicator to your TradingView chart.
Observe the shaded areas representing the Asian range.
Use these levels to plan your trades during the European and American sessions.
Combine with other technical indicators to confirm your trading decisions.
Chart:
The chart published with this script is clean and easy to understand, clearly showing the Asian range highlighted with shaded areas. No other scripts are included, ensuring the indicator's output is easily identifiable. The shaded areas contribute to the visual understanding of the Asian range, helping traders effectively use the script.
Modern Trend IdentifierThis is an update by Lightangel112 to Trendilo (Open-Source).
Thanks @ Lightangel112
The Modern Trend Identifier (MTI) is a sophisticated technical analysis tool designed for traders and analysts seeking to accurately determine market trends. This indicator leverages the Arnaud Legoux Moving Average (ALMA) to smooth price data and calculate percentage changes, providing a clearer and more responsive trend analysis. MTI is engineered to highlight trend direction with visual cues, fill areas between the indicator and its bands, and color bars based on trend direction, making it a powerful tool for identifying market momentum and potential reversals.
Capabilities
Smoothing and Trend Calculation:
Utilizes ALMA to smooth price data, reducing noise and providing a clearer view of the trend.
Calculates percentage changes in price over a user-defined lookback period.
Dynamic Range Adjustment:
Normalizes the ALMA percentage change values to ensure they stay within a -100 to 100 range.
Uses a combination of linear and smoothstep compression to handle extreme values without losing sensitivity.
Trend Direction and Highlighting:
Determines the trend direction based on the relationship between the smoothed ALMA percentage change and dynamically adjusted RMS (Root Mean Square) bands.
Colors the trend line to visually indicate whether the market is in an uptrend, downtrend, or neutral state.
Dynamic Threshold Calculation:
Calculates dynamic thresholds using percentile ranks to adapt to changing market conditions.
Visualization Enhancements:
Fills areas between the ALMA percentage change line and its RMS bands to provide a clear visual indication of the trend strength.
Offers the option to color price bars based on the identified trend direction.
Customizable Settings:
Provides extensive customization options for lookback periods, smoothing parameters, ALMA settings, band multipliers, and more.
Allows users to enable or disable various visual enhancements and customize their appearance.
Use Cases
Trend Identification:
MTI helps traders identify the current market trend, whether it's bullish, bearish, or neutral. This can be particularly useful for trend-following strategies.
Momentum Analysis:
By highlighting areas of strong momentum, MTI enables traders to spot potential breakouts or breakdowns. This can be useful for both entry and exit decisions.
Support and Resistance Levels:
The dynamic threshold bands can act as support and resistance levels. Traders can use these levels to set stop-loss and take-profit orders.
Divergence Detection:
MTI can help in identifying divergences between price and the indicator, which can signal potential trend reversals. This is useful for traders looking to capitalize on trend changes.
Risk Management:
The fill areas and colored bars provide clear visual cues about trend strength and direction, aiding in better risk management. Traders can adjust their positions based on the strength of the trend.
Backtesting:
The extensive customization options allow traders to backtest different settings and parameters to optimize their trading strategies for various market conditions.
Multiple Timeframes:
MTI can be applied to multiple timeframes, from intraday charts to daily, weekly, or monthly charts, making it a versatile tool for traders with different trading styles.
Example Scenarios
Day Trading:
A day trader can use MTI on a 5-minute chart to identify intraday trends. By adjusting the lookback period and smoothing parameters, the trader can quickly spot potential entry and exit points based on short-term momentum changes.
Swing Trading:
A swing trader might apply MTI to a 4-hour chart to identify medium-term trends. The dynamic thresholds can help in setting appropriate stop-loss levels, while the trend direction highlighting aids in making informed decisions about holding or exiting positions.
Position Trading:
For a position trader using a daily chart, MTI can help identify the overarching trend. The trader can use the fill areas and bar coloring to assess the strength of the trend and make decisions about entering or exiting long-term positions.
Market Analysis:
An analyst could use MTI to study historical price movements and identify patterns. By examining how the indicator reacted to past market conditions, the analyst can gain insights into potential future price movements.
In summary, the Modern Trend Identifier (MTI) is a versatile and powerful tool that enhances trend analysis with advanced smoothing techniques, dynamic adjustments, and comprehensive visual cues. It is designed to meet the needs of traders and analysts across various trading styles and timeframes, providing clear and actionable insights into market trends and momentum.
Updated with the following:
Additions and Enhancements in MTI
Grouped Inputs with Descriptive Tooltips:
Inputs are organized into groups for better clarity.
Each input parameter includes a descriptive tooltip.
Dynamic Threshold Calculation:
Added dynamic threshold calculation using percentile ranks to adapt to changing market conditions.
Normalization and Compression:
Added normalization factor to ensure plots are within -100 to 100 range.
Introduced smoothstep function for smooth transition and selectively applied linear and smoothstep compression to values outside -80 to 100 range.
Enhanced Visualization:
Highlighted trend direction with RGB colors.
Enhanced fill areas between the ALMA percentage change line and its RMS bands.
Colored price bars based on the identified trend direction.
RMS Lines Adjustment:
Dynamically adjusted RMS calculation without strict capping.
Ensured RMS lines stay below fill areas to maintain clarity.
Descriptive and Organized Code:
Enhanced code clarity with detailed comments.
Organized code into logical sections for better readability and maintenance.
Key Differences and Improvements.
Input Customization:
Trendilo: Inputs are simple and ungrouped.
MTI: Inputs are grouped and include tooltips for better user guidance.
Trend Calculation:
Trendilo: Uses ALMA and calculates percentage change.
MTI: Enhanced with normalization, compression, and dynamic threshold calculation.
Normalization and Compression:
Trendilo: No normalization or compression applied.
MTI: Normalizes values to -100 to 100 range and applies smoothstep compression to handle extreme values.
Dynamic RMS Adjustment:
Trendilo: Simple RMS calculation.
MTI: Dynamically adjusted RMS calculation to ensure clarity in visualization.
Visual Enhancements:
Trendilo: Basic trend highlighting and filling.
MTI: Enhanced visual cues with RGB colors, dynamic threshold bands, and improved fill areas.
Code Clarity:
Trendilo: Functional but lacks detailed comments and organization.
MTI: Well-organized, extensively commented code for better readability and maintainability.
Adaptive Trend Classification: Moving Averages [InvestorUnknown]Adaptive Trend Classification: Moving Averages
Overview
The Adaptive Trend Classification (ATC) Moving Averages indicator is a robust and adaptable investing tool designed to provide dynamic signals based on various types of moving averages and their lengths. This indicator incorporates multiple layers of adaptability to enhance its effectiveness in various market conditions.
Key Features
Adaptability of Moving Average Types and Lengths: The indicator utilizes different types of moving averages (EMA, HMA, WMA, DEMA, LSMA, KAMA) with customizable lengths to adjust to market conditions.
Dynamic Weighting Based on Performance: ] Weights are assigned to each moving average based on the equity they generate, with considerations for a cutout period and decay rate to manage (reduce) the influence of past performances.
Exponential Growth Adjustment: The influence of recent performance is enhanced through an adjustable exponential growth factor, ensuring that more recent data has a greater impact on the signal.
Calibration Mode: Allows users to fine-tune the indicator settings for specific signal periods and backtesting, ensuring optimized performance.
Visualization Options: Multiple customization options for plotting moving averages, color bars, and signal arrows, enhancing the clarity of the visual output.
Alerts: Configurable alert settings to notify users based on specific moving average crossovers or the average signal.
User Inputs
Adaptability Settings
λ (Lambda): Specifies the growth rate for exponential growth calculations.
Decay (%): Determines the rate of depreciation applied to the equity over time.
CutOut Period: Sets the period after which equity calculations start, allowing for a focus on specific time ranges.
Robustness Lengths: Defines the range of robustness for equity calculation with options for Narrow, Medium, or Wide adjustments.
Long/Short Threshold: Sets thresholds for long and short signals.
Calculation Source: The data source used for calculations (e.g., close price).
Moving Averages Settings
Lengths and Weights: Allows customization of lengths and initial weights for each moving average type (EMA, HMA, WMA, DEMA, LSMA, KAMA).
Calibration Mode
Calibration Mode: Enables calibration for fine-tuning inputs.
Calibrate: Specifies which moving average type to calibrate.
Strategy View: Shifts entries and exits by one bar for non-repainting backtesting.
Calculation Logic
Rate of Change (R): Calculates the rate of change in the price.
Set of Moving Averages: Generates multiple moving averages with different lengths for each type.
diflen(length) =>
int L1 = na, int L_1 = na
int L2 = na, int L_2 = na
int L3 = na, int L_3 = na
int L4 = na, int L_4 = na
if robustness == "Narrow"
L1 := length + 1, L_1 := length - 1
L2 := length + 2, L_2 := length - 2
L3 := length + 3, L_3 := length - 3
L4 := length + 4, L_4 := length - 4
else if robustness == "Medium"
L1 := length + 1, L_1 := length - 1
L2 := length + 2, L_2 := length - 2
L3 := length + 4, L_3 := length - 4
L4 := length + 6, L_4 := length - 6
else
L1 := length + 1, L_1 := length - 1
L2 := length + 3, L_2 := length - 3
L3 := length + 5, L_3 := length - 5
L4 := length + 7, L_4 := length - 7
// Function to calculate different types of moving averages
ma_calculation(source, length, ma_type) =>
if ma_type == "EMA"
ta.ema(source, length)
else if ma_type == "HMA"
ta.sma(source, length)
else if ma_type == "WMA"
ta.wma(source, length)
else if ma_type == "DEMA"
ta.dema(source, length)
else if ma_type == "LSMA"
lsma(source,length)
else if ma_type == "KAMA"
kama(source, length)
else
na
// Function to create a set of moving averages with different lengths
SetOfMovingAverages(length, source, ma_type) =>
= diflen(length)
MA = ma_calculation(source, length, ma_type)
MA1 = ma_calculation(source, L1, ma_type)
MA2 = ma_calculation(source, L2, ma_type)
MA3 = ma_calculation(source, L3, ma_type)
MA4 = ma_calculation(source, L4, ma_type)
MA_1 = ma_calculation(source, L_1, ma_type)
MA_2 = ma_calculation(source, L_2, ma_type)
MA_3 = ma_calculation(source, L_3, ma_type)
MA_4 = ma_calculation(source, L_4, ma_type)
Exponential Growth Factor: Computes an exponential growth factor based on the current bar index and growth rate.
// The function `e(L)` calculates an exponential growth factor based on the current bar index and a given growth rate `L`.
e(L) =>
// Calculate the number of bars elapsed.
// If the `bar_index` is 0 (i.e., the very first bar), set `bars` to 1 to avoid division by zero.
bars = bar_index == 0 ? 1 : bar_index
// Define the cuttime time using the `cutout` parameter, which specifies how many bars will be cut out off the time series.
cuttime = time
// Initialize the exponential growth factor `x` to 1.0.
x = 1.0
// Check if `cuttime` is not `na` and the current time is greater than or equal to `cuttime`.
if not na(cuttime) and time >= cuttime
// Use the mathematical constant `e` raised to the power of `L * (bar_index - cutout)`.
// This represents exponential growth over the number of bars since the `cutout`.
x := math.pow(math.e, L * (bar_index - cutout))
x
Equity Calculation: Calculates the equity based on starting equity, signals, and the rate of change, incorporating a natural decay rate.
pine code
// This function calculates the equity based on the starting equity, signals, and rate of change (R).
eq(starting_equity, sig, R) =>
cuttime = time
if not na(cuttime) and time >= cuttime
// Calculate the rate of return `r` by multiplying the rate of change `R` with the exponential growth factor `e(La)`.
r = R * e(La)
// Calculate the depreciation factor `d` as 1 minus the depreciation rate `De`.
d = 1 - De
var float a = 0.0
// If the previous signal `sig ` is positive, set `a` to `r`.
if (sig > 0)
a := r
// If the previous signal `sig ` is negative, set `a` to `-r`.
else if (sig < 0)
a := -r
// Declare the variable `e` to store equity and initialize it to `na`.
var float e = na
// If `e ` (the previous equity value) is not available (first calculation):
if na(e )
e := starting_equity
else
// Update `e` based on the previous equity value, depreciation factor `d`, and adjustment factor `a`.
e := (e * d) * (1 + a)
// Ensure `e` does not drop below 0.25.
if (e < 0.25)
e := 0.25
e
else
na
Signal Generation: Generates signals based on crossovers and computes a weighted signal from multiple moving averages.
Main Calculations
The indicator calculates different moving averages (EMA, HMA, WMA, DEMA, LSMA, KAMA) and their respective signals, applies exponential growth and decay factors to compute equities, and then derives a final signal by averaging weighted signals from all moving averages.
Visualization and Alerts
The final signal, along with additional visual aids like color bars and arrows, is plotted on the chart. Users can also set up alerts based on specific conditions to receive notifications for potential trading opportunities.
Repainting
The indicator does support intra-bar changes of signal but will not repaint once the bar is closed, if you want to get alerts only for signals after bar close, turn on “Strategy View” while setting up the alert.
Conclusion
The Adaptive Trend Classification: Moving Averages Indicator is a sophisticated tool for investors, offering extensive customization and adaptability to changing market conditions. By integrating multiple moving averages and leveraging dynamic weighting based on performance, it aims to provide reliable and timely investing signals.
Median Analyst ConsensusThe Median Analyst Consensus Indicator provides an unbiased, easy-to-interpret view of market sentiment by leveraging TradingView's comprehensive financial data library. This tool displays the median 12-month price target and the percentage difference from the current price directly on your charts.
Key Features
1. Accurate Market Sentiment: By consolidating analyst ratings and price targets from multiple reputable sources like Bloomberg, Refinitiv (formerly Thomson Reuters), S&P Capital IQ, and Morningstar, this indicator displays the median analyst consensus. Using the median ensures outlier ratings don't skew the overall sentiment, providing a more robust representation.
2. Simplicity at a Glance: View the median 12-month price target and percentage difference from the current price directly on your chart. No need to juggle multiple reports - key insights are surfaced within your normal trading workflow.
3. Data-Driven Transparency: If no analyst data is available for a particular asset, the indicator will not display, ensuring you only see reliable information. The number of contributing analysts is also shown for context.
Why the Median?
The median is favored over the mean to minimize the impact of outlier ratings that could distort the consensus view. By taking the middle value across all analyst projections, the median provides a more stable, outlier-resistant measure of market sentiment.
Powered by TradingView Data
This indicator taps into TradingView's financial data library, which aggregates analyst ratings, estimates, and recommendations from leading institutional data providers. TradingView sources this data from firms like FactSet, Bloomberg, Refinitiv, S&P Capital IQ, and Morningstar, ensuring a comprehensive and trusted view of analyst sentiment.
The library provides variables like:
syminfo.recommendations_buy
syminfo.recommendations_sell
syminfo.target_price_median
syminfo.recommendations_buy_strong
syminfo.recommendations_sell_strong
The indicator calculates and displays the median of these analyst inputs.
Usage
The indicator displays:
The median 12-month price target across analysts
The percentage difference between the price target and current price
The number of contributing analyst estimates
If no analyst data is available, the indicator does not display, ensuring full transparency.
The Median Analyst Consensus Indicator provides an unbiased, easy-to-interpret view of market sentiment by leveraging TradingView's comprehensive financial data library. This tool offers a new perspective on potential trade opportunities directly on your charts.
Disclaimer
While the data is sourced from reputable providers, analyst forecasts should not be construed as investment recommendations. This indicator aims to synthesize market opinions, but investment decisions are solely your responsibility. As with any analytical tool, you should conduct your own research and risk assessments before executing any trades.
SuperThreeThe SuperThree is a comprehensive technical indicator designed to identify and visualize market trends and counter-trend momentum in trading. It uses a unique color-coding system to represent different market conditions and potential trading opportunities.
Uptrend (Green Fill) : This is indicated by a green fill. An uptrend is a period where prices are increasing overall, suggesting a strong market. It’s an ideal time for traders to consider entering long positions or exiting short positions.
Downtrend (Red Fill) : This is represented by a red fill. A downtrend is a period where prices are decreasing overall, indicating a bearish market. Traders might consider entering short positions or exiting long positions during this phase.
Sideways Trend (Blue Fill) : This is shown by a blue fill. A sideways trend, also known as a horizontal trend, is when the price is relatively stable and not making significant upward or downward movements. It’s often a period of consolidation before the price moves up or down.
Counter-Trend Momentum (Blue Arrows) : Blue arrows indicate counter-trend momentum, which can be a signal to exit trades or look for potential trend reversals. These are crucial points where the market’s momentum is shifting and may be about to move in the opposite direction.
The SuperThree indicator is an enhancement of the Supertrend indicator, providing additional features and visual cues to help traders make informed decisions. However, like all indicators, it should be used in conjunction with other forms of analysis to confirm signals and avoid potential false positives. Always consider your risk tolerance and investment goals before making trading decisions.
Happy trading! 😊
Strategic Multi-Step Supertrend - Strategy [presentTrading]The code is mainly developed for me to stimulate the multi-step taking profit function for strategies. The result shows the drawdown can be reduced but at the same time reduced the profit as well. It can be a heuristic for futures leverage traders.
█ Introduction and How it is Different
The "Strategic Multi-Step Supertrend" is a trading strategy designed to leverage the power of multiple steps to optimize trade entries and exits across the Supertrend indicator. Unlike traditional strategies that rely on single entry and exit points, this strategy employs a multi-step approach to take profit, allowing traders to lock in gains incrementally. Additionally, the strategy is adaptable to both long and short trades, providing a comprehensive solution for dynamic market conditions.
This template strategy lies in its dual Supertrend calculation, which enhances the accuracy of trend detection and provides more reliable signals for trade entries and exits. This approach minimizes false signals and increases the overall profitability of trades by ensuring that positions are entered and exited at optimal points.
BTC 6h L/S Performance
█ Strategy, How It Works: Detailed Explanation
The "Strategic Multi-Step Supertrend Trader" strategy utilizes two Supertrend indicators calculated with different parameters to determine the direction and strength of the market trend. This dual approach increases the robustness of the signals, reducing the likelihood of entering trades based on false signals. Here is a detailed breakdown of how the strategy operates:
🔶 Supertrend Indicator Calculation
The Supertrend indicator is a trend-following overlay on the price chart, typically used to identify the direction of the trend. It is calculated using the Average True Range (ATR) to ensure that the indicator adapts to market volatility. The formula for the Supertrend indicator is:
Upper Band = (High + Low) / 2 + (Factor * ATR)
Lower Band = (High + Low) / 2 - (Factor * ATR)
Where:
- High and Low are the highest and lowest prices of the period.
- Factor is a user-defined multiplier.
- ATR is the Average True Range over a specified period.
The Supertrend changes its direction based on the closing price in relation to these bands.
🔶 Entry-Exit Conditions
The strategy enters long positions when both Supertrend indicators signal an uptrend, and short positions when both indicate a downtrend. Specifically:
- Long Condition: Supertrend1 < 0 and Supertrend2 < 0
- Short Condition: Supertrend1 > 0 and Supertrend2 > 0
- Long Exit Condition: Supertrend1 > 0 and Supertrend2 > 0
- Short Exit Condition: Supertrend1 < 0 and Supertrend2 < 0
🔶 Multi-Step Take Profit Mechanism
The strategy features a multi-step take profit mechanism, which allows traders to lock in profits incrementally. This is achieved through four user-configurable take profit levels. For each level, the strategy specifies a percentage increase (for long trades) or decrease (for short trades) in the entry price at which a portion of the position is exited:
- Step 1: Exit a portion of the trade at Entry Price * (1 + Take Profit Percent1 / 100)
- Step 2: Exit a portion of the trade at Entry Price * (1 + Take Profit Percent2 / 100)
- Step 3: Exit a portion of the trade at Entry Price * (1 + Take Profit Percent3 / 100)
- Step 4: Exit a portion of the trade at Entry Price * (1 + Take Profit Percent4 / 100)
This staggered exit strategy helps in locking profits at multiple levels, thereby reducing risk and increasing the likelihood of capturing the maximum possible profit from a trend.
BTC Local
█ Trade Direction
The strategy is highly flexible, allowing users to specify the trade direction. There are three options available:
- Long Only: The strategy will only enter long trades.
- Short Only: The strategy will only enter short trades.
- Both: The strategy will enter both long and short trades based on the Supertrend signals.
This flexibility allows traders to adapt the strategy to various market conditions and their own trading preferences.
█ Usage
1. Add the strategy to your trading platform and apply it to the desired chart.
2. Configure the take profit settings under the "Take Profit Settings" group.
3. Set the trade direction under the "Trade Direction" group.
4. Adjust the Supertrend settings in the "Supertrend Settings" group to fine-tune the indicator calculations.
5. Monitor the chart for entry and exit signals as indicated by the strategy.
█ Default Settings
- Use Take Profit: True
- Take Profit Percentages: Step 1 - 6%, Step 2 - 12%, Step 3 - 18%, Step 4 - 50%
- Take Profit Amounts: Step 1 - 12%, Step 2 - 8%, Step 3 - 4%, Step 4 - 0%
- Number of Take Profit Steps: 3
- Trade Direction: Both
- Supertrend Settings: ATR Length 1 - 10, Factor 1 - 3.0, ATR Length 2 - 11, Factor 2 - 4.0
These settings provide a balanced starting point, which can be customized further based on individual trading preferences and market conditions.
Swing High/Low & EMA Cross AlertScript Description:
This script on TradingView combines the detection of Swing High/Low points with exponential moving average (EMA) crossovers to provide buy and sell alerts and to mark swing points on the chart.
What the Script Does:
Swing High/Low Detection:
Uses the ta.pivothigh function to detect significant high points and the ta.pivotlow function to detect significant low points.
For each detected point, the script checks if it is a new higher high (HH) or lower high (LH) for the highs, and a new lower low (LL) or higher low (HL) for the lows.
Creates visual labels to identify these points on the chart, helping traders to visualize potential reversal points.
EMA Crossover:
Calculates two EMAs: a fast EMA (fastEMA) with a default period of 50 and a slow EMA (slowEMA) with a default period of 200.
Detects bullish crossovers (when fastEMA crosses above slowEMA) and bearish crossunders (when fastEMA crosses below slowEMA).
Generates buy and sell alerts based on these crossovers.
How the Script Works:
EMA Calculation: EMAs are calculated using the closing prices and user-defined periods.
Swing High/Low Detection: Uses the high and low values from the previous length bars to determine the swing points.
Alert Generation: Alerts are triggered when crossovers between the EMAs occur.
How to Use the Script:
Add to Chart: Insert the script into TradingView and apply it to the desired chart.
Configure Parameters:
Adjust the detection period for swing points (length).
Configure the periods for the EMAs (fastLen and slowLen).
Customize the colors for the swing point labels as per your preference.
Monitor Alerts: Use the EMA crossover alerts to make buy or sell decisions. Observe the swing point labels to identify potential trend reversals.
Justification for the Combination:
EMAs: Widely used to identify trend direction. Combining a fast EMA with a slow EMA helps capture both short-term and long-term trend changes.
Swing High/Low: Identifies reversal points in price, which are crucial for determining potential entry and exit points in trades.
Combination:
Combining EMAs and Swing High/Low provides a comprehensive view of price behavior, helping traders to effectively identify trends and reversal points.
This script is useful for traders who want to combine trend analysis (via EMAs) with the identification of reversal points (Swing High/Low), providing a more complete view of price behavior on the chart.
Market Structure Targets Model [LuxAlgo]The Market Structure Targets Model indicator provides an algorithmic approach to setting targets from market structure shifts (MSS) and market structure breaks (MSB), two popular Smart Money Concept (SMC) concepts. Depending on the target % settings, they can be used as take profit, confirmation levels, or potential reversal points.
🔶 USAGE
Our Market Structure Targets Model scripts provide automated and customizable targets from MSS and MSB. Each displayed target can be used in several ways described in the sub-sections below:
🔹 Take Profit
The targets can be used as take profit levels, where the target distance can be set separately for bullish/bearish MSS/MSB respectively.
🔹 Confirmation Levels
Alternatively, targets can be used as an additional confirmation level of a trend reversal when set at a lower percentage, filtering out fake signals that might be given from market structures. In this way, targets can be used as potential entry levels.
🔹 Potential Reversal Points
In some circumstances, targets being reached can be indicative of trend reversals. The percentage of the targets would be typically set higher to allow for trend exhaustion.
The above examples highlight this usage for bearish reversal scenarios, while the image below highlights it for bullish reversal scenarios.
🔹 Support/Resistance Levels
The targets, being horizontal levels, can also serve as potential support/resistances, with breakouts potentially confirming new trends. It is important to remain observant of the market structure. An MSS or MSB in the opposite direction provides essential information to be included in future decisions.
Using multiple timeframes can help detect longer-term trends. Depending on the user's preference, they can choose the appropriate timeframe for their needs.
Note that Target lines will only be drawn when the Target Level exceeds the close value when it is drawn.
🔹 Maximum Target Duration
The Maximum Target Duration setting removes unreached target levels when the amount of bars since the associated market structure of that target exceeds the user set limit. This effectively allows the removal of any target that might no longer be relevant to newer trends.
🔹 Type: Switch/Hold
This setting is another way to control unreached target levels.
Switch: When a new MSS/MSB is found, the previous target level associated with a market structure with the same direction (bullish/bearish) is deleted if it hasn't been reached.
Hold: Target levels are retained and continuously evaluated when a new MSS/MSB is formed.
The target level will be removed in both cases when the Maximum Target Duration condition is applied.
The above example shows the case when the Type setting is set to Switch , while in the example below, it is set to Hold .
🔶 DETAILS
🔹 Market Structure
Market structures are commonly classified as follows:
Market Structure Shift (MSS), also referred to as Change of Character (CHoCH)
Market Structure Break (MSB), also referred to as Break of Structure (BOS)
MSS indicates a shift in the market trend, confirming trend reversals. Conversely, MSB occurs once a trend is already determined, confirming new higher highs/lower lows.
🔹 Targets
A: Highest/lowest between the extremities of the MSS/MSB line
B: Price value of the MSS/MSB line
The distance between A and B is projected on the opposite side of the MSS/MSB line, adjusted with a percentage that can be set by the user. The above example used 100% of the distance between A and B.
The Target Percentage of MSS and MSB can be set separately for bullish or bearish market structures.
🔶 SETTINGS
Swings: Period used for the swing detection, with higher values returning longer-term Swing Levels.
Type: the Switch/Hold setting controls unattained target levels
Maximum Target Duration: removes the target lines when the amount of bars since the drawing of the target exceeds the limit and the target has not been reached
🔹 Market Structure Shift (MSS)
Bullish: Toggle, color setting, % Target
Bearish: Toggle, color setting, % Target
🔹 Market Structure Break (MSB)
Bullish: Toggle, color setting, % Target
Bearish: Toggle, color setting, % Target
Average Session Range [QuantVue]The Average Session Range or ASR is a tool designed to find the average range of a user defined session over a user defined lookback period.
Not only is this indicator is useful for understanding volatility and price movement tendencies within sessions, but it also plots dynamic support and resistance levels based on the ASR.
The average session range is calculated over a specific period (default 14 sessions) by averaging the range (high - low) for each session.
Knowing what the ASR is allows the user to determine if current price action is normal or abnormal.
When a new session begins, potential support and resistance levels are calculated by breaking the ASR into quartiles which are then added and subtracted from the sessions opening price.
The indicator also shows an ASR label so traders can know what the ASR is in terms of dollars.
Session Time Configuration:
The indicator allows users to define the session time, with default timing set from 13:00 to 22:00.
ASR Calculation:
The ASR is calculated over a specified period (default 14 sessions) by averaging the range (high - low) of each session.
Various levels based on the ASR are computed: 0.25 ASR, 0.5 ASR, 0.75 ASR, 1 ASR, 1.25 ASR, 1.5 ASR, 1.75 ASR, and 2 ASR.
Visual Representation:
The indicator plots lines on the chart representing different ASR levels.
Customize the visibility, color, width, and style (Solid, Dashed, Dotted) of these lines for better visualization.
Labels for these lines can also be displayed, with customizable positions and text properties.
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
Support and Resistance [CryptoSea]The Support and Resistance Indicator is a powerful tool developed by CryptoSea for traders seeking to identify key market levels with precision. This script leverages advanced pivot and volume analysis to highlight support and resistance zones on the price chart.
Key Features
Multi-Source Pivot Analysis: Choose between wicks or body prices for calculating pivot points, providing flexibility in market analysis.
Volume Spike Detection: Automatically identifies volume spikes using a customizable threshold multiplier, enhancing the accuracy of support and resistance levels.
Dynamic Box Display: Configurable options for extending and graying out boxes based on price interaction, ensuring a clear visual representation of active and invalidated zones.
In the example below, we see a resistance box formed based on wick highs and a volume spike. The box extends to where we see price rejecting from it. In the settings you can change this so the box will stop if price touches it if you prefer.
How it Works
Pivot Point Calculation: The script determines pivot highs and lows using either wicks or body prices over a specified term (Short, Medium, Long), corresponding to 5, 15, or 30 bars.
Volume Analysis: Calculates average volume over twice the pivot length and identifies volume spikes exceeding the user-defined threshold, crucial for confirming support and resistance levels.
Box Management: Maintains arrays of support and resistance boxes, limiting the number based on user settings (All, Recent Few, Recent Several).
Settings Explained
Source: Choose between 'Wicks' or 'Bodies' to determine whether pivot points are calculated using candle wicks or body prices.
Pivot Term: Select 'Short' (5 bars), 'Medium' (15 bars), or 'Long' (30 bars) to adjust the distance for pivot calculation. Longer terms take more bars to confirm support/resistance.
Volume Threshold (multiplier): Set a multiplier of average volume to detect volume spikes, essential for validating support/resistance levels.
Extend Until Price Hits: Enable this to extend support/resistance boxes until the price touches them, providing dynamic levels.
Gray Out Boxes Once Hit: Enable this to gray out the boxes once the price interacts with them, indicating that they are no longer active.
Max Boxes Displayed: Choose 'All', 'Recent Few' (up to 3 boxes each for bull and bear), or 'Recent Several' (up to 10 boxes each for bull and bear) to control the number of visible boxes.
Invalidate Condition: Select 'Touch' to invalidate a box when the price touches it or 'Through' to invalidate when the price passes entirely through the box.
Candle Colors: Option to color candles based on neutral, bullish, or bearish conditions for easier visual analysis.
Application
Strategic Planning: Assists traders in pinpointing potential entry and exit points by marking significant support and resistance zones.
Trend Confirmation: Validates trend strength and potential reversals with volume-based analysis of support and resistance levels.
Customizable Settings: Tailors analysis to various trading strategies with extensive input settings for pivot source, term, volume threshold, and display preferences.
The Support and Resistance Indicator by is an essential addition to any trader’s toolkit, offering robust and customizable market level analysis for improved trading decisions.
Fibonacci Average Range [UkutaLabs]█ OVERVIEW
The Fibonacci Average Range indicator provides unique insight into key price-action levels within the market that can serve as powerful support and resistance levels. The Fibonacci Average Range is automatically generated purely from price-action; simplifying the decision-making process because price-action focuses on the most critical factor, price.
Through the use of its Fibonacci retracement levels, traders will be able to more accurately predict future direction and price movement of any given commodity.
The Fibonacci Average Range indicator is a powerful trading tool that provides unique insight into the market that can provide value to a wide variety of trading styles.
The aim of this script is to simplify the trading experience of users by automatically identifying and displaying price levels that they should be aware of.
█ USAGE
At the beginning of each trading day, the script will use relevant price-action information to calculate an expected range for the current trading day, giving traders unique insight into potential levels of support and resistance within the market.
Depending on current market conditions, the script will either generate from the current day’s high or the current day’s low, depending on whether the market shows bullish or bearish strength.
Within the total projected range, several other levels will be identified and labelled. These levels combine the script’s prediction for the day’s range and key Fibonacci Ratios to identify potentially powerful levels of support and resistance within.
Each line also has a label to identify what it represents, and these labels can be turned off in the settings.
█ SETTINGS
Configuration
• Show Labels: Determines whether labels get drawn.
• Current Day Open: Determines whether a line representing the current day’s open is drawn.
• Display Mode: Determines the number of days the script will load.
Line Settings
• Line Width: Determines the width of lines.
• Line Style: Determines the style of lines.
ICT Custom OPENSA basic Indicator, meant to delineate Specific ICT reference open times To be used with any ICT model that accounts for such, Time zone is set to the default UTC-4, New York Eastern Time, and all open times can be adjusted manually to the user's liking. Also displays labels for days of the week that can be positioned at the top or bottom of the chart
Pivot Points with MID LevelsThis indicator shows the Standard Pivot Points level based on daily values that can act as support and resistance. It is used by a variety of traders around the world. You can select which time frame Pivot Point Levels you'd like. Daily, weekly etc... Perfect for swing trading or day trading.
Pivot Points- Shows 3 levels of resistance, the Pivot Point and 3 levels of support
(R3, R2, R1, PIVOT POINT, S1, S2, S3
MID Levels- The MID levels are 50% retracement from the pivot point level above it and below
Example- R3, MID, R2, MID, R1, MID, PIVOT POINT, MID, S1, MID, S2, MID, S3
With this indicator you will also have the option to show the Previous days High and Low that are also important levels. On gap up/down days it is always interesting to see if price will close the gap, hence the important level to note.
PDH= Previous Days High
PDL= Previous Days Low
I have added a feature that you can now select specific color to each level and the line style for each level to help understand which levels are being show by personal needs.
Happy Trading
Six T3 Bands – Set to Any Time Frame [1000X]Script Description: Six T3 Bands – Set to Any Time Frame
This script leverages T3 lines, an advanced form of moving averages, to provide more adaptive and responsive indicators compared to traditional Moving Averages (MA) or Exponential Moving Averages (EMA). The T3 indicator, originally conceptualized by Tim Tillson in 1998, is known for its smoothness and reduced lag, making it a powerful tool for traders seeking precise market signals.
Features:
1 Adjustable Parameters:
◦ The script allows for the customization of six different T3 lines, each with adjustable lengths and "b values" (smoothing coefficients). This flexibility lets users fine-tune the indicators to fit various trading styles and market conditions.
◦ Users can set the reference timeframe for the T3 lines using the request.security function, enabling analysis across different timeframes. By default, the timeframe is set to the daily chart.
2 Calculation Method:
◦ The T3 lines are calculated using a multi-stage Exponential Moving Average (EMA) process. Specifically, the price data is smoothed through six stages of EMA calculations, with coefficients applied to produce the final T3 value. This method ensures the T3 lines are smoother and less laggy than traditional moving averages.
3 Usage:
◦ The T3 lines can be utilized to identify natural support and resistance levels within the market. By observing how the price interacts with these lines, traders can gain insights into potential reversal points or continuation patterns.
◦ The script's default settings are optimized for identifying these levels, but users are encouraged to adjust the parameters to match their specific trading strategies.
How to Use:
1 Customization:
◦ Access the script's settings to adjust the T3 lengths and "b values" for each of the six lines. This customization allows you to tailor the indicator to your preferred sensitivity and responsiveness.
◦ Set the reference timeframe according to your analysis needs. Whether you prefer intraday, daily, or longer-term charts, the T3 lines will remain set to the reference timeframe that you choose, while you focus your attention on the time frame of your choice.
2 Trading Strategies:
◦ Support and Resistance Trading: Use the T3 lines to identify key support and resistance zones. Look for price reactions around these lines to make informed trading decisions.
◦ Trend Confirmation: Combine the T3 lines with other technical indicators to confirm trends and filter out noise. The smoothness of the T3 lines helps in recognizing genuine trend changes.
Conclusion: This script builds on the foundational work of Tim Tillson and the classic T3 Average script by @HPotter (2014). Significant enhancements include making the "b value" an adjustable input and utilizing the request.security function to apply T3 lines to a specified timeframe. These improvements provide traders with greater control and adaptability, enhancing the practical utility of the T3 indicator.
The "Six T3 Bands – Set to Any Time Frame " script offers a useful tool for traders looking to enhance their technical analysis, both to visualize trend direction and to identify likely support and resistance levels. Its adaptive nature and customizable features make it a valuable addition to many trading strategies..
Support and Resistance (High Volume Boxes) [ChartPrime]Support and Resistance (High Volume Boxes)
◆ Overview:
The "Support and Resistance" indicator identifies key support and resistance levels using pivot points and volume analysis. It visually represents these levels with dynamically colored boxes, indicating the strength of the volume. This helps traders recognize potential price reversals and key zones for buy and sell opportunities.
◆ Key Features:
Dynamic Support and Resistance Boxes:
The indicator plots support and resistance boxes based on pivot points and volume above threshold for positive volume boxes and below lower threshold for negative volume boxes.
Box colors change from transparent to more intense based on volume, reflecting the strength of support or resistance.
Boxes expands until a new box of the same type appears.
Volume-Based Color Coding:
Boxes are color-coded based on the amount of volume:
Green boxes indicate support levels with positive volume.
Red boxes indicate resistance levels with negative volume.
Hold Signals:
Green diamonds (◆) indicate when support holds, signaling potential buy opportunities.
Red diamonds (◆) indicate when resistance holds, signaling potential sell opportunities.
Breakout Labels:
If the price falls below a support level, that level will become resistance. If the price rises above a resistance level, it will often become support. As the price moves past a level of support or resistance, it is thought that supply and demand has shifted, causing the breached level to reverse its role.
Labels "Break Sup" and "Break Res" are displayed when support or resistance levels are broken, indicating significant market movements.
◆ Break Resistance:
◆Break Support:
◆ Usage Notes:
This indicator helps traders identify strong support and resistance levels, offering visual cues for potential price reversals.
By analyzing volume at these levels, traders can gauge the strength of these zones and make more informed trading decisions.
◆ Settings:
Lookback Period: The number of bars to look back for pivot points.
Delta Volume Filter Length: The length of the volume filter for more accurate volume analysis. (Higher input, will filter low volume boxes)
Adjust Box Width: Adjusts the width of the support and resistance boxes.
This indicator is designed to enhance your trading by providing clear visual cues for support and resistance levels based on volume, making it easier to spot potential price reversals and key trading opportunities.
Quantiple Direction IndexThis indicator indicates market trends by analyzing the following signals:
1. RSI which is a momentum oscillator
2. Directional Movement Index (DMI) which measures the direction of the movement
3. Price in comparison to EMA 13 and 21 to determine whether the trend is clear or there is an ambiguity
4. ADX that shows the strength of the momentum
Scoring logic
While we have kept the source code open which gives the scoring logic, for ease of the user, I am summarizing the scoring logic
A. We break down RSI and DMI into a 9 point scale (-4 to +4) from extremely bearish to bullish. Then we give equal weight to both and come out with a direction score.
B. We use EMA to determine if their is clarity in the price trend. While the direction is deduced from point A, if there is clarity we know that the confidence on the direction is high. If EMA 13 is higher than EMA 21 and the price is above EMA 13, then we assign it as a score of +1 as we get clear bullish trend. Similarly if EMA 13 is below EMA 21 and the price is below both the EMAs then we assign it a score of -1 as we get clear bearish trend. Anything else is considered as inconclusive and given a score of 0
C. We use ADX to determine the strength of the directional momentum. It is like acceleration. We use ADX score as an strength adjustment factor. If the value is above 25 - we multiply A+B by 1.25. Similarly we multiply it by 0.75 if the strength is weak and no change if the strength is neutral.
Finally this indicator categorizes market direction into five levels:
- Very Bullish
- Bullish
- Neutral
- Bearish
- Very Bearish
Scores range from +6 (very bullish) to -6 (very bearish), with the user setting thresholds for each category. The midpoint between Bullish and Bearish defines the neutral zone.
Again all the exact values are in the code and the user can also customize as per their trading system.
Why does it make sense to combine these different indicators rather than looking at them in isolation?
We give equal weight to RSI and DMI to derive the direction of the price movement. Using two different indicators provide a better confirmation on the direction. However, this alone is not sufficient.
We want clarity of the direction and for that we use the EMA score (please refer to point B above). If we have clarity, the probability of the direction being right goes up.
Once we know the direction, we want to know what is the strength of that direction. This point is very valuable for an option trader. This is where this indicator brings value.
Please note that by looking at these indicators in isolation one can get a sense of direction or a sense of strength of the direction. But, when you combine them, you get whether the direction move is with strength or not. If you are into option trading, you will clearly understand the rational behind it when you look at the trading rules provided in this description. For example if one knows that the direction is bullish (which one can potentially get from RSI or DMI), one can either buy a call or sell a put. But one knows that not only the direction is bullish, but it has the right acceleration (strength of the momentum), then one will assign higher probability of higher profit from buying call than from selling put.
To summarize we have combined indicators to achieve the following
1. Get confirmation from two different indicators on the direction of the price movement (RSI and DMI)
2. Confirm that the direction is clear (Price relative to EMA)
3. Combine with the strength of the direction (ADX)
Direction, clarity of the direction and the strength of the directional movement is a valuable trading indicator in our opinion.
Suggested trading rules
1. Short strangle strategy when the trend is neutral with one's usual option selling quantity. Equal quantity on put and call.
2. Full quantity short put and half quantity short call when the trend is bullish.
3. Full quantity short put and call long when the indicator is very bullish.
4. Vice versa for bearish ( full call short, half put short) and very bearish (full call short, put long)
Suggested to use 5 min timeframe for scalping, 15 min for intraday positions, 1 hour for weekly and monthly positions, and daily/weekly for investments.
The value of this indicator oscillates between +6 to -6. You can tweak the range for V bullish, bullish, bearish, and v bearish. The values in between will default to the neutral zone.
Disclaimers:
1. While the creator has used this in the live market, no claim is being made on its effectiveness or profit making ability. Please use it for trading only after you have tested it and are satisfied.
2. There may be thousands or millions of better trader in this world than the creator of this script. The creator makes no claim of his intelligence or trading ability.
3. The creator has no intention of selling this particular script now or in future. This is purely for community use and there's no intention to make any monetary profit from it.
4. The creator is not requesting or soliciting anyone to like or promote this script. The creator is also not asking anyone to give him any business now or in future even if they like this script and benefit from it.
TrendzonesHi all!
This indicator plots trendlines. These lines are not plotted as traditional lines, but are instead zones. This is useful if you think that trend lines are more of an area of importance than a line.
It does so by finding pivots and connecting two of them if they have not been broken (more about that later) in-between the pivots.
These trend zones can be used as support/resistance that the price can react to.
• The first trendline is drawn between the high/low of the first and second pivot.
• The second trendline's first point is at the open/close of the pivot (either the first pivot or the second one) that has the smallest difference between the high/low and the nearest open/close. The same difference (between the high/low and the open/close) is then subtracted from the other pivot's high/low. This creates a point at the other pivot bar. A trendline is then drawn between the points.
This creates two trendlines and a zone between the two trendlines. This zone is the one kept and is shown by the script.
You can define the pivot lengths used to find trend zones (defaults to 3/3). You can also define the number of pivots to look back for, to find trend zones and the number of active zones, both of these defaults to 3. You can also choose to let the script create new zones based on time ("Oldest") or the zone that is furthest away in price, this defaults to be based on time but it can be useful for letting the script remove the one which is furthest away in price. Another useful setting is the one called "Cross source". This defines the price that has to cross the trend zone to make it invalid (broken). This defaults to "Close", i.e. the bar has to close on the "wrong side" of the trend zone.
The current zones are shown with an extension to the right, but you can also choose to keep the previous lines (without extension). Please note that kept zones are only the ones that are broken, not the replaced ones. I.e. the zones that are kept are the ones that are crossed by the user defined "cross source" (defaults to the closing/current price of the bar).
Hope this makes sense, let me know if you have any questions.
Best of trading luck!