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:
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.
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.
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.
ADX Oscillator @shrilssThis Indicator calculates the Average Directional Index (ADX), a popular indicator used to quantify the strength of a trend. Additionally, it computes the Positive Directional Index (+DI) and Negative Directional Index (-DI), which measure the strength of upward and downward price movements respectively.
What sets this script apart is its enhanced ADX calculations. It incorporates Moving Averages (MAs) of the +DI and -DI to offer a smoother representation of trend direction. By averaging these directional indices over a specified period, it aims to filter out noise and provide clearer signals of trend strength.
Traders have the flexibility to visualize the traditional ADX alongside the enhanced ADX oscillator. The script also highlights potential buying and selling opportunities based on crossover events between the directional indices and the ADX, helping traders identify optimal entry and exit points.
With customizable parameters such as the length of the Directional Movement (DM), ADX, and MA periods, this script empowers traders to adapt the indicator to different market conditions and timeframes.
MTF VWAPThis indicator is an enhanced version of the traditional VWAP, providing traders with multiple timeframe views, automatic session anchoring, and customization options for optimized technical analysis.
Key Features:
1. Multiple Timeframes, One View : Visualize Daily, Weekly, Monthly, and Yearly VWAP calculations simultaneously on a single chart.
2. Automatic Anchoring : The indicator intelligently auto-anchors each VWAP calculation to the start of its respective session. This ensures accurate readings and streamlines your analysis by eliminating the need for manual adjustments.
3. Customizability : Tailor the appearance of the indicator with fully customizable colors and the ability to select your preferred price source (e.g., high, low, close, hlc3, hlcc4, or a custom one).
Liquidation Longs/Shorts [UAlgo]🔶Description:
The "Liquidation Longs/Shorts " indicator is designed to identify potential liquidation levels for long and short positions. It calculates the distance of the selected price source (close, high, low, or open) from two moving averages (MA) and plots the resulting values on the chart. When the price is at an extreme distance from the moving averages, it suggests a potential liquidation point for either long or short positions.
🔶Key Features:
Liquidation Calculations: The indicator calculates the distance of the selected price source from two moving averages: a simple moving average (SMA) and an exponential moving average (EMA) with customizable lengths.
Color Customization: Users can customize the colors of the plotted columns representing the distance from the moving averages for long and short liquidation levels.
Liquidation Circles: The indicator marks potential liquidation levels with small circles on the chart, with customizable colors for long and short liquidations.
Orange Circles -> Identifies Potential Short Liquidations
Aqua Circles -> Identifies Potential Long Liquidations
Example:
Adaptive Source Selection: Traders can select the price source (close, high, low, or open) for liquidation calculations, allowing flexibility based on their trading strategies.
Dynamic Threshold Calculation: The indicator dynamically adjusts the liquidation threshold based on the selected moving average lengths, providing adaptability to changing market conditions.
Disclaimer:
Use with Caution: This indicator is provided for educational purposes only and should not be considered as financial advice. Users should exercise caution and perform their own analysis before making trading decisions based on the indicator's signals.
Not Financial Advice: The information provided by this indicator does not constitute financial advice, and the creator (UAlgo) shall not be held responsible for any trading losses incurred as a result of using this indicator.
Backtesting Recommended: Traders are encouraged to backtest the indicator thoroughly on historical data before using it in live trading to assess its performance and suitability for their trading strategies.
Risk Management: Trading involves inherent risks, and users should implement proper risk management strategies, including but not limited to stop-loss orders and position sizing, to mitigate potential losses.
No Guarantees: The accuracy and reliability of the indicator's signals cannot be guaranteed, as they are based on historical price data and past performance may not be indicative of future results.
This indicator serves as a tool to assist traders in identifying potential liquidation levels, but it should be used in conjunction with other technical analysis tools and risk management practices for effective trading decision-making.
Normalised Gaussian MACD Heikin Ashi [AlgoAlpha]🌟🚀Introducing the Normalised Gaussian MACD Heikin Ashi by AlgoAlpha !
Elevate your trading game with this multipurpose indicator, crafted to pinpoint trend continuation opportunities while highlighting volatility and oversold/overbought conditions. Whether you're embarking on your trading journey or you're a seasoned market navigator, this tool is equipped with intuitive visual cues to amplify your decision-making prowess and enrich your market analysis toolkit. Let's dive into the key features, utilization strategies, and the innovative logic underpinning this indispensable trading asset.
Key Features:
🔧 Enhanced Customization : Tailor your experience with adjustable parameters including Fast Length, Slow Length, Source, Macd Smoothing Length, Signal Smoothing, and more.
🖌️ Visual Enhancements : Opt for Heikin Ashi Candles display and choose to show or hide MACD and Signal lines for a clutter-free chart.
🌈 Color Customization : Personalize your chart with selectable primary and secondary up and down colors to suit your visual preferences.
🔔 Advanced Alert System : Stay ahead with comprehensive alert conditions for market movements, including trend reversals, bullish and bearish swings.
How to Use:
Configure the Inputs : Start by customizing the indicator’s settings to match your trading style. Adjust the length parameters, source selection, and smoothing lengths to fine-tune the indicator’s sensitivity.
Interpret the Candles and Colors : Keep an eye on the Heikin Ashi Candles (if enabled) and the color shifts within the MACD Line Candles and Histogram. These visual cues are pivotal for identifying market trends.
Analyze with Flexibility : Make use of the option to display or hide the MACD and Signal lines based on your analysis requirements. This can help in focusing on the essential information without overcrowding your chart.
Utilize Alerts for Timely Decisions : Leverage the extensive alert system to get notified about potential market movements. These alerts can help you capture the right moment to enter or exit trades.
Basic Logic:
The Normalised Gaussian MACD Heikin Ashi by AlgoAlpha integrates Gaussian filters to elevate the traditional MACD indicator's efficiency, providing a more detailed analysis of market trends and momentum. This sophisticated approach reduces noise and enhances signal speed, which is crucial for identifying momentum trading opportunities.
Gaussian Filter Implementation : The core innovation lies in applying a Gaussian filter to the input price series. This mathematical technique smooths the price data, significantly reducing market noise and making trend signals clearer and more reliable. The Gaussian filter calculates a smoothed value for each data point by weighting nearby data points, with the weights decreasing as the distance from the current data point increases.
Refined MACD Calculation : The Gaussian MACD is derived from the difference between two Gaussian smoothed moving averages (fast and slow), which are then normalized to account for market volatility. This normalization process involves dividing the difference by a measure of market range (such as the high minus the low), and multiplying by a factor (usually 100) to scale the indicator appropriately.
🔑 This script is a versatile tool designed to aid in the identification of momentum and reversals, helping traders to make informed decisions based on technical analysis. Its customization options allow for a tailored analysis experience, fitting the unique needs and strategies of each trader.
Stoch + RSI Oscillator @shrilssThis script combines two powerful indicators, the Stochastic Oscillator and the Relative Strength Index (RSI), to offer traders a comprehensive view of market dynamics.
The Stochastic Oscillator, known for its effectiveness in identifying overbought and oversold conditions, is enhanced here with a smoothing mechanism to provide clearer signals. The script calculates the %K and %D lines of the Stochastic Oscillator, then applies a smoothing factor to %K, resulting in a smoother representation of price momentum.
Simultaneously, the RSI component offers insights into the strength of price movements. By comparing the average gains and losses over a specified period, it provides a measure of bullish and bearish sentiment within the market.
This script's innovation lies in its integration of these two indicators. The Stochastic Oscillator's smoothed %K line and the RSI are compared to dynamic thresholds, enabling traders to identify potential trend reversals and confirmations more effectively. When the RSI crosses above or below the Stochastic %D line, it can signal potential shifts in market momentum.
Time Candle Range HistoryThe 'Intraday Candle Range Average' indicator is designed to provide traders with insights into the average price range of intraday candles, specifically focusing on the period around 9:30 AM. By calculating the difference between the high and low of candles occurring at 9:30 AM, the indicator offers a dynamic view of market volatility during this critical time window. Users can customize parameters such as the number of days to consider for the average calculation, allowing for flexibility in analyzing short-term price movements. Additionally, the indicator offers a clear visualization of the current candle range compared to the historical average, aiding traders in identifying potential trading opportunities based on volatility patterns. Whether used independently or in conjunction with other technical analysis tools, the 'Intraday Candle Range Average' indicator empowers traders with valuable insights into intraday market dynamics.
MACD All In One Screener [ChartPrime]INTRODUCTION
MACD All In One Screener (ChartPrime) is a multi instrument, multi timeframe indicator designed to provide traders with a comprehensive solution to monitoring the market. This indicator is designed to be easy to use and visually appealing while also being highly flexible and feature rich. Users can pick up to 10 symbols not including the chart's symbol and set up alerts for many different signals that the MACD produces. One standout feature of this indicator is its ability to display not only each symbol individually as a MACD but you can also view its chart from within this indicator. This removes the need to flip between symbols to see the price action for your basket.
On top of that we have designed this indicator to be friendly with "indicator on indicator" by providing outputs for all of the standards of price that users may want. Included is an overview section that shows all of the symbols signals symbolically over time. Additionally we have included a table for easy monitoring. This table includes the symbol, its timeframe, the current alert, and its histogram state. To make things as user friendly as possible we have also included rich error handling that tells you exactly what is wrong with your configuration.
HOW TO USE
To use this indicator, simply add it to your chart and navigate to the settings. From there select the symbols you want to monitor and the timeframes you want to use. Next you want to navigate down to the alerts section to select the what alerts you want to receive, and what symbols you want to get alerts for. Finally, you wan to create your alert using "Any alert() function call". Now your screener is all set up!
OVERVIEW OF INPUTS
View allows you to select what the indicator currently displays. You can pick from any one of the selected symbols, an overview of all of the symbols, or simply nothing. If you want to only use the table, "None" is provided so you can move the indicator into the chart panel.
View Toggle lets you pick from displaying the MACD for the selected symbol or the Price Action as a candle chart. To see your "indicator on indicator" you will have to select a symbol from the view list. There is a bug where if you select "Overview" while you are using "indicator on indicator" your added indicator will see the last symbol you viewed. To fix this, simply change the setting of your overlaid indicator and it will correct its self.
History Length is the number of historical bars to calculate over. This feature is here to prevent the indicator from breaking due to uneven historical data between the symbols.
Show Price Line toggles a dotted line that follows the current symbols closing price when "Price" is selected under the "View Toggle" dropdown.
Show Symbol Label toggles a label that displays the current symbols name and timeframe. This only impacts the single symbol view.
Overview Label Color adjusts the color of the symbol labels for both overview and single symbol view.
MA Type lets you pick what kind of moving average you want to use for the oscillator or signal. You can pick from the standard SMA or EMA.
Fast Length is a standard input for MACD. This lets you pick the period of the fast MA.
Slow Length , just like Fast Lenght, is a standard input for MACD. This lets you pick the period of the slow MA.
Signal Length is another standard input for MACD. This lets you configure the period of the signal MA.
MACD Cross Overlay Icon is a toggle to display MACD crosses when viewing a single symbol's MACD. When the MACD has a bullish cross it will plot a bullish dot, and when it has a bearish cross it will plot a bearish dot. This is purely visual.
Regular Bullish and Bearish toggles the visual display of the divergences on the single symbol view. This does not effect the indicators ability do send alerts.
Divergence Look Right adjusts the number of bars into the future to look for confirmation of a signal. This directly impacts lag but enhances stability.
Divergence Look Left adjusts the number of bars into the past to check for a signal. A longer period will filter out smaller moves
Maximum Lookback adjusts the maximum size of a divergence.
Minimum Lookback adjusts the minimum size of a divergence.
Divergence Drawings picks how you want to visualize the divergence. You can pick from displaying it as a line, a label, or both.
Enable Table toggles the overview table. When enabled it will show you the enabled symbols and their current state. From left to right: symbol name, timeframe, current alert, and histogram state.
Position picks where on the chart you want the table to be.
Text Color adjusts the text color of the table.
BG Color adjusts the background color of the table.
Frame Color adjust the frame color of the table.
Current Symbol Time Frame adjusts the timeframe of the chart's symbol.
Symbol 1 - 10 pick "Symbol's" symbol and timeframe. To use higher timeframes, the symbol's have to be the same type. You can't have a crypto and a stock using HTF at the same time as they don't have the same sessions and will result in an error. You can use unsafe mode (as described below) to potentially get around this.
Enable Symbol when enabled it will give you alerts for the symbol. This also enables the symbol in the overview. If this is disabled it won't send alerts, and it will not show up in overview, or the table.
Wait for Close enables waiting for the bar to close before printing an alert.
Alert Symbol Size picks what size you want the overview symbols to be.
Enable Cross Over 0 Alert: MACD crosses over the 0 line.
Enable Cross Under 0 Alert: MACD crosses under the 0 line.
Enable MACD Cross Bullish Alert: Bullish MACD cross.
Enable MACD Cross Bearish Alert: Bearish MACD cross.
Enable Histogram Bullish Turn Alert: MACD begins to turn bullish but hasn't crossed.
Enable Histogram Bearish Turn Alert: MACD begins to turn bearish but hasn't crossed.
Enable Histogram Bullish Continuation Alert: MACD is in a bullish cross state and it was declining but began rising again.
Enable Histogram Bearish Continuation Alert: MACD is in a bearish cross state and it was rising but began falling again.
Enable Bullish/Bearish Divergence Alert enables divergence alerts. Divergences are lagging, especially on a higher timeframe. These alerts will also tell you the time in the past when the divergence occurred.
Color Section is provided to allow for personalization of the indicator. Everything can be adjusted here.
Disable Error Checking: Only enable this if you want to bypass the built in error checking. This will enable 'Safe Requesting'. Safe Requesting will only request enabled symbols and you will not be able to view symbols that are not enabled in this mode. Only use this if you want to mix symbol types and you know it will work. (An example would be viewing stocks and SPY at the same time.)
CONCLUSION
The MACD All In One Screener (ChartPrime) is a versatile indicator designed to monitor multiple symbols across various timeframes. The flexibility in customization, from MACD settings to visual alerts and table presentations, allows users to tailor the screener to their needs and preferences. We hope you find this as useful and interesting as we do and wish you good luck in the market!
Enjoy
Volume Spike IndicatorHello dear traders,
Today we're discussing an indicator I've coded: the Volume Spike Indicator (VSI).
The indicator isn't a groundbreaking invention and certainly not a novelty. Nevertheless, I haven't seen this version of the indicator on TradingView before, so I'd like to introduce it.
1. The Origin of the Idea:
We're all familiar with volume charts: A volume chart visually represents the trading activity for a specific asset over a certain period, indicating the total number of shares or contracts traded.
We also know that volume spikes can significantly impact the market. A volume spike represents an extreme anomaly, a day, week, or month with an extraordinary amount of trading. However, recognizing these spikes in practice isn't always straightforward. What constitutes high volume? How do we define and identify it? The answers to these questions aren't easy.
It's commonly said that a volume spike could be identified if the volume is 25% more than the average of the two weeks prior, but how do you measure this 25%? It's not always easy to calculate, especially in real-time.
This challenge led me to develop the concept into an indicator.
How Does It Work?
Imagine being able to "feel" the market's energy like a surfer feels the ocean. The VSI does something similar by examining trading volume and comparing it to what has been typical over the past few weeks. Here's a quick look at the magic behind it:
Step 1: Establishing the Baseline: We start by establishing a baseline, i.e., the average trading volume over a given period. Let's use the last 10 days as the default setting. We choose 10 days because, in the traditional stock market, 10 days represent two weeks if you subtract weekends. This gives us a fixed line to compare against.
Step 2: Recognizing Peaks: Next, we look for days when the trading volume significantly exceeds this average. The size of the jump is where you have a say. You can set a threshold, such as 25%, to define what you consider a volume spike.
Step 3: The Calculation: This is where the math comes into play. We calculate the percentage change in today's volume compared to the average volume of the last 10 days. For example, if today's volume is 30% above the average and you've set your threshold at 25%, the VSI will recognize this as a spike.
Step 4: Visual Cue: These spikes are then plotted on a graph, with each spike represented as a bar. The height of the bar indicates the spike's percentage size, so you can see at a glance how significant a spike is.
Step 5: Intuitive Color Coding: For quick analysis, the VSI employs a color-coding system. Exceptionally high peaks, such as those exceeding a 100% increase, are highlighted in blue to emphasize their importance. Other peaks are shown in red, creating a visual hierarchy for quick volume data interpretation.
Why This Matters:
Identifying these spikes can help pinpoint the beginning or end of a trend. The idea is that when trading peaks at a certain level, there might be no more buyers or sellers willing to engage at that price level. Volume peaks, and a reversal is likely imminent. It's a simple yet effective concept. Therefore, it's crucial to use this indicator in the context of the trend, as not every spike carries the same significance.
Customizable:
The beauty of the VSI lies in its flexibility. Trading futures? You might want to adjust the averaging period to 14 days to better suit your market. You have full control over the settings to tailor them to your trading style.
Interpreting the Figures:
A positive percentage indicates a volume spike above the average – the higher the percentage, the more significant the spike.
If the percentage exceeds a certain threshold (which you can set, e.g., 25%), it signals a volume spike, indicating increased market activity that could precede significant price movement.
What makes the VSI genuinely adaptable is your ability to tweak the parameters to suit your needs.
Are you trading in a volatile market? Extend the SMA period to smooth out the noise. Trading in a 24-hour market? Adjust the length of your SMA. Seeking finer details? Shorten it. The VSI is yours to adapt to your trading strategy.
---------------------------------------------------------------------------------------------------------------------
As we wrap up this introduction to the Volume Spike Indicator, I hope you're as excited about its potential as I am. This tool, born out of curiosity and a desire for clarity in the vast ocean of market data, is designed to be your ally in navigating the waves of trading activity.
Remember, the true power of the VSI lies not just in its ability to highlight significant volume spikes, but in its adaptability to your unique trading style and needs. Whether you're charting courses through the tumultuous seas of day trading or navigating the broader currents of long-term investments, the VSI is here to offer insights and guidance.
I encourage you to experiment with it, customize it, and see how it can enhance your trading strategy. And as you do, remember that every tool, no matter how powerful, is just one piece of the puzzle. Combine the VSI with your knowledge, experience, and intuition to make informed and strategic trading decisions.
Thank you for taking the time to explore the Volume Spike Indicator with me.
Best Regards,
Karim Subhieh
Elder Force Index Oscillator @shrilssThe "Elder Force Index Oscillator" is a comprehensive tool designed to assess the strength and direction of trends in the market. This indicator combines volume and price movement to provide traders with valuable insights into market dynamics.
Key Features:
- Volume Weighted: The oscillator considers both price changes and volume, emphasizing the significance of volume in confirming price movements.
- Trend Identification: Utilizing exponential moving averages (EMAs) and Bollinger Bands (BB), the indicator identifies potential trend reversals and continuations.
- Trend Strength Highlighting: With customizable options, the script highlights areas of strong and weak trend initiation, aiding traders in making informed decisions.
How It Works:
- Elder Force Index (EFI): The EFI is calculated as the EMA of price changes multiplied by volume. A positive value suggests buying pressure, while a negative value indicates selling pressure.
- EFI Moving Average (EFI MA): This smooths out the EFI, providing a clearer indication of trend direction.
- Bollinger Bands (BB): The upper and lower bands are calculated based on a specified number of standard deviations from the EFI's moving average, offering insights into potential overbought or oversold conditions.
Kshitij Malve - Minervini Trend Criteria (MTC)Purpose:
This indicator is designed to assist traders in identifying stocks that potentially meet the bullish Stage 2 trend criteria outlined by renowned stock trader Mark Minervini. It analyzes price movement in relation to moving averages and calculates certain price thresholds to provide visual signals.
Key Features:
Minervini Stage 2 Focus: Specifically targets trend characteristics highlighted in Minervini's trading methodology.
Adjustable Moving Averages: The script includes inputs for 150-day, 200-day, and 50-day moving average lengths, allowing users to customize their analysis.
Visual Trend Criteria: Each core Stage 2 trend condition is plotted below the chart as green or red dots for quick visual assessment.
Stage 2 Uptrend Signal: When all key trend conditions are met, a purple up-arrow appears beneath the price chart.
Alerts: Customizable alerts can be set up to notify the user when all conditions are met, signaling a potential Stage 2 uptrend.
Conditions Evaluated:
Price Position: Current price is above the 50-day, 150-day, and 200-day simple moving averages.
Moving Average Alignment: 50-day MA is above the 150-day MA, which is above the 200-day MA.
Uptrending 200-day MA: The 200-day MA is demonstrating an upward trend over the specified period.
30% Above 52-Week Low: Current price is at least 30% higher than the 52-week low.
Within 25% of 52-Week High: Current price is no more than 25% below the 52-week high.
Important Notes:
This indicator does not directly plot lines for conditions 4 and 5 (52-week high/low comparisons). Consider incorporating these into your chart in some way for full technical analysis in line with the Minervini method.
For additional depth, study Mark Minervini's books to fully understand the context and strategies built around these criteria.
How to Use:
Add the "Kshitij Malve - Minervini Trend Criteria" indicator to a stock chart.
Observe the placement of colored dots below the chart. A series of green dots suggests the stock is within Minervini's Stage 2 criteria.
Look for the purple up-arrow signal for confirmation that all conditions are met.
Customize alerts if you would like real-time signals of potential Stage 2 uptrends.
Trend Continuation Signals [AlgoAlpha]Introducing the Trend Continuation Signals by AlgoAlpha 🌟🚀
Elevate your trading game with this multipurpose indicator, designed to pinpoint trend continuation opportunities as well as highlight volatility and oversold/overbought conditions. Whether you're a trading novice or a seasoned market veteran, this tool offers intuitive visual cues to boost your decision-making and enhance your market analysis. Let's explore the key features, how to use it effectively, and delve into the operational mechanics that make this tool a game-changer in your trading arsenal:
Key Features:
🔥 Advanced Trend Detection : Leverages the Hull Moving Average (HMA) for superior trend tracking as compared to other MAs, offering unique insights into market momentum.
🌈 Volatility Bands : Implements adjustable bands around the trend line, which evolve with market conditions to highlight potential trading opportunities.
⚡ Trend Continuation Signals : Identifies bullish and bearish continuation signals, equipping you with actionable signals to exploit the prevailing market trend.
🎨 Intuitive Color Coding : Employs a vibrant color scheme to distinguish between uptrends, downtrends, and neutral phases, facilitating easy interpretation of the indicator's insights.
🛠 How to Use "Trend Continuation Signals ":
🔍 Setting Up : Incorporate the indicator onto your chart and customize the indicator to suite your preferences.
👀 Reading the Signals : Pay attention to the color-coded trend lines and volatility bands. Green indicates an uptrend, red signifies a downtrend, and gray denotes a neutral market condition.
📈 Identifying Entry Points : Look for bullish (▲) and bearish (▼) continuation icons below or above the price bars as signals for potential entry points for long or short positions, respectively.
🔄 Confirmation : Validate your trades with further analysis or other indicators. The Trend Continuation Signals are most effective when complemented by other technical analysis tools or fundamental insights.
📉 Risk Management : Implement stop-loss orders in line with your risk appetite and adjust them based on the volatility bands provided by the indicator to safeguard your investments.
How It Operates:
The essence of the indicator is captured through the hull moving averages for both the primary and secondary lines, set at periods of 93 and 50, respectively, to reflect market trends and pullbacks that trigger the continuation signals every time price recovers from a detected pullback.
Volatility is quantified through the standard deviation of the midline, magnified by a factor, establishing the upper and lower trend band boundaries.
Further volatility bands are plotted around the main volatility band, providing a granular view of market volatility and potential breakout or breakdown zones.
Market trend direction is determined by comparing the HMA line's current position to its previous value, enhanced by the secondary line to identify continuation patterns.
Embrace the power of the Trend Continuation Signals to enhance your trading strategy! It is important to note that all indicators are best used in confluence with other forms of analysis, happy trading! 📊💥
Inverted EMAThe concept of an inverted Exponential Moving Average (EMA) isn't commonly used in traditional technical analysis or trading strategies. Inverting the EMA essentially means taking the reciprocal of the EMA values. While it may not have widespread use or recognition, here are some potential considerations or interpretations for the inverted EMA:
1. **Inverse Trend Indicator:**
- Inverting the EMA might be considered as an alternative approach to trend analysis. When the inverted EMA is rising, it could suggest a potential bearish trend, and when it is falling, it might indicate a bullish trend. Traders might explore using this as a contrarian or unconventional trend indicator.
2. **Volatility Indicator:**
- The inverted EMA might be used as a measure of volatility. When the values are fluctuating rapidly, it could imply increased volatility in the underlying asset. This could be useful for traders who are interested in gauging market dynamics.
3. **Divergence Analysis:**
- Traders may explore divergences between price and the inverted EMA. For instance, if prices are making new highs, but the inverted EMA is not, it could signal potential weakness or divergence in the bullish trend.
4. **Inverse Moving Average Crossovers:**
- In the context of moving average crossovers, traders usually look for crossovers between shorter and longer EMAs as potential signals. Inverting this concept, crossovers between inverted short-term and long-term EMAs might be explored for unconventional trading signals.
5. **Systematic Exploration:**
- Traders and researchers sometimes experiment with unconventional indicators to discover new patterns or behaviors in the market. The inverted EMA could be part of systematic exploration to uncover unique insights that traditional indicators might not reveal.
It's important to note that the interpretation and use of the inverted EMA depend on the trader's strategy, risk tolerance, and specific market conditions. Traders should thoroughly backtest any strategy involving unconventional indicators and use them cautiously in live trading. Additionally, the effectiveness of the inverted EMA may vary across different financial instruments and timeframes.
LV Stock Valuation by Benjamin Graham's FormulaBenjamin Graham's stock valuation formula for growth companies is based on the principle that a stock is a part of a business, and that by analyzing the fundamentals of any company in the stock market, you should be able to derive its intrinsic value independent from its current stock price. Graham suggests that over the long-term, the stock price of a company and its intrinsic/fair value will converge towards each other until the stock price reflects the true value of the company. Finally, Graham recommends that after estimating the intrinsic value of a stock, investors should always purchase the stock with a "margin of safety," to protect oneself from assumptions and potential errors made in the valuation process.
Graham's stock valuation formula to calculate intrinsic value was originally shown in the 1962 edition of Security Analysis as follows:
V = EPS * (8.5 + 2g)
where:
V = intrinsic value per share (over the next 7-10 years)
EPS = earnings per share (over the trailing twelve months (TTM))
8.5 = price-to-earnings (P/E) base for a no-growth company
g = reasonably expected annual growth rate (over the next 7-10 years)
In 1974, Graham revised this formula, as published in The Intelligent Investor, to include a discount rate (aka required rate of return). This was after he concluded that the greatest contributing to stock values and prices over the past decade had been due to interest rates.
Graham's current stock valuation formula is shown below:
V = (EPS * (8.5 + 2g) * Z) / Y
where:
V = intrinsic value per share (over the next 7-10 years)
EPS = diluted earnings per share (over the trailing twelve months (TTM))
8.5 = price-to-earnings (P/E) base for a no-growth company (you can change it manually)
g = reasonably expected annual growth rate (calculated by 5-Yr EPS CAGR%) (you can change year period)
Z = average yield of XXX Bonds (4.4 is default on Graham's formula)
Y = current yield of XXX Bonds
Current bond yield values (Z and Y) are selected as an example from Turkey. You need to change it according to the country of stocks.
Buy price (BP) = Intrinsic value per share * (1 - Margin of safety %)
Margin of safety = selected 20% (you need to change it to 0, if you don’t want to use margin of safety and to see intrinsic value)
Buy price > Current market price: Consider buying the stock, as the current market price appears to be undervalued.
Buy price < Current market price: Consider selling or not buying the stock, as the current market price appears to be overvalued.
Keep in mind that this buy/sell recommendation is purely based on Graham's stock valuation formula and the current market price, and ignores all other fundamental, news, and market factors investors should examine as well before making an investment decision.
Buy price is calculated for 5 different P/E values in the script.
1. with fixed P/E
2. with current P/E
3. with forward P/E
4. with sector P/E (optional)
5. with index P/E (optional)
You can also do calculations by using different growth rate by selecting that option.
Different type of moving averages is also included in the script as an option.