Leveraged Share Decay Tracker [SS]Releasing this utility tool for leveraged share traders and investors.
It is very difficult to track the amount of decay and efficiency that is associated with leveraged shares and since not all leveraged shares are created equally, I developed this tool to help investors/traders ascertain:
1. The general risk, in $$, per share associated with investing in a particular leveraged ETF
2. The ability of a leveraged share to match what it purports to do (i.e. if it is a 3X Bull share, is it actually returning consistently 3X the underlying or is there a large variance?)
3. The general decay at various timepoints expressed in $$$
How to use:
You need to be opened on the chart of the underlying. In the example above, the chart is on DIA, the leveraged share being tracked is UDOW (3X bull share of the DOW).
Once you are on the chart of the underlying, you then put in the leveraged share of interest. The indicator will perform two major assessments:
1. An analysis of the standard error between the underlying and the leveraged share. This is accomplished through linear regression, but instead of creating a linreg equation, it simply uses the results to ascertain the degree of error associated at various time points (the time points are 10, 20, 30, 40, 50, 100, 252).
2. An analysis of the variance of returns. The indicator requires you to put in the leverage amount. So if the leverage amount is 3% (i.e. SPXL or UPRO is 3 X SPY), be sure that you are putting that factor in the settings. It will then modify the underlying to match the leverage amount, and perform an assessment of variance over 10, 20, 30, 40, 50, 100, 252 days to ensure stability. This will verify whether the leveraged ETF is actually consistently performing how it purports to perform.
Here are some examples, and some tales of caution so you can see, for yourself, how not all leveraged shares are created equal.
SPY and SPXL:
SPY and UPRO:
XBI and LABU (3 x bull share):
XBI and LABD (3 x bear share):
SOX and SOXL:
AAPL and AAPU:
It is VERY pivotal you remember to check and adjust the Leveraged % factor.
For example, AAPU is leveraged 1.5%. You can see above it tracks this well. However, if you accidently leave it at 3%, you will get an erroneous result:
You can also see how some can fail to track the quoted leveraged amount, but still produce relatively lower risk decay.
And, as a final example, let's take a look at the worst leveraged share of life, BOIL:
Trainwreck that one. Stay far away from it!
The chart:
The chart will show you the drift (money value over time) and the variance (% variance between the expected and actual returns) over time. From here, you can ascertain the general length you feel comfortable holding a leveraged share. In general, for most stable shares, <= 50 trading days tends to be the sweet spot, but always check the chart.
There are also options to plot the variances and the drifts so you can see them visually.
And that is the indicator! Kind of boring, but there are absolutely 0 resources out there for doing this job, so hopefully you see the use for it!
Safe trades everyone!
Educational
[Suitable Hope] Crypto Marketcap Dominance OverviewThe Crypto Marketcap Dominance Overview indicator is a simple yet very useful indicator that aims at helping traders identify where the crypto liquidity is flowing. The indicator uses Cryptocap's real time crypto marketcap dominance data (in %) between several key categories:
- Bitcoin
- True total 2 (altcoins and Ethereum excluding the top 3 biggest stablecoins)
- True total 3 (altcoins excl. Ethereum and the top 3 biggest stablecoins)
- Ethereum
- Stablecoins
- Defi.
The indicator works across all timeframes but is best used on the default daily timeframe to identify changes in liquidity trends between the different categories. More categories can be expected to be added in the future; depending on Cryptocap's available data.
Traders or users of this indicator have a selections of options:
- Choose a dedicated timeframe
- Turn on/off the individual categories they wish to use
- Turn on/off labels
- Change global colour coding of each category and label
- Activate or deactive the 0 to 100% bands
Although there are a couple of similar indicators trying to do something similar, I tend to find them lacking clarity. I coded this indicator to provide a more simple and clearer view of the crypto marketcap dominance. I hope you find this indicator helpful.
Happy trading and good luck!
Bias DailyThis indicator shows in a different way how to evaluate the BIAS Daily.
Evaluate yesterday's closed candle and that of the day before yesterday
The conditions are:
LONG BIAS =
Candle closed above High Candle [2 ]
- In this condition a long continuation can be considered
SHORT BIAS =
The candle closed below the low candle [2 ]
- In this condition a short continuation can be considered
IN THE RANGE =
The candle did not close below or above the Low and High candle
- In this condition it is better not to risk it
The user has the possibility to:
- Choose to show high or low BIAS levels
- Shows the Table in which the BIAS D is marked
The indicator should be used as TTrades shows in its videos, it can also be implemented in ICT strategies.
The indicator takes into consideration the last 2 candles already closed, so on the candle that is forming you can expect reactions in the Pd Array of the Candle Range , below I show examples of how to use it in Multitimeframe
BIAS LONG =
BIAS SHORT =
HL range by durgaThe script we've been working on is an indicator designed to display the high-low range of the last candlestick on a TradingView chart. It does so by plotting two lines: one for the high and another for the low of the last completed candlestick.
Additionally, the script includes a label that shows the numerical value of the high-low range. This label is positioned between the plotted lines, showing the difference between the high and low prices of the last candlestick.
The script operates in real-time, updating dynamically as new candlesticks form. Furthermore, it automatically removes the label after the close of the candlestick, maintaining a clean and clutter-free chart.
This indicator can help traders quickly visualize and assess the range of the last completed candlestick, aiding in their analysis of price action.
CARNAC Magic DCAThe "CARNAC Magic DCA" indicator is designed for investors looking for the best opportunities for Dollar-Cost Averaging (DCA).
How it works:
The Carnac Dynamic DCA Threshold calculates a dynamic threshold for DCA entries using Exponential Moving Average (EMA), Average True Range (ATR), and the maximum distance from the EMA over a full lookback period, aiding in identifying optimal buy opportunities. It also only signals a DCA buying opportunity after a bearish candle, which helps lower the average DCA price.
Configurable Inputs:
EMA Start Length: Sets the initial length for the series of EMAs, affecting their sensitivity to price changes.
ATR Length: Determines the period for the ATR calculation, influencing the dynamic DCA threshold's responsiveness to market volatility.
ATR Multiplier: Modifies the impact of the ATR on the DCA threshold, allowing for finer control over the threshold's sensitivity to volatility.
Start Calculation From: Enables setting a specific start date for calculations, tailoring the analysis to a particular trading period.
DCA Buy Signal Alert: Generates an alert when the price is below both the dynamic DCA threshold and the opening price, indicating a potential buy signal based on DCA strategy.
Ten EMAs: Carnac Magic DCA includes a ten EMA plot, which decrease in length from the user-defined starting length, offering a multi-layered trend analysis.
EMA Color Coding: The sequential arrangement of EMAs is visually represented through color coding, facilitating quick trend recognition.
Average Buy Price Analysis: Calculates and displays the average buy price and its percentage difference from the average closing price since the user-defined start date, helping assess the strategy’s effectiveness compared to traditional DCA methods (purchasing at the close of every candle).
Visual Indicators and Labels: Includes visual alerts for buy signals and informative labels showing average buy prices and related statistics.
Bubble Risk IndicatorThe Bubble Risk Indicator is a sophisticated tool designed to assess the potential risk level of a trading instrument by measuring its deviation from a 20-week Simple Moving Average (SMA). This dynamic indicator visually represents the deviation with a color-changing line, indicating the degree of risk based on the distance from the SMA.
🔷 Calculation
The indicator calculates the deviation from the 20-week SMA and expresses it as a percentage extension:
20-Week SMA : Averages the closing prices over the past 20 periods, providing a consistent measure of the long-term trend.
Deviation Percentage : Measures the percentage difference between the current closing price and the 20-week SMA.
🔷 Color Coding
The line changes color based on the deviation level to represent different risk levels. Users can customize these colors as per their preferences. However, the following are the default recommended settings:
Extreme Low Risk (Below 0) : Blue
Low Risk (Below 0) : Light Blue
Low Risk (Above 0) : Light Purple
Medium Risk : Orange
High Risk : Red
Colors transition smoothly to reflect the increasing or decreasing risk based on the deviation from the SMA.
🔷 Customization
Users have the flexibility to change the colors representing each risk level through the indicator settings. While the default colors are recommended for a standard view, users comfortable with custom color schemes can adjust according to their preference.
🔷 Usage
This indicator is beneficial for gauging the relative risk associated with current price movements compared to a historical average. It's most effective when used in conjunction with other technical analysis tools and market knowledge.
🔷 Limitations
While the Bubble Risk Indicator provides valuable insights, it should form part of a broader trading strategy. It assesses risk levels based on historical data and does not predict future market directions.
🔷 Conclusion
The Bubble Risk Indicator offers a nuanced and visually intuitive way to understand market risk levels, providing traders with an additional tool for informed decision-making.
🔷 Risk Disclaimer
Trading involves significant risk and is not suitable for every investor. The value of investments can fluctuate. Past performance is not indicative of future results. Always consider your circumstances and seek independent advice before making financial decisions. This indicator is provided for informational purposes only and is not intended as financial advice.
Mean Reversion with Incremental Entry Alerts by HedgerLabsThe "Mean Reversion with Incremental Entry Alerts" is a sophisticated TradingView indicator designed by HedgerLabs. It's built on the concept of mean reversion, a fundamental trading strategy in financial markets. This indicator is tailored for traders seeking systematic and disciplined entry points in volatile markets.
Key Features:
Moving Average (MA) Based: At its core, the indicator utilizes a simple moving average (SMA) as the baseline for mean reversion. You can customize the length of the MA according to your trading style.
Initial Entry Conditions: The script generates initial buy and sell alerts based on a defined percentage deviation from the moving average. This approach allows traders to enter trades at points where the price significantly deviates from its mean, potentially signaling a reversion opportunity.
Buy and Sell Signals: Clear visual cues are provided for buy and sell positions, making it easy to interpret and act upon the signals.
Close Conditions: In addition to entry signals, the indicator also plots closing signals (green and red crosses) when the price touches the moving average. This feature assists in timely exits from positions, aiming to optimize trade outcomes.
Alert System: Integrated alert conditions notify you when a new buy or sell order condition is met, as well as when to close existing positions. This ensures you never miss an opportunity or an exit point.
Usage Scenario:
This indicator is particularly useful in markets where prices tend to revert to a mean value over time. It's ideal for day traders who focus on asset price volatility.
Disclaimer:
Please note that this tool is for informational and educational purposes only and should not be considered as financial or investment advice. Trading involves substantial risk, including the potential loss of principal. We recommend conducting your research and consulting with a financial expert before making any investment decisions.
VWAP, MFI, RSI with S/R StrategyBest for 0dte/intraday trading on AMEX:SPY with 1 minute chart
Strategy Concept
This strategy aims to identify potential reversal points in a price trend by combining momentum indicators (RSI and MFI), volume-weighted price (VWAP), and recent price action trends. It looks for conditions where the price is poised to change direction, either bouncing off a support level in a potential uptrend or falling from a resistance level in a potential downtrend.
By incorporating both price level analysis (support/resistance) and momentum indicators, the strategy seeks to increase the likelihood of identifying significant trend reversals, taking into consideration both recent price movements and the current price's position relative to historical highs and lows.
VWAP (Volume-Weighted Average Price)
VWAP acts as a benchmark to determine the general market trend. It's an average price weighted by volume.
A price above VWAP is often considered bullish, and a price below VWAP is seen as bearish.
MFI (Money Flow Index) and RSI (Relative Strength Index) Parameters
MFI is a volume-weighted RSI, used to identify overbought (above 70) or oversold (below 30) conditions.
RSI is a momentum indicator that measures the magnitude of recent price changes to identify overbought or oversold conditions, similar to MFI.
The script uses standard overbought (70) and oversold (30) thresholds for both MFI and RSI.
Trend Check Function
The function trendCheck analyzes the past pastBars candles to count how many were bullish (closing price higher than the opening price) and bearish.
This function is used to assess the recent trend direction.
Support and Resistance Detection
The script calculates the highest high (highestHigh) and lowest low (lowestLow) over the last lookbackSR (50) periods to identify potential support and resistance levels.
isNearSupport and isNearResistance are conditions to check if the current price is within 0.08% of these identified levels, indicating proximity to support or resistance.
Buy and Sell Logic
Buy Signal:
The RSI crosses over the oversold threshold (30).
The MFI is also below its oversold level (30).
The current price is above the VWAP.
The recent trend (past 20 bars) has been predominantly bearish.
The price is near the identified support level.
Sell Signal:
The RSI crosses under the overbought threshold (70).
The MFI is above its overbought level (70).
The current price is below the VWAP.
The recent trend has been predominantly bullish.
The price is near the identified resistance level.
Triple Confirmation Kernel Regression Overlay [QuantraSystems]Kernel Regression Oscillator - Overlay
Introduction
The Kernel Regression Oscillator (ᏦᏒᎧ) represents an advanced tool for traders looking to capitalize on market trends.
This Indicator is valuable in identifying and confirming trend directions, as well as probabilistic and dynamic oversold and overbought zones.
It achieves this through a unique composite approach using three distinct Kernel Regressions combined in an Oscillator.
The additional Chart Overlay Indicator adds confidence to the signal.
Which is this Indicator.
This methodology helps the trader to significantly reduce false signals and offers a more reliable indication of market movements than more widely used indicators can.
Legend
The upper section is the Overlay. It features the Signal Wave to display the current trend.
Its Overbought and Oversold zones start at 50% and end at 100% of the selected Standard Deviation (default σ = 3), which can indicate extremely rare situations which can lead to either a softening momentum in the trend or even a mean reversion situation.
The lower one is the Base Chart.
The Indicator is linked here
It features the Kernel Regression Oscillator to display a composite of three distinct regressions, also displaying current trend.
Its Overbought and Oversold zones start at 50% and end at 100% of the selected Standard Deviation (default σ = 2), which can indicate extremely rare situations.
Case Study
To effectively utilize the ᏦᏒᎧ, traders should use both the additional Overlay and the Base
Chart at the same time. Then focus on capturing the confluence in signals, for example:
If the 𝓢𝓲𝓰𝓷𝓪𝓵 𝓦𝓪𝓿𝓮 on the Overlay and the ᏦᏒᎧ on the Base Chart both reside near the extreme of an Oversold zone the probability is higher than normal that momentum in trend may soften or the token may even experience a reversion soon.
If a bar is characterized by an Oversold Shading in both the Overlay and the Base Chart, then the probability is very high to experience a reversion soon.
In this case the trader may want to look for appropriate entries into a long position, as displayed here.
If a bar is characterized by an Overbought Shading in either Overlay or Base Chart, then the probability is high for momentum weakening or a mean reversion.
In this case the trade may have taken profit and closed his long position, as displayed here.
Please note that we always advise to find more confluence by additional indicators.
Recommended Settings
Swing Trading (1D chart)
Overlay
Bandwith: 45
Width: 2
SD Lookback: 150
SD Multiplier: 2
Base Chart
Bandwith: 45
SD Lookback: 150
SD Multiplier: 2
Fast-paced, Scalping (4min chart)
Overlay
Bandwith: 75
Width: 2
SD Lookback: 150
SD Multiplier: 3
Base Chart
Bandwith: 45
SD Lookback: 150
SD Multiplier: 2
Notes
The Kernel Regression Oscillator on the Base Chart is also sensitive to divergences if that is something you are keen on using.
For maximum confluence, it is recommended to use the indicator both as a chart overlay and in its Base Chart.
Please pay attention to shaded areas with Standard Deviation settings of 2 or 3 at their outer borders, and consider action only with high confidence when both parts of the indicator align on the same signal.
This tool shows its best performance on timeframes lower than 4 hours.
Traders are encouraged to test and determine the most suitable settings for their specific trading strategies and timeframes.
The trend following functionality is indicated through the "𝓢𝓲𝓰𝓷𝓪𝓵 𝓦𝓪𝓿𝓮" Line, with optional "Up" and "Down" arrows to denote trend directions only (toggle “Show Trend Signals”).
Methodology
The Kernel Regression Oscillator takes three distinct kernel regression functions,
used at similar weight, in order to calculate a balanced and smooth composite of the regressions. Part of it are:
The Epanechnikov Kernel Regression: Known for its efficiency in smoothing data by assigning less weight to data points further away from the target point than closer data points, effectively reducing variance.
The Wave Kernel Regression: Similarly assigning weight to the data points based on distance, it captures repetitive and thus wave-like patterns within the data to smoothen out and reduce the effect of underlying cyclical trends.
The Logistic Kernel Regression: This uses the logistic function in order to assign weights by probability distribution on the distance between data points and target points. It thus avoids both bias and variance to a certain level.
kernel(source, bandwidth, kernel_type) =>
switch kernel_type
"Epanechnikov" => math.abs(source) <= 1 ? 0.75 * (1 - math.pow(source, 2)) : 0.0
"Logistic" => 1/math.exp(source + 2 + math.exp(-source))
"Wave" => math.abs(source) <= 1 ? (1 - math.abs(source)) * math.cos(math.pi * source) : 0.
kernelRegression(src, bandwidth, kernel_type) =>
sumWeightedY = 0.
sumKernels = 0.
for i = 0 to bandwidth - 1
base = i*i/math.pow(bandwidth, 2)
kernel = kernel(base, 1, kernel_type)
sumWeightedY += kernel * src
sumKernels += kernel
(src - sumWeightedY/sumKernels)/src
// Triple Confirmations
Ep = kernelRegression(source, bandwidth, 'Epanechnikov' )
Lo = kernelRegression(source, bandwidth, 'Logistic' )
Wa = kernelRegression(source, bandwidth, 'Wave' )
By combining these regressions in an unbiased average, we follow our principle of achieving confluence for a signal or a decision, by stacking several edges to increase the probability that we are correct.
// Average
AV = math.avg(Ep, Lo, Wa)
The Standard Deviation bands take defined parameters from the user, in this case sigma of ideally between 2 to 3,
to help the indicator detect extremely improbable conditions and thus take an inversely probable signal from it to forward to the user.
The parameter settings and also the visualizations allow for ample customizations by the trader. The indicator comes with default and recommended settings.
For questions or recommendations, please feel free to seek contact in the comments.
Bullish Candle Highlighter by MalviyaOverview:
The Bullish Candle Highlighter is a comprehensive and user-friendly TradingView indicator designed to assist traders in identifying individual bullish candles, facilitating the recognition of potential bullish trends and reversal patterns. This tool is meticulously crafted to enhance the precision of your technical analysis, making it an essential addition to your trading arsenal.
Key Features:
Bullish Candle Identification:
The indicator meticulously scans price action, pinpointing individual candles with a bullish bias.
Each identified bullish candle is distinctly marked on the chart for easy recognition.
Minimum Body Size Filter:
To refine the selection of signals, the indicator incorporates a minimum body size filter.
This filter ensures that only candles with a significant body size are considered, reducing noise and enhancing the reliability of bullish signals.
Visual Highlighting:
Bullish candles are visually highlighted with a vibrant green background, ensuring they stand out on your chart.
The visual cues simplify the process of identifying potential entry points during bullish market conditions.
How to Use:
Bullish Candle Identification:
Keep an eye on the chart for instances where the indicator marks a candle with the label "Bullish Candle."
Each marked candle signifies a potential bullish reversal or continuation pattern.
Buy Signal:
Consider entering a long position when the current candle closes above the high of the identified bullish candle.
The indicator's signals can be used to align your trading decisions with emerging bullish trends.
Advanced Tips:
Confirmation with Other Indicators:
Boost the accuracy of your trades by combining Bullish Candle Highlighter signals with other technical indicators or trend analysis tools.
Risk Management:
Implement sound risk management strategies to protect your capital and optimize your trading performance.
Important Note:
The Bullish Candle Highlighter is a valuable tool, but no indicator guarantees profits. Always conduct thorough analysis and consider multiple factors before making trading decisions.
Disclaimer:
This indicator is provided for educational purposes and is not financial advice. Trading involves risk, and past performance is not indicative of future results.
Feel free to tailor the description to match any specific features or nuances of your indicator. Providing detailed information and usage guidance will help users understand and maximize the benefits of your Bullish Candle Highlighter.
Bitcoin Price to Volume per $1 FeeTransaction value to transaction fee:
The Bitcoin network's efficiency, usability and volume scalability has been improving over time and this can be measured by dividing the average transaction volume by the transaction fee.
The indicator give us:
Price to volume per $1 fee = BTC price / (avg tx value / avg tx fee)
A low ratio of "Price to volume per $1 fee" indicates that the Bitcoin network is being used for high volumes in comparison to the Bitcoin price, which means that the network is cost-effective compared to the price. On the other hand, a high "Price to volume per $1 fee" suggests that the average transaction size is smaller than the price of Bitcoin, which means that the network is less cost-effective compared to the Bitcoin price.
Note that the dynamics of transaction fees may change over time as new use cases emerge in the Bitcoin chain. These use cases include L2s such as Stacks, where DeFi applications can run, and Bitcoin Ordinals.
It's worth mentioning that Bitcoin is not only a cost-effective way of transferring value, but also highly energy efficient. Despite receiving criticism for its energy consumption, when we compare its energy usage to other industries (such as banking and gold) and correlate it with the transaction volumes, we can easily conclude that Bitcoin's energy efficiency is remarkable when compared to other methods of transferring value.
Candle Counter from 9:30 AM to 4:00 PMThis Pine Script, designed for TradingView, serves as a candle counter exclusively for a 5-minute chart. It operates within the specific market hours of 9:30 AM to 4:00 PM. Key features of the script include:
Market Hours Specification: The script is configured to track candles only during the trading hours from 9:30 AM to 4:00 PM.
Daily Reset: Each trading day, the candle counter resets, starting anew from the market opening at 9:30 AM.
Candle Counting: It increments a counter with each 5-minute candle during the specified market hours.
Label Display: The counter number for each candle is displayed as a label at the candle's low point. This label is in bright white color with large font size, ensuring clear visibility against various chart backgrounds.
5-Minute Chart Specificity: The script is tailored to function only when the chart is set to a 5-minute timeframe, making it ideal for traders focusing on intraday movements.
New Day Detection: Utilizes a function to identify the start of a new trading day, ensuring accurate daily counting.
This script is particularly useful for traders who focus on intraday trading within the standard stock market hours, providing a clear and easy-to-read candle count that resets daily.
VaR Market Sentiment by TenozenHello there! I am excited to share with you my new trading concept implemented in the "VaR Market Sentiment" indicator. But before that, let me explain what VaR is. VaR, or Value at Risk, is an indicator that helps you identify the worst-case scenario of a market movement based on a percentile/confidence level. This means that it calculates the worst moves, whether it's a buy or sell, based on the timeframe you're using.
Now, let's discuss how VaR Market Sentiment works. It uses a historical VaR to calculate the worst move either if the market goes up or down based on a percentile/confidence level. The default setting is the 95th percentile, which means that the market is unlikely to hit your SL level within the day if you're using a daily timeframe, etc.
To determine the strength of a candle, it subtracts the value of both sides based on the returns of the current timeframe with the VaR value (Bullish VaR - Bullish Returns, Bearish VaR - Bearish Returns). If the result is above the mean, the current candle is potentially weak. Conversely, if the result is below the mean, the current candle is potentially strong. The deviation shows critical sentiments, where if the market is above the deviation, it means that the current candle is really weak. If it's below the deviation, it means that the current candle is really strong.
It's important to note that this indicator needs other supporting indicators such as trend-following or mean reversion indicators based on your trading style. Also, as a follow-up to my previous concept, I called out that the market has what's called "power." And for now, I conclude that VaR Market Sentiment is the "power."
I'm going to share more helpful indicators in the future! I hope this indicator will be helpful for you guys! Ciao!
Candlestick Patterns [NAS Algo]Candlestick Patterns plots most commonly used chart patterns to help and understand the market structure.
Bullish Reversal Patterns:
Hammer:
Appearance: Small body near the high, long lower shadow.
Interpretation: Indicates potential bullish reversal after a downtrend.
Inverted Hammer:
Appearance: Small body near the low, long upper shadow.
Interpretation: Signals potential bullish reversal, especially when the preceding trend is bearish.
Three White Soldiers:
Appearance: Three consecutive long bullish candles with higher closes.
Interpretation: Suggests a strong reversal of a downtrend.
Bullish Harami:
Appearance: Small candle (body) within the range of the previous large bearish candle.
Interpretation: Implies potential bullish reversal.
Bearish Reversal Patterns:
Hanging Man:
Appearance: Small body near the high, long lower shadow.
Interpretation: Suggests potential bearish reversal after an uptrend.
Shooting Star:
Appearance: Small body near the low, long upper shadow.
Interpretation: Indicates potential bearish reversal, especially after an uptrend.
Three Black Crows:
Appearance: Three consecutive long bearish candles with lower closes.
Interpretation: Signals a strong reversal of an uptrend.
Bearish Harami:
Appearance: Small candle (body) within the range of the previous large bullish candle.
Interpretation: Implies potential bearish reversal.
Dark Cloud Cover:
Appearance: Bearish reversal pattern where a bullish candle is followed by a bearish candle that opens above the high of the previous candle and closes below its midpoint.
Continuation Patterns:
Rising Three Methods:
Appearance: Consists of a long bullish candle followed by three small bearish candles and another bullish candle.
Interpretation: Indicates the continuation of an uptrend.
Falling Three Methods:
Appearance: Consists of a long bearish candle followed by three small bullish candles and another bearish candle.
Interpretation: Suggests the continuation of a downtrend.
Gravestone Doji:
Appearance: Doji candle with a long upper shadow, little or no lower shadow, and an opening/closing price near the low.
Interpretation: Signals potential reversal, particularly in an uptrend.
Long-Legged Doji:
Appearance: Doji with long upper and lower shadows and a small real body.
Interpretation: Indicates indecision in the market and potential reversal.
Dragonfly Doji:
Appearance: Doji with a long lower shadow and little or no upper shadow.
Interpretation: Suggests potential reversal, especially in a downtrend.
Central Bank Liquidity YOY % ChangeThis shows the percent change from a year ago (YOY%) in Central Bank Liquidity
It's important to the study rate of change data in this liquidity metric and compare it to the nominal chart.
When this chart is accelerating, liquidity is being added, meaning it's a good time to be in assets.
When this chart is declining, liquidity is being removed, meaning it's a good time to be in cash.
Bottoms in markets coincide with the rate of change of liquidity going from negative (below the zero line) to positive (above zero)
Central Bank Liquidity = Total value of the assets of all Federal Reserve Banks - Overnight Reverse Repurchase Agreements (RRP) - The Treasury General Account (TGA)
Stock's Intrinsic Value| DCF modelScript Description
This pine script is based on a YouTube video titled: Warren Buffett: How to Calculate the Intrinsic Value of a Stock. Warren Buffett is a famous value investor who follows the principles of his mentor Benjamin Graham. He looks for companies that have strong competitive advantages, consistent earnings, and low debt. He also considers the intrinsic value of a company, which is the present value of its future cash flows, and compares it to the market price. He prefers to buy stocks that are trading below their intrinsic value and hold them for a long time.
One of the methods that Buffett uses to estimate the intrinsic value of a company is the discounted cash flow (DCF) model. This involves projecting the free cash flow (FCF) of the company for several years and then discounting it back to the present using an appropriate discount rate. The discount rate is usually the weighted average cost of capital (WACC) of the company, which reflects its cost of equity and debt. The sum of the discounted FCFs and terminal value is the intrinsic value of the company.
Lastly, a margin of safety is included when using the DCF method for stock valuation because of uncertainty and error in estimating future cash flows and the intrinsic value of the company.
When the current price is below margin of safety, it means that the stock is currently undervalued and being price at significantly below its intrinsic value.
Guideline for determining each variable in this script
FCF growth rate: This is the annual rate at which the free cash flow (FCF) of the company is expected to grow over a forecast 10-year period. You can use historical FCF growth rates, industry averages, analyst estimates, or your assumptions to project the FCF growth rate. The higher the FCF growth rate, the higher the intrinsic value will be.
Discount rate: This is the rate of return that you require to invest in the company. It reflects the risk and opportunity cost of investing in the company. You can use the weighted average cost of capital (WACC) of the company, capital pricing model (CAPM), hurdle rate, or market rate as the discount rate. The lower the discount rate, the higher the intrinsic value.
The margin of safety: Provides a cushion against errors in the valuation or adverse events that may affect the company. The margin of safety depends on your personal preference and risk tolerance. Normally is at 15% - 30%, the higher the margin of safety you set, the lower the chance that the stock will hit that level.
How to use this script
Step 1: This script only works for stocks that have financial data of free cash flow and total common shares outstanding
Step 2: Please use a yearly chart (12-month chart)
Step 3: You are required to determine a growth rate that will grow the free cash flow 10 years into the future
Step 4: You are required to determine a discount rate for the calculations
Step 5: You are required to add a margin of safety (Accounting for uncertainty)
Step 6: The rest of the calculations will be done automatically.
Disclaimer when using this script
I'm not a financial advisor
This script is for education purposes only
There are risks involved with stock market investing and investors should not act upon the content or information found here without first seeking advice from an accountant, financial planner, lawyer or other professional.
I can’t guarantee that this script will be error-free as I still consider myself a Pinescript beginner
Before making any decisions, investors should always research companies individually
I'll not be liable for any loss incurred, arising from the use of, or reliance on, this script
Limitations of this script
This script only works on the yearly chart (12 monthly charts)
The intrinsic value of a company will be negative if the company have a negative forecasted free cash flow
You need to make an educated guess about the growth rate, discount rate and margin of safety
This script uses free cash flow instead of owner's earnings (Operating cash flow - Maintenance capital expenditure), therefore it can't accurately estimate the maintenance capital expenditure.
Need at least 6 years’ worth of financial data
Market capitalisation uses total common shares outstanding multiplied by the closing price instead of using company-level total outstanding shares multiplied by the closing price
True SMCThe True SMC Indicator is specifically designed for structure mapping and the identification of high-probability Order Blocks. Excelling in distinctly recognising four types of Order Blocks, it provides traders with a direct and efficient method to dissect market movements and identify strategic entry points with precision
🔶 Understanding Structure Mapping
This indicator introduces a unique approach to analysing market structure, focusing on liquidity, which is termed 'Inducement'. Inducement is crucial for identifying key structural markers in the market, such as Higher Highs (HH), Higher Lows (HL), Lower Lows (LL), and Lower Highs (LH).
Inducement acts like a trap set near a supply or demand zone. It entices impatient buyers or sellers into the market before the actual zone is reached, thereby creating liquidity. For an inducement to be considered valid, it must represent a valid pullback.
A valid scenario occurs when the price sweeps or closes beyond the high or low of the previous candle; in this case, the candle's color, whether bullish or bearish, is not relevant, and both scenarios are considered valid. Inside bars are ignored as they do not meet this criterion. The indicator assists in this process by automatically highlighting valid pullbacks with a distinctive gray round label.
This feature is not just a visual aid but also a crucial tool in effortlessly understanding market movements, providing a clear visual representation of ongoing market trends.
🔶 Understanding How Order Block is working
Our indicator incorporates four distinct types of Order Blocks, each designed for specific roles in market analysis. Among these, the **OB-IDM** and **OB-EXT** are regarded as high-probability Order Blocks, and our primary focus is on these two for market entry.
IDM Order Block (OB-IDM): IDM Order block (OB-IDM) is basically the first Order Block that shows up after the IDM level is passed. Think of it as the closest OB you find below the current IDM.
Extreme Order Block (OB-EXT): OB-EXT is the first and lowest Order Block that you'll find between a Major Low and a Major High.
Single Candle Order Block (SCOB): Single candle mitigation is very Powerful way to add multiple entries in you're winning trades.
Smart Money Trap (SMT): The SMT consists of all the Order Blocks that lie between the Extreme and OB-IDM. It acts as a cautionary signal, indicating potential traps for Smart Money Concept traders. It is essential to recognize that the SMT does not provide additional confirmation for trading. Instead, it highlights areas where traders should exercise extra caution. Trading decisions should be based on clear confirmations, such as inducements or liquidity sweeps, rather than solely on the SMT.
🔶 How to Use the True SMC Indicator:
The True SMC Indicator is designed to enhance your trading strategy by identifying key order blocks and market signals. Below is a guide on how to utilize the various elements of the True SMC Indicator:
OB IDM (Order Block Inducement):
Usage : This is a decisional order block crucial for identifying trade entries. It is particularly effective for pinpointing potential reversal zones.
Alerts: Setting up alerts on OB IDM is recommended to be notified when the price reaches this critical area, thus facilitating prompt and informed trading decisions.
OB-EXT (Extreme Order Block):
Usage : OB-EXT serves as an extreme and high-probability order block for trade entries, ideal for identifying strategic entry points at potential reversal points.
Alerts: Activating alerts on OB-EXT will keep you informed about price approaches, aiding in the preparation of your trade setups.
SCOB (Single Candle Order Block):
Usage : SCOB is ideal for scaling into a position. It should be employed for adding to positions when the market reacts to OB IDM or OB-EXT, indicating a potential reversal.
SMT (Smart Money Trap):
Usage Caution: The SMT should be approached with caution as it represents a potential trap. It is advised to avoid trading directly at SMT zones. Instead, use these zones to gauge market sentiment and make informed decisions.
This structured approach to using the True SMC Indicator will help you in making more precise and strategic trading decisions, enhancing your overall market analysis.
🔶 Example of usage:
Market Structure Diagram
This diagram illustrates the key structural markers in the market such as Higher Highs (HH), Higher Lows (HL), Lower Lows (LL), and Lower Highs (LH). It provides a visual guide to understanding the underlying market structure.
Example from a Real Chart: This chart is a prime example of how our indicator is used to dissect and highlight market structure in a live trading environment. It vividly demonstrates the 'Inducement' concept in action, pinpointing key structural points like HH, HL, LL, and LH in real-time market trends.
Valid Pullback
Illustration of a Valid Pullback: This image showcases a typical scenario where the price sweeps beyond the previous candle's high or low, marking a valid pullback. Notice the distinctive gray round label indicating the point of inducement.
IDM Order Block (OB-IDM)
This diagram illustrates the IDM Order Block (OB-IDM), highlighting its position as the first OB following the IDM level. It represents the nearest OB below the current IDM level.
IDM Order Block in Action This real chart example showcases the OB-IDM in a live market scenario, demonstrating how it appears and functions in practical trading.
Extreme Order Block (OB-EXT)
The diagram depicts the OB-EXT, which is identified as the first and lowest Order Block between a Major Low and a Major High.
OB-EXT in Real Market: This chart example highlights the OB-EXT, showing its position and significance in market analysis between major market points.
Single Candle Order Block (SCOB)
The accompanying chart demonstrates the SCOB in a live trading environment, illustrating its effectiveness in trade optimization.
Smart Money Trap (SMT)
This real chart provides insight into how the SMT is used in actual trading, marking areas for increased caution and illustrating its role in a comprehensive trading strategy.
🔶 Additional Features
Easy-to-Follow Trend Display : The script employs a Color Coded candle system, simplifying trend recognition.
Any Alert function call = It can be configured for a range of trading events, allowing you to stay informed about key market movements. In the settings, you can choose to enable or disable alerts for events such as BOS Sweep, CHock, CHock Sweep, IDM, IDM Sweep, OB IDM, OB EXT, and PDH/PDL.
Automatic resolving of ChoCh-IDM and IDM-BoS conflicts = The indicator is equipped to automatically resolve conflicts that arise between ChoCh-IDM and IDM-BoS. It intelligently identifies situations where there might be an IDM instead of a ChoCh, or a BoS instead of an IDM, ensuring accurate readings and analysis.
Anywhere Structure Mapping : The tool simplifies market analysis by enabling you to draw structures from any chosen moment. Simply adjust the slider to your desired point and instantly trade based on the internal structure revealed. This feature offers an intuitive and efficient way to understand and navigate market dynamics.
🔶 Conclusion
The True SMC Indicator distinguishes itself from other market analysis tools through its specialised focus on structure mapping and high-probability Order Blocks. Unlike generic indicators, it expertly identifies and categorizes four distinct types of Order Blocks, including IDM and Extreme Order Blocks, which are crucial for high-accuracy trade entries. Its unique approach in analysing market structure centers on 'Inducement,' a key concept for pinpointing vital market structural markers. This feature, combined with its ability to alert traders to both promising entry points and potential Smart Money Traps, equips users with a comprehensive tool for a nuanced understanding of market dynamics and strategic trade execution. Such targeted capabilities make the True SMC Indicator an invaluable asset for traders seeking precision and efficiency in their market analysis.
Spike RangeGuided by new ICT tutoring, I create this versatile Spike Range
This indicator shows a different way on how to display "Spikes or Shadows" based on their size,
the indicator divides the "Spike or Shadows" into levels 0.5 - 0.75 - 0.25 Fibonacci, giving the possibility of viewing the "Spike or Shadows" with a certain size and being able to use them as continuation or reversal zones
The user has the possibility to:
- Choose the size of the "Spike or Shadows"
- Choose to view "Spike or Shadows" levels
- Choose to show only bullish or only bearish "Spike or Shadows" levels
The indicator should be used as ICT shows in its concepts.
The indicator takes into account the "Spades or Shadows" that have a certain size (based on the minimum range set)
These Spikes can be rated as "FVG" so you can expect reactions on the levels it marks, considering a reversal or continuation based on the range being respected
If the Spike is Bullish and the Price closes by invalidating 50% of the range we can evaluate a possible entry up to the High of the Spike
Below is an example of how to use them:
Invalidades Range
Respect Range
Seek liquidityGuided by ICT tutoring, I create this versatile "Seek liquidity" indicator.
This indicator shows an easy way to view the Liquidity that has been Created - Eliminated - and what liquidity is left to eliminate.
Liquidity levels appear after the sessions are over, and the lines get stuck on the candle that eliminates them.
Timing session =
//---Asian
- 18:00-00:00
//---London
- 00:00-02:00
- 02:00-05:00
- 00:00-06:00
//---New York
- 06:00-12:00
- 09.30-12.00
//---Lunch
- 12:00-13:30
//---PM
- 1.30pm - 4.00pm
- 12:00-18:00
The user has the possibility to:
- Choose whether or not to view sessions
- Choose to show levels from previous sessions
- Choose to show today's session levels
- Choose whether to view the boxes
- Choose to view the division is open daily
The indicator should be used as ICT shows in its concepts, the indicator takes into consideration both the previous and today's Liquidity, and the session levels can be used for a reversal as in the example below:
Bitcoin Google Trends OverlayThis indicator overlays Bitcoin Google trends data starting from 16/12/2018 until 10/12/2023. To have more recent data, you will need to update the data points manually.
If it is not showing properly, you need to plot the indicator to a new scale. Try also to use a logarithmic scale to better correlate the Bitcoin Google Trends data.
Interpretation:
Google Trends data and the Bitcoin price are very correlated. Google Trends data is a good indicator of market sentiment, but it usually lags.
Math RoundHello Reader,
This is Observer from Vietnam.
PURPOSE
I'd like to share my script for Round Math, it's for only education purpose.
I make the formula math_row(x, y) to round the value as we design and shorten the number appearance (value). It's more flexible than str.tostring(close,format.volume) or others.
HOW TO USE
Formula math_row(x,y)
- x is the value which need to be rounded or shorten
- y is the number which you want to round after "." symbol.
***Shorten***
If x < 1.000, no shorten
If x >= 1.000 and x < 1.000.000, shorten to thousand value with "K" letter
If x >= 1.000.000 and x < 1.000.000.000, shorten to million value with "M" letter
If x >= 1.000.000.000, shorten to billion value with "B" letter
***Round***
If y = 0 => no round
If y = 1 => round to format ###.#
If y = 2 => round to format ###.##
If y = 3 => round to format ###.###
If y is other => round to default format of Tradingview
EXAMPLE
math_row(1.002342, 3) = 1.002
math_row(1923.321, 2) = 1.92K
math_row(221452133, 1) = 221.5M
Hope it useful and clear to you.
FVG in MACROGuided by ICT tutoring, I created this versatile indicator to scan the FVG in MACRO time.
This indicator combines the MACRO time with the Fair value GAP (FVG) in an alternative way, showing a simple way of viewing the FVG within the MACRO time, so you can have a clearer view of which direction the MACRO is influencing
''MACRO is a delivery time frame of the interbank price in which it undergoes a series of controls and is likely to move towards liquidity.''
The user has the possibility to:
- Choose the relevant MACRO time
- Choose whether to view all FVGs in the MACROS
- Choose to view only the First FVG at each MACRO
The indicator should be used as shown by the ICT in its concepts, during the MACRO time the price can consolidate or can head towards liquidity.
The probability that the direction is correct increases with respect for the FVG, in this way it is possible to evaluate the entry zone in the FVG and the Take profit zone for Liquidity
As in the following example:
Big Round Number for GOLD (XAU/USD)This is simple indicator to show BRN (Big Round Number) on price level, it can use to help analyze the price action on the chart.