Price Action BoxGeneral Purpose:
This indicator determines the swing high and swing low levels in a given period and draws supply and demand zones based on these levels. It also adds BOS (Break of Structure) signals in case these zones are broken.
Code Detailing:
1. Settings and User Inputs:
Swing High/Low Length: The period used to determine the swing high and low levels. This can be set by the user.
History To Keep: Specifies the number of supply and demand zones in the past in the indicator.
Supply/Demand Box Width: The width of the supply and demand boxes, i.e. how much width will be left according to the ATR (Average True Range).
Visual Settings: Settings for colors and labels to customize the indicator.
2. Functions:
f_array_add_pop: Adds a new value and removes the oldest value from the array. This function is used to store a certain number of data.
f_sh_sl_labels: Adds labels to swing highs and lows. These labels are labels that indicate price action, such as "HH", "HL", "LH", "LL".
f_check_overlapping: Before drawing a new demand or supply zone, it checks if it overlaps with existing zones. If there is an overlap, a new zone is not drawn.
f_supply_demand: Draws supply and demand zones. This function determines the upper and lower limits of the supply and demand levels and draws a box.
f_sd_to_bos: If the supply or demand zone is broken, it changes the zone to "BOS" (Break of Structure).
f_extend_box_endpoint: Updates the existing supply and demand boxes, extending their right borders to the next bar index.
3. Calculations:
ATR (Average True Range): Used to measure price volatility. This is the value used as the basis for determining the size of supply and demand boxes.
Swing High and Swing Low: Swing highs and lows are calculated using the highest and lowest prices over a given period.
Box Array and POI (Point of Interest): A collection of drawn supply and demand boxes and the levels of interest found within these boxes.
4. Main Calculations and Actions:
New Swing High or Swing Low Formation: If a new swing high or low is formed, these levels are recorded and demand or supply zones are drawn.
Break of Structure (BOS): If price breaks the supply or demand zone, it marks the zone as "BOS".
Extension of Boxes: Supply and demand boxes are continuously extended according to the current bar index.
Visual Features:
Supply and Demand Zones: Supply zones are drawn in red and demand zones in green. A border color is also specified around the zones.
POI Labels: A POI (Point of Interest) label is displayed in the middle of each supply and demand zone.
BOS Labels: BOS label is added above broken supply or demand zones.
Customization with User Inputs:
Show Price Action Labels: An option to set the visibility of price action labels. These labels indicate swing highs and lows.
Different Color and Size Options: Colors for supply and demand zones and colors for POI labels can be customized by the user.
Conclusion:
This Pine Script™ provides a comprehensive tool to monitor supply and demand zones in the market, identify important price levels and analyze price movements in these zones. Based on classic price action methods, it detects supply and demand zones as well as breakouts of these zones.
Analiza fundamentalna
SMC breakout With EMAThis indicator is based on the breakout of the BOS and CHOCH levels at SMC method.
You can change the amount of candles of BOS or CHOCH.
This indicator also includes EMA, that you can use it for confirmation of buy or sell transaction.
Also you can use super trend features on this indicator for following your profit.
This indicator is based on the breakdown of the bass and choke points in it.
And this feature allows you to use this indicator in Forex trading as well.
Market Structure Break with Retest (Multi-timeframe)Introduction
Analyzing market structure breakouts (MSB) is extremely important, especially for determining trend reversal points. This Pine Script™ detects MSB points in a given time frame and visualizes potential retest zones. It also creates boxes and labels to support buy-sell decisions in these zones.
This script aims to simplify the market analysis process for both beginners and advanced users.
---
Features
1. Timeframe Selection: The user can specify the timeframe he/she wants to analyze.
2. Highs and Lows: Dynamically calculates the highest and lowest prices in the specified time frame.
3. Market Structure Breakout (MSB):
"Bullish Break" when the price exceeds the previous high.
"Bearish Break" when the price falls below the previous low.
4. Retest Zones: Checks whether the price has returned to these levels after the MSB and labels these areas.
5. Visualization:
Draws boxes for breakout zones.
Marks retest points with dynamic labels.
6. Customizability: The user can customize the colors of the boxes, line thickness and analysis period.
---
Areas of Use
Support and Resistance Detection: Ideal for analyzing how the price moves in important support and resistance zones.
Capturing Trend Reversals: Can be used to detect the starting points of uptrends and downtrends.
Retest Strategies: Supports trading decisions by observing the price return to these levels after the breakout.
---
Code Logic
1. Highest and Lowest Prices in Timeframe:
Calculates the highest and lowest prices in the specified timeframe according to the length parameter.
2. Breakout Detection:
Check if the price has broken past the previous high or low.
3. Box and Labels:
Boxes are dynamically created after the breakout.
Labels appear in the retest zones:
4. Customization: User can easily adjust box colors, line thickness and analysis period:
Customize the analysis period and colors according to your own trading strategy.
---
Conclusion
This script helps you optimize your trading strategies by visualizing market structure breakouts and retest zones. It offers a powerful analysis tool with dynamic structure and customizable settings suitable for timeframes.
Start using this tool now to develop new strategies in TradingView and make more informed trading decisions!
Supply & Demand Zone AnalyzerTradingView Publication Article: "Supply & Demand Zone Analyzer"
Title:
"Supply & Demand Zone Analyzer: Master Support and Resistance with Precision"
Introduction:
Support and resistance zones are the cornerstone of technical analysis in trading. These zones help identify where price movements may pause or reverse. The Supply & Demand Zone Analyzer is a powerful indicator designed to dynamically detect these critical areas while offering insights into potential breakouts.
In this article, we'll explore how the indicator works, its features, and how to make the most of it.
Features:
Dynamic Support and Resistance Zones:
Automatically plots supply (resistance) and demand (support) zones based on swing highs and swing lows.
Visually highlights these zones directly on your chart.
Breakout Detection:
Identifies when price breaks above a resistance zone or below a support zone.
Displays "Broken Supply" or "Broken Demand" labels for clear recognition.
Customizable Colors and Labels:
Adjust the colors of support, resistance, broken zones, and labels to match your charting style.
Add descriptive text inside the zones.
Proximity Filtering:
Prevents overlapping or closely spaced zones for a cleaner, more interpretable chart.
Fixed Text Size:
Labels inside zones maintain a consistent size, unaffected by chart zooming.
How to Use:
Add the Indicator to Your Chart:
Search for "Supply & Demand Zone Analyzer" on TradingView.
Click "Add to Chart" to enable the indicator.
Adjust Parameters:
Swing Length: Sets the number of candles used to define swing highs and lows.
ATR Period: Configures the period for ATR-based zone width calculation.
Minimum Distance: Defines the minimum distance between zones to avoid overlapping.
Show Broken Zones: Choose whether to display or hide broken support and resistance zones.
Customize Colors:
Modify the default colors for supply, demand, and broken zones in the settings.
Technical Details:
Written in Pine Script, TradingView's proprietary scripting language.
Uses ATR (Average True Range) for dynamic zone width calculation.
Automatically extends zones until they are invalidated by a breakout or removed by proximity filtering.
Who Should Use This?
Beginner Traders:
Learn and visualize critical support and resistance areas easily.
Experienced Traders:
Gain deeper insights with breakout detection and advanced filtering.
Swing and Scalping Traders:
Quickly identify high-probability reversal or breakout zones for short- and medium-term trading.
Example Chart:
(Attach a screenshot of the indicator applied to a chart.)
Conclusion:
The Supply & Demand Zone Analyzer takes the guesswork out of identifying support and resistance. With its user-friendly interface, customizable options, and breakout detection, this indicator is perfect for traders of all experience levels.
Try it out today via our TradingView page and share your feedback or suggestions. Let's master the markets together!
Extra Tips for Publication:
Include backtest results or strategy examples to showcase the indicator's utility.
Highlight practical use cases, like combining the zones with other indicators (e.g., RSI or volume).
Buyside & Sellside Liquidity and FOMO & PANİK]We Added Advanced Features to LuxAlgo’s Buy-Side and Sell-Side Liquidity Indicator
Buy-Side and Sell-Side Liquidity (Liquidity Hunt) indicators are an important tool for understanding market maker manipulations and analyzing price movements in high-volume areas. This indicator from LuxAlgo allows users to better evaluate the market’s liquidity flow. However, we have made some strategic improvements and additions to further enhance the functionality of this powerful tool.
---
Features We Added to the Indicator
1. Liquidity Threshold and Analysis by Time Frames
The user can analyze liquidity movements in different time frames by determining short, medium and long-term periods.
Thanks to the Liquidity Threshold (%) parameter, long (buy) and short (sell) levels are determined according to price change rates.
Volume threshold controls are applied for each period and only high volume movements are taken into account.
2. Detection of Long and Short Liquidity Zones
Buy-Side (Long) Liquidity Zones: Long entry levels below the price are determined and reaction signals are created when the price reaches this level.
Sell-Side (Short) Liquidity Zones: Short entry levels above the price are determined and the levels are visualized on the chart.
These zones are used to detect market maker manipulations in places where liquidity traps may occur.
3. Coloring of High Volume Candles
With volume analysis, high volume candles are marked with different colors to observe the dynamics of price movements more clearly.
For example, candles exceeding volume threshold levels are highlighted with distinct colors such as white, yellow or blue.
4. Analysis of Wick and Volume-Based Long/Short Traps
Long trap and short trap traps are detected based on the length ratios of candle shadows (wick), ATR (Average True Range) and volume change.
These traps are clearly marked on the chart and supported by market psychology signals such as FOMO (fear of missing out) and Panic to the user.
5. Proximity to Liquidity Zones and Alarm Systems
We have added an algorithm that measures how close the price is to the specified liquidity zones. In this way:
Price movements that are less than 2% away from the upper liquidity zone are analyzed.
The same methodology is used for proximity to the middle liquidity zone and lower liquidity zone.
The user is warned when a long trap or short trap occurs with the alarm system.
---
FOMO and Panic Algorithm
These updates include additional parameters to analyze investor psychology:
FOMO (Fear of Missing Out):
A FOMO signal is generated when the RSI level is high, the price is near the upper or middle liquidity zones, and sudden price/volume increases are seen.
This signal allows the investor to avoid making unconscious purchases.
Panic:
A panic signal is triggered when the RSI level is low, the price is near the lower or middle liquidity zones, and sudden decreases are seen.
This is designed to prevent investors from selling hastily.
---
Benefits of the Developments
1. Prevention of Manipulations:
Price movements are analyzed according to liquidity zones, aiming to protect investors against market maker manipulations.
2. Stronger Strategy with Reaction Levels:
Visualization of long and short liquidity zones provides more reliable signals in trading strategies.
3. Understanding Psychological Barriers:
The impact of investor behavior on the market is better analyzed with FOMO and Panic signals.
4. Advanced Filtering Based on Volume and Volatility:
Volume and volatility analysis minimizes false signals.
---
Conclusion
With these updates, LuxAlgo’s original Buy-Side & Sell-Side Liquidity indicator has been made a more powerful tool. Users can make more informed trades by identifying important levels that market makers may target. Combining multiple variables such as volume, liquidity, RSI and psychological barriers, this system provides a more robust analysis, especially in the cryptocurrency market.
Dynamic Risk Levels with Buy/Sell TextIntroduction
Risk management and making the right decisions while trading can be quite complex. To help you overcome these challenges, we developed the Dynamic Risk Levels and Buy/Sell Text indicator. This indicator aims to simplify your decision-making processes by combining volatility analysis, dynamic risk levels and RSI (Relative Strength Index) signals. This tool, which clearly visualizes buy/sell levels and risk zones on the chart, offers an ideal solution for investors of all levels.
---
Key Features
1. ATR Based Volatility Calculation
The indicator uses the Average True Range (ATR) method to measure market volatility. Combined with Fibonacci's golden ratio (1.618), ATR creates risk levels that dynamically adapt to market conditions.
2. Determining Buy and Sell Levels
The lowest closing price during a specified period is defined as the buy level, and the highest closing price is defined as the sell level.
3. Dynamic Long and Short Risk Levels
Long (buy) risk level: Buy level + (ATR * 1.618)
Short (sell) risk level: Sell level - (ATR * 1.618)
These levels are constantly updated according to the volatility of the market.
4. Additional Filtering with RSI
RSI (Relative Strength Index) filters out false signals by identifying overbought and oversold areas.
Buy Signal: RSI < 30
Sell Signal: RSI > 70
5. Visualization of Buy/Sell Signals
On the chart:
Buy signals are indicated with a green "Buy" label.
Sell signals are marked with a red "Sell" label.
These visualizations help you make quick and easy decisions.
---
Levels Shown on the Chart
1. Dynamic Risk Levels
Long Risk Level (Green Line): Indicates the safe level for buying positions.
Short Risk Level (Red Line): Indicates the safe level for selling positions.
2. Buy and Sell Levels
Buy Level (Blue Line): Indicates the long-term low closing level.
Sell Level (Orange Line): Indicates the long-term high closing level.
---
How to Use?
1. Long Trading Strategy:
A "Buy" signal is generated when the price goes below the long risk level and then goes above it again and RSI < 30.
2. Short Trading Strategy:
A "Sell" signal is generated when the price goes above the short risk level and then goes below it again and RSI > 70.
---
Conclusion
This indicator supports volatility-based risk management by adapting to the dynamic structure of the market and also provides reliable buy/sell signals. The Dynamic Risk Levels and Buy/Sell Text indicator is an ideal tool for investors who want to create a simple and effective trading strategy.
Using this indicator on the TradingView platform, you can make more informed decisions and better manage your risks.
Remember: No indicator is 100% accurate; always analyze market conditions carefully and pay attention to risk management.
Predictive Ranges [LuxAlgo] with BTC/USDT.D AnalysisIn this article, we will take a detailed look at how to customize the LuxAlgo Predictive Ranges indicator used in TradingView, how to make it more useful, and how to integrate additional functions. This indicator is a powerful analysis tool used specifically to predict movements in the BTC/USDT pair and generate buy-sell signals.
1. What is LuxAlgo Predictive Ranges?
The Predictive Ranges indicator developed by LuxAlgo predicts potential buy and sell zones based on the averages and volatility of the price over a certain period of time. This shows how much the price can fluctuate within a certain range and which zones it can move towards. Ranges usually cover two main areas, the upper and lower limits, and provide information on how the price movement will shape between these limits.
2. Extra Features and Enhancements
The above Pine Script code builds on LuxAlgo’s core Predictive Ranges functionality and adds a few important enhancements:
2.1. Comparing BTC and USDT Dominance Ranges
While the original LuxAlgo indicator only works on a specific asset, this customized version also makes predictions on the BTC/USDT pair as well as the USDT market dominance (USDT.D). This way, it is possible to understand how BTC is positioned against the general market movements.
Checking if BTC is in the Upper and Lower Zones: Buy and sell signals are generated based on whether the price of BTC is in the upper or lower zones within certain ranges.
Checking if USDT.D is in the Upper and Lower Zones: Similarly, the market dominance of USDT is also analyzed using these ranges.
The comparison between these two assets allows for more reliable signals to be generated based on market conditions. For example, when the BTC price is in the lower range and USDT.D is in the upper range, this could signal a BTC buying opportunity.
2.2. Fibonacci Levels
Fibonacci levels are widely used to predict potential retracements or bounces in price action. In this indicator, various Fibonacci levels are calculated between the prR2 and prS2 levels. This provides additional guidance for traders on where the price could retrace or bounce.
Fibonacci Levels:
13% (Fib13)
23% (Fib23)
38% (Fib38)
61% (Fib61)
70% (Fib70)
79% (Fib79)
86% (Fib86)
100% (Fib100)
These Fibonacci levels are used to predict potential support and resistance levels in price action.
2.3. RSI and Volume Analysis
RSI (Relative Strength Index) is an oscillator widely used to determine whether the price is overbought or oversold. Another important feature of this indicator is that it can analyze the strength of price movements with the RSI Period and Volume Coefficient settings. Volume analysis in particular provides additional information on whether a movement is sustainable or not. If the volume exceeds the average volume, this usually indicates that the price movement is strong.
RSI values are also calculated in different time frames (15 minutes, 30 minutes, 1 hour, 4 hours, 1 day), helping traders understand short-term and long-term market forces. In addition, the upper and lower threshold values of the RSI are determined, allowing for more clear monitoring of overbought and oversold conditions.
2.4. Indicators and Alarm Conditions on the Chart
The following features have been added to the chart regarding RSI and trend strength:
Rising Strength: The RSI value and the general condition of the price create signals that the trend is rising.
Falling Strength: Similarly, when the RSI value is low and the price is moving down, signals indicating a bearish trend are generated.
Buy and sell signals are generated only when BTC and USDT.D are in opposite zones. This ensures more accurate and reliable signals.
3. Custom Customizations for Users
This indicator can be customized according to the different analysis needs of users:
Length and Factor: Length and Mult factors are used to adjust the sensitivity of the indicator. This is important for customizing the trading strategy.
Timeframe Options: Users can analyze BTC and USDT.D in different timeframes.
RSI and Volume Settings: RSI period, upper and lower thresholds, and volume coefficient can be set by the user.
4. Alarm Conditions
Users can set the following alarm conditions to receive an alarm when certain conditions occur:
Buy Alarm: Triggered when BTC is in the buy zone and USDT.D is in the sell zone.
Sell Alert: Triggered when BTC is in the sell zone and USDT.D is in the buy zone.
Trend Strength Alerts: Rising or falling strength alerts with RSI value and volume.
Conclusion
LuxAlgo's Predictive Ranges indicator is a great way to predict market movements
Correlation Coefficient Master TableThe Correlation Coefficient Master Table is a comprehensive tool designed to calculate and visualize the correlation coefficient between a selected base asset and multiple other assets over various time periods. It provides traders and analysts with a clear understanding of the relationships between assets, enabling them to analyze trends, diversification opportunities, and market dynamics. You can define key parameters such as the base asset’s data source (e.g., close price), the assets to compare against (up to six symbols), and multiple lookback periods for granular analysis.
The indicator calculates the covariance and normalizes it by the product of the standard deviations. The correlation coefficient ranges from -1 to +1, with +1 indicating a perfect positive relationship, -1 a perfect negative relationship, and 0 no relationship.
You can specify the lookback periods (e.g., 15, 30, 90, or 120 bars) to tailor the calculation to their analysis needs. The results are visualized as both a line plot and a table. The line plot shows the correlation over the primary lookback period (the Chart Length), which can be used to inspect a certain length close up, or could be used in conjunction with the table to provide you with five lookback periods at once for the same base asset. The dynamically created table provides a detailed breakdown of correlation values for up to six target assets across the four user-defined lengths. The table’s cells are formatted with rounded values and color-coded for easy interpretation.
This indicator is ideal for traders, portfolio managers, and market researchers who need an in-depth understanding of asset interdependencies. By providing both the numerical correlation coefficients and their visual representation, users can easily identify patterns, assess diversification strategies, and monitor correlations across multiple timeframes, making it a valuable tool for decision-making.
Gap and Breakout Strategy with Buy and Selltrying a different startegy for the everyone who wants to make really good things to the world
On-Chain Analysis [LuxAlgo]The On-Chain Analysis tool offers a comprehensive overview of essential on-chain metrics, enabling traders and investors to grasp the underlying activity and sentiment within the cryptocurrency market. By integrating metrics like wallet profitability, exchange flows, on-chain volume, social sentiment, and more into your charts, users can gain valuable insights into cryptocurrency network behavior, spot emerging trends, and better manage risk in the cryptocurrency market.
🔶 USAGE
🔹 On-Chain Analysis
When analyzing cryptocurrencies, several fundamental metrics are crucial for assessing the value and potential of a digital asset. This indicator is designed to help traders and analysts evaluate the markets by utilizing various data gathered directly from the blockchain. The gathered on-chain data includes wallet profitability, exchange flows, miner flows, on-chain volume, large buyers/sellers, market capitalization, market dominance, active addresses, total value locked (TVL), market value to realized value (MVRV), developer activity, social sentiment, holder behavior, and balance types.
Use wallet profitability and social sentiment metrics to gauge the overall mood of the market, helping to anticipate potential buying or selling pressure.
On-chain volume and active addresses provide insights into how actively a cryptocurrency is being used, indicating network health and adoption levels.
By tracking exchange flows and holder balance types, you can identify significant moves by whales or institutions, which may signal upcoming price shifts.
Market capitalization and miner flows give you an understanding of the supply side of the market, aiding in evaluating whether an asset is overvalued or undervalued.
The distribution of holdings among retail investors, whales, and institutional groups can greatly influence market dynamics. A large concentration of holdings by whales may indicate the potential for significant price swings, given their capacity to execute substantial trades. A higher proportion of institutional investors often suggests confidence in the asset's long-term potential, as these entities typically conduct thorough research before investing. While retail participation indicates broader adoption, it also introduces higher volatility, as these investors tend to be more reactive to market fluctuations.
Understanding the balance and behavior of short-term traders, mid-term cruisers, and long-term hodlers helps traders and analysts predict market trends and assess the underlying confidence in a particular cryptocurrency.
🔶 DETAILS
This script includes some of the most significant and insightful metrics in the crypto space, designed to evaluate and enhance trading decisions by assessing the value and growth potential of cryptocurrencies. The introduced metrics are:
🔹 Wallet Profitability
Definition: Represents the percentage distribution of addresses by profitability at the current price.
Importance: Indicates potential selling pressure or reduced selling pressure based on whether addresses are in profit or loss.
🔹 Exchange Flow
Definition: The total amount of a cryptocurrency moving in and out of exchanges.
Importance: Large inflows to exchanges can indicate potential selling pressure, while large outflows might suggest accumulation or long-term holding.
🔹 Miner Flow
Definition: Tracks the inflow and outflow of funds by miners.
Importance: High inflows could indicate selling pressure, whereas low inflows or outflows might reflect miner confidence.
🔹 On-Chain Volume
Definition: The total value of transactions conducted on a blockchain within a specific period.
Importance: On-chain volume reflects actual usage of the network, indicating how actively a cryptocurrency is being utilized for transactions.
🔹 Large Buyers/Sellers
Definition: Tracks the number of large buyers (bulls) and sellers (bears) based on transaction volume.
Importance: Comparing the number of large buyers (bulls) to large sellers (bears) helps gauge market trends and sentiment.
🔹 Market Capitalization
Definition: The total value of a cryptocurrency's circulating supply, calculated by multiplying the current price by the total supply.
Importance: Market cap is a key indicator of a cryptocurrency’s size and market dominance. It helps compare the relative size of different cryptocurrencies.
🔹 Market Dominance
Definition: Market dominance represents a cryptocurrency’s share of the total market capitalization of all cryptocurrencies. It is calculated by dividing the market cap of the cryptocurrency by the total market cap of the cryptocurrency market.
Importance: Market dominance is a crucial indicator of a cryptocurrency's influence and relative position in the market. It helps assess the strength of a cryptocurrency compared to others and provides insights into its market presence and potential influence.
Special Consideration: Since BTC and ETH dominance is relatively high compared to other cryptocurrencies, specific adjustments are made during the presentation of values and charts. When analyzing BTC, the total market capitalization is used. For ETH analysis, BTC is excluded from the total market cap. For any other cryptocurrency besides BTC and ETH, both BTC and ETH are excluded from the total market cap to provide a more accurate view.
🔹 Active Addresses
Definition: The number of unique addresses involved in transactions within a specific period.
Importance: A higher number of active addresses suggests greater network activity and user adoption, which can be a sign of a healthy ecosystem.
🔹 Total Value Locked (TVL)
Definition: The total value of assets locked in a decentralized finance (DeFi) protocol.
Importance: TVL is a key metric for DeFi platforms, indicating the level of trust and the amount of liquidity in a protocol.
🔹 Market Value to Realized Value (MVRV)
Definition: A ratio comparing the market cap to realized cap.
Importance: A high ratio may indicate overvaluation (potential selling), while a low ratio could signal undervaluation (potential buying).
🔹 Developer Activity
Definition: The level of activity on a cryptocurrency’s public repositories (e.g., GitHub).
Importance: Strong developer activity is a sign of ongoing innovation, updates, and a healthy project.
🔹 Social Sentiment
Definition: The general sentiment or mood of the community and investors as expressed on social media and forums.
Importance: Positive sentiment often correlates with price increases, while negative sentiment can signal potential downtrends.
🔹 Holder Balance (Behavior)
Definition: Distribution of addresses by holding behavior: Traders (short-term), Cruisers (mid-term), and Hodlers (long-term).
Importance: Helps predict market behavior based on different holder types.
🔹 Holder Balance (Type)
Definition: Distribution of cryptocurrency holdings among Retail (small holders), Whales (large holders), and Investors (institutional players).
Importance: Assesses the potential impact of different user groups on the market. A more decentralized distribution is generally viewed as positive, reducing the risk of price manipulation by large holders.
These metrics provide a comprehensive view of a cryptocurrency’s health, adoption, and potential for growth, making them essential for fundamental analysis in the crypto space.
🔶 SETTINGS
The script offers a range of customizable settings to tailor the analysis to your trading needs.
🔹 On-Chain Analysis
On-Chain Data: Choose the specific on-chain metric from the drop-down menu. Options include Wallet Profitability, Exchange Flow, Miner Flow, On-Chain Volume, Large Buyers/Sellers (Volume), Market Capitalization, Market Dominance, Active Addresses, Total Value Locked, Market Value to Realized Value, Developer Activity, Social Sentiment, Holder Balance (Behavior), and Holder Balance (Type).
Smoothing: Set the smoothing level to refine the displayed data. This can help in filtering out noise and getting a clearer view of trends.
Signal Line: Choose a signal line type (SMA, EMA, RMA, or None) and the length of the moving average for signal line calculation.
🔹 On-Chain Dashboard
On-Chain Stats: Toggle the display of the on-chain statistics.
Dashboard Size, Position, and Colors: Customize the size, position, and colors of the on-chain dashboard on the chart.
🔶 LIMITATIONS
Availability of on-chain data may vary and may not be accessible for all crypto assets.
🔶 RELATED SCRIPTS
Market-Sentiment-Technicals
Price Down from Monthly High (%)//@version=5
indicator("Price Down from Monthly High (%)", overlay=true)
// Get the highest price of the current month
monthlyHigh = request.security(syminfo.tickerid, "M", high)
// Calculate the percentage price down from the monthly high
percentageDown = ((monthlyHigh - close) / monthlyHigh) * 100
// Plot the percentage down from the monthly high
plot(percentageDown, color=color.red, title="Percentage Down from Monthly High", linewidth=2)
Hammer & Inverted Hammer DetectorLes bougies Hammer sont généralement caractérisées par un petit corps situé dans la moitié supérieure de la bougie et une longue mèche inférieure.
Financials Score All Description of the "Financials Score All" Script
This Pine Script calculates a financial score for a specific stock, based on various financial metrics. The purpose is to provide a comprehensive numerical score that reflects the financial health of the stock. The score is calculated using multiple financial indicators, including profitability, valuation, debt management, and liquidity. Here’s a breakdown of what each part of the script does:
period = input.string('FQ', 'Period', options= )
FQ refers to Quarterly financial data.
FY refers to Fiscal Year financial data.
Financial Metrics:
The script uses various financial metrics to calculate the score. These are obtained via request.financial, which retrieves financial data for the stock from TradingView's database. Below are the metrics used:
opmar (Operating Margin): Measures the company's profitability as a percentage of revenue.
eps (Earnings Per Share): Represents the portion of a company's profit allocated to each outstanding share.
eps_ttm (Earnings Per Share – Trailing Twelve Months): EPS over the most recent 12 months.
pe_ratio (Price-to-Earnings Ratio): A measure of the price investors are willing to pay for a stock relative to its earnings.
pb_ratio (Price-to-Book Ratio): A valuation ratio comparing a company’s market value to its book value.
de_ratio (Debt-to-Equity Ratio): A measure of the company’s financial leverage, showing how much debt it has compared to shareholders' equity.
roe_pb (Return on Equity Adjusted to Book): Measures the company's profitability relative to its book value.
fcf_per_share (Free Cash Flow per Share): Represents the free cash flow available for dividends, debt reduction, or reinvestment, per share.
pfcf_ratio (Price-to-Free-Cash-Flow Ratio): A measure comparing a company’s market value to its free cash flow.
current_ratio (Current Ratio): A liquidity ratio that measures a company's ability to pay short-term obligations with its current assets.
RSI Calculation:
The script calculates the Relative Strength Index (RSI) for the stock using an 8-period lookback:
rsi = ta.rsi(close, 8)
Score Calculation:
The script calculates a total score by adding points based on the values of the financial metrics. Each metric is checked against a condition, and if the condition is met, the score is incremented:
If the Operating Margin (opmar) is greater than 20, the score is incremented by 20 points.
If Earnings Per Share (EPS) is positive, 10 points are added.
If the P/E ratio is between 0 and 20, 10 points are added.
If the P/B ratio is less than 3, 10 points are added.
If the Debt-to-Equity ratio is less than 0.8, 10 points are added.
If the Return on Equity Adjusted to Book is greater than 10, 10 points are added.
If the P/FCF ratio is between 0 and 15, 10 points are added.
If the Current Ratio is greater than 1.61, 10 points are added.
If the RSI is less than 35, 10 points are added.
The score is accumulated based on these conditions and stored in the total_score variable.
Displaying the Total Score:
Finally, the total score is plotted on the chart:
Summary of How It Works:
This script calculates a financial score for a stock using a variety of financial indicators. Each metric has a threshold, and when the stock meets certain criteria (for example, a good operating margin, a healthy debt-to-equity ratio, or a low P/E ratio), points are added to the overall score. The result is a single numerical value that reflects the financial health of the stock.
This score can help traders or investors identify companies with strong financials, or serve as a comparison tool between different stocks based on their financial health.
Generally >60 is the best stocks for med and long term trades
CELEBI KESISMEmerhaba. bu üründe sarı zemin kesişme güzel bir yükselişin habercisidir. saatlikte 100-300 değerleri güzel çalışır. 4 saatlikte en iyi sonucu verir ki bu da 8-45 ayarları ile güzel çalışır.
Weekly 4PM GMT Open Price Lines this is to easily help identify the London fix time zone these levels are useful as there is 80% chance the level gets tagged the following day
Dynamic Risk-Adjusted Performance Ratios with TableWith this indicator, you have everything you need to monitor and compare the Sharpe ratio, Sortino ratio, and Omega ratio across multiple assets—all in one place. This tool is designed to help save time and improve efficiency by letting you track up to 15 assets simultaneously in a fully customizable table. You can adjust the lookback period to fit your trading strategy and get a clearer picture of how your assets perform over time. Instead of switching between charts, this indicator puts all the critical information you need at your fingertips.
Sharpe Ratio -
Helps evaluate the overall efficiency of investments by comparing the average return to the total risk (measured by the standard deviation of all returns). Essentially, it tells you how much excess return you’re getting for each unit of risk you’re taking. A higher Sharpe ratio means you’re getting better risk-adjusted performance—something you’ll want to aim for in your portfolio.
Sortino Ratio -
Goes a step further by focusing only on downside risk—because let’s face it, no one worries about positive volatility. This ratio is calculated by dividing the average return by the standard deviation of only the negative returns. Perfect for those concerned about avoiding losses rather than chasing extreme gains. It gives you a sharper view of how well your assets are performing relative to the risks you’re trying to avoid.
Omega Ratio -
Offers a unique perspective by comparing the sum of positive returns to the absolute sum of negative returns. It’s a straightforward way to see if your wins outweigh your losses. A higher Omega ratio means your positive returns significantly exceed the downside, which is exactly what you want when building a strong, reliable portfolio.
This indicator is perfect for traders who want to streamline their decision-making process and gain an edge. Bringing together these three critical ratios into a single user-defined table makes it easy to compare and rank assets at a glance. Whether optimizing a portfolio or looking for the best opportunities, this tool helps you stay ahead by focusing on risk-adjusted returns. The customizable lookback period lets you tailor the analysis to fit your unique trading approach, giving you insights that align with your goals. If you’re serious about making data-driven decisions and improving your trading outcomes, this indicator is a game-changer for your toolkit.
Data TransformerIt is a data transformer. Is something TradingView lacks right now.
It is simple, it lets you transform the symbol of the chart into this options:
% change
change
QoQ change
QoQ change %
YoY change
YoY change %
Drawdawn %
Drawdawn
Cumulative
Altcoin Exit Signal👉 This indicator is designed to help traders identify optimal times to sell altcoins during the peak of a bull market. By analyzing the historical ratio of the "OTHERS" market cap (all altcoins excluding the top 10) to Bitcoin, it signals when altcoins are nearing their cycle peaks and may be due for a decline. This is a good indicator to use for smaller altcoins outside of the top 10 by marketcap. Designed to be used on the daily timeframe.
⭐ YouTube: Money On The Move
⭐ www.youtube.com
⭐ Crypto Patreon: www.patreon.com
👉 HOW TO USE: Historically, when the white line touches or crosses the red line, it has signaled that the top of the altcoin market cycle is approaching, making it an ideal time to consider exiting altcoins before a potential decline. While the primary focus is on smaller altcoins, this tool can also be useful for larger coins by identifying trends and shifts in market dominance. The indicator uses a predefined threshold tailored for smaller altcoins as a key signal for an exit strategy.
Disclaimer: As with all indicators, past performance is not indicative of future results. Cryptocurrency trading involves significant risk and can result in the loss of your investment. This indicator should not be considered as financial advice, nor is it a recommendation to buy or sell any financial asset. Always conduct your own research and consult with a licensed financial advisor before making any investment decisions. Trading cryptocurrencies is speculative and inherently volatile, and you should only trade with money you are willing to lose.
Cameron's 1m Swing Structure IndicatorThis is based off of Pips2Profit's www.youtube.com
I am no programmer, took the CC and had ChatGPT do the coding. I found it amazing, thought I would share.
For educational use only. :P
Correlation Pro
Smart Correlation Pro is an indicator for assessing the correlation between two assets in the market. It analyzes correlation over a selected period and provides traders with flexible tools for making informed decisions.
Key Features:
1. Correlation coefficient (-1 to 1):
• 1: Perfect positive correlation (movement in the same direction).
• 0: No correlation (assets are independent).
• -1: Perfect negative correlation (movement in opposite directions).
2. Dynamic analysis:
• Changes the color of the line depending on the strength of the correlation:
• Green — high positive correlation.
• Red — high negative correlation.
• Gray — weak or no correlation.
3. Trading signals:
• Automatic alerts when important correlation levels are reached (> 0.8 or < -0.8).
• Visual cues for identifying potential entry points or risk diversification.
4. Customizable settings:
• Compare any two assets (e.g., BTC and ETH).
• Ability to choose the correlation calculation period.
Who it’s for:
• Traders analyzing coin movements in the cryptocurrency market.
• Investors looking for the strongest or weakest assets for their portfolio.
• Those working with hedging or diversification strategies.
How to Use:
1. Set the second asset in the indicator settings.
2. Analyze the correlation change on the chart:
• High positive correlation → similar price movement, opportunity for hedging.
• High negative correlation → opposite movement, suitable for diversification.
• Low correlation → independence of assets, opportunity to choose the stronger asset.
Benefits:
• Easy to use.
• Instant analysis of asset correlations.
• Increases decision-making accuracy in the market.
(Опис:
Smart Correlation Pro — це індикатор для оцінки взаємозв’язку між двома активами на ринку. Він аналізує кореляцію за обраним періодом та надає трейдерам гнучкі інструменти для ухвалення обґрунтованих рішень.
Основні можливості:
1. Коефіцієнт кореляції (-1 до 1):
• 1: Ідеальна позитивна кореляція (рух в одному напрямку).
• 0: Відсутність кореляції (активи незалежні).
• -1: Ідеальна негативна кореляція (рух у протилежних напрямках).
2. Динамічний аналіз:
• Змінює колір лінії залежно від сили кореляції:
• Зелений — висока позитивна кореляція.
• Червоний — висока негативна кореляція.
• Сірий — слабка або відсутня кореляція.
3. Сигнали для трейдингу:
• Автоматичні оповіщення при досягненні важливих рівнів кореляції (> 0.8 або < -0.8).
• Візуальні підказки для визначення можливих точок входу або диверсифікації ризиків.
4. Гнучкість налаштувань:
• Порівнюйте будь-які два активи (наприклад, BTC та ETH).
• Можливість обирати період розрахунку кореляції.
Кому підходить:
• Трейдерам, які аналізують рух монет на криптовалютному ринку.
• Інвесторам, що шукають найсильніші або найслабші активи для портфеля.
• Тих, хто працює з хеджуванням або диверсифікацією.
Як використовувати:
1. Встановіть другий актив у параметрах індикатора.
2. Аналізуйте зміну кореляції на графіку:
• Висока позитивна кореляція → схожий рух цін, можливість хеджування.
• Висока негативна кореляція → протилежний рух, підходить для диверсифікації.
• Низька кореляція → незалежність активів, можливість вибору сильнішого активу.
Переваги:
• Простота у використанні.
• Миттєвий аналіз взаємозв’язків між активами.
• Підвищує точність рішень на ринку.)
ROE BandROE Band shows the return on net profit from shareholders' equity and the formula for decomposition
ROE = ROA x CSL x CEL
ROE Band consists of 5 parts:
1. ROE (TTM) is the 12-month ROE calculation in "green"
2. Return on Equity (ROE) is the current quarterly net profit / the average of the beginning and ending periods of shareholders' equity in "yellow"
3. Return on Assets (ROA) is the current quarterly NOPAT (net profit before tax) / the average of the beginning and ending periods of total assets in "blue"
4. Capital structure leverage (CSL) is a financial measure that compares a company's debt to its total capital. It is calculated by taking the average of the beginning and ending periods of total assets / the average of the beginning and ending periods of shareholders' equity. The higher the CSL, the more deb, in. "red"
5. Common earnings leverage (CEL) is the proportion of net profit and NOPAT (net profit before tax), where a lower CEL means more tax, in "orange"
The "😱" emoji represents the value if it increases by more than or decreases by less than 20%, e.g.
- ROE(TTM), ROE, ROA, CEL is decreasing
- CSL is increasing
The "🔥" emoji represents the value if it increases by more than or decreases, e.g.
- ROE(TTM), ROE, ROA, CEL is increasing
- CSL is decreasing