Stock WatchOverview
Watch list are very common in trading, but most of them simply provide the means of tracking a list of symbols and their current price. Then, you click through the list and perform some additional analysis individually from a chart setup. What this indicator is designed to do is provide a watch list that employs a high/low price range analysis in a table view across multiple time ranges for a much faster analysis of the symbols you are watching.
Discussion
The concept of this Stock Watch indicator is best understood when you think in terms of a 52 Week Range indication on many financial web sites. Taken a given symbol, what is the high and the low over a 52 week range and then determine where current price is within that range from a percentage perspective between 0% and 100%.
With this concept in mind, let's see how this Stock Watch indicator is meant to benefit.
There are four different H/L ranges relative to the chart's setting and a Scope property. Let's use a three month (3M) chart as our example and set the indicator's Scope = 4. A 3M chart provides three months of data in a single candle, now when we set the Scope = 4 we are stating that 1X is going to look over four candles for the high/low range.
The Scope property is used to determine how many candles it is to scan to determine the high/low range for the corresponding 1X, 3X, 5X and 10X periods. This is how different time ranges are put into perspective. Using a 3M chart with Scope = 4 would represent the following time windows:
- 1X = 3M * 4 is a 12 Months or 1 Year High/Low Range
- 3X = 3M * 4 * 3 is a 36 Months or 3 Years High/Low Range
- 5X = 3M * 4 * 5 is a 60 Months or 5 Years High/Low Range
- 10X = 3M * 4 * 10 is a 120 Months or 10 Years High/Low Range.
With these calculations, the indicator then determines where current price is within each of these High/Low ranges from a percentage perspective between 0% and 100%.
Once the 0% to 100% value is calculated, it then will shade the value according to a color gradient from red to green (or any other two colors you set the indictor to). This color shading really helps to interpret current price quickly.
The greater power to this range and color shading comes when you are able to see where price is according to price history across the multiple time windows. In this example, there is quick analysis across 1 Year, 3 Year, 5 Year and 10 Year windows.
Now let's further improve this quick analysis over 15 different stocks for which the indicator allows you to watch up to at any one time.
For value traders this is huge, because we're always looking for the bargains and we wait for price to be in the value range. Using this indicator helps to instantly see if price has entered a value range before we decide to do further analysis with other charting and fundamental tools.
The Code
The heart of all this is really very simple as you can see in the following code snippet. We're simply looking for the highest high and lowest low across the different scopes and calculating the percentage of the range where current price is for each symbol being watched.
scope = baseScope
watch1X = math.round(((watchClose - ta.lowest(watchLow, scope)) / (ta.highest(watchHigh, scope) - ta.lowest(watchLow, scope))) * 100, 0)
table.cell(tblWatch, columnId, 2, str.format("{0, number, #}%", watch1X), text_size = size.small, text_color = colorText, bgcolor = getBackColor(watch1X))
//3X Lookback
scope := baseScope * 3
watch3X = math.round(((watchClose - ta.lowest(watchLow, scope)) / (ta.highest(watchHigh, scope) - ta.lowest(watchLow, scope))) * 100, 0)
table.cell(tblWatch, columnId, 3, str.format("{0, number, #}%", watch3X), text_size = size.small, text_color = colorText, bgcolor = getBackColor(watch3X))
Conclusion
The example I've laid out here are for large time windows, because I'm a long term investor. However, keep in mind that this can work on any chart setting, you just need to remember that your chart's time period and scope work together to determine what 1X, 3X, 5X and 10X represent.
Let me try and give you one last scenario on this. Consider your chart is set for a 60 minute chart, meaning each candle represents 60 minutes of time and you set the Stock Watch indicator to a scope = 4. These settings would now represent the following and you would be watching up to 15 different stocks across these windows at one time.
1X = 60 minutes * 4 is 240 minutes or 4 hours of time.
3X = 60 minutes * 4 * 3 = 720 minutes or 12 hours of time.
5X = 60 minutes * 4 * 5 = 1200 minutes or 20 hours of time.
10X = 60 minutes * 4 * 10 = 2400 minutes or 40 hours of time.
I hope you find value in my contribution to the cause of trading, and if you have any comments or critiques, I would love to here from you in the comments.
Multitimeframe
Intraday Volume Profile [BigBeluga]The Intraday Volume Profile aims to show delta volume on lower timeframes to spot trapped shorts at the bottom or trapped longs at the top, with buyers pushing the price up at the bottom and sellers at the top acting as resistance.
🔶 FEATURES
The indicator includes the following features:
LTF Delta precision (timeframe)
Sensibility color - adjust gradient color sensitivity
Source - source of the candle to use as the main delta calculation
Color mode - display delta coloring in different ways
🔶 DELTA EXAMPLE
In the image above, we can see how delta is created.
If delta is positive, we know that buyers have control over sellers, while if delta is negative, we know sellers have control over buyers.
Using this data, we can spot interesting trades and identify trapped individuals within the candle.
🔶 HOW TO USE
In the image above, we can see how shorts are trapped at the bottom of the wick (red + at the bottom), leading to a pump also called a "short squeeze."
Same example as before, but with trapped longs (blue + at the top).
This can also work as basic support and resistance, for example, trapped shorts at the bottom with positive delta at the bottom acting as strong support for price.
Users can have the option to also display delta data within the corresponding levels, showing Buyers vs Sellers for more precise trading ideas.
NOTE:
User can only display the most recent data for the last 8 buyers and sellers.
It is recommended to use a hollow candle while using this script.
Bank Nifty Market Breadth (OsMA)This indicator is the market breadth for Bank Nifty (NSE:BANKNIFTY) index calculated on the histogram values of MACD indicator. Each row in this indicator is a representation of the histogram values of the individual stock that make up Bank Nifty. Components are listed in order of its weightage to Bank nifty index (Highest -> Lowest).
When you see Bank Nifty is on an uptrend on daily timeframe for the past 10 days, you can see what underlying stocks support that uptrend. The brighter the plot colour, the higher the momentum and vice versa. Looking at the individual rows that make up Bank Nifty, you can have an understanding if there is still enough momentum in the underlying stocks to go higher or are there many red plots showing up indicating a possible pullback or trend reversal.
The plot colours are shown as a percentage of the current histogram value taken from MACD from the highest histogram value of the previous 200 bars shown on the current timeframe. Look back value of 200 bars was chosen as it provided a better representation of the current value from its peak over the recent past(previous 200 bars), on all timeframes. Histogram value do grow/fall along with the underlying stock price, so choosing the chart's all-time high/low value as peak was not ideal. Labels on the right show the current histogram value.
Base Code taken from @fengyu05's S&P 500 Market Breadth indicator.
Delta price table, BTC Status (track bitcoin price change)If you are trading alt coins which are affected with Bitcoin price movements then this indicator may be useful. It allows you to trade altcoin and track bitcoin price changes simultaneously.
It shows the price change (delta price) for last 60 seconds, 5 minutes, 15 minutes, 30 minutes, 1 hour, 4 hours, 1 day.
If you want any updates, just feel free to write me :)
ATH adjusted by Global Money SupplyHi all,
Hereby a script that calculated the ATH that is corrected by the global money supply. It shows that regular ATH (based on high daily candles) as well as the ATH that is adjusted by the global money supply index.
The global money supply index is calculated using the money supply on the first bar and this is then used as the reference point for the money supply in the script. The money supply is based on a lot of central banks money supplies and calculated to a USD value.
Mean Reversion Watchlist [Z score]Hi Traders !
What is the Z score:
The Z score measures a values variability factor from the mean, this value is denoted by z and is interpreted as the number of standard deviations from the mean.
The Z score is often applied to the normal distribution to “standardize” the values; this makes comparison of normally distributed random variables with different units possible.
This popular reversal based indicator makes an assumption that the sample distribution (in this case the sample of price values) is normal, this allows for the interpretation that values with an extremely high or low percentile or “Z” value will likely be reversal zones.
This is because in the population data (the true distribution) which is known, anomaly values are very rare, therefore if price were to take a z score factor of 3 this would mean that price lies 3 standard deviations from the mean in the positive direction and is in the ≈99% percentile of all values. We would take this as a sign of a negative reversal as it is very unlikely to observe a consecutive equal to or more extreme than this percentile or Z value.
The z score normalization equation is given by
In Pine Script the Z score can be computed very easily using the below code.
// Z score custom function
Zscore(source, lookback) =>
sma = ta.sma(source, lookback)
stdev = ta.stdev(source, lookback, true)
zscore = (source - sma) / stdev
zscore
The Indicator:
This indicator plots the Z score for up to 20 different assets ( Note the maximum is 40 however the utility of 40 plots in one indicator is not much, there is a diminishing marginal return of the number of plots ).
Z score threshold levels can also be specified, the interpretation is the same as stated above.
The timeframe can also be fixed, by toggling the “Time frame lock” user input under the “TIME FRAME LOCK” user input group ( Note this indicator does not repain t).
Imbalance indicator (Multi-TimeFrame)(USA) Imbalance Indicator (Multi-TimeFrame) is an indicator designed to visualize the imbalance between two adjacent candles on a chart by drawing rectangles. It helps identify the dominance of buyers or sellers during the price's impulsive movement in an uptrend or downtrend.
Here's how the indicator works:
It determines the trend direction (up or down) based on the closing prices of the last three candles. An uptrend is identified if all three candles closed above their openings, and a downtrend if they closed below.
Depending on the trend direction, the indicator calculates the imbalance between candles. The imbalance is expressed as the difference between the low of the next candle and the high of the previous candle for an uptrend or the low of the previous candle and the high of the next candle for a downtrend. The imbalance value should be greater than 0.
When an imbalance is detected, the indicator draws a rectangle on the chart. The rectangle starts at the candle with the detected imbalance, the upper border is at the top of the imbalance, and the lower border is at the bottom of the imbalance.
The color of the rectangle depends on the trend direction: green for an uptrend and red for a downtrend.
The rectangle continues dynamically to the right until it is intersected by the next candles by 50% or more (by default). The intersection can occur in various combinations (shadow, body, or shadow + body of the candle). Once this happens, the rectangle ends on the last overlapping candle. The height overlap percentage is adjustable in the range of 1 to 100, with a default value of 50%.
Use the Imbalance Indicator to identify potential price reversal zones. Algorithms aim to cover the imbalance and trade the range in which it formed, representing a potential magnet for the price.
In the multi-timeframe version of the indicator, along with the current timeframe, rectangles from timeframes: 15 minutes, 1 hour, 4 hours, and 1 day are displayed by default (and can be adjusted in settings). Other timeframes (e.g., 1 week and 1 month or 30 minutes) can be selected in the settings.
You can activate/deactivate the display of imbalances from different timeframes of your choice by setting the corresponding checkbox.
Additionally, rectangles from different timeframes have different default levels of transparency, decreasing with increasing timeframe.
Frames on additional timeframes are disabled by default in transparency settings; adjust as needed in color settings.
Like in the previous version, you can customize the color scheme of rectangles for each timeframe individually.
Information display about timeframes other than the current one on imbalances is available and can be disabled in settings for each timeframe individually.
For your convenience, in the buyers' interest zone, a label is placed at 50% of the rectangle's width, spanning 3 candles. Now you can set a limit order right at the label without relying on Fibonacci retracements.
(RUS) Imbalance indicator (Multi-TimeFrame) - это индикатор, предназначенный для визуализации имбаланса между двумя соседними свечами на графике путем рисования прямоугольников. Он помогает определить доминирование покупателей или продавцов во время импульсного движение цены на восходящем или нисходящем тренде.
Вот как работает индикатор:
Он определяет направление тренда (вверх или вниз) на основе закрытия последних трех свечей. Тренд вверх определяется, если все три свечи закрылись выше своих открытий, а тренд вниз - если ниже.
В зависимости от направления тренда, индикатор вычисляет имбаланс между свечами. Имбаланс выражается в виде разницы между низом следующей свечи и верхом предыдущей свечи для восходящего тренда или между низом предыдущей свечи и верхом следующей свечи для нисходящего тренда. Значение имбаланса должно быть больше 0.
Если имбаланс обнаружен, индикатор рисует прямоугольник на графике. Прямоугольник начинается на свече с найденным имбалансом, верхняя граница прямоугольника находится на верхней границе имбаланса, а нижняя граница - на нижней границе имбаланса.
Цвет прямоугольника зависит от направления тренда: зеленый для восходящего тренда и красный для нисходящего тренда.
Прямоугольник продолжается вправо динамически, пока его не пересекут следующие свечи на 50% или более (по умолчанию). Пересечение может произойти различными комбинациями (тень, тело или тень + тело свечи). Как только это происходит, прямоугольник заканчивается на последней перекрывающей его свече. Процент перекрытия по высоте настраивается в интервале от 1 до 100, по умолчанию значение 50%.
Используйте Imbalance Indicator для определения зон вероятного возврата цены. Алгоритмы стремятся перекрыть имбаланс и проторговать диапазон, в котором он образовался, это потенциальный магнит для цены.
В мульти-таймфреймной версии индикатора, наряду с текущим таймфреймом, при первом запуске (и до момента, пока вы не измените это в настройках), отображаются прямоугольники с таймфреймов:
15 минут,
1 час,
4 часа,
1 день.
При этом другие таймфреймы (например 1 неделя и 1 месяц или 30 минут) можно выбрать в настройках.
Вы можете активировать/деактивировать отображение имбалансов с разных таймфреймов по вашему выбору, установив соответствующую галочку.
Кроме того, прямоугольники с разных таймфреймов по умолчанию имеют различную степень прозрачности, которая уменьшается по мере увеличения таймфрейма
Рамки на дополнительных таймфреймах, по умолчанию отключены настройками прозрачности, при необходимости измените это в настройках цвета.
Как и в предыдущей версии, вы можете настраивать под себя цветовую схему прямоугольников, причём для каждого таймфрейма в отдельности.
На имбалансах с отличных от текущего таймфреймов, доступно отображение информации о таймфрейме, данная опция отключается в настройках для каждого таймфрейма в отдельности.
Для вашего удобства, в зоне интереса покупателей, на 50% прямоугольника сделана метка шириною в 3 свечи, теперь не нужно натигивать фибо, можете сразу выставить лимитку по метке.
PercenageDropFromATHINFO:
The PercenageDropFromATH script is fairly simple indicator, which is able to:
detect the last ATH (real ATH of the full chart, not related to the selected timeframe) and plot it
user can select a percentage of drop from this price, and once reached can receive a notification
Note that if the ATH is outside of the visibility of the currently selected timeframe the indicator will not be able to show it. Recommended settings is 1D TF!
DETAILS:
The purpose of the script is to serve to ease passive investments in ETFs and indices, once those are dropping below certain point from the ATH.
Individual stocks are not really recommended in my view, as unlike the indices which are cherry picking the best companies from the sector, individual companies can always start drifting away.
Anyway, the indicator should work on all assets, including crypto, gold, etc.
Example usage could be of setting an alert for 25% drop in SPY, and start accumulating positions on every next 10% additional drop, so DCA can be done with favorable prices.
SETTINGS
The settings are pretty straight forward:
ATH Source - source for computing the ATH, default to "high", but user can select to check only on open/close/low as well
Percentage drop target from ATH - self explaining, default to 20
ATH color - only the last ATH until the current bar is been drawn
Plot ATH drop target price - optionally the target price after the percentage drop can be plotted as well
ATH drop target color - the color of the price after the percentage drop from ATH
Trailing Stop-Loss Indicator (FinnoVent)The Dynamic 9 EMA Trailing Stop-Loss Indicator is a specialized tool designed for the TradingView community to enhance risk management in trading. This script dynamically adjusts a trailing stop-loss level based on the position of the price relative to a 9-period Exponential Moving Average (EMA), offering traders a systematic approach to protect potential profits and limit downside risk.
Functionality:
Adaptive Trailing Stop: The indicator calculates a trailing stop-loss that adjusts with the 9 EMA, providing a responsive method to secure gains or prevent extensive losses.
EMA Trend Indicator: The 9-period EMA serves as a momentum indicator, with the script adjusting the trailing stop-loss accordingly — above the EMA for short positions and below for long positions.
Entry Signal Visualization: Entry signals are visualized on the chart, indicating potential long and short positions based on price crossovers with the EMA.
Application:
This indicator is ideal for traders who utilize technical analysis to make informed decisions. By automatically adjusting the stop-loss level to the evolving market conditions, it is particularly useful for:
Day traders looking to capitalize on short-term price movements.
Swing traders aiming to secure positions during more extended market waves.
Any trading strategy that benefits from dynamic stop-loss management.
Usage:
To use the indicator, simply add it to your TradingView chart, and it will automatically plot the trailing stop levels. The green and red lines represent the trailing stops for long and short positions, respectively, providing clear visual cues for potential exit points.
Compliance with TradingView House Rules:
This script is provided for educational purposes and does not constitute investment advice. It is a unique creation that has been developed to contribute to the TradingView community by offering a tool that helps traders manage their trades more effectively.
CFX - Plot HTF BarIf you lose track of what's going on while being on the lower timeframes, you can use this indicator in order to plot the higher timeframe bar to the right hand side of the chart.
Supports multiple timeframes
Supports different colors
Supports different color for inside bars
Supports toggle-able pip range
Fractal Consolidations [Pro+]Introduction:
Fractal Consolidations Pro+ pushes the boundaries of Algorithmic Price Delivery Analysis. Tailored for traders seeking precision and efficiency to unlock hidden insights, this tool empowers you to dissect market Consolidations on your terms, live, in all asset classes.
What is a Fractal Consolidation?
Consolidations occur when price is trading in a range. Normally, Consolidation scripts use a static number of "lookback candles", checking whether price is continuously trading inside the highest and lowest price points of said Time window.
After years spent studying price action and numerous programming attempts, this tool succeeds in veering away from the lookback candle approach. This Consolidation script harnesses the delivery mechanisms and Time principles of the Interbank Price Delivery Algorithm (IPDA) to define Fractal Consolidations – solely based on a Timeframe Input used for context.
Description:
This concept was engineered around price delivery principles taught by the Inner Circle Trader (ICT). As per ICT, it's integral for an Analyst to understand the four phases of price delivery: Consolidation , Expansion , Retracement , and Reversal .
According to ICT, any market movement originates from a Consolidation, followed by an Expansion .
When Consolidation ranges begin to break and resting liquidity is available, cleaner Expansions will take place. This tool's value is to visually aid Analysts and save Time in finding Consolidations in live market conditions, to take advantage of Expansion moves.
CME_MINI:ES1! 15-Minute Consolidation setting up an Expansion move, on the 10 Minute Chart:
Fractal Consolidations Pro+ doesn't only assist in confirming Higher Timeframe trend continuations and exposing opportunities on Lower Timeframes. It's also designed for both advanced traders and new traders to save Time and energy in navigating choppy or rangebound environments.
CME_MINI:ES1! 30 Minute Consolidation forming Live, on the 5 Minute Chart:
By analyzing past price action, traders will find algorithmic signatures when Consolidations are taking place, therefore providing a clearer view of where and when price is likely to contract, continue consolidating, breakout, retrace, or reverse. A prominent signature to consider when using this script is ICT's Market Maker Buy/Sell Models. These signatures revolve around the engineering of Consolidations to manipulate price in a specific direction, to then reverse at the appropriate Time. Each stage of the Market Maker Model can be identified and taken advantage of using Fractal Consolidations.
CME_MINI:NQ1! shift of the Delivery Curve from a Sell Program to a Buy Program, Market Maker Buy Model
Key Features:
Tailored Timeframes: choose the Timeframe that suits your model. Whether you're a short-term enthusiast eyeing 1 Hour Consolidations or a long-term trend follower analyzing 4 Hour Consolidations, this tool gives you the freedom to choose.
FOREXCOM:EURUSD Fractal Consolidations on a 15 Minute Chart:
Auto-Timeframe Convenience: for those who prefer a more dynamic and adaptive approach, our Auto Timeframe feature effortlessly adjusts to the most relevant Timeframe, ensuring you stay on top of market consolidations without manually adjusting settings.
Consolidation Types: define consolidations as contractions of price based on either its wick range or its body range.
COMEX:GC1! 4 Hour Consolidation differences between Wick-based and Body-based on a 1 Hour Chart:
Filtering Methods: combine previous overlapping Consolidations, merging them into one uniform Consolidation. This feature is subject to repainting only while a larger Consolidation is forming , as smaller Consolidations are confirmed. However once established, the larger Consolidation will not repaint .
FOREXCOM:GBPUSD 15 Minute Consolidation Differences between Filter Consolidations ON and OFF:
IPDA Data Range Filtering: this feature gives the Analyst control for selective visibility of Consolidations in the IPDA Data Range Lookback . The Analyst can choose between 20, 40, and 60 days as per ICT teachings, or manually adjust through Override.
INDEX:BTCUSD IPDA40 Data Range vs. IPDA20 Data Range:
Extreme Float: this feature provides reference points when the price is outside the highest or lowest liquidity levels in the chosen IPDA Data Range Lookback. These Open Float Extremes offer critical insights when the market extends beyond the Lookback Consolidation Liquidity Levels . This feature helps identify liquidity extremes of interest that IPDA will consider, which is crucial for traders in understanding market movements beyond the IPDA Data Ranges.
INDEX:ETHUSD Extreme Float vs. Non-Extreme Float Liquidity:
IPDA Override: the Analyst can manually override the default settings of the IPDA Data Range Lookback, enabling more flexible and customized analysis of market data. This is particularly useful for focusing on recent price actions in Lower Timeframes (like viewing the last 3 days on a 1-minute timeframe) or for incorporating a broader data range in Higher Timeframes (like using 365 days to analyze Weekly Consolidations on a daily timeframe).
Liquidity Insight: gain a deeper understanding of market liquidity through customizable High Resistance Liquidity Run (HRLR) and Low Resistance Liquidity Run (LRLR) Consolidation colors. This feature helps distinguishing between HRLR (high resistance, delayed price movement) and LRLR (low resistance, smooth price movement) Consolidations, aiding in quick assessment of market liquidity types.
TVC:DXY Low Resistance vs. High Resistance Consolidation Liquidity Behaviour and Narrative:
Liquidity Raid Type: decide whether to categorize a Consolidation liquidity raid by a wick or body trading through a level.
CBOT:ZB1! Wick vs. Body Liquidity Raid Type:
Customizable User Interface: tailor the visual representation to align with your preferences. Personalize your trading experience by adjusting the colors of consolidation liquidity (highs and lows) and equilibrium, as well as line styles.
Custom RSI with RMA SmoothingCustom RSI with RMA Smoothing is smoothing the classic Relative Strength Index to enhance the effectiveness of using the RSI for trend-following through noise reduction.
Principle:
1. RSI is smoothed by the Rolling Moving Average (RMA) and averaged Gains & Losses instead of the classic RSI calculation.
2. A RMA is plotted over the RSI where the crossovers can be entry and exit points.
How is RSI smoothed by the RMA:
1. Outside the common price sources a few new options like hhhlc or hlcc can be chosen where the emphasis is more on the high or the close of the chosen period.
2. Calculation of Price Change: After selecting the price source, the indicator calculates the price change by subtracting the previous period's price from the current price.
3. RMA Smoothing of Price Change: The key step in smoothing the RSI is the application of the Running Moving Average (RMA) to the price change. The length of this RMA is set by the user and determines the extent of smoothing. RMA is a type of moving average that gives more weight to recent data points, making it more responsive to new information while still smoothing out short-term fluctuations.
4. Determining Gains and Losses: The smoothed price change is then used to calculate the gains and losses for each period. Gains are considered when the smoothed price change is positive, and losses when it is negative.
5. Averaging Gains and Losses: These gains and losses are further smoothed by calculating their respective RMAs over the user-defined RSI length. This step is crucial as it dampens the impact of short-term price spikes and drops, giving a more stable and reliable measure of price momentum.
6. RSI Calculation: The standard RSI formula (100 - ) is then applied to these smoothed values. This results in the initial RSI value, which is already more stable than a typical RSI due to the previous smoothing steps.
7. Final RMA Smoothing of RSI: In a final layer of refinement, the RSI itself is smoothed using another RMA, over a length specified by the user. This additional smoothing further reduces the impact of short-term volatility and sharp price movements, providing a more coherent and interpretable RSI line.
DUCANH - KELTNER CHANNELS + EMA STRATEGY This is a strategy/combination of warning indicators using 3EMA and Keltner Channels.
I set up this strategy with the aim of reducing analytical labor in the market. When this strategy warns signals, then buy or sell.
This strategy setup works for timeframes, however it can still work for different timeframes.
It works well with Gold in various timeframes. If you want to apply it to other currency pairs, you must fine-tune the parameters for maximum efficiency.
The strategy details are as follows:
Ingredient:
EMA50 + EMA120 + SMA
Keltner Channels
Long position Alert:
EMA50 is above EMA120
The candlestick touches the lower KC band
Long position alert will trigger when the candlestick reaches the above conditions and the candlestick starts crossing up to the SMA
Short position Alert:
EMA50 is below EMA120
The candlestick touches the upper KC band
A short position alert will trigger when the candlestick reaches the above conditions and starts crossing down to SMA
Recommended RR: 1:3
If you have any questions please let me know !
MTF Market Structure - SMC IndicatorsThe Multi Timeframe Market Structure helps understand and identify bullish or bearish Market Structure by highlighting “KEY” Highs and Lows. It also identifies changes in market direction by identifying a “Shift in Market Structure” (See Point 2 below) or “Break in Market Structure” (See Point 3 Below).
What are Key Highs and Lows?
Not every high or low is a “Key” high or low. “Key” highs and lows are specific highs and lows that form the structure of the market and have significance in understanding the current trend in the market (see point 1 below).
The indicator identifies these “Key” highs and lows on multiple time frames, allowing the trader to keep a perspective of the Market Structure with multiple timeframes simultaneously (see point 5 below).
The key highs and lows identified by the indicator are as follows:
Key Lows : Identify significant Swing Lows, Short-term lows “STL”, Intermediate-Term Lows “ITL”, and Long-Term Lows “LTL”.
Key Highs : Identify significant Swing Highs, Short-term highs “STH”, Intermediate-Term Highs “ITH”, and Long-Term Highs “LTH”.
Significant Swing High : This is a price swing with one lower candle to the right and one lower candle to the left of it.
Significant Swing Low : This is a price swing with one higher candle to the right and one higher candle to the left of it.
Short-Term High “STH” is a price swing with one lower Significant Swing High to the right and one lower Significant Swing High to the left of it.
Short-Term Low “STL” is a price swing with one higher Significant Swing Low to the right and one higher Significant Swing Low to the left of it.
Intermediate-Term High “ITH” is a price swing with one lower STH to the right and one lower STH to the left of it.
Intermediate-Term Low “ITL” is a price swing with one higher STL to the right and one higher STL to the left of it.
Long-Term High “LTH” is a price swing with one lower ITH to the right and one lower ITH to the left of it.
Long-Term Low “ITL” is a price swing with one higher ITL to the right and one higher ITL to the left of it.
By identifying key highs and lows using the Market Structure Indicator, it can be used in multiple ways by using those reference points as follows:
1. Identifying Market Trends by Connecting Key Highs and Lows.
Bullish trend identification is when the indicator is making higher ITLs and ITHs.
Bearish Trend identification when the indicator is making lower ITLs and ITHs.
PS: it’s essential to understand the underlying market trend on multiple timeframes to use the next features correctly. Always use the Shifts and Breaks in Market Structures in line with the 1H or higher timeframes Market Trend for higher probability trade opportunities. This is because, generally, higher timeframes have more importance than lower timeframes.
2. Shift In Market Structure - SMS for Entries
A Shift in Market Structure “SMS” identifies potential reversal in short-term market trend relative to the timeframe where the SMS is identified.
This occurs after a run of any Significant Swing High or Low and then reversing, creating a Fair Value Gap “FVG”.
There can be Bullish and Bearish Market Structure Shifts.
When a Bullish Shift in Market Structure occurs, the indicator identifies an opportunity for the price to change from Bearish to Bullish, as seen in the image below.
When a Bearish Shift in Market Structure occurs, the indicator identifies an opportunity for the price to change from Bullish to Bearish.
3. Break In Market Structure - BMS for Entries
A Break in Market Structure “BMS” has a similar function to the Shift in Market Structure “SMS”; however, when it occurs, it identifies a potential longer-term trend reversal (compared to the SMS) relative to the timeframe where the BMS is identified.
Unlike “SMS”, the BMS occurs after a run only after a run on Key Highs or Lows.
Similar to the SMS, there can be Bullish and Bearish Breaks in Market Structure.
When a Bullish Break in Market Structure occurs, the indicator identifies an opportunity for a longer-term trend change from Bearish to Bullish, as seen in the image below.
The FVG must occur in the lower 50% of the impulse price leg (at Discount).
When a Bearish Break in Market Structure occurs, the indicator identifies an opportunity for a longer-term trend change from Bullish to Bearish.
The FVG must occur in the upper 50% of the impulse price leg (at Premium).
4. Inversion Break and Shift in Market Structure for Early Entries
Inversion “BMS” and “SMS” are similar to the normal SMS and BMS, but they occur:
Bullish: When the FVG of the Bearish BMS/SMS forms in the lower 50% of the impulse price leg (at Discount).
We use the FVG that forms from the Bearish SMS/BMS as an inversion FVG for potential entry after market trend change from Bearish to Bullish.
Bearish: When the FVG of the Bullish BMS/SMS forms in the upper 50% of the impulse price leg (at Premium).
We use the FVG that forms from the Bullish SMS/BMS as an inversion FVG for potential entry after market trend change from Bullish to Bearish.
5. Multi Time Frame analysis
The indicator allows multiple timeframe perspectives to be considered when using it.
The key Highs and Lows have significance not only on the current timeframe they are identified but also on lower or higher timeframes simultaneously.
This is because a ITL/ITH on the 1H means
It’s a LTL/LTH on one or more timeframes lower (15Min, 5M, and 1Min).
And at the same time, it’s a STL/STH on one timeframe higher (4H)
Also, it’s a Significant Low/High (marked with a dot) on two timeframes higher (Daily).
The same logic applies to all other Key Highs and Lows.
Another example is a Significant Low/High (swing marked with a dot below or above it) on the current timeframe (1D) means it’s a STL/STH on one timeframe lower (4H) and an ITL/ITH on two timeframes lower (1H) and a LTH/LTH on three timeframes lower or more (15M, 5M, 1Min, 30 Seconds, etc…).
This Multi-time frame analysis is a great way to help traders understand Market Structure and Market trend on multiple timeframes simultaneously, and it also assists in Top-down analysis.
PS: Note that this multi-timeframe analysis approach and logic can be applied to any timeframe and for any type of trading (swing trading, day trading, scalping, or short-term trading) because the price is fractal.
For example, if a trader is a swing trader, then it’s best to identify trader opportunities on the 1H or higher; however, lower timeframes Market Structure can still be used to help the traders refine their entries and target key highs and lows in the opposite direction.
If a trader is a day trader or a scalper, the trader could use Market Structure on 15M or lower to identify trader opportunities and target key highs and lows in the opposite direction.
6. Setting Targets
The indicator can also be used to identify potential targets after the SMS or BMS occurs. Targets can be chosen above Key Highs or Lows depending on the trade objective and timeframe where the trade idea is identified.
Bonus Features
Highlight Market Structure Trend
This feature is an excellent backtesting visual tool to look at changes in market trends highlighted in colours. These changes are based on the Shift or Break in of Market Structure depending on the selection option.
When "Shift/Break" in Market Structure" is selected, a Bullish trend is highlighted in blue when a Bullish Shift/Break in Market Structure Occurs and in Red when a Bearish Shift/Break in Market Structure Occurs.
Notifications
Sends notifications when there is a Shift or Break in Market Structure on the current timeframe of choice.
V Shape Rebound - Valuation / Undervalued ZoneThe Indicator is a tool designed to assist value investors(short, middle, long) in identifying potential undervalued market opportunities.
How to Use:
The valuation level and valuation method can be adapted to individual risk management and capital management.
Observe Bottom Price: Using the system's historical data and V-bounce indicator, observe if a company is at the bottom of the price to show that it is undervalued.
The valuation levels are categorized into deep undervalue, light undervalue, and bullish retracement levels, and deep and light undervalue are usually used as buy positions.
Real-time Alerts: Users can set up real-time alert functionality to ensure they do not miss potential undervalued investment opportunities.
Combined with FIE Indicator: The indicator can be used in conjunction with the Financial Fundamental Intelligent Evaluation(FIE) indicator to provide investors with more comprehensive and accurate decision-making support.
**There are 8 key elements that must be adhered to before investing,
healthy financial position,
stable profitability,
stable cash flow,
good management quality,
no suspicion of accounting fraud,
undervalued price,
positive industry position and
strong competitive advantage
**It is important to ensure that the FIE's main indices are high average score and low score volatility.
The main indices include:
Comprehensive,
Compressive Strength,
Borrowing Capability,
Profitability,
Liquidity,
Leverage or debt,
Secondary indices include:
Quality of Earning,
Receivability,
Auxiliary indices greater than score 30~50 can indicate that Profitability is very solid.
Example 01
NYSE:TPL
Example 02
NASDAQ:AMAT
Example 03
NASDAQ:NVDA
Example 04
NASDAQ:USLM
Example 05
NASDAQ:CPRT
Opening/Closing Highs and LowsDescription:
This indicator tracks the daily, monthly, and yearly opening, closing, highs, and lows in the stock market. It's designed to display crucial price points within different time frames, aiding traders in assessing significant market movements.
Features:
Daily View: Shows the opening, closing, highest, and lowest prices within each trading day.
Monthly Overview: Highlights the monthly opening, closing, highs, and lows to offer insights into broader market trends.
Yearly Perspective: Presents the annual opening, closing, highs, and lows, aiding in long-term market analysis.
How to Use:
Daily Analysis: Monitor daily fluctuations and spot intraday trends by observing the daily opening/closing ranges.
Monthly Trends: Identify monthly patterns by reviewing the monthly opening/closing levels.
Yearly Insights: Gain a broader perspective on yearly market movements by analyzing the annual highs and lows
Gorb WallIntroduction:
Gorb Wall is a trading tool that offers a unique approach to market trend analysis. It extends the capabilities of the Gorb Algo indicator by presenting a multi-ticker, multi-timeframe dashboard, enabling traders to capture crucial market movements across various financial instruments without flipping through charts.
Overview:
Multi-Ticker Analysis: Monitor and analyze multiple financial instruments simultaneously.
Customizable Timeframes: Tailor the script to various timeframes to suit your trading strategy.
Gorb Algo Market Trend: An algorithm that adapts to market conditions, providing insights into trend changes.
User-Friendly Dashboard: Easily configure and customize the dashboard placement on your chart.
Color-Coded Trend Indicators: Visual cues to quickly assess bullish or bearish trends.
Optimized for Performance: Efficiently coded to ensure smooth running on TradingView without overloading resources.
How Gorb Wall Works:
The script utilizes Gorb Algo's market trend algorithm to process price and volume data across selected tickers and timeframes.
It applies a complex calculation to identify trends, using a combination of volatility analysis, momentum measurements, and trend strength indicators.
The output is a simplified visual representation on the dashboard, where colored circles indicate the trend direction, providing an at-a-glance market overview.
Unique Features:
Proprietary Algorithm: The heart of Gorb Wall lies in its unique Gorb Algo Market Trend algorithm. Unlike standard trend-following indicators, this proprietary algorithm integrates multiple technical analysis concepts (e.g., moving averages, volume data, price action, and oscillators) to provide a more comprehensive market trend analysis.
Multi-Dimensional Analysis: The script analyzes market trends by simultaneously processing data across multiple tickers and timeframes, offering a broader view of market movements than traditional single-ticker indicators.
We recommend exploring & choosing which tickers/timeframes best suits your needs and style of trading, and use that to combine with our suite of indicators.
Settings:
All skill-level friendly presets, easy to enable features with one-click
Dashboard Placement: Choose from top/bottom left/right for dashboard positioning.
Trend Speed Mode: Select the algorithm speed - Fast, Medium, Slow, Slowest.
Bullish/Bearish Trend Colors: Customize colors for trend indicators.
Additional Tickers: Input options for monitoring multiple financial instruments.
Timeframe Selection: Choose from a range of timeframes for each ticker.
How to Use
In the image below, we can see a basic example of how this indicator functions.
The dashboard displays up to three different tickers per the user's choice, with 4 different timeframes the user can choose. It that runs the algorithm line on the specified ticker & timeframe and plots a colored circle that identifies that tickers trend on the specified timeframes.
There are two colors, white for bullish trend and purple for bearish trend. These are the two consistent colors across our suit of indicators to help simplify trading by using simple color matching for confluence. Below is a continued breakdown on using this indicator:
Dynamic Trend Visualization in Real-Time Updates
The dashboard dynamically updates trend colors (white for bullish, purple for bearish) based on real-time market data, offering immediate insights into market sentiment. The next three images below these the live change in data as price action begins developing over multiple timeframes.
In the image above, we are on the 5min AAPL chart, we have SPY, QQQ, and VIX as our tickers on the dashboard with 1min, 2min, 3min, and 10min timeframes chosen. We begin to see VIX flip bullish, which can usually mean down side for indices.
We then see as AAPL's price begins to slow and reverse, we see SPY's trend following on the smaller timeframes first with VIX still leading the way indicating possible bearish change.
In the image above, we can see that price dips down and SPY & QQQ market trends have flipped bearish on all timeframes, while VIX continues to be bullish(validating the downwards price action)
Customizable Settings
Users can adjust settings such as dashboard placement, trend speed mode, and color themes to suit individual trading styles.
In the image below, we can see the dashboard placement setting offers four different locations the user can move the dashboard. Just like in Gorb Algo , the user can choose which trendline speed they want to use to best fit their trading strategy.
In the image below, we can see the "bullish trend" & "bearish trend" colors setting. These colors by default match the rest of our suite of indicators, white is bullish and purple is bearish. Users can change these color settings to meet their preferences.
In the image below, we can see there are three market ticker options that the user can change. This allows users to monitor their favorite tickers across or easily flip through multiple tickers in order to gauge their current market trends without having to change their chart
In the image below, we can see the 4 timeframes that are on the dashboard. The user has the ability to change each of those four, to whatever timeframe best suits their trading needs. There are 12 different timeframe options to choose from.
Quick Dashboard Review
Using color-coded trend detection, this quickly gauges market trends and provides a visual to easily identify these changes in real-time across multiple timeframes. When a circle changes color, this means that price has flipped that direction, causing a change in the Gorb Algo market trendline. As stated above, white is for bullish trend and purple is for bearish trend, but these colors can be changed to fit the users trading strategy and style. Each timeframe the user chooses will be updated in real-time, including the higher time frames like the daily & weekly. They have been modified to pull data a same speed the lower timeframes are.
This helps provide quick visual identification of real market trend changes as price action develops. It is best used in conjunction with other forms of technical analysis for a holistic trading approach.
Conclusion:
This indicator is designed to streamline market trend analysis, offering traders an innovative, efficient, and easy-to-use tool for making informed trading decisions. This tool complements our suite of indicators, providing unique market insights that are not typically available in traditional open-source scripts.
How to get access:
You can see the Author's instructions to get access to this indicator
RISK DISCLAIMER
All content, tools, scripts & education provided by Gorb Algo are for informational & educational purposes only. Trading is risky and most lose their money, past performance does not guarantee future results.
ICT IPDAGuided by ICT tutoring, I create this versatile indicator "IPDA".
This indicator shows a different way of viewing the “IPDA” by calculating from START
(-20 / -40 / -60) to (+20 /+40 /+60) Days, showing the Highs and Lows of the IPDA of the Previous days and both of the subsequent ones, the levels of (-20 / -40 / -60) Days can be taken into consideration as objectives to be achieved in the range of days (+20 /+40 /+60)
The user has the possibility to:
- Choose whether to display IPDAs before and after START
- Choose to show High and Low levels
- Choose to show Prices
The indicator should be used as ICT shows in its concepts.
Example on how to evaluate a possible Start IPDA:
Example for Entry targeting IPDAs :
If something is not clear, comment below and I will reply as soon as possible.
Adaptive MFT Extremum Pivots [Elysian_Mind]Adaptive MFT Extremum Pivots
Overview:
The Adaptive MFT Extremum Pivots indicator, developed by Elysian_Mind, is a powerful Pine Script tool that dynamically displays key market levels, including Monthly Highs/Lows, Weekly Extremums, Pivot Points, and dynamic Resistances/Supports. The term "dynamic" emphasizes the adaptive nature of the calculated levels, ensuring they reflect real-time market conditions. I thank Zandalin for the excellent table design.
---
Chart Explanation:
The table, a visual output of the script, is conveniently positioned in the bottom right corner of the screen, showcasing the indicator's dynamic results. The configuration block, elucidated in the documentation, empowers users to customize the display position. The default placement is at the bottom right, exemplified in the accompanying chart.
The deliberate design ensures that the table does not obscure the candlesticks, with traders commonly situating it outside the candle area. However, the flexibility exists to overlay the table onto the candles. Thanks to transparent cells, the underlying chart remains visible even with the table displayed atop.
In the initial column of the table, users will find labels for the monthly high and low, accompanied by their respective numerical values. The default precision for these values is set at #.###, yet this can be adjusted within the configuration block to suit markets with varying degrees of volatility.
Mirroring this layout, the last column of the table presents the weekly high and low data. This arrangement is part of the upper half of the table. Transitioning to the lower half, users encounter the resistance levels in the first column and the support levels in the last column.
At the center of the table, prominently displayed, is the monthly pivot point. For a comprehensive understanding of the calculations governing these values, users can refer to the documentation. Importantly, users retain the freedom to modify these mathematical calculations, with the table seamlessly updating to reflect any adjustments made.
Noteworthy is the table's persistence; it continues to display reliably even if users choose to customize the mathematical calculations, providing a consistent and adaptable tool for informed decision-making in trading.
This detailed breakdown offers traders a clear guide to interpreting the information presented by the table, ensuring optimal use and understanding of the Adaptive MFT Extremum Pivots indicator.
---
Usage:
Table Layout:
The table is a crucial component of this indicator, providing a structured representation of various market levels. Color-coded cells enhance readability, with blue indicating key levels and a semi-transparent background to maintain chart visibility.
1. Utilizing a Table for Enhanced Visibility:
In presenting this wealth of information, the indicator employs a table format beneath the chart. The use of a table is deliberate and offers several advantages:
2. Structured Organization:
The table organizes the diverse data into a structured format, enhancing clarity and making it easier for traders to locate specific information.
3. Concise Presentation:
A table allows for the concise presentation of multiple data points without cluttering the main chart. Traders can quickly reference key levels without distraction.
4. Dynamic Visibility:
As the market dynamically evolves, the table seamlessly updates in real-time, ensuring that the most relevant information is readily visible without obstructing the candlestick chart.
5. Color Coding for Readability:
Color-coded cells in the table not only add visual appeal but also serve a functional purpose by improving readability. Key levels are easily distinguishable, contributing to efficient analysis.
Data Values:
Numerical values for each level are displayed in their respective cells, with precision defined by the iPrecision configuration parameter.
Configuration:
// User configuration: You can modify this part without code understanding
// Table location configuration
// Position: Table
const string iPosition = position.bottom_right
// Width: Table borders
const int iBorderWidth = 1
// Color configuration
// Color: Borders
const color iBorderColor = color.new(color.white, 75)
// Color: Table background
const color iTableColor = color.new(#2B2A29, 25)
// Color: Title cell background
const color iTitleCellColor = color.new(#171F54, 0)
// Color: Characters
const color iCharColor = color.white
// Color: Data cell background
const color iDataCellColor = color.new(#25456E, 0)
// Precision: Numerical data
const int iPrecision = 3
// End of configuration
The code includes a configuration block where users can customize the following parameters:
Precision of Numerical Table Data (iPrecision):
// Precision: Numerical data
const int iPrecision = 3
This parameter (iPrecision) sets the precision of the numerical values displayed in the table. The default value is 3, displaying numbers in #.### format.
Position of the Table (iPosition):
// Position: Table
const string iPosition = position.bottom_right
This parameter (iPosition) sets the position of the table on the chart. The default is position.bottom_right.
Color preferences
Table borders (iBorderColor):
// Color: Borders
const color iBorderColor = color.new(color.white, 75)
This parameters (iBorderColor) sets the color of the borders everywhere within the window.
Table Background (iTableColor):
// Color: Table background
const color iTableColor = color.new(#2B2A29, 25)
This is the background color of the table. If you've got cells without custom background color, this color will be their background.
Title Cell Background (iTitleCellColor):
// Color: Title cell background
const color iTitleCellColor = color.new(#171F54, 0)
This is the background color the title cells. You can set the background of data cells and text color elsewhere.
Text (iCharColor):
// Color: Characters
const color iCharColor = color.white
This is the color of the text - titles and data - within the table window. If you change any of the background colors, you might want to change this parameter to ensure visibility.
Data Cell Background: (iDataCellColor):
// Color: Data cell background
const color iDataCellColor = color.new(#25456E, 0)
The data cells have a background color to differ from title cells. You can configure this is a different parameter (iDataColor). You might even set the same color for data as for the titles if you will.
---
Mathematical Background:
Monthly and Weekly Extremums:
The indicator calculates the High (H) and Low (L) of the previous month and week, ensuring accurate representation of these key levels.
Standard Monthly Pivot Point:
The standard pivot point is determined based on the previous month's data using the formula:
PivotPoint = (PrevMonthHigh + PrevMonthLow + Close ) / 3
Monthly Pivot Points (R1, R2, R3, S1, S2, S3):
Additional pivot points are calculated for Resistances (R) and Supports (S) using the monthly data:
R1 = 2 * PivotPoint - PrevMonthLow
S1 = 2 * PivotPoint - PrevMonthHigh
R2 = PivotPoint + (PrevMonthHigh - PrevMonthLow)
S2 = PivotPoint - (PrevMonthHigh - PrevMonthLow)
R3 = PrevMonthHigh + 2 * (PivotPoint - PrevMonthLow)
S3 = PrevMonthLow - 2 * (PrevMonthHigh - PivotPoint)
---
Code Explanation and Interpretation:
The table displayed beneath the chart provides the following information:
Monthly Extremums:
(H) High of the previous month
(L) Low of the previous month
// Function to get the high and low of the previous month
getPrevMonthHighLow() =>
var float prevMonthHigh = na
var float prevMonthLow = na
monthChanged = month(time) != month(time )
if (monthChanged)
prevMonthHigh := high
prevMonthLow := low
Weekly Extremums:
(H) High of the previous week
(L) Low of the previous week
// Function to get the high and low of the previous week
getPrevWeekHighLow() =>
var float prevWeekHigh = na
var float prevWeekLow = na
weekChanged = weekofyear(time) != weekofyear(time )
if (weekChanged)
prevWeekHigh := high
prevWeekLow := low
Monthly Pivots:
Pivot: Standard pivot point based on the previous month's data
// Function to calculate the standard pivot point based on the previous month's data
getStandardPivotPoint() =>
= getPrevMonthHighLow()
pivotPoint = (prevMonthHigh + prevMonthLow + close ) / 3
Resistances:
R3, R2, R1: Monthly resistance levels
// Function to calculate additional pivot points based on the monthly data
getMonthlyPivotPoints() =>
= getPrevMonthHighLow()
pivotPoint = (prevMonthHigh + prevMonthLow + close ) / 3
r1 = (2 * pivotPoint) - prevMonthLow
s1 = (2 * pivotPoint) - prevMonthHigh
r2 = pivotPoint + (prevMonthHigh - prevMonthLow)
s2 = pivotPoint - (prevMonthHigh - prevMonthLow)
r3 = prevMonthHigh + 2 * (pivotPoint - prevMonthLow)
s3 = prevMonthLow - 2 * (prevMonthHigh - pivotPoint)
Initializing and Populating the Table:
The myTable variable initializes the table with a blue background, and subsequent table.cell functions populate the table with headers and data.
// Initialize the table with adjusted bgcolor
var myTable = table.new(position = iPosition, columns = 5, rows = 10, bgcolor = color.new(color.blue, 90), border_width = 1, border_color = color.new(color.blue, 70))
Dynamic Data Population:
Data is dynamically populated in the table using the calculated values for Monthly Extremums, Weekly Extremums, Monthly Pivot Points, Resistances, and Supports.
// Add rows dynamically with data
= getPrevMonthHighLow()
= getPrevWeekHighLow()
= getMonthlyPivotPoints()
---
Conclusion:
The Adaptive MFT Extremum Pivots indicator offers traders a detailed and clear representation of critical market levels, empowering them to make informed decisions. However, users should carefully analyze the market and consider their individual risk tolerance before making any trading decisions. The indicator's disclaimer emphasizes that it is not investment advice, and the author and script provider are not responsible for any financial losses incurred.
---
Disclaimer:
This indicator is not investment advice. Trading decisions should be made based on a careful analysis of the market and individual risk tolerance. The author and script provider are not responsible for any financial losses incurred.
Kind regards,
Ely
Trend Direction Sequence | Auto-Multi-TimeframeThe main benefit of this indicator is the ability to see multiple higher timeframes at ones to get a better overview of signals that could mark possible trend reversals with more weight than those on the selected timeframe. Since the higher timeframes are calculated automatically, the user needs to set a Period Multiplier that multiplies the selected timeframe several times to determine the higher timeframes. Equal periods are filtered out. And the current highest timeframe is capped at 1 year by TradingView.
It is possible to alter the sequence Count Limit and the underlying Wavelength. The Wavelength defines the distance between the starting and ending candle. This builds the minimum condition to find a trend. A longer Wavelength means that the distortions between the start and end candle can be bigger, so it can become easier to find a trending sequence. But be careful not to set the length too high as this could mean that the resulting sequence does not really represent a trend anymore. The Count Limit defines the completion of a trending sequence. A higher number makes it more difficult to find a completed sequence, but also makes the result more reliable. If the Wavelength is changed, the Count Limit should be adjusted accordingly.
There is also a qualifier for the completion of a sequence. A completed sequence only will be labeled on the chart, if it is proved that the lowest low/highest high of the last two candlesticks of a period is lower/higher than that of the previous two candlesticks. It does not require the trend to be continuous on the last candlestick. On the contrary, a trend shift may already have begun.
By default, the labeling of completed sequences will appear on the highs and lows of the specific periods. Because the higher periods will take time and several candlesticks to appear, the labels will be redrawn accordingly. As an option it is possible to disable the Count Limit for completed sequences so that the labels will be fluently redrawn until the corresponding sequences are interrupted by trend breaks. Only activate this option, if it can serve a plausible strategy.
The count status of all sequences in the specific timeframe periods is listed in a table. Also the results of the trends in higher timeframes are accumulated and combined into an overall trend. Positive trends are counted as positive, negative in the opposite case. To see the resulting Trend Shift Signals, the user can set a filter under 100% so that not all of them will be filtered out and therefore labeled on the chart (this signals cannot be redrawn). An “External Indicator Analysis Overlay” can be used to analyze the profitability with the provided Trend Shift Signal (TSS) which switches from 0 to 1, if the trend becomes positive or from 0 to -1, if the trend becomes negative.
RSI 11 IndicatorThis script explains how RSI can be used to catch market moves in trend, reversal or sideways market.
What is RSI indicator:-
RSI is a momentum oscillator which measures the speed and change of price movements. RSI moves up and down (oscillates) between ZERO and 100. Generally RSI above 70 is considered overbought and below 30 is considered oversold. Some traders may use a setting of 20 and 80 for oversold and overbought conditions respectively. However this may reduce the number of signals. You can also use RSI to identify divergences, strength, reversals, general trend etc.
Calculation:-
There are three basic components in the RSI - Avg Gain, Avg Loss & RS.
Avg Gain = Average of Upward Price Change
Avg Loss = Average of Downward Price Change
RS = (Avg Gain)/(Avg Loss)
RSI = 100 – (100 / (1 +RS ))
First Calculation:-
RSI calculation is based on default 14 periods.
Average gain and Average loss are simple 14 period averages.
Average Loss equals the sum of the losses divided by 14 for the first calculation.
Average Gain equals the sum of the Gains divided by 14 for the first calculation.
First Average Gain = Sum of Gains over the past 14 periods / 14.
First Average Loss = Sum of Losses over the past 14 periods / 14.
The formula uses a positive value for the average loss.
RS values are smoothed after the first calculation.
Second Calculation:-
Subsequent calculations multiply the prior value by 13, add the most recent value, and divide the total by 14.
Average Gain = / 14.
Average Loss = / 14.
if
Average Loss = 0, RSI = 100 (means there were no losses to measure).
Average Gain = 0, RSI = 0 (means there were no gains to measure).
Logic of this indicator:-
RSI is an oscillator that fluctuates between zero and 100 which makes it easy to use for many traders.
Its easy to identify extremes because RSI is range-bound.
But remember that RSI works best in range bound market and is less trustworthy in trending markets.
A new trader need to be cautious because during strong trends in the market/security, RSI may remain in overbought or oversold for extended periods.
Chart Timeframe:-
RSI indicator works well on all timeframes.
Timeframe depends on which strategy or settings are you using.
Generally a lower timeframe like 1 min, 3 min, 5 min, 15 min, 30 min, 1 Hr etc is used for intraday trades or short duration trades
and higher timeframes like 1 day, 1 week, 1 month are used for positional or long term trades.
Please Read the Idea "Mastering RSI with 11 Strategies" to understand this indicator better.
Indicator 1
Basis Strategy of Overbought and Oversold
Usually an asset with RSI reading of 70 or above indicates a bullish and an overbought situation.
overbought can be seen as trading at a higher price than it should.
traders may expect a price correction or trend reversal and sell the security.
but RSI indicator can stay in the overbought for a long time when the stock is in uptrend - This may trap an immature trader.
an Immature trader will enter a sell position when RSI become overbought (70), whereas a mature trader will enter sell position when RSI line crosses below the overbought line (70).
An asset with RSI reading of 30 or below indicates a bearish and an oversold condition.
oversold can be seen as trading at a lower price than it should.
traders may expect a price correction or trend reversal and buy the security.
but RSI indicator can stay in the oversold for a long time when the stock is in downtrend - This may trap an immature trader.
an Immature trader will enter a buy position when RSI become oversold (30), whereas a mature trader will enter buy position when RSI line crosses above the oversold line (30).
Center dotted Mid line is RSI 50.
Chart RSI is shown in yellow colour.
Red shaded area above the red horizontal line shows the stock or security has entered overbought condition. "R" signal in red shows a likely downside reversal, means it may be a likely Selling opportunity.
Green shaded area below the green horizontal line shows the stock or security has entered oversold condition. "R" signal in green shows a likely upside reversal, means it may be a likely Buying opportunity.
Note:-
so its better to wait for reversal signal.
traders may use 20 instead of 30 as oversold level and 80 instead of 70 as overbought level.
new traders may learn to use the indicator as per the prevailing trend to get better results.
false signals may be avoided by using bullish signals in bullish trend and bearish signals in bearish trend.
Indicator 2
RSI Strength Crossing 50
RSI crossing centreline 50 in the below chart showing strength and buy/sell signal.
Centre line is at RSI 50.
if RSI is above 50 its considered bullish trend. (increasing strength)
if RSI is below 50 its considered bearish trend. (decreasing strength)
RSI crossing centre line (50) upside may be a buy signal.
RSI crossing centre line (50) downside may be a sell signal.
"B" signal in green colour shows that RSI is crossing above Mid 50 horizontal line, which may be a likely Buy signal.
"S" signal in red colour shows that RSI is crossing below Mid 50 horizontal line, which may be a likely Sell signal.
Indicator 3
RSI 40 and RSI 60 Support and Resistance
RSI 40 acting as support in the below chart
In an uptrend RSI tends to remain in the 40 to 90 range with 40 as support (buying opportunity at support).
RSI 60 acting as resistance in the below chart
In a downtrend RSI tends to remain in 10 to 60 range with 60 as resistance (selling opportunity at resistance).
"40" signal in green colour shows that RSI is crossing above 40 horizontal line, which may be a likely Support in making and a Buy signal.
"60" signal in red colour shows that RSI is crossing below 60 horizontal line, which may be a likely Resistance in making and a Sell signal.
Note:-
These ranges may change depending on RSI settings and change in the market trend.
Indicator 4
RSI Divergence
Below chart shows a simple example of Bullish Divergence and Bearish Divergence.
An RSI divergence occurs when price moves in the opposite direction of the RSI.
A bullish divergence is when price is falling but RSI is rising. which means RSI making higher lows and price making lower lows (buy signal).
A bearish divergence is when price is rising but RSI is falling. which means RSI making lower high and price making higher highs (sell signal).
Divergences are more strong when appear in an overbought or oversold condition.
There may be many false signals during a strong uptrend or strong downtrend.
In a strong uptrend, RSI may show many false bearish divergences before finally reversing down.
same way in a strong downtrend, RSI may show many false bullish divergences before finally reversing up.
"Bull Div" signal along with divergence line in green colour shows Bullish Divergence, which may be a likely Buy signal.
"Bear Div" signal along with divergence line in red colour shows Bearish Divergence, which may be a likely Sell signal.
Indicator 5
Double Top & Double Bottom
Double Bottom = RSI goes below oversold (30). RSI comes back above 30. RSI falls back again towards 30 and again rise making a Double bottom. its a signal of buying and likely upside reversal.
Double Top = RSI goes above overbought (70). RSI comes back below 70. RSI rises back again towards 70 and again fall making a Double top. its a signal of selling and likely downside reversal.
Double Bottom is shown with Green Dashed line joining two low's of RSI indicating a likely Buy Signal.
Double Top is shown with Red Dashed line joining two High's of RSI indicating a likely Sell Signal.
Indicator 6
Trendline Support and Resistance
Below chart shows RSI Trendline Resistance and Support
RSI resistance trendline = Connect three or more points on the RSI line as it falls to draw a RSI downtrend line (RSI resistance trendline).
Everytime it takes resistance from a RSI downtrend line its a selling opportunity.
RSI support trendline = Connect three or more points on the RSI line as it rises to draw a RSI uptrend line (RSI support trendline).
Everytime it takes support on a RSI uptrend line its a buying opportunity.
RSI Resistance trendline shown in Red colour indicating a likely fall again after rejection from this Red trendline till the time RSI breaks above it to change the trend from Bearsih to Bullish.
RSI support trendline shown in Green colour indicating a likely Rise again after support from this Green trendline till the time RSI breaks below it to change the trend from Bullish to Bearish.
Indicator 7
Trendline Breakout and Breakdown
Below chart shows RSI Trendline Breakout and Breakdown
RSI resistance trendline Breakout = Connect three or more points on the RSI line as it falls to draw a RSI downtrend line (RSI resistance trendline).
Whenever it breakout above RSI resistance trendline its a buying opportunity.
RSI support trendline Breakdown = Connect three or more points on the RSI line as it rises to draw a RSI uptrend line (RSI support trendline).
Whenever it breakdown below RSI support trendline its a selling opportunity.
Note:-
Correlate both the RSI and the closing price to ensure proper breakout or breakdown.
Challenge is to correctly identify if a breakout or breakdown is sustainable or its a false signal.
Indicator 8
RSI Crossover same timeframe
RSI with two different RSI length crossing each other on same timeframe.
when lower RSI length crossing above higher RSI length its a buy signal.
when lower RSI length crossing below higher RSI length its a sell signal.
for example RSI with length 7 & length 14 on 15 Minutes timeframe.
Green Cross shows that Fast RSI is crossing above Slow RSI on the same timeframe with different RSI length Settings, which means it may be a likely Buy Signal.
Red Cross shows that Fast RSI is crossing below Slow RSI on the same timeframe with different RSI length Settings, which means it may be a likely Sell Signal.
Indicator 9
RSI Crossover Multi timeframe
RSI with same RSI length but on two different timeframes crossing each.
when lower timeframe RSI crossing above higher timeframe RSI its a buy signal.
when lower timeframe RSI crossing below higher timeframe RSI its a sell signal.
for example RSI with length 14 on 5 Minutes and 1 Hr timeframes.
Green Cross shows that Lower Timeframe RSI is crossing above Higher Timeframe RSI with same RSI length Settings, which means it may be a likely Buy Signal.
Red Cross shows that Lower Timeframe RSI is crossing below Higher Timeframe RSI with same RSI length Settings, which means it may be a likely Sell Signal.
Indicator 10
RSI EMA/WMA/SMA Crossover
when RSI crossing above EMA/WMA/SMA its a buy signal.
when RSI crossing below EMA/WMA/SMA its a sell signal.
Green Circle shows that RSI is crossing above EMA/WMA/SMA etc, which means it may be a likely Buy Signal.
Red Circle shows that RSI is crossing below EMA/WMA/SMA etc, which means it may be a likely Sell Signal.
Indicator 11
RSI with Bollinger bands
Bollinger bands and RSI complimenting each other and giving a Buy and Sell signal in below chart
if a security price reaches upper band of a Bollinger Band channel and also the RSI is above 70 (overbought), a trader can look for selling opportunities (reversal) (sell).
but in case price reaches upper band of a Bollinger Band channel but RSI is not above 70 (overbought), there may be chance that security remains in an uptrend, so a trader may wait before entering a sell position.
if a security price reaches lower band of a Bollinger Band channel and also the RSI is below 30 (oversold), a trader can look for buying opportunities (reversal) (buy).
but in case price reaches lower band of a Bollinger Band channel but RSI is not below 30 (oversold), there may be chance that security remains in an downtrend, so a trader may wait before entering a buy position.
so bollinger band with RSI can give a double confirmation on a reversal.
Buy Signal = If the RSI is below Green Horizontal line (Oversold zone) and also below Lower Bollinger Band it indicates that an upside reversal may come, which means that it may be a likely Buy Signal.
Sell Signal = If the RSI is above Red Horizontal line (Overbought zone) and also above Upper Bollinger Band it indicates that an Downside reversal may come, which means that it may be a likely Sell Signal.
Special Thanks to //© HoanGhetti for RSI Trendlines.
Limitations of the RSI:-
RSI works best in range bound market and is less trustworthy in trending markets.
So new traders may get trapped in an uptrend or a downtrend if they forget to see the overall long term trend of that security.
Traders should set stop loss and take profit levels as per risk reward ratio.
Note:
Don't confuse RSI and relative strength. RSI is changes in the price momentum of a security.
whereas relative strength compares the price performance of two or more securities.
Like other technical indicators, RSI also is not a holy grail. It can only assist you in building a good strategy. You can only succeed with proper position sizing, risk management and following correct trading Psychology (No overtrade, No greed, No revenge trade etc).
THIS INDICATOR OF RSI IS FOR EDUCATIONAL PURPOSE AND PAPER TRADING ONLY. YOU MAY PAPER TRADE TO GAIN CONFIDENCE AND BUILD FURTHER ON THESE. PLEASE CONSULT YOUR FINANCIAL ADVISOR BEFORE INVESTING. WE ARE NOT SEBI REGISTERED.
Hope you all like it
happy learning.
Monday range by MatboomThe "Monday Range" Pine Script indicator calculates and displays the lowest and highest prices during a specified trading session, focusing on Mondays. Users can configure the trading session parameters, such as start and end times and time zone. The indicator visually highlights the session range on the chart by plotting the session low and high prices and applying a background color within the session period. The customizable days of the week checkboxes allow users to choose which days the indicator should consider for analysis.
Session Configuration:
session = input.session("0000-0000", title="Trading Session")
timeZone = input.string("UTC", title="Time Zone")
monSession = input.bool(true, title="Mon ", group="Trading Session", inline="d1")
tueSession = input.bool(true, title="Tue ", group="Trading Session", inline="d1")
Users can configure the trading session start and end times and the time zone.
Checkboxes for Monday (monSession) and Tuesday (tueSession) sessions are provided.
SessionLow and SessionHigh Functions:
SessionLow(sessionTime, sessionTimeZone=syminfo.timezone) => ...
SessionHigh(sessionTime, sessionTimeZone=syminfo.timezone) => ...
Custom functions to calculate the lowest (SessionLow) and highest (SessionHigh) prices during a specified trading session.
InSession Function:
InSession(sessionTimes, sessionTimeZone=syminfo.timezone) => ...
Determines if the current bar is inside the specified trading session.
Days of Week String and Session String:
sessionDays = ""
if monSession
sessionDays += "2"
if tueSession
sessionDays += "3"
tradingSession = session + ":" + sessionDays
Constructs a string representing the selected days of the week for the session.
Fetch Session Low and High:
sessLow = SessionLow(tradingSession, timeZone)
sessHigh = SessionHigh(tradingSession, timeZone)
Calls the custom functions to obtain the session low and high prices.
Plot Session Low and High and Background Color for Session
plot(sessLow, color=color.red, title="Session Low")
plot(sessHigh, color=color.red, title="Session Low")
bgcolor(InSession(tradingSession, timeZone) ? color.new(color.aqua, 90) : na)
Advanced Dynamic Threshold RSI [Elysian_Mind]Advanced Dynamic Threshold RSI Indicator
Overview
The Advanced Dynamic Threshold RSI Indicator is a powerful tool designed for traders seeking a unique approach to RSI-based signals. This indicator combines traditional RSI analysis with dynamic threshold calculation and optional Bollinger Bands to generate weighted buy and sell signals.
Features
Dynamic Thresholds: The indicator calculates dynamic thresholds based on market volatility, providing more adaptive signal generation.
Performance Analysis: Users can evaluate recent price performance to further refine signals. The script calculates the percentage change over a specified lookback period.
Bollinger Bands Integration: Optional integration of Bollinger Bands for additional confirmation and visualization of potential overbought or oversold conditions.
Customizable Settings: Traders can easily customize key parameters, including RSI length, SMA length, lookback bars, threshold multiplier, and Bollinger Bands parameters.
Weighted Signals: The script introduces a unique weighting mechanism for signals, reducing false positives and improving overall reliability.
Underlying Calculations and Methods
1. Dynamic Threshold Calculation:
The heart of the Advanced Dynamic Threshold RSI Indicator lies in its ability to dynamically calculate thresholds based on multiple timeframes. Let's delve into the technical details:
RSI Calculation:
For each specified timeframe (1-hour, 4-hour, 1-day, 1-week), the Relative Strength Index (RSI) is calculated using the standard 14-period formula.
SMA of RSI:
The Simple Moving Average (SMA) is applied to each RSI, resulting in the smoothing of RSI values. This smoothed RSI becomes the basis for dynamic threshold calculations.
Dynamic Adjustment:
The dynamically adjusted threshold for each timeframe is computed by adding a constant value (5 in this case) to the respective SMA of RSI. This dynamic adjustment ensures that the threshold reflects changing market conditions.
2. Weighted Signal System:
To enhance the precision of buy and sell signals, the script introduces a weighted signal system. Here's how it works technically:
Signal Weighting:
The script assigns weights to buy and sell signals based on the crossover and crossunder events between RSI and the dynamically adjusted thresholds. If a crossover event occurs, the weight is set to 2; otherwise, it remains at 1.
Signal Combination:
The weighted buy and sell signals from different timeframes are combined using logical operations. A buy signal is generated if the product of weights from all timeframes is equal to 2, indicating alignment across timeframe.
3. Experimental Enhancements:
The Advanced Dynamic Threshold RSI Indicator incorporates experimental features for educational exploration. While not intended as proven strategies, these features aim to offer users a glimpse into unconventional analysis. Some of these features include Performance Calculation, Volatility Calculation, Dynamic Threshold Calculation Using Volatility, Bollinger Bands Module, Weighted Signal System Incorporating New Features.
3.1 Performance Calculation:
The script calculates the percentage change in the price over a specified lookback period (variable lookbackBars). This provides a measure of recent performance.
pctChange(src, length) =>
change = src - src
pctChange = (change / src ) * 100
recentPerformance1H = pctChange(close, lookbackBars)
recentPerformance4H = pctChange(request.security(syminfo.tickerid, "240", close), lookbackBars)
recentPerformance1D = pctChange(request.security(syminfo.tickerid, "1D", close), lookbackBars)
3.2 Volatility Calculation:
The script computes the standard deviation of the closing price to measure volatility.
volatility1H = ta.stdev(close, 20)
volatility4H = ta.stdev(request.security(syminfo.tickerid, "240", close), 20)
volatility1D = ta.stdev(request.security(syminfo.tickerid, "1D", close), 20)
3.3 Dynamic Threshold Calculation Using Volatility:
The dynamic thresholds for RSI are calculated by adding a multiplier of volatility to 50.
dynamicThreshold1H = 50 + thresholdMultiplier * volatility1H
dynamicThreshold4H = 50 + thresholdMultiplier * volatility4H
dynamicThreshold1D = 50 + thresholdMultiplier * volatility1D
3.4 Bollinger Bands Module:
An additional module for Bollinger Bands is introduced, providing an option to enable or disable it.
// Additional Module: Bollinger Bands
bbLength = input(20, title="Bollinger Bands Length")
bbMultiplier = input(2.0, title="Bollinger Bands Multiplier")
upperBand = ta.sma(close, bbLength) + bbMultiplier * ta.stdev(close, bbLength)
lowerBand = ta.sma(close, bbLength) - bbMultiplier * ta.stdev(close, bbLength)
3.5 Weighted Signal System Incorporating New Features:
Buy and sell signals are generated based on the dynamic threshold, recent performance, and Bollinger Bands.
weightedBuySignal = rsi1H > dynamicThreshold1H and rsi4H > dynamicThreshold4H and rsi1D > dynamicThreshold1D and crossOver1H
weightedSellSignal = rsi1H < dynamicThreshold1H and rsi4H < dynamicThreshold4H and rsi1D < dynamicThreshold1D and crossUnder1H
These features collectively aim to provide users with a more comprehensive view of market dynamics by incorporating recent performance and volatility considerations into the RSI analysis. Users can experiment with these features to explore their impact on signal accuracy and overall indicator performance.
Indicator Placement for Enhanced Visibility
Overview
The design choice to position the "Advanced Dynamic Threshold RSI" indicator both on the main chart and beneath it has been carefully considered to address specific challenges related to visibility and scaling, providing users with an improved analytical experience.
Challenges Faced
1. Differing Scaling of RSI Results:
RSI values for different timeframes (1-hour, 4-hour, and 1-day) often exhibit different scales, especially in markets like gold.
Attempting to display these RSIs on the same chart can lead to visibility issues, as the scaling differences may cause certain RSI lines to appear compressed or nearly invisible.
2. Candlestick Visibility vs. RSI Scaling:
Balancing the visibility of candlestick patterns with that of RSI values posed a unique challenge.
A single pane for both candlesticks and RSIs may compromise the clarity of either, particularly when dealing with assets that exhibit distinct volatility patterns.
Design Solution
Placing the buy/sell signals above/below the candles helps to maintain a clear association between the signals and price movements.
By allocating RSIs beneath the main chart, users can better distinguish and analyze the RSI values without interference from candlestick scaling.
Doubling the scaling of the 1-hour RSI (displayed in blue) addresses visibility concerns and ensures that it remains discernible even when compared to the other two RSIs: 4-hour RSI (orange) and 1-day RSI (green).
Bollinger Bands Module is optional, but is turned on as default. When the module is turned on, the users can see the upper Bollinger Band (green) and lower Bollinger Band (red) on the main chart to gain more insight into price actions of the candles.
User Flexibility
This dual-placement approach offers users the flexibility to choose their preferred visualization:
The main chart provides a comprehensive view of buy/sell signals in relation to candlestick patterns.
The area beneath the chart accommodates a detailed examination of RSI values, each in its own timeframe, without compromising visibility.
The chosen design optimizes visibility and usability, addressing the unique challenges posed by differing RSI scales and ensuring users can make informed decisions based on both price action and RSI dynamics.
Usage
Installation
To ensure you receive updates and enhancements seamlessly, follow these steps:
Open the TradingView platform.
Navigate to the "Indicators" tab in the top menu.
Click on "Community Scripts" and search for "Advanced Dynamic Threshold RSI Indicator."
Select the indicator from the search results and click on it to add to your chart.
This ensures that any future updates to the indicator can be easily applied, keeping you up-to-date with the latest features and improvements.
Review Code
Open TradingView and navigate to the Pine Editor.
Copy the provided script.
Paste the script into the Pine Editor.
Click "Add to Chart."
Configuration
The indicator offers several customizable settings:
RSI Length: Defines the length of the RSI calculation.
SMA Length: Sets the length of the SMA applied to the RSI.
Lookback Bars: Determines the number of bars used for recent performance analysis.
Threshold Multiplier: Adjusts the multiplier for dynamic threshold calculation.
Enable Bollinger Bands: Allows users to enable or disable Bollinger Bands integration.
Interpreting Signals
Buy Signal: Generated when RSI values are above dynamic thresholds and a crossover occurs.
Sell Signal: Generated when RSI values are below dynamic thresholds and a crossunder occurs.
Additional Information
The indicator plots scaled RSI lines for 1-hour, 4-hour, and 1-day timeframes.
Users can experiment with additional modules, such as machine-learning simulation, dynamic real-life improvements, or experimental signal filtering, depending on personal preferences.
Conclusion
The Advanced Dynamic Threshold RSI Indicator provides traders with a sophisticated tool for RSI-based analysis, offering a unique combination of dynamic thresholds, performance analysis, and optional Bollinger Bands integration. Traders can customize settings and experiment with additional modules to tailor the indicator to their trading strategy.
Disclaimer: Use of the Advanced Dynamic Threshold RSI Indicator
The Advanced Dynamic Threshold RSI Indicator is provided for educational and experimental purposes only. The indicator is not intended to be used as financial or investment advice. Trading and investing in financial markets involve risk, and past performance is not indicative of future results.
The creator of this indicator is not a financial advisor, and the use of this indicator does not guarantee profitability or specific trading outcomes. Users are encouraged to conduct their own research and analysis and, if necessary, consult with a qualified financial professional before making any investment decisions.
It is important to recognize that all trading involves risk, and users should only trade with capital that they can afford to lose. The Advanced Dynamic Threshold RSI Indicator is an experimental tool that may not be suitable for all individuals, and its effectiveness may vary under different market conditions.
By using this indicator, you acknowledge that you are doing so at your own risk and discretion. The creator of this indicator shall not be held responsible for any financial losses or damages incurred as a result of using the indicator.
Kind regards,
Ely