Value At RiskThe Value at Risk Channel (VaR Channel) is a trading indicator designed to assist traders in managing their risk exposure effectively. By allowing users to select a specific time period and a probability value, this indicator generates upper and lower limits that the price might potentially attain within the chosen timeframe and probability range.
CONCEPTS
This indicator employs the concept of Value at Risk (VaR) calculation, a crucial metric in risk management. VaR quantifies the potential financial loss within a position, portfolio, or company over a defined time period. Financial institutions like banks and investment firms use VaR to estimate the extent and likelihood of potential losses in their portfolios.
The "historical method" is utilized to compute VaR within the indicator. This method analyzes the historical performance of returns and constructs a histogram representing the statistical distribution of past returns. Assuming returns adhere to a normal distribution, probabilities are assigned to different return values based on their position in the distribution percentile.
HOW TO USE
Suppose you wish to plot upper and lower price limits for a 4-hour period with a 5% probability. Access the indicator's Settings tab and set the Timeframe parameter to "4 hours" while configuring the Probability parameter to 5.0.
The indicator serves as a tool to determine appropriate Stop-Loss levels triggering with low probability. Additionally, it helps gauge the likelihood of triggering such levels.
Likewise, you can assess the probability of your desired Take-Profit level being reached within a specified time frame. For instance, if you anticipate your target to be achieved within a week, set the Timeframe parameter to "1 week" and adjust the Probability parameter to align the VaR channel's limits with your Take-Profit level. The resulting Probability parameter value reflects the likelihood of your target being met within the expected time frame.
This indicator proves valuable for evaluating and managing risk, as well as refining trading strategies. If you discover other applications for this indicator, feel free to share them in the comments!
SETTINGS
Timeframe: Designates the time period within which the price might touch the VaR channel's upper or lower boundary, considering the specified Probability parameter.
Probability: Defines the likelihood of the price reaching the VaR channel's upper or lower limit during the timeframe determined by the Timeframe parameter.
Window: Establishes the historical period (number of past bars) utilized for VaR calculation.
Forecasting
Custom SMA Plot It creates a custom indicator named "Custom SMA Plot (CSP)" that overlays on a price chart. The indicator fetches the closing prices and calculates a 14-period simple moving average (SMA) of these prices. This SMA is then visually represented as a blue line, which starts from the SMA value of the bar 100 candles ago and extends to the current bar's SMA value. The line has a thickness of 1 unit.
When price breaks over wave go long.
When price breaks below wave go short.
Market Sessions and TPO (+Forecast)This indicator "Market Sessions and TPO (+Forecast)" shows various market sessions alongside a TPO profile (presented as the traditional lettering system or as bars) and price forecast for the duration of the session.
Additionally, numerous statistics for the session are shown.
Features
Session open and close times presented in boxes
Session pre market and post market shown
TPO profile generated for each session (normal market hours only)
A forecast for the remained of the session is projected forward
Forecast can be augmented by ATR
Naked POCs remain on the chart until violated
Volume delta for the session shown
OI Change for the session shown (Binance sourced)
Total volume for the session shown
Price range for the session shown
The image above shows processes of the indicator.
Volume delta, OI change, total volume and session range are calculated and presented for each session.
Additionally, a TPO profile for the most recent session is shown, and a forecast for the remainder of the active session is shown.
The image above shows an alternative display method for the session forecast and TPO profile!
Additionally, the pre-market and post-market times are denoted by dashed boxes.
The image above exemplifies additional capabilities.
That's all for now; further updates to come and thank you for checking this out!
And a special thank you to @TradingView of course, for making all of this possible!
Daily Network Value to Transactions Signal (NVTS)
Quote of GlassNode ...
The NVT Signal (NVTS) is a modified version of the original NVT Ratio.
It uses a 90 day moving average of the daily transaction volume in the denominator instead of the raw daily transaction volume.
This moving average improves the ratio to better function as a leading indicator.
The Network Value to Transactions (NVT) Ratio is calculated by dividing the market cap by the transferred on-chain volume measured in USD.
GlassNode says the NVT Ratio was created by Willy Woo.
I have peaked into Glassnode and took their idea.
I also added a few more Moving Averages to select from, and the length can also be changed.
This script does not depend on Glassnode alone, instead I pulls data of several services...
CoinMarketCap
CoinMetrics
GlassNode
IntoTheBlock
Therefor we have more Tokens to select from.
I have also blocked some faulty data of each service.
If you get a study error of any kind then there is no data available,
or you on a wrong timeframe.
Best to use this script in a daily chart.
And keep in mind it pulls data of yesterday.
Therefor the plot is offset by 1 to the left.
The script will check each service if the data for the chart is available.
Market Cap is taken in the following order ...
CainMarketCap
GlassNode
CoinMetrics
Transaction volume as USD is taken in the following order ...
IntoTheBlock
CoinMetrics
GlassNode
Happy Trading!
Feigenbaum ProjectionsThe theory of price delivery per Feigenbaum projections is credited to TRSTNGLRD, this indicator aims to aid traders from all backgrounds to utilize projections for determination of potential future price moves.
What follows is the simplest description of where to anchor the projection:
As price delivers and clears higher high (buy side liquidity) then reverses to clear most recent low (sell side liquidity), this becomes the anchorage point for the Feigenbaum projection and is referred to as perturbation. The start and end points for the projection should be only those candle bodies that wholly exist within the range within the high and low that were cleared by the perturbation, this range of candle bodies is to be considered the "initial condition". Structure that appears as a broadening formation is one such price delivery occurrence that can be utilized with these projections.
The projected zones are all pre-configured by TRSTNs specifications per Feigenbaum but can be adjusted if the need arises.
Price is expected to expand beyond the initial condition and into the negative and positive target zones, accuracy diminishes with further expansion and reevaluation should occur when a new perturbation is discovered.
It's recommended to explore various timeframes to find a perturbation by which to anchor the next Feigenbaum projection.
I'll do my best to update this description with time as more discoveries are made and TRSTNGLRD provides more guidance and feedback on this indicator.
AI Trend Navigator [K-Neighbor]█ Overview
In the evolving landscape of trading and investment, the demand for sophisticated and reliable tools is ever-growing. The AI Trend Navigator is an indicator designed to meet this demand, providing valuable insights into market trends and potential future price movements. The AI Trend Navigator indicator is designed to predict market trends using the k-Nearest Neighbors (KNN) classifier.
By intelligently analyzing recent price actions and emphasizing similar values, it helps traders to navigate complex market conditions with confidence. It provides an advanced way to analyze trends, offering potentially more accurate predictions compared to simpler trend-following methods.
█ Calculations
KNN Moving Average Calculation: The core of the algorithm is a KNN Moving Average that computes the mean of the 'k' closest values to a target within a specified window size. It does this by iterating through the window, calculating the absolute differences between the target and each value, and then finding the mean of the closest values. The target and value are selected based on user preferences (e.g., using the VWAP or Volatility as a target).
KNN Classifier Function: This function applies the k-nearest neighbor algorithm to classify the price action into positive, negative, or neutral trends. It looks at the nearest 'k' bars, calculates the Euclidean distance between them, and categorizes them based on the relative movement. It then returns the prediction based on the highest count of positive, negative, or neutral categories.
█ How to use
Traders can use this indicator to identify potential trend directions in different markets.
Spotting Trends: Traders can use the KNN Moving Average to identify the underlying trend of an asset. By focusing on the k closest values, this component of the indicator offers a clearer view of the trend direction, filtering out market noise.
Trend Confirmation: The KNN Classifier component can confirm existing trends by predicting the future price direction. By aligning predictions with current trends, traders can gain more confidence in their trading decisions.
█ Settings
PriceValue: This determines the type of price input used for distance calculation in the KNN algorithm.
hl2: Uses the average of the high and low prices.
VWAP: Uses the Volume Weighted Average Price.
VWAP: Uses the Volume Weighted Average Price.
Effect: Changing this input will modify the reference values used in the KNN classification, potentially altering the predictions.
TargetValue: This sets the target variable that the KNN classification will attempt to predict.
Price Action: Uses the moving average of the closing price.
VWAP: Uses the Volume Weighted Average Price.
Volatility: Uses the Average True Range (ATR).
Effect: Selecting different targets will affect what the KNN is trying to predict, altering the nature and intent of the predictions.
Number of Closest Values: Defines how many closest values will be considered when calculating the mean for the KNN Moving Average.
Effect: Increasing this value makes the algorithm consider more nearest neighbors, smoothing the indicator and potentially making it less reactive. Decreasing this value may make the indicator more sensitive but possibly more prone to noise.
Neighbors: This sets the number of neighbors that will be considered for the KNN Classifier part of the algorithm.
Effect: Adjusting the number of neighbors affects the sensitivity and smoothness of the KNN classifier.
Smoothing Period: Defines the smoothing period for the moving average used in the KNN classifier.
Effect: Increasing this value would make the KNN Moving Average smoother, potentially reducing noise. Decreasing it would make the indicator more reactive but possibly more prone to false signals.
█ What is K-Nearest Neighbors (K-NN) algorithm?
At its core, the K-NN algorithm recognizes patterns within market data and analyzes the relationships and similarities between data points. By considering the 'K' most similar instances (or neighbors) within a dataset, it predicts future price movements based on historical trends. The K-Nearest Neighbors (K-NN) algorithm is a type of instance-based or non-generalizing learning. While K-NN is considered a relatively simple machine-learning technique, it falls under the AI umbrella.
We can classify the K-Nearest Neighbors (K-NN) algorithm as a form of artificial intelligence (AI), and here's why:
Machine Learning Component: K-NN is a type of machine learning algorithm, and machine learning is a subset of AI. Machine learning is about building algorithms that allow computers to learn from and make predictions or decisions based on data. Since K-NN falls under this category, it is aligned with the principles of AI.
Instance-Based Learning: K-NN is an instance-based learning algorithm. This means that it makes decisions based on the entire training dataset rather than deriving a discriminative function from the dataset. It looks at the 'K' most similar instances (neighbors) when making a prediction, hence adapting to new information if the dataset changes. This adaptability is a hallmark of intelligent systems.
Pattern Recognition: The core of K-NN's functionality is recognizing patterns within data. It identifies relationships and similarities between data points, something akin to human pattern recognition, a key aspect of intelligence.
Classification and Regression: K-NN can be used for both classification and regression tasks, two fundamental problems in machine learning and AI. The indicator code is used for trend classification, a predictive task that aligns with the goals of AI.
Simplicity Doesn't Exclude AI: While K-NN is often considered a simpler algorithm compared to deep learning models, simplicity does not exclude something from being AI. Many AI systems are built on simple rules and can be combined or scaled to create complex behavior.
No Explicit Model Building: Unlike traditional statistical methods, K-NN does not build an explicit model during training. Instead, it waits until a prediction is required and then looks at the 'K' nearest neighbors from the training data to make that prediction. This lazy learning approach is another aspect of machine learning, part of the broader AI field.
-----------------
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!
US Recession IndicatorThe US Recession Indicator is designed to identify recessions as they happen, using two reputable indicators that have accurately foreseen all past recessions since 1969. Unlike the National Bureau of Economic Research (NBER) which determines recession dates after the fact, this indicator seeks to spot recessions in real-time. When both of these distinct metrics meet certain criteria, the chart's background becomes shaded, signifying a strong likelihood that the economy is in a recession. Furthermore, a built-in alert system keeps users updated without constant monitoring.
The first metric is the Smoothed Recession Probabilities developed by Marcelle Chauvet. It is based on a dynamic-factor markov-switching model that assesses four monthly coincident variables: non-farm payroll employment, the index of industrial production, real personal income excluding transfer payments and real manufacturing and trade sales. It offers a mathematical analysis of how recessions deviate from expansions. In essence, this index mirrors the probability of the prevailing true economic situation being a recession, grounded on the current GDP data.
The second metric is the Sahm Rule Recession Indicator developed by Claudia Sahm. It operates on the principle that changes in the unemployment rate can be used to identify the onset of a recession. According to this rule, if the three-month moving average of the unemployment rate rises by 0.5 percentage points or more above its lowest point from the preceding year, it flags a potential recession.
For this combined indicator, the thresholds are intentionally set lower than when each metric is used individually. Both metrics must simultaneously suggest a potential recession in order to send a signal. This stems from the realisation that neither metric is infallible and has, on occasion, sent false signals in the past. By requiring both to align, the likelihood of a false positive is reduced. However, it's crucial to understand that past performance does not guarantee future results, leaving the door open for potential false alerts which may not be confirmed by the NBER.
ICT Daily Bias Finder [DTCC]What is This?
The ICT Daily Bias Finder uses a method called "DTCC" to identify the London and New York session's bias, bullish or bearish. This indicator should only be relied on for 5 minute, and not other timeframes.
How do I use it?
Look at the previous days two boxes (labeled DTCC Bear/DTCC Bull), if both are bullish or both are bearish it is NOT recommended to rely on DTCC for that day. If the first one is bullish and second one is bearish, the DTCC for the next day says that London session will turn ABOVE midnight opening price, while New York will turn UNDER midnight opening price (longs in London, shorts in New York). If the second one is bearish and the first is bullish, the DTCC for the next day says that London session will turn UNDER midnight opening price, while New York will turn ABOVE midnight opening price (shorts in London, longs in New York)
Emoji guide to DTCC indicator:
🟢🟢: Don't trust DTCC for that day
🔴🔴: Don't trust DTCC for that day
🟢🔴: Longs in London above Midnight Opening Price, Shorts in New York under Midnight Opening Price
🔴🟢: Shorts in London under Midnight Opening Price, Longs in New York under Midnight Opening Price
Reminder: NEVER rely solely on DTCC, DTCC can be wrong and is not right 100% of times.
Crude Oil Top and Bottoms -by Trevor GeallDiscover the Crude Oil Tops and Bottoms Predictor Indicator: Your Key to Market Precision!
How to Use:
Ideal for the daily chart. Wait for the colored background to form.
Confirm signals by waiting for the first candle to close after the background disappears. That would be your sign to go long (if the line is crossing up) or short (if line is crossing dow).
Combine with other indicators for enhanced insights.
Unveil Market Secrets:
Identifies potential tops and bottoms in crude oil.
Empowers strategic trading decisions.
Advanced divergence detection and price channel analysis.
Note: While powerful, no indicator guarantees perfect predictions. Use it alongside comprehensive analysis and risk management. Elevate your crude oil trading now!
PS If I get enough positive feedback on my indicators ill release some of the better ones.
DCA Liquidation Calculation [ChartPrime]The DCA Liquidation Calculator is a powerful table indicator designed for both manual and bot-assisted traders who practice Dollar Cost Averaging (DCA). Its primary objective is to help traders avoid getting liquidated and make informed decisions when managing their positions. This comprehensive table indicator provides essential information to DCA traders, enabling them to plan their trades effectively and mitigate potential risks of liquidation.
Key Features:
Liquidation Price Awareness: The DCA Liquidation Calculator calculates and displays the liquidation price for each trade within your position. This critical information empowers traders to set appropriate stop-loss levels and avoid being liquidated in adverse market conditions, especially in leveraged trading scenarios.
DCA Recommendations: Whether you are executing DCA manually or using a trading bot, the DCA Liquidation Calculator offers valuable guidance. It suggests optimal entry prices and provides insights into the percentage deviation from the current market price, helping traders make well-timed and well-informed DCA decisions.
Position Sizing: Proper position sizing is essential for risk management. The DCA Liquidation Calculator helps traders determine the percentage of capital to allocate to each trade based on the provided insights. By using the recommended position sizing, traders can protect their capital and potentially maximize profits.
Profit and Loss Visualization: Gain real-time visibility into your Profit and Loss (PnL) with the DCA Liquidation Calculator. This feature allows you to monitor your trades' performance, enabling you to adapt your strategies as needed and make data-driven decisions.
Margin Call Indicators: Anticipating potential margin calls is crucial for maintaining a healthy trading account. The DCA Liquidation Calculator's smart analysis helps you identify and manage potential margin call situations, reducing the risk of account liquidation.
Capital Requirements: Before entering a trade, it's vital to know the required capital. The DCA Liquidation Calculator provides you with this information, ensuring you are adequately prepared to execute your trades without overextending your resources.
Maximum Trade Limit: Considering your available capital, the DCA Liquidation Calculator helps you determine the maximum number of trades you can enter. This feature ensures you maintain a disciplined and sustainable trading approach aligned with your financial capabilities.
Color-Coded Risk Indicators:
Green Liquidation Price Cell: Indicates that the position is considered safe from liquidation at the given parameters.
Yellow Liquidation Price Cell: Warns traders of potential liquidation risk. Exercise caution and monitor the trade closely to avoid undesirable outcomes.
Purple Liquidation Price Cell: Shows the liquidation price, but it does not necessarily indicate an imminent liquidation. Use this information to make prudent risk management decisions.
Red Row: Signals that the trade cannot be executed due to insufficient capital. Consider alternative strategies or ensure adequate capitalization before proceeding.
Settings explained:
In conclusion, the DCA Liquidation Calculator equips traders with essential tools to make well-calculated decisions, minimize liquidation risks, and optimize their Dollar Cost Averaging strategy. By offering comprehensive insights into your trading position, this indicator empowers you to navigate the markets with confidence and increase your potential for successful and sustainable trading.
Oil Price Prediction (Highly Accurate)It's a little-known fact that gold prices move preceded oil prices by 20 months.
If you don't believe me here is a short video from Tom McClellan discussing this www.cnbc.com
This gives us one of the best and highly accurate indicators of what oil will do in the months to come.
HOW TO USE.
When adding the script to your charts it's important to make a couple of adjustments.
Click the triple dots (...), scroll down to pin to scale, and click pin to new scale.
Rght-click the new scale and click auto (fits data to screen)
Go into the indicator settings and turn off the red line.
What you'll be left with is a price projection on where oil prices will go. This becomes your 30,000-foot view. It is important for traders to know if they're coming into a bullish, bearish or consolidating market and this indicator does that.
Its important to mention this is for Monthly charts.
Happy Trading
Extrapolated Previous Trend [LuxAlgo]The Extrapolated Previous Trend indicator extrapolates the estimated linear trend of the prices within a previous interval to the current interval. Intervals can be user-defined.
🔶 USAGE
Returned lines can be used to provide a forecast of trends, assuming trends are persistent in sign and slope.
Using them as support/resistance can also be an effecting usage in case the trend in a new interval does not follow the characteristic of the trend in the previous interval.
The indicator includes a dashboard showing the degree of persistence between segmented trends for uptrends and downtrends. A higher value is indicative of more persistent trend signs.
A lower value could hint at an anti-persistent behavior, with uptrends over an interval often being followed by a down-trend and vice versa. We can invert candle colors to determine future trend direction in this case.
🔶 DETAILS
This indicator can be thought of as a segmented linear model ( a(n)t + b(n) ), where n is the specific interval index. Unlike a regular segmented linear regression model, this indicator is not subject to lookahead bias, coefficients of the model are obtained on previous intervals.
The quality of the fit of the model is dependent on the variability of its coefficients a(n) and b(n) . Coefficients being less subject to change over time are more indicative of trend persistence.
🔶 SETTINGS
Timeframe: Determine the frequency at which new trends are estimated.
Quarterly Version: Sustainable Growth Rate+ (SGR+)The Sustainable Growth Rate+ (SGR+) is an advanced financial indicator designed to estimate the sustainable growth rate of a company in a more comprehensive manner than the traditional Sustainable Growth Rate (SGR). This indicator has been created to overcome certain limitations of the traditional SGR, especially its reliance on Return on Equity (ROE), which does not take into account the impact of debt on a company's growth.
Calculation:
The SGR+ is calculated using the following formula:
(Net Income - Dividends - Depreciation & Amortization) / (Shareholders' Equity + Long-Term Debt)
This formula essentially adjusts the net income by subtracting dividends and depreciation & amortization expenses. The result is then divided by the sum of shareholders' equity and long-term debt. By including long-term debt in the denominator, SGR+ accounts for the role of debt in a company's capital structure, providing a more realistic picture of its potential growth.
Logic:
The logic behind the SGR+ is to factor in both the role of debt and the recurring costs of asset maintenance/replacement (approximated by Depreciation & Amortization expenses) into the growth estimation.
By incorporating debt, we capture a company's total capital employed (equity + debt) rather than just equity, thus considering the full range of financing options used to fuel growth.
Depreciation & Amortization expenses are subtracted from net income to better reflect the amount of earnings that can be retained for growth, as these expenses indicate the necessary reinvestment for maintaining the operational efficiency of a company's assets.
History:
The original SGR was based on the Dupont Analysis developed by the Dupont Corporation in the 1920s. While it provided a useful estimate of a company's potential growth, many analysts felt that it did not fully capture the realities of modern business finance, particularly the significant role of debt and recurring asset costs. This led to the development of the SGR+, which factors in these important elements to provide a more comprehensive and realistic measure of a company's sustainable growth rate.
Usage:
While SGR+ provides a more nuanced estimate of a company's potential growth, it should not be used in isolation. It is most effective when used alongside other financial indicators, including historical growth rates, ROE, and analyst forecasts. It also requires a careful evaluation of a company's earnings consistency and volatility.
Remember, the SGR+ is still an estimation based on various assumptions, and should be used with a sufficient margin of safety. Regularly comparing the SGR+ over multiple years can provide insight into the stability or volatility of a company's growth rate, contributing to a more accurate growth prediction.
Adaptive Price Channel (log scale)The field of technical analysis is consistently expanding, with numerous indicators used for market forecasting. Amongst them, a novel indicator dubbed the Adaptive Price Channel (log scale), inspired by the renowned Nadaraya-Watson Envelope (LuxAlgo) from LuxAlgo, is gaining traction for its distinctive features and versatility. Unlike its predecessor, the Adaptive Price Channel (log scale) is applicable on a logarithmic scale, thereby allowing it to be utilized on both smaller and larger timeframes.
1. Key Features
The Adaptive Price Channel (log scale) is founded on the trading view Pinescript language, version 5, with its primary aim to maximize the versatility and scalability of trading indicators. It allows traders to adapt it according to their preferred timeframe, thereby making it applicable for a wide range of trading strategies.
Its bandwidth can be adjusted through the input parameters, offering traders the flexibility to manipulate the indicator according to their strategic requirements. Furthermore, it provides an option for repainting smoothing. This option enables users to control the repainting effect in which the historical output of the indicator may change over time. When disabled, the indicator provides the endpoints of the calculations, ensuring consistency in historical values.
Moreover, the Adaptive Price Channel (log scale) allows for color customization, thereby improving visibility and user-friendliness. The colors of the indicator's upward and downward directions can be changed according to the user's preference.
2. Working Mechanism
The Adaptive Price Channel (log scale) uses the logarithm of the source, which is typically the closing price of a trading instrument. It leverages a Gaussian function that exponentially decreases the further the price moves away from the mean, accounting for both positive and negative values. The bandwidth of the Gaussian function can be adjusted to adapt to different market conditions.
Additionally, the Adaptive Price Channel (log scale) features an array of 500 lines for each bar, which helps in defining the boundaries or envelope for price movements. The calculations are executed using the Nadaraya-Watson estimator, which uses kernel regression for non-parametric analysis.
The calculated values for the upper and lower bounds of the envelope are then converted back from the logarithmic scale using the exponential function. This calculation process continues for each bar until the last bar in the data set.
To ensure optimal performance, the Adaptive Price Channel (log scale) uses dynamic repainting. If the repainting mode is enabled, it adjusts the smoothing of the indicator for the entire historical data, making the results more accurate.
3. Visualization and Alerts
The Adaptive Price Channel (log scale) offers an array of visual aids, including labels and plots. The upper and lower bounds of the envelope are plotted, and the indicator triggers labels at points where the closing price crosses these boundaries. These labels serve as alerts for potential trading opportunities.
4. Conclusion
The Adaptive Price Channel (log scale) is an innovative and adaptable trading indicator, drawing inspiration from its predecessor but introducing unique features to increase its versatility. By providing a repainting option, it ensures consistent historical values, thereby enhancing the reliability of the indicator. Furthermore, the capability to operate on a logarithmic scale broadens its usability for different timeframes. The Adaptive Price Channel (log scale) is a powerful tool for any trader, facilitating a better understanding of market dynamics, and enabling more informed decision-making.
ICT Friday's Asian Range°This concept was engineered and taught by the Inner Circle Trader .
The goal of this script is to outline a potential draw on liquidity for the next trading week. It gives a parameter for ICT PD Arrays to be located above and below the marketplace and should be used in conjunction with the higher Timeframe Arrays as defined by ICT.
If there is a higher Timeframe array with a standard deviation confluence of the Friday Asian Range it is considered high probability for price to reach up/down to that level, and present a potential retracement or reversal.
The Asian Range is defined as the window of Time between 7PM to Midnight New York Time. In this case we will be only using the Friday's Asian Range which will take place on Thursday between these Times.
We have two ranges: a Body range made of the highest and lowest candle bodies, and a Wick range made by the highest and lowest candle wicks.
ICT teaches that we only want to apply this concept to the 5minute and 15minute chart.
THIS SCRIPT WILL NOT WORK ON ANY OTHER TIMEFRAME OUT OF THE BOX
Framework:
Visualization:
Example:
Crunchster's Real PriceThis is a simple transformation of any price series (best suited to daily timeframe) that filters out random price fluctuations and revealing the "real" price action. It allows comparison between different assets easily and is a useful confirmation of support and resistance levels, or can be used with other technical analysis.
In the default settings based on a daily chart, the daily returns are first calculated, then volatility normalised by dividing by the standard deviation of daily returns over the defined lookback period (14 periods by default).
These normalised returns are then added together over the entire price series period, to create a new "Real price" - the volatility adjusted price. This is the default presentation.
In addition, a second signal ("Normalised price series over rolling period") is available which, instead of summing the normalised returns over the entire price series, allows a user configurable, rolling lookback window over which the normalised returns are summed up. The default setting is 365 periods (ie 1 year on the daily timeframe for tickers with 24hr markets such as crypto. This can be set to 252 periods if analysing equities, which only trade 5 days per week, or any other user defined period of interest).
Maschke-IndikatorThis indicator is based on market data independently from the current chart being used. It considers data from FED (M2, net liquidity) as well as heavy truck index and Redbook index. This combination allows the determination of the current market situation and factors that influence short term future economy.
As an indicator is not able to determine the absolute maximum values and it does not make sense to shed light back to history more than 5 years or to consider those minimum values long time ago, the default minimum and maximum values for the 4 primary indicators have been selected to fix to those in the last 5 years, with the possibility to change the consideration limits for the user. As the index is calculated in percentage between those ranges, the values entered for minimum and maximum have great influence, but also give the experienced user the possibility to change those limits based on her or his knowledge.
This indicator has a particularly high correlation with the S&P 500. It is clearly leading in some places. I use the indicator on the daily and hourly charts, manually bring the indicator over the S&P chart as best I can and see if the indicator is showing a major breakout ahead that the chart hasn't followed yet. Larger deviations are also a sign that the price is moving too far away from the indicator and that this deviation will probably be closed in the near future. The indicator shows the theoretical course more from the economic side, how the course should run. The deviation is therefore primarily due to the mood. I recommend using the indicator together with others, so as not to rely on this indicator alone.
Open Price Regression Modelnput Variables: The user can adjust the lookbackPeriod and m (multiplier) inputs. The lookbackPeriod specifies the number of previous bars used for regression calculations, and m is used to calculate the confidence interval width.
Calculate Regression Model: The code extracts open, high, low, and close prices for the current candle. It then performs regression calculations for high, low, and close prices based on the open prices.
Calculate Predicted Prices: Using the regression coefficients and intercepts, the code calculates predicted high, low, and close prices based on the current open price.
Calculate Confidence Interval: The code computes the standard errors of the regression for high, low, and close prices and multiplies them by the specified confidence level multiplier (m) to determine the width of the confidence intervals.
Plotting: The predicted high, low, and close prices are plotted with different colors. Additionally, confidence intervals are plotted around the predicted prices using lines.
Implications and Trading Advantage:
The Open Price Regression Model aims to predict future high, low, and close prices based on the current open price. Traders can use the predicted values and confidence intervals as potential price targets and volatility measures. Traders can consider taking long or short positions based on whether the current open price is below or above the predicted prices. Can be used on a daily time frame to forecast the day's high and low and use this levels are horizontal price levels on lower timeframes.
Main Market Opener Breakout [RH]Based on my observations while analyzing the crypto and forex charts, particularly BTCUSDT and EURUSD, I have noticed that the prices exhibit significant movements during most stock market sessions, particularly during New York main market session.
With the aim of capturing these moves, I embarked on extensive research. Through this research, I discovered that by considering the very first "15m" or "30m" candle of the main market trading session and marking that first candle's high and low points, we can create potential trigger points.
A break above the high point indicates a bullish signal, while a break below the low point suggests a bearish signal. To further refine our analysis and filter out some noise, we can incorporate the Average True Range (ATR) value of that candle.
Candle time is very important here. We will mark the candle when the actual trading begins in New York stock exchange. The trading hours for the New York Stock Exchange (NYSE) typically begin at 9:30 AM and end at 4:00 PM Eastern Time (ET), Monday through Friday. This is known as the "NYSE Regular Trading Session." However, it's important to note that there are also pre-market and after-hours trading sessions that occur outside of these core hours. We will not consider these pre and after-hours.
Example:
First break-above and break-below is marked automatically and alerts are also available for first breaks.
Example:
I have also added the option to add the, London Stock Exchange Main Market and Tokyo Stock Exchange Regular Trading Session. You can add those sessions also and test with different symbols.
Stocks symbols from different stock exchanges just mark the very first candle of the day(main market trading session).
Alerts are available.
Wick-to-Body Ratio Trend Forecast | Flux ChartsThe Wick-to-Body Ratio Trend Forecast Indicator aims to forecast potential movements following the last closed candle using the wick-to-body ratio. The script identifies those candles within the loopback period with a ratio matching that of the last closed candle and provides an analysis of their trends.
➡️ USAGE
Wick-to-body ratios can be used in many strategies. The most common use in stock trading is to discern bullish or bearish sentiment. This indicator extends candle ratios, revealing previous patterns that follow a candle with a similar ratio. The most basic use of this indicator is the single forecast line.
➡️ FORECASTING SYSTEM
This line displays a compilation of the averages of all the previous trends resulting from those historical candles with a matching ratio. It shows the average movements of the trends as well as the 'strength' of the trend. The 'strength' of the trend is a gradient that is blue when the trend deviates more from the average and red when it deviates less.
Chart: AMEX:SPY 30 min; Indicator Settings: Loopback 700, Previous Trends ON
The color-coded deviation is visible in this image of the indicator with the default settings (except for Forecast Lines > Previous Trends ), and the trend line grows bluer as the past patterns deviate more.
➡️ ADAPTIVE ACCEPTABLE RANGE
The algorithm looks back at every candle within the loopback period to find candles that match the last closed candle. The algorithm adaptively changes the acceptable range to which a candle can differ from the ratio of the last closed candle. The algorithm will never have more than 15 historical points used, as it will lower its sensitivity before it reaches that point.
Chart: BITSTAMP:BTCUSD 5 min; Indicator Settings: Loopback 700
Here is the BTC chart on 7/6/23 with default settings except for the loopback period at 700.
Chart: BITSTAMP:BTCUSD 5 min; Indicator Settings: Loopback 200
Here is the exact same chart with a loopback period of 200. While the first ratio for both is the same, a new ratio is revealed for the chart with a loopback of only 200 because the adaptive range is adjusted in the algorithm to find an acceptable number of reference points. Note the table in the top right however, while the algorithm adapts the acceptable range between the current ratio and historical ones to find reference points, there is a threshold at which candles will be considered too inaccurate to be considered. This prevents meaningless associations between candles due to a particularly rare ratio. This threshold can be adjusted in the settings through "Default Accuracy".
Trend Reversal PredictorTrend Reversal Predictor - An Indicator for Identifying Potential Trend Reversals
This indicator is designed to help traders identify potential trend reversals in the financial markets. It combines multiple criteria including trend identification, volume analysis, average net price movement, and RSI (Relative Strength Index) crossing its moving average to highlight potential danger zones where a trend reversal may occur.
How it Works:
1. Trend Identification: The script uses the Hull Moving Average (HMA) and Parabolic SAR to determine the prevailing trend. The HMA is a smoothing indicator that reduces lag and provides a clear representation of the trend direction.
2. Danger Zone Identification: The script analyzes volume-related metrics and average net price movement to identify potential danger zones where trend reversals might occur. It calculates the rate of change of buying and selling volume and compares it to their respective averages. Additionally, it considers the average net price movement over a specified period.
3. RSI Integration: The script incorporates the RSI, a momentum oscillator, to evaluate overbought and oversold conditions. It calculates the RSI based on user-defined length and source inputs. It also calculates the RSI's moving average using different types of moving averages (SMA, EMA, etc.) specified by the user.
4. Trend Ending Prediction: By combining the conditions of trend identification, volume analysis, average net price movement, and RSI crossing its moving average, the script identifies potential trend reversal points or danger zones. These danger zones are highlighted on the chart using different colors to represent potential uptrend and downtrend reversals.
How to Use:
2. Danger Zone Highlighting: The script highlights potential danger zones on the chart using orange color for uptrend danger zones and blue color for downtrend danger zones. These danger zones suggest areas where a trend reversal may occur.
3. Additional Analysis: Traders can further analyze the danger zones based on their trading strategy and risk management. Consider other technical indicators, price action, and fundamental factors to make informed trading decisions.
Please note that this script provides potential signals for trend reversals but does not guarantee their occurrence. It is important to use this indicator in conjunction with other technical analysis tools and risk management techniques to make well-informed trading decisions.
By understanding the underlying concepts and using the provided visual cues, traders can leverage the Trend Reversal Predictor to potentially identify potential trend reversals in the markets.
Cycles AnalysisI strongly believe in cycles, so I wanted to create something that would give a visual representation of bull/bear markets and give a prediction based on the previous data. It's up to you how to decide what is a bull/bear cycle. There is no single rule for all assets because 20% drop in SP500 starts a bear market in traditional markets, while 35% drop for Bitcoin is a Tuesday. You have two options on how to decide when markets turn: either by a % change (traditional definition) or if there is no new high/low after X days. A softer version to show periods of no new highs/lows is to use the Stagnation option. Stagnation periods hava the same logic as the cycle change by X days: if there is no new high/low then we treat this period as a stagnation. The difference is that stagnation periods do not change cycle directions and do not participate in calculations.
The script also draws a possible "predictions" zone where the current cycle might end up. There is no magic here, it just takes previous cycles' size to draw the possible boundaries. If you decide to use percentiles then the box area will be taken from the percentiles calculations, otherwise it will come from the full data. "x" in the predictions zone represents a target mean (average) value, "o" represents a target median value.
A few things to keep in mind:
- this script is not supposed to be used in trading. It was created for analysis. It repaints. And when I say "it repaints" - it might like repaint the last 6 months of data if a new low comes and we are in a stagnation period (aka not a financial advice).
- it doesn't work with replays as it does calculations only once on the last candle.
- you need at least 3 periods to be able to calculate percentiles. And after this it will remove at least 1 period on each side. Which means that 90 percentile will not be a real 90 percentile until you have enough periods for it to be (20 in this specific case).
- it assumes that a year = 360 days, and a month = 30 days. So the duration presentation might not be exact, until you move to the day level.
- I had macro analysis in mind when I created the script, but nothing stops you from using it in a 1m time frame for BTC. Just change the time duration presentation.
- the last period is not finished, so it doesn't participate in calculations.
K's Pivot PointsPivot points are a popular technical analysis tool used by traders to identify potential levels of support and resistance in a given timeframe. Pivot points are derived from previous price action and are used to estimate potential price levels where an asset may experience a reversal, breakout, or significant price movement.
The calculation of pivot points involves a simple formula that takes into account the high, low, and close prices from the previous trading session or a specific period. The most commonly used pivot point calculation method is the "Standard" or "Classic" method. Here's the formula:
Pivot Point (P) = (High + Low + Close) / 3
In addition to the pivot point itself, several support and resistance levels are calculated based on the pivot point value.
K's Pivot Points try to enhance them by incorporating multiple elements and by applying a re-integration strategy to validate two events:
* Found_Support: This event represents a basing market that is bound to recover or at least shape a bounce.
* Found_Resistance: This event represents a toppish market that is bound to consolidate or at least shape a pause.
K's Pivot Points are calculated following these steps:
1. Calculate the highest of highs for the previous 24 periods (preferably hours).
2. Calculate the lowest of lows for the previous 24 periods (preferably hours).
3. Calculate a 24-period (preferably hours) moving average of the close price.
4. Calculate K's Pivot Point as the average between the three previous step.
5. To find the support, use this formula: Support = (Lowest K's pivot point of the last 12 periods * 2) - Step 1
6. To find the resistance, use this formula: Resistance = (Highest K's pivot point of the last 12 periods * 2) - Step 2
The re-integration strategy to find support and resistance areas is as follows:
* A support has been found if the market breaks the support and shapes a close above it afterwards.
* A resistance has been found if the market surpasses the resistance and shapes a close below it afterwards.
The lookback period (whether 24 and 12) can be modified but the default versions work well.