Equal Highs and LowsDescription:
The ‘Equal Highs and Lows’ indicator is a technical analysis tool that marks identical price levels on a trading chart using the current time-frame, assisting traders in identifying potential support and resistance zones or liquidity draws. It creates a horizontal line connecting points where the price has created equal highs and lows within a specified lookback period. Unique to this tool, it maintains a clean chart by removing the line once the price surpasses the equal highs or falls below the equal lows, ensuring only the currently relevant equal highs and lows are highlighted.
Features:
Customization Options: Users can adjust the appearance of the lines (color, width, and style) to match their chart setup or preferences. Users can also choose to extend the lines marking the equal highs/lows to the right of the chart making the equal high/low levels more easier to visualize.
User-Defined Lookback Length: The number of bars to look back for finding equal highs and lows can be set by the user, allowing for flexibility in different market conditions.
How It Works:
The indicator meticulously scans the chart over a user-specified lookback duration, identifying bars with matching high or low values that have not been mitigated on the current chat timeframe, thereby constructing an index of equal values. It subsequently connects these equal values on the chart with a line. While this intuitive indicator does not forecast future market trends, it emphasizes significant price levels derived from historical data.
Usage:
Identifying Support and Resistance: The lines drawn by the indicator can be used to identify potential support and resistance zones and/or draws of liquidity, which are crucial for making informed trading decisions.
Strategy Development: Traders can incorporate the visual cues provided by the indicator into their trading strategies, using them as one of the factors for entry or exit decisions.
Originality:
This indicator presents a distinctive method for pinpointing and illustrating equal highs and lows, granting traders a crucial insight into key price levels. It stands apart from conventional indicators by offering extensive personalization and employing a novel approach to augment chart analysis. Uniquely, it retains only unmitigated equal high/low levels on the chart, automatically discarding mitigated price levels once the price has reached that level.
Conclusion:
The "Equal Highs and Lows" indicator is a practical tool for traders looking to enhance their chart analysis with visual cues of significant price levels. Its customization options and innovative approach make it a valuable addition to the trading toolkit, suitable for various trading styles and strategies.
트렌드 어낼리시스
MTF WaveTrend [CryptoSea]The MTF WaveTrend Indicator is a sophisticated tool designed to enhance market analysis through multi-timeframe WaveTrend calculations. This tool is built for traders who seek to identify market momentum and potential reversals with higher accuracy.
In the example below, we can see all the choosen timeframes agree on bearish momentum.
Key Features
Multi-Timeframe WaveTrend Analysis: Tracks WaveTrend values across multiple timeframes to provide a comprehensive view of market momentum.
Customizable Colour Rules: Offers three different colour rules (Traditional, WT1 0 Rule, WT1 & WT2 0 Rule) to suit various trading strategies.
Timeframe Visibility Control: Allows users to enable or disable specific timeframes, providing flexibility in analysis.
Clear Visual Indicators: Uses color-coded squares and labels to clearly display WaveTrend status across different timeframes.
Candle Colouring Option: Includes a setting for neutral candle coloring to enhance chart readability.
This example shows what can happen when all timeframes start alligning with eachother.
How it Works
WaveTrend Calculation: Computes the WaveTrend oscillator by applying a series of exponential moving averages and scaling calculations.
Multi-Timeframe Data Aggregation: Utilizes the `request.security` function to gather and display WaveTrend values from various timeframes without repainting issues.
Conditional Plotting: Displays visual cues only when higher timeframes align with the selected timeframe, ensuring relevant and reliable signals.
Dynamic Colour Rules: Adjusts the indicator colors based on the chosen rule, whether it's a traditional crossover, WT1 crossing zero, or both WT1 & WT2 crossing zero.
Traditional: Colors are determined by the relationship between WT1 and WT2. If WT1 is greater than WT2, it is bullish (bullColour), otherwise bearish (bearColour).
WT1 0 Rule: Colors are based on whether WT1 is above or below zero. WT1 above zero is bullish (bullColour), below zero is bearish (bearColour).
WT1 & WT2 0 Rule: A more complex rule where both WT1 and WT2 need to be above zero for a bullish signal (bullColour) or both below zero for a bearish signal (bearColour). If WT1 and WT2 are not in agreement, a neutral color (neutralColour) is displayed.
This indicator will make sure that the lowest timeframe you can see data from will be the timeframe you are on. This is to avoid false signals as you cannot display 3 x 5 minute candles whilst looking at the 15 minute candle.
Application
Strategic Decision-Making: Assists traders in making informed decisions by providing detailed analysis of WaveTrend movements across different timeframes.
Trend Confirmation: Reinforces trading strategies by confirming potential reversals with multi-timeframe WaveTrend analysis.
Customized Analysis: Adapts to various trading styles with extensive input settings that control the display and sensitivity of WaveTrend data.
The MTF WaveTrend Indicator by is an invaluable addition to a trader's toolkit, offering depth and precision in market trend analysis to navigate complex market conditions effectively.
Uptrick: Recent Support and Resistance LinesThe indicator titled "Uptrick: Recent Support and Resistance Lines" is a technical analysis tool designed for overlay on price charts. It aims to identify and visualize recent support and resistance levels based on pivot points within a specified range.
Key Features and Functionality:
Pivot Length Parameter:
The indicator allows the user to input a pivot length parameter, which defines the range over which the pivot points (highs and lows) are calculated. By default, this length is set to 50 bars.
Support and Resistance Calculation:
The indicator dynamically calculates the most recent support and resistance levels based on pivot points.
Pivot Highs and Lows:
A pivot high is defined as a price level where a bar's high is higher than the highs of the bars around it for a given number of bars defined by the pivot length.
A pivot low is the opposite, where a bar's low is lower than the lows of the surrounding bars within the same range.
Support Line:
When a new pivot low is identified, this becomes the new recent support level.
The indicator creates a horizontal line at this support level, starting from the bar where it was identified and extending to the current bar. This line is colored green and is drawn with a width of 2 pixels. If a support line already exists, it is deleted and replaced with the new line.
Resistance Line:
Similarly, when a new pivot high is detected, it updates the recent resistance level.
A horizontal line is drawn at this resistance level, starting from the bar where it was identified and extending to the current bar. This line is colored red and also drawn with a width of 2 pixels. As with the support line, any existing resistance line is deleted and replaced with the new one.
Visual Representation:
The support and resistance lines extend to the right, providing a clear visual guide on the chart. This helps traders identify key levels where price has previously found support or encountered resistance, which can be critical for making trading decisions.
Practical Application:
Trading Decisions:
Traders can use the visual cues from the support and resistance lines to make informed trading decisions. For instance, they might place buy orders near support levels and sell orders near resistance levels.
The dynamic nature of these lines helps in adapting to the most recent market conditions, ensuring that the levels are relevant to the current price action.
Trend Analysis:
The indicator can assist in analyzing the overall trend. In an uptrend, the support levels may progressively rise, while in a downtrend, resistance levels may drop.
This indicator is particularly useful for traders who rely on visual support and resistance levels to guide their trading strategies, providing a clear and automatic way to track these critical levels on their charts.
Pivot Points Level [TradingFinder] 4 Methods + Reversal lines🔵 Introduction
"Pivot Points" are places on the price chart where buyers and sellers are most active. Pivot points are calculated based on the previous day's price data and serve as reference points for traders to make decisions.
Types of Pivot Points :
Floor
Woodie
Camarilla
Fibonacci
🟣 Floor Pivot Points
Floor pivot points are widely used in technical analysis. The central pivot point (PP) serves as the main level of support or resistance, indicating the potential direction of the trend.
The first to third levels of resistance (R1, R2, R3) and support (S1, S2, S3) provide additional signals for potential trend reversals or continuations.
Floor Pivot Points Formula :
Pivot Point (PP): (H + L + C) / 3
First Resistance (R1): (2 * P) - L
Second Resistance (R2): P + H - L
Third Resistance (R3): H + 2 * (P - L)
First Support (S1): (2 * P) - H
Second Support (S2): P - H + L
Third Support (S3): L - 2 * (H - P)
🟣 Camarilla Pivot Points
Camarilla pivot points include eight levels that closely align with support and resistance. These points are particularly useful for setting stop-loss and profit targets.
Camarilla Pivot Points Formula :
Fourth Resistance (R4): (H - L) * 1.1 / 2 + C
Third Resistance (R3): (H - L) * 1.1 / 4 + C
Second Resistance (R2): (H - L) * 1.1 / 6 + C
First Resistance (R1): (H - L) * 1.1 / 12 + C
First Support (S1): C - (H - L) * 1.1 / 12
Second Support (S2): C - (H - L) * 1.1 / 6
Third Support (S3): C - (H - L) * 1.1 / 4
Fourth Support (S4): C - (H - L) * 1.1 / 2
🟣 Woodie Pivot Points
Woodie pivot points are similar to floor pivot points but place more emphasis on the closing price. This method often results in different pivot levels than the floor method.
Woodie Pivot Points Formula :
Pivot Point (PP): (H + L + 2 * C) / 4
First Resistance (R1): (2 * P) - L
Second Resistance (R2): P + H - L
First Support (S1): (2 * P) - H
Second Support (S2): P - H + L
🟣 Fibonacci Pivot Points
Fibonacci pivot points use the standard floor pivot points and then apply Fibonacci retracement levels to the range of the previous trading period. The common retracement levels used are 38.2%, 61.8%, and 100%.
Fibonacci Pivot Points Formula :
Pivot Point (PP): (H + L + C) / 3
Third Resistance (R3): PP + ((H - L) * 1.000)
Second Resistance (R2): PP + ((H - L) * 0.618)
First Resistance (R1): PP + ((H - L) * 0.382)
First Support (S1): PP - ((H - L) * 0.382)
Second Support (S2): PP - ((H - L) * 0.618)
Third Support (S3): PP - ((H - L) * 1.000)
These pivot point calculations help traders identify potential support and resistance levels, enabling more informed decision-making in their trading strategies.
🔵 How to Use
🟣 Two Methods for Trading Pivot Points
There are two primary methods for trading pivot points: trading with "pivot point breakouts" and trading with "price reversals."
🟣 Pivot Point Breakout
A breakout through pivot lines provides a significant signal to the trader, indicating a change in market sentiment. When an upward breakout occurs and the price crosses these lines, a trader can enter a long position and place their stop-loss below the pivot point (P).
Similarly, if a downward breakout happens, a short order can be placed below the pivot point.
When trading with pivot point breakouts, if the upward trend breaks, the first and second support levels can be the trader's profit targets. In a downward trend, the first and second resistance levels will serve this role.
🟣 Price Reversal
Another method for trading pivot points is waiting for the price to reverse from the support and resistance levels. To execute this strategy, one should trade in the opposite direction of the trend as the price reverses from the pivot point.
It's worth noting that although traders use this tool in higher time frames, it yields better results in shorter time frames such as one-hour, 30-minute, and 15-minute intervals.
QuasimodoThis indicator helps traders spot certain patterns on a price chart that might indicate a change in price direction. These patterns are known as "engulfing patterns."
How It Works1.
Bullish Engulfing Patterns:- The current bar (or candle) closes higher than it opens (it's a green or white candle).- The previous bar closed lower than it opened (it was a red or black candle).- The current bar's high is higher than the previous bar's high, and its low is lower than the previous bar's low.- There's another variation where both the current and previous bars are green, but the current bar is still higher and lower than the previous one.
2. Bearish Engulfing Patterns:- The current bar closes lower than it opens (it's a red or black candle).- The previous bar closed higher than it opened (it was a green or white candle).- The current bar's low is lower than the previous bar's low, and its high is higher than the previous bar's high.- There's another variation where both the current and previous bars are red, but the current bar is still higher and lower than the previous one.
What It Shows-
When the indicator spots one of these patterns, it colors the previous candle:-
Yellow for a bullish pattern (price might go up).-
Pink for a bearish pattern (price might go down).
Alerts- The indicator can also send an alert to let you know when it finds one of these patterns, so you don't miss it.
Pivot Points - [RealFact]Description:
The Pivot Points indicator is a powerful tool for identifying potential support and resistance levels based on previous price action. It calculates key pivot levels (P), along with support (S1, S2) and resistance (R1, R2) levels, which are used to forecast potential turning points in the market.
Key Features:
Pivot Calculation: Based on the previous period's high, low, and close prices.
Support and Resistance Levels: Three support (S1, S2) and three resistance (R1, R2) levels.
Customizable Timeframes: Applicable to various timeframes including daily, weekly, and monthly charts.
Visual Representation: Levels are clearly plotted on the chart, making it easy to identify key areas.
Trading Strategies: Useful for breakout, reversal, and trend-following strategies.
How to Use:
Identify Key Levels: Use the pivot point (P) to determine the general market trend.
Support and Resistance: Look for price reactions at S1, S2, R1 and R2 to find potential entry and exit points.
Combine with Other Indicators: Enhance analysis by combining with other technical indicators such as Moving Averages, RSI, or MACD.
Formula:
Pivot Point (P) = (High + Low + Close) / 3
Support 1 (S1) = 2P - High
Resistance 1 (R1) = 2P - Low
Support 2 (S2) = P - (High - Low)
Resistance 2 (R2) = P + (High - Low)
Best Practices:
Confirm with Volume: Look for volume confirmation when price approaches pivot levels.
Avoid False Breakouts: Be cautious of false breakouts and use other indicators to confirm price moves.
Wyckoff Springs [QuantVue]The Wyckoff Springs indicator is designed to identify potential bullish reversal patterns known as "springs" in the Wyckoff Method. A Wyckoff spring occurs when the price temporarily dips below a support level, then quickly rebounds, suggesting a false breakdown and a
potential buying opportunity.
How it works:
Pivot detection:
The indicator identifies pivot lows based on the specified pivot length.
These pivot points are stored and analyzed for potential spring patterns.
Volume and Range Checks:
If volume confirmation is enabled, the indicator checks if the current volume exceeds a threshold based on the average volume over the specified period.
The indicator ensures that the price undercuts the defined trading range before confirming a spring pattern.
Spring Identification
The indicator checks for price conditions indicative of a Wyckoff spring: a temporary dip below a pivot low followed by a close above it. The recovery must take place within 3 bars.
If these conditions are met, a spring label is placed below the bar.
Features:
Pivot Length:
The user can set the pivot length to match any style of trading.
Volume Confirmation:
An optional feature where the user can specify if volume confirmation is required for a spring signal.
Volume threshold can be set to determine what constitutes significant volume compared to the average volume over a specified period. By default it is set to 1.5
How to Trade a Spring:
Give this indicator a BOOST and COMMENT your thoughts below!
We hope you enjoy.
Cheers!
KNN OscillatorOverview
The KNN Oscillator is an advanced technical analysis tool designed to help traders identify potential trend reversals and market momentum. Using the K-Nearest Neighbors (KNN) algorithm, this oscillator normalizes KNN values to create a dynamic and responsive indicator. The oscillator line changes color to reflect the market sentiment, providing clear visual cues for trading decisions.
Key Features
Dynamic Color Oscillator: The line changes color based on the oscillator value – green for positive, red for negative, and grey for neutral.
Advanced KNN Algorithm: Utilizes the K-Nearest Neighbors algorithm for precise trend detection.
Normalized Values: Ensures the oscillator values are normalized to align with the stock price range, making it applicable to various assets.
Easy Integration: Can be easily added to any TradingView chart for enhanced analysis.
How It Works
The KNN Oscillator leverages the K-Nearest Neighbors algorithm to calculate the average distance of the nearest neighbors over a specified period. These values are then normalized to match the stock price range, ensuring they are comparable across different assets. The oscillator value is derived by taking the difference between the normalized KNN values and the source price. The line's color changes dynamically to provide an immediate visual indication of the market's state:
Green: Positive values indicate upward momentum.
Red: Negative values indicate downward momentum.
Grey: Neutral values indicate a stable or consolidating market.
Usage Instructions
Trend Reversal Detection: Use the color changes to identify potential trend reversals. A shift from red to green suggests a bullish reversal, while a shift from green to red indicates a bearish reversal.
Momentum Analysis: The oscillator's value and color help gauge market momentum. Strong positive values (green) indicate strong upward momentum, while strong negative values (red) indicate strong downward momentum.
Market Sentiment: The dynamic color changes provide an easy-to-understand visual representation of market sentiment, helping traders make informed decisions quickly.
Confirmation Tool: Use the KNN Oscillator in conjunction with other technical indicators to confirm signals and improve the accuracy of your trades.
Scalability: Applicable to various timeframes and asset classes, making it a versatile tool for all types of traders.
Uptrick: Trend Confirmation IndicatorIf you buy this indicator/strategy the code will be provided so in order to access it you will need to go to Tradingview and at the bottom click 'Pine Editor'. Then click 'Open' and then click on 'New strategy'. Here you can then paste the code and save it. Make sure to first delete all the code that there is before pasting it inside.
Description:
The "Uptrick: Trend Confirmation Indicator" stands as an exceptional tool for traders seeking reliable confirmation of market trends. This indicator integrates multiple technical analysis components to provide clear signals for trend direction, aiding traders in making well-informed trading decisions with confidence.
EMA and MACD Analysis:
The indicator leverages the Exponential Moving Average (EMA) to capture the long-term trend direction of the market. The EMA is calculated over a customizable period, allowing traders to adapt the indicator to various timeframes and market conditions.
Additionally, the Moving Average Convergence Divergence (MACD) is employed to further confirm trend direction. By analyzing the difference between two moving averages and their smoothing, the MACD component helps identify potential shifts in market momentum.
Trend Confirmation Mechanism:
The indicator confirms a trend when the closing price is above the EMA, and the MACD line shows a positive change, indicating upward momentum. This combined signal enhances the reliability of trend confirmation, reducing false signals and noise in the market.
To filter out short-term fluctuations, the indicator requires trend confirmation over multiple bars, ensuring a more robust assessment of market direction.
Background Color and Visualization:
The background color dynamically adjusts based on the direction of the EMA, providing visual cues for trend directionality. A green background signifies an upward trend, while a red background indicates a downward trend.
This visual representation enhances the clarity of trend identification, allowing traders to quickly assess market conditions at a glance.
Signal Generation and Execution:
The indicator generates long signals when the EMA crosses above its previous value, indicating a potential bullish reversal. Conversely, short signals are generated when the EMA crosses below its previous value, signaling a potential bearish reversal.
These signals are executed through automated buy and sell orders, streamlining the trading process and minimizing human error.
Utility and Potential Usage:
The "Uptrick: Trend Confirmation Indicator" is an indispensable tool for traders across various experience levels, offering clear and reliable signals for trend confirmation.
Short-term traders can benefit from its ability to filter out noise and provide accurate trend signals, enhancing their intraday trading strategies.
Long-term investors can leverage its robust trend confirmation mechanism to identify favorable entry and exit points, optimizing their portfolio management and risk mitigation strategies.
In conclusion, the "Uptrick: Trend Confirmation Indicator" stands out as an excellent trading tool, empowering traders with the confidence to navigate the markets effectively and capitalize on profitable opportunities with precision and clarity.
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.
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