Sag MacdThe main change in this code is the src variable. Instead of using an input for the source, it now calculates the 14-period RSI of the close price:
text
src = ta.rsi(close, 14)
This modification means that the MACD indicator will now be based on the RSI values rather than the original price data. The RSI is calculated using the default period of 14, which is a commonly used setting.
The rest of the code remains the same, applying the MACD calculations to the RSI values. This will result in a MACD indicator that reflects the momentum of the RSI rather than the price directly, potentially providing different insights into the market dynamics
Zyklen
Multi-Timeframe Candles HistogramsAt some community members' requests, I have built on the original code to make it a single indicator with the option for users to check off which timeframes they want to be shown. Choices are 1-hour, daily, weekly, and monthly.
I couldn't figure out how to separate each timeframe into its own histogram, so this is the best I can offer at the moment. If any community member wants to take a crack at it, be my guest.
Colors are customizable.
If you have a paid TW account, you can lay it down twice and put the hour and daily on one and the weekly and monthly on the other.
That said, I hope you enjoy this version of this indicator.
R.I.P. Rob Smith, creator of TheStrat.
---
Key Features and Benefits
1. Custom Timeframe Selection:
- Choose from an array of timeframes ranging from minutes to months, giving you complete flexibility in your market analysis.
- Quickly switch between different timeframes (e.g., 1-hour, daily, or weekly) to track continuity across varying levels.
2. Visual Representation of High/Low Markers:
- Enable or disable the display of high and low points to better understand price ranges and reversals.
- These markers allow you to spot key turning points on different timeframes, facilitating better entry or exit decisions.
3. Enhanced Candle Visualization:
- Displays candles with precise price levels aligned to your chosen timeframe, giving a clearer view of price trends.
- Candles are color-coded to reflect price movement, which is customizable by the user.
---
How to Use This Indicator
Monitor Multiple Timeframes Simultaneously:
- Place the indicator on your chart and choose the timeframes you want to follow (e.g., hourly, daily, weekly, monthly).
- For each instance, checkmark the desired timeframes in the menu to ensure that you’re tracking the right period.
Achieve Timeframe Continuity:
- By aligning lower timeframes with higher ones, this tool helps you confirm trends, detect reversals, and avoid trades that go against the broader market movement.
---
Why This Indicator is Valuable for Traders
This tool simplifies a core principle of TheStrat—full timeframe continuity—by visually representing price action across multiple timeframes in a clear and actionable way. It removes the guesswork and helps traders stay in sync with market momentum, regardless of the timeframe they are analyzing.
This solution offers flexibility, clarity, and speed, enabling traders to quickly grasp critical movements and improve decision-making. Whether you are a scalper focusing on intraday moves or a swing trader watching weekly trends, this tool empowers you to maintain alignment with the overall market structure.
In essence, it brings the power of TheStrat to your fingertips by offering precise and easy-to-read visual aids, allowing you to seamlessly apply Rob Smith’s philosophy to your trading.
BTC vs Mag7 Combined IndexThis Mag7 Combined Index script is a custom TradingView indicator that calculates and visualizes the collective performance of the Magnificent 7 (Mag7) stocks—Apple, Microsoft, Alphabet, Amazon, NVIDIA, Tesla, and Meta (red line) compared to Bitcoin (blue line). It normalizes the daily closing prices of each stock to their initial value on the chart, scales them into percentages, and then computes their simple average to form a combined index. The result is plotted as a single red line, offering a clear view of the aggregated performance of these influential stocks over time compared to Bitcoin.
This indicator is ideal for analyzing the overall market impact of Bitcoin compared to the Mag7 stocks.
15m MNQ Strategy IntradayHigh probability intraday trading strategy for the 15min timeframe using EMAs and has Buy/Sell indicators. This is a great strategy for A.I, contact me on Twitter/X.com @28Bamz for any further info.
Advanced Pivot Point Dashboard📊 Advanced Pivot Point Dashboard 📊
This indicator is designed to help you analyze key price levels using Pivot Points, Support, and Resistance levels. It combines visual lines on the chart with a detailed table for a comprehensive trading experience. Here's what it offers:
🎯 Key Features:
📈 Pivot Point Calculation:
Automatically calculates the Pivot Point (P) and Support/Resistance Levels (S1, S2, S3, R1, R2, R3) based on the previous day's high, low, and close prices.
📊 Table with Key Levels:
Displays all levels in a clean and organized table.
Shows the distance (%) of the current price from each level.
Includes a trend indicator (Bullish 🟢, Bearish 🔴, or Neutral ⚪) based on the price relative to the pivot point.
📏 Visual Lines on the Chart:
Draws horizontal lines for all key levels (Pivot Point, Supports, and Resistances).
Lines are automatically updated daily.
⚠️ Visual Alerts:
If the price is near a key level (within the specified alert distance), a warning icon (⚠️) appears in the table.
🔖 Optional Labels:
You can enable labels on the chart to easily identify each level (P, R1, R2, R3, S1, S2, S3).
🛠️ How to Use:
Add the Indicator:
Copy and paste the code into the Pine Script editor in TradingView.
Add the indicator to your chart.
Customize Inputs:
Show Labels: Toggle labels on the chart.
Alert Distance (%): Set the percentage distance for visual alerts.
Analyze Key Levels:
Use the lines on the chart to identify potential support and resistance zones.
Refer to the table for detailed information about each level, including distance and trend direction.
Set Alerts:
Use the warning icons (⚠️) in the table to identify when the price is approaching a key level.
📋 Table Columns:
Level: The name of the level (e.g., Pivot Point, R1, S2).
Price: The price value of the level.
Distance (%): How far the current price is from the level (in percentage).
Trend: Bullish 🟢, Bearish 🔴, or Neutral ⚪.
Alert: A warning icon (⚠️) if the price is near the level.
🚀 Why Use This Indicator?:
Comprehensive Analysis: Combines visual and tabular data for a complete view of key levels.
Customizable: Adjust the alert distance and toggle labels as needed.
Easy to Use: Perfect for both beginners and experienced traders.
📝 Example:
If the price is near R1, you'll see a warning icon (⚠️) in the table and a horizontal line on the chart.
The table will show the distance (%) from R1 and whether the trend is Bullish 🟢 or Bearish 🔴.
📌 Pro Tip:
Combine this indicator with other tools like moving averages or volume analysis for even better trading decisions!
Let me know if you have any questions or need further assistance! Happy trading! 🚀📈😊
Beardy Squeeze Pro (With high compression squeeze alert)Added high compression squeeze alert to the Beardy Squeeze Pro
Advanced Ichimoku SignalThe Advanced Ichimoku Signal is an innovative indicator that combines the strengths of the Ichimoku Cloud system with enhanced signal processing features. This tool is designed to provide traders with clearer insights into market trends and potential trading opportunities.
Key Features of the Advanced Ichimoku Signal
1. Integration of Ichimoku Components:
- The indicator utilizes essential Ichimoku elements such as **Tenkan-sen** (Conversion Line) and **Kijun-sen** (Base Line) to determine short-term and long-term market trends.
2. Enhanced Signal Logic:
- It incorporates a Weighted Moving Average (WMA) to smooth price data, allowing for better trend identification and reducing noise in volatile markets.
3. Customizable Parameters:
- Traders can adjust various parameters, including the lengths of the Tenkan-sen, Kijun-sen, and WMA, as well as their colors and thicknesses for improved visibility.
4. Dynamic Visual Signals:
- The background color changes based on bullish or bearish conditions, providing immediate visual cues for potential trade setups.
5. Signal Strength Calculation:
- The indicator calculates the strength of signals based on the distance between the closing price and the WMA, helping traders gauge the reliability of trade signals.
Importance of the Advanced Ichimoku Signal
- Trend Analysis: By combining multiple indicators, traders can identify both short-term and long-term trends effectively.
- Improved Decision Making: The clear visual signals help traders make informed decisions quickly, reducing the chances of emotional trading.
- Flexibility in Trading Strategies: The customizable nature of the indicator allows it to fit various trading styles, whether scalping or long-term investing.
- Risk Management: Understanding market momentum through this indicator aids in better risk management by providing clear entry and exit points.
Conclusion
The Advanced Ichimoku Signal is a powerful tool for traders looking to enhance their market analysis capabilities. With its advanced features and customizable settings, it offers a comprehensive approach to identifying trading opportunities in various market conditions. Integrating this indicator into your trading strategy can lead to more informed decisions and improved trading performance.
Squeeze Momentum Pro [15-Min Dashboard]🌟 Indicator Description: Squeeze Momentum Pro 🌟
Hello, trader! 👋 This indicator is designed to help you spot trading opportunities on the 15-minute chart with clear and easy-to-understand signals. Here’s how it works:
🚀 What Does This Indicator Do?
Identifies Consolidation and Expansion Periods:
When the market is in consolidation (quiet and trendless), the indicator shows a blue background with the message "Squeeze On: Wait" 🕒. It’s time to relax and wait!
When the market breaks out of consolidation (expansion), the background turns orange, and you’ll see a clear signal: "Squeeze Off" 🚨. Time to take action!
Measures Momentum:
The indicator calculates momentum (the strength of price movement) and displays it in a histogram:
Green 📈: Positive momentum (price tends to go up).
Red 📉: Negative momentum (price tends to go down).
Provides Trading Signals:
If the market exits the squeeze (Squeeze Off) and momentum is positive, you’ll see the message "Buy" ✅ with a green background. It’s a signal to go long!
If the market exits the squeeze (Squeeze Off) and momentum is negative, you’ll see the message "Sell" ❌ with a red background. It’s a signal to go short!
Measures Volatility:
The indicator includes the ATR (Average True Range) value, which tells you how much the market is moving. A high ATR means higher volatility, confirming the strength of the signal.
Shows the Trend:
On the dashboard, you’ll see whether the trend is bullish 🐂 or bearish 🐻, helping you confirm the market direction.
📊 How to Use the Indicator
Wait for Squeeze On:
When the background is blue and says "Squeeze On: Wait", the market is consolidating. Sit back and relax! 🕒
Act on Squeeze Off:
When the background turns orange and says "Squeeze Off", get ready to trade:
If momentum is positive (green) and says "Buy", look for a long opportunity ✅.
If momentum is negative (red) and says "Sell", look for a short opportunity ❌.
Confirm with Volatility:
Check the ATR value on the dashboard. A high ATR means the market is moving strongly, making the signal more reliable.
Follow the Trend:
If the trend is bullish 🐂, prioritize buy signals.
If the trend is bearish 🐻, prioritize sell signals.
💡 Tips to Maximize Your Profits
Use Stop-Loss and Take-Profit:
Place a stop-loss to protect your capital and a take-profit to lock in gains. For example:
Stop Loss: 1.5 x ATR
Take Profit: 2 x ATR
Combine with Other Tools:
Use this indicator alongside support/resistance levels or moving averages to confirm signals.
Stay Disciplined:
Don’t trade during Squeeze On (blue background). Wait for the market to break out of consolidation before taking action.
🌈 Why Is This Indicator Special?
Clear and Visual Signals 🎯: With easy-to-understand colors and messages, you’ll never miss an opportunity.
Optimized for 15-Minute Charts ⏱️: Designed to capture quick and profitable moves in the short term.
Includes Volatility and Trend 📊: Gives you all the information you need at a glance.
🚨 Important Reminder!
No indicator is perfect. Always use proper risk management and never risk more than you can afford to lose. Trading is a marathon, not a sprint! 🏁
Now you’re ready to use the Squeeze Momentum Pro and make smarter trading decisions! Good luck, and happy trading! 🚀💰
Уровни поддержки и сопротивления ликвидации Биткоина Этот индикатор поможет вам визуализировать потенциальные зоны ликвидаций на графике и принимать более информированные торговые решения.
Triple Power Stop [CHE]Triple Power Stop
This indicator provides a comprehensive multi-timeframe approach for stop level and trend analysis, tailored for traders who want enhanced precision and adaptability in their trading strategies. Here's what makes the Triple Power Stop (CHE) stand out:
Key Features:
1. ATR-Based Stop Levels:
- Uses the Average True Range (ATR) to dynamically calculate stop levels, ensuring sensitivity to market volatility.
- Adjustable ATR multiplier for fine-tuning the stop levels to fit different trading styles.
2. Multi-Timeframe Analysis:
- Evaluates trends across three different timeframes with user-defined multipliers.
- Enables deeper insight into the market's broader context while keeping the focus on precision.
3. Dynamic Volatility Adjustment:
- Introduces a unique volatility factor to enhance stop-level calculations.
- Adapts to market conditions, offering reliable support for both trending and ranging markets.
4. Clear Trend Visualization:
- Stop levels and trends are visually represented with color-coded lines (green for uptrend, red for downtrend).
- Seamlessly integrates trend changes and helps identify potential reversals.
5. Signal Alerts:
- Long and short entry signals are plotted directly on the chart for actionable insights.
- Eliminates guesswork and provides clarity in decision-making.
6. Customizability:
- Adjustable parameters such as ATR length, multipliers, and label counts, allowing traders to tailor the indicator to their strategies.
Practical Use:
The Triple Power Stop (CHE) is ideal for traders who want to:
- Manage risk effectively: With dynamically calculated stop levels, traders can protect their positions while allowing room for natural market fluctuations.
- Follow the trend: Multi-timeframe trend detection ensures alignment with broader market movements.
- Simplify decisions: Clear visual indicators and signals make trading decisions more intuitive and less stressful.
How to Use:
1. Set the ATR length and multiplier values based on your risk tolerance and trading strategy.
2. Choose multipliers for different timeframes to adapt the indicator to your preferred resolutions.
3. Use the color-coded trend lines and entry signals to time your trades and manage positions efficiently.
Disclaimer:
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Enhance your trading precision and confidence with Triple Power Stop (CHE)! 🚀
Happy trading
Chervolino
Gann Secert Radio AM Receiverenjoy this masterpiece from W D Gann, It indicates clear buy and sell entries by looking at the background. Every time background changes it's a buy or sell entry
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
Reliance 30-Minute Third Candle Breakouthere we are talking about reliance 30 min candle break out it an give you clear break out most of the time
World Digital Clock Original code developed by br.tradingview.com
In this update I added the Frankfurt stock exchange, left the times according to Western Europe, and added another light signal to identify whether the stock exchange is open or closed.
This indicator provides a digital clock and real-time status for major financial markets, including Tokyo, London, New York, and Frankfurt. It displays whether each market is currently OPEN or CLOSED, along with the time remaining until the market opens or closes. The indicator is designed to keep traders informed about market activity at a glance.
Key Features:
Digital Clock:
Displays the current time based on a user-defined UTC offset.
Customizable text color, size, and background color.
Market Status:
Shows whether each major market is OPEN or CLOSED.
Displays a countdown timer indicating the time remaining until the market opens or closes.
Includes markets for Tokyo, London, New York, and Frankfurt.
Color Indicators:
A green dot indicates the market is open.
A red dot indicates the market is closed.
Text colors for open and closed markets can be customized.
Customizable Layout:
Choose the table position on the chart (e.g., top right, bottom left).
Adjust text sizes for both the clock and market status.
Daylight Saving Time:
Automatically adjusts market opening and closing times based on daylight saving rules (e.g., summer and winter time).
Alerts:
Optionally triggers alerts when a market opens, keeping you updated in real-time.
Use Cases:
Perfect for day traders or swing traders who need to monitor global market activity.
Useful for keeping track of trading hours and planning strategies based on market availability.
Helps avoid trading outside active market hours, reducing slippage and volatility risks.
This versatile and customizable tool ensures you're always aware of market status and time zones, enhancing your trading efficiency and decision-making.
Volume Trend Analysis ProKey Features of Volume Analysis Script
1. Volume Threshold Detection
Identifies significant volume spikes
Compares current volume against 20-period moving average
Configurable sensitivity for precise signal generation
2. Trend Confirmation Mechanisms
Uses short and long-term moving averages
Validates volume signals with price action
Reduces false positive trading signals
3. Advanced Visualization
Color-coded volume bars
Triangular buy/sell signal markers
Clear visual representation of volume dynamics
4. Risk Management Components
Customizable volume threshold
Deviation sensitivity adjustment
Built-in alert conditions for real-time monitoring
Rich's DikFat Money-Counter - ITM/OTM Options Price ViewerScript Overview
This Pine Script is a custom indicator designed for use on the TradingView platform. It analyzes options contracts, extracting key information from the options symbol, and then visualizes the relationship between the current price of the underlying asset and the option's strike price. Here’s a detailed explanation of the script and its components:
Key Features
Symbol Format Validation: The script checks whether the current symbol matches the expected format of an options symbol (like TSLA250131C400.0).
Extraction of Option Components: It extracts the base symbol (e.g., TSLA), expiration date (e.g., 250131), option type (C for call, P for put), and strike price (e.g., 400.0) from the options symbol.
Price Difference Calculation: It calculates the difference between the current price of the base asset (e.g., TSLA) and the option's strike price. Depending on whether the option is a call or put, the calculation is adjusted.
Visualization: The result is plotted on the chart, with color-coded filling to indicate whether the price difference is positive (ITM) or negative (OTM).
Detailed Explanation of Code Components
1. Indicator Definition
indicator("Rich's DikFat Money-Counter - In the Money/Out of the Money Options Price Viewer", shorttitle="Options Price Viewer", overlay=true)
This line defines the indicator's name, short title, and specifies that it should be plotted on the price chart (with overlay=true).
2. Symbol Detection
currentSymbol = syminfo.ticker
This retrieves the symbol of the current asset being analyzed. The script expects this symbol to be an options contract, for example, TSLA250131C400.0.
3. Symbol Format Validation
isOptionSymbol = str.length(currentSymbol) >= 9 and str.match(currentSymbol, "^ + {6} +(\. +)?$") != ""
This checks whether the current symbol matches the expected format for an option:
The symbol must have at least 9 characters.
It must follow a specific pattern: a base symbol (letters), a 6-digit expiration date, an option type (C for Call or P for Put), and a strike price that could include decimals.
[/list>
4. Extracting Option Components
If the symbol is a valid option symbol, the following code extracts the components:
baseSymbol := str.match(currentSymbol, "^ +")
expirationDate := str.substring(currentSymbol, str.length(baseSymbol), str.length(baseSymbol) + 6)
optionType := str.substring(currentSymbol, str.length(baseSymbol) + 6, str.length(baseSymbol) + 7)
strikePrice := str.substring(currentSymbol, str.length(baseSymbol) + 7, str.length(currentSymbol))
baseSymbol: Extracts the letters representing the stock symbol (e.g., TSLA).
expirationDate: Extracts the expiration date in the form of a 6-digit number (e.g., 250131).
optionType: Extracts the option type (C for Call, P for Put).
strikePrice: Extracts the strike price, which is the value after the option type (e.g., 400.0).
[/list>
5. Fetching the Base Symbol Price
baseSymbolClose = request.security(baseSymbol, "1", close)
This line uses the request.security() function to get the most recent close price of the base symbol (e.g., TSLA) on a 1-minute chart.
6. Converting the Strike Price to a Float
strikePriceFloat = na(strikePrice) ? na : str.tonumber(strikePrice)
Converts the strike price string to a numerical value (float). If the strike price is not available (i.e., na), it will not proceed with calculations.
7. Price Difference Calculation
priceDifference = baseSymbolClose - strikePriceFloat
This calculates the difference between the base symbol's close price and the strike price. For a Call option, this represents how much the stock price is above or below the strike price.
8. Adjusting for Put Options
if optionType == "P"
priceDifference := strikePriceFloat - baseSymbolClose
If the option is a Put, the price difference is reversed because a Put option becomes valuable when the stock price is below the strike price.
9. Plotting the Price Difference
priceDiffPlot = plot(priceDifference, title="Price Difference (Strike - Base)", color=color.blue, linewidth=2, style=plot.style_line, offset=0)
This line plots the calculated price difference as a blue line.
10. Zero Line Plot
zeroLinePlot = plot(0, "Zero Midline", color=color.white, linewidth=1, style=plot.style_line, offset=0)
This plots a white line at the zero level. This helps visually separate when the price difference is positive or negative.
11. Filling the Area Between the Price Difference and Zero Line
fill(priceDiffPlot, zeroLinePlot, color=color.new(priceDifference > 0 ? color.green : color.red, 70))
This fills the area between the price difference plot and the zero line:
Green if the price difference is positive (indicating the option is In the Money for Calls or Out of the Money for Puts).
Red if the price difference is negative (indicating the option is Out of the Money for Calls or In the Money for Puts).
Final Thoughts
This script is useful for traders and options investors who want to track the status of an option relative to the current price of the underlying asset. The green and red fill colors provide an immediate visual cue for whether the option is ITM or OTM. By applying this indicator on TradingView, users can easily see whether a particular option is valuable (ITM) or worthless (OTM) based on the current market price of the underlying asset. This makes it a valuable tool for quick decision-making in options trading.
Crypto Market Caps / Global GDP %This indicator compares the total market capitalization of various crypto sectors to the global Gross Domestic Product (GDP), expressed as a percentage. The purpose of this indicator is to provide a visual representation of the relative size of the crypto market compared to the global economy, allowing traders and analysts to understand how the market is growing in relation to the overall economy.
Key Features
Crypto Market Caps -
TOTAL: Represents the total market capitalization of all cryptocurrencies.
TOTAL3: Represents the market capitalization of all cryptocurrencies, excluding Bitcoin and Ethereum.
OTHERS: Represents the market capitalization of all cryptocurrencies excluding the top 10.
Global GDP -
The indicator uses a combination of GDP data from multiple regions across the world, including:
GDP from the EU, North America (NA), and other regions.
GDP data from Asia, Latin America (LATAM), and the Middle East & North Africa (MENA).
Percentage Representation -
The market caps (TOTAL, TOTAL3, OTHERS) are compared to the global GDP, and the result is expressed as a percentage. This allows you to easily see how the size of the cryptocurrency market compares to the entire global economy at any given time.
Plotting and Visualization
The indicator plots the market cap to global GDP ratio for each category (TOTAL, TOTAL3, OTHERS) on the chart.
You can choose which plots to display through user inputs.
The percentage scale makes it easy to compare how much of the global GDP is represented by different parts of the crypto market.
Labels can be added for additional clarity, showing the exact percentage value on the chart.
How to Use
The indicator provides a clear view of the cryptocurrency market's relative size compared to the global economy.
Higher values indicate that the crypto market (or a segment of it) is becoming a larger portion of the global economy.
Lower values suggest the crypto market is still a smaller segment of the global economic activity.
User Inputs
TOTAL/GlobalGDP: Toggle visibility for the total market capitalization of all cryptocurrencies.
TOTAL3/GlobalGDP: Toggle visibility for the market cap of cryptocurrencies excluding Bitcoin and Ethereum.
OTHERS/GlobalGDP: Toggle visibility for the market cap of cryptocurrencies excluding the top 10.
Labels: Enable or disable the display of labels showing the exact percentage values.
Practical Use Cases
Market Sentiment: Gauge the overall market sentiment and potential growth relative to global economic conditions.
Investment Decisions: Help identify when the crypto market is becoming more or less significant in the context of the global economy.
Macro Analysis: Combine this indicator with other macroeconomic indicators to gain deeper insights into the broader economic landscape.
By providing an easy-to-understand percentage representation, this indicator offers valuable insights for anyone interested in tracking the relationship between cryptocurrency market cap and global economic activity.
HTF Hi-Lo Zones [CHE]HTF Hi-Lo Zones Indicator
The HTF Hi-Lo Zones Indicator is a Pine Script tool designed to highlight important high and low values from a selected higher timeframe. It provides traders with clear visual zones where price activity has reached significant points, helping in decision-making by identifying potential support and resistance levels. This indicator is customizable, allowing users to select the resolution type, control the visualization of session ranges, and even display detailed information about the chosen timeframe.
Key Functionalities
1. Timeframe Resolution Selection:
- The indicator offers three modes to determine the resolution:
- Automatic: Dynamically calculates the higher timeframe based on the current chart's resolution.
- Multiplier: Allows users to apply a multiplier to the current chart's timeframe.
- Manual: Enables manual input for custom resolution settings.
- Each resolution type ensures flexibility to suit different trading styles and strategies.
2. Data Fetching for High and Low Values:
- The indicator retrieves the current high and low values for the selected higher timeframe using `request.security`.
- It also calculates the lowest and highest values over a configurable lookback period, providing insights into significant price movements within the chosen timeframe.
3. Session High and Low Detection:
- The indicator detects whether the current value represents a new session high or low by comparing the highest and lowest values with the current data.
- This is crucial for identifying breakouts or significant turning points during a session.
4. Visual Representation:
- When a new session high or low is detected:
- Range Zones: A colored box marks the session's high-to-low range.
- Labels: Optional labels indicate "New High" or "New Low" for clarity.
- Users can customize colors, transparency, and whether range outlines or labels should be displayed.
5. Information Box:
- An optional dashboard displays details about the chosen timeframe resolution and current session activity.
- The box's size, position, and colors are fully customizable.
6. Session Tracking:
- Tracks session boundaries, updating the visualization dynamically as the session progresses.
- Displays session-specific maximum and minimum values if enabled.
7. Additional Features:
- Configurable dividers for session or daily boundaries.
- Transparency and styling options for the displayed zones.
- A dashboard for advanced visualization and information overlay.
Key Code Sections Explained
1. Resolution Determination:
- Depending on the user's input (Auto, Multiplier, or Manual), the script determines the appropriate timeframe resolution for higher timeframe analysis.
- The resolution adapts dynamically based on intraday, daily, or higher-period charts.
2. Fetching Security Data:
- Using the `getSecurityDataFunction`, the script fetches high and low values for the chosen timeframe, including historical and real-time data management to avoid repainting issues.
3. Session High/Low Logic:
- By comparing the highest and lowest values over a lookback period, the script identifies whether the current value is a new session high or low, updating session boundaries and initiating visual indicators.
4. Visualization:
- The script creates visual representations using `box.new` for range zones and `label.new` for session labels.
- These elements update dynamically to reflect the most recent data.
5. Customization Options:
- Users can configure the appearance, behavior, and displayed data through multiple input options, ensuring adaptability to individual trading preferences.
This indicator is a robust tool for tracking higher timeframe activity, offering a blend of automation, customization, and visual clarity to enhance trading strategies.
Disclaimer
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Best regards and happy trading
Chervolino
Monthly Drawdowns and Moves UP This script allows users to analyze the performance of a specific month across multiple years, focusing on maximum drawdowns and maximum upward moves within the selected month. The script offers the following features:
Dynamic Month Selection : Choose any month to analyze using an intuitive dropdown menu.
Maximum Drawdown and Upward Move Calculations :
Calculate the largest percentage drop (drawdown) and rise (move up) for the selected month each year.
Visual Highlights :
The selected month is visually highlighted on the chart with a semi-transparent overlay.
Dynamic Labels:
Labels display the maximum drawdown and upward move directly on the chart for better visualization.
Comprehensive Table Summary:
A table provides a year-by-year summary of the maximum drawdowns and upward moves for the selected month, making it easy to spot trends over time.
Customizable Display Options:
Toggle the visibility of drawdown labels, move-up labels, and the summary table for a clutter-free experience.
This tool is perfect for traders and analysts looking to identify seasonal patterns, assess risk and opportunity, and gain deeper insights into monthly performance metrics across years. Customize, explore, and make informed decisions with this powerful Pine Script indicator.
Master Bitcoin & Litecoin Stock To Flow (S2F) ModelMaster Bitcoin & Litecoin Stock-to-Flow (S2F) Model
This indicator visualizes the Stock-to-Flow (S2F) models for Bitcoin (BTC) and Litecoin (LTC) based on Plan B's methodology. It calculates S2F and projects price models for both assets, incorporating daily changes in circulating supply. The script is designed exclusively for daily timeframes.
Features:
LTC & BTC S2F Models:
Calculates Stock-to-Flow values for both assets using daily new supply and circulating supply data.
Models S2F values with a customizable multiplier for precise adjustments.
500-Day Moving Average Models:
Smoothens the S2F model by applying a 500-day (18-month) moving average, providing a long-term trend perspective.
Customizable Inputs:
Adjust LTC and BTC multipliers to fine-tune the models.
Alert for Timeframe:
Alerts users to switch to the daily timeframe if another period is selected.
Plots:
LTC S2F Model: Blue line representing Litecoin’s calculated S2F-based price model.
BTC S2F Model: Orange line representing Bitcoin’s calculated S2F-based price model.
500-Day Avg Models: Smoothened S2F models for both LTC and BTC.
Notes:
Requires daily timeframe (1D) for accurate calculations.
Supply data is sourced from GLASSNODE:LTC_SUPPLY and GLASSNODE:BTC_SUPPLY.
Disclaimer:
This model is derived from Plan B's S2F methodology and is intended for educational and entertainment purposes only. It does not reflect official predictions or financial advice. Always conduct your own research before making investment decisions.
Smart Money Breakouts [iskess 01-02 11:05]This is an big update to the excellent Smart Money Breakout Script published in Oct 2023 by ChartPrime who, to my knowledge, was the original author.
FULL CREDIT GOES TO CHARTPRIME FOR THIS ORIGINAL WORK.
Per the moderator's rules, you will find below a meaningful, detailed self-contained description that does not rely on delegation to the open source code or links to other content. You will find in the description details on what the script does, how it does that, how to use it, and how it is original.
The "Smart Money Breakouts" indicator is designed to identify breakouts based on changes in character (CHOCH) or breaks of structure (BOS) patterns, facilitating automated trading with user-defined Take Profit (TP) level.
The indicator incorporates essential elements such as volume analysis and a data table to assist traders in optimizing their strategies.
🔸Breakout Detection:
The indicator scans price movements for "Change in Character" (CHOCH) and "Break of Structure" (BOS) patterns, signaling potential breakout opportunities in the market.
🔸User-Defined TP/SL :
Traders can customize the Take Profit (TP) and Stop Loss (SL) through the indicator settings, with these levels dynamically calculated based on the Average True Range (ATR). This allows for precise risk management and profit targets that adapt to market volatility. Traders can also select the lookback period for the TP/SL calculations.
🔸Volume Analysis and Trade Direction Specific Analysis:
The indicator includes a volume checker that provides valuable insights into the strength of the breakout, taking into account trade direction.
🔸If the volume label is red and the trade is long, it suggests a higher likelihood of hitting the Stop Loss (SL).
🔸If the volume label is green and the trade is long, it indicates a higher probability of hitting the Take Profit (TP).
🔸For short trades, a red volume label suggests a higher likelihood of hitting TP, while a green label suggests a higher likelihood of hitting SL.
🔸A yellow volume label suggests that the volume is inconclusive, neither favoring bullish nor bearish movements.
🔸Data Table:
The indicator features a data table that keeps track of the number of winning and losing trades for specific timeframes or configurations. It also shows the percentage of profits vs losses, and the overall profit/loss for the selected lookback period.
This table serves as a valuable tool for traders to analyze performance and discover optimal settings and timeframes.
The "Smart Money Breakouts" indicator provides traders with a comprehensive solution for breakout trading, combining technical analysis of changes in character and breaks of structure, volume insights, and performance tracking while dynamically adjusting TP and SL levels based on market volatility through the ATR.
This version of the script is a "significant improvement" from Chart Prime's original work in the following ways:
- A selectable range of candles for the profit/loss calculations to look back on.
- An updated table that includes the percentage of wins/losses, and and overall P&L during the selected lookback range.
- The user can now select only Long trades, Short trades, or both.
- The percentage gain/loss is now indicated for every trade on the chart.
- The user can now select a different multiplier for Stop Loss or Take Profit thresholds.
Average Candle RangeThis indicator calculates and displays the average trading range of candles over a specified period, helping traders identify volatility patterns and potential trading opportunities.
Features:
- Customizable lookback period (1-500 bars)
- Clean visual display in a top-right table overlay
- High-precision calculation showing 10 decimal places
- Real-time updates with each new bar
How it Works:
The indicator calculates the range of each candle (High - Low) and then computes the Simple Moving Average (SMA) of these ranges over your specified lookback period. The result is displayed in an easy-to-read table overlay.
Use Cases:
- Volatility Analysis: Monitor market volatility trends
- Position Sizing: Help determine position sizes based on average price movements
- Trading Strategy Development: Use as a reference for setting stop losses and take profits
- Market Phase Identification: Help identify high vs low volatility market phases
Settings:
- Lookback Period: Default is 140 bars, adjustable from 1 to 500
Note:
The indicator displays values with 10 decimal places for high-precision analysis, particularly useful in markets with small price movements.
Landry Light Pine ScannerLandry Light Pine Scanner
The Landry Light Pine Scanner is a comprehensive technical analysis tool designed to identify stocks showing strong upward trends based on the Landry Light methodology. It scans for stocks where:
Today's low and yesterday's low are above the 30 EMA.
The low from two days ago is below the 30 EMA.
SMA 50 is above SMA 150, and SMA 150 is above SMA 200 (a strong bullish SMA hierarchy).
Features:
Trend Detection: Automatically highlights stocks with strong bullish trends based on EMA and SMA alignment.
Customizable Inputs: Users can adjust EMA and SMA lengths to fit their trading style.
Visual Clarity: Plots the 30 EMA, SMA 50, SMA 150, and SMA 200 directly on the chart for easy analysis.
Alert Ready: Integrated with TradingView's alert system to notify users when the conditions are met.
Chart Highlights: Automatically highlights bars that meet the conditions with a subtle green background.
Use Case:
This indicator is ideal for swing traders and position traders looking for potential breakout opportunities. By filtering stocks with a bullish structure, traders can focus on high-probability setups.
Conditions Used:
30 EMA Conditions:
Today's low is above the 30 EMA.
Yesterday's low is above the 30 EMA.
The low from two days ago is below the 30 EMA.
SMA Hierarchy:
SMA 50 is above SMA 150.
SMA 150 is above SMA 200.
Customization Options:
30 EMA Length: Adjustable to match user preferences.
SMA Lengths: SMA 50, SMA 150, and SMA 200 lengths are customizable for flexibility.
Alerts:
Users can set alerts for when the defined conditions are met, making it easy to monitor multiple stocks.
How to Use:
Apply the Indicator:
Add the indicator to your TradingView chart.
Set Alerts:
Use the built-in alert condition for automated notifications.
Analyze Trends:
Look for green-highlighted bars indicating stocks meeting the criteria.
Screen Stocks:
Use this tool as part of your screener to filter stocks efficiently.
Note:
This indicator does not provide buy or sell signals. Always combine it with other technical and fundamental analysis for informed trading decisions.
Publishing Tags:
Landry Light, EMA, SMA, Trend Analysis, Swing Trading, Position Trading, Technical Analysis, Breakout Scanner, TradingView, Pine Script