[KG] FCPO Spread*** Released Version 79 ***
------ INTRODUCTION ------
Spread trading where a trader buys one futures contract and sells another contract simultaneously.
Spread trading is popular because it is less risky when compared to outright futures trading. And since it is less risky, spread trading tends to have lower margin requirements.
------ DESCRIPTION ------
This indicator, FCPO Spread, is calculating the spread value of 2 FUTURE CONTRACTS and construct new candles based on Open, Close, High and Low of 2 contracts.
Moving Average were drawn based on spread value.
There's Spread Information at BOTTOM right of the chart which contain the following info.
Spread Contract Timeframe
Future Contracts Symbols for Spread calculation
Close = Spread/Difference of the 2 contracts.
Long Risk = Differences of Current level to SUPPORT
Short Risk = Differences of Current level to RESISTANT
------ ICONS ------
🚀 triggered when Bullish MA lineup, i.e Fast MA is above Slow MA (Default MA period 5,9,13,20).
L ONG is TURTLE Buy signal when spread closes above Turtle Resistant.
💥triggers when Bearish MA lineup i.e Fast MA is below Slow MA (Default MA period 20,13,9,5)..
S HORT is TURTLE Sell signal when spread closes below Turtle Support
Note : Closing price varies depend on chooses timeframe
------ USAGE ------
LONG when L signal appear.
L signal will appear when the spread breaks and closing above Turtle Resistant .
Turtle Resistant is calculated based on previous N candles high where N value (Default 5) is configurable in the setting.
It is better to LONG during uptrend i.e Bullish MA Lineup (represented by 🚀 icon)
SHORT when S signal appear.
S signal will appear when the spread breaks and closing below Turtle Support .
Turtle Support is calculated based on previous N candles low where N value (Default 5) is configurable in the setting.
It is better to SHORT during downtrend i.e BEARISH MA Lineup (represented by 💥 icon)
移动平均线
Chop Zone 2X [EPS]This indicator, like the one shared previously Chop Zone
The Chop Zone script transforms traditional market trend analysis by leveraging the power of Exponential Moving Averages (EMAs) and their angles. Designed to identify market trends with a higher degree of accuracy, this script offers traders an innovative approach to detect uptrends, downtrends, and neutral market phases.
🔶 USAGE
Snapshot:
The indicator's core functionality revolves around the calculation of the EMA angle, providing a visual representation of market trends through color-coded columns:
Green Columns: Indicate an uptrend, suggesting bullish market conditions.
Red Columns: Signal a downtrend, highlighting bearish market conditions.
Transparent Columns: Represent neutral market conditions, indicating no significant trend.
The angle of the EMA is calculated over a user-defined period, adapting to different trading strategies and timeframes for a customized analysis.
🔶 DETAILS
At the heart of the Chop Zone is its unique angle calculation method. By assessing the slope of the EMA, the script quantifies the strength and direction of the market trend. This calculation is further refined by considering the highest highs and lowest lows over a specified period, making the indicator adaptable to varying market volatilities.
EMA Angle Limits:
Uptrend Threshold: User-defined angle for identifying uptrends.
Downtrend Threshold: User-defined angle for recognizing downtrends.
The script also allows for extensive customization, including the selection of the source data for EMA calculations and the length of the EMA, thereby catering to diverse trading preferences.
🔶 SETTINGS
Source: Choose between close, open, high, low, etc., for the EMA calculation.
EMA Length: Define the length of the EMA for trend analysis.
EMA Angle Thresholds: Set the upper and lower angle limits to categorize market trends.
Color Settings: Customize the colors for uptrend, downtrend, and neutral trends for easy visualization.
🔹 Note
The Chop Zone indicator is not just a tool for trend identification; it's a comprehensive system for understanding market dynamics. The unique angle calculation offers a fresh perspective on EMA analysis, making it a valuable addition to any trader's toolkit. However, users should integrate this indicator into their broader trading strategy, considering other market factors and indicators for optimal decision-making.
Chop Zone [EPS]The Chop Zone script transforms traditional market trend analysis by leveraging the power of Exponential Moving Averages (EMAs) and their angles. Designed to identify market trends with a higher degree of accuracy, this script offers traders an innovative approach to detect uptrends, downtrends, and neutral market phases.
🔶 USAGE
The indicator's core functionality revolves around the calculation of the EMA angle, providing a visual representation of market trends through color-coded columns:
Green Columns: Indicate an uptrend, suggesting bullish market conditions.
Red Columns: Signal a downtrend, highlighting bearish market conditions.
Transparent Columns: Represent neutral market conditions, indicating no significant trend.
The angle of the EMA is calculated over a user-defined period, adapting to different trading strategies and timeframes for a customized analysis.
🔶 DETAILS
At the heart of the Chop Zone is its unique angle calculation method. By assessing the slope of the EMA, the script quantifies the strength and direction of the market trend. This calculation is further refined by considering the highest highs and lowest lows over a specified period, making the indicator adaptable to varying market volatilities.
EMA Angle Limits:
Uptrend Threshold: User-defined angle for identifying uptrends.
Downtrend Threshold: User-defined angle for recognizing downtrends.
The script also allows for extensive customization, including the selection of the source data for EMA calculations and the length of the EMA, thereby catering to diverse trading preferences.
🔶 SETTINGS
Source: Choose between close, open, high, low, etc., for the EMA calculation.
EMA Length: Define the length of the EMA for trend analysis.
EMA Angle Thresholds: Set the upper and lower angle limits to categorize market trends.
Color Settings: Customize the colors for uptrend, downtrend, and neutral trends for easy visualization.
🔹 Note
The Chop Zone indicator is not just a tool for trend identification; it's a comprehensive system for understanding market dynamics. The unique angle calculation offers a fresh perspective on EMA analysis, making it a valuable addition to any trader's toolkit. However, users should integrate this indicator into their broader trading strategy, considering other market factors and indicators for optimal decision-making.
Urika Trend StrengthThe Urika Directional Strength (UDS) indicator calculates and visualizes the strength of the directional trend in the price data. It helps traders see the strength and direction of the trend and allows them to make informed trading decisions based on trend changes.
Calculation:
The Simple Moving Average is used to determine the upper and lower directional bands by adding and subtracting the product of the standard deviation of the price data and the multiplier of the moving average.
Direction: The upward directional trend and downward directional trend are calculated by taking the absolute value of the difference between the price data and the upper and lower directional bands, divided by the product of the standard deviation and the multiplier.
Strength: It is calculated by taking the absolute value of the difference between the price data and the moving average, divided by the product of the standard deviation and the multiplier.
Interpretation:
Direction: The position of the long and short lines at the top indicates the direction of the ticker. Long line for long position and Short line for short position.
Strength: When the Strength line is below the directional lines, it is a weak trend or consolidating. If it stays in between the two directional lines, it is a strong trend.
Divergence Signal [TradingFinder] RSI & MACD Reversal On Swing🔵 Introduction
Sometimes in analyzing price charts using indicators, you may observe a discrepancy. For instance, while the price of stocks, currencies, or commodities is increasing, the indicator shows a decrease. Such a phenomenon in technical analysis is termed "divergence." Divergences are categorized into three types based on their formation and the prediction they make about the continuation of the price trend: "Regular Divergence," "Hidden Divergence," and "Time Divergence."
🟣 Important :
• This indicator exclusively identifies regular divergences since its primary function is to detect reversal points.
• This indicator identifies divergences using three indicators: "Moving Average Convergence Divergence" (MACD), "Relative Strength Index" (RSI), and "Awesome Oscillator" (AO). The user can choose each of these indicators in the settings using the "Divergence Detection Method" dropdown menu for identifying divergences. These settings are by default set to the MACD mode.
🔵Types of Divergence
Divergences, as mentioned, offer different predictions about the continuation of price trends. Hence, they have various types. We will focus on explaining regular divergences based on this indicator.
🟣 Regular Divergence(RD) :
Regular divergence is a situation arising from contradictory behavior between the indicator and the price chart at the end of a trend. By identifying regular divergences, we anticipate a change in trend direction resembling a reversal pattern.
Regular divergence has two types based on the trend and prediction:
Negative Regular Divergence (RD-) :
This type occurs between two price peaks at the end of an uptrend. Despite forming a new high, the indicator fails to recognize it, indicating a negative regular divergence. The likelihood of a subsequent downtrend is high. Negative divergence suggests strong selling pressure and weak buying power, portraying an unfavorable future for the stock.
Positive Regular Divergence (RD+) :
In contrast, positive regular divergence happens at the end of a downtrend and between two price troughs. As depicted in the chart, although the price forms a new low, the indicator doesn't acknowledge it. Positive regular divergence indicates robust buying pressure and weak selling power. Upon identifying positive divergence in the chart, we expect a price increase for the stock under review
🔵 How to Use
Information from the indicator is displayed in two ways: Table and Label.
🟣 Table : The table displays information about the latest divergence. This includes the type of divergence, existence or absence of divergence, consecutive divergences, divergence quality, and change in indicator phase.
Type Divergence : Indicates the type of divergence, which can be either "Bullish Divergence" or "Bearish Divergence."
Exist : Indicates the presence of divergence with a "+" sign and absence with a "-" sign. A green color is used for bullish divergence and red for bearish divergence.
Consecutive : Shows the number of consecutive divergences. For example, if there are 3 consecutive divergences, the number 3 is displayed.
Divergence Quality : Displays the quality of the divergence based on the number of consecutive divergences. If there is 1 divergence, the quality is "Normal"; for 2 divergences, it's "Good"; and for 3 or more divergences, it's "Strong."
Change Phase Indicator : Indicates whether a phase change in the indicator has occurred with "+" for yes and "-" for no.
🟣 Label : Unlike the table, which only shows information about the latest divergence, labels display information about each divergence at the point where it occurs. The information includes the type of divergence, detection method, divergence quality, consecutive divergences, and change in phase indicator. The selected method of detection is also displayed. For example, if the chosen method is the "AO" indicator, the label will show "Method: AO."
🔵 Settings
Fractal Period : Determines the period of swings. The minimum and default value is 2.
Divergence Detect Method : Selects the indicator (MACD, RSI, or AO) used for detecting divergences. The default indicator is MACD.
Show Fractal : Chooses whether to display fractals or not. The default is "No."
Show Table : Determines whether to display the table or not. The default is "Yes."
Show Label : Chooses whether to display labels or not. The default is "Yes."
Label Size : Adjusts the size of the labels from "Tiny" to "Large."
MACD EMA/SMA Cross Alert
Title: MACD EMA/SMA Cross Alert
Description:
The "MACD EMA/SMA Cross Alert" is a comprehensive technical analysis tool designed for traders who seek to capitalize on trend reversals and momentum shifts in the market. This indicator combines the Moving Average Convergence Divergence (MACD) with Exponential Moving Averages (EMA) and a Simple Moving Average (SMA) to pinpoint significant trading opportunities.
Features:
- MACD Crossover Detection: Identifies when the MACD line crosses above or below the signal line, signaling potential buy or sell opportunities.
- EMA and SMA Configuration: Utilizes a 7-period EMA, 15-period EMA, and a 20-period SMA to assess the trend's strength and direction.
- Cross Alert Mechanism: Triggers an alert when the following conditions are met post a MACD line crossover:
- Both EMA7 and EMA15 are above the SMA20.
- A crossover occurs between EMA7 and EMA15 either in the form of a golden cross or a death cross.
Utility:
This indicator is especially useful for traders looking to enter or exit trades based on early signs of trend reversals or confirmations of ongoing trends. By integrating MACD crossovers with EMA and SMA positioning, it offers a robust framework for making informed trading decisions.
How to Use:
- Bullish Signal: A buy alert is generated when the MACD line crosses above the signal line followed by EMA7 and EMA15 crossing over each other while both are above SMA20.
- Bearish Signal: A sell alert is suggested when the MACD line crosses below the signal line followed by a negative crossover between EMA7 and EMA15 with both above SMA20.
Conclusion:
The "MACD EMA/SMA Cross Alert" indicator is a versatile tool for traders aiming to enhance their market analysis and improve their timing for entering and exiting trades. Its integration of MACD, EMA, and SMA provides a multi-layered approach to detecting key market movements, making it an essential addition to any trader's toolkit.
PhiSmoother Moving Average Ribbon [ChartPrime]DSP FILTRATION PRIMER:
DSP (Digital Signal Processing) filtration plays a critical role with financial indication analysis, involving the application of digital filters to extract actionable insights from data. Its primary trading purpose is to distinguish and isolate relevant signals separate from market noise, allowing traders to enhance focus on underlying trends and patterns. By smoothing out price data, DSP filters aid with trend detection, facilitating the formulation of more effective trading techniques.
Additionally, DSP filtration can play an impactful role with detecting support and resistance levels within financial movements. By filtering out noise and emphasizing significant price movements, identifying key levels for entry and exit points become more apparent. Furthermore, DSP methods are instrumental in measuring market volatility, enabling traders to assess volatility levels with improved accuracy.
In summary, DSP filtration techniques are versatile tools for traders and analysts, enhancing decision-making processes in financial markets. By mitigating noise and highlighting relevant signals, DSP filtration improves the overall quality of trading analysis, ultimately leading to better conclusions for market participants.
APPLYING FIR FILTERS:
FIR (Finite Impulse Response) filters are indispensable tools in the realm of financial analysis, particularly for trend identification and characterization within market data. These filters effectively smooth out price fluctuations and noise, enabling traders to discern underlying trends with greater fidelity. By applying FIR filters to price data, robust trading strategies can be developed with grounded trend-following principles, enhancing their ability to capitalize on market movements.
Moreover, FIR filter applications extend into wide-ranging utility within various fields, one being vital for informed decision-making in analysis. These filters help identify critical price levels where assets may tend to stall or reverse direction, providing traders with valuable insights to aid with identification of optimal entry and exit points within their indicator arsenal. FIRs are undoubtedly a cornerstone to modern trading innovation.
Additionally, FIR filters aid in volatility measurement and analysis, allowing traders to gauge market volatility accurately and adjust their risk management approaches accordingly. By incorporating FIR filters into their analytical arsenal, traders can improve the quality of their decision-making processes and achieve better trading outcomes when contending with highly dynamic market conditions.
INTRODUCTORY DEBUT:
ChartPrime's " PhiSmoother Moving Average Ribbon " indicator aims to mark a significant advancement in technical analysis methodology by removing unwanted fluctuations and disturbances while minimizing phase disturbance and lag. This indicator introduces PhiSmoother, a powerful FIR filter in it's own right comparable to Ehlers' SuperSmoother.
PhiSmoother leverages a custom tailored FIR filter to smooth out price fluctuations by mitigating aliasing noise problematic to identification of underlying trends with accuracy. With adjustable parameters such as phase control, traders can fine-tune the indicator to suit their specific analytical needs, providing a flexible and customizable solution.
Mathemagically, PhiSmoother incorporates various color coding preferences, enabling traders to visualize trends more effectively on a volatile landscape. Whether utilizing progression, chameleon, or binary color schemes, you can more fluidly interpret market dynamics and make informed visual decisions regarding entry and exit points based on color-coded plotting.
The indicator's alert system further enhances its utility by providing notifications of specifically chosen filter crossings. Traders can customize alert modes and messages while ensuring they stay informed about potential opportunities aligned with their trading style.
Overall, the "PhiSmoother Moving Average Ribbon" visually stands out as a revolutionary mechanism for technical analysis, offering traders a comprehensive solution for trend identification, visualization, and alerting within financial markets to achieve advantageous outcomes.
NOTEWORTHY SETTINGS FEATURES:
Price Source Selection - The indicator offers flexibility in choosing the price source for analysis. Traders can select from multiple options.
Phase Control Parameter - One of the notable standout features of this indicator is the phase control parameter. Traders can fine-tune the phase or lag of the indicator to adapt it to different market conditions or timeframes. This feature enables optimization of the indicator's responsiveness to price movements and align it with their specific trading tactics.
Coloring Preferences - Another magical setting is the coloring features, one being "Chameleon Color Magic". Traders can customize the color scheme of the indicator based on their visual preferences or to improve interpretation. The indicator offers options such as progression, chameleon, or binary color schemes, all having versatility to dynamically visualize market trends and patterns. Two colors may be specifically chosen to reduce overlay indicator interference while also contrasting for your visual acuity.
Alert Controls - The indicator provides diverse alert controls to manage alerts for specific market events, depending on their trading preferences.
Alertable Crossings: Receive an alert based on selectable predefined crossovers between moving average neighbors
Customizable Alert Messages: Traders can personalize alert messages with preferred information details
Alert Frequency Control: The frequency of alerts is adjustable for maximum control of timely notifications
Moving Average PropertiesThis indicator calculates and visualizes the Relative Smoothness (RS) and Relative Lag (RL) or call it accuracy of a selected moving average (MA) in comparison to the SMA of length 2 (the lowest possible length for a moving average and also the one closest to the price).
Median RS (Relative Smoothness):
Interpretation: The median RS represents the median value of the Relative Smoothness calculated for the selected moving average across a specified look-back period (max bar lookback is set at 3000).
Significance: A more negative (larger) median RS suggests that the chosen moving average has exhibited smoother price behavior compared to a simple moving average over the analyzed period. A less negative value indicates a relatively choppier price movement.
Median RL (Relative Lag):
Interpretation: The median RL represents the median value of the Relative Lag calculated for the selected moving average compared to a simple moving average of length 2.
Significance: A higher median RL indicates that the chosen moving average tends to lag more compared to a simple moving average. Conversely, lower values suggest less lag in the selected moving average.
Ratio of Median RS to Median RL:
Interpretation: This ratio is calculated by dividing the median RS by the median RL.
Significance: Traders might use this ratio to assess the balance between smoothness and lag in the chosen moving average. This a measure of for every % of lag what is the smoothness achieved. This can be used a benchmark to decide what length to choose for a MA to get an equivalent value between two stocks. For example a TESLA stock on a 15 minute time frame with a length of 12 has a value (ratio of RS/RL) of -150 , where as APPLE stock of length 35 on a 15 minute chart also has a value (ratio of RS/RL) of -150.
I imply that a MA of length 12 working on TESLA stock is equivalent to MA of length 35 on a APPLE stock. (THIS IS A EXAMPLE).
My assumption is that finding the right moving average length for a stock isn't a one-size-fits-all situation. It's not just about using a fixed length; it's about adapting to the unique characteristics of each stock. I believe that what works for one stock might not work for another because they have different levels of smoothness or lag in their price movements. So, instead of applying the same length to all stocks, I suggest adjusting the length of the moving average to match the values that we know work best for achieving the desired smoothness or lag or its ratio (RS/RL). This way, we're customizing the indicator for each stock, tailoring it to their individual behaviors rather than sticking to a one-size-fits-all approach.
Users can choose from various types of moving averages (EMA, SMA, WMA, VWMA, HMA) and customize the length of the moving average. RS measures the smoothness of the MA, while RL measures its lag compared to a simple moving average. The script plots the median RS and RL values, the selected MA, and the ratio of median RS to median RL on the price chart. Traders can use this information to assess the performance of different moving averages and potentially inform their trading decisions.
Bitcoin Pi Cycle Top Indicator - Daily Timeframe Only1 Day Timeframe Only
The Bitcoin Pi Cycle Top Indicator has garnered attention for its historical effectiveness in identifying the timing of Bitcoin's market cycle peaks with remarkable precision, typically within a margin of 3 days.
It utilizes a specific combination of moving averages—the 111-day moving average and a 2x multiple of the 350-day moving average—to signal potential tops in the Bitcoin market.
The 111-day moving average (MA): This shorter-term MA is chosen to reflect more recent price action and trends within the Bitcoin market.
The 350-day moving average (MA) multiplied by 2: This longer-term MA is adjusted to capture broader market trends and cycles over an extended period.
The key premise behind the Bitcoin Pi Cycle Top Indicator is that a potential market top for Bitcoin can be signaled when the 111-day MA crosses above the 350-day MA (which has been doubled). Historically, this crossover event has shown a remarkable correlation with the peaks of Bitcoin's price cycles, making it a tool of interest for traders and investors aiming to anticipate significant market shifts.
#Bitcoin
Leading T3Hello Fellas,
Here, I applied a special technique of John F. Ehlers to make lagging indicators leading. The T3 itself is usually not realling the classic lagging indicator, so it is not really needed, but I still publish this indicator to demonstrate this technique of Ehlers applied on a simple indicator.
The indicator does not repaint.
In the following picture you can see a comparison of normal T3 (purple) compared to a 2-bar "leading" T3 (gradient):
The range of the gradient is:
Bottom Value: the lowest slope of the last 100 bars -> green
Top Value: the highest slope of the last 100 bars -> purple
Ehlers Special Technique
John Ehlers did develop methods to make lagging indicators leading or predictive. One of these methods is the Predictive Moving Average, which he introduced in his book “Rocket Science for Traders”. The concept is to take a difference of a lagging line from the original function to produce a leading function.
The idea is to extend this concept to moving averages. If you take a 7-bar Weighted Moving Average (WMA) of prices, that average lags the prices by 2 bars. If you take a 7-bar WMA of the first average, this second average is delayed another 2 bars. If you take the difference between the two averages and add that difference to the first average, the result should be a smoothed line of the original price function with no lag.
T3
To compute the T3 moving average, it involves a triple smoothing process using exponential moving averages. Here's how it works:
Calculate the first exponential moving average (EMA1) of the price data over a specific period 'n.'
Calculate the second exponential moving average (EMA2) of EMA1 using the same period 'n.'
Calculate the third exponential moving average (EMA3) of EMA2 using the same period 'n.'
The formula for the T3 moving average is as follows:
T3 = 3 * (EMA1) - 3 * (EMA2) + (EMA3)
By applying this triple smoothing process, the T3 moving average is intended to offer reduced noise and improved responsiveness to price trends. It achieves this by incorporating multiple time frames of the exponential moving averages, resulting in a more accurate representation of the underlying price action.
Thanks for checking this out and give a boost, if you enjoyed the content.
Best regards,
simwai
---
Credits to @loxx
Normal Weighted Average PriceIntroducing the "Normal Weighted Average Price" (NWAP) by OmegaTools. This innovative script refines the traditional concept of VWAP by eliminating volume from the equation, offering a unique perspective on price movements and market trends.
The NWAP script is meticulously crafted to provide traders with a straightforward yet powerful tool for analyzing price action. By focusing solely on price data, the NWAP offers a clear, volume-independent view of the market's average price, augmented with bands that denote varying levels of price deviation.
Key Features:
NWAP Core: At the heart of this script is the Normal Weighted Average Price line, offering a pure, volume-excluded average price over your chosen timeframe.
Dynamic Bands: Includes upper and lower bands, plus extreme levels, calculated using the standard deviation from the NWAP. These bands help identify potential overbought and oversold conditions.
Customizable Timeframe: Whether you're a day trader or a long-term investor, the NWAP script allows you to set your preferred analysis period, ensuring relevance to your trading strategy.
Bands Width Adjustment: Tailor the width of the deviation bands with a simple multiplier to fit your risk tolerance and trading style.
Visual Zones: The script visually demarcates premium and discount zones between the bands, aiding in quick assessment of market conditions.
Usage Tips:
Ideal for traders seeking a volume-neutral method to gauge market sentiment and potential reversal points.
Use the NWAP and its bands to refine entry and exit points, especially in markets where volume data may be less reliable or skewed.
Combine with other technical indicators for a comprehensive trading strategy.
Price and Volume Stochastic Divergence [MW]Introduction
This indicator creates signals of interest for entering and exiting long and short positions on equities. It primarily uses up and down trends defined by the change in cumulative volume with some filtering provided by a short period exponential moving average (9 EMA by default).
Settings
Moving Average Period : The moving average over which the cumulative volume delta is calculated. Default: 14
Short Period EMA : The EMA used to represent price action, and is used to generate the EMA Delta line. Default: 27 (3*3*3)
Long Period EMA : The second EMA used to calculate the EMA Delta line. Default: 108 (2*2*3*3*3)
Stochastic K Value : The value used for stochastic curve smoothing. Default: 3
Dot Size : The diameter of the larger indicator. Default: 10
Dot Transparency : The transparency level of the outer ring of the primary BUY/SELL signal. Default: 50 (0 is opaque, 100 is transparent)
Band Distance from 0 to 100 : The upper and lower band distance. Default: 20
Calculations
The cumulative volume delta (CVD) is calculated using candle bodies and wicks. For a red candle, buying volume is calculated by multiplying the volume by the spread percentage of the average of the top and bottom wicks, while Selling Volume is calculated multiplying the volume by the spread percentage of the average of the top and bottom wicks - in addition to the spread percentage of the candle body.
For a green candle, buying volume is calculated by multiplying the volume by the spread percentage of the average of the top and bottom wicks - plus the spread percentage of the candle body - while Selling Volume is calculated using only the spread percentage average of the top and bottom wicks.
Once we have the CVD, we can then perform a stochastic calculation of the CVD value.
stochastic calculation = (current value - lowest value in period) / (highest value in period - lowest value in period)
We’ll do the same stochastic calculation for the short term EMA (27 EMA default) as well as for the difference between the short term and long term EMA.
When the stochastic CVD value is rising from zero and the short term EMA stochastic value equals 100, then it’s a major bullish signal. When the stochastic CVD value is falling from 100 and the short term EMA stochastic value equals 0, then it’s a major bearish signal.
Sometimes, after a bullish or bearish signal, the stochastic CVD will reverse direction triggering a new opposing signal.
How to Interpret
The CVD indicates when there is either more buying than selling or vice versa. A value over 50 for the stochastic CVD curve represents more buying taking place. A value below 50 represents more selling. One might intuitively believe that when there is more buying volume than selling volume that the price would follow suit. This is not always the case.
Most of the time buying volume will precede consistent price movement upwards, and selling volume will precede consistent price movement downwards. When this divergence occurs, the indicator generates a signal. When this divergence begins to fail, and buying or selling volume reverses, then another signal is generated indicating that the buying/selling impulse is headed back into the direction of price action.
These interactions are visually represented on the chart with the coral line that represents CVD, and the yellow line that represents the EMA, or the average price. When the coral line goes up and the yellow line stays down, that’s the BUY signal. When the coral line goes down and the yellow line stays up, that’s the sell signal. When the coral line switches direction, the chart generates another signal showing that volume is moving in a direction that supports the price.
The orange line represents the stochastic representation of the difference between the short EMA (27 by default) and the long EMA (108 by default). EMA differences is a method that can be used to define a trend. When a short term EMA is above a longer term EMA, that may represent a bullish trend. When it is below, that may represent a bearish trend. When all 3 lines are rising or falling in the same direction at the same time, it tends to indicate a movement that has the potential to continue.
Other Usage Notes and Limitations
It's important for traders to be aware of the limitations of any indicator and to use them as part of a broader, well-rounded trading strategy that includes risk management, fundamental analysis, and other tools that can help with reducing false signals, determining trend direction, and providing additional confirmation for a trade decision. Diversifying strategies and not relying solely on one type of indicator or analysis can help mitigate some of these risks.
This indicator can be paired with the MW Volume Impulse indicator if it is desired to see the actual buying and selling cumulative volume deltas. Also, in many cases, the BUY and SELL signals tend to correspond with Keltner Bands (ATR Bands) becoming extended. Lastly, volume weighted average price (VWAP) along with other macro events can impact price and negate signals. To view VWAP lines, you may choose to use the Multi VWAP or Multi VWAP for Gaps indicator to help ensure that the signals you see in this indicator are not being affected by VWAP lines.
Gabriels Trend Regularity Adaptive Moving Average Dragon This is an improved version of the trend following Williams Alligator, through the use of five Trend Regularity Adaptive Moving Averages (TRAMA) instead of three smoothed averages (SMMA). This indicator can double as a TRAMA Ribbon indicator by reducing the offset to zero. Whereas the active offset can double as a forecasting indicator for options and futures.
This indicator uses five TRAMAs, set at 8, 21, 55, 144, and 233 periods. They make up the Lips, Teeth, Jaws, Wings, and Tail of the Dragon. This indicator uses convergence-divergence relationships to build trading signals, with the Tail making the slowest turns and the Lips making the fastest turns. The Lips crossing downwards through the other lines signal a short opportunity, whereas Lips crossing upwards through other lines signal a buying opportunity. The downward cross can be referred to as the Dragon "Sleeping" , and the upward cross as the Dragon "Awakening" .
In particular, but not limited to, the Wings and Tail movements possess a Roar-like forecast effect on the market. Respectively, they can be referred to as the Dragon "Spreading its Wings" or "Swinging its Tail" .
The first three lines, stretching apart and constantly moving higher or lower, denote periods in which long or short equity positions should be managed and maintained. This can be referred to as the Dragon "Eating with a mouth wide open" . Whereas indicator lines converging into narrow bands and shifting into a horizontal position can denote a trending period coming to an end, signaling the need for profit-taking and position realignment. Conversely, a previous flat line moving can denote a new trending period starting.
This indicator can double as a Multiple TRAMAs indicator by reducing the offset to zero. As such, very interesting results can be observed when used in a moving average crossover system such as the Williams Alligator or as trailing support and resistance.
The following moving average adapts to the average of the highest high and lowest low made over a specific period, thus adapting to trend strength. The TRAMA can be used like most moving averages, with the advantage of being smoother during ranging markets because it is calculated through exponential averaging.
It is calculating, using a smoothing factor, the squared simple moving average of the number of highest highs or lowest lows previously made. Where the highest highs and lowest lows are calculated using rolling maximums and minimums. Therefore, squaring allows the moving average to penalize lower values, thus appearing stationary during ranging markets.
As with all moving averages, it is still a lagging indicator, and it can suffer whipsaws when the market moves too violently or when it consolidates in ranging conditions. Despite it working in all timeframes, it won't be as formidable in the 1–5-minute scalping timeframes due to that. I would suggest 5 to 45 minutes if you are a swing trader, or hourly, daily, and weekly if you are a long-term investor.
I hope you enjoy this indicator! It's the first indicator I made, so constructive criticism would be appreciated. Thanks!
PCTR - Pi Cycle Top Risk [Logue]Pi-cycle Top Risk (PCTR) - The PCTR indicator uses divergence of the Pi-cycle top indicator display the risk that a macro top in Bitcoin (BTC) is near. The Pi-cycle top indicator is simply the cross of the 111-day moving average above a 2x multiple of the 350-day moving average of the BTC price. While there is no fundamental reasoning behind why this works, it has worked to indicate previous bitcoin tops by taking advantage of the cyclicality of the BTC price and measurement overextension of BTC price. This indicator triggers a top signal when the fast moving average (111-day) crosses above the 2x multiple of the slow moving average (350-day).
What's interesting is the indicator can also signal a bottom when the divergence of the fast moving average is at an extreme versus the slow moving average. The indicator signals a bottom when the fast MA is 66% away from the slow MA value.
Both the top and bottom signals are clearly shown on the chart on a scale from 100 to 0.
VEMA_LTFVEMA indicator is based on lower time frame volume data and it has 3 lines.
20, 50, 100 moving averages of the close price in each candle with the highest volume.
Effectively working fine and hence sharing.
Will Add more information with examples in next update
Triple MA HTF Indicator - Dynamic SmoothingThe indicator version of the "Triple MA HTF Strategy - Dynamic Smoothing" strategy script. In summary the indicator consist of 3 higher time frame moving averages. In which the highest timeframe is used for confirmation on the trend (filter). Moving average 1 and 2 are used to enter and exit the trade (crossover / crossunder). The main principle is to detect momentum when the faster MA 1 crosses the slower MA 2 and only trade with the trend (MA3). The dynamic smoothing in the code makes the indicator suitable to trade on lower tramecharts. The indicator script comes with the following features:
options for different types of MA.
options to choose from different timeframes & select # bars of that timeframe to calculate the MA value.
visualizations of the MA using Dynamic Smoothing calculations on lower timecharts. Note that the chart opened should be lower than the selected timeframes in the configurations.
Alerts for entry long, shorts and exits.
For more details on the script and possibility for backtesting the Triple MA HTF indicator I refer to my earlier published strategy script:
Long EMA Strategy with Advanced Exit OptionsThis strategy is designed for traders seeking a trend-following system with a focus on precision and adaptability.
**Core Strategy Concept**
The essence of this strategy lies in use of Exponential Moving Averages (EMAs) to identify potential long (buy) positions based on the relative positions of short-term, medium-term, and long-term EMAs. The use of EMAs is a classic yet powerful approach to trend detection, as these indicators smooth out price data over time, emphasizing the direction of recent price movements and potentially signaling the beginning of new trends.
**Customizable Parameters**
- **EMA Periods**: Users can define the periods for three EMAs - long-term, medium-term, and short-term - allowing for a tailored approach to capture trends based on individual trading styles and market conditions.
- **Volatility Filter**: An optional Average True Range (ATR)-based volatility filter can be toggled on or off. When activated, it ensures that trades are only entered when market volatility exceeds a user-defined threshold, aiming to filter out entries during low-volatility periods which are often characterized by indecisive market movements.
- **Trailing Stop Loss**: A trailing stop loss mechanism, expressed as a percentage of the highest price achieved since entry, provides a dynamic way to manage risk by allowing profits to run while cutting losses.
- **EMA Exit Condition**: This advanced exit option enables closing positions when the short-term EMA crosses below the medium-term EMA, serving as a signal that the immediate trend may be reversing.
- **Close Below EMA Exit**: An additional exit condition, which is disabled by default, allows positions to be closed if the price closes below a user-selected EMA. This provides an extra layer of flexibility and risk management, catering to traders who prefer to exit positions based on specific EMA thresholds.
**Operational Mechanics**
Upon activation, the strategy evaluates the current price in relation to the set EMAs. A long position is considered when the current price is above the long-term EMA, and the short-term EMA is above the medium-term EMA. This setup aims to identify moments where the price momentum is strong and likely to continue.
The strategy's versatility is further enhanced by its optional settings:
- The **Volatility Filter** adjusts the sensitivity of the strategy to market movements, potentially improving the quality of the entries during volatile market conditions.
The Average True Range (ATR) is a key component of this filter, providing a measure of market volatility by calculating the average range between the high and low prices over a specified number of periods. Here's how you can adjust the volatility filter settings for various market conditions, focusing on filtering out low-volatility markets:
Setting Examples for Volatility Filter
1. High Volatility Markets (e.g., Cryptocurrencies, Certain Forex Pairs):
ATR Periods: 14 (default)
ATR Multiplier: Setting the multiplier to a lower value, such as 1.0 or 1.2, can be beneficial in high-volatility markets. This sensitivity allows the strategy to react to volatility changes more quickly, ensuring that you're entering trades during periods of significant movement.
2. Medium Volatility Markets (e.g., Major Equity Indices, Medium-Volatility Forex Pairs):
ATR Periods: 14 (default)
ATR Multiplier: A multiplier of 1.5 (default) is often suitable for medium volatility markets. It provides a balanced approach, ensuring that the strategy filters out low-volatility conditions without being overly restrictive.
3. Low Volatility Markets (e.g., Some Commodities, Low-Volatility Forex Pairs):
ATR Periods: Increasing the ATR period to 20 or 25 can smooth out the volatility measure, making it less sensitive to short-term fluctuations. This adjustment helps in focusing on more significant trends in inherently stable markets.
ATR Multiplier: Raising the multiplier to 2.0 or even 2.5 increases the threshold for volatility, effectively filtering out low-volatility conditions. This setting ensures that the strategy only triggers trades during periods of relatively higher volatility, which are more likely to result in significant price movements.
How to Use the Volatility Filter for Low-Volatility Markets
For traders specifically interested in filtering out low-volatility markets, the key is to adjust the ATR Multiplier to a higher level. This adjustment increases the threshold required for the market to be considered sufficiently volatile for trade entries. Here's a step-by-step guide:
Adjust the ATR Multiplier: Increase the ATR Multiplier to create a higher volatility threshold. A multiplier of 2.0 to 2.5 is a good starting point for very low-volatility markets.
Fine-Tune the ATR Periods: Consider lengthening the ATR calculation period if you find that the strategy is still entering trades in undesirable low-volatility conditions. A longer period provides a more averaged-out measure of volatility, which might better suit your needs.
Monitor and Adjust: Volatility is not static, and market conditions can change. Regularly review the performance of your strategy in the context of current market volatility and adjust the settings as necessary.
Backtest in Different Conditions: Before applying the strategy live, backtest it across different market conditions with your adjusted settings. This process helps ensure that your approach to filtering low-volatility conditions aligns with your trading objectives and risk tolerance.
By fine-tuning the volatility filter settings according to the specific characteristics of the market you're trading in, you can enhance the performance of this strategy
- The **Trailing Stop Loss** and **EMA Exit Conditions** provide two layers of exit strategies, focusing on capital preservation and profit maximization.
**Visualizations**
For clarity and ease of use, the strategy plots the three EMAs and, if enabled, the ATR threshold on the chart. These visual cues not only aid in decision-making but also help in understanding the market's current trend and volatility state.
**How to Use**
Traders can customize the EMA periods to fit their trading horizon, be it short, medium, or long-term trading. The volatility filter and exit options allow for further customization, making the strategy adaptable to different market conditions and personal risk tolerance levels.
By offering a blend of trend-following principles with advanced risk management features, this strategy aims to cater to a wide range of trading styles, from cautious to aggressive. Its strength lies in its flexibility, allowing traders to fine-tune settings to their specific needs, making it a potentially valuable tool in the arsenal of any trader looking for a disciplined approach to navigating the markets.
Ripster Trend LabelsRipster Trend Labels: This script provides labels indicating the trend and chop conditions in the market. It helps traders identify potential trading opportunities based on short-term trends. Its support my EMA Cloud System by providing labels on when Clouds turn bullish or bearish and also uses my concepts of Chop vs Trend based on premarket levels.
What Does Script Do-> It Identifies Bullish & Bearish Trend and if Market is in Chop Range or Trending
How Does it Identify Trend & Chop->
Description: The script calculates the 10-minute 12 and 50 Exponential Moving Averages (EMA) to determine the short-term trend direction. It's based on the Ripster 10-minute trading system, and it's recommended to use it in conjunction with the 5-12 and 34-50 Ripster Cloud scripts for more effective analysis.
For Sake of simplicity only using 12 & 50 EMA to create the labels, this should be used with the Clouds itself for better analysis.
This Script also calculates when Price is moving over premarket pivot or moving under premarket pivots. These Pivots are High or Lows in premarket in this version. The move over Pivot Signals the Trend , if Stock or ETF remains in those pivots, it is considered as Chop.
For now I am only using Premarket Data and my principles of Chop Vs Trend based on that to identify this direction. In future versions, I might implement Daily levels or Yesterday High Lows, to add more pivots for more accurately identifying chop ranges or if we are in Trend.
Table Display: The script displays the trend and chop labels in a table format on the chart, making it easier for traders to interpret the information.
How to Trade and Analyze Using Ripster Clouds Labels:
I recommend using my Ripster Clouds Indicator with these labels for best use
For High Probability Bullish Trend Trades
-> When All 3 Columns Price Action, Ripster 34/50 Clouds & Ripster 5/12 are bullish means trend is strong and its High Probability Long.
For High Probability Bearish Trend Trades
-> When All 3 Columns Price Action, Ripster 34/50 Clouds & Ripster 5/12 are bearish means trend is strong bearish and High Probability Long
Identifying Chop
-> If price action label says Chop its most likely sideways action even though other two columns are saying Bearish or Bullish. We can still trade because combination of other two is still strong Trend Signal, but its better to risk less when labels are showing Chop
By using this script, traders can make more informed decisions about entering and exiting trades based on the current market conditions identified by the trend and chop labels.
VWAP 8EMA Crossover Scalping IndicatorWhy?
Everybody, especially in Indian context, from 9:15 AM to 3:30 PM, wants to trade in BankNifty.
And even 15m is Too Big timeframe for The Great Indian Options buyers. Everyone knows how potentially BankNifty (& FinNifty on Tuesday and Sensex on Friday) can show dance within 15m.
So there always been an overarching longing among traders to have something in shorter timeframes. And this 5m timeframe, looks like a universally (sic) accepted Standard Timeframe for Indian Options traders.
So here is this.
What?
The time we are publishing this public indicator Indian market (Nifty) is in ATH at ~22200.
In any such super trending market it's always good to wait for a dip and then in suitable time, enter the trade in the direction of the larger trend. The reversal trading systems, in such a situation, proves to be ineffective.
Of course there are time when market is sideways and keeps on oscillating between +/2 standard deviation of the 20 SMA. In such a situation the reversal play works perfectly. But not so in such a trending market.
So the question comes up - after a dip what's the right point to enter.
Hence comes the importance of such a crossover based trading system.
In this indicator, it's a well-known technique (nothing originally from ours, it's taken from social media, exact one we forgot) to find out the 8EMA and VWAP crossover.
So we learned from social media, practice in our daily trading a bit, actuate it and now publishing it.
A few salient points
It does not make sense to jump into the trade just on the crossover (or crossunder).
So we added some more sugar to it, e.g. we check the color the candle. Also the next candle if crosses and closes above (or below) the breakout candle's high/low.
The polarity (color) of both the alert (breakout/breakdown) and confirmation candle to be same (green for crossover, red from crossunder).
Of course, it does provider BUY and SELL alerts separately.
These all we have found out doing backtesting and forward testing with 1/2 lots and saw this sort of approaches works.
Hence all of these are added to this script.
Nomenclature
Here green line is the 8EMA and the red line is the VWAP.
Also there is a black dotted line. That's 50 EMA. It's to show you the trend.
The recent trade is shown in the top right of the chart as green (for buy) or red (for sell) with SL and 1:1 target.
How to trade using this system?
This is roughly we have found the best possible use of this indicator.
Lets explain with a bullish BUY positive crossover (means 8EMA is crossing over the daily VWAP)
Keep timeframe as 5m
Check the direction/slope of the black dotted line (50 EMA). If it's upwards, only take bullish positions.
Open the chart which has the VWAP. (e.g. FinNifty spot or MidcapNifty spot does not have vwap). So in those cases Future is the way to go.
Wait for a breakout crossover and let the indicator gives a green, triangular UP arrow.
Draw a horizontal line to the close of that candle for next few (say 6 candles i.e. 30m) candles.
Wait for the price first to retest the 8EMA or even better the VWAP (or near to the 8EMA, VWAP)
Let the price moves and closes above the horizontal line drawn in the 4th step.
Take a bullish trade, keeping VWAP as the SL and 1:1 as the target.
Additionally, Options buyer can consult ADX also to see if the ADX is more than 25 and moving up for the bullish trade. (This has to be added seperately in the chart, it's not a part of the indicator).
Mention
The concept we have taken from some social media. Forget exactly where we heard this first time. We just coded it with some additional steps.
Statutory Disclaimer
There is no silver bullet / holy grail in trading. Nothing works 100% time. One has to be careful about the loss (s)he can bear in case of the trade goes against.
We, as the author of this script, is not responsible for any trading or position decision one is taken based on the outcome of this.
It is our sole discretion to change, add, delete the portion or withdraw the whole script without any prior notice or intimation.
In Indian Context: We are not SEBI registered.
Triple MA HTF strategy - Dynamic SmoothingThe triple MA strategy is a simple but effective method to trade the trend. The advantage of this script over the existing triple MA strategies is that the user can open a lower time frame chart and select higher time frame inputs for different MA types mainting the visibility on the chart. The dynamic smoothing code makes sure the HTF trendlines are not jagged, but a fluid line visiable on the lower time frame chart. The script comes with a MA crossover and crossunder strategy explained below.
Moving Averages (MA) Crossover for Entry:
Long Entry: A long entry signal is triggered when the moving average line 1 crosses above the moving average line 2. This crossover indicates a potential shift in market sentiment towards the upside. However, to validate this signal, the strategy checks if the moving average 3 on a higher time frame (eg. 4 hour) is in an upward trend. This additional filter ensures that the trade aligns with the prevailing trend on a broader time scale, increasing the probability of success.
Short Entry: Conversely, a short entry signal occurs when the moving average line 1 crosses below the moving average line 2. This crossover suggests a possible downturn in market momentum. However, for a short trade to be confirmed, the strategy verifies that the moving average 3 on the higher time frame is in a downward trend. This confirmation ensures that the trade is in harmony with the overarching market direction.
Exit from Long Position: The strategy triggers an exit signal from a long position when the moving average line 1 crosses below the moving average line 2. This crossover indicates a potential reversal in the market trend, prompting the trader to close their long position and take profits or minimize losses.
Exit from Short Position: Similarly, an exit signal from a short position occurs when the moving average line 1 crosses above the moving average line 2. This crossover suggests a potential shift in market sentiment towards the upside, prompting the trader to exit their short position and manage their risk accordingly.
Features of the script
This Triple MA Strategy is basically the HTF Trend Filter displayed 3 times on the chart. For more infomation on how the MA with dynamic smoothing is calculated I recommend reading the following script:
For risk management I included a simple script to opt for % of eauity or # of contracts of in the instrument. For explanation on how the risk management settings work I refer to my ealier published script:
The strategy is a simplified example for setting up an entry and exit logic based on multiple moving avarages. Hence the script is meant for educational purposes only.
Fusion Traders - RSI Overbought/Oversold + Divergence IndicatorFusion Traders - RSI Overbought/Oversold + Divergence Indicator - new version
This indicator has lots of various add ons.
RSI overbought / oversold with changeable inputs
Divergence indicator
DESCRIPTION:
This script combines the Relative Strength Index ( RSI ), Moving Average and Divergence indicator to make a better decision when to enter or exit a trade.
- The Moving Average line (MA) has been made hidden by default but enhanced with an RSIMA cloud.
- When the RSI is above the selected MA it turns into green and when the RSI is below the select MA it turns into red.
- When the RSI is moving into the Overbought or Oversold area, some highlighted areas will appear.
- When some divergences or hidden divergences are detected an extra indication will be highlighted.
- When the divergence appear in the Overbought or Oversold area the more weight it give to make a decision.
- The same colour pallet has been used as the default candlestick colours so it looks familiar.
HOW TO USE:
The prerequisite is that we have some knowledge about the Elliot Wave Theory, the Fibonacci Retracement and the Fibonacci Extension tools.
We are hoping you like this indicator and added to your favourite indicators. If you have any question then comment below, and I'll do my best to help.
FEATURES:
• You can show/hide the RSI .
• You can show/hide the MA.
• You can show/hide the lRSIMA cloud.
• You can show/hide the Stoch RSI cloud.
• You can show/hide and adjust the Overbought and Oversold zones.
• You can show/hide and adjust the Overbought Extended and Oversold Extended zones.
• You can show/hide the Overbought and Oversold highlighted zones.
HOW TO GET ACCESS TO THE SCRIPT:
• Favorite the script and add it to your chart.
TrendFusion Pro (BETA)The TrendFusion Pro (BETA) combines advanced trend analysis, dynamic RSI insights, and price target prediction in one comprehensive tool. Here's how to customize its settings to optimize your trading strategy:
Candle Style:
Options: Traditional Candle, Super Trend Heiken Ashi Candle
Description: Select your preferred candle visualization. Traditional candles are best for classic chart analysis, while Super Trend Heiken Ashi candles help in identifying trends by smoothing price movements.
How to Use: Choose "Super Trend Heiken Ashi Candle" for trend following strategies or "Traditional Candle" for patterns and reversal strategies.
This setting allows you to match the candle visualization to your trading strategy, enhancing chart clarity and trend recognition.
Trend Analysis Settings:
Trend Strength & Smoothing Period: Adjust these to define what constitutes a trend on your chart, allowing for customization based on volatility and your trading timeframe.
How to Use: Increase the trend strength for longer-term trends or decrease it for short-term movements. Adjust the smoothing period based on the asset's volatility.
Fine-tuning these parameters helps in tailoring the trend analysis to your specific market approach, enhancing the accuracy of trend signals.
RSI Settings:
RSI Length, Overbought/Oversold Levels: Customize the RSI to fit your risk tolerance and strategy. Altering these parameters changes the frequency and sensitivity of overbought/oversold signals.
How to Use: Set your RSI length and thresholds based on the asset's historical performance and your trading strategy.
Adjusting the RSI settings allows for a more nuanced approach to momentum analysis, providing clearer signals for entry and exit points.
Price Target Interest (%):
Description: Define a percentage to calculate potential upward and downward price targets from the current price.
How to Use: Use this setting to identify potential profit targets or stop-loss levels based on your risk-reward ratio.
This feature offers a dynamic method for setting realistic and strategic price targets, aiding in risk management and profit maximization.
Multi-Timeframe Trend Analysis Table:
Description: Displays the trend direction across multiple timeframes, providing a comprehensive view of the market's momentum.
How to Use: Enable this table to align your trades with the broader market trend for higher success rates.
Understanding market direction across different timeframes can significantly improve the timing and effectiveness of your trading decisions.
Previous Day High, Low, and Average Lines:
Description: Visual markers for the previous day's high, low, and average prices.
How to Use: These markers can be used as key levels for breakout, reversal, or continuation strategies.
Incorporating these levels into your analysis provides historical context, offering critical support and resistance zones for your trades.
Signal Visibility:
Long/Short Signals, Exit Signals, RSI Signals: Customize which signals are displayed on your chart to match your trading strategy and reduce clutter.
How to Use: Enable the signals that align with your trading strategy, whether it be trend following, reversal trading, or momentum trading.
Selectively displaying signals helps in focusing on the most relevant trading opportunities, reducing distractions and improving decision-making.
Conclusion:
The TrendFusion Pro (BETA) is designed to offer traders a comprehensive, intuitive, and customizable tool for market analysis. By understanding and utilizing these settings, traders can tailor the tool to meet their specific needs, enhancing their ability to make informed trading decisions in different market conditions. Experiment with different settings in a demo account to find the optimal configuration for your trading approach.
Herrick Payoff Index @shrilssThis indicator combines elements of price action, volume, and open interest to provide insights into market strength and potential trend reversals. This script calculates the Herrick Payoff Index (HPI) based on a modified formula that incorporates volume and open interest adjustments.
The HPI is derived from comparing the current day's mean price to the previous day's mean price, factoring in volume and open interest changes. By analyzing these factors, the indicator aims to gauge the effectiveness of market participants' positions.
Key Features:
- HPI Calculation: The HPI value is calculated using the formula: ((M - My) * C * V) * (1 + |OI - OI | / min(OI, OI )), where M represents the mean price for the current day, My represents the mean price for the previous day, C is a constant (set to 1), V is the volume, and OI is the open interest. This adjusted calculation accounts for changes in volume and open interest, providing a more nuanced view of market dynamics.
- Moving Averages: The script also includes two Exponential Moving Averages (EMAs) of the HPI values, allowing traders to identify trends and potential reversal points. Users can customize the length of these moving averages to suit their trading strategies.
- Visual Signals: The indicator visually represents the HPI values and their relationship to the moving averages. When the HPI value is above the shorter-term EMA, it suggests bullish momentum, while values below indicate bearish sentiment.