Golden Cross and Death Cross with ProbabilityThe Advanced Golden and Death Crossover Indicator offers traders a powerful tool for identifying potential buy and sell signals through the classic technical analysis method of moving average crossovers. This script enhances decision-making by dynamically changing the chart background color in response to Golden (bullish) and Death (bearish) crossovers, providing a visual representation of the market's momentum.
Features:
Golden and Death Crossover Detection: Utilizes a 50-period SMA and a 200-period SMA to identify potential buy (golden cross) and sell (death cross) points.
Continuous Background Coloring: Changes the chart's background color to green for golden crosses and red for death crosses, offering an intuitive grasp of market trends.
Customizable Lookback Period: Allows users to adjust the lookback period for calculating the success rate of each crossover, making the indicator adaptable to various trading strategies.
Success Rate Calculation: Provides an additional layer of analysis by calculating the historical success rate of crossovers within the specified lookback period.
Instructions:
Adding the Indicator: Search for "Advanced Golden and Death Crossover Indicator" in the TradingView Indicators & Strategies library and add it to your chart.
Customization: Access the indicator settings to adjust the lookback period according to your trading preferences.
Interpretation: Use the continuous background color as a guide to market conditions, with green indicating bullish momentum and red indicating bearish momentum. The success rate of past crossovers can help assess the reliability of the signals.
How the Script Works:
The Advanced Golden and Death Crossover Indicator operates by continuously monitoring two key moving averages (MAs) on your chart: a short-term (50-period) SMA and a long-term (200-period) SMA. Here's a step-by-step breakdown of its functionality:
Crossover Detection:
Golden Cross: When the short-term MA crosses above the long-term MA, indicating potential bullish momentum, the script identifies this as a Golden Cross signal.
Death Cross: Conversely, when the short-term MA crosses below the long-term MA, suggesting potential bearish momentum, the script flags this as a Death Cross signal.
Background Coloring:
Upon detecting a Golden Cross, the script changes the chart background to green, visually representing a bullish market condition.
Upon detecting a Death Cross, the chart background turns red, indicating bearish market conditions.
This color change remains in effect until the next crossover event, providing a continuous visual cue of the market's trend direction.
Success Rate Calculation:
The script calculates the historical success rate of these crossovers within a user-defined lookback period. This metric helps assess the reliability of the signals based on past performance.
Customization:
Users have the flexibility to adjust the lookback period for the success rate calculation, allowing for customization according to individual trading strategies and risk preferences.
Application in Trading Analysis:
Traders can use this indicator as part of their technical analysis toolkit to make informed decisions about entry and exit points. The visual cues from the continuous background coloring, combined with the success rate of past signals, provide a comprehensive overview of market trends and crossover reliability. It’s important for traders to combine this indicator with other analysis tools and consider broader market conditions to optimize their trading strategy.
Disclaimer:
This script is provided for educational and informational purposes only and should not be construed as investment advice. Trading involves risk, and you should conduct your own research or consult a financial advisor before making investment decisions. The author or distributor of this script bears no responsibility for any trading losses incurred by users.
Multitimeframe
MUJBOT - ADVANCED DAILY OPENTitle: MUJBOT - ADVANCED DAILY OPEN
Description:
The "MUJBOT - ADVANCED DAILY OPEN" is a versatile and user-friendly TradingView indicator designed to enhance daily trading strategies by highlighting the daily open price on the chart. This indicator is particularly useful for traders who focus on intraday price movements around the opening price of the trading day.
Key Features:
Daily Open Line: Visually represents the opening price of each trading day on the chart, providing a clear reference point for the day's initial market sentiment.
Dynamic Testing Counter: Keeps track of how many times the price tests or crosses the daily open level within the day. This feature offers insight into the significance and market reaction to the daily open price.
Customizable Display: Includes an option to show or hide the daily open line and the testing counter label. Traders can easily toggle the display according to their preference, keeping their charts uncluttered.
Real-Time Updates: The label and line are dynamically updated in real-time with each new price bar, ensuring traders have the most current information at their fingertips.
Simplicity and Efficiency: With a straightforward design, the indicator adds minimal complexity to the chart while providing valuable trading information.
Usage:
Intraday Trading: Ideal for intraday traders, the indicator helps in identifying how the current price is behaving relative to the opening price, which can be a crucial factor in decision-making.
Support and Resistance: The daily open can act as a natural support or resistance level. Monitoring how the price interacts with this level can provide insights into potential breakout or reversal opportunities.
Trend Analysis: Observing the frequency of the daily open price being tested can give clues about the day's trend strength and potential continuation or reversal.
Customization Options:
Toggle the visibility of the daily open line and label.
The line extends six bars ahead from the daily open for clear visibility.
The label displays the daily open price and the count of how many times it has been tested.
Conclusion:
The "MUJBOT - ADVANCED DAILY OPEN" indicator is a valuable tool for traders who emphasize the importance of the daily open in their trading strategy. Its simplicity, combined with real-time tracking features, makes it an essential addition to the trader's toolkit on TradingView.
Feel free to modify or add any additional details specific to your trading strategy or indicator functionality.
EMA + Lower Timeframe EMA (correct display in Replay Mode)This indicator shows
one EMA for the current timeframe
one EMA for a lower timeframe
Unlike the built-in Tradingview EMA indicator, this indicator shows the correct values for the lower timeframe EMA during Replay Mode.
Intraday Fibonacci Levels [Gorb]Welcome to the Intraday Fibonacci Levels indicator, a dynamic and customizable tool designed for traders who incorporate Fibonacci retracements and extensions into their technical analysis. This indicator focuses on intraday price action, allowing you to select a specific candle from any trading session and visualize crucial Fibonacci levels derived from its high and low prices.
Features:
Candle Selection for Fibonacci Analysis: Select any candle based on its time to plot Fibonacci levels, giving you control over the period of analysis.
Customizable .236 and .618 Fibonacci Levels: Plot and customize the .236 and .618 Fibonacci retracement and extension levels. Adjust color and line style for each level to fit your chart preferences.
User-Friendly Interface: Easy-to-use input fields for selecting the candle time and configuring Fibonacci settings. Intuitive toggle options to display or hide specific Fibonacci levels.
Dynamic Updating: The indicator updates in real-time as new price data is received, ensuring you have the latest Fibonacci levels on your chart.
Usage Case:
This indicator is ideal for day traders and technical analysts who utilize Fibonacci tools to identify potential support and resistance levels, trend reversals, or continuation patterns. Whether you are analyzing a high-impact news event candle or a significant pivot point in the trading day, this indicator helps bring clarity to your Fibonacci-based trading strategy.
Guidelines for Usage:
Use the indicator settings to select the candle time and configure your desired Fibonacci levels. You can choose any time you want, in order to use premarket candles you need to enable electronic hours on your chart to have levels plot from pre/post.
These auto plotted levels can act as pivot points or points of support and resistance for traders to make informed trading decisions near these levels. Analyze the plotted Fibonacci levels in conjunction with other technical indicators or price action patterns for informed trading decisions.
Conclusion:
This indicator is a versatile and essential tool for traders who rely on Fibonacci analysis as part of their trading arsenal. By offering the flexibility to analyze specific candles and customize Fibonacci levels, this indicator empowers you to make more informed trading decisions. Its user-friendly design and real-time updating capabilities ensure that you have access to accurate and relevant Fibonacci data at any moment of the trading day.
RISK DISCLAIMER
All content, tools, scripts & education provided by Monstanzer or Gorb Algo are for informational & educational purposes only. Trading is risk and most lose their money, past performance does not guarantee future results.
Donch +This is an indicator I made for trading Forex to help me see the bigger picture. It is meant for the 30min TF and it includes the following:
- 20 Day High | Low
- 5 Day High | Low
- 4 Hour High | L
- 4 Hour Bars
- Daily Simple Moving Averages
- Weekly Trend Line (connects last week's open to this week's open)
- Daily Trend Line (connects yesterday's open to today's open)
- Horizontal Lines at 0.25% increments (these can be useful for S/R... currency rarely moves more than 1% in a day).
- A table with information about what markets are open and technicals on the pair I am looking at.
- A slight white background fill to highlight the first hour of the US session. Knowing what session you are in is very important in day trading (in my opinion). This lets me go back and see how the US has been trading.
To keep the chart from being "too busy" (it's plenty busy lol), I use a step line and focus on 30min closes. I reference the white lines above and below closes for 4hr highs/lows and don't bother with looking at the high/low of every 30 min bar.
For the table, you will see bright green by the country for the first hour of trading in that session. It will turn to a regular green after the first hour. It will turn yellow the final hour of that session. It will turn red if that market is closed.
You can select from the settings 'inputs' tab to enable/disable any parts of this you don't find useful, for the table you'd go over to the 'style' tab and unselect it there. For example, I don't use the labels regularly. If I were to get confused about what a moving average was or something, I'd enable the labels and clarify.
Currency doesn't like to break out and likes to be stable. Keeping this in mind, you can see how the 20 day high / low and the 5 day high / low act as support and resistance (unless there is a news event to break out on.
I have alerts for the following:
- Price update every hour
- Crossing a trend line
- Crossing a moving average
- Crossing a 0.25% increment
- Making a new 4 hour, 5 day, or 20 day high/low
To enable the alerts, you would click add alert, select the indicator, and click save. To work properly, you'd want to be on the 30min TF before doing this. You will get a lot of alerts (personally I like this because I like to see how currency moves throughout the day). You will get one notification per 30 minutes but not more than that for the particular alert.
Price at time (sub-bar resolution)This simple script shows you the price at a fixed sub-bar time, and is useful for back-testing.
For example, if your strategy is to enter buy stops overnight and check your positions at lunch the next day, then use this indicator to highlight the opening price of the 3rd 60-minute bar. The default is the open price of the second 30-minute bar ("10 am").
Key Levels | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Key Levels indicator! This indicator allows you to see the key levels on the current chart such as previous day lows / highs, pre-market data, yesterday's close, today's open, pivot points, and much more! It's highly user-friendly with every line being individually customizable and having a wide range of text options.
Features of the new Key Levels indicator :
Today & Yesterday High, Low, Open & Close
Previous 3-10th Day Highs & Lows
Pre-Market Highs & Lows
Previous Month High & Low
High & Low Pivots
Combination Of Same Levels
Wide Customization Options
📌 HOW DOES IT WORK ?
Key levels are important areas in a chart where a significant reaction is expected. In this indicator, you can enable up to the previous 10 days highs and lows, yesterday's close / today's open, and the latest pivot points. Key levels generally act like support & resistance. Here are a few examples :
As shown, key levels play an important role determining the current trend and can be useful in identifying potential levels where the market will reverse or breakout.
🚩UNIQUENESS
1. More Key Levels
We believe that past key levels may be as important as current ones. Some of the key-levels indicators do not include them even though strong reactions can happen around them. Thus, our indicator let's you check up to 10 days backwards.
You can select the ones you think that are the most important and just enable them, making the indicator customizable to your liking.
2. Pre-Market Data
With assets that have pre-market data available, it's crucial to analyze it to have a better understanding of the market in regular trading hours. Our indicator will plot pre-market highs and lows, even if your chart is in the regular trading hours only mode. We believe this will be helpful with your analyzing process.
3. Combination
The indicator can dynamically combine same key levels, so you can have a clear look to the chart without lines & text colliding with each other. This would also help you determine stronger key levels as if a key level occured more than a time, it could be a sign that it's a stronger one. An example :
To summarize, using key levels is an essential skill while detecting zones where strong reactions are expected. This indicator provides up to 10 day's high and low levels, and all of them can be individually turned on / off. Traders that believe older key levels can be important and want to look at the whole picture may use this feature. Also for assets that have pre-market data available, the indicator provides pre-market levels as well. Besides all that, High & Low pivots will provide latest key levels so traders can use them in their decisions.
⚙️SETTINGS
1. General Configuration
You can enable / disable :
1. Today's High / Low / Open
2. Yesterday's High / Low / Close
3. 3th-10th Day High / Low
4. Pre-Market High / Low
5. Previous Month High / Low
You can also change the colors and switch their line styles between solid, dashed and dotted.
2. High & Low Pivots
Enabled -> Enable / Disable High & Low Pivots
Pivot Range -> The range used in the detection of pivot points. Larger values will result in less pivot points, while smaller values will provide more pivot points. This essentially determines how many bars to the right & left shouldn't exceed the pivot's high or low.
You can also change the text color and text size of the pivots from the settings.
3. Style settings
Text Offset -> How many bars of offset should the texts have to the right. Increase if text collides with bars while Align Labels option is set to "Right".
Extend Lines -> If enabled, lines will be extended infinitely to right & left. If disabled, all lines will be clamped in their timelines.
Show Line Values -> If enabled, line information text will contain their price.
Align Labels ->
Right = Align line labels to right.
Center = Line labels will always be at the center of the screen.
Overbought / Oversold Screener## Introduction
**The Versatile RSI and Stochastic Multi-Symbol Screener**
**Unlock a wealth of trading opportunities with this customizable screener, designed to pinpoint potential overbought and oversold conditions across 17 symbols, with alert support!**
## Description
This screener is suitable for tracking multiple instruments continuously.
With the screener, you can see the instant RSI or Stochastic values of the instruments you are tracking, and easily catch the moments when they are overbought / oversold according to your settings.
The purpose of the screener is to facilitate the continuous tracking of multiple instruments. The user can track up to 17 different instruments in different time intervals. If they wish, they can set an alarm and learn overbought oversold according to the values they set for the time interval of the instruments they are tracking.**
Key Features:
Comprehensive Analysis:
Monitors RSI and Stochastic values for 17 symbols simultaneously.
Automatically includes the current chart's symbol for seamless integration.
Supports multiple timeframes to uncover trends across different time horizons.
Personalized Insights:
Adjust overbought and oversold thresholds to align with your trading strategy.
Sort results by symbol, RSI, or Stochastic values to prioritize your analysis.
Choose between Automatic, Dark, or Light mode for optimal viewing comfort.
Dynamic Visual Cues:
Instantly highlights oversold and overbought symbols based on threshold levels.
Timely Alerts:
Stay informed of potential trading opportunities with alerts for multiple oversold or overbought symbols.
## Settings
### Display
**Timeframe**
The screener displays the values according to the selected timeframe. The default timeframe is "Chart". For example, if the timeframe is set to "15m" here, the screener will show the RSI and stochastic values for the 15-minute chart.
** Theme **
This setting is for changing the theme of the screener. You can set the theme to "Automatic", "Dark", or "Light", with "Automatic" being the default value. When the "Automatic" theme is selected, the screener appearance will also be automatically updated when you enable or disable dark mode from the TradingView settings.
** Position **
This option is for setting the position of the table on the chart. The default setting is "middle right". The available options are (top, middle, bottom)-(left, center, right).
** Sort By **
This option is for changing the sorting order of the table. The default setting is "RSI Descending". The available options are (Symbol, RSI, Stoch)-(Ascending, Descending).
It is important to note that the overbought and oversold coloring of the symbols may also change when the sorting order is changed. If RSI is selected as the sorting order, the symbols will be colored according to the overbought and oversold threshold values specified for RSI. Similarly, if Stoch is selected as the sorting order, the symbols will be colored according to the overbought and oversold threshold values specified for Stoch.
From this perspective, you can also think of the sorting order as a change in the main indicator.
### RSI / Stochastic
This area is for selecting the parameters of the RSI and stochastic indicators. You can adjust the values for "length", "overbought", and "oversold" for both indicators according to your needs. The screener will perform all RSI and stochastic calculations according to these settings. All coloring in the table will also be according to the overbought and oversold values in these settings.
### Symbols
The symbols to be tracked in the table are selected from here. Up to 16 symbols can be selected from here. Since the symbol in the chart is automatically added to the table, there will always be at least 1 symbol in the table. Note that the symbol in the chart is shown in the table with "(C)". For example, if SPX is open in the chart, it is shown as SPX(C) in the table.
## Alerts
The screener is capable of notifying you with an alarm if multiple symbols are overbought or oversold according to the values you specify along with the desired timeframe. This way, you can instantly learn if multiple symbols are overbought or oversold with one alarm, saving you time.
Custom Time Frame (CTF)This indicator allows users to create their own arbitrary time frames for chart analysis. It features a moving average, providing an additional layer of analysis, and offers flexibility through various open settings.
In terms of user settings and usage, the indicator provides several options. Users can choose their interval style, opting for either tick-based or time-based intervals. This flexibility allows for a more granular approach to data analysis, catering to different trading strategies and preferences. The number of ticks or the amount of time for each candle can be adjusted, enabling traders to set the granularity of the data to their liking. Color settings are also customizable, with options for setting colors for bullish and bearish indicators, adding a visual dimension to the analysis.
The average line parameters are an important aspect of this indicator. Users can adjust the length, ripple, type, color, and line width of the average line. The ripple setting, in particular, impacts the smoothness of the filter. With type II setting, the smoothing is increased, making it suitable for traders who prefer a more smoothed out moving average. Conversely, the type I setting decreases the smoothing, which might be preferred by those who want a more responsive indicator.
The use of the Chebyshev filter is a significant feature of this indicator. This filter is chosen for its high-performance smoothing capabilities with minimal data requirements. This ensures that the moving average appears quickly and accurately, which is crucial in real-time chart analysis. An important point to note is that when the moving average is enabled, it decreases the maximum number of candles that can be displayed on the chart. However, this is offset by the enhanced analytical precision provided by the moving average.
In summary, this indicator is especially beneficial for traders without access to premium accounts. It offers the capability to create low or custom time frame charts. The flexibility in settings, coupled with the inclusion of a Chebyshev filter for the moving average, makes it a versatile and valuable tool for detailed market analysis. It caters to a wide range of trading styles and strategies, making it a useful addition to any trader's toolkit.
Altcoin ManagerThe Altcoin Manager is a comprehensive script for identifying the current altcoin narrative by tracking and analyzing of a wide array of altcoins across various blockchain layers and categories, such as DeFi, GameFi, AI, and Meme coins. Ideal for traders looking to get a broad yet detailed view of the altcoin market, covering various sectors and chains.
The Key Features:
Versatile Asset Tracking:
Tracks 40 different cryptocurrencies (as of publishing) across different categories, allowing for a diversified and detailed analysis of the altcoin market.
Customizable Assets and Category Analysis:
Select 20 of your own coins across 4 different categories such as DeFi, GameFi, AI, and Meme coins as well as specifying their individual chains.
Dynamic Layer and Chain Analysis:
Includes options to plot and analyze specific blockchain layers and chains such as Ethereum Chain, Solana Chain, BNB Smart Chain, Arbitrum Chain, and Polygon Chain. The script associates various assets with specific blockchains, providing a clearer picture of how different segments of the altcoin market are performing.
Cumulative and Per-Candle Change:
Switch between viewing the total cumulative change since a set start date or the per-candle change, offering flexibility in analyzing price movements over different timeframes.
Denomination Adjustment:
Includes a functionality to denominate asset prices in other currencies or crypto such as BTC, allowing for a more tailored financial analysis according to your preference.
Moving Averages for Categories and Chains:
Calculates and plots moving averages for each category and chain, aiding in the identification of trends over the selected moving average length.
How do I use it?
This script is not used with any particular chart. Instead, assign it it's own tab and layout.
For a clearer analysis, use multiple different panels to track Categories and Chains separately, both Cumulative for a longer term analysis and Per-Candle to find ongoing breakouts and changes in trend.
You can either use the pre-selected altcoins to represent the market, or you can select your own.
The Layer 1 and Layer 2 are not customizable but consists of 15 popular Layer 1 incl Bitcoin, Ethereum, Solana etc. Layer 2 consists of 5 popular Layer 2.
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.
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).
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.
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 !
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
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