Historic Volume/Market ProfilesHistoric Volume/Market Profile is a Periodic Volume Profile with all of the improvements known in the original Volume/Market Profile.
VMP is a 2 in 1 Volume and Market Profile Indicator.
HVMP uses the base of VMP to offer a quick and simple view at multiple historic profiles at the same time.
This includes:
Cluster Identification for High Volume and Low Volume Areas.
Maximizing granularity by utilizing boxes and lines to get up to 1000 rows.
New Inclusions in HVMP vs VMP:
HVMP granularity is determined by the # of profiles on display. By doing this, each profile will get an even amount of allocated rows to use and granularity is scaled per-profile, to fit within the row allowance.
For Example: 1000/(# of profiles) = Maximum # of rows per profile.
HVMP introduces the "Auto-Scale" Option (on by Default), this automatically fits each profile within the defined timeframe period to provide a consistent display when switching timeframes.
Even with "Auto-Scale" enabled, "Display Size" dictates which direction the profile is displayed.
Below is a Negative Display Size (Displays from right to left, starting at the end of the period)
Below is a Positive Display Size (Displays from left to right, starting at the beginning of the period)
HVMP is only for historical data, you can get a live profile with the same Node Identification using VMP (Volume Market/Profile). The indicator that this one is based on.
Find it Here: Volume/Market Profile
Enjoy!
Educational
HTF Liquidity Dashboard [TFO]The purpose of this indicator is to server as a multi-symbol scanner that indicates when user-defined symbols have exceeded their previous Day/Week/Month highs and lows.
By default, the dashboard will use a compact view where the green ✔ means that price has swept and is currently exceeding the level of interest, the red ❌ implies that price swept the level but reversed back into the original range, and - indicates that the level hasn't been reached. However, the dashboard text can be toggled to show the numerical values of the highs and lows instead of these compact strings, as shown in the following image.
These levels may be shown and customized on the current chart as well via the Show Levels option. By default, levels from the selected timeframes will initially be plotted as black, and will change to red once traded through. Users can optionally increase the Session Limit parameter to show more than one previous high/low on their chart, for each selected timeframe.
Optionally, we can also plot labels to show when any of the user-defined symbols have exceeded their respective highs and lows, for any of the selected timeframes. Alerts can be created for these events as well; simply select the desired symbols and timeframes, create a new alert using this indicator, and you should be alerted when highs and lows are traded through. Note: if you encounter any issues with duplicate alerts, try deleting the alert, navigating to a lower timeframe such as the 1m, and making a new alert.
Trend FollowingMoving Average Period:** This is the period of the moving average that will be used to identify the trend. A good starting point is 10 days.
* **Candlestick Patterns:** The candlestick patterns that will be used to identify potential reversals in the trend. Some of the most common candlestick patterns include the bullish engulfing pattern, the bearish engulfing pattern, the hammer pattern, and the inverted hammer pattern.
* **Support and Resistance Levels:** The support and resistance levels that will be used to manage risk. These levels can be identified using a variety of technical indicators, such as the moving average, the Bollinger bands, and the Fibonacci retracement levels.
Here is how the strategy will work:
1. The moving average will be used to identify the trend. When the price is above the moving average, it is considered to be in an uptrend. When the price is below the moving average, it is considered to be in a downtrend.
2. Candlestick patterns will be used to identify potential reversals in the trend. If a bullish candlestick pattern appears in an uptrend, it could be a sign that the trend is about to continue. If a bearish candlestick pattern appears in a downtrend, it could be a sign that the trend is about to reverse.
MACD Higher TimeFrameThis Pine script is an indicator called "MACD Higher TimeFrame" that calculates and displays the Moving Average Convergence Divergence (MACD) on a higher timeframe. It is designed to be used on a lower timeframe chart but show the MACD values from a specified higher timeframe.
The indicator takes several inputs, including the fast length, slow length, source data, signal smoothing length, and the types of moving averages to be used for the MACD and signal lines. The default values are set to 12, 26, the closing price, 9, and exponential moving averages (EMA) for both lines, respectively. These inputs can be modified by the user.
The script calculates the MACD and signal lines based on the specified inputs and the source data. It uses the `init_ma` function to initialize the moving average calculation based on the selected moving average type (EMA or SMA) and length.
To display the MACD and signal lines from the higher timeframe, the script utilizes the `request.security` function, fetching the values of MACD and signal lines one bar ago on the higher timeframe. It handles any gaps in data and lookahead considerations.
The script also includes a function called `int_htf_fillna`, which handles the filling of `na` (not available) values for the higher timeframe indicators. It ensures that the indicator values are carried forward if they are not available for a particular bar.
To enhance the visualization, the script includes customizable colors for the MACD line, signal line, and histogram bars. The histogram bars are styled using the `plot.style_columns` option, and their color is determined by the `color_handle_ducplicate_value` function. This function checks for duplicate values and assigns colors based on whether the indicator is rising or falling, and whether it is above or below zero.
The script also includes a zero line (color #787B86) to provide a visual reference for the zero level.
Overall, this Pine script allows users to view the MACD indicator from a higher timeframe on a lower timeframe chart, providing insights into the broader market trend.
Bull / Bear Market RegimeBull / Bear Market Regime
Instructions:
- A simple risk on or risk off indicator based on CBOE's Implied Correlation and VIX to highlight and indicate Bull / Bear Markets. To be used with the S&P500 index as that's the source from where the CBOE calculates and measures implied volatility & implied correlation. Can also be used with the other indices such as: Dow Jones, S&P 500, Nasdaq, & Nasdaq100, & Index ETF's such as DIA, SPY, QQQ, etc.
- Know the active regime, see the larger picture using the Daily or Weekly view, and visualize the current "Risk On (Bull) or Risk Off (Bear)" environment.
Description:
- Risk On and Risk Off simplified & visualized. Know if we are in a RISK ON or RISK OFF environment (Bull or Bear Market). (Absolute bottoms and tops will occur BEFORE a Risk On (Bull Market) or Risk Off (Bear Market) environment is confirmed!) This indicator is not meant to bottom tick or uptick market price action, but to show the active regime.
- Green: Bull Market, Risk On, low volatility, and low risk.
- Red: Bear Market, Risk Off, high volatility, and higher risk.
Buy & Sell Indicators (DAILY time frame)
- Nothing is 100% guaranteed! Can be used for short to medium term trades at the users discretion in BEAR MARKETS!!
- These signals are meant to be used during a RISK OFF / BEAR MARKET environment that tends to be accompanied with high volatility. A Risk on / Bull Market environment tends to have low volatility and endless rallies, so the signals will differ and in most instances not apply for Bull market / Risk on regime.
- The SELL signal will more often than not signal that a pullback is near in a BULL market and that a BMR-Bear Market Rally is almost over in a BEAR market.
- The BUY signal will have far more accuracy in a BEAR market-high volatility environment and can Identify short-term and major bottoms.
Always use proper sizing and risk management!
Candle Range WidgetIt shows the range of the Last and Previous Candle.
It helps to measure your stop loss based on previous candle.
GLOBAL LIQUIDITY (Simple Proxy)I know there are many global liquidity indicators out there similar to this one.
This one just adds a little bit of more options for visualize different central banks and either stack data, see year over year changes, or visualize separate unstacked data.
Earnings Yield & Dividend Yield (vs SP500, treasury, IG)# What's this script?
I created this because I wanted to compare the Earnings/Dividend yield of SP500 and the symbol with the time period of the chart.
Plot the following yields.
Earnings Yield of S&P500.
Calculated using S&P 500 Earnings by Month provided by Nasdaq date link.
(data.nasdaq.com)
Dividend Yield of S&P500.
Calculated using S&P 500 Dividend by Month provided by Nasdaq date link.
(data.nasdaq.com)
Earnings Yield of the displayed symbol.
Dividend Yield of the displayed symbol.
Treasury constant maturity rate. default is 10Y(FRED:DGS10).
Investment grade corporate bond yields by Moody's.
Grades from Aaa to Baa are represented by color bands.
Investment grade bond yields by BofA.
Grades from AAA to BBB are represented by color bands.
-----------
◇これなに?
request.quandl()を用いてSP500の益回りと配当利回りが得られますが
月間データなのでチャートの時間間隔でみたかったのと、
SP500とシンボルの益回りや配当利回りを比較したかったのでつくりました。
下記を表示します
- SP500の益回りと配当利回り
- 表示シンボルの益回りや配当利回り
- 設定画面で指定した財務省債券(デフォルトは10年)
- 投資適格社債(MoodysとBofAでかなり違ったので両方)をカラーバンドで表示
かんたんなものですけど、おやくにたてればさいわいです
Cloud Levels [Import Price Levels]This script allows you to import TA and price levels from an external source. For example, you may do some TA on a different software but want to import it to TradingView. Or you may have a script or bot that calculates levels for you end-of-day. Or you may be part of a community that provides TA and levels. There are many different reasons why you may want to import levels from an external source.
All you need is a source for the data. The data format shouldn't really matter since it can usually be converted fairly easily to a custom format. Information about the necessary format can be found below.
The script currently supports:
Labelled lines with customs style and colors
Boxes / zones with custom fill color and borders
Fibonacci ratios
In the plans:
Channel support
Trend lines
The input format looks like this:
FIGURE 1 - Lines with labels
Columns: ,,,,;
Example: 1677724019999,3976.50,Label text,255/255/0/125,sol
FIGURE 2 - Boxes
Columns: ,,,,,,,;
Example: 1686715971428,4430.18,1686773561538,4409.52,68/98/194/15,1,1,153/204/255/204
FIGURE 3 - Fibonacci ratios
Columns: ,,,,,,,,
Example: 1656649151300,4588.75,1656649151300,3639,dot,1,3,0.236|0.382|0.5|0.618|0.706|0.786|0.886,170/200/255/76|170/200/255/76|170/200/255/76|0/255/0/76|255/153/0/76|255/153/0/76|255/153/0/76
*ratios and ratio colors are separated by '|'
*RGBA colors must look like this: 255/255/0/125, each value separated by '/'
*Line style s must be one of these values: dsh, sol or dot (dashed, solid or dotted)
Separate each item within the same figure with a semicolon (;), e.g for two labelled lines: 1677724019999,3976.50,Label text,255/255/0/125,sol;1677724019999,4026,Label text 2,255/255/0/125,sol
Only put a semicolon at the end if there is a new item after it.
Finally, put all figures together with '§' separator between each figure/category, in the correct order:
1 - Lines with labels
2 - Boxes
3 - Fibonacci ratios
The result looks like this for the examples above:
1677724019999,3976.50,Label text,255/255/0/125,sol§1686715971428,4430.18,1686773561538,4409.52,68/98/194/15,1,1,153/204/255/204§1656649151300,4588.75,1656649151300,3639,dot,1,3,0.236|0.382|0.5|0.618|0.706|0.786|0.886,170/200/255/76|170/200/255/76|170/200/255/76|0/255/0/76|255/153/0/76|255/153/0/76|255/153/0/76
An incorrect format will give you errors.
With basic programming skills you can create a simple tool to convert your data to this format, that's what I do. If needed, I may be able to provide a customized converting tool for this, PM if interested.
Global Yield SpreadThe Global Yield Spread is a simple indicator that can help to identify economic wellbeing and thus allows traders and investors alike to derive a rough estimation onto where the market is likely to go.
----------
Please note that things like Yield Spread generally influence the market only over longer time horizons of a couple weeks to many months.
Also be aware that the Yield Spread is only capable of measuring the Yields on Bonds and is thus limited to only changes that are reflected in the interest rates on the Bonds.
----------
The Normal Yield Spread is widely recognized for it's signal abilities for recessions or general economic well being...
However, since the rates have decreased drastically in the US something else has been proposed: The Global Yield Spread
As the normal US Yield Spread is loosing signal capacity because the US government can easily borrow money from overseas,
thus reducing the need to increase interest rates.
By monitoring and analyzing the Global Yield spread, traders and investors can gain insights into relative valuations, economic movements, market sentiment, and opportunities.
It can help inform their investment decisions and strategies, allowing them to allocate capital more effectively and potentially generate better returns.
You have options to visually represent a diversity of Countries and their according Yield Spreads.
Furthermore there are Global Yield Spreads for:
10Y-03MY
10Y-02Y
30Y-10Y
The Average Global Yield Spread encompasses the 3 options above to get an average reading.
Flag FinderFlag Finder Indicator is a technical analysis tool to identify bull and bear flags.
What are flags
Flags are continuation patterns that occur within the general trend of the security. A bull flag represents a temporary pause or consolidation before price resumes it's upward movement, while a bear flag occurs before price continues its downward movement.
Both flag patterns consist of two components:
The Pole
The Flag
The pole is the initial strong upward surge or decline that precedes the flag. The pole is usually a fast move accompanied by heavy volume signaling significant buying or selling pressure.
The flag is then formed as price consolidates after the initial surge or decline from the pole. For a bull flag price will drift slightly downward to sideways, a bear flag will drift upward to sideways. The best flags often see volume dry up during this phase of the pattern.
Indicator Settings
Both components are fully customizable in the indicator so the user can adjust for any time frame or volatility. Select the minimum and maximum accepted limits from the % gain loss required for the pole, the maximum acceptable flag depth or rally and the minimum and maximum number of bars for each component.
Colors and what components are visible at any time are also user controlled.
Trading flags
Traders typically use flags to enter on breakouts. A breakout occurs when price moves above the left side high of a bull flag or below the left side low of a bear flag.
Alerts
The Flag Finder allows for four different types of alerts
New Bull Flag
New Bear Flag
Bull Flag Breakout
Bear Flag Breakout
Pine Script
On top of the indicator identifying bull and bear flags, throughout the source code I left notes on nearly every line to help anyone who is interested in pine script see my thought process and explain which each line of code does. This code isn't too complex, but it offers a look into many different concepts one might use when writing pinescript such as:
input groups
declaring and reassigning variables
for loops
plotshapes & lines
alerts
How To Input And Offset CSV DataExample method of how to use an input text area to import, offset, and plot CSV data using an array. Note that when using this method there is a limit of 4096 total characters per input.
For working with data sets larger than 4096 total characters an alternative method of pasting CSV data directly within the script can be seen below :
NOTICE: This is an example script and not meant to be used as an actual strategy. By using this script or any portion thereof, you acknowledge that you have read and understood that this is for research purposes only and I am not responsible for any financial losses you may incur by using this script!
Order Block & Fractal Zones (OBFZ) Indicator.The "Order Block & Fractal Zones (OBFZ) Indicator." indicator is a technical analysis tool designed to identify and display key price levels on a chart. It utilizes the concept of Order Blocks and the Fractal Value Zone (FVG) to highlight potential support and resistance areas in the market.
The indicator marks bearish and bullish Order Blocks, which are significant price structures characterized by consecutive higher highs and higher lows for a bearish block, or consecutive lower lows and lower highs for a bullish block. These blocks suggest potential areas of market reversal.
Additionally, the indicator calculates and displays retracement and extension levels within each Order Block. These levels are derived from the previous highest and lowest values within a specified number of candles. The retracement levels include 38.2%, 50%, and 61.8%, while the extension levels include 138.2%, 150%, and 161.8%.
Furthermore, the Fractal Value Zone (FVG) is determined to identify the highest high and lowest low within the selected number of candles. The FVG helps identify areas of significant price action and potential breakout zones.
Overall, the "Order Block & Fractal Zones (OBFZ) Indicator." indicator assists traders in identifying potential support and resistance levels, as well as areas of market reversal or breakout. It can be used to make informed trading decisions based on key price levels within the observed price action.
ICT Silver Bullet [LuxAlgo]The ICT Silver Bullet indicator is inspired from the lectures of "The Inner Circle Trader" (ICT) and highlights the Silver Bullet (SB) window which is a specific 1-hour interval where a Fair Value Gap (FVG) pattern can be formed.
When a FVG is formed during the Silver Bullet window, Support & Resistance lines will be drawn at the end of the SB session.
There are 3 different Silver Bullet windows (New York local time):
The London Open Silver Bullet (3 AM — 4 AM ~ 03:00 — 04:00)
The AM Session Silver Bullet (10 AM — 11 AM ~ 10:00 — 11:00)
The PM Session Silver Bullet (2 PM — 3 PM ~ 14:00 — 15:00)
🔶 USAGE
The ICT Silver Bullet indicator aims to provide users a comprehensive display as similar as possible to how anyone would manually draw the concept on their charts.
It's important to use anything below the 15-minute timeframe to ensure proper setups can display. In this section, we are purely using the 3-minute timeframe.
In the image below, we can see a bullish setup whereas a FVG was successfully retested during the Silver Bullet session. This was then followed by a move upwards to liquidity as our target.
Alternatively, you can also see below a bearish setup utilizing the ICT Silver Bullet indicator outlined.
At this moment, the indicator has removed all other FVGs within the Silver Bullet session & has confirmed this FVG as the retested one.
There is also a support level marked below to be used as a liquidity target as per the ICT Silver Bullet concept suggests.
In the below chart we can see 4 separate consecutive examples of bullish & bearish setups on the 3-minute chart.
🔶 CONCEPTS
This technique can visualize potential support/resistance lines, which can be used as targets.
The script contains 2 main components:
• forming of a Fair Value Gap (FVG)
• drawing support/resistance (S/R) lines
🔹 Forming of FVG
1 basic principle: when a FVG at the end of the SB session is not retraced, it will be made invisible.
Dependable on the settings, different FVG's will be shown.
• 'All FVG': all FVG's are shown, regardless the trend
• 'Only FVG's in the same direction of trend': Only FVG's are shown that are similar to the trend at that moment (trend can be visualized by enabling ' Show ' -> ' Trend ')
-> only bearish FVG when the trend is bearish vs. bullish FVG when trend is bullish
• 'strict': Besides being similar to the trend, only FVG's are shown when the closing price at the end of the SB session is:
– below the top of the FVG box (bearish FVG)
– above bottom of the FVG box (bullish FVG)
• 'super-strict': Besides being similar to the trend, only FVG's are shown when the FVG box is NOT broken
in the opposite direction AND the closing price at the end of the SB session is:
– below bottom of the FVG box (bearish FVG)
– above the top of the FVG box (bullish FVG)
' Super-Strict ' mode resembles ICT lectures the most.
🔹 Drawing support/resistance lines
When the SB session has ended, the script draws potential support/resistance lines, again, dependable on the settings.
• Previous session (any): S/R lines are fetched between current and previous session.
For example, when current session is ' AM SB Session (10 AM — 11 AM) ', then previous session is
' London Open SB (3 AM — 4 AM) ', S/R lines between these 2 sessions alone will be included.
• Previous session (similar): S/R lines are fetched between current and previous - similar - session.
For example, when current session is ' London Open SB (3 AM — 4 AM)' , only S/R lines between
current session and previous ' London Open SB (3 AM — 4 AM) ' session are included.
When a new session starts, S/R lines will be removed, except when enabling ' Keep lines (only in strict mode) '
This is not possible in ' All FVG ' or ' Only FVG's in the same direction of trend ' mode, since the chart would be cluttered.
Note that in ' All FVG ' or ' Only FVG's in the same direction of trend ' mode, both, Support/Resistance lines will be shown,
while in Strict/Super-Strict mode:
• only Support lines will be shown if a bearish FVG appears
• only Resistance lines if a bullish FVG is shown
The lines will still be drawn the the end of the SB session, when a valid FVG appears,
but the S/R lines will remain visible and keep being updated until price reaches that line.
This publication contains a "Minimum Trade Framework (mTFW)", which represents the best-case expected price delivery, this is not your actual trade entry - exit range.
• 40 ticks for index futures or indices
• 15 pips for Forex pairs.
When on ' Strict/Super-Strict ' mode, only S/R lines will be shown which are:
• higher than the lowest FVG bottom + mTFW, in a bullish scenario
• lower than the highest FVG bottom - mTFW, in a bearish scenario
When on ' All FVG/Only FVG's in the same direction of trend ' mode, or on non-Forex/Futures/Indices symbols, S/R needs to be higher/lower than SB session high/low.
🔶 SETTINGS
(Check CONCEPTS for deeper insights and explanation)
🔹 Swing settings (left): Sets the length, which will set the lookback period/sensitivity of the Zigzag patterns (which directs the trend)
🔹 Silver Bullet Session; Show SB session: show lines and labels of SB session
Labels can be disabled separately in the ' Style ' section, color is set at the ' Inputs ' section.
🔹 FVG
– Mode
• All FVG
• Only FVG's in the same direction of trend
• Strict
• Super-Strict
– Colors
– Extend: extend till last bar of SB session
🔹 Targets – support/resistance lines
– Previous session (any): S/R lines fetched between current and previous SB session
– Previous session (similar): S/R lines fetched between current and previous similar SB session
– Colors
– Keep lines (only in strict mode)
🔹 Show
– MSS ~ Session: Show Market Structure Shift , only when this happens during a SB session
– Trend: Show trend (Zigzag, colored ~ trend)
CE - Market Performance TableThe 𝓜𝓪𝓻𝓴𝓮𝓽 𝓟𝓮𝓻𝓯𝓸𝓻𝓶𝓪𝓷𝓬𝓮 𝓣𝓪𝓫𝓵𝓮 is a sophisticated market tool designed to provide valuable insights into the current market trends and the approximate current position in the Macroeconomic Regime.
Furthermore the 𝓜𝓪𝓻𝓴𝓮𝓽 𝓟𝓮𝓻𝓯𝓸𝓻𝓶𝓪𝓷𝓬𝓮 𝓣𝓪𝓫𝓵𝓮 provides the Correlation Implied Trend for the Asset on the Chart. Lastly it provides information about current "RISK ON" or "RISK OFF" periods.
Methodology:
𝓜𝓪𝓻𝓴𝓮𝓽 𝓟𝓮𝓻𝓯𝓸𝓻𝓶𝓪𝓷𝓬𝓮 𝓣𝓪𝓫𝓵𝓮 tracks the 15 underlying Stock ETF's to identify their performance and puts the combined performances together to visualize 42MACRO's GRID Equity Model.
For this it uses the below ETF's:
Dividends (SPHD)
Low Beta (SPLV)
Quality (QUAL)
Defensives (DEF)
Growth (IWF)
High Beta (SPHB)
Cyclicals (IYT, IWN)
Value (IWD)
Small Caps (IWM)
Mid Caps (IWR)
Mega Cap Growth (MGK)
Size (OEF)
Momentum (MTUM)
Large Caps (IWB)
Overall Settings:
The main time values you want to change are:
Correlation Length
- Defines the time horizon for the Correlation Table
ROC Period
- Defines the time horizon for the Performance Table
Normalization lookback
- Defines the time horizon for the Trend calculation of the ETF's
- For longer term Trends over weeks or months a length of 50 is usually pretty accurate
Visuals:
There is a variety of options to change the visual settings of what is being plotted and the two table positions and additional considerations.
Everything that is relevant in the underlying logic that can help comprehension can be visualized with these options.
Market Correlation:
The Market Correlation Table takes the Correlation of the above ETF's to the Asset on the Chart, it furthermore uses the Normalized KAMA Oscillator by IkkeOmar to analyse the current trend of every single ETF.
It then Implies a Correlation based on the Trend and the Correlation to give a probabilistically adjusted expectation for the future Chart Asset Movement. This is strengthened by taking the average of all Implied Trends.
With this the Correlation Table provides valuable insights about probabilistically likely Movement of the Asset, for Traders and Investors alike, over the defined time duration.
Market Performance:
𝓜𝓪𝓻𝓴𝓮𝓽 𝓟𝓮𝓻𝓯𝓸𝓻𝓶𝓪𝓷𝓬𝓮 𝓣𝓪𝓫𝓵𝓮 is the actual valuable part of this Indicator.
It provides valuable information about the current market environment (whether it's risk on or risk off), the rough GRID models from 42MACRO and the actual market performance.
This allows you to obtain a deeper understanding of how the market works and makes it simple to identify the actual market direction.
Utility:
The 𝓜𝓪𝓻𝓴𝓮𝓽 𝓟𝓮𝓻𝓯𝓸𝓻𝓶𝓪𝓷𝓬𝓮 𝓣𝓪𝓫𝓵𝓮 is divided in 4 Sections which are the GRID regimes:
Economic Growth:
Goldilocks
Reflation
Economic Contraction:
Inflation
Deflation
Top 5 Equity Style Factors:
Are the values green for a specific Column? If so then the market reflects the corresponding GRID behavior.
Bottom 5 Equity Style Factors:
Are the values red for a specific Column? If so then the market reflects the corresponding GRID behavior.
So if we have Goldilocks as current regime we would see green values in the Top 5 Goldilocks Cells and red values in the Bottom 5 Goldilocks Cells.
You will find that Reflation will look similar, as it is also a sign of Economic Growth.
Same is the case for the two Contraction regimes.
Webby's RS LineThe Relative Strength (RS) line is something many investors are familiar with. It is used to measure a stocks performance versus the S&P 500 and is typically calculated by dividing the closing price of the stock by the closing price of the S&P. This means if a stock moves up and the S&P moves down or the stock moves up more than the S&P the RS line will increase, if the stock moves down while the S&P moves up the line will decrease.
While the standard RS line is a powerful tool, Mike Webster recently discussed how he has made changes to the standard RS line and also uses a 21 exponential moving average of the RS line to help guide his decision making. This script puts those new twists on the standard RS line, by first calculating the RS line using the low of both the security and the S&P rather than the closing prices. Next it measures the 21-day exponential moving average of the RS line and plots the distance between the two as a histogram.
A strong trending stock that is out performing the market will see an extended period of a positive blue histogram signifying the RS line is above the 21-ema.
While on the other hand a stock in a downtrend that is underperforming will see a negative red histogram a red histogram signifying the RS line is below the 21-ema.
On top of all of that, the indicator also keeps 3 & 13 exponential moving average of the distance between the RS line and the 21 ema to help identify shorter term relative strength and capture more immediate shifts in momentum. Both of those are plotted on the histogram as well and will change color as they rise and fall making it easy to spot the direction.
Indicator options include:
Choose symbol to measure performance against
Change histogram colors
Choose ema line width
* Note this indicator does not plot the actual RS line, it is the histogram representing the distance between the RS line calculated using the lows and the 21 ema, as well as the two ema's of the relationship.
Intraday trading period indicatorI have created this indicator because I was in a need of simple indication of personal session time for my backtesting while practicing intraday Futures trading.
How it works:
1. Define your timezone.
2. Set Trading session start/end time.
3. Choose the colour you want to see your intraday session in.
Actual result: Your selected session is displayed with selected colour and within selected time period. Your are good to go.
It is not perfect for sure but it does what it needs to do and I think it is awesome.
Hope it will be useful for you and let the Profit be with you!
High/Low of Day/WeekDisplays stats collected from the configured start date and shows them in a table. In the first version, this shows the following distributions:
High/Low of the week formed during days (top right table)
High/Low of the day formed during configured sessions (middle right table)
High/Low of the week formed during configured sessions (bottom right table)
For the default settings (which contains the ICT Asian range and Kill zones), it's best used in 1-hour chart. If you're modifying the sessions, then make sure you use it on a timeframe which can fit all the enabled sessions. For example, if one of your sessions is 2-hour, but you're switching to a 4-hour chart, then the stats will contain errors and isn't reliable.
Upgraded WatermarkThis mimics the built in watermark feature, but adds the ability to change location as well as see an equities sector and industry group.
Mark Minervini's Trend TemplateThe Mark Minervini Trend Template Indicator is a powerful tool designed to identify potential trends in the stock market.
Based on the renowned trading methodology developed by Mark Minervini, this indicator incorporates several key criteria to assist traders in making informed decisions.
The indicator checks the following criteria:
- Price above 50-day Moving Average (50MA):
The indicator confirms if the current price is trading above the 50-day moving average, indicating potential bullish momentum.
- Price above 150-day Moving Average (150MA):
The indicator verifies if the current price is above the 150-day moving average, suggesting a sustained upward trend.
Price above 200-day Moving Average (200MA): The indicator ensures that the current price remains higher than the 200-day moving average, indicating a strong bullish bias in the market.
- 50-day Moving Average (50MA) greater than 150-day Moving Average (150MA):
This criterion compares the 50-day moving average with the 150-day moving average and confirms if the shorter-term average is higher, signifying increasing short-term strength.
- 50-day Moving Average (50MA) greater than 200-day Moving Average (200MA):
This criterion compares the 50-day moving average with the 200-day moving average and validates if the shorter-term average is higher, indicating a potential bullish trend.
- 150-day Moving Average (150MA) greater than 200-day Moving Average (200MA):
This criterion compares the 150-day moving average with the 200-day moving average and confirms if the intermediate-term average is higher, suggesting a strengthening bullish trend.
- 200-day Moving Average (200MA) in Uptrend:
The indicator analyzes the slope of the 200-day moving average to determine if it is ascending, indicating a sustained bullish trend.
- Price within 25% of 52-week High:
The indicator assesses if the current price is trading within 25% of its 52-week high, potentially indicating a strong upward momentum and bullish sentiment.
- Price at least 25% above 52-week Low:
The indicator verifies if the current price is trading at least 25% above its 52-week low, suggesting resilience and potential bullish strength.
*Also, when you hover over the table cells, it shows the tooltip.
*By incorporating these criteria into your TradingView charts, the Mark Minervini Trend Template Indicator can help you identify potential bullish trends, enabling you to make more informed trading decisions.
*Please note that this indicator should be used to support your analysis and combined with additional technical and fundamental analysis for a comprehensive trading strategy.
***Disclaimer:
The Mark Minervini Trend Template is intended for informational and educational purposes only.
Trading involves risk, and you should consult with a financial advisor or conduct your research before engaging in any trading activities.
Add it to your favourites and start using it right away!
Lune Technical Analysis Premium⬛️ Overview
Lune Technical Analysis is a state-of-the-art TradingView indicator, meticulously designed to provide real-time market insights. Distinguished by its non-repainting features that operate in real-time, this tool brings enhanced accuracy and timeliness to your market analysis.
🟦 Features
Lune Technical Analysis equips traders with an array of innovative features:
🔹 Candle Coloring: The Candle Coloring feature introduces an innovative approach to visualizing market sentiment by coloring chart candles. It is devised to streamline your market analysis, offering a readily digestible snapshot of market trends. For example, if you aim to gauge the predominant market sentiment promptly, enable this feature for instant candle color-coding in accordance with prevailing bullish or bearish market structures. Though it currently supports only Market Structure-based Candle Coloring, its settings can be manipulated for enabling or disabling this feature. This feature operates by applying predefined algorithms that interpret market sentiment, coloring the candles accordingly.
🔹 Chart Pattern Detection: This sophisticated tool automatically detects and illustrates common chart patterns on your chart, simplifying the process of pattern identification. It identifies a range of patterns such as Head & Shoulders, Inverted Head & Shoulders, Ascending/Descending Wedges, Broadening Wedges, various Triangles, and Double Tops/Bottoms, enhancing your confluence detection in the market. For example, upon detecting a Double Top pattern, you could anticipate a potential price reversal due to this bearish signal. The sensitivity of this tool can be customized according to your trading style, with lower settings for short-term changes and higher for long-term. This feature leverages predefined formulas and price action analysis to identify these patterns.
🔹 Trendlines: With the Automatic Trendline Drawing tool, your technical analysis becomes significantly more efficient and precise. This feature is engineered to identify upward and downward Trendlines, aiding in locating potential pivots, and market support/resistance. For instance, if the price consistently rebounds off a Trendline, it may continue to do so, serving as a support/resistance level. However, a break through the Trendline could signal potential volatility and trend change. This feature's sensitivity to price changes can be adjusted to either short or long-term. It works by tracing Trendlines based on price action and wick formations to detect potential pivots.
🔹 Liquidity Bubbles: Liquidity Bubbles is an advanced tool that pinpoints key liquidity areas and large positions in real-time. This feature significantly contributes to effective trading strategy formulation by highlighting potential entry and exit points. It operates in real-time, ensuring zero repaint or lag, and supports two modes: Enhanced Bubbles and Basic Bubbles. For instance, the detection of multiple bullish Liquidity Bubbles during a ranging market could suggest an upward price movement due to dominant bullish volume. This feature's settings include thresholds for insignificant bubble filtering and a mode selection feature. Liquidity Bubbles operates by applying a proprietary formula to volume data, determining general volume direction and potential positions.
🔹 Market Structure: The Market Structure tool identifies key market structures such as Break of Structures (BoS) and Change of Character (ChoCh), thereby enhancing your ability to read market trends and sentiment. This smart money concept gives you a unique insight into short-term and long-term market trends. For instance, the appearance of a bullish Break of Structure and Change of Character after a predominantly bearish market sentiment could suggest a new bullish trend. This feature allows users to select which Market Structures to display and calculates these structures based on the market's high and low points.
🔹 Order Blocks: Order Blocks provide a visual representation of areas where large market participants are likely to place orders. These zones, where significant buying or selling activity has occurred in the past, offer insightful data for future price movements. The Order Blocks feature operates in real-time, providing real-time Order Blocks without any lag. For instance, if the price enters a large Order Block with predominantly bullish volume, an upward price movement can be anticipated. However, if the price breaks through the block, it could suggest the block's invalidation and a likely continued price fall. You can configure the settings to enable an additional Order Block, customize timeframes, overlap functions, and apply a quality filter. This feature calculates Order Blocks using the volume and candle size data.
🔹 Supply/Demand Zones: This real-time tool identifies crucial supply and demand zones, revealing potential price reaction points. These zones, where supply (selling pressure) and demand (buying pressure) have historically impacted price significantly, provide traders with insights into potential areas of strong support (demand) and resistance (supply). For example, if the price enters a large supply zone, a price rejection could be anticipated due to historical selling pressure at this zone. The settings enable users to add an additional Supply/Demand Zone, customize the timeframe, and apply a quality filter. This feature identifies common Supply/Demand Zones patterns based on volume and the size of the zone and displays them on the chart.
🔹 Fair Value Gaps: The Fair Value Gaps tool is designed to identify potential price correction zones or "gaps". These areas, where the market price sharply deviated from the fair value, suggest potential price adjustments in the future. For instance, the formation of a bullish Fair Value Gap could indicate a future price drop to fill this gap, potentially followed by an upward movement if the gap was of fair value. The settings allow users to enable additional Fair Value Gaps, customize the timeframe, and apply a quality filter. This feature measures large market gaps based on the size of the gap and its volume.
These features and tools collectively offer a comprehensive solution for traders to understand and navigate the financial markets. It's important to remember that they are designed to assist in making informed trading decisions and should be used as part of a balanced trading strategy.
🟧 Usage
Lune Technical Analysis's unique feature set can be leveraged both individually and synergistically. It is important to understand each feature and experiment with different configurations to best suit your unique trading needs.
🔸 Example #1: The following example demonstrates how the Order Block and Liquidity Bubbles feature can be used together to enhance your market analysis.
Order Blocks work in real-time to identify key order zones based on price action. These zones are often crucial for predicting price fluctuations. Meanwhile, Liquidity Bubbles act as real-time visual cues that detect significant market positions, facilitating an understanding of market accumulation, distribution, and trapped positions.
In this instance, at point 1, a bearish Basic and Enhanced Liquidity Bubble is visible within a crucial Order Block. The combination of these indicators augments the bearish sentiment, leading to a potential price decrease. Similarly, at point 2, the conjunction of two bullish Basic Liquidity Bubbles within an Order Block strengthens the bullish sentiment, culminating in a subsequent price increase.
🔸 Example #2: The following example demonstrates how Supply and Demand Zones can be used to detect strong and quality supports and resistance.
Supply and Demand Zones operate in real-time, detecting crucial zones based on price action and volume. This feature is invaluable for predicting potential price reaction points.
At point 1, the price enters a Supply Zone, a historical hotspot for selling activity, which usually leads to a price rejection and consequent decrease. At point 2, a Demand Zone indicating a bullish sentiment suggests a potential reversal when the price touches this level.
🔸 Example #3: The following example demonstrates how the Chart Pattern Detection feature is able to detect chart patterns to help enhance your trades.
Chart Pattern Detection employs formulas and price action analysis to identify common chart patterns as they form. Here, it successfully detects a 'Head and Shoulders' pattern, a conventionally bearish pattern, indicating a potential price drop.
🟥 Conclusion
Lune Technical Analysis stands as an exceptional blend of real-time insights into market activity. Its real-time, non-repainting features offer traders a more precise and timely approach to market analysis, promoting improved decision making in ever-changing market conditions.
🔻 Access
You can see the Author's instructions below to get instant access to this indicator & our Premium Suite.
🔻 Disclaimer
Lune Technical Analysis is a tool for aiding in market analysis and is not a guarantee of future market performance or individual trading success. We strongly recommend that users combine our tool with their trading strategies and do their due diligence before making any trading decisions.
Remember, past performance is not indicative of future results. Please trade responsibly.
Wyckoff Phases OscillatorThe "Wyckoff Phases Oscillator" is a script designed for the TradingView platform. It's an indicator that provides traders with an oscillator-based visual representation of the Wyckoff Market Cycle. The oscillator doesn't overlay the price chart but instead appears in a separate panel beneath it.
How it works:
The script operates based on two input parameters: length and timeFrame. The length parameter, set by default to 21, determines the period used for various calculations within the script. On the other hand, timeFrame, set by default to "1", specifies the timeframe for which the script will gather and analyze data.
The script requests security information such as closing prices (higherClose), volume (higherVolume), highest prices (higherHigh), and lowest prices (higherLow) from the ticker symbol (syminfo.tickerid) within the defined timeframe.
Two exponential moving averages (ema1 and ema2) are calculated based on the closing prices, with lengths of 5 and 9 respectively.
A Rate of Change (ROC) is calculated based on the closing prices and the defined length.
An average volume (avgVolume) is calculated using a simple moving average (SMA) based on the volume and the defined length.
The script defines conditions for institutional buying and selling.
Institutional buying is determined when the closing price is greater than the lowest price and the volume is greater than the average volume.
Institutional selling is determined when the closing price is less than the highest price and the volume is greater than the average volume.
The script also defines conditions for the four phases of the Wyckoff Market Cycle: Accumulation, Markup, Distribution, and Markdown. Each phase has specific conditions based on the closing prices, EMA values, ROC, and institutional buying or selling conditions.
The script then assigns oscillator values based on the Wyckoff phase:
Accumulation is assigned a value of 1
Markup is assigned a value of 2
Distribution is assigned a value of 3
Markdown is assigned a value of 4
These oscillator values are plotted as colored circles, with different colors representing different phases. The color values are specified in RGB format.
Finally, the script plots horizontal lines as references for each of the four phases using the hline function. These lines are labeled and color-coded to match the corresponding oscillator circles. The lines have a linewidth of 1 and are solid in style.
If the oscillator moves from level 1 (Accumulation) to level 2 (Markup), this could indicate a potential bullish trend, as the market moves from a phase of accumulation to a phase of increasing prices.
Conversely, if the oscillator moves from level 3 (Distribution) to level 4 (Markdown), this could signal a potential bearish trend, signaling that the market has moved from a phase of distribution to a phase of declining prices.
While the Wyckoff Phases Oscillator can provide valuable insights on its own, it can also be used in conjunction with other technical analysis tools and indicators. For example, you might use it alongside a volume indicator to confirm signals, or with support and resistance levels to identify potential entry and exit points.
ICT Sessions_One Setup for Life [MK]The script plots the High/Low of the following trading sessions:
London - 02:00-05:00
NY AM - 09:30-12:00
New York Lunch - 12:00-13:30
New York PM - 13:30-16:00
Due to the high level of liquidity (resting orders), highs and lows of these sessions may be used as buy/sell areas and also as profit target areas. Typically, buy orders would be initiated below a session low and sell orders would be initiated above a
session high.
The script also plots 'RTH (Regular Trading Hours) Opening Gaps'. The RTH gaps are drawn from the closing price of regular trading at 16:15 (EST) to the open price of regular trading at 09:30 (EST). Gaps can be areas that traders might anticipate to be filled at some time in the future. A gap 'midline' is available if needed and yesterday RTH close line can be shown and extended to the current bar.
This script is simply a means to draw boxes around certain areas/periods on the charts. It is in no way a trading strategy and users should spend much time to study the concept and should also perform extensive back-testing before taking any trades.
By setting the lookback value to a much higher value then the default of 6, users can utilise the script to perform their own backtesting studies.
The above chart shows the default setup of the indicator. Note that the user has to choose how far (in days) to lookback and draw the sessions/gaps.
It is also possible to show the session high//low lines and extend them to the current bar time. If this is used it is advised to keep the lookback period as low as possible to ensure charts stay clean/uncluttered.
All boxes/lines styles/colors are fully customisable.