Monday range by MatboomThe "Monday Range" Pine Script indicator calculates and displays the lowest and highest prices during a specified trading session, focusing on Mondays. Users can configure the trading session parameters, such as start and end times and time zone. The indicator visually highlights the session range on the chart by plotting the session low and high prices and applying a background color within the session period. The customizable days of the week checkboxes allow users to choose which days the indicator should consider for analysis.
Session Configuration:
session = input.session("0000-0000", title="Trading Session")
timeZone = input.string("UTC", title="Time Zone")
monSession = input.bool(true, title="Mon ", group="Trading Session", inline="d1")
tueSession = input.bool(true, title="Tue ", group="Trading Session", inline="d1")
Users can configure the trading session start and end times and the time zone.
Checkboxes for Monday (monSession) and Tuesday (tueSession) sessions are provided.
SessionLow and SessionHigh Functions:
SessionLow(sessionTime, sessionTimeZone=syminfo.timezone) => ...
SessionHigh(sessionTime, sessionTimeZone=syminfo.timezone) => ...
Custom functions to calculate the lowest (SessionLow) and highest (SessionHigh) prices during a specified trading session.
InSession Function:
InSession(sessionTimes, sessionTimeZone=syminfo.timezone) => ...
Determines if the current bar is inside the specified trading session.
Days of Week String and Session String:
sessionDays = ""
if monSession
sessionDays += "2"
if tueSession
sessionDays += "3"
tradingSession = session + ":" + sessionDays
Constructs a string representing the selected days of the week for the session.
Fetch Session Low and High:
sessLow = SessionLow(tradingSession, timeZone)
sessHigh = SessionHigh(tradingSession, timeZone)
Calls the custom functions to obtain the session low and high prices.
Plot Session Low and High and Background Color for Session
plot(sessLow, color=color.red, title="Session Low")
plot(sessHigh, color=color.red, title="Session Low")
bgcolor(InSession(tradingSession, timeZone) ? color.new(color.aqua, 90) : na)
Cycles
High Volume Engulfing Candle_bullHornThe "High Volume Engulfing Candle" indicator is a technical analysis tool used in trading to identify specific candlestick patterns that suggest potential reversals or significant price movements in a financial instrument. It focuses on two key criteria: the engulfing candlestick pattern and high trading volume. Here's a brief description of the indicator:
Engulfing Candlestick Pattern: The indicator looks for bullish and bearish engulfing candlestick patterns.
Bullish Engulfing: This pattern occurs when the current candlestick completely engulfs the previous one. In other words, the current candlestick's body (the open and close prices) is larger than the previous candlestick's body, and it closes higher than the previous candle's close. It suggests a potential bullish reversal.
Bearish Engulfing: This pattern occurs when the current candlestick's body completely engulfs the previous one, but in the opposite direction. The current candlestick's body is larger than the previous candlestick's body, and it closes lower than the previous candle's close. It suggests a potential bearish reversal.
High Volume Confirmation: In addition to the engulfing pattern, the indicator considers trading volume. It looks for instances where the volume accompanying the engulfing candle is significantly higher than a moving average of the volume. This indicates strong market participation and validates the importance of the engulfing candle pattern.
Arrows on the Chart: When a high volume engulfing candle pattern is detected, the indicator plots arrows on the price chart. A green triangle pointing up is used for bullish engulfing patterns, while a red triangle pointing down is used for bearish engulfing patterns. These arrows help traders quickly identify potential reversal points.
Overall, the "High Volume Engulfing Candle" indicator combines the visual recognition of candlestick patterns with volume analysis to provide traders with potential signals for trend reversals or significant price moves in the market. Traders can use these signals as part of their technical analysis and trading strategies.
AMDX-XAMDGuided by ICT tutoring and also inspired by the teaching of
Daye', I create this versatile "AMDX" indicator.
A = Accumulation
M = Manipulation
D = Distribution
X = Continuation Or Reversal
This indicator shows a different way of viewing all the Timeframes by dividing them into Quarters, in this context the Trading sessions are divided into a 90m cycle, dividing each time range into Q1-Q2-Q3-Q4, in this way you have a clear vision of what the price is likely to do
True Open Times =
Opening Week - Monday at 6pm
Opening Day - 00:00
Asia -7.30pm
London -01.30
New York -07:30
PM -1.30pm
Session Times =
Q1 Asia 18:00-00:00
Q2 London 00:00-06:00
Q3 New York 06:00-12:00
Q4 PM 12:00-18:00
The user has the possibility to:
- Choose whether to display AMDX W
- Choose whether to display AMDX D
- Choose whether to display AMDX Session
- Choose to show the text in the Box
- Choose to show open levels
The indicator should be used as ICT and 'Daye' show in their concepts.
The indicator divides everything into Quarter ranges and classifies them into Q1-Q2-Q3-Q4 (as in the example above), and each Quarter has its own specific function, and can be used in this way:
If Q1 does an expansion it is likely that Q2 will do a consolidation, Q3 will do a Manipulation and Q4 will do a reversal returning to Q1
-If we are Bullish we buy under Open Session
-If we are Bearish we buy above open session
As in the example below:
If something is not clear, comment below and I will reply as soon as possible.
Bitcoin Cycles IndicatorBitcoin Cycles Indicator
The "Bitcoin Cycles Indicator" is designed to provide insights into the current market cycle of Bitcoin. It utilizes a combination of market cap real and total volume transfer to generate a visual representation of the market cycle.
Indicator Phases:
Cycle Lows (Green): Indicates potential low points in the cycle.
Under Valued (Aqua): Represents phases where Bitcoin might be undervalued.
Fair Market Value (Purple): Reflects periods considered to be at fair market value.
Aggressively Valued (Orange): Marks phases where Bitcoin might be aggressively valued.
Over Valued (Red): Suggests potential overvaluation of Bitcoin in the cycle.
Bitcoin Cycles can identify periods of increased risk when transaction behavior on-chain is indicative of major cycle highs. It also identifies areas of value opportunity where on-chain transaction behavior signals major cycle lows.
Historically, Bitcoin has exhibited cyclical behavior roughly every four years, coinciding with significant events known as "halvings."
While the historical correlation between Bitcoin's cycles and halving events is compelling, market dynamics are subject to change. Traders and investors should approach the market with a comprehensive strategy, incorporating multiple indicators and risk management techniques to navigate Bitcoin's evolving landscape.
[PUZ] MACD MTB System MTFMACD Moving Average convergence/divergence
Here are a little articel how the MACD is calculated an how you can use it.
en.wikipedia.org
This Indicator have many differet spezifications than a normal MACD.
You can use different timeframes.
The histogramm workes a litle bit smother
The signalline have two different colors:
He is blue when the macd line is greater than the signalline and the signalline is red when the macd line is smaller than the signalline.
The macd line habe three different colores:
Color green when the macd line is greater than the macd line one period back and the macd line is under the signal line.
Color yellow when the macd line is smaller than the macd line one period back and the macd line is greater than the signalline.
Color gray when the conditions fot color yellow an green are not true
Three different types for Signals
The L1 signal show you a triange when the macd ist crossover or crossunder the signal line, you can use the L1 Threshold to filter the signals.
For example the L1 long threshold is equal to 0 than the Indicator show you only L1 long singnals when the crossover from the macd line to the signal line is smaller than 0.
This works like the same for all Signals (L2 signals / L3 signals)
The L2 signals show you a bigger triangle when the color from the macd line is eqal to yellow or green, you can use the L2 Threshold to filter the signals.
The L3 signals show you a green or red diamond when the histogramm is rising or falling, you can use the L3 Threshold to filter the signals.
Multibit Signal Compatible Indicator with DJMAD Multibit System
This Pine Script indicator is designed to function as part of the Multibit Signal System developed by DJMAD. It encompasses a comprehensive implementation of a MACD-based trading strategy with multiple threshold levels, color-coded signals, alert functionalities, and seamless compatibility with the Multibit Signal System for more sophisticated signal analysis and trading strategies.
Signal Daisychain:
Provides a configurable interface (Signal_Channel_Line1 to Signal_Channel_Line6) that allows users to select channel lines for Long and Short conditions, specifically designed for compatibility with the Multibit Signal System.
Multibit Signal Integration:
Utilizes functions from DJMAD's Signal_transcoder_library to encode and decode signals, ensuring compatibility with the Multibit Signal System for advanced signal processing and strategy development.
For more Informations about the Multibit System please look at djmad Tradingview Profile.
Market SessionsDraws a vertical line at market opens and closes.
The colors can be changed and the opening times can be changed too.
TotalCustomTotalCustom sums our custom altcoin list's market caps together.
Primarily used to compare to the following:
A. price of bitcoin
B. Total 1, Total 2, Total 3
Used in the following way:
When there is a large gap on fixed time frames (i.e. 3 month, 6 month, YTD) between this indicator and the main comparisons, it is generally considered a good time to buy.
Klinger Oscillator AdvancedThe Klinger Oscillator is not fully implemented in Tradeview. While the description at de.tradingview.com is complete, the implementation is limited to the pure current volume movement. This results in no difference compared to the On Balance Volume indicator.
However, Klinger's goal was to incorporate the trend as volume force in its strength and duration into the calculation. The expression ((V x x T x 100)) for volume force only makes sense as an absolute value, which should probably be expressed as ((V x abs(2 x ((dm/cm) - 1)) x T x 100)). Additionally, there is a need to handle the theoretical possibility of cm == 0.
Since, in general, significantly more trading volume occurs at the closing price than during the day, an additional parameter for weighting the closing price is implemented. In intraday charts, considering the closing price, in my opinion, does not make sense.
The TradeView implementation is displayed on the chart for comparison. Particularly in the analysis of divergence, significant deviations become apparent.
ICT Times [joshu]This TradingView indicator provides a comprehensive view of ICT killzones, Silver Bullet times, and ICT Macros, enhancing your trading experience.
In those time windows price either seeks liquidity or imbalances and you often find the most energetic price moves and turning points.
Features:
Automatic Adaptation: The ICT killzones intelligently adapt to the specific chart you are using. For Forex charts, it follows the ICT Forex times:
Asia: 2000-0000
London: 0200-0500
New York: 0700-1000
London Close: 1000-1200
For other charts, it uses the following session times:
Asia: 2000-0000
London: 0200-0500
New York AM: 0830-1100
New York PM: 1330-1600
Silver Bullet Times:
0300-0400
1000-1100
1400-1500
How to Use:
Simply apply the indicator to your chart, and the session boxes and Silver Bullet times will be plotted automatically.
Blockunity Stablecoin Liquidity (BSL)Monitor the liquidity of the crypto market by tracking the capitalizations of the major Stablecoins.
Stablecoin Liquidity (BSL) is an ideal tool for visualizing data on major Stablecoins. The number of Stablecoins in circulation is one of the best indices of liquidity within the crypto market. It’s an important metric to keep an eye on, as an increase in the number of Stablecoins in circulation offers a great opportunity to see cryptoasset prices rise. The tool’s multiple on-board display modes enable analysis of its data in the best possible conditions.
The Idea
The goal is to provide the community with the ideal tool to visualize the liquidity of the crypto market, via the state of the market capitalizations of the major Stablecoins.
How to Use
The tool is very easy to use and interpret. First of all, let's distinguish two main elements:
The chart as 3 distinct display modes to let you observe data in the best possible conditions.
There is a panel that summarizes the market capitalizations of the main Stablecoins.
Display Mode: Cumulative
In Cumulative mode (default), the different capitalizations are displayed one on top of the other with colored bands.
You can see that when the number of Stablecoins in circulation increases, crypto asset prices enter an uptrend. And if the liquidity of Stablecoins dries up, the trend will become bearish.
Display Mode: Aggregated
Aggregated mode displays a single line, which is the sum of the different capitalizations, varying between green and red depending on the state of this data according to its moving average declared in the 'Aggregated MA Lengh' field.
You can thus easily see trend changes and therefore opportunities to enter or exit the crypto market.
Display Mode: Independent
The Independent mode also displays the different capitalizations, but detached from each other with labels.
This display mode is particularly interesting for studying transfers from one Stablecoin to another, as can be seen below.
Other Settings
You can choose whether or not to include each of the Stablecoins data, and configure their display color. Note that in 'Cumulative' display mode, the data is taken into account even if the box is unchecked.
How it Works
The tool works in a simple way: We take the market capitalization data of the Stablecoins that interest us, then we process them according to the different display modes.
Let us know if you would like other ways of visualizing this data!
TASC 2023.12 Growth and Value Switching System█ OVERVIEW
This script implements a rotation system for trading value and growth ETFs, as developed by Markos Katsanos and detailed in the article titled 'Growth Or Value?' in TASC's December 2023 edition of Traders' Tips . The purpose of this script is to demonstrate how short-term momentum can be employed to track market trends and provide clarity on when to switch between value and growth.
█ CONCEPTS
The central concept of the presented rotation strategy is based on the observation that the stock market undergoes cycles favoring either growth or value stocks. Consequently, the script introduces a momentum trading system that is designed to switch between value and growth equities based on prevailing market conditions. Specifically tailored for long-term index investors, the system focuses on trading Vanguard's value and growth ETFs ( VTV and VUG ) on a weekly timeframe.
To identify the ETF likely to outperform, the script uses a custom relative strength indicator applied to both VTV and VUG in comparison with an index ( SPY ). To minimize risk and drawdowns during bear markets, when both value and growth experience downtrends, the script employs the author's custom volume flow indicator (VFI) and blocks trades when its reading indicates money outflow . Positions are closed if the relative strength of the current open trade ETF falls below that of the other ETF for two consecutive weeks and is also below its moving average. Additionally, the script implements a stop-loss when the ETF is trading below its 40-week moving average, but only during bear markets.
The script plots the relative strengths of the value and growth equities along with the signals triggered by the aforementioned rules. Information about the current readings of the relative strength and volume flow indicators, along with the current open position, is displayed in a table.
█ CALCULATIONS
The script uses the request.security() function to gather price data for both equities and the reference index. Custom relative strength and volume flow indicators are calculated based on the formulas presented in the original article. By default, the script employs the same parameters for these indicators as proposed in the original article for VTV and VUG on a weekly timeframe.
Volume ForecastThe Volume Forecast indicator on TradingView is a comprehensive tool designed to analyze historical price action and project future market movements based on the average sizes of candles. Incorporating various data points such as candle high/low, open/close, and real volumes, Volume Forecast provides traders with a holistic view of market dynamics, allowing for more informed decision-making.
Key Features:
Multi-Data Source Analysis:
Volume Forecast seamlessly integrates multiple data sources, including candle high/low, open/close prices, and real volumes. By considering these diverse elements, the indicator offers a nuanced understanding of market conditions.
Historical Candle Size Analysis:
The indicator conducts a thorough analysis of historical candle sizes, capturing key data points to calculate the average candle size over a specified period. This historical context serves as the foundation for forecasting future candle sizes.
Customizable Forecasting Parameters:
Traders have the flexibility to fine-tune forecasting parameters to align with their trading strategies. Whether focusing on open/close relationships, high/low points, or real volumes, users can customize the indicator to suit their preferences.
Predictive Algorithm:
Volume Forecast employs a sophisticated predictive algorithm that leverages historical candle size data to project the potential size of upcoming candles. This algorithmic approach enhances the indicator's accuracy in forecasting market movements.
Visual Clarity:
The indicator provides a clear visual representation on the TradingView chart, displaying historical candle sizes and forecasted values. Color-coded elements and visual cues help traders quickly interpret the data, facilitating timely decision-making.
Adaptive Real-Time Updates:
Volume Forecast dynamically updates in real-time, ensuring traders have access to the latest information. This adaptability allows for swift adjustments to trading strategies in response to changing market conditions.
Comprehensive Market Compatibility:
Whether trading stocks, forex, cryptocurrencies, or commodities, Volume Forecast is compatible across various financial instruments and timeframes. This versatility makes it a valuable asset for traders in different markets.
User-Friendly Interface:
With an intuitive interface, Volume Forecast is accessible to traders of all experience levels. The indicator's user-friendly design streamlines the analysis process, making it easier for traders to incorporate it into their trading routines.
In summary, Volume Forecast is a robust TradingView indicator that combines historical candle size analysis with advanced forecasting techniques. By incorporating multiple data sources and offering customization options, it empowers traders to make more informed decisions in anticipation of market movements. Whether used independently or in conjunction with other tools, Volume Forecast is a valuable asset for traders seeking a comprehensive understanding of market dynamics.
PA HelperProvides a holistic view of key support and resistance levels across multiple timeframes. This versatile indicator allows traders to customize and configure timeframes, empowering them to make more informed decisions based on dynamic market conditions.
Configurable Timeframes:
Tailor your analysis to specific market scenarios by configuring the timeframes that matter most to your trading strategy. Whether focusing on short-term intraday movements or longer-term trends, this indicator adapts to your preferred time intervals.
Dynamic Support and Resistance Lines:
The indicator dynamically calculates and displays support and resistance lines based on the selected timeframes. This ensures that the analysis is responsive to changing market dynamics, providing a more accurate representation of potential reversal zones.
Color-Coded Lines:
Easily identify and differentiate between support and resistance lines with color-coded markings. This visual representation simplifies the interpretation of key price levels, enabling traders to make quicker and more confident trading decisions.
Aggregated Overview:
Gain a comprehensive understanding of support and resistance levels by viewing an aggregated overview of lines from different timeframes. This feature helps traders identify confluence zones, where multiple timeframes converge to strengthen a particular support or resistance level.
User-Friendly Interface:
The indicator boasts a user-friendly interface, making it accessible for traders of all experience levels. Effortlessly navigate through timeframes and settings, and quickly interpret the analysis for more effective decision-making.
The Multi-Timeframe Support and Resistance Lines indicator is a valuable asset for traders seeking a comprehensive and customizable tool to enhance their technical analysis. Whether employed for day trading, swing trading, or trend analysis, this indicator offers the flexibility and precision needed to navigate the complexities of the financial markets successfully.
[KenStrat] - Catching trend for the PipsDescription:
The " - Catching trend for the Pips" indicator is designed to help traders identify potential trend reversal points and capture significant price movements, with a focus on both daily and weekly perspectives.
**Friday Close Analysis:**
This component of the indicator concentrates on the Friday close of each week. The script displays visual elements on the daily chart exclusively. Specifically, it marks key price levels, providing insights into the closing position relative to the week's range. The indicator categorizes the closing price into three zones: above 66%, between 33% and 66%, and below 33%. This distinction aids traders in assessing the strength and directionality of the market at the end of the week. The displayed label offers a concise summary of the Friday's closing behavior, aiding in quick trend analysis.
**Weekly Trend Verification:**
The second part of the indicator focuses on verifying the weekly trend. By identifying the highest highs and lowest lows of the past two weeks, the script determines whether the current price action exhibits a bullish or bearish trend. The visualization on the chart helps traders assess the broader trend direction and make informed decisions based on the prevailing market sentiment. The label dynamically updates to indicate whether the overall trend is bullish, bearish, or neutral.
**Key Features:**
- Differentiates between Friday closing price zones for trend assessment.
- Weekly trend verification based on highest highs and lowest lows.
- Visual representation of trend conditions on the chart.
- Dynamic labels for quick interpretation of trend strength and direction.
- Exclusively designed for daily and weekly timeframes.
The " - Catching trend for the Pips" indicator provides a comprehensive tool for traders seeking to capture and analyze trend movements efficiently, allowing for informed decision-making in the dynamic Forex market.
Multi-TrendMulti-Trend is an indicator that simplifies the task of tracking market trends across up to 10 custom timeframes. With the flexibility to select your preferred timeframes, with current or any specific data in past, this indicator offers a clear visual representation of the market's direction.
For each chosen timeframe and history, Multi-Trend provides a straightforward arrow-based signal system: an upward arrow signifies a rising market, a downward arrow indicates a falling market, and a right arrow denotes a market at equilibrium. These default symbols can be effortlessly personalized to your choice of symbols or text, allowing you to tailor the indicator to your specific needs.
The trend direction is calculated using a reliable methodology based on the percentage change in the close price for the selected timeframe.
YOY Change (Log Scale)ear-Over-Year Change Indicator (Log Scale) calculates the percentage change of a security's price over the past year, on a logarithmic scale. It is a momentum indicator that can be used to identify trends and potential reversals.
A positive value on the indicator indicates that the security's price has increased over the past year, while a negative value indicates that the price has decreased. A larger positive or negative value indicates a stronger trend.
The indicator can be used to identify overbought and oversold conditions. When the indicator is significantly above or below zero, it may be a sign that the security is overbought or oversold and a reversal may be imminent.
Week designationThe script is primarily used for visualizing the beginning and end of the week. It is particularly helpful when working with time intervals shorter than one day. In a very simple and clear manner, you can see when a specific week has started. This makes it easier to assess the market sentiment in a short timeframe.
Here are the operating principles of this script:
Initialization:
The script begins with initialization, where basic parameters and settings such as line colors and line style are defined.
Determining the Session Start:
The startSession(hour, minute) function is used to calculate the starting time of a session on the chart. Sessions can be divided into different time intervals, such as the daily session (D), weekly session (W), and monthly session (M).
Checking for Session Start:
The script checks if a new session is starting. If so, a vertical line is inserted on the chart to mark the beginning of that session.
isSessionStart checks for the start of the daily session.
isSessionStart_2 checks for the start of the weekly session.
isSessionStart_3 checks for the start of the monthly session.
Marking Mondays:
The script checks if the current day is Monday (the day of the week number 2 represents Monday).
If the current session is starting or it is Monday, a vertical line is inserted on the chart with the day designation (color color_day).
Marking Lines on the Chart:
The lines inserted on the chart are vertical and have a specified style and color, which can be customized in the settings.
Ultimate Seasonality Indicator [SS]Hello everyone,
This is my seasonality indicator. I have been working on it for like 2 months, so hope you like it!
What it does?
The Ultimate Seasonality indicator is designed to provide you, the trader, an in-depth look at seasonality. The indicator gives you the ability to do the following functions:
View the most bearish and bullish months over a user defined amount of years back.
View the average daily change for each respective months over a user defined amount of years back.
See the most closely correlated month to the current month to give potential insights of likely trend.
Plot out areas of High and Low Seasonality.
Create a manual seasonal forecast model by selecting the desired month you would like to model the current month data after.
Have the indicator develop an autoregressive seasonal model based on seasonally lagged variables, using principles of machine learning.
I will go over these functions 1 by 1, its a whopper of an indicator so I will try to be as clear and concise as possible.
Viewing Bullish vs Bearish Months, Average Daily Change & Correlation to Current Month
The indicator will break down the average change, as well as the number of bullish and bearish days by month. See the image below as an example:
In the table to the right, you will see a breakdown of each month over the past 3 years.
In the first column, you will see the average daily change. A negative value, means it was a particularly bearish month, a positive value means it was a particularly bullish month.
The next column over shows the correlation to the current dataset. How this works is the indicator takes the size of the monthly data for each month, and compares it to the last X number of days up until the last trading day. It will then perform a correlation assessment to see how closely similar the past X number of trading days are to the various monthly data.
The last 2 columns break down the number of Bullish and Bearish days, so you can see how many red vs green candles happened in each respective month over your set timeframe. In the example above, it is over the pats 3 years.
Plot areas of High and Low Seasonality
In the chart above, you will see red and green highlighted zones.
Red represents areas of HIGH Seasonality .
Green represents areas of LOW Seasonality .
For this function, seasonality is measured by the autocorrelation function at various lags (12 lags). When there is an average autocorrelation of greater than 0.85 across all seasonal lags, it is considered likely the result of high seasonality/trend.
If the lag is less than or equal to 0.05, it is indicative of very low seasonality, as there is no predominate trend that can be found by the autocorrelation functions over the seasonally lagged variables.
Create Manual Seasonal Forecasts
If you find a month that has a particularly high correlation to the current month, you can have the indicator create a seasonal model from this month, and fit it onto the current dataset (past X days of trading).
If we look at the example below:
We can see that the most similar month to the current data is September. So, we can ask the indicator to create a seasonal forecast model from only September data and fit it to our current month. This is the result:
You will see, using September data, our most likely close price for this month is 450 and our model is y= 1.4305x + -171.67.
We can accept the 450 value but we can use the equation to model the data ourselves manually.
For example, say we have a target price on the month of 455 based on our own analysis. We can calculate the likely close price, should this target be reached, by substituting this target for x. So y = 1.4305x + -171.67 becomes
y = 1.4305(455) +- 171.67
y = 479.20
So the likely close price would be 479.20. No likely, and thus its not likely we are to see 455.
HOWEVER, in this current example, the model is far too statistically insignificant to be used. We can see the correlation is only 0.21 and the R squared is 0.04. Not a model you would want to use!
You want to see a correlation of at least 0.5 or higher and an R2 of 0.5 or higher.
We can improve the accuracy by reducing the number of years we look back. This is what happens when we reduce the lookback years to 1:
You can see reducing to 1 year gives December as the most similar month. However, our R2 value is still far too low to really rely on this data whole-heartedly. But it is a good reference point.
Automatic Autoregressive Model
So this is my first attempt at using some machine learning principles to guide statistical analysis.
In the main chart above, you will see the indicator making an autoregressive model of seasonally lagged variables. It does this in steps. The steps include:
1) Differencing the data over 12, seasonally lagged variables.
2) Determining stationarity using DF test.
3) Determining the highest, autocorrelated lags that fall within a significant stationary result.
4) Creating a quadratic model of the two identified lags that best represents a stationary model with a high autocorrelation.
What are seasonally lagged variables?
Seasonally lagged variables are variables that represent trading months. So a lag of 25 would be 1 month, 50, 2 months, 75, 3 months, etc.
When it displays this model, it will show us what the results of the t-statistic are for the DF test, whether the data is stationary, and the result of the autocorrelation assessment.
It will then display the model detail in the tip table, which includes the equation, the current lags being used, the R2 and the correlation value.
Concluding Remarks
That's the indicator in a nutshell!
Hope you like it!
One final thing, you MUST have your chart set to daily, otherwise you will get a runtime error. This can ONLY be used on the daily timeframe!
Feel free to leave your questions, comments and suggestions below.
Note:
My "ultimate" indicators are made to give the functionality of multiple indicators in one. If you like this one, you may like some of my others:
Ultimate P&L Indicator
Ultimate Customizable EMA/SMA
Thanks for checking out the indicator!
The Ultimate Buy and Sell IndicatorThis indicator should be used in conjunction with a solid risk management strategy that does not over-leverage positions and uses stop-losses. You can not rely 100% on the signals provided by this indicator (or any other for that matter).
With that said, this indicator can provide some excellent signals.
It has been designed with a large number of customization options intended for advanced traders, but you do not HAVE to be an advanced user to simply use the indicator. I have tried to make it easy to understand, and this section will provide you with a better understanding of how to use it.
NOTE:
While NOT REQUIRED, I would recommend also finding my indicator called, "Ultimate RSI", which is designed to work together with this indicator (visually). They both contain the same settings and allow you to visualize changes made in this indicator that can not be displayed on the main chart.
This indicator creates it's own candles(bars), so you have to go into your main settings and turn off the "body, border and wick" color settings. Using a dark background is also recommended.
How does it work?
The indicator mainly relies on the RSI indicator with Bollinger Bands for signals. (Though not entirely)
First, there are something that I call "Watch Signals", which are various Bollinger Band crossing events. This could be the price crossing Bollinger Bands or the RSI crossing Bollinger Bands.
There are separate watch signals for buys and sells. Buy watch signals are colored orange to match the BUY signal candle color and Fuchsia (kind of a bright purple) to match SELL signal candles.
In order for most buy or sell signals to be created, there must first be a watch signal. There is a lookback period (or length) for watch signals to be used, and after that many candles (bars) have passed, they will be ignored. You can set a length to look back as well as a time to wait before creating any.
What this means is that if there has previously been (for instance) a sell signal. You can tell it to wait 10 bars before creating any buy watch signals. You can then also tell it that it should look back 10 bars from the current one in order to find any buy watch signals. This means that if you had it set up that way 10 to wait and 10 to validate, it would start allowing buy watch signals 11 bars after a sell, and then once you hit 20 bars, it will start leaving a gap (invisible to you) as the 10 bar lookback period starts moving forward with each new bar. This is useful in order to keep signals more spaced apart as some bad signals come quickly after another one.
Example: You may get a sell signal where the Bollinger bands are tight, then the price easily drops down into the lower band creating a buy watch signal, then you get a "fake" or short pump up and it says buy, but then drops dramatically afterwards. The wait period can ensure that the sell stays in effect longer before a buy is considered by blocking any buy watch signals for a period of time.
After you get a watch signal, the system then looks for various other things to happen to create buy or sell signals. This could be the RSI crossing the (slow) RSI Basis line (from its Bollinger bands), it could be the price crossing its basis line, it could be MACD crosses, it could even be RSI crossing certain levels. All of these are options. If you like the MACD strategy and want it to give you buy and sell signals from just MACD crosses, simply select that option for signals.
It is also able to use the first of any of the options that takes place.
I included an option to force alternating buy and sell signals, rather than showing groups of, or subsequent buy, buy, buy signals, for instance.
Moving on....
You can change the moving average that is used to calculate the RSI. The standard moving average for RSI is the RMA (aka SWMA). Changes to this can dramatically change your signals. You also have the option to change the moving average type used in the Bollinger bands calculation. You can change the length of these as well. The same goes for the Bollinger bands over the Price chart. I added an ATR option for the RSI Bollinger bands to play with, as well. You are able to adjust the standard deviation (multiplier) of the bands as well, which will of course affect the signals.
The ways you can play with signals are nearly infinite, so have fun figuring it out.
The indicator allows for moving averages to be shown as well, with a variety of types to choose from. The standard numbers are 5, 10, 20, 50, 100 and 200, with the addition of a custom moving average of your choice. You can also change the color of this one. You can choose to show them all or any of them you want to show, in any combination, although the TYPE of moving average (SMA, EMA, WMA, etc.) will apply to all of them.
You may also notice the Bollinger Bands over the Price are colored, and become more or less transparent.
The color is derived from the trend of the RSI or the RSI basis (your choice). It looks back at the value however many bars you want and compares the values and that's how it determines if it is trending up or down. Since RSI is a directional momentum indicator, this can be quite useful. If you see the bands are getting darker, this will explain why.
The indicator has a lookback period for determining the widest the bands (which measure volatility) have been over that period of time. This is the baseline. It then will make the bands disappear (by making them more transparent) if the volatility is low. This indicates that a change in volatility is coming and that price isn't really changing much compared to the past (default 500) bars. If they become bright, this is because price has started trending in a direction and volatility is increasing.
I should also note that the candles are colored based on RSI levels.
If you use the Ultimate Companion indicator, you will be able to see the RSI levels (zones) that the colors are based on. As RSI moves into a new range, the candle color will change.
I have created a yellow zone where the candles turn yellow. This is when RSI is between (default) 45 and 55, indicating there is basically no momentum and price is going sideways. This is a good place to get trapped in bad trades, and there is a Yellow RSI Filter to block signals in this area to keep you from entering bad trades.
Green candles indicate values over 55 (getting brighter as RSI rises) and red candles are RSI values under 45 (getting brighter as RSI values get lower). If you see white, this means RSI is either over 80 or under 20. A sharp reversal is almost always imminent at this stage.
When we talk about Buy and Sell Signals, they draw a green or red triangle and it literally says BUY or SELL. There is an option to color the background for added visibility. These signals do not "repaint", what this means is that they can be late. To account for this, I have included a background color that will flash as a warning that a buy or sell could be imminent, although it may fail to break through and set a buy or sell signal. This is simply an advanced warning. The reason is that sometimes a candle may be very large and you won't be told to buy or sell during the candle until the move is completely over and now you're getting in on the next one. That's not a great feeling, so I made it repaint the background color and not repaint the completed signal. You get the best of both worlds.
This indicator also uses complex logic to handle things.
When there is a buy signal, it enters into a state of having been bought, or a "bought state". The same for sells. If Force alternating signals is off, you could have more than one buy in a bought state, or more than one sell in a sell state. There is an option to color the background green during the full duration of a bought state, or red during the full duration of a sold state.
I have added divergence.
This shows that the lows or highs of RSI and PRICE are different. If RSI is making higher highs but the price is not, then the price is likely to follow this bullish divergence, if the opposite happens, it's bearish. It will draw a line on the chart connecting the highs and lows and call it bearish or bullish. You can adjust this as well.
I have an RSI High/Low filter. If the RSI basis (or average) is very high or low, you can block signal from this area since the price is likely to continue in that direction before actually reversing.
You can change the settings of the MACD if you choose to use it for signals, and if you want to see it, you'll have to run that indicator below the chart and match the settings to see what is going on, just like the RSI.
Going back to Watch Signals. You can also choose to require more than one watch signal if you choose. You can skip watch signals, so it will ignore the first or second one, whatever you want to do. You can color the background to show you where watch signals have been skipped.
Regarding the wait period for creating watch signals after a sell or after a buy, you can also color the background to see where these were blocked by the wait period.
Lastly you can choose which type of watch signals to use, or keep them from being shown on the chart. This allows you to study the history of how the asset you are trading behaves and customize the behavior of signals based on your study of it.
Everything in the settings area has tooltips, which will explain what that thing does to help you along this journey.
I hope this indicator (and perhaps Ultimate RSI alongside this) will help you take your trading to the next level.
Normalized Price VolumeThe Normalized Price Volume (NPV) indicator is a unique tool designed to offer insights into the relationship between price movements and trading volume. By normalizing these factors, NPV helps traders identify potential price trends and reversals with greater precision.
Key Features:
Normalization: NPV leverages the Average True Range (ATR) to normalize price changes, making them comparable across different assets and timeframes.
Price and Volume Ratios: The indicator calculates the ratio of normalized price changes and volume to provide valuable information about the dynamics between price and trading activity.
Sum of Changes: NPV also presents the sum of normalized price changes over a user-defined period, allowing you to gauge the overall trend strength.
Customizable Averages: Adjust the length of the moving averages used in the price and volume ratios to fine-tune the sensitivity of the indicator to your trading strategy.
NPV is a versatile tool that can be used for various trading and investment approaches. Whether you're a day trader, swing trader, or investor, NPV can help you make more informed decisions by shedding light on the interactions between price and volume in the market.
Disclaimer: This indicator is for educational and informational purposes only. It should be used in conjunction with other analysis techniques and not solely for making trading decisions.
Normalized Detrended Price OscillatorThe Normalized Detrended Price Oscillator (NDPO) is a powerful tool for traders and analysts to understand price trends with greater clarity. This indicator is derived from the Detrended Price Oscillator (DPO) and offers a normalized perspective to help you assess price movements more effectively.
Key Features:
Length Control: Adjust the indicator's sensitivity to price fluctuations with the customizable length parameter.
Centered or Not: Choose between centered or non-centered calculations for the DPO, allowing you to align the indicator with your specific trading strategy.
Normalized Values: The NDPO normalizes the DPO values by dividing them by the Average True Range (ATR), providing a standardized view of price movements.
The NDPO helps traders identify potential reversals, divergences, and overbought/oversold conditions in the market. It's a valuable addition to your technical analysis toolkit, offering insights into price action that can lead to more informed trading decisions.
Disclaimer: This indicator is for educational and informational purposes only. It should be used in conjunction with other analysis techniques and not solely for making trading decisions.
Bitcoin Halving Cycle ProfitThe Bitcoin Halving Cycle Profit indicator, developed by Kevin Svenson , unveils a consistent and predetermined profit-taking cycle triggered by each Bitcoin halving event. This indicator streamlines the analysis of halving occurrences, providing explicit signals for both profit-taking and Dollar-Cost Averaging strategies.
Following each Bitcoin halving event, a fixed number of weeks consistently mark the period of maximum profitability for profit-taking:
🔄 Halving Cycle Profit Timeline Explained:
• 40 Weeks (Post-Halving) = Start of the optimal profit-taking zone.
• 80 Weeks (Post-Halving) = "Last Call" for profit-taking before the onset of a bear market.
• 125 Weeks (Post-Halving) = The optimal timeframe to begin Dollar-Cost Averaging.
(Bitcoin Weekly Chart using Halving Cycle Profit)
One standout feature of this indicator is its inherent clarity and comprehensive labeling. This quality makes it exceptionally easy to discern the locations of key factors and turning points, enhancing your understanding of the market dynamics it highlights.
(Bitcoin Daily Chart using Halving Cycle Profit)
🚀 This indicator doesn't limit its effectiveness to just Bitcoin; it seamlessly integrates with top blue-chip altcoins like Ethereum and most household names in the crypto industry.
( Ethereum Weekly Chart using Halving Cycle Profit)
🛠️ Customizable display options are availible. Users have the flexibility to toggle/adjust labels, lines, and color fills according to their preferences.
📑 In summary, the Bitcoin Halving Cycle Profit indicator is a versatile and user-friendly tool, offering clarity and customization for traders navigating both Bitcoin and top altcoins.
⚠️ It's important to note that while the Bitcoin Halving Cycle Profit indicator provides historical insights, past performance does not guarantee future results. Timing profitability in the cryptocurrency market involves inherent risks, and this indicator should not be construed as financial advice. Users are encouraged to exercise caution, conduct thorough research, and make informed decisions based on their individual risk tolerance and financial goals.
New York Sessions Morning, Lunch and afternoon. AMKDescription
The script is designed to highlight the New York Stock Exchange's trading day, broken down into three specific sub-sessions: morning, lunchtime, and afternoon. Each sub-session is color-coded to provide an immediate visual cue about which portion of the trading day is currently active. Additionally, this script allows the user to adjust the time zone offset, making it adaptable for traders in different time zones around the world.
Originality
While there are scripts that highlight the entire trading day or specific market hours, this script adds granularity by breaking down the New York trading session into its typical behavioral parts: the morning rush, the lunchtime lull, and the afternoon action. The addition of an adjustable time zone offset is a unique feature that makes the tool more versatile and accommodating to a global user base.
Usefulness
The ability to visualize these different trading sessions can be valuable for various types of traders:
Day Traders: The script helps to immediately identify which session they are in, aiding in their trading strategy as market behavior can vary between these periods.
Swing Traders: They may use these sub-sessions to time their entries or exits, especially if they're based in different time zones.
Market Analysts: The color-coded sessions provide a quick way to analyze the historical performance and volatility of an asset during different trading periods.
Global Traders: The time zone adjustment feature makes it easy for traders outside of the Eastern Time Zone to customize the script according to their local time, increasing its utility across different markets.
Educational Purpose: For new traders, this could serve as an educational tool to understand the typical behavior of the stock market at different times of the day.
So, whether you're timing an intraday entry or looking for patterns tied to specific market sessions, this script offers a straightforward, visual way to keep track of where you are in the trading day.