Cumulative TICK [Pt]Cumulative TICK Indicator, shown as the bottom indicator, is a robust tool designed to provide traders with insights into market trends using TICK data. This indicator visualizes the cumulative TICK trend in the form of colored columns on a separate chart below the main price chart.
Here's an overview of the key features of the Cumulative TICK Indicator:
1. Selectable TICK Source 🔄: The indicator allows users to choose from four different TICK data sources, namely USI:TICK , USI:TICKQ , USI:TICKI , and $USI:TICKA.
2. TICK Data Type Selection 🎚️: Users can select the type of TICK data to be used. The options include: Close, Open, hl2, ohlc4, hlc3.
3. Optional Simple Moving Average (SMA) 📊: The indicator offers an option to apply an SMA to the Cumulative TICK values, with a customizable length.
4. After-hour Background Color 🌙: The background color changes during after-hours to provide a clear distinction between regular and after-hour trading sessions.
🛠️ How it Works:
The Cumulative TICK Indicator uses TICK data accumulated during the regular market hours (9:30-16:00) as per the New York time zone. At the start of a new session or at the end of the regular session, this cumulative TICK value is reset.
The calculated Cumulative TICK is plotted in a column-style graph. If the SMA is applied, the SMA values are used for the column plots instead. The columns are colored green when the Cumulative TICK is positive and red when it is negative. The shades of green and red vary based on whether the Cumulative TICK is increasing or decreasing compared to the previous value.
This is a simple yet powerful tool to track market sentiment throughout the day using TICK data. Please note that this indicator is intended to be used as part of a comprehensive trading strategy. Always ensure you are managing risk appropriately and consulting various data sources to make informed trading decisions.
Sentiment
Bank nifty puller and Dragger Hello Guys
using the below script you can check the nifty bank puller and draggers at live
how to use it?
it's straightforward
in the table, we will see the points contribution by each bank to Bank nifty
graph shows the overall strength of the buyers and sellers
using graphs also you can trade
but If you want to use a graph please note these important points
1:when the evergreen line cut the red line from below to top (cross-over) it says that buyers are strong but sometimes cross-over may fail and fall again
2: same things happen with the red line also
3: sometimes the graph shows that's a big difference between the red line and the green line that the market opened gap up gap down ( its difficult to define ) will update soon
4:when the market consolidates red and green lines will be very near to each other
5: when the green line is upper side the buyers are strong when the red line is upside sellers are strong (but sometimes it may mislead please be careful )
using the table you can check the overall view of all important banks
according to the time frame, data will be shown
this image shows the break out at 12.45 pm
2nd image shows the consolidation face of the market
this image shows that directly after opening the market sellers became stronger
this is how you can use the indicator
you can use graph or you can use table to get the over all view of the Bank nifty
Biddles OIWAP-Price SpreadThis indicator is the companion to my OIWAP (Open Interested-Weighted Average price) open source indicator.
In observing the OIWAP, what seemed most interesting was the distance between price and OIWAP.
This indicator plots that spread in a histogram.
It seems when price is too high above all OIWAPs, it's locally overbought (sentiment is overly bullish), and vice versa when it's too far below all OIWAPs (sentiment is overly bearish).
But I think there are more unique observations to be made beyond that - I am still in discovery phase myself.
For example: Looking at the SPX while using the ticker override to display BINANCE:BTCUSDT.P OI-Price spread data.
It works on any asset that Tradingview has OI data for. But it's also interesting to view correlated assets by using ticker override in the indicator settings (open the correlated asset w/o OI data in your chart, then set ticker override to a symbol with OI data, like the SPX example above).
>> If you find any interesting observations using it, have suggestions for improving the script, etc., hit me up on Twitter!
>>> @thalamu_
Initial Balance Panel Strategy for BitcoinInitial Balance Strategy
Initial Balance Strategy uses a source code of "Initial Balance Monitoring Panel" that build from "Initial Balance Markets Time Zones - Overall Highest and Lowest".
Initial Balance is based on the highest and lowest price action within the first 60 minutes of trading. Reading online this can depict which way the market can trend for the session. More information about Initial Balance Panel you can read at the end of the article.
Strategy idea
The main idea is to catch the trend move when most of the 16 Crypto pairs break the Low or High levels together. I found good results when 15 of 16 pairs is break that levels and after we manage the trade within some trail stop indicator, I choose Volatility Stop for this strategy.
Additional Strategy idea
The second one idea that was not made is to catch the pullback after fully green/red zones in Initial Balance Panel become white. That mean the main trend can be finished and we can try to catch good pullback in opposite direction.
Binance Crypto pairs
The strategy use the 16 default Crypto currencies pairs from the Binance. As additional variations of the strategy can be changing the currencies pairs and their number.
List of default pairs:
BINANCE:BTCUSDT, BINANCE:ETHUSDT, BINANCE:EOSUSDT, BINANCE:LTCUSDT, BINANCE:XRPUSDT, BINANCE:DASHUSDT, BINANCE:IOTAUSDT, BINANCE:NEOUSDT, BINANCE:QTUMUSDT, BINANCE:XMRUSDT, BINANCE:ZECUSDT, BINANCE:ETCUSDT, BINANCE:ADAUSDT, BINANCE:XTZUSDT, BINANCE:LINKUSDT, BINANCE:DOTUSDT
Summary
The strategy works very well for a buy trades with settings 15 crypto pairs of 16 that follow the trend with breaking the long initial balance level.
Initial Balance Monitoring Panel
Allows you to have an instant view of 16 Crypto pairs within a monitoring panel, monitoring Initial Balance (Asia, London, New York Stock Exchanges).
The code can easily be changed to suit the crypto pairs you are trading.
The setup of my chart would also include this indicator and the "Initial Balance Markets Time Zones - Overall Highest and Lowest" (with all IBs enabled) as shown above.
Initial Balance is based on the highest and lowest price action within the first 60 minutes of trading. Reading online this can depict which way the market can trend for the session.
The indicator has been coded for Crypto (so other symbols may not work as expected).
Though Initial Balance is based off the first 60 minutes of the trading markets opening, but Crypto is 24/7, this indicator looks at how Asia, London and New York Stock Exchanges opening trading can affect Crypto price action.
Source: Initial Balance Monitoring Panel
ICT Donchian Smart Money Structure (Expo)█ Concept Overview
The Inner Circle Trader (ICT) methodology is focused on understanding the actions and implications of the so-called "smart money" - large institutions and professional traders who often influence market movements. Key to this is the concept of market structure and how it can provide insights into potential price moves.
Over time, however, there has been a notable shift in how some traders interpret and apply this methodology. Initially, it was designed with a focus on the fractal nature of markets. Fractals are recurring patterns in price action that are self-similar across different time scales, providing a nuanced and dynamic understanding of market structure.
However, as the ICT methodology has grown in popularity, there has been a drift away from this fractal-based perspective. Instead, many traders have started to focus more on pivot points as their primary tool for understanding market structure.
Pivot points provide static levels of potential support and resistance. While they can be useful in some contexts, relying heavily on them could provide a skewed perspective of market structure. They offer a static, backward-looking view that may not accurately reflect real-time changes in market sentiment or the dynamic nature of markets.
This shift from a fractal-based perspective to a pivot point perspective has significant implications. It can lead traders to misinterpret market structure and potentially make incorrect trading decisions.
To highlight this issue, you've developed a Donchian Structure indicator that mirrors the use of pivot points. The Donchian Channels are formed by the highest high and the lowest low over a certain period, providing another representation of potential market extremes. The fact that the Donchian Structure indicator produces the same results as pivot points underscores the inherent limitations of relying too heavily on these tools.
While the Donchian Structure indicator or pivot points can be useful tools, they should not replace the original, fractal-based perspective of the ICT methodology. These tools can provide a broad overview of market structure but may not capture the intricate dynamics and real-time changes that a fractal-based approach can offer.
It's essential for traders to understand these differences and to apply these tools correctly within the broader context of the ICT methodology and the Smart Money Concept Structure. A well-rounded approach that incorporates fractals, along with other tools and forms of analysis, is likely to provide a more accurate and comprehensive understanding of market structure.
█ Smart Money Concept - Misunderstandings
The Smart Money Concept is a popular concept among traders, and it's based on the idea that the "smart money" - typically large institutional investors, market makers, and professional traders - have superior knowledge or information, and their actions can provide valuable insight for other traders.
One of the biggest misunderstandings with this concept is the belief that tracking smart money activity can guarantee profitable trading.
█ Here are a few common misconceptions:
Following Smart Money Equals Guaranteed Success: Many traders believe that if they can follow the smart money, they will be successful. However, tracking the activity of large institutional investors and other professionals isn't easy, as they use complex strategies, have access to information not available to the public, and often intentionally hide their moves to prevent others from detecting their strategies.
Instantaneous Reaction and Results: Another misconception is that market movements will reflect smart money actions immediately. However, large institutions often slowly accumulate or distribute positions over time to avoid moving the market drastically. As a result, their actions might not produce an immediate noticeable effect on the market.
Smart Money Always Wins: It's not accurate to assume that smart money always makes the right decisions. Even the most experienced institutional investors and professional traders make mistakes, misjudge market conditions, or are affected by unpredictable events.
Smart Money Activity is Transparent: Understanding what constitutes smart money activity can be quite challenging. There are many indicators and metrics that traders use to try and track smart money, such as the COT (Commitments of Traders) reports, Level II market data, block trades, etc. However, these can be difficult to interpret correctly and are often misleading.
Assuming Uniformity Among Smart Money: 'Smart Money' is not a monolithic entity. Different institutional investors and professional traders have different strategies, risk tolerances, and investment horizons. What might be a good trade for a long-term institutional investor might not be a good trade for a short-term professional trader, and vice versa.
█ Market Structure
The Smart Money Concept Structure deals with the interpretation of price action that forms the market structure, focusing on understanding key shifts or changes in the market that may indicate where 'smart money' (large institutional investors and professional traders) might be moving in the market.
█ Three common concepts in this regard are Change of Character (CHoCH), and Shift in Market Structure (SMS), Break of Structure (BMS/BoS).
Change of Character (CHoCH): This refers to a noticeable change in the behavior of price movement, which could suggest that a shift in the market might be about to occur. This might be signaled by a sudden increase in volatility, a break of a trendline, or a change in volume, among other things.
Shift in Market Structure (SMS): This is when the overall structure of the market changes, suggesting a potential new trend. It usually involves a sequence of lower highs and lower lows for a downtrend, or higher highs and higher lows for an uptrend.
Break of Structure (BMS/BoS): This is when a previously defined trend or pattern in the price structure is broken, which may suggest a trend continuation.
A key component of this approach is the use of fractals, which are repeating patterns in price action that can give insights into potential market reversals. They appear at all scales of a price chart, reflecting the self-similar nature of markets.
█ Market Structure - Misunderstandings
One of the biggest misunderstandings about the ICT approach is the over-reliance or incorrect application of pivot points. Pivot points are a popular tool among traders due to their simplicity and easy-to-understand nature. However, when it comes to the Smart Money Concept and trying to follow the steps of professional traders or large institutions, relying heavily on pivot points can create misconceptions and lead to confusion. Here's why:
Delayed and Static Information: Pivot points are inherently backward-looking because they're calculated based on the previous period's data. As such, they may not reflect real-time market dynamics or sudden changes in market sentiment. Furthermore, they present a static view of market structure, delineating pre-defined levels of support and resistance. This static nature can be misleading because markets are fundamentally dynamic and constantly changing due to countless variables.
Inadequate Representation of Market Complexity: Markets are influenced by a myriad of factors, including economic indicators, geopolitical events, institutional actions, and market sentiment, among others. Relying on pivot points alone for reading market structure oversimplifies this complexity and can lead to a myopic understanding of market dynamics.
False Signals and Misinterpretations: Pivot points can often give false signals, especially in volatile markets. Prices might react to these levels temporarily but then continue in the original direction, leading to potential misinterpretation of market structure and sentiment. Also, a trader might wrongly perceive a break of a pivot point as a significant market event, when in fact, it could be due to random price fluctuations or temporary volatility.
Over-simplification: Viewing market structure only through the lens of pivot points simplifies the market to static levels of support and resistance, which can lead to misinterpretation of market dynamics. For instance, a trader might view a break of a pivot point as a definite sign of a trend, when it could just be a temporary price spike.
Ignoring the Fractal Nature of Markets: In the context of the Smart Money Concept Structure, understanding the fractal nature of markets is crucial. Fractals are self-similar patterns that repeat at all scales and provide a more dynamic and nuanced understanding of market structure. They can help traders identify shifts in market sentiment or direction in real-time, providing more relevant and timely information compared to pivot points.
The key takeaway here is not that pivot points should be entirely avoided or that they're useless. They can provide valuable insights and serve as a useful tool in a trader's toolbox when used correctly. However, they should not be the sole or primary method for understanding the market structure, especially in the context of the Smart Money Concept Structure.
█ Fractals
Instead, traders should aim for a comprehensive understanding of markets that incorporates a range of tools and concepts, including but not limited to fractals, order flow, volume analysis, fundamental analysis, and, yes, even pivot points. Fractals offer a more dynamic and nuanced view of the market. They reflect the recursive nature of markets and can provide valuable insights into potential market reversals. Because they appear at all scales of a price chart, they can provide a more holistic and real-time understanding of market structure.
In contrast, the Smart Money Concept Structure, focusing on fractals and comprehensive market analysis, aims to capture a more holistic and real-time view of the market. Fractals, being self-similar patterns that repeat at different scales, offer a dynamic understanding of market structure. As a result, they can help to identify shifts in market sentiment or direction as they happen, providing a more detailed and timely perspective.
Furthermore, a comprehensive market analysis would consider a broader set of factors, including order flow, volume analysis, and fundamental analysis, which could provide additional insights into 'smart money' actions.
█ Donchian Structure
Donchian Channels are a type of indicator used in technical analysis to identify potential price breakouts and trends, and they may also serve as a tool for understanding market structure. The channels are formed by taking the highest high and the lowest low over a certain number of periods, creating an envelope of price action.
Donchian Channels (or pivot points) can be useful tools for providing a general view of market structure, and they may not capture the intricate dynamics associated with the Smart Money Concept Structure. A more nuanced approach, centered on real-time fractals and a comprehensive analysis of various market factors, offers a more accurate understanding of 'smart money' actions and market structure.
█ Here is why Donchian Structure may be misleading:
Lack of Nuance: Donchian Channels, like pivot points, provide a simplified view of market structure. They don't take into account the nuanced behaviors of price action or the complex dynamics between buyers and sellers that can be critical in the Smart Money Concept Structure.
Limited Insights into 'Smart Money' Actions: While Donchian Channels can highlight potential breakout points and trends, they don't necessarily provide insights into the actions of 'smart money'. These large institutional traders often use sophisticated strategies that can't be easily inferred from price action alone.
█ Indicator Overview
We have built this Donchian Structure indicator to show that it returns the same results as using pivot points. The Donchian Structure indicator can be a useful tool for market analysis. However, it should not be seen as a direct replacement or equivalent to the original Smart Money concept, nor should any indicator based on pivot points. The indicator highlights the importance of understanding what kind of trading tools we use and how they can affect our decisions.
The Donchian Structure Indicator displays CHoCH, SMS, BoS/BMS, as well as premium and discount areas. This indicator plots everything in real-time and allows for easy backtesting on any market and timeframe. A unique candle coloring has been added to make it more engaging and visually appealing when identifying new trading setups and strategies. This candle coloring is "leading," meaning it can signal a structural change before it actually happens, giving traders ample time to plan their next trade accordingly.
█ How to use
The indicator is great for traders who want to simplify their view on the market structure and easily backtest Smart Money Concept Strategies. The added candle coloring function serves as a heads-up for structure change or can be used as trend confirmation. This new candle coloring feature can generate many new Smart Money Concepts strategies.
█ Features
Market Structure
The market structure is based on the Donchian channel, to which we have added what we call 'Structure Response'. This addition makes the indicator more useful, especially in trending markets. The core concept involves traders buying at a discount and selling or shorting at a premium, depending on the order flow. Structure response enables traders to determine the order flow more clearly. Consequently, more trading opportunities will appear in trending markets.
Structure Candles
Structure Candles highlight the current order flow and are significantly more responsive to structural changes. They can provide traders with a heads-up before a break in structure occurs
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!
BANKNIFTY STOCKS VWAP PlotsThis script plots a line in different colors based on how many high weightage stocks of banknifty are under vwap.
WORKS BEST on 1m and 2m candles.
stocks used to track are :
HDFC BANK
ICICI BANK
KOTAK BANK
SBI
INDUSIND BANK
If > 80% are below vwap then RED
If > 60% to < 80% below vwap then orange
if > 40% and < 60% below vwap then yellow
if < 40% below vwap then green
Any suggestions to add extra indicators is most welcomed.
Cumulative TICK Trend[Pt]Cumulative TICK Trend indicator is a comprehensive trading tool that uses TICK data to define the market's cumulative trend. Trend is shown on ATR EMA bands, which is overlaid on the price chart. Cumulative TICK shown on the bottom pane is for reference only.
Main features of the Cumulative TICK Trend Indicator include:
Selectable TICK Source: You have the flexibility to choose your preferred TICK source from the following options, depending on the market you trade: USI:TICK, USI:TICKQ, USI:TICKI, and USI:TICKA.
TICK Data Type: Select the type of TICK data to use, options include: Close, Open, hl2, ohlc4, hlc3.
Simple Moving Average (SMA): You can choose to apply an SMA on the calculated Cumulative TICK values with a customizable length.
Average True Range (ATR) Bands: It provides the option to display ATR bands with adjustable settings. This includes the ATR period, EMA period, source for the ATR calculation, and the ATR multiplier for the upper band.
Trend Color Customization: You can customize the color of the bull and bear trends according to your preference.
Smooth Line Option: This setting allows you to smooth the ATR Bands with a customizable length.
How it Works:
This indicator accumulates TICK data during market hours (9:30-16:00) as per the New York time zone and resets at the start of a new session or the end of the regular session. This cumulative TICK value is then used to determine the trend.
The trend is defined as bullish if the SMA of cumulative TICK is equal to or greater than zero and bearish if it's less than zero. Additionally, this indicator plots the ATR bands, which can be used as volatility measures. The Upper ATR Band and Lower ATR Band can be made smoother using the SMA, according to the trader's preference.
The plot includes two parts for each trend: a stronger color (Red for bear, Green for bull) when the trend is ongoing, and a lighter color when the trend seems to be changing.
Remember, this tool is intended to be used as part of a comprehensive trading strategy. Always ensure you are managing risk appropriately and consulting various data sources to make informed trading decisions.
VISION 1.0Introducing the VISION Indicator:
The VISION Indicator is an advanced tool that empowers users to analyze and predict market trends by utilizing three distinct boxes: Box A, Box B, and Box C. Each box represents a specific time range, allowing users to customize their analysis based on their preferred intervals.
Located at the top panel of the indicator, users can easily identify which boxes have a higher likelihood of representing the high or low points of the day. This information assists traders in focusing their attention on the specific boxes that are more likely to contain significant market turning points.
To provide additional insights, the indicator incorporates color-coded panels on the right side. These panels enhance the usability of the indicator by offering valuable information on accuracy and volume characteristics.
The red panel indicates the most accurate predictions for the low of the day. By examining this panel, traders can quickly determine which box historically demonstrates a higher probability of correctly predicting the market's lowest points.
Similarly, the green panel highlights the most accurate predictions for the high of the day. This panel provides traders with a visual representation of which box has historically shown a higher probability of correctly predicting the market's highest points.
Additionally, the blue panel showcases the box with the highest volume percentage. Traders can leverage this information to gauge the intensity of trading activity within different time intervals. By understanding volume patterns, traders can make informed decisions about optimal entry and exit points.
Overall, the VISION Indicator offers a comprehensive visual representation of different time intervals and their respective probabilities for market highs, lows, and trading volume. With this valuable tool, traders can gain insights into potential market trends and make informed trading decisions based on historical patterns and volume analysis.
Investor Satisfaction/Price Divergence Ox_kali The "Investor Satisfaction/Price Divergence" is an indicator designed to quantify investor satisfaction and pinpoint potential price divergences.
The primary goal of this indicator is to provide a reliable tool for gauging investor sentiment and identifying price divergences. These insights can be instrumental in predicting possible market trend reversals.
Key Features
Calculation of the highest and lowest prices over a user-defined period.
Computation of the average satisfaction of investors who have invested over a user-defined period.
Normalization of average satisfaction between 0 and 1 to provide a standardized measure of investor sentiment.
Identification of price divergence between the normalized satisfaction and the actual asset price.
Detection of anomalies in satisfaction change, which can suggest unusual market conditions.
Plotting an histogram display of the difference between normalized satisfaction and price divergence.
Functionality Analysis:
This indicator begins by identifying the highest and lowest prices over a period defined by the user. It then calculates the average investor satisfaction based on the change in the closing price from the investment point to the current price, relative to the range between the highest and lowest prices.
This satisfaction measure is then normalized between 0 and 1, providing a uniform measure of investor sentiment. The indicator also identifies potential price divergence by comparing the normalized satisfaction with the normalized price. This divergence is then plotted as a histogram, with the color of the histogram bars indicating whether the market is oversold, overbought, or in a normal state. Anomalies in satisfaction change are highlighted, helping traders to spot unusual market behavior.
Trading Application
The "Investor Satisfaction & Price Divergence" indicator can be incorporated into a variety of trading strategies. A significant divergence between normalized satisfaction and the asset price can signal a potential market reversal. Additionally, a sudden drop or rise in investor satisfaction could indicate a sell-off or a buying spree, respectively. Additionally, the capability to spot irregularities in satisfaction change may be useful in recognizing unusual market conditions, possibly providing early indications of noteworthy market events
Please note that the investor Satisfaction/Price Divergence by Ox_kali is provided for educational purposes only and is not meant to constitute financial advice. Thi indicator is not a guarantee of future market performance and should be used in conjunction with proper risk management. Always ensure that you have a thorough understanding of the indicator’s methodology and its limitations before making any investment decisions. Additionally, past performance is not indicative of future results.
Market Order Bubbles + Trapped Positions [Pt]"Market Order Bubbles + Trapped Positions" is a multifaceted TradingView indicator, employing volume data to depict intensified market activities. By highlighting aggressive buying/selling behaviors, this tool serves as a dependable aid in pinpointing potential trading reversals. Additionally, it proves an effective device for real-time market trend monitoring. The unique ability of this indicator to spotlight 'Trapped Positions'—resulting from such vigorous trading activity—helps identify crucial price levels or ranges that may lead to significant price responses.
Market Order Bubbles
The Market Order Bubbles feature capitalizes on volume data to estimate market orders. High bullish volume is indicative of a surge in buy orders, while strong bearish volume flags an increase in sell orders. These orders are visually represented by bubbles of different sizes, corresponding directly to the volume strength, thus providing traders with an immediate, intuitive understanding of market activity.
Trapped Positions/Zones
The concept of Trapped Positions emerges when sizable buy orders appear during a bearish market trend, or vice versa. For instance, if a considerable sell order is detected during a bullish uptrend, it signifies that those short positions may be 'trapped'. These positions help in plotting potential price range zones. When the price revisits these zones and the market trend maintains its bullish inclination, trapped shorts might opt for liquidation near break-even to mitigate losses. The reverse holds true in a bearish downtrend.
Trend Follower
The Trend Follower feature is a supportive tool that aims to discern price trends, color-coding candle bars for clarity. This function assists traders by presenting a simplified view of the prevailing trend, helping to minimize distractions caused by minor price shifts.
The utility of the Trend Follower is its ability to aid traders in focusing on the larger market direction. It allows traders to concentrate on the more substantial trend and make decisions that align with this broader market movement, rather than reacting to every minor price fluctuation. As a result, this feature may support traders in maintaining their positions for a longer duration, which could potentially enhance their trading outcomes. The Trend Follower, therefore, offers a helpful contribution to a balanced and effective trading approach.
In essence, the "Market Order Bubbles + Trapped Positions" indicator with its Trend Follower feature provides traders with a comprehensive understanding of market dynamics, allowing them to navigate the financial markets with increased precision and confidence. Its unique features, designed to highlight significant market activities and trends, can greatly aid in refining trading strategies, making it a potentially invaluable tool in a trader's arsenal.
BANKNIFTY position screenerThe script takes present day's price range of the stocks (stocks of the Index being tracked included in this screener) into account, to hint strength or weakness in the underlying Index (for example: BANKNIFTY here). The day's price range of a stock is gauged on a scale of 0-100, where 0 is Day's price low and 100 is day's price high.
If a stock is in 90-100 price range section the cell with title "90" illuminates hinting the stock is trading near day's high.
Likewise, if a stock is in 0-10 price range section the cell with title "10" illuminates hinting that the stock is trading near day's low.
The price range of 10-25 is represented in the cell titled "25"
The price range of 75-90 is represented in the cell titled "75"
Only one cell from the day's range illuminates at a time for a stock, signaling the present position of that stock in the Day's range at that instant.
The script works best above 10 second time frame.
Idea: If majority of the heavy weight stocks of the Index being tracked are trading near Day's high the underlying Index must be going strong at that very instant and Vice versa.
Disclaimer: Only for studying Index movement ideas intraday, trading is not advised.
Market Order Bubbles - By Leviathan"Market Order Bubbles" is a volume-based indicator that helps visualize the occurrences of increased aggressiveness in market buying/selling and can serve as a useful confluence for trading reversals or as a simple tool for observing real-time market dynamics.
I created Market Order Bubbles six months ago as an additional tool included in my Liquidation Levels script. Due to their popularity, I decided to publish them as a standalone indicator with some new features. The script is based on a calculation that uses volume data (imitation of CVD) and price action to estimate where there is a surge in the quantity and magnitude of market buy and sell orders. These occurrences are visualized with circles (bubbles) that appear above the bar (market buy orders) or below the bar (market sell orders). Most of the time, the approach to interpreting the bubbles is contrarian, meaning that the appearance of Market Buy Order Bubbles can serve as a confluence to look for shorts, and the appearance of Market Sell Order Bubbles can serve as a confluence to look for longs.
The concept behind taking a contrarian approach:
Market Buy Order Bubbles appear above the price and possibly signal the following:
- Short positions being liquidated (exit short = buy order)
- New traders entering late longs based on FOMO (enter long = buy order)
- Smarter traders getting their limit sell orders filled by aggressive buyers/stopped out shorts
⇒ Possible reversal to the downside / short-term pullback / start of ranging price action (PA)
Market Sell Order Bubbles appear below the price and possibly signal the following:
- Long positions being liquidated (exit long = sell order)
- New traders entering late shorts based on FOMO (enter short = sell order)
- Smarter traders getting their limit buy orders filled by aggressive sellers/stopped out longs
⇒ Possible reversal to the upside / short-term pullback / start of the ranging PA
These events are identified and filtered by EMA and STDEV-based "thresholds," which can be modified in the indicator settings.
1. If the buy/sell volume exceeds the first threshold, a Small Bubble is displayed.
2. If the buy/sell volume surpasses the second threshold, a Medium Bubble is displayed.
3. If the buy/sell volume exceeds the third threshold, a Large Bubble is displayed.
Increasing the multipliers effectively increases the threshold for a given bubble to appear, making the conditions for its occurrence more strict.
Decreasing the multipliers effectively decreases the threshold for a given bubble to appear, making the conditions for its occurrence less strict.
Settings Overview
"Bubble Position" - Choose whether the bubbles are displayed above/below the candle, at the candle high/low, or at the intrabar POC of the candle.
"Strength Gradient Color" - This option adjusts the transparency of the bubble's color relative to the volume on that bar.
"Threshold EMA Length" - Choose the length of the EMA used for determining the thresholds.
"Threshold STDEV Length" - Choose the length of the ta.stdev() function used on the EMA.
"Appearance Delay" - This input allows you to delay the appearance of the bubble for x number of bars. The default is 0.
"Show POC" - Show/hide intrabar POCs displayed as "-".
"Timeframe-Adjusted Settings" - Different timeframes might require different parameters. In this section, you can set custom parameters (Lengths and Multipliers) for four different timeframes, and the script will automatically switch to those settings as you browse through different timeframes.
Aggregated Funding RateThis funding rate indicator combines data from two of the largest cryptocurrency exchanges, BitMex and Binance, and supports USD, USDT, and BUSD currency pairs. Moreover, it covers a wide range of 31 different crypto assets to choose from, providing users with a comprehensive view of the funding rate for each asset.
The aggregation is formed by calculating the funding rate of the cryptocurrency for each perpetual chart respectively (Binance - USDT & BUSD and BitMex - USDT & USD). The calculation itself is based on each exchange's official formula, hence the reasoning behind including only 4 sources, they are currently the only ones which can be calculated this way in Tradingview.
Afterwards, it is either summed or averaged based on the user input. Additionaly, the user may choose freely which of the four sources will be included.
What is Funding Rate ?
The funding rate is the cost of holding a cryptocurrency position on a futures exchange. It is essentially an interest rate paid by the long or short position holder to the counterparty. If the funding rate is positive, longs pay shorts, and if it is negative, shorts pay longs. This rate is adjusted periodically, typically every eight hours, to ensure that the futures price of the cryptocurrency remains close to its spot price.
Utility :
The funding rate indicator can be used in a variety of ways. Traders can use it to gauge the sentiment of the market. If the funding rate is consistently positive, it suggests that there is more demand for long positions than short positions, indicating that the market is bullish. On the other hand, if the funding rate is consistently negative, it suggests that there is more demand for short positions than long positions, indicating that the market is bearish.
In addition, the funding rate indicator can be used to identify potential trading opportunities. If the funding rate is significantly higher than usual, it may indicate that longs are overpaying shorts, creating a potential arbitrage opportunity. Alternatively, if the funding rate is significantly lower than usual, it may indicate that shorts are overpaying longs, creating a potential arbitrage opportunity in the opposite direction.
Key Features
Aggregation type
31 supported cryptocurrencies
Simple or Depth style options
Sources to aggregate
BTC bottom top MACRO indicator based on: Cost per transaction(w)Predicting tops and bottoms in any market is a challenging task, and the Bitcoin market is no exception. Many traders and analysts use a combination of various indicators and models to help them make educated guesses about where the market might be heading. One such metric that can provide valuable insights is the Bitcoin cost per transaction indicator.
Here's how it could potentially be superior to just using price action for predicting macro tops and bottoms:
Transaction Cost as an Indicator of Network Activity: The cost per transaction on the Bitcoin network can give an indication of how much activity is taking place. When transaction costs are high, it may signal increased network usage, which often coincides with periods of market enthusiasm or FOMO (Fear of Missing Out) that can precede market tops. Conversely, lower transaction costs might indicate reduced network activity, potentially signaling a lack of investor interest that might precede market bottoms.
Reflects Real-World Use and Demand: Unlike price action, which can be influenced by speculative trading and may not always reflect the underlying fundamentals, the cost per transaction is directly tied to the use of the Bitcoin network. It offers a more fundamental approach to understanding market dynamics.
Complements Price Action Analysis: While price action can give signals about potential tops and bottoms based on historical price patterns and technical analysis, the cost per transaction can add an additional layer of information by reflecting network activity. In this way, the two can be used together to give a more complete picture of the market.
May Precede Price Changes: Changes in transaction costs could potentially precede price changes, giving advanced warning of tops and bottoms. For instance, a sudden increase in transaction costs might indicate a surge in network activity and investor interest, potentially signaling a market top. On the other hand, a decrease in transaction costs might suggest declining network activity and investor interest, potentially signaling a market bottom.
However, it's important to note that while the cost per transaction can provide valuable insights, it's not a foolproof method for predicting market tops and bottoms. Like all indicators, it should be used in conjunction with other tools and analysis methods, and traders should also consider the broader market context. As always, past performance is not indicative of future results, and all trading and investment strategies carry the risk of loss.
Liquidation Levels on OIThis indicator is used to display estimated contract liquidation prices. When there are dense liquidation areas on the chart, it indicates that there may be a lot of liquidity at that price level. The horizontal lines of different colors on the chart represent different leverage ratios. See below for details.
Let me introduce the principle behind this indicator:
1. When position trading volume increases or decreases significantly higher than usual levels in a specific candlestick chart, it indicates that a large number of contracts were opened during that period. We use the 60-day moving average change as a benchmark line. If the position trading volume changes more than 1.2x, 2x or 3x its MA60 value, it is considered small, medium or large abnormal increase or decrease.
2. This indicator takes an approximate average between high, open, low and close prices of that candlestick as opening price.
3. Since contracts involve liquidity provided by both buyers and sellers with equal amounts of long and short positions corresponding to each contract respectively; since we cannot determine actual settlement prices for contract positions; therefore this indicator estimates settlement prices instead which marks five times (5x), ten times (10x), twenty-five times (25x), fifty times (50x) and one hundred times (100x) long/short settlement prices corresponding to each candlestick chart generating liquidation lines with different colors representing different leverage levels.
4. We can view areas where dense liquidation lines appear as potential liquidation zones which will have high liquidity.
5. We can adjust orders based on predicted liquidation areas because most patterns in these areas will be quickly broken.
6. We provide a density histogram to display the liquidation density of each price range.
Special thanks to the following TradingView community members for providing open-source indicators and contributing to the development of this indicator!
Liquidation - @Mysterysauce
Open Interest Delta - By Leviathan - @LeviathanCapital
Regarding the relationship with the above-mentioned open source indicators:
1. Indicator Liquidation - @Mysterysauce can also draw a liquidation line in the chart, but:
(1) Our indicator generates a liquidation line based on abnormal changes in open interest; their indicator generates a liquidation line based on trading volume.
(2) Our indicator will generate both long and short liquidation lines at the same time; their indicator will only generate a liquidation line in a single direction.
We refer to their method of drawing liquidation lines when drawing our own.
2. Indicator Open Interest Delta - By Leviathan - @LeviathanCapital obtained OI data for Binance USDT perpetual contracts in the code. We refer to their method of obtaining OI data in our code.
============= 中文版本 =============
此指标用于显示估计合约清算价格。当图表上有密集的清算区域时,表示该价格水平可能存在大量流动性。图表上不同颜色的水平线代表不同杠杆比率。详情请参见下面的说明。
让我介绍一下这个指标背后的原理:
1. 当特定蜡烛图对应的合约仓位增加量(OI Delta)显著高于通常水平时,表示在那段时间有大量合约开仓。我们使用OI Delta的60日移动均线作为基准线。如果OI Delta超过其MA60值的1.2倍、2倍或3倍,则认为是小型、中型或大型的异常OI Delta。
2. 该指标将上述蜡烛图高、开、低和收盘价的平均值作为近似的合约开仓价。
3. 由于合约涉及买方和卖方之间相互提供流动性,每个合约对应相等数量的多头和空头头寸。由于我们无法确定合约头寸的实际清算价格,因此该指标估计了清算价格。它标记了与该蜡烛图相对应的多头和空头5倍、10倍、25倍、50倍和100倍的清算价格,生成清算线。不同杠杆水平用不同颜色表示。
4. 我们可以将出现密集清算线的区域视为潜在的清算区域。这些区域将具有高流动性。
5. 我们可以根据预测到的清算区域调整自己的订单,因为根据规律,这些清算区域大部分都会很快被击穿。
6. 我们提供了密度直方图来显示每个价格范围的清算密度
特别感谢以下TradingView社区成员提供开源指标并为该指标的开发做出贡献!
Liquidation - @Mysterysauce
Open Interest Delta - By Leviathan - @LeviathanCapital
与上述开源指标的关系:
1. 指标Liquidation - @Mysterysauce也可以在图中绘制清算线,但是:
(1)我们的指标是基于open interest的异常变化生成的清算线;他们的指标是基于成交量生成的清算线
(2)我们的指标会同时生成多头和空头清算线;他们的指标仅会在单一方向生成清算线
我们的指标在绘制清算线上参考了他们绘制清算线的方式
2. 指标Open Interest Delta - By Leviathan - @LeviathanCapital在代码中获取了Binance USDT永续合约的OI数据。我们在代码中参考他们获取OI数据的方式
Open Interest OffsetThis indicator is used to display whether there has been an abnormal increase or decrease in recent contract positions. Its usage is similar to the RSI indicator.
Please note that this indicator uses fixed (customizable) thresholds of 0.4 and 0.6 to indicate when abnormal opening and closing occur respectively. For some altcoins, their values may far exceed 0.4 so please adjust accordingly based on your symbol.
(1) When there is an abnormal increase in recent contract positions, the value of the indicator will be above 0.4. This means that there may be a liquidation market situation occurring subsequently. If the market background at this time is rising, it may not be suitable to continue buying because the indicator shows that it is currently overbought. On the contrary, it may be appropriate to sell now.
(2) When there is an abnormal decrease in recent contract positions, the value of the indicator will be below -0.4. This means that a liquidation market situation has occurred recently. If the market background at this time is falling, it may not be suitable to continue shorting because the indicator shows that it is currently oversold. On the contrary, it may be appropriate to buy now.
Special thanks to the following TradingView community members for providing open-source indicators and contributing to the development of this indicator!
Open Interest Delta - By Leviathan - @LeviathanCapital
Regarding the relationship with the above-mentioned open source indicator:
Indicator Open Interest Delta - By Leviathan - @LeviathanCapital obtained OI data for Binance USDT perpetual contracts in the code. We refer to their method of obtaining OI data in our code.
============= 中文版本 =============
该指标用于显示近期合约持仓量是否有异常的增加和减少。它的用法类似于RSI指标
请注意,该指标使用了固定的(可定制的)阈值0.4和0.6来提示异常开仓和平仓的发生。对于某些山寨币而言,指标的数值可能远大于0.4。请根据你所关注的标的自行调整
(1)当近期合约持仓量有异常的增加时,指标的值会在0.4以上。这意味着后续可能有清算行情的发生。若此时市场背景为上涨,此时可能不太适合继续做多,因为指标显示目前处于超买行情。相反,现在可能适合卖出
(2)当近期合约的持仓量有异常的减少时,指标的值会在-0.4以下。这意味着近期已经发生了清算行情。若此时市场背景为下跌,此时可能不太适合继续做空,因为指标显示目前处于超卖行情。相反,现在可能适合买入
特别感谢以下TradingView社区成员提供开源指标并为该指标的开发做出贡献!
Open Interest Delta - By Leviathan - @LeviathanCapital
与上述开源指标的关系:
指标Open Interest Delta - By Leviathan - @LeviathanCapital在代码中获取了Binance USDT永续合约的OI数据。我们在代码中参考他们获取OI数据的方式
KDJ-RSI Buy/Sell Signal ver. 1It is an indicator combining the RSI indicator and KDJ indicator.
Buy signal will triggers when:
RSI signal positioning below 25
J value crosses below 0
Sell signal will triggers when:
RSI signal positioning above 85
J value crosses above 100
***********
Please take note that this indicator may be not accurate for every chart in the crypto market, but it is most appropriate to use it in BTC/USDT charts, mainly for 1h, 4h, and 1d candles. Not recommended to use it for 1m or 15m leverage trades, this indicator might be altered by FOMO sentiment.
Market Breadth Ratio+ [Pt]This is a + version of my original Market Breadth Ratio Indicator
DESCRIPTION
The Market Breadth Ratio+ indicator is a tool that can help traders gain a more comprehensive understanding of market breadth by providing a ratio between Up volume (UVOL) and Down volume (DVOL).
While the VOLD indicator provides a straightforward measure of the difference between UVOL and DVOL, it doesn't account for the rate of change. The Market Breadth Ratio+ indicator, on the other hand, takes the rate of change into account, providing a plot line that is easier to interpret and understand.
The Up Volume vs Down Volume Ratios measure the strength of buying versus selling pressure in the market. A ratio greater than 1 indicates that there is more buying pressure, while a ratio less than -1 indicates more selling pressure. The ratio is calculated by dividing the total volume of stocks that closed up on the day by the total volume of stocks that closed down.
|| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------||
This script includes the following premium unique features.
1) Custom Moving Average line for Breadth Ratio line. There are a few MA type to choose from: SMA, EMA, RMA, WMA, VWMA, HMA
- This feature provide a smoother plot for better interpretation of the market trend
- MA crossovers can also be used as trend reversal signals
2) Breadth Strength Index (BSI)
- This graph shows the relative strength of the Breadth Ratio. This is a momentum based oscillator that measure the rate of change of the Breadth Ratio. It shows the strength and weakness in the Breadth Ratio plot.
- A bar close to 1 means the market is very strong in the Bullish direction, conversely, a bar close to -1 means the market is very weak, but very strong in the Bearish direction
- Above 0 shows Bullish strength
- Below 0 shows Bearish strength
3) Two display modes for Breadth Strength Index
- Histogram
- Line
- These can be combined to show different markets together, such as NYSE and NASDAQ
4) Custom Moving Average can be applied to the BSI
- This will provide smoother graph for easier interpretation
5) Aggregated Market Strength
- This feature combines the BSI of multiple markets, such as NYSE and NASDAQ, to provide a more comprehensive view of the overall US market. Often time, one of these indices will have a stronger 'pull' on the entire market. By observing the dominant color (of your choosing), you can see which index is pulling the market. And by trading the market that has the bigger pull, traders can leverage on the possible higher volatility for greater trade opportunities.
6) Custom Moving Average can be applied to the Aggregated Market Strength
- This will provide smoother graph for easier interpretation
7) Show alternating trend colors on Aggregated Market Strength
- This provides an intuitive view of the market strength that's based on market breadth ratio
Trend Angle Candle ColorIntroduction:
As a trader, understanding the trend of the market is crucial for making informed decisions. One way to gain insight into the market trend is by using technical indicators, which are mathematical calculations that provide traders with valuable information about price action. In this post, we will explore a unique indicator called the "Trend Angle Candle Color" that not only identifies the trend but also visualizes it using color-coded candlesticks. We'll dive into the script, discuss its key components, and explain how you can benefit from using it in your trading strategy.
Script Overview:
The Trend Angle Candle Color Indicator is written in the Pine Script language for the TradingView platform. The indicator utilizes a combination of Exponential Moving Average (EMA), Average True Range (ATR), and Epanechnikov Kernel function to calculate the trend angle, which is then represented by color-coded candlesticks. The script offers several customizable inputs, such as the length of the lookback period, the scale (sensitivity), and the smoothing factor.
Key Components of the Script:
Inputs:
Length: Determines the lookback period for calculating the trend.
Scale: Adjusts the sensitivity of the indicator.
Smoothing: Controls the degree of smoothing applied to the angle calculation.
Smoothing Factor: Adjusts the weight of the Epanechnikov Kernel function.
Functions:
grad(src): A function that takes an input value and returns a corresponding color from a predefined gradient.
ema(source): An Exponential Moving Average function that smoothens the price data.
atan2(y, x) and degrees(float source): Functions that convert the slope into an angle in radians and then into degrees.
epanechnikov_kernel(_src, _size, _h, _r): A function that applies the Epanechnikov Kernel smoothing method to the angle data.
Calculations:
ATR: Calculates the Average True Range using the EMA function.
Slope: Determines the slope of the price change over the specified lookback period.
Angle_rad: Converts the slope into an angle in radians.
Degrees: Applies the Epanechnikov Kernel smoothing function to the angle data and scales it to a range between 0 to 100.
Visualization:
Colour: Assigns a color to each candlestick based on the calculated degree value using the grad() function.
Barcolor(colour) and plotcandle(): Functions that display the color-coded candlesticks on the chart.
Benefits of Using the Trend Angle Candle Color Indicator:
Easy Visualization: The color-coded candlesticks provide a simple and intuitive way to understand the market trend direction and strength at a glance.
Customizable Parameters: The customizable inputs allow traders to fine-tune the indicator to their preferred settings, suiting their trading style and strategy.
Versatility: The Trend Angle Candle Color Indicator can be used across various timeframes and financial instruments, making it a valuable addition to any trader's toolkit.
Conclusion:
The Trend Angle Candle Color Indicator is a powerful tool that can enhance your trading strategy by providing a visual representation of the market trend. The unique combination of EMA, ATR, and Epanechnikov Kernel smoothing helps create a more accurate and easy-to-understand trend angle calculation. By incorporating this indicator into your trading analysis, you can gain better insight into market dynamics and make more informed trading decisions.
Trend AngleIntroduction:
In today's post, we'll dive deep into the source code of a unique trading tool, the Trend Angle Indicator. The script is an indicator that calculates the trend angle for a given financial instrument. This powerful tool can help traders identify the strength and direction of a trend, allowing them to make informed decisions.
Overview of the Trend Angle Indicator:
The Trend Angle Indicator calculates the trend angle based on the slope of the price movement over a specified period. It uses an Exponential Moving Average (EMA) to smooth the data and an Epanechnikov kernel function for additional smoothing. The indicator provides a visual representation of the trend angle, making it easy to interpret for traders of all skill levels.
Let's break down the key components of the script:
Inputs:
Length: The number of periods to calculate the trend angle (default: 8)
Scale: A scaling factor for the ATR (Average True Range) calculation (default: 2)
Smoothing: The smoothing parameter for the Epanechnikov kernel function (default: 2)
Smoothing Factor: The radius of the Epanechnikov kernel function (default: 1)
Functions:
ema(): Exponential Moving Average calculation
atan2(): Arctangent function
degrees(): Conversion of radians to degrees
epanechnikov_kernel(): Epanechnikov kernel function for additional smoothing
Calculations:
atr: The EMA of the True Range
slope: The slope of the price movement over the given length
angle_rad: The angle of the slope in radians
degrees: The smoothed angle in degrees
Plotting:
Trend Angle: The trend angle, plotted as a line on the chart
Horizontal lines: 0, 90, and -90 degrees as reference points
How the Trend Angle Indicator Works:
The Trend Angle Indicator begins by calculating the Exponential Moving Average (EMA) of the True Range (TR) for a given financial instrument. This smooths the price data and provides a more accurate representation of the instrument's price movement.
Next, the indicator calculates the slope of the price movement over the specified length. This slope is then divided by the scaled ATR to normalize the trend angle based on the instrument's volatility. The angle is calculated using the atan2() function, which computes the arctangent of the slope.
The final step in the process is to smooth the trend angle using the Epanechnikov kernel function. This function provides additional smoothing to the trend angle, making it easier to interpret and reducing the impact of short-term price fluctuations.
Conclusion:
The Trend Angle Indicator is a powerful trading tool that allows traders to quickly and easily determine the strength and direction of a trend. By combining the Exponential Moving Average, ATR, and Epanechnikov kernel function, this indicator provides an accurate and easily interpretable representation of the trend angle. Whether you're an experienced trader or just starting, the Trend Angle Indicator can provide valuable insights into the market and help improve your trading decisions.
Financial Radar Chart by zdmreRadar chart is often used when you want to display data across several unique dimensions. Although there are exceptions, these dimensions are usually quantitative, and typically range from zero to a maximum value. Each dimension’s range is normalized to one another, so that when we draw our spider chart, the length of a line from zero to a dimension’s maximum value will be the similar for every dimension.
This Charts are useful for seeing which variables are scoring high or low within a dataset, making them ideal for displaying performance.
How is the score formed?
Debt Paying Ability
if Debt_to_Equity < %10 : 100
elif < 20% : 90
elif < 30% : 80
elif < 40% : 70
elif < 50% : 60
elif < 60% : 50
elif < 70% : 40
elif < 80% : 30
elif < 90% : 20
elif < 100% : 10
else: 0
ROIC
if Return_on_Invested_Capital > %50 : 100
elif > 40% : 90
elif > 30% : 80
elif > 20% : 70
elif > 10% : 50
elif > 5% : 20
else: 0
ROE
if Return_on_Equity > %50 : 100
elif > 40% : 90
elif > 30% : 80
elif > 20% : 70
elif > 10% : 50
elif > 5% : 20
else: 0
Operating Ability
if Operating_Margin > %50 : 100
elif > 30% : 90
elif > 20% : 80
elif > 15% : 60
elif > 10% : 40
elif > 0 : 20
else: 0
EV/EBITDA
if Enterprise_Value_to_EBITDA < 3 : 100
elif < 5 : 80
elif < 7 : 70
elif < 8 : 60
elif < 10 : 40
elif < 12 : 20
else: 0
FREE CASH Ability
if Price_to_Free_Cash_Flow < 5 : 100
elif < 7 : 90
elif < 10 : 80
elif < 16 : 60
elif < 18 : 50
elif < 20 : 40
elif < 22 : 30
elif < 30 : 20
elif < 40 : 15
elif < 50 : 10
elif < 60 : 5
else: 0
GROWTH Ability
if Revenue_One_Year_Growth > %20 : 100
elif > 16% : 90
elif > 14% : 80
elif > 12% : 70
elif > 10% : 50
elif > 7% : 40
elif > 4% : 30
elif > 2% : 20
elif > 0 : 10
else: 0
relative performanceThis indicator is built to mesure the performance of a stock vs the index of choice. it is best use for the intraday session because it doesn't take gap into account when doing the calculation. This is how i made my math (using AAPL compared to SPY for simplicity)
(change AAPL / ATR AAPL) - (change SPY / ATR SPY) * beta factor * volume factor
change is calculated open to close for each candle instead of close to close. this is why gap does not affect the calculation
blue columns is an instant snap shot of the RP
red and green columns is the moving average of the blue columns
limit is the max value for the blue line when ploting them on the chart but doesn't affect the calculation
option:
indice: default with SPY but could use any stock
moving average choice: let you choose between EMA or SMA green and red columns
rolling average length : number of bar for the moving average
I made an auto adjust for the 5 min chart and the 2 min chart so you can swithc between both chart and have the same average (default value set to 6x 5min and 15x 2 min, giving you the average of the last 30min)
volume weighing let you choose if you want a volume factor or not. volume factor is only going to multiplie the result of the price move. it cannot move it from positive to negative.
this is the calculation
(volume AAPL / volume SMA AAPL) / (volume SPY / volume sma SPY)
meaning that a higher volume on the thicker compared to it's sma while having a lower volume on SPY will give you a big relative performance.
you can choose the number of bar in the average for the volume.
BETA factor work the same way that the volume factor does. you got to manualy enter your beta. default is set to 1.5
table
top line : blue square is you RP value (same has the blue columns bar) and your reference thicker
middle line : pourcentage move from the open (9:30 open) for your stock on the left and the reference on the right
bottom line : beta on the left and volume factor on the right
feel free to ask question or give modification idea!
US Market Strength Momentum [LG]This indicator is designed to analyze the relative strength momentum of two US market indices, the Russell 2000 and S&P 500, by calculating their rate of change over a 21-bar period and comparing them. The difference between the average rate of change for IWM and SPY is then plotted as a histogram, with green bars indicating positive momentum and red bars indicating negative momentum.
The indicator also includes a moving average line, calculated over a 200-bar period, which is plotted on top of the histogram. This moving average helps to smooth out the data and provide a clearer picture of the longer-term trend.
In this indicator, the strength of the Russell 2000 compared to S&P 500 is seen as a gauge of market participants' risk tolerance. When Russell outperforms the S&P, market participants are assumed to be taking on greater risk in search of greater beta. When the S&P outperforms Russell, the assumption is that market participants are fleeing to safer assets (in regards to equities indices). The time frame the indicator is viewed on as well as the size of the rate of change delta dictates the strength of the trend.