Market MonitorOverview
The Market Monitor Indicator provides a customisable view of dynamic percentage changes across selected indices or sectors, calculated by comparing current and previous closing prices over the chosen timeframe.
Key Features
Choose up to 20 predefined indices or your own selected indices/stocks.
Use checkboxes to show or hide individual entries.
Monitor returns over daily, weekly, monthly, quarterly, half-yearly, or yearly timeframes
Sort by returns (descending) to quickly identify top-performing indices or alphabetically for an organised and systematic review.
Customisation
Switch between Light Mode (Blue or Green themes) and Dark Mode for visual clarity.
Adjust the table’s size, position, and location.
Customise the table title to your own choice e.g. Sectoral, Broad, Portfolio etc.
Use Cases
Use multiple instances of the script with varying timeframes to study sectoral rotation and trends.
Customise the stocks to see your portfolio returns for the day or over the past week, or longer.
Index
Employee Portfolio Generator [By MUQWISHI]▋ INTRODUCTION :
The “Employee Portfolio Generator” simplifies the process of building a long-term investment portfolio tailored for employees seeking to build wealth through investments rather than traditional bank savings. The tool empowers employees to set up recurring deposits at customizable intervals, enabling to make additional purchases in a list of preferred holdings, with the ability to define the purchasing investment weight for each security. The tool serves as a comprehensive solution for tracking portfolio performance, conducting research, and analyzing specific aspects of portfolio investments. The output includes an index value, a table of holdings, and chart plots, providing a deeper understanding of the portfolio's historical movements.
_______________________
▋ OVERVIEW:
● Scenario (The chart above can be taken as an example) :
Let say, in 2010, a newly employed individual committed to saving $1,000 each month. Rather than relying on a traditional savings account, chose to invest the majority of monthly savings in stable well-established stocks. Allocating 30% of monthly saving to AMEX:SPY and another 30% to NASDAQ:QQQ , recognizing these as reliable options for steady growth. Additionally, there was an admired toward innovative business models of NASDAQ:AAPL , NASDAQ:MSFT , NASDAQ:AMZN , and NASDAQ:EBAY , leading to invest 10% in each of those companies. By the end of 2024, after 15 years, the total monthly deposits amounted to $179,000, which would have been the result of traditional saving alone. However, by sticking into long term invest, the value of the portfolio assets grew, reaching nearly $900,000.
_______________________
▋ OUTPUTS:
The table can be displayed in three formats:
1. Portfolio Index Title: displays the index name at the top, and at the bottom, it shows the index value, along with the chart timeframe, e.g., daily change in points and percentage.
2. Specifications: displays the essential information on portfolio performance, including the investment date range, total deposits, free cash, returns, and assets.
3. Holdings: a list of the holding securities inside a table that contains the ticker, last price, entry price, return percentage of the portfolio's total deposits, and latest weighted percentage of the portfolio. Additionally, a tooltip appears when the user passes the cursor over a ticker's cell, showing brief information about the company, such as the company's name, exchange market, country, sector, and industry.
4. Indication of New Deposit: An indication of a new deposit added to the portfolio for additional purchasing.
5. Chart: The portfolio's historical movements can be visualized in a plot, displayed as a bar chart, candlestick chart, or line chart, depending on the preferred format, as shown below.
_______________________
▋ INDICATOR SETTINGS:
Section(1): Table Settings
(1) Naming the index.
(2) Table location on the chart and cell size.
(3) Sorting Holdings Table. By securities’ {Return(%) Portfolio, Weight(%) Portfolio, or Ticker Alphabetical} order.
(4) Choose the type of index: {Assets, Return, or Return (%)}, and the plot type for the portfolio index: {Candle, Bar, or Line}.
(5) Positive/Negative colors.
(6) Table Colors (Title, Cell, and Text).
(7) To show/hide any of selected indicator’s components.
Section(2): Recurring Deposit Settings
(1) From DateTime of starting the investment.
(2) To DateTime of ending the investment
(3) The amount of recurring deposit into portfolio and currency.
(4) The frequency of recurring deposits into the portfolio {Weekly, 2-Weeks, Monthly, Quarterly, Yearly}
(5) The Depositing Model:
● Fixed: The amount for recurring deposits remains constant throughout the entire investment period.
● Increased %: The recurring deposit amount increases at the selected frequency and percentage throughout the entire investment period.
(5B) If the user selects “ Depositing Model: Increased % ”, specify the growth model (linear or exponential) and define the rate of increase.
Section(3): Portfolio Holdings
(1) Enable a ticker in the investment portfolio.
(2) The selected deposit frequency weight for a ticker. For example, if the monthly deposit is $1,000 and the selected weight for XYZ stock is 30%, $300 will be used to purchase shares of XYZ stock.
(3) Select up to 6 tickers that the investor is interested in for long-term investment.
Please let me know if you have any questions
TOP 20 ALTCOIN INDEXIndicator Description
The "ALT20 INDEX" is a financial analysis tool designed to track the aggregate value of the top 20 cryptocurrencies by market capitalization and closing prices over specific periods. This indicator reflects changes in the combined value of these 20 ALTCOINs, providing an overview of trends in the cryptocurrency market.
=================================
Purpose and Practical Applications
1. Tracking Top Cryptocurrencies:
- The indicator allows monitoring the value of the top 20 ALTCOINs, reflecting the general volatility of the cryptocurrency market.
- Helps investors focus on high-capitalization assets.
2. Performance Comparison:
- Serves as a tool to compare the performance of the ALT20 group against other assets like Bitcoin, Ethereum, or traditional financial indices.
3. Assessing Market Health:
- Enables evaluation of market trends, identifying growth or decline periods.
4. Practical Applications:
- Suitable for fund managers, long-term investors, or trend traders to make decisions based on the overall ALTCOIN market performance.
-------------------------------------------
How the Indicator Works
1. Selection of Top 20 ALTCOINs:
- Cryptocurrencies are selected based on their market capitalization at each rebalancing period.
2. Weight Allocation and Calculation:
- Weight: Determined by the market capitalization of each ALTCOIN relative to the total market capitalization of the top 20.
- Token Quantity: Calculated based on weight, total allocation points (e.g., 100 points for T1, 722.63 points for T2, etc.), and each ALTCOIN's closing price.
Formula: Token Quantity = Weight × Total Allocation Points/Closing Price
3. Periodic Rebalancing:
- Rebalancing frequency: Once a year.
- At each rebalancing period, the weights and token quantities are adjusted based on new market capitalization and prices.
4. Portfolio Value Calculation:
- The value of each ALTCOIN is calculated as:
Token Value = Closing Price × Token Quantity
- Index Total: ALT20 Index = 20∑'i=1'Token Value'i'
------------------------------------------
Rebalancing Periods
T1 (2020-2021): Initial period, token quantities calculated based on weights and a total of 100 points.
T2 (2021-2022): Rebalanced with a total allocation of 722.63 points.
T3 (2022-2023): Total allocation of 252.26 points, reflecting portfolio adjustments based on new prices and market caps.
T4 (2023-2024): Total allocation of 261.43 points.
T5 (2024-Present): Total allocation of 437.42 points, updated to reflect the current market.
-----------------------------------------
Indicator Features
- Displays Index Value Over Time:
+ index_value_T1 to index_value_T5 represent the portfolio value during specific timeframes.
+ Values are calculated based on the daily closing prices of ALTCOINs.
- Visualization:
+ The index for each period is plotted on the chart, enabling easy observation of market trends over time.
---------------------------------------
Practical Applications
- Portfolio Management:
+ The indicator helps track the performance of asset groups within the ALTCOIN portfolio.
- Integration into Trading Systems:
+ Used as a reference for automated or manual trading strategies.
- Market Analysis:
+ Assists analysts in evaluating cryptocurrency market movements based on the top 20 ALTCOINs.
Let me know if further optimization or additional information is needed! Thank!
Crypto Index Creator (MEMES & AI Supercycle Dominance, etc)This indicator aims to help to create any INDEX desired including but not limited to its Market Cap and Dominance on the crypto market.
This script was inspired originally by Murad's "Memecoins Dominance" but then I extended it to AI and can be extended to anything in fact, so you can create any index!
I made each token entry editable so that the script can survive the evolution of time as likely projects and INDEXES are going to change a lot, so that you can add/modify your own indices of preference if not listed by default and in order to make it future proof.
You can play with the settings, can compare to BTC, ETC, SOL, etc. for helping in your studies
You also have the option to check the info of each symbol on a table available on the settings, in order to help you figure out if there are any errors and also help you to easily check how the symbols are performing individually
Notes:
- Many projects are not like MEMECOINS that have fixed supply, normally VC projects have a very variable circulating supply, so you might want to update the info of the circulating supply for your projects to make it more accurate if you desire.
- For this script there is a limit of 32 Symbols, due to tradingview own limits, yet you can always "add" multiple projects per line as long as their circulating supply is the same.
- You might want to edit/sort the tickers of the top3, top5 and top10 if they follow bellow those top ranks, but this is not necessary if you don't care about Top 3-10 specific calculations.
- My default "indices" were made of token selections of mine as of November 2024, those defaults indices/tickers I might or might not update them eventually but you are free to adapt/modify the tickers in the settings as history evolves, and you can leave your own indexes on the comment section of this post for others to use
- As you might not be able to create/store multiple different indexes at the same time, you might want to add this indicator multiple times on your screen and then modify the tickers of each instance of this indicator, by that you can have multiple indexes.
Black RSI (Multi Symbol RSI)📌 GENERAL OVERVIEW
Black RSI (Multi Symbol RSI) is an indicator with multiple-RSI (multi-symbol support), It is a powerful indicator designed for analyzing the relative strength of multiple financial instruments within a single chart. This indicator essentially combines multiple instances of the Relative Strength Index (RSI) for different symbols, allowing traders to compare and contrast market conditions for a broader, simultaneous analysis of various assets. By tracking RSI across multiple assets, traders can identify broader market trends, and sector rotations, or pinpoint relative strengths and weaknesses among different instruments. Please check the below sections for details.
Black RSI (Multi Symbol RSI) Indicator Features Summary:
+ Multiple RSI with multi-symbol ◢
This indicator plots Primary+3 multiple RSI for multiple symbols at once. For instance, it could simultaneously show the RSI of indices (e.g., SPX, NASDAQ) or stocks within a sector, providing insights into how these assets are moving relative to one another.
+ Custom Divergence Module ◢
It allows the user to select the divergence source among the multiple RSI (Primary, 1st, 2nd or 3rd RSI) and displays regular/hidden bullish/bearish divergence for selected RSI only.
+ Custom RSI Moving Average/BBs ◢
It allows the user to select the RSI moving average/BBs source among the multiple RSI (Primary, 1st, 2nd or 3rd RSI) and displays moving average/BBs for selected RSI only.
+ Alert Triggers ◢
The indicator can incorporate alert functions that notify the user when an RSI threshold (e.g., overbought or oversold levels) is crossed for any of the selected symbols.
📌HOW TO USE IT
Confirm Trends Across Symbols: Use the indicator to confirm trends across multiple assets. For example, if most symbols within a sector or index are showing RSI levels above 50, it may indicate a bullish trend in that sector. Conversely, if most RSIs are below 50, it may signal bearish sentiment.
Spot Divergences: Look for RSI divergences across symbols, which can hint at potential reversals. For instance, if most symbols show declining RSI levels while a few have increasing RSI, it could indicate relative strength in those few, making them candidates for closer watch.
Identify Overbought/Oversold Conditions: By observing the RSI levels of multiple symbols, you can identify when certain assets are overbought (typically RSI > 70) or oversold (typically RSI < 30). When multiple assets show similar RSI levels, this can indicate broader market sentiment or sector momentum.
Sector Rotation Analysis: In longer-term trading or portfolio rebalancing, a Multi-RSI Multi-Symbol indicator can help detect sector rotation patterns by showing which sectors are gaining strength (higher RSI) and which are weakening, facilitating informed sectoral shifts.
Use in Conjunction with Other Indicators: The Multi-RSI can serve as a supporting indicator alongside trend indicators like Moving Averages or Bollinger Bands, helping to confirm entry and exit points. For example, if a symbol’s RSI shows an overbought condition and it aligns with a resistance level from a Moving Average, this could strengthen a sell signal.
Customization: Customize the settings to match your trading style. For instance, day traders might prefer a shorter RSI period and timeframes, while swing traders may benefit from longer timeframes and smoother RSI.
⚙️Black RSI (Multi Symbol RSI) SETTINGS
Black RSI (Multi) Dashboard ◢
+ 1st RSI: Enable/Disable 1st RSI
+ 2nd RSI: Enable/Disable 2nd RSI
+ 3rd RSI: Enable/Disable 3rd RSI
RSI Primary Tools ◢
+ RSI Moving Average/Bollinger Bands: Enable/Disable RSI Moving Average/Bollinger Bands
+ Smooth RSI: Enable/Disable Smooth RSI (for Primary RSI)
+ RSI Divergence: Enable/Disable Divergence for user-selected RSI
RSI Secondary Tools ◢
+ RSI OB/OS Color Bars: Enable/Disable RSI OB/OS Color Bars for user-selected RSI
+ RSI OB/OS Highlights: Enable/Disable OB/OS Highlights for user-selected RSI
+ Background: Enable/Disable RSI Background
+ Primary RSI Settings ▾
- Override Primary RSI Symbol: Allows the user to select the symbol for Primary RSI
- Primary RSI Length: User input primary RSI length value
- Primary RSI Source: User primary RSI source selection
- RSI Line Thickness: User input line thickness value for primary RSI
- Primary RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS Primary RSI Highlights
- RSI Overbought Threshold: The user can set the RSI overbought threshold value. This Overbought Threshold value will also be applied to All RSI (Primary, 1st, 2nd, 3rd) and "RSI Divergence overbought condition" and "RSI OB/OS Highlights"
- RSI Oversold Threshold: The user can set the RSI oversold threshold value. The lower band (oversold line) of RSI. This Oversold Threshold value will also be applied to All RSI (Primary, 1st, 2nd, 3rd) and "RSI Divergence oversold condition" and "RSI OB/OS Highlights"
+ 1st RSI Settings ▾
- Override 1st RSI Symbol: Allows the user to select the symbol for 1st RSI
- 1st RSI Length: User input 1st RSI length value
- 1st RSI Source: User 1st RSI source selection
- RSI Line Thickness: User input line thickness value for 1st RSI
- 1st RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS 1st RSI Highlights
+ 2nd RSI Settings ▾
- Override 2nd RSI Symbol: Allows the user to select the symbol for 2nd RSI
- 2nd RSI Length: User input 2nd RSI length value
- 2nd RSI Source: User 2nd RSI source selection
- RSI Line Thickness: User input line thickness value for 2nd RSI
- 2nd RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS 2nd RSI Highlights
+ 3rd RSI Settings ▾
- Override 3rd RSI Symbol: Allows the user to select the symbol for 3rd RSI
- 3rd RSI Length: User input 3rd RSI length value
- 3rd RSI Source: User 3rd RSI source selection
- RSI Line Thickness: User input line thickness value for 3rd RSI
- 3rd RSI Colors:
- OB/OS Highlights: Enable/Disable OB/OS 3rd RSI Highlights
+ RSI Bands & Threshold Settings ▾
- RSI Middle Band: Allows the user to plot optional RSI band on the RSI Oscillator
- RSI Bullish Band: Allows the user to plot optional RSI band on the RSI Oscillator
- RSI Bearish Band: Allows the user to plot optional RSI band on the RSI Oscillator
+ Primary RSI Smooth Settings ▾
- Type: The user selected Smooth MA type for Primary RSI. With RSI Smooth enabled, it will also affect Primary RSI Divergences detection (all divergences will be plotted according to the "Smoothed RSI line")
- Length: User input Smooth MA length value for Primary RSI
+ RSI Moving Average Settings ▾
- MA/BB RSI Source: Allows the user to MA/BB source selection
- MA/BB Enable/Disable: Allows the user to select Moving average only, BBs only or Both to display on the RSI Oscillator
- RSI Moving Average Colors: Allows the user to select Bullish/Bearish colours of RSI Moving Average
- RSI Moving Average Type: Allows the user to select RSI MA Type
- RSI Moving Average Length: User input RSI MA length value
- RSI Moving Average Thickness: User input RSI MA thickness
- Bollinger Bands Colors: Allows the user to select BBs colours
- BB StdDev: user input Bollinger Bands standard deviation value
+ RSI Divergence Settings ▾
- Divergence RSI source: User selection of divergence source .
- Divergence source: User selection of divergence source . "oscillator" (divergence detection with high/low or close of RSI), "price" (divergence detection with high/low or close of price)
- Bull price source: User selection of Bull price source. Bull price source: "Low" (low of price divergence detection), "Close" (close of price divergence detection) (linked to "price" in "Divergence source")
- Bear price source: User selection of Bear price source. Bear price source: "High" (high of price divergence detection), "Close" (close of price divergence detection) (linked to "price" in "Divergence source")
- Low/High left bars: How many candles to compare on the left side of a candle when deciding whether it is a pivot. The lower the number is, the earlier pivots (and therefore divergences) will be signalled, but the quality of those detections could be lower.
- Low/High right bars: How many candles to compare on the right side of a candle when deciding whether it is a pivot. The lower the number is, the earlier pivots (and therefore divergences) will be signalled, but the quality of those detections could be lower.
- Maximum lookback bars: The maximum length of a divergence (number of bars). If a detected divergence is longer than this, it will be discarded.
- Price threshold: User selection of Price threshold, higher values more lines
- RSI threshold: User selection of RSI threshold, higher values more lines
- Show Lows: Displays lows of RSI
- Show Highs: Displays highs of RSI
- Show Divergence as:
- Line Style:
- Line thickness: User input divergence line thickness value
- Label Transparency: it could reduce label mess on the oscillator line, input "100" for label text only without label background
- Labels Text Color: User label text colour selection
Auto Text Color > Auto colour change of label text according to Dark/Light chart theme
- Bull Divergences: Enable/Disable of Bull divergences
> Color: User selection of Bull divergence color
> Potential Bull: It will plot potential regular bull divergence with a dotted line.
- Bear Divergences: Enable/Disable of Bear divergences
> Color: User selection of Bear divergence color
> Potential Bear: It will plot potential regular bear divergence with a dotted line.
- Hidden Bull Div: Enable/Disable of Hidden Bull divergences
> Color: User selection of Hidden Bull divergence colour
> Potential H.Bull: It will plot potential hidden bull divergence with a dotted line.
- Hidden Bear Div: Enable/Disable of Hidden Bear divergences
> Color: User selection of Hidden Bear divergence colour
> Hidden Bear divergence: It will plot potential hidden bear divergence with a dotted line.
> Regular Bull oversold only: It will show Regular Bullish RSI divergences in the oversold zone only, RSI oversold threshold can be configured in the "Primary RSI Settings" section.
> Regular Bear overbought only: It will show Regular Bearish RSI divergences in the overbought zone only, RSI overbought threshold can be configured in the "Primary RSI Settings" section.
+ RSI OB/OS Colored Bars Settings▾
- OB/OS Bar RSI Source: User selection of OB/OS Bars RSI source .
- Overbought Bar Color: User RSI OB Bars colour selection
- Oversold Bar Color: User RSI OS Bars colour selection
+ Overbought/Oversold Highlights ▾
- OB/OS Highlights RSI Source: User selection of OB/OS Highlights RSI source .
- Overbought Highlights : Enable/Disable Overbought Highlights
- Oversold Highlights : Enable/Disable Oversold Highlights
- Transparency: Gradient transparency of highlighted area
+ RSI Line & Label Settings ▾
- Show Symbol label: Enable/Disable each RSI symbol label.
- RSI line offset: Shifts the RSI to the left or the right on the given number of bars, Default is 0
+ Background Setting ▾
- Custom Background Color: User selection of Background color
Feedback & Bug Report
If you find any bugs in this indicator or have any suggestions, please let me know. Please give feedback & appreciate it if you like to see more future updates and indicators. Thank you
Smart Momentum Relative StrengthSmart Momentum Relative Strength
Creator Journey
The Smart Momentum Relative Strength indicator is
created by Vishal R. Janjire , inspired by BharatTrader sir, and parameters guided by mentor stockedge founder Vivek Bajaj sir.
Reason? ...Why choose Smart Momentum Relative Strength.
1.Simple to Trade: This indicator simplifies trading decisions. You just need to follow the background color displayed on the chart. When the background is green, it signals a bullish trend, and when it turns red, it signals a bearish trend. For an even cleaner experience, you can untick the Relative Strength (RS) toggle in the indicator settings and focus purely on trading based on these background colors, making the process straightforward and efficient.
2.Unlock the power to compare any stock, share, commodity, forex or cryptocurrency against major indices like Nasdaq Composite, NYSE Composite, Bitcoin, NG, Gold, Silver, Crude oil, Nasdaq-100, Nifty 50, Hang Seng Index, FTSE 100, and many more! With the Comparative Relative Strength (RS) indicator,
You can easily change the default Nifty 50 comparative symbol to any index or asset of your choice, such as Gold, Silver, Crude Oil, or global benchmarks like the Dow Jones Industrial Average, DAX, Euronext 100, and SSE Composite.
This versatile tool allows traders to measure how well a base symbol (e.g., stock or crypto) performs relative to a chosen benchmark over a specified period. Whether you're analyzing the relative strength of Bitcoin against the Nasdaq-100 or comparing stocks to the S&P 500, this indicator provides valuable insights into market trends and outperforming assets.
The Smart Momentum Relative Strength combines several advanced technical analysis tools into one comprehensive Pine Script indicator designed to provide a nuanced view of market strength and trends. This script integrates Relative Strength (RS), Commodity Channel Index (CCI), and additional trend confirmation mechanisms to deliver actionable insights for traders.
Below are key points to understand before using this indicator:
Important Parameters:
1. Green Line: Represents stocks outperforming the comparative index, which is Nifty 50. However, do not apply this result directly to Nifty 50 itself, as it will not work exclusively on the Nifty 50 index.
2. Red Line: Indicates that the stock is underperforming relative to the Nifty 50 index.
3. Green Background: Signifies that both the current time momentum and higher time momentum are aligned, indicating an upward trend.
4. Red Background: Signifies that both the current time momentum and higher time momentum are aligned, indicating a downward trend.
5. Blank Space: This occurs when the two timeframes are not aligned, indicating market uncertainty and signaling a potential change in market direction, it means short time frame or current time frame changed its direction to opposite side.
Multi-Time Frame (MTF) Settings:
This indicator incorporates a default multi-time frame setup, as follows:
1 and 2 Minute chart = 5 Minute higher time frame
3 Minute chart = 15 Minute higher time frame
5 Minute chart = 15 Minute higher time frame
10 Minute chart = 60 Minute higher time frame
15 Minute chart = 60 Minute higher time frame
20 and 30 Minute chart = 120 Minute higher time frame
1 Hour chart = 4 Hour higher time frame
2 Hour chart = 4 Hour higher time frame
4 Hour chart = 1 Day higher time frame
1 Day chart = 1 Week higher time frame
1 Week chart = 1 Month higher time frame
1 Month chart = 12 Month higher time frame
For any other chart time frame = Day time is default time frame
1. Relative Strength (RS) Analysis:
Calculation: Measures the performance of the base symbol relative to a comparative symbol over a specified period.
Visualization: The RS value is plotted with color-coded lines to indicate bullish (green) or bearish (red) conditions based on crossovers. Users can customize the color based on value or trend direction.
Trend Analysis: A simple moving average (SMA) of RS is displayed to visualize trend strength and direction, with color changes to reflect rising or falling trends.
2. Commodity Channel Index (CCI):
- Current Timeframe CCI: Calculates the CCI for the current timeframe to assess price momentum.
- Higher Timeframe CCI: Computes the CCI for a higher timeframe to provide a broader market perspective.
- Background Color: Highlights the chart background in green or red based on whether both current and higher timeframe CCIs are above or below zero, respectively.
-Blank Space: This occurs when the two timeframes are not aligned, indicating market uncertainty and signaling a potential change in market direction, it means short time frame or current time frame changed its direction to opposite side.
Spaghetti - Custom Cryptocurrency Index IndicatorDescription:
Spaghetti is a highly customizable cryptocurrency index indicator designed to let you track an average price of up to 15 different cryptocurrencies in one convenient line. Whether you're interested in a mix of meme coins, AI projects, or any other specific subset of coins, Spaghetti allows you to create your own personalized index.
Features:
Customizable Coin List: Input up to 15 different cryptocurrencies of your choice, allowing you to tailor the indicator to your preferred assets and strategies.
Dynamic Labeling: Features a label on the chart that displays a user-defined name, so you can personalize the indicator's label to match your theme or trading strategy.
Color Customization: The line color is fully customizable, enabling better visual integration with your charts.
Average Calculation: Calculates and plots the average price of all selected coins, providing an easy way to visualize overall market movement for your customized selection.
How to Use Spaghetti:
In the indicator settings, enter the tickers for up to 15 coins you want to include (e.g., BINANCE:BTCUSDT).
Customize the line color and the label text to match your style or preferences.
The indicator will plot the average price of all selected coins, with a dynamic label that follows the price for easy reference.
Spaghetti makes it easy to create and track custom crypto indices, providing a broader perspective of your selected market segments. Perfect for traders who want to stay on top of multiple assets without the clutter!
Nifty IT VolumeHello everyone,
Here I present Nifty IT index volumes calculated based on weighted volumes of all constituents.
A simple formula for calculation:
constituent1.volume*weightage + constituent2.volume*weightage + ....
You can change color and code if there is a change in constituents of the index from NSE. I will share other index volumes soon.
Enjoy!
US Sentiment Index [CryptoSea]The US Sentiment Index is an advanced analytical tool designed for traders seeking to uncover patterns, correlations, and potential leading signals across key market tickers. This indicator surpasses traditional sentiment measures, providing a data-driven approach that offers deeper insights compared to conventional indices like the Fear and Greed Index.
Key Features
Multi-Ticker Analysis: Integrates data from a diverse set of market indicators, including gold, S&P 500, U.S. Dollar Index, Volatility Index, and more, to create a comprehensive view of market sentiment.
Customisable Sensitivity Settings: Allows users to adjust the moving average period to fine-tune the sensitivity of sentiment calculations, adapting the tool to various market conditions and trading strategies.
Detailed Sentiment Scaling: Utilises a 0-100 scale to quantify sentiment strength, with colour gradients that visually represent bearish, neutral, and bullish conditions, aiding in quick decision-making.
Below is an example where the sentiment index can give leading signals. We see a first sign of wekaness in the index as it drops below its moving average. Shortly after we see it dip below our median 50 level, another sign of weakeness. We see the SPX price action to take a hit following the sentiment index decrease.
Tickers Used and Their Impact on Sentiment
The impact of each ticker on sentiment can be bullish or bearish, depending on their behaviour:
Gold (USGD): Typically seen as a safe-haven asset, rising gold prices often indicate increased market fear or bearish sentiment. Conversely, falling gold prices can signal reduced fear and a shift towards bullish sentiment in riskier assets.
S&P 500 (SPX): A rising S&P 500 is usually a sign of bullish sentiment, reflecting confidence in economic growth and market stability. A decline, however, suggests bearish sentiment and a potential move towards risk aversion.
U.S. Dollar Index (DXY): A strengthening U.S. Dollar can be a sign of fear as investors seek safety in the dollar, which is bearish for risk assets. A weakening dollar, on the other hand, can signal bullish sentiment as capital flows into riskier assets.
Volatility Index (VIX): Known as the "fear gauge," a rising VIX indicates increased market fear and bearish sentiment. A falling VIX suggests a calm, bullish market environment.
Junk Bonds (JNK): Rising junk bond prices often reflect bullish sentiment as investors take on more risk for higher returns. Conversely, falling junk bond prices signal increased fear and bearish sentiment.
Long-Term Treasury Bonds (TLT): Higher prices for long-term treasuries usually indicate a flight to safety, reflecting bearish sentiment. Lower prices suggest a shift towards riskier assets, indicating bullish sentiment.
Financial Sector ETF (XLF): Strength in the financial sector is typically bullish, indicating confidence in economic conditions. Weakness in this sector can reflect bearish sentiment and concerns about financial stability.
Unemployment Rate (USUR): A rising unemployment rate is a bearish signal, indicating economic weakness. A declining unemployment rate is bullish, reflecting economic strength and job growth.
U.S. Interest Rates (USINTR, USIRYY): Higher interest rates can be bearish, as they increase borrowing costs and reduce spending. Lower rates are generally bullish, promoting economic growth and risk-taking.
How it Works
Sentiment Calculation: The US Sentiment Index combines data from multiple tickers, calculating sentiment by scaling the distance from their respective moving averages. Each asset's behaviour is interpreted within the context of market fear or greed, providing a refined sentiment reading that adjusts dynamically.
Market Strength Analysis: When the index is above 50 and also above its moving average, it indicates particularly strong or bullish market conditions, driven by greed. Conversely, when the index is below 50 and under its moving average, it signals bearish or weak market conditions, associated with fear.
Correlation and Pattern Detection: The indicator analyses correlations among the included assets to detect patterns that might signal potential market movements, giving traders a leading edge over simpler sentiment measures.
Adaptive Background Colouring: Utilises a colour gradient that dynamically adjusts based on sentiment values, highlighting extreme fear, neutral, and extreme greed levels directly on the chart.
Flexible Display Options: Offers settings to toggle the moving average plot and adjust its period, giving users the ability to tailor the indicator's sensitivity and display to their specific needs.
In this example below, we can see the Sentiment rise above the Moving Average (MA). Price action goes on to follow this, although there is an instance where it dips below the MA, it quickly rises back above again as a sign of strength.
Another way you can use this index is by simply using the MA, if its trending up, we know the macro sentiment is bullish.
Application
Data-Driven Insights: Offers traders a detailed, data-driven approach to sentiment analysis, incorporating a broad spectrum of market indicators to deliver actionable insights.
Pattern Recognition: Helps identify patterns and correlations that may lead to market reversals or continuations, providing a nuanced view that goes beyond simple sentiment gauges.
Enhanced Decision-Making: Equips traders with a robust tool to validate trading strategies and make informed decisions based on comprehensive sentiment analysis.
The US Sentiment Index by is an essential addition to the toolkit of any trader looking to navigate market complexities with precision and confidence. Its advanced features and data-driven approach offer unparalleled insights into market sentiment, setting it apart from conventional sentiment indicators.
Stock Strength IndexScript Title: Stock Strength Index made by Vishal R Janjire
Description:
The Stock Strength Index combines several advanced technical analysis tools into one comprehensive Pine Script indicator designed to provide a nuanced view of market strength and trends. This script integrates Relative Strength (RS), Commodity Channel Index (CCI), and additional trend confirmation mechanisms to deliver actionable insights for traders.
( Must Read )
Important parameter read before use this indicator
0. Zero line green means stock is in up trend and if it is red means down trending.
1. Zero line is green it means stocks is outperforming its index that is Nifty 50 ( but dont consider its results on nifty itself that is it will not work only on nifty 50)
2. Zero line is red it means stocks is underperforming its index that is Nifty 50
3. bubble is confirmation tool when it show green bubble on zero line it means on short time frame it want go up trending and vise versa
4. Always remember higher time frame is greater than chart time frame like day vs hour
Key Features:
5. Best suitable time when higher time frame is 15 minutes and chart time is 5 minute for intraday trading. for short swing use HTF 1 Day and chart time is 1 hour or 2 hour.
1. Relative Strength (RS) Analysis:
- Calculation: Measures the performance of the base symbol relative to a comparative symbol over a specified period.
- Visualization: Plots the RS value with color-coded lines to indicate bullish (green) or bearish (red) conditions based on crossovers. Users can toggle the RS color based on its value or trend direction.
- Trend Analysis: Displays a simple moving average (SMA) of RS to visualize trend strength and direction. The SMA’s color changes to indicate rising or falling trends.
2. Commodity Channel Index (CCI):
- Current Timeframe CCI: Calculates the CCI for the current timeframe to assess price momentum.
- Higher Timeframe CCI: Computes the CCI for a higher timeframe to provide a broader market perspective.
- Background Color: Highlights the chart background in green or red based on whether both current and higher timeframe CCIs are above or below zero, respectively.
3. Alerts:
- CCI Alerts: Set up alerts for key CCI crossovers, including when both CCIs are above or below zero, or when CCI crosses key levels (100 and -100) on either timeframe.
4. Trend Confirmation:
- Price Confirmation: Uses price and its moving average to identify bullish or bearish divergence, with visual bubbles plotted on the chart to confirm potential trade signals.
5. Customization Options:
- RS Parameters: Adjust settings for RS period, comparative symbol, and whether to display reference labels or the zero line.
- CCI Parameters: Configure CCI lengths for both current and higher timeframes and select the source of the CCI calculation.
Concepts Underlying Calculations:
- Relative Strength (RS): Measures the relative performance of the base symbol compared to another symbol, adjusted over a specified period to capture momentum and trend strength.
- Commodity Channel Index (CCI): Calculates the deviation of the price from its average to identify overbought or oversold conditions and potential reversal points.
- Simple Moving Average (SMA): Smooths the RS values to highlight trends and potential trend reversals.
This indicator is designed for traders seeking a comprehensive tool that combines multiple analytical methods into one cohesive system. It aims to offer a clearer view of market trends, strengths, and potential trade opportunities based on a blend of relative strength and momentum indicators.
---
This description provides a detailed overview of the script's functionality and customization options while ensuring clarity and compliance with the publishing rules.
Oster's Fair Economy (OFE)Overview:
Oster's Fair Economy (OFE) is a powerful tool designed to give traders and investors a comprehensive assessment of the fair value of major stock indices . Unlike conventional indicators that focus solely on technical analysis, OFE emphasizes economic metrics to offer a deeper understanding of the market's intrinsic value. By applying Oster's method (explained below), OFE determines the fundamental fair price of key indices, making it an invaluable tool for top-down analysis and market confirmation. It is particularly useful for swing trading on indices and as a top-down confirmation for individual stock trades.
Important Note:
OFE is designed for use with indices, not individual stocks : Stocks are often driven by their own fundamental factors, such as earnings, revenue, and dividend yields, which may not align with broad economic metrics. While OFE can sometimes provide insights into individual stocks, particularly those highly correlated with broader market trends, it is specifically intended for index analysis.
OFE is optimized for Weekly Candles (W ): OFE is most effective when used with weekly data, as it aligns with the longer-term outlook of economic analyses. While it can be used with smaller timeframes, weekly data is recommended for the most accurate insights.
Innovative Approach to Economic Analysis:
OFE integrates a unique combination of key economic metrics , including:
Gross National Product (GNP)
Consumer Price Index (CPI)
Unemployment Rate (UR)
Interest Rate (e.g., FED)
Nonfarm Payrolls (NFP)
Retail Sales (RS)
Industrial Production (IP)
Balance Of Trade (BOT)
Money Supply M2 (M2)
Consumer Confidence Index (CCI)
These metrics are tailored for 20 different markets : United States (US), Canada (CA), European Union (EU), Germany (DE), United Kingdom (GB), France (FR), Italy (IT), Switzerland (CH), Spain (ES), Australia (AU), New Zealand (NZ), Japan (JP), China (CN), Hong Kong (HK), South Korea (KR), India (IN), Russia (RU), Brazil (BR), Mexico (MX), and Saudi Arabia (SA).
This comprehensive set of data allows traders to gauge the potential for growth, inflation, and overall market conditions . OFE's weighting system reflects the importance of these metrics in determining the fair value of indices according to Oster's methodology .
How OFE Works:
OFE's calculation methodology is designed to provide insights into whether an index is fundamentally overvalued, undervalued, or trading at fair value by comparing its price dynamics with economic data. Here’s a step-by-step breakdown of how OFE works:
Economic Data Collection : OFE retrieves relevant economic data from the selected region, such as GDP, CPI, and interest rates. If specific market data is unavailable, OFE defaults to the US market as a fallback.
Normalization and Weighting : The collected economic metrics are normalized against historical trends to ensure that the data reflects both current levels and long-term averages. For example, GDP growth rates are normalized based on historical data, allowing for a comparison across different economic periods. Similarly, CPI and unemployment rates are adjusted to account for historical context, ensuring that high inflation or unemployment is appropriately weighed relative to past conditions. However, all other macroeconomic key figures are also processed in the same way.
Relating Economic Metrics to Price Dynamics : OFE calculates specific ratios by comparing the selected index’s price with the normalized economic data. These ratios, such as the GNP ratio, are then analyzed within the context of historical performance. The goal is to establish a relationship between the economic indicators and the index’s historical price behavior. For instance, if the GNP ratio is currently higher than historical norms, it could suggest that the index is overvalued relative to the economy’s actual productivity.
Fair Value Calculation : Based on the derived ratios and their historical correlations with index prices, OFE computes a fair value for the index. This calculation integrates multiple economic indicators, each weighted according to its perceived importance in influencing the index. For example, in a high-growth environment, GDP and industrial production might carry more weight, whereas in a recession, unemployment and interest rates could become more influential. The resulting fair value reflects the index's price adjusted for the current economic environment.
Price Comparison : The calculated fair value is then compared to the current market price of the index. If the market price significantly deviates from the fair value, it suggests that the index is either overvalued or undervalued. For example, if the fair value of the S&P 500 is calculated to be 10% lower than its current market price, OFE would indicate that the index might be overvalued, potentially signaling a market correction. The fair price line basically acts as a kind of magnet that keeps attracting the index price. This is because, in the longer term, the broad market is always guided by the economic health of the country in concerned.
Market Dynamics Consideration : By adjusting the "Strictness" level in OFE, users can control how sensitive the fair value calculation is to economic fundamentals. A higher strictness level would highlight discrepancies between the fair value and the market price more aggressively, suggesting a higher likelihood of market mispricing. Conversely, a lower strictness level allows for greater flexibility, acknowledging that markets can sometimes deviate from fundamental values without immediate correction.
Customizable Parameters for Tailored Analysis:
OFE offers extensive customization options to align with your specific investment strategy. Users can:
Select or deselect economic metrics for inclusion.
Adjust the weighting of each metric to reflect its importance in their analysis.
Fine-tune the strictness of the valuation process (as explained above).
Additionally, users can compare different indices with various macroeconomic data sets . For example, you might select the DAX index and apply US economic data to see how the index would perform if driven by US market fundamentals. This feature enables a highly tailored and region-specific analysis, empowering traders to align OFE with their individual perspectives and market outlooks.
Interpretation:
If the calculated fair price is above the current index value, the index is considered fundamentally undervalued, indicating potential for price increases. Conversely, if the fair price is below the current index value, the index is seen as overvalued, suggesting potential risks or a possible correction. The fair price acts as a gravitational force, pulling the index toward its true economic value over time.
This over- or undervaluation can also serve as an overarching economic confirmation for stock trading . For example, it might be advantageous to buy individual stocks when the broader market is fundamentally undervalued, as the general upward potential of the market could support stock price increases. Conversely, selling or avoiding stocks when the broader market is overvalued could help mitigate potential risks, as the market may be primed for a correction.
Conclusion:
Oster's Fair Economy (OFE) bridges the gap between technical simplicity and the depth of macroeconomic analysis . By integrating complex economic metrics with user-friendly customization, OFE empowers traders and investors to assess the fair valuation of indices confidently . This tool is ideal for confirming market trends and gaining a broader understanding of the economic landscape, making it a valuable asset in any investment toolkit.
Portfolio Index Generator [By MUQWISHI]▋ INTRODUCTION:
The “Portfolio Index Generator” simplifies the process of building a custom portfolio management index, allowing investors to input a list of preferred holdings from global securities and customize the initial investment weight of each security. Furthermore, it includes an option for rebalancing by adjusting the weights of assets to maintain a desired level of asset allocation. The tool serves as a comprehensive approach for tracking portfolio performance, conducting research, and analyzing specific aspects of portfolio investment. The output includes an index value, a table of holdings, and chart plotting, providing a deeper understanding of the portfolio's historical movement.
_______________________
▋ OVERVIEW:
The image can be taken as an example of building a custom portfolio index. I created this index and named it “My Portfolio Performance”, which comprises several global companies and crypto assets.
_______________________
▋ OUTPUTS:
The output can be divided into 4 sections:
1. Portfolio Index Title (Name & Value).
2. Portfolio Specifications.
3. Portfolio Holdings.
4. Portfolio Index Chart.
1. Portfolio Index Title, displays the index name at the top, and at the bottom, it shows the index value, along with the chart timeframe, e.g., daily change in points and percentage.
2. Portfolio Specifications, displays the essential information on portfolio performance, including the investment date range, initial capital, returns, assets, and equity.
3. Portfolio Holdings, a list of the holding securities inside a table that contains the ticker, average entry price, last price, return percentage of the portfolio's initial capital, and customized weighted percentage of the portfolio. Additionally, a tooltip appears when the user passes the cursor over a ticker's cell, showing brief information about the company, such as the company's name, exchange market, country, sector, and industry.
4. Index Chart, display a plot of the historical movement of the index in the form of a bar, candle, or line chart.
_______________________
▋ INDICATOR SETTINGS:
Section(1): Style Settings
(1) Naming the index.
(2) Table location on the chart and cell size.
(3) Sorting Holdings Table. By securities’ {Return(%) Portfolio, Weight(%) Portfolio, or Ticker Alphabetical} order.
(4) Choose the type of index: {Equity or Return (%)}, and the plot type for the index: {Candle, Bar, or Line}.
(5) Positive/Negative colors.
(6) Table Colors (Title, Cell, and Text).
(7) To show/hide any indicator’s components.
Section(2): Performance Settings
(1) Calculation window period: from DateTime to DateTime.
(2) Initial Capital and specifying currency.
(3) Option to enable portfolio rebalancing in {Monthly, Quarterly, or Yearly} intervals.
Section(3): Portfolio Holdings
(1) Enable and count security in the investment portfolio.
(2) Initial weight of security. For example, if the initial capital is $100,000 and the weight of XYZ stock is 4%, the initial value of the shares would be $4,000.
(3) Select and add up to 30 symbols that interested in.
Please let me know if you have any questions.
ZORZOR (Zone of Outperformance Ratio) with Supporting Indicators
This custom indicator introduces an approach to measuring asset performance through the Zone of Outperformance Ratio (ZOR), complemented by two supporting indicators for comprehensive market analysis.
1. ZOR (Zone of Outperformance Ratio)
The ZOR is the cornerstone of this indicator, offering a unique perspective on an asset's performance across multiple time zones:
Measures the degree of an asset's outperformance against a benchmark (default: NSE:NIFTY) across different time zones
Utilizes a weighted multi-timeframe approach for a holistic performance view
Combines performance ratios from 63, 126, 189, and 252-day zones and results in a score between 0-99, with higher scores indicating stronger outperformance across zones
Key Features:
Fully configurable weights for each timeframe (63, 126, 189, 252 days)
Customizable benchmark symbol
Color-coded display: Blue for scores ≥60 (strong performance), Red for scores <60 (weaker performance)
2. Supporting Indicators
To enhance analysis and provide context to the ZOR score, two additional indicators are included:
a) Distance to 52-week High:
Calculates the percentage distance between current price and 52-week high
Color-coded for quick interpretation:
Yellow-green when price is above 52-week high
Dark green when price is below 52-week high
Helps identify potential overbought conditions or breakout scenarios
b) Distance to EMA:
Shows percentage distance from current price to a user-defined EMA (default: 21-day)
Helps gauge short-term momentum relative to the trend
Useful for identifying potential mean reversion opportunities
Originality and Usefulness
The ZOR indicator offers a fresh perspective on relative performance by:
Combining multiple timeframes into a single, easy-to-interpret score
Applying a non-linear transformation to emphasize recent performance
Providing a flexible framework for comparing assets against any chosen benchmark
The supporting indicators complement the ZOR by offering additional context:
Distance to 52-week High helps identify potential trend strength and breakout scenarios
Distance to EMA provides insights into short-term momentum and potential mean reversion
This combination allows traders to:
Quickly identify outperforming assets across multiple timeframes
Assess whether an asset is extended from its long-term highs or short-term average
Make more informed decisions by considering relative performance, trend strength, and momentum in a single view
How to Use
1. Add the indicator to your chart
2. Customize settings in the indicator properties:
- Set benchmark symbol
- Toggle visibility of supporting indicators
- Customize EMA length for Distance to EMA
- Adjust ZOR calculation weights(Optional)
3. Interpret the color-coded labels:
- ZOR: Blue (strong performance) or Red (weaker performance)
- Distance to High: Yellow-green (above 52-week high) or Dark green (below)
- Distance to EMA: Purple label showing percentage
4. Use in conjunction with other technical and fundamental analysis for comprehensive trading decisions
This indicator provides a unique, multi-faceted approach to performance analysis, combining relative strength measurement with trend and momentum indicators for a holistic market view.
RSI DeviationAn oscillator which de-trends the Relative Strength Index. Rather, it takes a moving average of RSI and plots it's standard deviation from the MA, similar to a Bollinger %B oscillator. This seams to highlight short term peaks and troughs, Indicating oversold and overbought conditions respectively. It is intended to be used with a Dollar Cost Averaging strategy, but may also be useful for Swing Trading, or Scalping on lower timeframes.
When the line on the oscillator line crosses back into the channel, it signals a trade opportunity.
~ Crossing into the band from the bottom, indicates the end of an oversold condition, signaling a potential reversal. This would be a BUY signal.
~ Crossing into the band from the top, indicates the end of an overbought condition, signaling a potential reversal. This would be a SELL signal.
For ease of use, I've made the oscillator highlight the main chart when Overbought/Oversold conditions are occurring, and place fractals upon reversion to the Band. These repaint as they are calculated at close. The earliest trade would occur upon open of the following day.
I have set the default St. Deviation to be 2, but in my testing I have found 1.5 to be quite reliable. By decreasing the St. Deviation you will increase trade frequency, to a point, at the expense of efficiency.
Cheers
DJSnoWMan06
Glitch IndexGlitch Index is an oscillator from an unknown origin that is discovered in 2013 as a lua indicator taken from MetaStock days and we are not really sure how far back the original idea goes.
How it Works?
As I found this indicator and looking at it's code in different platform I can see it comes back from a basic idea of getting a price value, calculating it's smoothed average with a set multiplier and getting the difference then presenting it on a simplified scale. It appears to be another interpretation of figuring out price acceleration and velocity. The main logic is calculated as below:
price = priceSet(priceType)
_ma = getAverageName(price, MaMethod, MaPeriod)
rocma = ((_ma - _ma ) * 0.1) + 1
maMul = _ma * rocma
diff = price - maMul
gli_ind = (diff / price) * -10
How to Use?
Glitch Index can be used based on different implementations and along with your already existing trading system as a confirmation. Yoıu can use it as a Long signal when the histogram crosses inner levels or you can use it as an overbough and oversold signals when the histogram crosses above outter levels and gets back in the range between outter and inner levels.
You can customise the settings and set your prefered inner and outter levels in indicator settings along with gradient or static based coloring and modify the code as you see fit. The coloring code is set below:
gli_col = gli_ind > outterLevel ? color.green : gli_ind < -outterLevel ? color.red : gli_ind > innerLevel ? color.rgb(106, 185, 109, 57) : gli_ind < -innerLevel ? color.rgb(233, 111, 111, 40) : color.new(color.yellow, 60)
gradcol = color.from_gradient(gli_ind, -outterLevel, outterLevel, color.red, color.green)
colorSelect = colorType == "Gradient" ? gradcol : gli_col
[BT] NedDavis Series: CPI Minus 5-Year Moving Average🟧 GENERAL
The script works on the Monthly Timeframe and has 2 main settings (explained in FEATURES ). It uses the US CPI data, reported by the Bureau of Labour Statistics.
🔹Functionality 1: The main idea is to plot the distance between the CPI line and the 5 year moving average of the CPI line. This technique in mathematics is called "deviation from the moving average". This technique is used to analyse how has CPI previously acted and can give clues at what it might do in the future. Economic historians use such analysis, together with specific period analysis to predict potential risks in the future (see an example of such analysis in HOW TO USE section. The mathematical technique is a simple subtraction between 2 points (CPI - 5yr SMA of CPI).
▶︎Interpretation for deviation from a moving average:
Positive Deviation: When the line is above its moving average, it indicates that the current value is higher than the average, suggesting potential strength or bullish sentiment.
Negative Deviation: Conversely, when the line falls below its moving average, it suggests weakness or bearish sentiment as the current value is lower than the average.
▶︎Applications:
Trend Identification: Deviations from moving averages can help identify trends, with sustained deviations indicating strong trends.
Reversal Signals: Significant deviations from moving averages may signal potential trend reversals, especially when combined with other technical indicators.
Volatility Measurement: Monitoring the magnitude of deviations can provide insights into market volatility and price movements.
Remember the indicator is applying this only for the US CPI - not the ticker you apply the indicator on!
🔹Functionality 2: It plots on a new pane below information about the Consumer Price Index. You can also find the information by plotting the ticker symbol USACPIALLMINMEI on TradingView, which is a Monthly economic data by the OECD for the CPI in the US. The only addition you would get from the indicator is the plot of the 5 year Simple Moving Average.
🔹What is the US Consumer Price Index?
Measures the change in the price of goods and services purchased by consumers;
Traders care about the CPI because consumer prices account for a majority of overall inflation. Inflation is important to currency valuation because rising prices lead the central bank to raise interest rates out of respect for their inflation containment mandate;
It is measured as the average price of various goods and services are sampled and then compared to the previous sampling.
Source: Bureau of Labor Statistics;
FEATURES OF INDICATOR
1) The US Consumer Price Index Minus the Five Year Moving Average of the same.
As shown on the picture above and explained in previous section. Here a more detailed view.
2) The actual US Consumer Price Index (Annual Rate of change) and the Five year average of the US Consumer Price Index. Explained above and shown below:
To activate 2) go into settings and toggle the check box.
HOW TO USE
It can be used for a fundamental analysis on the relationship between the stock market, the economy and the Feds decisions to hike or cut rates, whose main mandate is to control inflation over time.
I have created this indicator to show my analysis in this idea:
What does a First Fed Rate cut really mean?
CREDITS
I have seen such idea in the past posted by the institutional grade research of NedDavis and have recreated it for the TradingView platform, open-source for the community.
RSI AcceleratorThe Relative Strength Index (RSI) is like a fitness tracker for the underlying time series. It measures how overbought or oversold an asset is, which is kinda like saying how tired or energized it is.
When the RSI goes too high, it suggests the asset might be tired and due for a rest, so it could be a sign it's gonna drop. On the flip side, when the RSI goes too low, it's like the asset is pumped up and ready to go, so it might be a sign it's gonna bounce back up. Basically, it helps traders figure out if a stock is worn out or revved up, which can be handy for making decisions about buying or selling.
The RSI Accelerator takes the difference between a short-term RSI(5) and a longer-term RSI(14) to detect short-term movements. When the short-term RSI rises more than the long-term RSI, it typically refers to a short-term upside acceleration.
The conditions of the signals through the RSI Accelerator are as follows:
* A bullish signal is generated whenever the Accelerator surpasses -20 after having been below it.
* A bearish signal is generated whenever the Accelerator breaks 20 after having been above it.
RSI Overbought/Oversold [Overlay Highlighter]Indicator to show when the RSI is in oversold(Below 30) or overbought (Above 70) conditions. The background color of the chart changes colors in the areas where the above conditions are met.
Price can often reverse in these areas. However, this depends on the strength of the trend and price may continue higher or lower in the direction of the overall trend.
Divergence has been added to aid the user in timing reversals. Divergences are plotted by circles above or below the candles. Divergence is confirmed so there is a delay of one candle before the signal is given on the previous candle. Again, everything depends on the strength of the trend so use proper risk management.
Once the RSI has entered into oversold/overbought conditions, it is recommended to wait for divergence before entering into the trade near areas of support or resistance. It is recommended to utilize this strategy on the H4 timeframe, however, this particular strategy works on all timeframes.
This indicator is a modified version of seoco's RSI Overbought/Oversold + Divergence Indicator . The user interface has been refined, is now overlayed on the chart, and my own divergence code has been inserted.
Index Generator [By MUQWISHI]▋ INTRODUCTION :
The “Index Generator” simplifies the process of building a custom market index, allowing investors to enter a list of preferred holdings from global securities. It aims to serve as an approach for tracking performance, conducting research, and analyzing specific aspects of the global market. The output will include an index value, a table of holdings, and chart plotting, providing a deeper understanding of historical movement.
_______________________
▋ OVERVIEW:
The image can be taken as an example of building a custom index. I created this index and named it “My Oil & Gas Index”. The index comprises several global energy companies. Essentially, the indicator weights each company by collecting the number of shares and then computes the market capitalization before sorting them as seen in the table.
_______________________
▋ OUTPUTS:
The output can be divided into 3 sections:
1. Index Title (Name & Value).
2. Index Holdings.
3. Index Chart.
1. Index Title , displays the index name at the top, and at the bottom, it shows the index value, along with the daily change in points and percentage.
2. Index Holdings , displays list the holding securities inside a table that contains the ticker, price, daily change %, market cap, and weight %. Additionally, a tooltip appears when the user passes the cursor over a ticker's cell, showing brief information about the company, such as the company's name, exchange market, country, sector, and industry.
3. Index Chart , display a plot of the historical movement of the index in the form of a bar, candle, or line chart.
_______________________
▋ INDICATOR SETTINGS:
(1) Naming the index.
(2) Entering a currency. To unite all securities in one currency.
(3) Table location on the chart.
(4) Table’s cells size.
(5) Table’s colors.
(6) Sorting table. By securities’ (Market Cap, Change%, Price, or Ticker Alphabetical) order.
(7) Plotting formation (Candle, Bar, or Line)
(8) To show/hide any indicator’s components.
(9) There are 34 fields where user can fill them with symbols.
Please let me know if you have any questions.
Index investingThe Index Investing indicator simplifies decision-making for adding to Index ETF's Long-term investments. By utilizing a percentage discount methodology, it highlights potential opportunities to enhance portfolios. This straightforward tool aids in identifying favorable moments to invest based on calculated price discounts from selected reference points, making the process more systematic and less subjective.
🔶 SETTINGS
Reference Price: Choose between 'All-Time-High' or 'Start of the Year' as the basis for calculating discount levels. This allows for flexibility in strategy depending on market conditions or investment philosophy.
Discount 1 %, Discount 2 %, Discount 3 %: These inputs define the percentage below the reference price at which buy signals are generated. They represent strategic entry points at discounted prices.
🔶 Default Parameters
The default parameters of 4.13%, 8.26%, and 12.39% for the discount levels are chosen based on the average 5-year return of the NSE:NIFTY Index, which stands at approximately 12.39%. By dividing this return into three parts, we obtain a structured approach to capturing potential upside at varying levels of market retracement, providing a logical basis for the selected default values.
Users have the flexibility to modify these parameters, tailoring the indicator to fit their unique approach and market outlook.
🔶 How Levels Are Calculated
Discount levels are calculated using the formula: Discount Price = Reference Price * (1 - Discount %) . This succinct approach establishes specific entry points below the chosen reference, such as an all-time high or the year's start price.
🔶 How Are the Buy Labels Generated
Buy signals are generated when the market price(Low of the candle) crosses under any of the defined discount levels. Each level has a corresponding buy label ('Buy 1', 'Buy 2', 'Buy 3'), which is activated upon the price crossing below the specified discount level and is only reset at the beginning of a new year or upon reaching a new reference high, ensuring signals are not repetitive for the same price level.
🔶 Other Features
Alerts: The indicator provides alerts for each buy signal, notifying potential entry points at their defined discount levels. The alert triggers only once per candle.
Year Marker: A vertical line with an accompanying label marks the start of each trading year on the chart. This feature aids in visualizing the temporal context of buy signals and reference price adjustments.
Alligator + Fractals + Divergent & Squat Bars + Signal AlertsThe indicator includes Williams Alligator, Williams Fractals, Divergent Bars, Market Facilitation Index, Highest and Lowest Bars, maximum and minimum peak of Awesome Oscillator, and signal alerts based on Bill Williams' Profitunity strategy.
MFI and Awesome Oscillator
According to the Market Facilitation Index Oscillator, the Squat bar is colored blue, all other bars are colored according to the Awesome Oscillator color, except for the Fake bars, colored with a lighter AO color. In the indicator settings, you can enable the display of "Green" bars (in the "Green Bars > Show" field). In the indicator style settings, you can disable changing the color of bars in accordance with the AO color (in the "AO bars" field), including changing the color for Fake bars (in the "Fake AO bars" field).
MFI is calculated using the formula: (high - low) / volume.
A Squat bar means that, compared to the previous bar, its MFI has decreased and at the same time its volume has increased, i.e. MFI < previous bar and volume > previous bar. A sign of a possible price reversal, so this is a particularly important signal.
A Fake bar is the opposite of a Squat bar and means that, compared to the previous bar, its MFI has increased and at the same time its volume has decreased, i.e. MFI > previous bar and volume < previous bar.
A "Green" bar means that, compared to the previous bar, its MFI has increased and at the same time its volume has increased, i.e. MFI > previous bar and volume > previous bar. A sign of trend continuation. But a more significant trend confirmation or warning of a possible reversal is the Awesome Oscillator, which measures market momentum by calculating the difference between the 5 Period and 34 Period Simple Moving Averages (SMA 5 - SMA 34) based on the midpoints of the bars (hl2). Therefore, by default, the "Green" bars and their opposite "Fade" bars are colored according to the color of the Awesome Oscillator.
According to Bill Williams' Profitunity strategy, using the Awesome Oscillator, the third Elliott wave is determined by the maximum peak of AO in the range from 100 to 140 bars. The presence of divergence between the maximum AO peak and the subsequent lower AO peak in this interval also warns of a possible correction, especially if the AO crosses the zero line between these AO peaks. Therefore, the chart additionally displays the prices of the highest and lowest bars, as well as the maximum or minimum peak of AO in the interval of 140 bars from the last bar. In the indicator settings, you can hide labels, lines, change the number of bars and any parameters for the AO indicator - method (SMA, Smoothed SMA, EMA and others), length, source (open, high, low, close, hl2 and others).
Bullish Divergent bar
🟢 A buy signal (Long) is a Bullish Divergent bar with a green circle displayed above it if such a bar simultaneously meets all of the following conditions:
The high of the bar is below all lines of the Alligator indicator.
The closing price of the bar is above its middle, i.e. close > (high + low) / 2.
The low of the bar is below the low of 2 previous bars or below the low of one previous bar, and the low of the second previous bar is a lower fractal (▼). By default, Divergent bars are not displayed, the low of which is lower than the low of only one previous bar and the low of the 2nd previous bar is not a lower fractal (▼), but you can enable the display of any Divergent bars in the indicator settings (by setting the value "no" in the " field Divergent Bars > Filtration").
The following conditions strengthen the Bullish Divergent bar signal:
The opening price of the bar, as well as the closing price, is higher than its middle, i.e. Open > (high + low) / 2.
The high of the bar is below all lines of the open Alligator indicator, i.e. the green line (Lips) is below the red line (Teeth) and the red line is below the blue line (Jaw). In this case, the color of the circle above the Bullish Divergent bar is dark green.
Squat Divergent bar.
The bar following the Bullish Divergent bar corresponds to the green color of the Awesome Oscillator.
Divergence on Awesome Oscillator.
Formation of the lower fractal (▼), in which the low of the Divergent bar is the peak of the fractal.
Bearish Divergent bar
🔴 A signal to sell (Short) is a Bearish Divergent bar under which a red circle is displayed if such a bar simultaneously meets all the following conditions:
The low of the bar is above all lines of the Alligator indicator.
The closing price of the bar is below its middle, i.e. close < (high + low) / 2.
The high of the bar is higher than the high of 2 previous bars or higher than the high of one previous bar, and the high of the second previous bar is an upper fractal (▲). By default, Divergent bars are not displayed, the high of which is higher than the high of only one previous bar and the high of the 2nd previous bar is not an upper fractal (▲), but you can enable the display of any Divergent bars in the indicator settings (by setting the value "no" in the " field Divergent Bars > Filtration").
The following conditions strengthen the Bearish Divergent bar signal:
The opening price of the bar, as well as the closing price, is below its middle, i.e. open < (high + low) / 2.
The low of the bar is above all lines of the open Alligator indicator, i.e. the green line (Lips) is above the red line (Teeth) and the red line is above the blue line (Jaw). In this case, the color of the circle under the Bearish Divergent bar is dark red.
Squat Divergent bar.
The bar following the Bearish Divergent bar corresponds to the red color of the Awesome Oscillator.
Divergence on Awesome Oscillator.
Formation of the upper fractal (▲), in which the high of the Divergent bar is the peak of the fractal.
Alligator lines crossing
Bars crossing the green line (Lips) of the open Alligator indicator is the first warning of a possible correction (price rollback) if one of the following conditions is met:
If the bar closed below the Lips line, which is above the Teeth line, and the Teeth line is above the Jaw line, while the closing price of the previous bar is above the Lips line.
If the bar closed above the Lips line, which is below the Teeth line, and the Teeth line is below the Jaw line, while the closing price of the previous bar is below the Lips line.
The intersection of all open Alligator lines by bars is a sign of a deep correction and a warning of a possible trend change.
Frequent intersection of Alligator lines with each other is a sign of a sideways trend (flat).
Signal Alerts
To receive notifications about signals when creating an alert, you must select the condition "Any alert() function is call", in which case notifications will arrive in the following format:
D — timeframe, for example: D, 4H, 15m.
🟢 BDB⎾ - a signal for a Bullish Divergent bar to buy (Long), triggers once after the bar closes and includes additional signals:
/// — if Alligator is open.
⏉ — if the opening price of the bar, as well as the closing price, is above its middle.
+ Squat 🔷 - Squat bar or + Green ↑ - "Green" bar or + Fake ↓ - Fake bar.
+ AO 🟩 - if after the Divergent bar closes, the oscillator color change for the next bar corresponds the green color of the Awesome Oscillator. ┴/┬ — AO above/below the zero line. ∇ — if there is divergence on AO in the interval of 140 bars from the last bar.
🔴 BDB⎿ - a signal for a Bearish Divergent bar to sell (Short), triggers once after the bar closes and includes additional signals:
/// — if Alligator is open.
⏊ — if the opening price of the bar, as well as the closing price, is below its middle.
+ Squat 🔷 - Squat bar or + Green ↑ - "Green" bar or + Fake ↓ - Fake bar.
+ AO 🟥 - if after the Divergent bar closes, the oscillator color change for the next bar corresponds to the red color of the Awesome Oscillator. ┴/┬ — AO above/below the zero line. ∇ — if there is divergence on AO in the interval of 140 bars from the last bar.
Alert for bars crossing the green line (Lips) of the open Alligator indicator (can be disabled in the indicator settings in the "Alligator > Enable crossing lips alerts" field):
🔴 Crossing Lips ↓ - if the bar closed below the Lips line, which is above than the other lines, while the closing price of the previous bar is above the Lips line.
🟢 Crossing Lips ↑ - if the bar closed above the Lips line, which is below the other lines, while the closing price of the previous bar is below the Lips line.
The fractal signal is triggered after the second bar closes, completing the formation of the fractal, if alerts about fractals are enabled in the indicator settings (the "Fractals > Enable alerts" field):
🟢 Fractal ▲ - upper (Bearish) fractal.
🔴 Fractal ▼ — lower (Bullish) fractal.
⚪️ Fractal ▲/▼ - both upper and lower fractal.
↳ (H=high - L=low) = difference.
If you redirect notifications to a webhook URL, for example, to a Telegram bot, then you need to set the notification template for the webhook in the indicator settings in the "Webhook > Message" field (contains a tooltip with an example), in which you just need to specify the text {{message}}, which will be automatically replaced with the alert text with a ticker and a link to TradingView.
‼️ A signal is not a call to action, but only a reason to analyze the chart to make a decision based on the rules of your strategy.
***
Индикатор включает в себя Williams Alligator, Williams Fractals, Дивергентные бары, Market Facilitation Index, самый высокий и самый низкий бары, максимальный и минимальный пик Awesome Oscillator, а также оповещения о сигналах на основе стратегии Profitunity Билла Вильямса.
MFI и Awesome Oscillator
В соответствии с осциллятором Market Facilitation Index Приседающий бар окрашен в синий цвет, все остальные бары окрашены в соответствии с цветом Awesome Oscillator, кроме Фальшивых баров, которые окрашены более светлым цветом AO. В настройках индикатора вы можете включить отображение "Зеленых" баров (в поле "Green Bars > Show"). В настройках стиля индикатора вы можете выключить изменение цвета баров в соответствии с цветом AO (в поле "AO bars"), в том числе изменить цвет для Фальшивых баров (в поле "Fake AO bars").
MFI рассчитывается по формуле: (high - low) / volume.
Приседающий бар означает, что по сравнению с предыдущим баром его MFI снизился и в тоже время вырос его объем, т.е. MFI < предыдущего бара и объем > предыдущего бара. Признак возможного разворота цены, поэтому это особенно важный сигнал.
Фальшивый бар является противоположностью Приседающему бару и означает, что по сравнению с предыдущим баром его MFI увеличился и в тоже время снизился его объем, т.е. MFI > предыдущего бара и объем < предыдущего бара.
"Зеленый" бар означает, что по сравнению с предыдущим баром его MFI увеличился и в тоже время вырос его объем, т.е. MFI > предыдущего бара и объем > предыдущего бара. Признак продолжения тренда. Но более значимым подтверждением тренда или предупреждением о возможном развороте является Awesome Oscillator, который измеряет движущую силу рынка путем вычисления разницы между 5 Периодной и 34 Периодной Простыми Скользящими Средними (SMA 5 - SMA 34) по средним точкам баров (hl2). Поэтому по умолчанию "Зеленые" бары и противоположные им "Увядающие" бары окрашены в соответствии с цветом Awesome Oscillator.
По стратегии Profitunity Билла Вильямса с помощью осциллятора Awesome Oscillator определяется третья волна Эллиота по максимальному пику AO в интервале от 100 до 140 баров. Наличие дивергенции между максимальным пиком AO и следующим за ним более низким пиком AO в этом интервале также предупреждает о возможной коррекции, особенно если AO переходит через нулевую линию между этими пиками AO. Поэтому на графике дополнительно отображаются цены самого высокого и самого низкого баров, а также максимальный или минимальный пик АО в интервале 140 баров от последнего бара. В настройках индикатора вы можете скрыть метки, линии, изменить количество баров и любые параметры для индикатора AO – метод (SMA, Smoothed SMA, EMA и другие), длину, источник (open, high, low, close, hl2 и другие).
Бычий Дивергентный бар
🟢 Сигналом на покупку (Long) является Бычий Дивергентный бар над которым отображается зеленый круг, если такой бар соответствует одновременно всем следующим условиям:
Максимум бара ниже всех линий индикатора Alligator.
Цена закрытия бара выше его середины, т.е. close > (high + low) / 2.
Минимум бара ниже минимума 2-х предыдущих баров или ниже минимума одного предыдущего бара, а минимум второго предыдущего бара является нижним фракталом (▼). По умолчанию не отображаются Дивергентные бары, минимум которых ниже минимума только одного предыдущего бара и минимум 2-го предыдущего бара не является нижним фракталом (▼), но вы можете включить отображение любых Дивергентных баров в настройках индикатора (установив значение "no" в поле "Divergent Bars > Filtration").
Усилением сигнала Бычьего Дивергентного бара являются следующие условия:
Цена открытия бара, как и цена закрытия, выше его середины, т.е. Open > (high + low) / 2.
Максимум бара ниже всех линий открытого индикатора Alligator, т.е. зеленая линия (Lips) ниже красной линии (Teeth) и красная линия ниже синей линии (Jaw). В этом случае цвет круга над Бычьим Дивергентным баром окрашен в темно-зеленый цвет.
Приседающий Дивергентный бар.
Бар, следующий за Бычьим Дивергентным баром, соответствует зеленому цвету Awesome Oscillator.
Дивергенция на Awesome Oscillator.
Образование нижнего фрактала (▼), у которого минимум Дивергентного бара является пиком фрактала.
Медвежий Дивергентный бар
🔴 Сигналом на продажу (Short) является Медвежий Дивергентный бар под которым отображается красный круг, если такой бар соответствует одновременно всем следующим условиям:
Минимум бара выше всех линий индикатора Alligator.
Цена закрытия бара ниже его середины, т.е. close < (high + low) / 2.
Максимум бара выше маскимума 2-х предыдущих баров или выше максимума одного предыдущего бара, а максимум второго предыдущего бара является верхним фракталом (▲). По умолчанию не отображаются Дивергентные бары, максимум которых выше максимума только одного предыдущего бара и максимум 2-го предыдущего бара не является верхним фракталом (▲), но вы можете включить отображение любых Дивергентных баров в настройках индикатора (установив значение "no" в поле "Divergent Bars > Filtration").
Усилением сигнала Медвежьего Дивергентного бара являются следующие условия:
Цена открытия бара, как и цена закрытия, ниже его середины, т.е. open < (high + low) / 2.
Минимум бара выше всех линий открытого индикатора Alligator, т.е. зеленая линия (Lips) выше красной линии (Teeth) и красная линия выше синей линии (Jaw). В этом случае цвет круга под Медвежьим Дивергентным Баром окрашен в темно-красный цвет.
Приседающий Дивергентный бар.
Бар, следующий за Медвежьим Дивергентным баром, соответствует красному цвету Awesome Oscillator.
Дивергенция на Awesome Oscillator.
Образование верхнего фрактала (▲), у которого максимум Дивергентного бара является пиком фрактала.
Пересечение линий Alligator
Пересечение барами зеленой линии (Lips) открытого индикатора Alligator является первым предупреждением о возможной коррекции (откате цены) при выполнении одного из следующих условий:
Если бар закрылся ниже линии Lips, которая выше линии Teeth, а линия Teeth выше линии Jaw, при этом цена закрытия предыдущего бара находится выше линии Lips.
Если бар закрылся выше линии Lips, которая ниже линии Teeth, а линия Teeth ниже линии Jaw, при этом цена закрытия предыдущего бара находится ниже линии Lips.
Пересечение барами всех линий открытого Alligator является признаком глубокой коррекции и предупреждением о возможной смене тренда.
Частое пересечение линий Alligator между собой является признаком бокового тренда (флэт).
Оповещения о сигналах
Для получения уведомлений о сигналах при создании оповещения необходимо выбрать условие "При любом вызове функции alert()", в таком случае уведомления будут приходить в следующем формате:
D — таймфрейм, например: D, 4H, 15m.
🟢 BDB⎾ — сигнал Бычьего Дивергентного бара на покупку (Long), срабатывает один раз после закрытия бара и включает дополнительные сигналы:
/// — если Alligator открыт.
⏉ — если цена открытия бара, как и цена закрытия, выше его середины.
+ Squat 🔷 — Приседающий бар или + Green ↑ — "Зеленый" бар или + Fake ↓ — Фальшивый бар.
+ AO 🟩 — если после закрытия Дивергентного бара, изменение цвета осциллятора для следующего бара соответствует зеленому цвету Awesome Oscillator. ┴/┬ — AO выше/ниже нулевой линии. ∇ — если есть дивергенция на AO в интервале 140 баров от последнего бара.
🔴 BDB⎿ — сигнал Медвежьего Дивергентного бара на продажу (Short), срабатывает один раз после закрытия бара и включает дополнительные сигналы:
/// — если Alligator открыт.
⏊ — если цена открытия бара, как и цена закрытия, ниже его середины.
+ Squat 🔷 — Приседающий бар или + Green ↑ — "Зеленый" бар или + Fake ↓ — Фальшивый бар.
+ AO 🟥 — если после закрытия Дивергентного бара, изменение цвета осциллятора для следующего бара соответствует красному цвету Awesome Oscillator. ┴/┬ — AO выше/ниже нулевой линии. ∇ — если есть дивергенция на AO в интервале 140 баров от последнего бара.
Сигнал пересечения барами зеленой линии (Lips) открытого индикатора Alligator (можно отключить в настройках индикатора в поле "Alligator > Enable crossing lips alerts"):
🔴 Crossing Lips ↓ — если бар закрылся ниже линии Lips, которая выше остальных линий, при этом цена закрытия предыдущего бара находится выше линии Lips.
🟢 Crossing Lips ↑ — если бар закрылся выше линии Lips, которая ниже остальных линий, при этом цена закрытия предыдущего бара находится ниже линии Lips.
Сигнал фрактала срабатывает после закрытия второго бара, завершающего формирование фрактала, если оповещения о фракталах включены в настройках индикатора (поле "Fractals > Enable alerts"):
🟢 Fractal ▲ — верхний (Медвежий) фрактал.
🔴 Fractal ▼ — нижний (Бычий) фрактал.
⚪️ Fractal ▲/▼ — одновременно верхний и нижний фрактал.
↳ (H=high - L=low) = разница.
Если вы перенаправляете оповещения на URL вебхука, например, в бота Telegram, то вам необходимо установить шаблон оповещения для вебхука в настройках индикатора в поле "Webhook > Message" (содержит подсказку с примером), в котором в качестве текста сообщения достаточно указать текст {{message}}, который будет автоматически заменен на текст оповещения с тикером и ссылкой на TradingView.
‼️ Сигнал — это не призыв к действию, а лишь повод проанализировать график для принятия решения на основе правил вашей стратегии.
Trend Reversal Composite Index
Overview
The "Trend Reversal Composite Index" (TRCI) is a comprehensive technical analysis tool that combines several indicators to identify potential trend reversals and assess the overall market pulse. The script integrates a variety of technical indicators, including RSI, Stochastic, MACD, Bollinger Bands, Williams %R, OBV, ADX, ATR, and the Relative Volatility Index, each with adjustable weights to fine-tune their influence on the composite scores.
Key Features
Customization : Users can select the "Standardization Type" (Normalized or Z-Score) to standardize indicator values, catering to different analysis preferences.
Composite Scores : The script calculates two main composite scores: the "Trend Reversal Composite" and the "Market Pulse Composite," each derived from a weighted sum of standardized indicator values.
Indicator Weighting : Each indicator's impact on the composite scores can be adjusted through user-defined weights, enabling personalized sensitivity settings.
Dynamic Visuals : The script plots the composite scores and their exponential moving averages (EMAs) on the chart, offering a clear visualization of the market's condition and trend reversals.
Signal Identification : It provides clear "go long" and "go short" signals based on the crossover and crossunder of the composite score and predefined thresholds, assisting in decision-making.
Utility and Originality
TRCI stands out due to its integrative approach, combining multiple indicators into a single composite index. This not only simplifies the analysis by providing a consolidated view of various signals but also enhances the decision-making process by aggregating the predictive power of individual indicators. Its flexibility in customization through adjustable weights and standardization types allows users to tailor the tool according to their trading style and market conditions.
Implementation and Usage
To utilize the TRCI effectively, traders should first experiment with the weights of different indicators based on their trading strategy and the market's volatility. The composite scores offer a straightforward interpretation: higher values may indicate potential buying opportunities, while lower values could signal selling points. The inclusion of EMAs further aids in smoothing out the signals, providing a more reliable indicator of trend direction.
Conclusion
The "Trend Reversal Composite Index" is a versatile and innovative tool for traders looking to streamline their technical analysis and enhance their decision-making process. Its combination of multiple indicators into composite scores, customizable through user-defined weights, makes it a valuable addition to any trader's toolkit.
Grucha Percentage Index (GPI) V2Grucha Percentage Index originally created by Polish coder named Grzegorz Antosiewicz in 2011 as mql code. This code is adapted by his original code to tradingview's pinescript.
What Does it Do
GPI is an oscillator that finds the lowest/highest prices with certain depth and generates signals by comparing the bull and bear bars. It use two lines, one is the original GPI calculation, the other is the smoothed version of the original line.
How to Use
GPI can catch quick volatility based movements and can be used as a confirmation indicator along with your existing trading system. When GDI (default color yellow) crosses above the GDI MA (default colored blue) it can be considered as a bullish movement and reverse can be considered as bearish movement.
How does it Work
The main calculation is done via the code below:
for i=0 to length
if candleC < 0
minus += candleC
if candleC >= 0
plus -= candleC
Simply we are adding green and red bars seperately and then getting their percentage to the bullish movement to reflect correctly in a 0-100 z-score enviroment via the code below:
res = (math.abs(minus)/sum)*100
Rest is all about plotting the results and adding seperate line with smoothing.
Note
These kind of oscillators are not designed to be used alone for signal generation but rather should be used in combination with different indicators to increase reliability of your signals.
Happy Trading.