SFC Macroeconomics 2Macroeconomics is the most important part of the financial markets. If the trader/investor could predict the economic cycles, the chance of making money is much greater.
This is the second macroeconomic indicator, which gives us a more detailed picture of yields and some leading indicators. Trying to predict a recession is the main goal.
The indicator is showing:
- Yield curve
- 2-10Y Yield spred
- All Yields spread
- Yield Comparison between two countries
- Recessionary leading indicators
How to use:
-Load the indicator and see observe the yield curves and how the market moves.
-Use leading indicators to predict recession
By combining the indicator with the first version, investors/traders could get a complete picture of the economy situation and what the current phase of the business cycle is.
Note:
Yellow colour - leading indicators
Orange colour - legging indicators
Before using this indicator, traders/investors need a basic understanding of macroeconomics. A good knowledge is required to take advantage of the indicator and create economic analysis.
Sentiment
Advanced Market Opening Gap DetectorThe Advanced Market Opening Gap Detector (AMOGD) is a Pine Script indicator designed to help you identify market gaps at the opening of a new trading day. Gaps are areas on a chart where the price of a security moves sharply up or down with little or no trading in between. They are significant as they may indicate a change in market sentiment. This indicator highlights the size and direction of the opening gap, allowing you to potentially adjust your strategies accordingly.
By setting a minimum gap size, you can filter out smaller, less significant gaps, focusing only on larger gaps which may have more substantial implications. You can define the minimum gap size in points or pips, providing flexibility based on your trading preferences and the asset being traded.
How-to Use:
Apply the AMOGD indicator to your TradingView chart.
Configure the minimum gap size and unit (points or pips) based on your preference using the settings panel.
At the opening of each new trading day, the indicator will check for a gap between the previous close and the opening price.
If a valid gap is detected (i.e., the gap size meets or exceeds the minimum gap size specified), the indicator will:
Draw lines to indicate the opening price and previous close.
Display a label indicating the size of the gap.
Highlight the gap on the chart for better visibility.
Importance:
Market gaps can be pivotal points indicating a possible new trend or a continuation of the current trend. Being able to identify and analyze these gaps is crucial for making informed trading decisions. The AMOGD indicator automates the process of identifying and visualizing opening market gaps, saving traders time and allowing for quick assessment of market conditions at the start of each trading day. By setting a minimum gap size, traders can also filter out less significant price movements, allowing them to focus on potentially trend-changing gaps. This tool can be a valuable addition to a trader's toolkit, aiding in the analysis and interpretation of market behavior at the open, which is often a very volatile and crucial period in the trading day.
DISCLAIMER! RISK WARNING!
PAST PERFORMANCE IS NOT NECESSARILY INDICATIVE OF FUTURE RESULTS. TRADERS SHOULD NOT BASE THEIR DECISION ON INVESTING IN ANY TRADING PROGRAM SOLELY ON THE PAST PERFORMANCE PRESENTED, ADDITIONALLY, IN MAKING AN INVESTMENT DECISION, TRADERS MUST ALSO RELY ON THEIR OWN EXAMINATION OF THE PERSON OR ENTITY MAKING THE TRADING DECISIONS.
PhantomFlow TrendDetectorThe TrendDetector calculates waves on the chart using the built-in ZigZag indicator and detects a trend change after the last high/low update occurs in a minimum sequence of non-updated highs/lows. This assumes a continuation of the trend for the subsequent update of the remaining high/low.
For trend determination:
When you see a pink or light yellow trend color, it means that a new trend may potentially be emerging right now, and you can join it almost at the beginning. So, if you see patterns from your trading system aligning with the TrendDetector indicator and they have the same direction, it further increases the likelihood of your plan working out.
In the case where the trend phase has a red or green color, it may indicate that the primary market impulse has already occurred, and therefore, joining the trend at this time may not be advisable.
For trade entry:
Additionally, you can use the indicator specifically for entering the market using market orders. Depending on the timeframe (the smaller the timeframe, the more confirmation candles are needed), you can open a trade when one trend replaces another at the close, for example, the second candle in the case of a 10-minute timeframe. Stop-loss can be placed under the signal candle, a local peak, or a reversal trend valley, a global peak, or a reversal trend valley. In the example above, the second option was used.
Settings
You cannot technically adjust anything in this indicator because all the logic is hardcoded. However, for a better chart visualization, after adding it to the chart, click on the three dots next to the indicator name, select "Visual order," and then "Bring to front".
VWAP Balance ZonesVWAP Balance Zones (VBZ) Is based on 3 concepts.
Many Traders use VWAP to help determine Price Trends.
Trends are typically identified by new Highs or new Lows.
Balanced is found when Supply and Demand are mostly Equal.
VBZ tracks the daily, weekly, and monthly highs and lows; Then plots the average (50%) between the VWAP and the respective extremes.
50% VWAP Zones can be considered significant since they attempt to identify the equilibrium between market participants within the current trend, serving as key reference points to consider for decision making. >While in an uptrend, Buyers may see price falling to the Hi 50% as an attractive value entry for the continuation upwards.
>While ALSO in an uptrend, Sellers may see price falling to the Hi 50% as a change in sentiment with more downwards movement on the way.
Because of these conflicting mindsets, these zones are thought to display areas of balance between buyers and sellers, which can serve as potential decision points throughout the day.
VBZ Draws Zones from the Daily (High/Low/Close) VWAPs and the Day's (High/Low/Close) extremes as seen below.
Technically speaking, an average between vwap and extreme is a single point, to make these into zones I am using multiple sources for vwap and tracking different points of the bar throughout the day (ex. Close VWAP & Daily Highest Close)
Weekly and Monthly are only displaying the Average Price between the VWAP and the (Weekly or Monthly) High/Low.
These hold up as important levels for speculation; however, since most action will be discovered at the daily zones, I am not displaying the zones for the Weekly and Monthly to keep noise to a minimum.
Unique Behaviors:
- Weekly values are hidden on the first day of the week since they are similar to the daily values on the first day of the week.
- Monthly values are hidden in the first week of the month for the same reason.
Stablecoin Supply Ratio Oscillator
The Stablecoin Supply Ratio Oscillator (SSRO) is a cryptocurrency indicator designed for mean reversion analysis and sentiment assessment. It calculates the ratio of CRYPTO:BTCUSD 's market capitalization to the sum of stablecoins' market capitalization and z-scores the result, offering insights into market sentiment and potential turning points.
Methodology:
The SSRO is calculated as follows-
method ssro(float src, array stblsrc, int len) =>
float ssr = src / stblsrc.sum() // Source of the underlying divided by the sum of stablecoin sources
(ssr - ta.sma(ssr, len)) / ta.stdev(ssr, len) // Z-Score Transformed
This ratio is Z-Scored to provide a standardized measure, allowing users to identify periods of market fear or greed based on the allocation of capital between the underlying and Stablecoins ( CRYPTOCAP:USDT , CRYPTOCAP:USDC , CRYPTO:TUSD , CRYPTOCAP:BUSD , CRYPTOCAP:DAI , CRYPTOCAP:USDD , CRYPTOCAP:FRAX ). The z-scored values indicate potential areas of discount (buying opportunities) or premium (selling opportunities) relative to historical patterns.
Customization:
Underlying Asset: SSRO is customizable to different underlying assets, offering a versatile tool for various cryptocurrencies.
Calculation Length: Users can adjust the length of the calculation, tailoring the indicator to short or long-term analysis.
Visualization: SSRO can be displayed as candles, providing a visual representation of premium and discount areas.
Interpretation:
Market Sentiment: Lower SSRO values may indicate market fear, suggesting a preference for stablecoins as a relatively safer haven for capital. Conversely, higher values may suggest market greed, as more capital is allocated to the underlying asset.
Utility and Use Cases:
1. Mean Reversion Analysis: SSRO identifies potential mean reversion opportunities, guiding traders on optimal entry and exit points.
2. Sentiment Analysis: The indicator provides insights into market sentiment, aiding traders in understanding market dynamics.
3. Macro Analysis: The majority of cryptos follow \ correlate to CRYPTO:BTCUSD , Therefore by assessing premium and discount areas of CRYPTO:BTCUSD relative to the chosen underlying asset, users gain insights into potential market tops and bottoms.
4. Divergence Analysis: SSRO divergence from price trends can signal potential reversals, providing traders with additional confirmation for their decisions.
The Stablecoin Supply Ratio Oscillator is a valuable tool for cryptocurrency traders, offering a nuanced perspective on market sentiment and mean reversion opportunities. Its customization options and visual representation make it a versatile and powerful addition to the crypto analyst's toolkit.
Opposite Side Liquidity Dominance NJROpposite Side Liquidity Dominance Indicator Explanation :
Imagine you're trading in the financial markets, and you want to understand who's in control - the buyers or the sellers. The "Opposite Side Liquidity Dominance" indicator is here to help you do just that in a simple and visual way.
1. **Lookback Period**: This indicator looks at historical data to make its assessments. You can choose how far back it should look by adjusting the "lookback period." For example, setting it to 50 means it'll consider the last 50 days.
2. **Opposite Side Volume**: It calculates the total trading volume on the side opposite to the current market price. This helps us understand how strong the trading activity is from traders who have a different view than the current market price.
3. **Dominance Calculation**: We determine the "Opposite Side Liquidity Dominance" by comparing the current trading volume to the historical average. If the current volume is larger than what's typical, it suggests dominance, and we color the background of the chart green. If it's smaller, we color it red to indicate a lack of dominance.
4. **Visual Representation**: In addition to the background color, we also provide a line on the chart. This line shows the Opposite Side Liquidity Dominance over time. When it goes up, it means that traders who disagree with the market are in control; when it goes down, it means the market price is dominating.
So, in a nutshell, this indicator helps you see at a glance whether the buyers or sellers who disagree with the current market price are taking control. When the background is green, it suggests they are, and when it's red, it suggests the market price is holding sway. The line on the chart provides a more detailed view of how this dominance changes over time.
You can easily customize this indicator to fit your specific trading needs by adjusting the lookback period and colors to match your preferences.
For better trading compare 30 minutes time frame in forex
Candle Sentiment Volume FlowCandle Sentiment Volume Flow (CSVF)
NOTE: The indicator showcased in the 1H chart is utilized on the ticker 'SPY'.
The Candle Sentiment Volume Flow (CSVF) is a custom trading indicator designed to analyze and visualize the momentum and volume flow of a financial instrument within a specified range of candles in a chart. It provides traders with a snapshot of the prevailing market sentiment by calculating the percentage of green (bullish) and red (bearish) candles and the volume associated with them over a defined range of periods (X Range).
Core Components:
1. Candle Counting:
- Green Count: Total number of green (bullish) candles in the defined range.
- Red Count: Total number of red (bearish) candles in the defined range.
2. Volume Calculation:
- Green Volume: Cumulative volume of green candles.
- Red Volume: Cumulative volume of red candles.
3. Percentage Calculation:
- Green Percentage: (Green Count / X Range) * 100
- Red Percentage: (Red Count / X Range) * 100
- Green Volume Percentage: (Green Volume / Total Volume) * 100
- Red Volume Percentage: (Red Volume / Total Volume) * 100
4. User-Defined Parameters:
- Candle Range (X Range): Number of candles to be considered for calculations.
- Green Threshold: User-defined percentage to identify significant bullish sentiment.
- Red Threshold: User-defined percentage to identify significant bearish sentiment.
Visual Component:
- Table Display:
A table is displayed on the top right of the chart, providing a quick overview of the calculated percentages and total volume.
The table is color-coded for easy interpretation and includes:
- Green and Red Candle Percentages
- Green and Red Volume Percentages
- Total Volume
Functional Workflow:
- The indicator loops through the past 'X' candles within the defined range, counting the number of green and red candles and accumulating their respective volumes.
- It calculates the percentage of green and red candles and the percentage of volume associated with them.
- The calculated values are displayed in a table on the chart, providing a clear and concise view of the candle sentiment and volume flow within the specified range.
Sideways Market Detector with High/Low NJRCalculate the range as the difference between the high and low prices.
The maxRange input to specify the maximum allowable range that defines a sideways market.
The background color is set to blue during sideways market conditions, and it's transparent to some extent (transp=90). When the market is not sideways, the background color is not changed.
The indicator marks the start and end of the session with red triangles.
When the price range (high - low) is within the specified threshold, the indicator will indicate a sideways market with a blue background.
US Market Strength IndexIntro:
It is quite a task to track multiple Indices and market internals to decide which way markets are going, especially when you are in a Trade. You may also get conflicting signals making it harder to confidently decide on your trade bias.
US Market Strength Index a.k.a. US MSI indicator aims to simplify decision-making by coloring the lower panel Green when a majority of market participants are bullish and Red when they are bearish. The code analyses the direction and strength of various US indices & market internal futures contracts to decide the color. The shade of color also changes from Dark to Bright when the momentum is relatively strong. A weighted score is assigned to individual contracts and the color (& shade) are selected based on average score in real-time, for changes in direction and momentum.
A Futures contract provides a proxy and generates price & volume data to analyze the direction and strength. Also, they are traded by sophisticated market participants for about 23 hours a day!
Trading with the general market sentiment in your favor can potentially improve a trade's edge. For example, if various market indices (DOW JONES, S&P 500, NASDAQ, etc.) are positive; bullish, or LONG trades might work out in individual stocks. This may occur due to the following reasons:
Seeing prices rise, Sellers may choose to Sell at Higher prices
Buyers might be attracted to buy into stocks, as the prices are trending higher
SHORT sellers might get cautious of rising prices and may not Open SHORT positions until the current bullish sentiment dies off
Existing SHORT sellers may close their positions due to margin squeeze, possibily fueling more buying
The same logic applies when the market indices are in the negative territory, SHORT trades may have a higher probability of working out.
Features:
The bright Green color in the lower panel indicates a strong bullish market strength
The dark Green color in the lower panel indicates bullish market strength, but a relatively weaker
The bright Red color in the lower panel indicates a strong bearish market strength
The dark Red color in the lower panel indicates bearish market strength, but a relatively weaker
Basic Set-Up:
Add the Indicator to the chart
You can change the default colors for Market Bearish, Market Bullish, Market Bearish weak, and Market Bullish weak
Important Notes:
You should analyze the stock’s technical data and use prudent risk management for every trade. Trade entries and exits should always be based on the symbol you are trading.
Use the US Market Strength Index as one of the factors to decide your trade bias and filter symbols that support your analysis.
Just because Indices and Market Internals point in a certain direction, it does not guaranteed that a stock could behave the same way.
Also, since this script uses futures contracts, you would need real-time futures data subscription for real-time analysis. At the minimum, you need CME/ CBOE exchange data.
This tool is suited for US Regular Trading Session, but since the US MSI is using futures contracts, the tool tracks pre- and post-market sentiment as well.
NSE METRICS Public [ILuvMarkets]This indicator supports the following NSE wide metrics derived from EOD BHAVCOPY.
UP/DOWN VOLUME
UP/DOWN TRADED VALUE
ADVN/DCLN
4% UP/DOWN
NEW HIGHS/LOWS 20D
NEW HIGHS/LOWS 50D
NEW HIGHS/LOWS 100D
NEW HIGHS/LOWS 200D
The metrics can be displayed as NET ( UP - DOWN), ACTUAL VALUE (UP vs. DOWN) or a PERCENTAGE ( UP / (UP + DOWN))
Please use Daily Timeframe for these metrics.
The metrics are updated by an EOD Batch process once NSE BHAVCOPY is available.
Bankruptcy Risk: Altman Z-Score, Zmijewski Score, Grover GThis custom indicator calculates three common bankruptcy risk scores:
Altman Z-Score
Zmijewski Score
Grover G-Score
Altman Z-Score
Companies are in healthy condition if the Z-Score > 2.6.
Companies are in vulnerable conditions and need improvement (grey area) if the score is between 1.1 - 2.6.
Companies have the potential to lead to serious bankruptcy if the Z-Score < 1.1.
Zmijewski Score
The company has the potential to go bankrupt if the value of X Score > 0.
The company is healthy if the value of X Score < 0.
Grover Model: G-Score
The company has the potential to go bankrupt if the G Score ≤ -0.02.
The company is in good health if the value of G Score ≥ 0.001.
The indicator pulls key financial metrics and calculates each score, then displays the results in a table with color-coding based on the level of bankruptcy risk.
Users can toggle between FQ and FY periods and view details on the underlying metrics. This provides an easy way to visualize bankruptcy risk for a company and compare across different scoring models.
Useful for fundamental analysis and assessing financial health.
The financial ratios and methodology are based on research described in
"Analysis of Bankruptcy Prediction Models in Determining Bankruptcy of Consumer Goods Companies in Indonesia" (Thomas et al., 2020).
Quantum Market Strength Indicator (MSI)The Market Strength Indicator (MSI) is yet another in our stable of volume-based indicators, and as such, is a must-have tool for trading virtually any type of market and across a myriad of applications from trend trading to swing trading, scalping, and much more. While its sister indicator, the Currency Strength Indicator (CSI), helps you analyze which currencies are oversold, overbought, correlating, and trending, the MSI or Market Strength Indicator does this also, but in this case, for all markets, including stocks, ETFs, futures, and cryptocurrencies, but with one key difference – VOLUME.
As with our core methodology of volume price analysis, volume adds an entirely new dimension to trading analysis as it reveals the driving pressure behind the price action, be it strong or weak, which are all factored into the algorithm that drives the Market Strength Indicator. But with the MSI indicator, its use and application is only limited by your imagination.
For example, we can use it to see which markets are correlating and which are not so that we might use it as an intraday tool for index futures. And, of course, with knowledge gained from the stock trading and investing program, we could then further validate any analysis by setting each against the top five market cap stocks, for confirmation of strength and to give us more confidence in trading an index future.
And not just index futures, but any futures you care to consider, such as energy, metals, softs, currencies or anything else.
For day traders of stocks, you might wish to see which are correlating with one another and which are not, for example, if you are pairs trading, and also whether a particular stock is moving with the primary futures index. If not, this may be a warning sign. And of course, for ETF traders, we have the SPY, a host of ETFs, and alongside them, the sectors, such as the XLK, the XLE, and more, giving you an instant and powerful insight into sentiment across the entire market complex.
The Market Strength Indicator has much to offer; whether you are a stock investor or day trading scalper, index or ETF trader, swing trader or trend trader, it is all here as the indicator signals in a clear and intuitive way when a stock, future or ETF is overbought or oversold in all timeframes, giving you that potent insight into potential reversals from strong to weak and back again. If you enjoy getting into a trend early and trading reversals, then this is the indicator for you, but if you prefer trading trends – no problem, just jump aboard once the move has some momentum and is underway as displayed by the steepness of the line on the indicator.
It’s all here and so much more, from market correlations to market strength and weakness and in all the timeframes from seconds to months.
And just like its sister indicator, the CSI, the MSI is an oscillator that moves seamlessly from overbought to oversold and back again between a value of 100 at the top and zero at the bottom, with each instrument or market represented with a single-colored line. To help further, we’ve included two regions on the indicator to represent these states at 70 and 30, respectively, but you can change these accordingly and perhaps extend them further to 80 and 20. These levels are purely intended as guides to help provide additional information as to the market state and a potential reversal in due course.
Now, in a single indicator, you have the opportunity to gauge sentiment across multiple markets, whether these are correlating or not, and from there develop a myriad of trading opportunities, or alternatively give you that all-important confidence to dive in, or maintain an existing position. Through its unique algorithm based on volume, it is another indicator only limited by your imagination, and like all our other indicators, one we urge you to use in multiple timeframes.
Market Internals (TICK, ADD, VOLD, TRIN, VIX)OVERVIEW
This script allows you to perform data transformations on Market Internals, across exchanges, and specify signal parameters, to more easily identify sentiment extremes.
Notable transformations include:
1. Cumulative session values
2. Directional bull-bear Ratios and Percent Differences
3. Data Normalization
4. Noise Reduction
This kind of data interaction is very useful for understanding the relationship between two mutually exclusive metrics, which is the essence of Market Internals: Up vs. Down. Even so, they are not possible with symbol expressions alone. And the kind of symbol expression needed to produce baseline data that can be reliably transformed is opaque to most traders, made worse by the fact that prerequisite symbol expressions themselves are not uniform across symbols. It's very nuanced, and if this last bit was confusing … exactly.
All this to say, rather than forcing that burden onto you, I've baked the baseline symbol expressions into the indicator so: 1) the transform functions consistently ingest the baseline data in the correct format and 2) you don't have to spend time trying to figure it all out. Trading is hard. There's no need to make it harder.
INPUTS
Indicator
Allows you to specify the base Market Internal and Exchange data to use. The list of Market Internals is simplified to their fundamental representation (TICK, ADD, VOLD, TRIN, VIX, ABVD, TKCD), and the list of Exchange data is limited to the most common (NYSE, NASDAQ, All US Stocks). There are also options for basic exchange combinations (Sum or Average of NYSE & NASDAQ).
Mode
Short for "Plot Mode", this is where you specify the bars style (Candles, Bars, Line, Circles, Columns) and the source value (used for single value plots and plot color changes).
Scale
This is the first and second data transformation grouped together. The default is to show the origin data as it might appear on a chart. You can then specify if each bar should retain it's unique value (Bar Value) or be added to a running total (Cumulative). You can also specify if you would like the data to remain unaltered (Raw) or converted to a directional ratio (Ratio) or a percentage (Percent Diff). These options determine the scale of the plot.
Both Ratio and Percent Diff. convert a given symbol into a positive or negative number, where positive numbers are bullish and negative numbers are bearish.
Ratio will divide Bull values by Bear values, then further divide -1 by the quotient if it is less than 1. For example, if "0.5" was the quotient, the Ratio would be "-2".
Percent Diff. subtracts Bear values from Bull values, then divides that difference by the sum of Bull and Bear values multiplied by 100. If a Bull value was "3" and Bear value was "7", the difference would be "-4", the sum would be "10", and the Percent Diff. would be "-40", as the difference is both bearish and 40% of total.
Ratio Norm. Threshold
This is the third data transformation . While quotients can be less than 1, directional ratios are never less than 1. This can lead to barcode-like artifacts as plots transition between positive and negative values, visually suggesting the change is much larger than it actually is. Normalizing the data can resolve this artifact, but undermines the utility of ratios. If, however, only some of the data is normalized, the artifact can be resolved without jeopardizing its contextual usefulness.
The utility of ratios is how quickly they communicate proportional differences. For example, if one side is twice as big as the other, "2" communicates this efficiently. This necessarily means the numerical value of ratios is worth preserving. Also, below a certain threshold, the utility of ratios is diminished. For example, an equal distribution being represented as 0, 1, 1:1, 50/50, etc. are all equally useful. Thus, there is a threshold, above which we want values to be exact, and below which the utility of linear visual continuity is more important. This setting accounts for that threshold.
When this setting is enabled, a ratio will be normalized to 0 when 1:1, scaled linearly toward the specified threshold when greater than 1:1, and then retain its exact value when the threshold is crossed. For example, with a threshold of "2", 1:1 = 0, 1.5:1 = 1, 2:1 = 2, 3:1 = 3, etc.
With all this in mind, most traders will want to set the ratios threshold at a level where accuracy becomes more important than visual continuity. If this level is unknown, "2" is a good baseline.
Reset cumulative total with each new session
Cumulative totals can be retained indefinitely or be reset each session. When enabled, each session has its own cumulative total. When disabled, the cumulative total is maintained indefinitely.
Show Signal Ranges
Because everything in this script is designed to make identifying sentiment extremes easier, an obvious inclusion would be to not only display ranges that are considered extreme for each Market Internal, but to also change the color of the plot when it is within, or beyond, that range. That is exactly what this setting does.
Override Max & Min
While the min-max signal levels have reasonable defaults for each symbol and transformation type, the Override Max and Override Min options allow you to … (wait for it) … override the max … and min … signal levels. This may be useful should you find a different level to be more suitable for your exact configuration.
Reduce Noise
This is the fourth data transformation . While the previous Ratio Norm. Threshold linearly stretches values between a threshold and 0, this setting will exponentially squash values closer to 0 if below the lower signal level.
The purpose of this is to compress data below the signal range, then amplify it as it approaches the signal level. If we are trying to identify extremes (the signal), minimizing values that are not extreme (the noise) can help us visually focus on what matters.
Always keep both signal zones visible
Some traders like to zoom in close to the bars. Others prefer to keep a wider focus. For those that like to zoom in, if both signals were always visible, the bar values can appear squashed and difficult to discern. For those that keep a wider focus, if both signals were not always visible, it's possible to lose context if a signal zone is vertically beyond the pane. This setting allows you to decide which scenario is best for you.
Plot Colors
These define the default color, within signal color, and beyond signal color for Bullish and Bearish directions.
Plot colors should be relative to zero
When enabled, the plot will inherit Bullish colors when above zero and Bearish colors when below zero. When disabled and Directional Colors are enabled (below), the plot will inherit the default Bullish color when rising, and the default Bearish color when falling. Otherwise, the plot will use the default Bullish color for all directions.
Directional colors
When the plot colors should be relative to zero (above), this changes the opacity of a bars color if moving toward zero, where "100" percent is the full value of the original color and "0" is transparent. When the plot colors are NOT relative to zero, the plot will inherit Bullish colors when rising and Bearish colors when falling.
Differentiate RTH from ETH
Market Internal data is typically only available during regular trading hours. When this setting is enabled, the background color of the indicator will change as a reminder that data is not available outside regular trading hours (RTH), if the chart is showing electronic trading hours (ETH).
Show zero line
Similar to always keeping signal zones visible (further up), some traders prefer zooming in while others prefer a wider context. This setting allows you to specify the visibility of the zero line to best suit your trading style.
Linear Regression
Polynomial regressions are great for capturing non-linear patterns in data. TradingView offers a "linear regression curve", which this script is using as a substitute. If you're unfamiliar with either term, think of this like a better moving average.
Symbol
While the Market Internal symbol will display in the status line of the indicator, the status line can be small and require more than a quick glance to read properly. Enabling this setting allows you to specify if / where / how the symbol should display on the indicator to make distinguishing between Market Internals more efficient.
Speaking of symbols, this indicator is designed for, and limited to, the following …
TICK - The TICK subtracts the total number of stocks making a downtick from the total number of stocks making an uptick.
ADD - The Advance Decline Difference subtracts the total number of stocks below yesterdays close from the total number of stocks above yesterdays close.
VOLD - The Volume Difference subtracts the total declining volume from the total advancing volume.
TRIN - The Arms Index (aka. Trading Index) divides the ratio of Advancing Stocks / Volume by the ratio of Declining Stocks / Volume. Given the inverse correlation of this index to market movement, when transforming it to a Ratio or Percent Diff., its values are inverted to preserve the bull-bear sentiment of the transformations.
VIX - The CBOE Volatility Index is derived from SPX index option prices, generating a 30-day forward projection of volatility. Given the inverse correlation of this index to market movement, when transforming it to a Ratio or Percent Diff., its values are inverted and normalized to the sessions first bar to preserve the bull-bear sentiment of the transformations. Note: If you do not have a Cboe CGIF subscription , VIX data will be delayed and plot unexpectedly.
ABVD - The Above VWAP Difference is an unofficial index measuring all stocks above VWAP as a percent difference. For the purposes of this indicator (and brevity), TradingViews PCTABOVEVWAP has has been shortened to simply be ABVD.
TKCD - The Tick Cumulative Difference is an unofficial index that subtracts the total number of market downticks from the total number of market upticks. Where "the TICK" (further up) is a measurement of stocks ticking up and down, TKCD is a measurement of the ticks themselves. For the purposes of this indicator (and brevity), TradingViews UPTKS and DNTKS symbols have been shorted to simply be TKCD.
INSPIRATION
I recently made an indicator automatically identifying / drawing daily percentage levels , based on 4 assumptions. One of these assumptions is about trend days. While trend days do not represent the majority of days, they can have big moves worth understanding, for both capitalization and risk mitigation.
To this end, I discovered:
• Article by Linda Bradford Raschke about Capturing Trend Days.
• Video of Garrett Drinon about Trend Day Trading.
• Videos of Ryan Trost about How To Use ADD and TICK.
• Article by Jason Ruchel about Overview of Key Market Internals.
• Including links to resources outside of TradingView violates the House Rules, but they're not hard to find, if interested.
These discoveries inspired me adopt the underlying symbols in my own trading. I also found myself wanting to make using them easier, the net result being this script.
While coding everything, I also discovered a few symbols I believe warrant serious consideration. Specifically the Percent Above VWAP symbols and the Up Ticks / Down Ticks symbols (referenced as ABVD and TKCD in this indicator, for brevity). I found transforming ABVD or TKCD into a Ratio or Percent Diff. to be an incredibly useful and worthy inclusion.
ABVD is a Market Breadth cousin to Brian Shannon's work, and TKCD is like the 3rd dimension of the TICKs geometry. Enjoy.
Correlational cyclesCorrelation is a statistical measure that expresses the extent to which two variables are linearly related (meaning they change together at a constant rate). It's a common tool for describing simple relationships without making a statement about cause and effect.
This script allows the user to input a multiplier to reverse the symbol input. This enables the user to look at a correlation measure between VIX and QQQ and the same time.. And get a better of understanding of what is not alligning and what is. the peaks in correlations usually signal a coming volatile period.
Crypto Liquidation HeatmapThis indicator is designed to identify potential areas of liquidations, in most crypto assets.
How does it work?
At the core of this indicator, it utilizes Open Interest (a statistic measuring the sum of all open futures positions), which I will refer to as OI.
The script monitors changes in OI, and then correlates these changes to the price action trend to derive an estimation of whether an increase in OI relates to an increase in Shorts or in Longs.
The trend is currently identified by the candle closing direction, therefore a bullish candle with increasing OI, results in the script counting an increase in Long Positions. Whereas a bearish candle and increasing OI, results in an increase of Short Positions.
Following that, the script estimates where these new positions will be liquidated (set either as a manual percentage, or using one of the defined presets).
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What makes this indicator unique from "Liquidation Levels" scripts, is the the way it groups potential liquidation volumes in segments, creating a cumulative view of liquidity potential - a true heatmap, not simply levels. To further clarify, liquidity within a set range is added to the segment of that range. The settings allow you to set the resolution of the range, according to preference. There is also an Automatic mode (at this moment limited to Bitcoin).
Regular OI Liquidation levels do not combine their volumes when overlapped, nor do they adhere to any ranges - making them scattered and not representative of the true liquidity in that area. This Liquidation Heatmap fixes all of those limitations.
Another unique addition to this Liquidation Heatmap, is my custom three tier color gradients with alpha support (transparency). This function allows a seamless transition of the coloring in liquidation potential from purple (minimum), to blue (medium), to yellow (maximum). This allows a larger range of liquidity identification, along with further aesthetic bonuses.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
How to use this indicator?
In general, such a tool can be used in numerous ways. It is not a standalone signal, meaning you should always compliment this tool with your own TA and reasoning.
One way of using this tool, is to anticipate that the price will continue on its trend, when you see it moving towards a zone of high liquidity (expecting that liquidity to be taken out).
Another way of using this tool, would be to anticipate a kickback after a liquidation event has taken place, thus returning to the mean.
Swing based support and resistanceThis indicator provided here is for identifying swing-based support and resistance levels. It uses two swing lengths, which can be adjusted by the user, to identify swings in the price data. For each swing length, the script calculates the support level as the low of the swing if the trend is up, or the high of the swing if the trend is down. It then plots the support and resistance levels on the chart, along with buy and sell signals.
The buy and sell signals are generated by comparing the current closing price to the support and resistance levels. If the closing price is above the support level, the script plots a buy signal. If the closing price is below the level, the script plots a sell signal.
To use the script, you would first need to add it to your trading platform. Once it is added, you can configure the swing lengths and other parameters to suit your trading style. You can then apply the script to a chart and begin using the support and resistance levels and buy and sell signals to make trading decisions.
Points to be noted while using the indicator:
# The script is designed to be used on a daily chart. However, you can also use it on other timeframes, such as weekly or monthly charts.
# The swing lengths that you choose will depend on your trading style. If you are a swing trader, you may want to use longer swing lengths. If you are a day trader, you may want to use shorter swing lengths.
# Remember, the support and resistance levels generated by the script are not exact price points. They are rather zones where demand and supply can change. Therefore, you should always use other technical analysis tools and indicators to confirm your trading decisions.
# Overall, the script is a useful tool for identifying swing-based support and resistance levels. It can be used by traders of all experience levels to generate trading ideas and improve their trading performance.
To use the swing-based support and resistance indicator with respect to price, you can follow these steps:
=> Identify the support and resistance levels that have been generated by the indicator.
=> Look for price action that is taking place near these levels.
=> If the price is above the level, look for bullish reversals or continuations.
=> If the price is below the level, look for bearish reversals or continuations.
For Example,
=> Bullish reversal: The price is above the level and forms a bullish candlestick pattern, such as a bullish hammer or engulfing pattern.
=> Bullish continuation: The price is above the level and bounces off of the level.
=> Bearish reversal: The price is below the level and forms a bearish candlestick pattern, such as a bearish hammer or engulfing pattern.
=> Bearish continuation: The price is below the level and rejects the level.
$$ You can also use the indicator to identify potential trading entry and exit points. For example, you could enter a long trade when the price breaks above a resistance level and exit the trade when the price retraces to the resistance level. Or, you could enter a short trade when the price breaks below a support level and exit the trade when the price rallies to the support level.
This swing-based support and resistance indicator is just one tool that you can use to trade. You should always use other technical analysis tools and indicators, such as price action and trend analysis, to confirm your trading decisions.
Additionally:
=> Be aware of the overall trend direction. If the trend is up, you should be looking for bullish reversals or continuations. If the trend is down, you should be looking for bearish reversals or continuations.
=> Use a stop loss order to limit your risk on each trade.
=> Consider using a position sizing strategy to manage your risk.
=> Do your own research and backtest any trading strategy before using it in a live trading environment.
Follow us for timely updates regarding future indicators and give it a like if you appreciate the indicator.
Machine Learning: kNN sentiment Anomaly detector [Ox_kali]Introduction:
This script represents a methodical integration of advanced machine learning techniques into financial market analysis. Utilizing the k-Nearest Neighbors (kNN) algorithm, a supervised learning method, the script systematically processes historical price data to detect anomalies in investor sentiment. By analyzing divergences between normalized investor satisfaction and actual asset prices, it offers a data-driven approach to identifying potential market inflection points.
Key Points:
Integration of the kNN machine learning algorithm to spotlight trading anomalies.
Incorporation of user-defined parameters, granting enhanced flexibility tailored to diverse trading strategies.
Deployment of normalization techniques, rendering a consistent perspective on average investor satisfaction.
Trading Application:
At its core, the script holds the capability to generate buy and sell signals derived from the detected anomalies, with a particular emphasis on those originating from divergences. Visual markers, represented by green and red backgrounds, provide an objective visualization of potential points of interest for traders.
Important Note:
This algorithm is an experimental embodiment of the kNN machine learning method. The parameters have not been fully optimized, and given the algorithm’s intricate nature and the high values set for kNN parameters, users might experience a slight delay during loading. On a personal note, it appears that this algorithm can detect shifts in trends on higher time frames, with the green and red color cues serving as key indicators. It also demonstrates promising performance on shorter time frames
Feedback Welcome:
Any feedback or suggestions on parameter settings are appreciated. Feel free to share your experiences in the comments.
Please note that the Machine Learning: kNN Investor sentiment Anomaly detector is provided for educational purposes only and is not meant to constitute financial advice. This indicator is not a guarantee of future market performance and should be used in conjunction with proper risk management. Always ensure that you have a thorough understanding of the indicator’s methodology and its limitations before making any investment decisions. Additionally, past performance is not indicative of future results.
Cumulative SymbolThis indicator attempts to show price source delta, mostly for intraday trading but may have applications on higher timeframes.
Choose a different symbol from the chart, or use formulas, pick price source (close, open, lows, etc) and a cumulation calculation type.
There are three to choose from and the tooltip provides the differences, they are as follows:
1) Basic - quite simply just takes the symbol source value and keeps a rolling summation
2) Advance or Decline - handles negative values as reductions to the cumulative calculation, useful to find delta pivot areas
3) Ratio - useful for ... ratio symbols ... such as market internals or your own custom ratios where 0 is balance/mid.
The trend line can be adjusted via length, histogram and trend colors indicate trend and directional shifts at a glance.
Since many ratio symbols, and some indexes, (looking at you NYA), don't offer volume I opted to drop it from this indicator.
I think every other indicator that tracks delta on TradingView makes use of volume and I couldn't find a single one that didn't and as such there is a gap in the vast library of indicators.
Enjoy!
GKD-C Average Sentiment Oscillator [Loxx]The Giga Kaleidoscope GKD-C Average Sentiment Oscillator is a confirmation module included in Loxx's "Giga Kaleidoscope Modularized Trading System."
█ GKD-C Average Sentiment Oscillator
This is an older forx indicator from 2010 and represents an advancement in the formula in the sentiment meter called "FX Multimeter III." It's recommended as a precise method for assessing the sentiment over a specific candlestick duration, suitable for trend filtering or determining entry/exit points.
The oscillator merges two similar algorithms, each with a unique application:
Individual Bar Analysis: This method evaluates the bullish or bearish nature of each bar through OHLC prices, and then averages the percentages over a specified bar group (e.g., 10 bars) to derive the final sentiment percentage. While it provides a detailed intra-bar sentiment, it tends to be more volatile.
Grouped Bar Analysis: This approach views the group of bars as a singular unit, determining the sentiment based on the OHLC values of the entire group. It delivers a more consistent outcome and emphasizes broader price movement ranges.
Within the indicator settings, users can opt for these algorithms independently as Mode 1 and Mode 2, or combine them under Mode 0.
█ Giga Kaleidoscope Modularized Trading System
Core components of an NNFX algorithmic trading strategy
The NNFX algorithm is built on the principles of trend, momentum, and volatility. There are six core components in the NNFX trading algorithm:
1. Volatility - price volatility; e.g., Average True Range, True Range Double, Close-to-Close, etc.
2. Baseline - a moving average to identify price trend
3. Confirmation 1 - a technical indicator used to identify trends
4. Confirmation 2 - a technical indicator used to identify trends
5. Continuation - a technical indicator used to identify trends
6. Volatility/Volume - a technical indicator used to identify volatility/volume breakouts/breakdown
7. Exit - a technical indicator used to determine when a trend is exhausted
8. Metamorphosis - a technical indicator that produces a compound signal from the combination of other GKD indicators*
*(not part of the NNFX algorithm)
What is Volatility in the NNFX trading system?
In the NNFX (No Nonsense Forex) trading system, ATR (Average True Range) is typically used to measure the volatility of an asset. It is used as a part of the system to help determine the appropriate stop loss and take profit levels for a trade. ATR is calculated by taking the average of the true range values over a specified period.
True range is calculated as the maximum of the following values:
-Current high minus the current low
-Absolute value of the current high minus the previous close
-Absolute value of the current low minus the previous close
ATR is a dynamic indicator that changes with changes in volatility. As volatility increases, the value of ATR increases, and as volatility decreases, the value of ATR decreases. By using ATR in NNFX system, traders can adjust their stop loss and take profit levels according to the volatility of the asset being traded. This helps to ensure that the trade is given enough room to move, while also minimizing potential losses.
Other types of volatility include True Range Double (TRD), Close-to-Close, and Garman-Klass
What is a Baseline indicator?
The baseline is essentially a moving average, and is used to determine the overall direction of the market.
The baseline in the NNFX system is used to filter out trades that are not in line with the long-term trend of the market. The baseline is plotted on the chart along with other indicators, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR).
Trades are only taken when the price is in the same direction as the baseline. For example, if the baseline is sloping upwards, only long trades are taken, and if the baseline is sloping downwards, only short trades are taken. This approach helps to ensure that trades are in line with the overall trend of the market, and reduces the risk of entering trades that are likely to fail.
By using a baseline in the NNFX system, traders can have a clear reference point for determining the overall trend of the market, and can make more informed trading decisions. The baseline helps to filter out noise and false signals, and ensures that trades are taken in the direction of the long-term trend.
What is a Confirmation indicator?
Confirmation indicators are technical indicators that are used to confirm the signals generated by primary indicators. Primary indicators are the core indicators used in the NNFX system, such as the Average True Range (ATR), the Moving Average (MA), and the Relative Strength Index (RSI).
The purpose of the confirmation indicators is to reduce false signals and improve the accuracy of the trading system. They are designed to confirm the signals generated by the primary indicators by providing additional information about the strength and direction of the trend.
Some examples of confirmation indicators that may be used in the NNFX system include the Bollinger Bands, the MACD (Moving Average Convergence Divergence), and the MACD Oscillator. These indicators can provide information about the volatility, momentum, and trend strength of the market, and can be used to confirm the signals generated by the primary indicators.
In the NNFX system, confirmation indicators are used in combination with primary indicators and other filters to create a trading system that is robust and reliable. By using multiple indicators to confirm trading signals, the system aims to reduce the risk of false signals and improve the overall profitability of the trades.
What is a Continuation indicator?
In the NNFX (No Nonsense Forex) trading system, a continuation indicator is a technical indicator that is used to confirm a current trend and predict that the trend is likely to continue in the same direction. A continuation indicator is typically used in conjunction with other indicators in the system, such as a baseline indicator, to provide a comprehensive trading strategy.
What is a Volatility/Volume indicator?
Volume indicators, such as the On Balance Volume (OBV), the Chaikin Money Flow (CMF), or the Volume Price Trend (VPT), are used to measure the amount of buying and selling activity in a market. They are based on the trading volume of the market, and can provide information about the strength of the trend. In the NNFX system, volume indicators are used to confirm trading signals generated by the Moving Average and the Relative Strength Index. Volatility indicators include Average Direction Index, Waddah Attar, and Volatility Ratio. In the NNFX trading system, volatility is a proxy for volume and vice versa.
By using volume indicators as confirmation tools, the NNFX trading system aims to reduce the risk of false signals and improve the overall profitability of trades. These indicators can provide additional information about the market that is not captured by the primary indicators, and can help traders to make more informed trading decisions. In addition, volume indicators can be used to identify potential changes in market trends and to confirm the strength of price movements.
What is an Exit indicator?
The exit indicator is used in conjunction with other indicators in the system, such as the Moving Average (MA), the Relative Strength Index (RSI), and the Average True Range (ATR), to provide a comprehensive trading strategy.
The exit indicator in the NNFX system can be any technical indicator that is deemed effective at identifying optimal exit points. Examples of exit indicators that are commonly used include the Parabolic SAR, the Average Directional Index (ADX), and the Chandelier Exit.
The purpose of the exit indicator is to identify when a trend is likely to reverse or when the market conditions have changed, signaling the need to exit a trade. By using an exit indicator, traders can manage their risk and prevent significant losses.
In the NNFX system, the exit indicator is used in conjunction with a stop loss and a take profit order to maximize profits and minimize losses. The stop loss order is used to limit the amount of loss that can be incurred if the trade goes against the trader, while the take profit order is used to lock in profits when the trade is moving in the trader's favor.
Overall, the use of an exit indicator in the NNFX trading system is an important component of a comprehensive trading strategy. It allows traders to manage their risk effectively and improve the profitability of their trades by exiting at the right time.
What is an Metamorphosis indicator?
The concept of a metamorphosis indicator involves the integration of two or more GKD indicators to generate a compound signal. This is achieved by evaluating the accuracy of each indicator and selecting the signal from the indicator with the highest accuracy. As an illustration, let's consider a scenario where we calculate the accuracy of 10 indicators and choose the signal from the indicator that demonstrates the highest accuracy.
The resulting output from the metamorphosis indicator can then be utilized in a GKD-BT backtest by occupying a slot that aligns with the purpose of the metamorphosis indicator. The slot can be a GKD-B, GKD-C, or GKD-E slot, depending on the specific requirements and objectives of the indicator. This allows for seamless integration and utilization of the compound signal within the GKD-BT framework.
How does Loxx's GKD (Giga Kaleidoscope Modularized Trading System) implement the NNFX algorithm outlined above?
Loxx's GKD v2.0 system has five types of modules (indicators/strategies). These modules are:
1. GKD-BT - Backtesting module (Volatility, Number 1 in the NNFX algorithm)
2. GKD-B - Baseline module (Baseline and Volatility/Volume, Numbers 1 and 2 in the NNFX algorithm)
3. GKD-C - Confirmation 1/2 and Continuation module (Confirmation 1/2 and Continuation, Numbers 3, 4, and 5 in the NNFX algorithm)
4. GKD-V - Volatility/Volume module (Confirmation 1/2, Number 6 in the NNFX algorithm)
5. GKD-E - Exit module (Exit, Number 7 in the NNFX algorithm)
6. GKD-M - Metamorphosis module (Metamorphosis, Number 8 in the NNFX algorithm, but not part of the NNFX algorithm)
(additional module types will added in future releases)
Each module interacts with every module by passing data to A backtest module wherein the various components of the GKD system are combined to create a trading signal.
That is, the Baseline indicator passes its data to Volatility/Volume. The Volatility/Volume indicator passes its values to the Confirmation 1 indicator. The Confirmation 1 indicator passes its values to the Confirmation 2 indicator. The Confirmation 2 indicator passes its values to the Continuation indicator. The Continuation indicator passes its values to the Exit indicator, and finally, the Exit indicator passes its values to the Backtest strategy.
This chaining of indicators requires that each module conform to Loxx's GKD protocol, therefore allowing for the testing of every possible combination of technical indicators that make up the six components of the NNFX algorithm.
What does the application of the GKD trading system look like?
Example trading system:
Backtest: Multi-Ticker CC Backtest
Baseline: Hull Moving Average
Volatility/Volume: Hurst Exponent
Confirmation 1: Advance Trend Pressure as shown on the chart above
Confirmation 2: uf2018
Continuation: Coppock Curve
Exit: Rex Oscillator
Metamorphosis: Baseline Optimizer
Each GKD indicator is denoted with a module identifier of either: GKD-BT, GKD-B, GKD-C, GKD-V, GKD-M, or GKD-E. This allows traders to understand to which module each indicator belongs and where each indicator fits into the GKD system.
█ Giga Kaleidoscope Modularized Trading System Signals
Standard Entry
1. GKD-C Confirmation gives signal
2. Baseline agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
1-Candle Standard Entry
1a. GKD-C Confirmation gives signal
2a. Baseline agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Baseline Entry
1. GKD-B Baseline gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Volatility/Volume agrees
7. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
1-Candle Baseline Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSBC Bars Back' prior
Next Candle
1b. Price retraced
2b. Baseline agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Volatility/Volume Entry
1. GKD-V Volatility/Volume gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Confirmation 2 agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Volatility/Volume Entry
1a. GKD-V Volatility/Volume gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSVVC Bars Back' prior
Next Candle
1b. Price retraced
2b. Volatility/Volume agrees
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Baseline agrees
Confirmation 2 Entry
1. GKD-C Confirmation 2 gives signal
2. Confirmation 1 agrees
3. Price inside Goldie Locks Zone Minimum
4. Price inside Goldie Locks Zone Maximum
5. Volatility/Volume agrees
6. Baseline agrees
7. Confirmation 1 signal was less than 7 candles prior
1-Candle Confirmation 2 Entry
1a. GKD-C Confirmation 2 gives signal
2a. Confirmation 1 agrees
3a. Price inside Goldie Locks Zone Minimum
4a. Price inside Goldie Locks Zone Maximum
5a. Confirmation 1 signal was less than 'Maximum Allowable PSC2C Bars Back' prior
Next Candle
1b. Price retraced
2b. Confirmation 2 agrees
3b. Confirmation 1 agrees
4b. Volatility/Volume agrees
5b. Baseline agrees
PullBack Entry
1a. GKD-B Baseline gives signal
2a. Confirmation 1 agrees
3a. Price is beyond 1.0x Volatility of Baseline
Next Candle
1b. Price inside Goldie Locks Zone Minimum
2b. Price inside Goldie Locks Zone Maximum
3b. Confirmation 1 agrees
4b. Confirmation 2 agrees
5b. Volatility/Volume agrees
Continuation Entry
1. Standard Entry, 1-Candle Standard Entry, Baseline Entry, 1-Candle Baseline Entry, Volatility/Volume Entry, 1-Candle Volatility/Volume Entry, Confirmation 2 Entry, 1-Candle Confirmation 2 Entry, or Pullback entry triggered previously
2. Baseline hasn't crossed since entry signal trigger
4. Confirmation 1 agrees
5. Baseline agrees
6. Confirmation 2 agrees
[Pivots Consolidation Breakout Screener] with Alerts (TSO) This is a pivots consolidation screener indicator, with ability to choose up to 12 different symbols/instruments with alert to be notified when consolidation happens on either one with the new pivots formation (new R3(inner resistance) pivot formed below previous one and new S3(inner support) pivot formed above previous one). Once the alert on a certain symbol/instrument is received - there is an ability to set a Breakout alert for the consolidated symbol/instrument.
This is a very powerful strategy, which doesn't happen often, but when happens - it often causes big moves after a breakout!
NOTE: Every calculation is done on a confirmed closed candle bar state, so the indicator will never repaint!
===========================================================================
Explanation of all the Features/Inputs/Settings
---------------------------------------------------------------------------
>>> On the very top, please read the important NOTES/TIPs.
>>> Next section is where the desired symbols can be turned on/checked to be screened for consolidation - the selected/checked symbols at creation of a 'Any alert() function call' alert will alert on any of the selected/checked symbols. Also, once consolidation forms, until next pivots formation - it will show it on the "Consolidation Stats" table. Once alerted on a specific symbol for consolidation - manual alert - 'Consolidation BREAKOUT' - can be created (MUST be done on the actual symbol chart, Right-Click > Add Alert) to be notified when actual breakout takes place.
>>> Pivots Settings section is where a manual timeframe/length can be set for the pivots as by Default it uses "Daily" timeframe. So, if want to experiment with more signals, but less accurate - a smaller timeframe can be set for Pivots Timeframe with smaller chart timeframe.
>>> Final section is simply the "Consolidation Stats" table location.
===========================================================================
Adding Alerts in TradngView
---------------------------------------------------------------------------
1) Consolidation alert(s) for the selected/checked symbols
- Select/check/find the desired symbols/instruments (when selecting symbols, make sure - they are from correct BROKER/SOURCE as pricing may differ between different brokers, causing confusion (under 1 broker/source, the symbol will be consolidated, under another it will not...))
-Right-click anywhere on any TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Immediately below, change it to "alert() function calls only"
-Expiration: Open-ended (that may require higher tier TradingView account, otherwise the alert will need to be occasionally re-triggered)
-Alert name: Whatever you desire
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
* Once alert triggers, don't get confused, as it will show "Alert on SYMBOL", the SYMBOL will be where you created the major alert for all the symbols within the screener list! Within the alert, on the bottom, it will say: "EURUSD: Camarilla Pivots R3S3 Consolidation ALERT!" - this is where the correct symbol is for which the alert for consolidation was triggered!
---------------------------------------------------------------------------
2) Consolidation BREAKOUT alert(s)
-Right-click anywhere on any TradingView chart
-For the actual symbol (which got consolidated), open the chart (make sure timeframe is the same as with which "Consolidation alert(s)" were created prior), then Right-Click on the chart > Add Alert
-Click on Add alert
-Condition: Select this indicator by it’s name
-Immediately below, change it to "Consolidation BREAKOUT1"
-Expiration: Open-ended (that may require higher tier TradingView account, otherwise the alert will need to be occasionally re-triggered)
-Alert name: Whatever you desire
-Hit “Create”
* It will alert when a breakout occurs in any direction - once you open the chart for the symbol/instrument for which alert has occurred - you can immediately see into which direction the breakout occured, it will be marked on the chart with green/red triangle.
===========================================================================
If you have any questions or issues with the indicator, please message me directly via TradingView.
---------------------------------------------------------------------------
Good Luck! (NOTE: Trading is very risky, past performance is not necessarily indicative of future results, so please trade responsibly!)
Ruth Buy/Sell Signal for Day Trade and Swing TradeRuth is based on the most known technical indicators and designed for intraday traders. Ruth's aim is to find the best Buy/Sell points and decide to stop loss point with minimum Loss also Ruth tries to find multiple Profit points as TP1/TP2/TP3/TP4/TP5. Ruth was designed based on the heat map colors to be user-friendly and easy to read. While cold color preferred for Short positions, warm colors preferred for Long positions. The most important feature of Ruth is that after the signal is generated, the candles in which the profitable levels are painted one by one with their own special color codes, so that even the most inexperienced users can understand where they should close their positions.
There are two types of signal Ruth can produce for fast trade.
Short Signal: These signals means market tends to be move to down.
Short Stop Loss Point: This is the maximum risk for the position. Shown with single red line inside of the signal.
Short Entry Point: This is the best entry price for short side position. Shown with single baby blue line inside of the signal.
Short Take Profit (TP1): This level represents the profit level the signal is most likely to reach. Shown with single blue line inside of the signal.
Short Take Profit (TP2): This level represents the profit level with a high probability of the signal occurring. Shown with single light purple line inside of the signal.
Short Take Profit (TP3): This level represents the profit level with an intermediate probability of the signal occurring. Shown with single dark purple line inside of the signal.
Short Take Profit (TP4): This level represents the profit level with a low probability of the signal occurring. Shown with single light lilac line inside of the signal.
Short Take Profit (TP5): This level represents the profit level with a tight probability of the signal occurring. Shown with single dark lilac line inside of the signal.
Long Signal: These signals means market tends to be move to up.
Long Stop Loss Point: This is the maximum risk for the position. Shown with single red line inside of the signal.
Long Entry Point: This is the best entry price for short side position. Shown with single baby blue line inside of the signal.
Long Take Profit (TP1): This level represents the profit level the signal is most likely to reach. Shown with single greenish yellow line inside of the signal.
Long Take Profit (TP2): This level represents the profit level with a high probability of the signal occurring. Shown with yellow purple line inside of the signal.
Long Take Profit (TP3): This level represents the profit level with an intermediate probability of the signal occurring. Shown with single dark yellow line inside of the signal.
Long Take Profit (TP4): This level represents the profit level with a low probability of the signal occurring. Shown with single orange line inside of the signal.
Long Take Profit (TP5): This level represents the profit level with a tight probability of the signal occurring. Shown with single dark orange line inside of the signal.
Timeframe: In general best and fastest results occurred in shorter timeframes like 1 min / 5 mins / 15 mins but feel free to try higher timeframes.
Tips & Tricks:
1) Gray line drawn ot the graph represents Dema, we suggests you to go on Short Singals under gray line and go on Long Signals upper gray line.
2) Mostly, Signals easily reach their TP2 / TP3 levels and then generally there is reaction or take profit desire so commodity price turns the opposite direction. If in short time price won't turn to Signal direction close position.
3) Don't forget, every positions has own risks and profits but trade in main trend is crucial.
Kviateq - Session Opening RangesThis indicator plots the opening range for each of the market sessions.
Users can chose the length of the opening range, as well as change the time for each of the sessions.
This script is based on opening range breakout strategies, which entail taking a long/short depending on which way the price breaks out.
To trade it, we wait for the session opening range to print, and then we enter upon a candle close.
It's meant to be used on lower timeframes, ideally one hour or lower.
It can be used by itself, but it works even better in combination with other indicators, like moving averages.
Enjoy
Economic Events: FOMC, CPI, PPI, NFP, etcThis script plots vertical lines on major U.S. economic events that can impact a trading day. Allowing you to decide if you want to trade on that day or to help with back testing (limited in how far back one can go).
The indicator preview chart doesn't show the vertical lines for whatever reason.
Here is a snapshot image.
This is completely different code from Economic Calendar Events: FOMC, CPI, and more by @jdehorty and uses different logic but provides similar features using the same public library for U.S. economic events.
Differences:
Substantial Improved Performance.
Legend setting to only show when there is an event today.
Abbreviations for events.
More Legend Settings (Position, Text Size, Color...)
WARNING: Does NOT use the same 'built-in logic to retroactively adjust larger time intervals' , so possible there could be differences but shouldn't be. No noticeable difference on USDJPY.
Note: Was purposely made to not work on timeframes greater than one day.
Economic Events
FOMC Meetings
FOMC Minutes
Producer Price Index (PPI)
Consumer Price Index (CPI)
Consumer Sentiment Index (CSI)
Consumer Confidence Index (CCI)
Non-Farm Payroll (NFP)
To read a description of the economic events see Economic Calendar Events: FOMC, CPI, and more by @jdehorty
This script uses economic data from Library "EconomicCalendar" and will be updated when said library is updated.