MMRI Chart (Primary)The **Mannarino Market Risk Indicator (MMRI)** is a financial risk measurement tool created by financial strategist Gregory Mannarino. It’s designed to assess the risk level in the stock market and economy based on current bond market conditions and the strength of the U.S. dollar. The MMRI considers factors like the U.S. 10-Year Treasury Yield and the Dollar Index (DXY), which indicate investor confidence in government debt and the dollar's purchasing power, respectively.
The formula for MMRI uses the 10-Year Treasury Yield multiplied by the Dollar Index, divided by a constant (1.61) to normalize the risk measure. A higher MMRI score suggests increased market risk, while a lower score indicates more stability. Mannarino has set certain thresholds to interpret the MMRI score:
- **Below 100**: Low risk.
- **100–200**: Moderate risk.
- **200–300**: High risk.
- **Above 300**: Extreme risk, indicating market instability and potential downturns.
This tool aims to provide insight into economic conditions that may affect asset classes like stocks, bonds, and precious metals. Mannarino often updates MMRI scores and risk analyses in his public market updates.
Markets
Ultra SessionsThe "Ultra Sessions" indicator is designed to enhance your trading strategy by clearly marking key market sessions and their associated "kill zones" directly on your chart. This powerful tool supports multiple time zones and provides customizable alerts for session opens, closes, and critical kill zones, ensuring you never miss important market movements.
Customizable Time Zones: Align the indicator with your local time by selecting from a wide range of global time zones.
Market Session Tracking: Visually track the New York, London, and Tokyo trading sessions with distinct color-coded markers.
Kill Zones: Highlight the high-volatility periods within each session to focus on key trading opportunities.
Alert System: Receive real-time alerts for session openings, closings, and kill zones, so you stay informed without constantly monitoring the chart.
Flexible Positioning: Choose the positioning of session markers to fit your chart layout, whether at the top or bottom.
Ideal for traders who want to optimize their entry and exit points by focusing on the most active and volatile times in the market, the indicator is a must-have for any serious trading setup.
Comprehensive Correlation Meter with Multiple MarketsThe Comprehensive Correlation Meter is designed to provide traders and investors with insights into the relationships between multiple financial instruments. This script expands upon an existing idea on TradingView about correlation by introducing the ability to analyze the correlation between three markets, offering deeper insights into market relationships. It helps users understand how these markets move in relation to each other, aiding in risk management and portfolio diversification.
Key Features:
Multiple Market Analysis: This script allows you to analyze the correlation between your primary market and two other selected markets.
Customizable Inputs: Users can select any symbols for the reference and third markets, and these selections must be confirmed before use.
Correlation Coefficients: Calculates and plots the correlation coefficients for:
Current Market vs. Reference Market
Third Market vs. Reference Market
Current Market vs. Third Market
An average correlation of all three markets combined.
Visual Aids: Plots reference lines at +1, 0, and -1 to indicate maximum positive correlation, no correlation, and maximum negative correlation.
How It Works:
Input Symbols: Select the symbols for the reference and third markets. The current market is based on the chart you are viewing.
Data Collection: The script collects the closing prices of the selected markets and calculates the percentage changes.
Correlation Calculation: Using the collected data, the script computes the covariance and standard deviations to determine the correlation coefficients.
Visualization: The correlation coefficients and covariances are plotted for visual analysis.
How to Use:
Select Symbols:
Use the input fields to specify the reference and third market symbols. Confirm your selections to proceed.
Customize Display:
Choose whether to display the covariance, reference market, current market, and third market.
Select which correlation coefficients to display.
Interpret Results:
A correlation coefficient close to +1 indicates a strong positive correlation.
A coefficient close to -1 indicates a strong negative correlation.
A coefficient around 0 indicates little to no correlation.
Use these insights to manage risk and diversify your portfolio effectively.
Example Use Case:
Suppose you are trading the S&P 500 and want to understand its correlation with the NASDAQ 100 and a particular stock, such as Apple. By setting the S&P 500 as the reference market, the NASDAQ 100 as the third market, and observing the current market (Apple), you can see how these instruments move in relation to each other. This can help you decide on hedging strategies or identify opportunities for diversification. However this is Not a Financial advise
Market Pivot Levels [Past & Live]Market Levels provide a robust view of daily pivot points of markets such as high/low/close with both past and live values shown at the same time using the recently updated system of polylines of pinescript.
The main need for this script arose from not being able to use plots for daily points because plots are inherently once drawn can't be erased and because we can't plot stuff for previous bars after values are determined we can't use them reliably. And while we can use traditional lines, because we would have extremely high amount of lines and we would have to keep removing the previous ones it wouldn't be that effective way for us. So we try to do it with the new method of polylines .
Features of this script:
- Daily High/Low Points
- Yesterday High/Low/Close Points
- Pre-Market High-Low points.
Now let's preview some of the important points of code and see how we achieve this:
With the code below we make sure no matter which chart we are using we are getting the extended hours version of sessions so our calculations are made safely for viewing pre-market conditions.
// Let's get ticker extended no matter what the current chart is
tc = ticker.new(syminfo.prefix, syminfo.ticker, session.extended)
Coding our own function to calculate high's and low's because inbuilt pinescript function cannot take series and we send this function to retrieve our high's and lows.
// On the fly function to calculate daily highlows instead of tv inbuilt because tv's length cannot take series
f_highlow(int last) =>
bardiff = last
float _low = low, float _high = high
for i = bardiff to 0 by 1
if high > _high
_high := high
if low < _low
_low := low
With doing calculations at the bars of day ending points we can retrieve the correct points and values and push them for our polylines array so it can be used in best way possible.
// Daily change points
changeD = timeframe.change("D")
// When new day starts fill polyline arrays with previous day values for polylines to draw on chart
// We also update prevtime values with current ones after we pushed to the arrays
if changeD
f_arrFill(cpArrHigh, cpArrLow, prevArrh, prevArrl, prevArrc, prevMarh, prevMarl)
valHolder.unshift(valueHold.new(_high, _low, _high, _close, _low, time, pr_h, pr_l))
The rest of the code is annotated and commented. You can let me know in comments if you have any questions. Happy trading.
K`s Extreme DurationExtreme duration uses a special combination of the RSI and its relative position to deliver a reversal signal.
The following are the conditions to generate signals:
* Bullish signal: The current 8-period RSI is below 50 and above 35 while the previous 5 RSI's are below 35.
* Bearish signal: The current 8-period RSI is above 50 and below 65 while the previous 5 RSI's are above 65.
MarketronShows you how the asset on the chart is trending versus the market. You can customise the market that it uses, and there are some common markets programmed in as options.
Displays moving averages and a simple red/green bias.
You could do this yourself by typing, e.g., ADAUSDT/TOTAL into the asset box in TradingView and adding some EMAs manually and then interpreting them by eye. There's no hidden technology in this indicator. It just makes it a lot easier.
You can choose various bias options.
I'm not sure if it will work at resolutions lower than one day, depending on the level of your TradingView plan.
These are all the user-configurable settings and what they do.
Market (Auto) – Choose from various preselected markets.
Market Ticker Manual Override – You can type in the ticker for your market if it's not in the list. If you do, it overrides the Auto list.
Show Classic EMAs – Show customisable Exponential Moving Averages.
Bias Mode – Derive the red/green bias from whether price is above/below the Classic EMAs, or from a custom EMA function, or both.
Show Bias Background – Colour the background, or not, with the directional bias.
EMA 1 Length (smallest) – The length for the smallest EMA.
EMA 2 Length – Length for the second EMA.
EMA 3 Length – Length for the third EMA.
Time Zone / Market SessionsTime Zone / Market Sessions indicator is a handy tool to display current major Market Open / Close condition along with present time at that Exchange. Sydney, Tokyo, London, New York market sessions are included. Clear display of Overlap Zones and Kill Zones.. Can be used to estimate market Pumping and Dumping. Alerts can be set when a market opens.
Time is Displayed in Table Layout
Active Market is displayed as Dots on top and bottom
You can select as Timeline or Table display
Overlap is clearly displayed on top and bottom without any mess
Gray color in Table layout Shows Closed Markets
You are free to reuse this code No Limitations.
Kill Zones are indicated in Table format. When some of the markets are closed
Alerts included for market openings
BTC Europe-America-Asia market backgrounds - 1h max frameMarket indicator - Europe - America - Asia.
Based on my trading experience. Therefore, time zones are of different sizes.
Eurobond CurveABOUT
Dynamically plots 3 no. forward EUROBOND curves. When the curves converge (or worse crossover) there is higher risk of financial uncertainty and potential market correction.
The Eurobond Curves work in a similar way to treasury "yield curve inversion"; except the EUROBOND curves can signal much earlier than Treasuries therefore providing a leading indicator.
The indicator looks the the "near" (next year EUROBOND), "mid" (EUROBOND 2 years out) and "far" (EUROBOND 5 years out) to assess for crossovers.
When the "near" and "mid" curves crossover the "far" curve, concerning economic conditions are developing and it may be a good idea to reduce risk exposure to markets.
LIMITATIONS
The EUROBOND curve crossover events are rare, and this indicator uses data back to 2005 (using approximately 25 TradingView security functions). Given there are relatively few crossover events, the reliability of this indicator should be considered low. Nonetheless, there is decent alignment with treasury yield curve inversions in the 20 year period assessed. Given treasury yield curve inversions have predicted every recession for the last 70 years, we still think the EUROBOND Curves are a useful datapoint to monitor into the future and provide confluence to other risk management strategies.
Market Sessions Open/Close LevelsThis indicator displays the market open and close price levels for the main trading sessions (Sydney, Tokyo, Frankfurt, London and New York). The Daily Line changes color depending on if price is trading above or below the level. Feel free to add or replace levels depending on your trading style and trading times.