Normal Price Indicator by KirillPOHEnglish:
Normal Price Indicator is a technical indicator designed to analyze market prices and find normal price levels, as well as the upper and lower boundaries of the normal price area for a given period of time. The indicator is designed for traders and analysts who want to track price movements and identify potential levels for buying or selling based on statistical calculations.
This indicator calculates three main lines:
- The Normal price (Median Price) — the line showing the median of prices for the selected period.
- Upper Bound — a line located at a certain distance from the normal price, based on the standard deviation.
- Lower Bound — a line also located based on the standard deviation from the normal price.
In addition, the indicator can highlight areas on the chart when the price goes beyond these boundaries, which can be a signal to traders about possible important levels.
Main Features:
- Normal price: It is calculated as the median of prices for a given period of time, which helps to track the typical price value on the chart.
- Upper and lower bounds: These limits are calculated as the average price ± (multiplier * standard deviation), which allows you to take into account market fluctuations and set a price range in which the price is considered "normal".
- Adaptation to the scale of the graph: The lines of the indicator adjust correctly to changes in the scale of the chart, while maintaining a link to price levels. They are always displayed in the current position, no matter how much you increase or decrease the graph.
- Zone allocation: The indicator also allows you to highlight areas on the chart where the price is above the upper limit or below the lower limit, which may signal unusual market conditions.
How to use the indicator:
1. The normal price (Median Price): This is the main line of the indicator, which shows the central price level on the chart for the selected period. It helps traders keep track of the standard market level and determine if the current price is within that range.
2. Upper and lower borders: These lines are used to identify potential deviations from the normal price zone. If the closing price turns out to be above the upper limit or below the lower one, this may indicate strong market movements or potential reversals. For example:
- The price above the upper limit may signal a strong bullish trend.
- The price below the lower limit may indicate a bearish trend or a strong correction.
3. Areas on the graph: The indicator highlights the background when the price is above the upper limit (the area is colored green) or below the lower limit (the area is colored red). These visual cues can help traders quickly identify deviations.
Settings :
- Period: The period for calculating the median, standard deviation, and upper/lower bounds. It is usually set to 14, but can be changed depending on the user's needs.
is the multiplier for the standard deviation: This parameter allows you to adjust how much the upper and lower limits will deviate from the normal price. The standard value is 2, which corresponds to two standard deviations, but can be adjusted to suit your needs.
Application:
Traders can use the indicator to analyze market levels and make decisions about entering or exiting the market. Analysts can use the indicator to identify normal price ranges and deviations, which allows them to more accurately predict market trends and potential pivot points.
This indicator is not a signal for trading, but rather a tool for analyzing the market and price levels. It should be used in combination with other indicators and analysis methods for more accurate trading decisions.
Russia:
Normal Price Indicator — это технический индикатор, предназначенный для анализа рыночных цен и нахождения нормальных ценовых уровней, а также верхних и нижних границ нормальной ценовой области за заданный период времени. Индикатор предназначен для трейдеров и аналитиков, которые хотят отслеживать ценовые движения и выявлять потенциальные уровни для покупки или продажи, основываясь на статистических расчетах.
Этот индикатор рассчитывает три основные линии:
- Нормальная цена (Median Price) — линия, отображающая медиану цен за выбранный период.
- Верхняя граница (Upper Bound) — линия, находящаяся на определённом расстоянии от нормальной цены, основанная на стандартном отклонении.
- Нижняя граница (Lower Bound) — линия, также расположенная на основе стандартного отклонения от нормальной цены.
Кроме того, индикатор может выделять области на графике, когда цена выходит за пределы этих границ, что может быть сигналом для трейдеров о возможных важных уровнях.
Основные особенности:
- Нормальная цена: Вычисляется как медиана цен за заданный период времени, что помогает отследить типичное значение цены на графике.
- Верхняя и нижняя границы: Эти границы рассчитываются как средняя цена ± (множитель * стандартное отклонение), что позволяет учитывать рыночные колебания и задавать диапазон цен, в котором цена считается "нормальной".
- Адаптация под масштаб графика: Линии индикатора корректно подстраиваются под изменения масштаба графика, сохраняя привязку к уровням цен. Они всегда отображаются в актуальном положении, независимо от того, насколько вы увеличиваете или уменьшаете график.
- Выделение зон: Индикатор также позволяет выделять области на графике, где цена находится выше верхней границы или ниже нижней границы, что может сигнализировать о необычных рыночных условиях.
Как использовать индикатор:
1. Нормальная цена (Median Price): Это основная линия индикатора, которая показывает центральный уровень цен на графике за выбранный период. Она помогает трейдерам отслеживать стандартный рыночный уровень и определять, находится ли текущая цена в пределах этого диапазона.
2. Верхняя и нижняя границы: Эти линии используются для выявления потенциальных отклонений от нормальной ценовой зоны. Если цена закрытия оказывается выше верхней границы или ниже нижней, это может свидетельствовать о сильных движениях на рынке или потенциальных разворотах. Например:
- Цена выше верхней границы может сигнализировать о сильном бычьем тренде.
- Цена ниже нижней границы может указывать на медвежий тренд или сильную коррекцию.
3. Области на графике: Индикатор выделяет фон, когда цена находится выше верхней границы (область окрашивается в зелёный) или ниже нижней границы (область окрашивается в красный). Эти визуальные подсказки могут помочь трейдерам быстро выявить отклонения.
Параметры настройки :
- Период: Период для расчета медианы, стандартного отклонения и верхних/нижних границ. Обычно устанавливается на 14, но может быть изменён в зависимости от потребностей пользователя.
- Множитель для стандартного отклонения: Этот параметр позволяет настроить, насколько сильно будут отступать верхняя и нижняя границы от нормальной цены. Стандартное значение — 2, что соответствует двум стандартным отклонениям, но можно настроить под свои нужды.
Применение:
Трейдеры могут использовать индикатор для анализа рыночных уровней и принятия решений о входе или выходе на рынок. Аналитики могут использовать индикатор для выявления нормальных диапазонов цен и отклонений, что позволяет более точно прогнозировать рыночные тренды и потенциальные точки разворота.
Этот индикатор не является сигналом для торговли, а скорее инструментом для анализа рынка и ценовых уровней. Его стоит использовать в комплексе с другими индикаторами и методами анализа для более точных торговых решений.
Markettrends
Fisher Transform on RSIOverview
The Fisher Transform on RSI indicator combines the Relative Strength Index (RSI) with the Fisher Transform to offer a refined tool for identifying market turning points and trends. By applying the Fisher Transform to the RSI, this indicator converts RSI values into a Gaussian normal distribution, enhancing the precision of detecting overbought and oversold conditions. This method provides a clearer and more accurate identification of potential market reversals than the standard RSI.
Key/Unique Features
Fisher Transform Applied to RSI : Transforms RSI values into a Gaussian normal distribution, improving the detection of overbought and oversold conditions.
Smoothing : Applies additional smoothing to the Fisher Transform, reducing noise and providing clearer signals.
Signal Line : Includes a signal line to identify crossover points, indicating potential buy or sell signals.
Custom Alerts : Built-in alert conditions for bullish and bearish crossovers, keeping traders informed of significant market movements.
Visual Enhancements : Background color changes based on crossover conditions, offering immediate visual cues for potential trading opportunities.
How It Works
RSI Calculation : The indicator calculates the Relative Strength Index (RSI) based on the selected source and period length.
Normalization : The RSI values are normalized to fit within a range of -1 to 1, which is essential for the Fisher Transform.
Fisher Transform : The normalized RSI values undergo the Fisher Transform, converting them into a Gaussian normal distribution.
Smoothing : The transformed values are smoothed using a simple moving average to reduce noise and provide more reliable signals.
Signal Line : A signal line, which is a simple moving average of the smoothed Fisher Transform, is plotted to identify crossover points.
Alerts and Visuals : Custom alert conditions are set for bullish and bearish crossovers, and the background color changes to indicate these conditions.
Usage Instructions
Trend Identification : Use the Fisher Transform on RSI to identify overbought and oversold conditions with enhanced precision, aiding in spotting potential trend reversals.
Trade Signals : Monitor the crossovers between the smoothed Fisher Transform and the signal line. A bullish crossover suggests a potential buying opportunity, while a bearish crossover indicates a potential selling opportunity.
Alerts : Set custom alerts based on the built-in conditions to receive notifications when important crossover events occur, ensuring you never miss a trading opportunity.
Visual Cues : Utilize the background color changes to quickly identify bullish (green) and bearish (red) conditions, providing immediate visual feedback on market sentiment.
Complementary Analysis : Combine this indicator with other technical analysis tools and indicators to enhance your overall trading strategy and make more informed decisions.
Markov Chain Trend IndicatorOverview
The Markov Chain Trend Indicator utilizes the principles of Markov Chain processes to analyze stock price movements and predict future trends. By calculating the probabilities of transitioning between different market states (Uptrend, Downtrend, and Sideways), this indicator provides traders with valuable insights into market dynamics.
Key Features
State Identification: Differentiates between Uptrend, Downtrend, and Sideways states based on price movements.
Transition Probability Calculation: Calculates the probability of transitioning from one state to another using historical data.
Real-time Dashboard: Displays the probabilities of each state on the chart, helping traders make informed decisions.
Background Color Coding: Visually represents the current market state with background colors for easy interpretation.
Concepts Underlying the Calculations
Markov Chains: A stochastic process where the probability of moving to the next state depends only on the current state, not on the sequence of events that preceded it.
Logarithmic Returns: Used to normalize price changes and identify states based on significant movements.
Transition Matrices: Utilized to store and calculate the probabilities of moving from one state to another.
How It Works
The indicator first calculates the logarithmic returns of the stock price to identify significant movements. Based on these returns, it determines the current state (Uptrend, Downtrend, or Sideways). It then updates the transition matrices to keep track of how often the price moves from one state to another. Using these matrices, the indicator calculates the probabilities of transitioning to each state and displays this information on the chart.
How Traders Can Use It
Traders can use the Markov Chain Trend Indicator to:
Identify Market Trends: Quickly determine if the market is in an uptrend, downtrend, or sideways state.
Predict Future Movements: Use the transition probabilities to forecast potential market movements and make informed trading decisions.
Enhance Trading Strategies: Combine with other technical indicators to refine entry and exit points based on predicted trends.
Example Usage Instructions
Add the Markov Chain Trend Indicator to your TradingView chart.
Observe the background color to quickly identify the current market state:
Green for Uptrend, Red for Downtrend, Gray for Sideways
Check the dashboard label to see the probabilities of transitioning to each state.
Use these probabilities to anticipate market movements and adjust your trading strategy accordingly.
Combine the indicator with other technical analysis tools for more robust decision-making.
Persistent Homology Based Trend Strength OscillatorPersistent Homology Based Trend Strength Oscillator
The Persistent Homology Based Trend Strength Oscillator is a unique and powerful tool designed to measure the persistence of market trends over a specified rolling window. By applying the principles of persistent homology, this indicator provides traders with valuable insights into the strength and stability of uptrends and downtrends, helping to inform better trading decisions.
What Makes This Indicator Original?
This indicator's originality lies in its application of persistent homology , a method from topological data analysis, to financial markets. Persistent homology examines the shape and features of data across multiple scales, identifying patterns that persist as the scale changes. By adapting this concept, the oscillator tracks the persistence of uptrends and downtrends in price data, offering a novel approach to trend analysis.
Concepts Underlying the Calculations:
Persistent Homology: This method identifies features such as clusters, holes, and voids that persist as the scale changes. In the context of this indicator, it tracks the duration and stability of price trends.
Rolling Window Analysis: The oscillator uses a specified window size to calculate the average length of uptrends and downtrends, providing a dynamic view of trend persistence over time.
Threshold-Based Trend Identification: It differentiates between uptrends and downtrends based on specified thresholds for price changes, ensuring precision in trend detection.
How It Works:
The oscillator monitors consecutive changes in closing prices to identify uptrends and downtrends.
An uptrend is detected when the closing price increase exceeds a specified positive threshold.
A downtrend is detected when the closing price decrease exceeds a specified negative threshold.
The lengths of these trends are recorded and averaged over the chosen window size.
The Trend Persistence Index is calculated as the difference between the average uptrend length and the average downtrend length, providing a measure of trend persistence.
How Traders Can Use It:
Identify Trend Strength: The Trend Persistence Index offers a clear measure of the strength and stability of uptrends and downtrends. A higher value indicates stronger and more persistent uptrends, while a lower value suggests stronger and more persistent downtrends.
Spot Trend Reversals: Significant shifts in the Trend Persistence Index can signal potential trend reversals. For instance, a transition from positive to negative values might indicate a shift from an uptrend to a downtrend.
Confirm Trends: Use the Trend Persistence Index alongside other technical indicators to confirm the strength and duration of trends, enhancing the accuracy of your trading signals.
Manage Risk: Understanding trend persistence can help traders manage risk by identifying periods of high trend stability versus periods of potential volatility. This can be crucial for timing entries and exits.
Example Usage:
Default Settings: Start with the default settings to get a feel for the oscillator’s behavior. Observe how the Trend Persistence Index reacts to different market conditions.
Adjust Thresholds: Fine-tune the positive and negative thresholds based on the asset's volatility to improve trend detection accuracy.
Combine with Other Indicators: Use the Persistent Homology Based Trend Strength Oscillator in conjunction with other technical indicators such as moving averages, RSI, or MACD for a comprehensive analysis.
Backtesting: Conduct backtesting to see how the oscillator would have performed in past market conditions, helping you to refine your trading strategy.
BBTrend w SuperTrend decision - Strategy [presentTrading]This strategy aims to improve upon the performance of Traidngview's newly published "BB Trend" indicator by incorporating the SuperTrend for better trade execution and risk management. Enjoy :)
█Introduction and How it is Different
The "BBTrend w SuperTrend decision - Strategy " is a trading strategy designed to identify market trends using Bollinger Bands and SuperTrend indicators. What sets this strategy apart is its use of two Bollinger Bands with different lengths to capture both short-term and long-term market trends, providing a more comprehensive view of market dynamics. Additionally, the strategy includes customizable take profit (TP) and stop loss (SL) settings, allowing traders to tailor their risk management according to their preferences.
BTCUSD 4h Long Performance
█ Strategy, How It Works: Detailed Explanation
The BBTrend strategy employs two key indicators: Bollinger Bands and SuperTrend.
🔶 Bollinger Bands Calculation:
- Short Bollinger Bands**: Calculated using a shorter period (default 20).
- Long Bollinger Bands**: Calculated using a longer period (default 50).
- Bollinger Bands use the standard deviation of price data to create upper and lower bands around a moving average.
Upper Band = Middle Band + (k * Standard Deviation)
Lower Band = Middle Band - (k * Standard Deviation)
🔶 BBTrend Indicator:
- The BBTrend indicator is derived from the absolute differences between the short and long Bollinger Bands' lower and upper values.
BBTrend = (|Short Lower - Long Lower| - |Short Upper - Long Upper|) / Short Middle * 100
🔶 SuperTrend Indicator:
- The SuperTrend indicator is calculated using the average true range (ATR) and a multiplier. It helps identify the market trend direction by plotting levels above and below the price, which act as dynamic support and resistance levels. * @EliCobra makes the SuperTrend Toolkit. He is GOAT.
SuperTrend Upper = HL2 + (Factor * ATR)
SuperTrend Lower = HL2 - (Factor * ATR)
The strategy determines market trends by checking if the close price is above or below the SuperTrend values:
- Uptrend: Close price is above the SuperTrend lower band.
- Downtrend: Close price is below the SuperTrend upper band.
Short: 10 Long: 20 std 2
Short: 20 Long: 40 std 2
Short: 20 Long: 40 std 4
█ Trade Direction
The strategy allows traders to choose their trading direction:
- Long: Enter long positions only.
- Short: Enter short positions only.
- Both: Enter both long and short positions based on market conditions.
█ Usage
To use the "BBTrend - Strategy " effectively:
1. Configure Inputs: Adjust the Bollinger Bands lengths, standard deviation multiplier, and SuperTrend settings.
2. Set TPSL Conditions: Choose the take profit and stop loss percentages to manage risk.
3. Choose Trade Direction: Decide whether to trade long, short, or both directions.
4. Apply Strategy: Apply the strategy to your chart and monitor the signals for potential trades.
█ Default Settings
The default settings are designed to provide a balance between sensitivity and stability:
- Short BB Length (20): Captures short-term market trends.
- Long BB Length (50): Captures long-term market trends.
- StdDev (2.0): Determines the width of the Bollinger Bands.
- SuperTrend Length (10): Period for calculating the ATR.
- SuperTrend Factor (12): Multiplier for the ATR to adjust the SuperTrend sensitivity.
- Take Profit (30%): Sets the level at which profits are taken.
- Stop Loss (20%): Sets the level at which losses are cut to manage risk.
Effect on Performance
- Short BB Length: A shorter length makes the strategy more responsive to recent price changes but can generate more false signals.
- Long BB Length: A longer length provides smoother trend signals but may be slower to react to price changes.
- StdDev: Higher values create wider bands, reducing the frequency of signals but increasing their reliability.
- SuperTrend Length and Factor: Shorter lengths and higher factors make the SuperTrend more sensitive, providing quicker signals but potentially more noise.
- Take Profit and Stop Loss: Adjusting these levels affects the risk-reward ratio. Higher take profit percentages can increase gains but may result in fewer closed trades, while higher stop loss percentages can decrease the likelihood of being stopped out but increase potential losses.
Advanced Fractal and Hurst IndicatorAdvanced Fractal and Hurst Indicator (AFHI)
Description:
The Advanced Fractal and Hurst Indicator (AFHI) is a custom technical analysis tool designed to identify market trends and potential reversals by leveraging the concepts of Fractal Dimension and the Hurst Exponent . These advanced mathematical concepts provide insights into the complexity and persistence of price movements, making this indicator a powerful addition to any trader's toolkit.
How It Works:
Fractal Dimension (FD) :
The Fractal Dimension measures the complexity of price movements. A higher Fractal Dimension indicates a more complex, choppy market, while a lower value suggests smoother trends.
The FD is calculated using the log difference of price movements over a specified length.
Hurst Exponent (HE) :
The Hurst Exponent indicates the tendency of a time series to either regress to the mean or cluster in a direction. Values below 0.5 indicate a tendency to revert to the mean (mean-reverting), while values above 0.5 suggest a trending market.
The HE is calculated using the rescaled range method, comparing the range of price movements to the standard deviation.
Composite Indicator :
The Composite Indicator combines the smoothed Fractal Dimension and Hurst Exponent to provide a single value indicating market conditions. This is done by normalizing the FD and HE values and combining them into one metric.
A positive Composite Indicator suggests an uptrend, while a negative value indicates a downtrend.
Smoothing :
Both FD and HE values are smoothed using a simple moving average to reduce noise and provide clearer signals.
Trend Confirmation :
A 50-period moving average (MA) is used to confirm the trend direction. The price being above the MA indicates an uptrend, while below the MA indicates a downtrend.
Background Shading :
The indicator pane is shaded green during uptrend conditions (positive Composite Indicator and price above MA) and red during downtrend conditions (negative Composite Indicator and price below MA).
How Traders Can Use It:
Identifying Trends :
Traders can use the AFHI to identify current market trends. The background shading in the indicator pane provides a visual cue for trend direction, with green indicating an uptrend and red indicating a downtrend.
Trend Confirmation :
The Composite Indicator line, plotted in purple, helps confirm the trend. Positive values suggest a strong uptrend, while negative values indicate a strong downtrend.
Entry and Exit Signals :
Traders can use the transitions of the Composite Indicator and the background shading to time their entry and exit points. For instance, a shift from red to green shading suggests a potential buy opportunity, while a shift from green to red suggests a potential sell opportunity.
Alerts :
The script includes alert conditions that can notify traders when the Composite Indicator signals a new trend direction. Alerts can be set up for both uptrends and downtrends, helping traders stay informed of key market changes.
Strategy Development :
By integrating AFHI into their trading strategies, traders can develop more robust systems that account for market complexity and persistence. The indicator can be used alongside other technical tools to enhance decision-making and improve trade accuracy.
Institutional Strength & Flow (Expo)█ Overview
The Institutional Strength & Flow (Expo) Indicator is a tool that's designed to help traders identify institutional activity in the market. Institutional investors, such as hedge funds and investment banks, have a major impact on the market. By tracking their activity, traders can gain insights into the direction of the market and make more informed trading decisions.
█ How is Institutional Strength & Flow calculated?
Institutional strength and flow refer to the large trades made by institutional investors, such as pension funds, hedge funds, and mutual funds. These investors manage large amounts of money and can make significant trades that move the market. As a result, it is essential to understand and interpret the impact of these trades on the price of an asset.
To calculate institutional strength and flow, you would need access to information on the amount of money institutional investors have to invest in the market and the volume of their trades. Unfortunately, this information is not readily available to retail traders.
There are, however, some proxies for institutional strength and flow that can be used to approximate these values by looking at other factors correlated with institutional activity. Three factors are:
The average trading volume over a given period.
The strength of the price changes.
The given volatility.
This indicator uses these approximate values to calculate the institutional strength and flow.
█ How to use
Market trends
One of the key benefits of the indicator is that it can help traders identify market trends. By tracking institutional activity, we can get a sense of which way the market is headed.
Market sentiment
Institutional strength and flow can also provide insight into market sentiment. Positive institutional flow indicates that institutional investors are buying a particular market or security. This could be a sign of bullish sentiment and may indicate that prices are likely to rise. Negative institutional flow indicates that institutional investors are selling a particular market or security. This could be a sign of bearish sentiment and may indicate that prices are likely to fall.
Divergences
Another way to use the indicator is to look for divergences between the indicator and the price of a particular stock or market. For example, if the price of a stock is trending upwards, but the indicator is trending downwards, this could be an indication that the market is weakening and a good time to sell. Conversely, if the price of a stock is trending downwards, but the indicator is trending upwards, this could be a sign that the market is strengthening and a good time to buy.
Overbought and Oversold
Use the divergences to look for overbought or oversold conditions. If the indicator is above its scaling factor of 1, this could indicate that the market is overbought and due for a correction. Conversely, if the indicator is below 0, this could indicate that the market is oversold and due for a rebound.
█ Indicator Features
The main features are:
Institutional Strength
Institutional Flow
Additional features:
Volatility Bands
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!