Support & Resistance Levels//@version=6
// Copyright (C) 2024 . All Rights Reserved.
// Unauthorized copying, sharing, or distribution of this code is prohibited.
// This script is licensed for personal use only. Redistribution, modification, or resale is prohibited without explicit permission.
📊 Support and Resistance Levels - Script Overview 🚀
---
🛡️ 1. Script Description:
- 📌 Script Name: Support and Resistance Levels
---
🎯 2. Purpose:
- 📊 This script automatically identifies key support and resistance levels on the charts.
- 🚀 It helps traders to easily spot important market areas and make informed trading decisions based on these levels.
---
⚙️ 3. How it works:
1️⃣ The script analyzes historical highs and lows to identify support and resistance areas.
2️⃣ Sustainable levels are marked using past data, which can act as potential reversal points.
3️⃣ Color-coded lines:
- 🎀 Pink line: Represents important resistance levels.
- 🔵 Blue line: Represents important support levels.
---
📝 4. How to use:
1️⃣ Apply the script to your chart.
2️⃣ Observe the marked support and resistance levels to guide your trades.
3️⃣ 📉 Near resistance levels, consider planning a short trade.
4️⃣ 📈 Near support levels, consider planning long trades.
---
✨ 5. Unique Features:
✅ Automatic level detection: No need for manual drawing.
✅ Advanced algorithm: Identifies reliable support and resistance levels, minimizing false signals.
✅ Versatile use: Ideal for swing traders and intraday traders.
✅ Multi-timeframe display: Shows key levels across all timeframes.
---
⚠️ 6. Limitations:
- 🚫 Dynamic nature: Support and resistance levels may change due to market volatility.
- 📊 Increased accuracy: Combine this script with other indicators or strategies for better results.
---
📚 7. User Guide:
1️⃣ Once applied, the chart will display color-coded support and resistance lines.
2️⃣ Use these lines to identify price trends, breakout zones, and reversal points.
3️⃣ 📊 Improve decision-making by combining this script with tools like RSI, MACD, and volume indicators.
📝 8. Disclaimer:
The script titled “Support and Resistance Levels” is created in compliance with TradingView house rules and community guidelines.
- ✅ It is an original work and does not violate intellectual property rights.
- ✅ The script does not contain deceptive, inappropriate, or harmful content.
- ✅ It follows ethical coding standards and includes clear instructions for users.
- ✅ Transparency is maintained regarding the purpose, functionality, and limitations of the script.
- ⚠️ Although every effort has been made to make the script function as expected, "ramumaurya" cannot guarantee faultless performance or suitability for all trading strategies.
- ✅ Designed to aid analysis and decision-making.
- ⚠️ Not financial advice; past performance is not indicative of future results.
- 🧠 Traders are advised to do their research and combine this script with other tools and strategies.
- 📚 Understanding the functioning of the script is recommended for effective trading practices.
Phân tích Xu hướng
Uptrick: Arbitrage OpportunityINTRODUCTION
This script, titled Uptrick: Arbitrage Monitor, is a Pine Script™ indicator that aims to help traders quickly visualize potential arbitrage scenarios across multiple cryptocurrency exchanges. Arbitrage, in general, involves taking advantage of price differences for the same asset across different trading platforms. By comparing market prices of the same symbol on two user-selected exchanges, as well as scanning a broader list of exchanges, this script attempts to signal areas where you might want to buy on one exchange and sell on another. It includes various graphical tools, calculations, and an optional Automated Detection signal feature, allowing users to incorporate more advanced data scanning into their trading decisions. Keep in mind that transaction fees must also be considered in real-world scenarios. These fees can negate potential profits and, in some cases, result in a net loss.
PURPOSE
The primary purpose of this indicator is to show potential percentage differences between the same cryptocurrency trading pairs on two different exchanges. This difference is displayed numerically, visually as a line chart, and it is also tested against user-defined thresholds. With the threshold in place, buy and sell signals can be generated. The script allows you to quickly gauge how significant a spread is between two exchanges and whether that spread surpasses a specified threshold. This is particularly useful for arbitrage trading, where an asset is bought at a lower price on one exchange and sold at a higher price on another, capitalizing on price discrepancies. By identifying these opportunities, traders can potentially secure profits across different markets.
WHY IT WAS MADE
This script was developed to help traders who frequently look for arbitrage opportunities in the fast-paced cryptocurrency market. Cryptocurrencies sometimes experience quick price divergences across different exchanges. By having an automated approach that compares and displays prices, traders can spend less time manually tracking price discrepancies and more time focusing on actual trading strategies. The script was also made with user customization in mind, allowing you to toggle an optional Automated-based approach and choose different moving average methods to smooth out the displayed price difference.
WHAT ARBITRAGE IS
Arbitrage is the practice of buying an asset on one market (or exchange) at a lower price and simultaneously selling it on another market where the price is higher, thus profiting from the price difference. In cryptocurrency markets, these price differentials can occur across multiple exchanges due to varying liquidity, trading volume, geographic factors, or market inefficiencies. Though sometimes small, these differences can be exploited for profit when approached methodically.
EXPLANATION OF INPUTS
The script includes a variety of user inputs that help tailor the indicator to your specific needs:
1. Compared Symbol 1: This is the primary symbol you want to track (for example, BTCUSDT). Make sure it's written in all capital and make sure that it's price from that exchange is available on Tradingview.
2. Compare Exchange 1: The first exchange on which the script will request pricing data for the chosen symbol.
3. Compared to Exchange: The second exchange, used for the comparison.
4. Opportunity Threshold (%): A percentage threshold that, when exceeded by the price difference, can trigger buy or sell signals.
5. Plot Style?: Allows you to choose between plotting the raw difference line or a moving average of that difference.
6. MA Type: Select among SMA, EMA, WMA, RMA, or HMA for your moving average calculation.
7. MA Length: The lookback period for the selected moving average.
8. Plot Buy/Sell Signals?: Enables or disables the plotting of arrows signaling potential buy or sell zones based on threshold crossovers.
9. Automated Detection?: Toggles an additional multi-exchange data scan feature that calculates the highest and lowest prices for the specified symbol across a predefined list of exchanges.
CALCULATIONS
At its core, the script calculates price1 and price2 using the request.security function to fetch close prices from two selected exchanges. The difference is measured as (price1 - price2) / price2 * 100. This results in a percentage that indicates how much higher or lower price1 is relative to price2. Additionally, the script calculates a slope for this difference, which helps color the line depending on whether it is trending up or down. If you choose the moving average option, the script will replace the raw difference data with one of several moving average calculations (SMA, EMA, WMA, RMA, or HMA).
The script also includes an iterative scan of up to 15 different exchanges for Automated detection, collecting the highest and lowest price across all those exchanges. If the Automated option is enabled, it compiles a potential recommendation: buy at the cheapest exchange price and sell at the most expensive one. The difference across all exchanges (allExDiffPercent) is calculated using (highestPriceAll - lowestPriceAll) / lowestPriceAll * 100.
WHAT AUTOMATED DETECTION SIGNAL DOES
If enabled, the Automated detection feature scans all 15 supported exchanges for the specified symbol. It then identifies the exchange with the highest price and the exchange with the lowest price. The script displays a recommended action: buy on the lowest-exchange price and sell on the highest-exchange price. While called “Automated,” it is essentially a multi-exchange data query that automates a portion of research by consolidating different price points. It does not replace thorough analysis or guaranteed execution; it simply provides an overview of potential extremes.
WHAT ALL-EX-DIFF IS
The variable allExDiffPercent is used to show the overall difference between the highest price and the lowest price found among the 15 pre-chosen exchanges. This figure can be useful for anyone wanting a big-picture view of how large the arbitrage spread might be across the broader market.
SIGNALS AND HOW THEY ARE GENERATED
The script provides two main modes of signal generation:
1. Raw Difference Mode: If the user chooses “Use Normal Line,” the script compares the percentage difference of the two selected exchanges (price1 and price2) to the user-defined threshold. When the difference crosses under the positive threshold, a sell signal is displayed (red arrow). Conversely, when the difference crosses above the negative threshold, a buy signal is displayed (green arrow).
2. Moving Average Mode: If the user selects “Use Moving Average,” the script instead references the moving average values (maValue). The signals fire under similar conditions but use the average line to gauge whether the threshold has been crossed.
HOW TO USE THE INDICATOR
1. Add the script to your chart in TradingView.
2. In the script’s settings panel, configure the symbol you wish to compare (for example, BTCUSDT), choose the two exchanges you want to evaluate, and set your desired threshold.
3. Optionally, pick a moving average type and length if you prefer a smoother representation of the difference.
4. Enable or disable buy/sell signals according to your preference.
5. If you’d like to see potential extremes among a broader list of exchanges, enable Automated Detection. Keep in mind that this feature runs additional security requests, so it might slow down performance on weaker devices or if you already have many scripts running.
EXCHANGES TO USE
The script currently supports up to 15 exchanges: BYBIT, BINANCE, MEXC, BLOFIN, BITGET, OKX, KUCOIN, COINBASE, COINEX, PHEMEX, POLONIEX, GATEIO, BITSTAMP, and KRAKEN. You can choose any two of these for direct comparison, and if you enable the Automated detection, it will attempt to query them all to find extremes in real time.
VISUALS
The exchanges and current prices & differences are all plotted in the table while the colored line represents the difference in the price. The two thresholds colored red are where signals are generated. A cross below the upper threshold is a sell signal and a cross above the lower threshold is a buy signal. In the line at the bottom, purple is a negative slope and aqua is a positive slope.
LIMITATIONS AND POTENTIAL PROBLEMS
If you enable too many visual elements such as signals, additional lines, and the Automated-based scanning table, you may find that your chart becomes cluttered, or text might overlap. One workaround is to remove and reapply the indicator to refresh its display. You may also want to reduce the number of displayed table rows by disabling some features if your chart becomes too crowded. Sometimes there might be an error that the price of an asset is not available on an exchange, to fix this, go and select another exchange to compare it to, or if it happens in Automated detection, choose a different asset, ideally more widely spread.
UNIQUENESS
This indicator stands out due to its multifaceted approach: it doesn’t just look at two exchanges but optionally scans up to 15 exchanges in real time, presenting users with a much broader view of the market. The dual-mode system (raw difference vs. moving average) allows for both immediate, unfiltered signals and smoother, noise-reduced signals depending on user preference. By default, it introduces dynamic visual cues through color changes when the slope of the difference transitions upward or downward. The optional Automated detection, while not a deep learning system, adds a functional intelligence layer by collating extreme price points from multiple exchanges in one place, thereby streamlining the manual research process. This combination of features gives the script a unique edge in the TradingView ecosystem, catering equally to novices wanting a straightforward approach and to advanced users looking for an aggregated multi-exchange analysis.
CONCLUSION
Uptrick: Arbitrage Monitor is a versatile and customizable Pine Script™ indicator that highlights price differences for a specified symbol between two user-selected exchanges. Through signals, threshold-based alerts, and optional Automated detection across multiple exchanges, it aims to support traders in identifying potential arbitrage opportunities quickly and efficiently. This script makes no guarantees of profitability but can serve as a valuable tool to add to your trading toolkit. Always use caution when implementing arbitrage strategies, and be mindful of market risks, exchange fees, and latency.
ADDITIONAL DISCLOSURES
This script is provided for educational and informational purposes only. It does not constitute financial advice or a guarantee of performance. Users are encouraged to conduct thorough research and consider the inherent risks of arbitrage trading. Market conditions can change rapidly, and orders may fail to execute at desired prices, especially when large price discrepancies attract competition from other traders.
Time Based Candle Zones [By. TradeSea ft. AB]The Time Based Candle Zone uses 12p and 8p candles to identify support and resistances zones.
Once the zone is broken by a candle close, the zone will disappear.
Key Zone Indicator [By. TradeSea]The Key Zone indicator identifies specific supply and demand zones within the market for maximum value.
The key components for this indicator are:
The Key Zones themselves
Breaker Boxes: when Key Zones are broken by a candle close, they transition into breaker boxes. When a breaker box is broken by price, the zone completely disappears.
Refined Zones: Improved Key Zones for key analysis
Inerva Arrows: Buy/sell signals based on TradeSea criteria.
Market Station [Dakon]English Guide
Feature Description:
This part of the indicator call "Market Station" identifies Support and Resistance levels based on pivot points (pivot high and pivot low). You can customize the display of these critical price levels through various settings.
How to Use:
1. Enable Support & Resistance
Key Inputs:
enableSR: Toggle the display of support and resistance levels.
useZones: Display support/resistance as zones instead of single lines.
expandSR: Expand support/resistance lines across the chart.
Steps:
Enable enableSR to show the S/R levels.
Turn on useZones to visualize broader price ranges for S/R levels.
2. Adjust Sensitivity
Key Inputs:
strengthSR: Adjust the sensitivity of S/R detection (higher sensitivity identifies more S/R levels).
zoneWidth: Set the width of the S/R zones (calculated as a percentage of the highest and lowest price range).
Steps:
Increase or decrease strengthSR to match market trends.
Widen zoneWidth to broaden the support/resistance zones.
3. Customize Colors & Line Styles
Key Inputs:
lineStyle: Choose line styles (Solid, Dotted, Dashed).
lineWidth: Adjust the thickness of the S/R lines.
Steps:
Select the preferred style for displaying S/R levels.
Line colors will dynamically change based on the current price:
Bullish (uptrend) if the price closes above S/R levels.
Bearish (downtrend) if the price closes below S/R levels.
Key Categories:
Support & Resistance Zones:
Displays S/R levels and corresponding price zones, helping traders quickly identify key price ranges.
Dynamic S/R Levels:
S/R levels dynamically change colors to reflect market bullish/bearish signals.
Sensitivity Control:
Allows users to adjust the sensitivity and display range of S/R levels to align with their trading strategy.
--------------------------------------------------------------------------------------------------------------------
Hướng dẫn sử dụng - Support & Resistance (Hỗ trợ & Kháng cự)
Mô tả chức năng:
Phần này của indicator được thiết kế để xác định các mức hỗ trợ (Support) và kháng cự (Resistance) dựa trên các điểm pivot (pivot high và pivot low). Bạn có thể tùy chỉnh hiển thị các vùng giá quan trọng này thông qua các tham số điều chỉnh.
Hướng dẫn sử dụng:
1. Kích hoạt tính năng Support & Resistance
Tham số cần chỉnh:
enableSR: Bật/tắt hiển thị các mức hỗ trợ và kháng cự.
useZones: Hiển thị vùng hỗ trợ và kháng cự thay vì chỉ hiển thị đường đơn.
expandSR: Mở rộng các đường hỗ trợ/kháng cự về cả hai phía trên biểu đồ.
Cách sử dụng:
Kích hoạt enableSR để hiển thị các mức S/R.
Nếu muốn vùng hỗ trợ/kháng cự rõ ràng hơn, bật useZones để hiển thị khoảng giá giữa các mức.
2. Điều chỉnh độ nhạy (Sensitivity)
Tham số cần chỉnh:
strengthSR: Điều chỉnh độ nhạy khi xác định các mức S/R (độ nhạy cao sẽ phát hiện nhiều mức S/R hơn).
zoneWidth: Chiều rộng của vùng hỗ trợ/kháng cự (tính theo % khoảng cách giá cao nhất và thấp nhất).
Cách sử dụng:
Tăng hoặc giảm strengthSR để phù hợp với xu hướng thị trường.
Tăng zoneWidth nếu bạn muốn mở rộng vùng hỗ trợ/kháng cự.
3. Màu sắc & Phong cách đường (Style)
Tham số cần chỉnh:
lineStyle: Chọn kiểu đường (Solid, Dotted, Dashed).
lineWidth: Điều chỉnh độ dày của đường S/R.
Cách sử dụng:
Chọn kiểu hiển thị đường S/R phù hợp với phong cách giao dịch.
Màu sắc của đường sẽ thay đổi tự động theo giá hiện tại:
Màu Bullish (tăng) nếu giá hiện tại đóng cửa cao hơn mức hỗ trợ/kháng cự.
Màu Bearish (giảm) nếu giá hiện tại đóng cửa thấp hơn mức hỗ trợ/kháng cự.
Categories chính:
Support & Resistance Zones (Vùng hỗ trợ và kháng cự):
Hiển thị các mức S/R và vùng giá tương ứng, cho phép người dùng nhanh chóng nhận diện các vùng giá quan trọng.
Dynamic S/R Levels (Mức hỗ trợ/kháng cự động):
Các mức S/R tự động thay đổi màu sắc để phản ánh tín hiệu tăng/giảm của thị trường.
Sensitivity Control (Điều chỉnh độ nhạy):
Cho phép người dùng tùy chỉnh độ nhạy và vùng hiển thị của các mức hỗ trợ và kháng cự để phù hợp với từng chiến lược giao dịch.
40six Team
Market Hunter [Dakon]Market Hunter Indicator - Usage Guide
The Market Hunter Indicator provides powerful tools to visualize market trends, liquidation levels, heatmaps, and volume profiles. It’s designed to assist traders in identifying critical zones and market sentiment on any timeframe.
Key Features:
Trend Heatmap:
Displays a visual representation of market trends using heat sensitivity and CCI values.
Shows bullish (☰) and bearish (☰) zones for better market analysis.
Liquidation Heatmap:
Highlights potential liquidation levels for both long and short positions.
Customizable leverage and display modes (Normal/HD).
Volume Profile:
Provides volume distribution over a selected price range.
Highlights Point of Control (POC) levels for bullish and bearish volume.
Color Palette:
Multiple color themes for better visualization and adaptability.
How to Use:
Add Indicator to Chart:
Apply the indicator on any timeframe that suits your trading strategy.
Enable/Disable Features:
Access settings to toggle:
Trend Heatmap: Shows bar or trend heatmaps.
Liquidation Heatmap: Displays liquidation levels for longs/shorts.
Volume Profile: Shows volume distribution with POC levels.
Customize Settings:
Adjust sensitivity, heatmap length, and volume profile parameters to fit your preferences.
Interpret Signals:
Trend Heatmap: Use color gradients and icons (☰, ▣) to spot bullish/bearish trends.
Liquidation Heatmap: Identify key zones where liquidations are likely.
Volume Profile: Analyze volume at different price levels and focus on POC zones.
This indicator is ideal for traders who want a detailed market overview. Always combine it with your trading strategy for the best results.
---------------------------------------------------------------------------------------------------------------------
Hướng Dẫn Sử Dụng Market Hunter Indicator
Market Hunter Indicator cung cấp các công cụ mạnh mẽ để hình dung xu hướng thị trường, mức thanh lý, heatmap, và volume profile. Nó được thiết kế để giúp trader xác định các vùng quan trọng và tâm lý thị trường trên mọi khung thời gian.
Tính Năng Chính:
Trend Heatmap:
Hiển thị biểu đồ nhiệt xu hướng sử dụng độ nhạy và giá trị CCI.
Hiển thị vùng tăng (☰) và giảm (☰) để phân tích xu hướng thị trường
Liquidation Heatmap:
Làm nổi bật các mức thanh lý tiềm năng cho lệnh long và short.
Tùy chỉnh đòn bẩy và chế độ hiển thị (Normal/HD).
Volume Profile:
Hiển thị phân phối khối lượng trong một dải giá đã chọn.
Làm nổi bật các mức Point of Control (POC) cho khối lượng tăng và giảm.
Bảng Màu:
Nhiều bảng màu để cải thiện khả năng quan sát và thích nghi.
Cách Sử Dụng:
Thêm Indicator vào Biểu Đồ:
Áp dụng indicator trên bất kỳ khung thời gian nào phù hợp với chiến lược giao dịch của bạn.
Bật/Tắt Tính Năng:
Truy cập cài đặt để bật/tắt:
Trend Heatmap: Hiển thị bar hoặc trend heatmap.
Liquidation Heatmap: Hiển thị các mức thanh lý cho long/short.
Volume Profile: Hiển thị phân phối khối lượng với các mức POC.
Tùy Chỉnh Cài Đặt:
Điều chỉnh độ nhạy, độ dài heatmap, và thông số volume profile để phù hợp với sở thích của bạn.
Đọc Hiểu Tín Hiệu:
Trend Heatmap: Sử dụng gradient màu và biểu tượng (☰, ▣) để nhận diện xu hướng tăng/giảm.
Liquidation Heatmap: Xác định các vùng quan trọng có khả năng xảy ra thanh lý.
Volume Profile: Phân tích khối lượng ở các mức giá khác nhau và tập trung vào vùng POC.
Indicator này lý tưởng cho các trader muốn có một cái nhìn tổng quan chi tiết về thị trường. Hãy luôn kết hợp với chiến lược giao dịch của bạn để đạt hiệu quả tốt nhất.
Volara Density Zone Locator [By. TradeSea]Identify areas of consolidation in trending markets.
Once zones are broken, they disappear from the chart.
Precision Matrix Strategy (PMS)The Precision Matrix Strategy is a comprehensive, multi-tool approach to market analysis that integrates four powerful indicators—Renko charts, RSI (Relative Strength Index), ADX (Average Directional Index), and Market Profile. This strategy leverages the unique strengths of each tool to provide traders with a holistic view of price action, trend strength, momentum, and key market levels.
Key Components:
1. Renko Charts: Filter out market noise and focus on clear price trends and reversals. Renko’s block-based approach highlights breakout zones and trend continuation patterns.
2. RSI (Relative Strength Index): Measures overbought or oversold conditions, helping identify momentum shifts and potential entry or exit points.
3. ADX (Average Directional Index): Evaluates trend strength, distinguishing between trending and range-bound markets.
4. Market Profile: Analyzes volume distribution and identifies value areas, points of control, and key support and resistance levels.
Advantages:
• Trend Confirmation: Renko and ADX work together to validate strong trends, reducing false signals.
• Momentum Analysis: RSI pinpoints high-probability entry and exit zones, enhancing timing accuracy.
• Key Levels Identification: Market Profile provides a detailed understanding of areas where significant buying or selling activity occurs.
• Noise Reduction: The combination minimizes irrelevant data, allowing traders to focus on actionable signals.
Best Suited For:
• Day traders and swing traders seeking a structured approach to trend and momentum trading.
• Markets with moderate to high volatility where trend and volume levels are critical.
By uniting these tools in a structured framework, the Precision Matrix Strategy empowers traders to make data-driven decisions with clarity and confidence.
Black Tie Session Key Levels with AlertsThe indicator draws a line at the start and end of each session, making it a helpful reference for identifying support and resistance levels. Since price often reacts strongly at the opening and closing of sessions, these lines allow you to easily pinpoint moments of high liquidity, using them in a similar way to traditional highs, lows, or support and resistance levels.
Example Use Cases:
A strong bullish reaction at the London Open line could signal an opportunity to enter a long position.
A strong bearish reaction at the London Close line could signal an opportunity to enter a short position.
These are just examples and not trading recommendations.
I hope you find it useful.
HenkieThee || Dema-Median CrossoverHenkieThee || Dema-Median Crossover
This indicator uses a Double Exponential Moving Average (DEMA) alongside a Median filter to highlight potential shifts in price momentum. When the DEMA crosses above the Median, it signals a bullish trend bias; when it crosses below, it signals a bearish bias.
Key Features
Custom Lengths: Fine-tune both DEMA and Median lengths to adapt to different market conditions or timeframes.
Dynamic Visuals: Background coloring helps you quickly recognize bullish (green) or bearish (red) zones on your chart.
Multiple Sources: Choose your own input sources (e.g., low, hl2) for DEMA or Median calculations.
User-Friendly: The script is designed to be easy to understand and integrate into various trading strategies.
How to Use
Add the indicator to your TradingView chart and select your preferred timeframe.
Adjust Henkiethee_demaleng and Henkiethee_medianleng to suit your trading style and target market.
Look for bullish or bearish crossovers as potential signals; confirm with other technical or fundamental analysis tools.
Disclaimer
This script is for educational and informational purposes only. Do your own research and utilize proper risk management before making any trading decisions.
RSI, Stochastic, Stochastic RSIThis indicator combines three popular oscillators: the RSI, Stochastic, and the Stochastic RSI. When combined, they can identify powerful buying and selling opportunities.
The RSI line acts as a visual signal by changing colors based on market conditions. It turns green when all three oscillators are in oversold territory and red when all three are overbought. When neither condition is met, it remains gray.
Simple but effective. For optimal visibility, I recommend hiding the "D" values in the settings and increasing the thickness of the RSI line to better spot the red and green signals.
EMA Cross with Timeframe ChoiceMark a set of EMA crossovers on Timeframe of your choosing.
Script will mark the crossover of EMA A1 with other EMA lengths.
OptionStrategyV6Script is implementing an options strategy using backtesting logic and buy/sell signals based on a combination of technical indicators.
Backtest Range:
You have two inputs that set the start and end dates for backtesting.
testStart and testEnd allow you to control the date range for backtesting, with default values from January 1, 2024, to January 1, 2026.
Signal Factor:
signalFactor adjusts how "fast" or "slow" the signal generation logic is. A value of 1 is considered fast, and a value of 2 is slow.
Entry Logic:
A unique label is generated for each buy entry based on the buyCounter variable, which increments on every buy signal.
Each buy signal triggers a strategy.entry order.
Exit Logic:
The position is exited at the open of the next candle using the strategy.exit function with a limit of open + 1. This ensures the exit occurs at the opening price of the next bar.
Tradingsignale Growth-Aktien mit Kauf- und Verkaufsprüfung
Dieses Skript richtet sich an Investoren, die langfristig in Growth-Aktien investieren möchten, d.h solange wie deren Trend ungebrochen ist. Es wurde entwickelt, um auf Wochencharts verwendet zu werden.
Abstrakt:
Das Skript bietet klare Signale, um langfristig in trend-starken Growth-Aktien investiert zu bleiben. Es hilft dabei den Einstiegszeitpunkt der Investition zu bestimmen, die Position in Aufwärtstrends zu halten und mögliche Risiken bei Trendumkehrungen frühzeitig zu erkennen.
Funktionsweise:
Kaufsignal ("buy"): Ein Kaufsignal wird ausgegeben, wenn ein neues Hoch das vorhergehende Hoch überschreitet und der Schlusskurs den EXP30 (Exponentieller Gleitender Durchschnitt) von unten nach oben durchbricht oder bereits durchbrochen hat.
Verkaufssignal ("Trend gebrochen"): Ein Verkaufssignal wird angezeigt, wenn der Schlusskurs den EXP30 von oben nach unten durchbricht und der Trend (basierend auf der Steigung des EXP30) nicht mehr intakt ist (negative Steigung).
This script is made for investors who want to stay long-term invested in growth stocks, i.e., as long as their trend remains unbroken. It is developed to be used on weekly charts.
Abstract:
The script provides clear signals to stay invested in strong-trending growth stocks for the long term. It helps determine the entry point for an investment, maintain positions during uptrends and identify potential risks during trend reversals at an early stage.
How it works:
Buy Signal ("buy"):
A buy signal is triggered when a new high exceeds the previous high, and the closing price crosses the EXP30 (Exponential Moving Average) from below or has already crossed it.
Sell Signal ("Trend broken"):
A sell signal is shown when the closing price crosses below the EXP30, and the trend (based on the slope of the EXP30) is no longer intact (negative slope).
Trend Retracement IndicatorTrend Retracement Indicator
Cet indicateur identifie les opportunités d'achat en trois étapes :
Détection de la tendance : Utilise une moyenne mobile simple (SMA) pour déterminer si le marché est en tendance haussière.
Zone de retracement : Calcule une zone discount basée sur les plus hauts et les plus bas des 100 dernières périodes (paramétrable) et un niveau de retracement ajustable (par défaut à 50 %).
Confirmation du retournement : Vérifie un retournement dans la zone de retracement avec un volume supérieur à 1.5 fois la moyenne sur les 10 dernières périodes.
Affichage sur le graphique
Zones clés :
Plus haut : Ligne rouge.
Plus bas : Ligne verte.
Zone de retracement : Ligne bleue.
Signal d'achat : Flèche orientée vers le haut sous les bougies.
Personnalisation
Les paramètres sont ajustables pour s'adapter à votre stratégie :
Période pour les calculs des plus hauts et bas.
Niveau de retracement (exprimé en pourcentage).
Seuil de volume pour confirmer un retournement.
Cet indicateur est idéal pour les traders utilisant des zones de discount/premium et souhaitant intégrer le volume comme critère de validation.
PARAMETRE IDEAL
Période 120
Retracement 0,5
Seuil de volume 1.8
ADR Percentage with Relative StrengthADR Percentage - Calculates the ADR percent for a stock
Relative Strength - Calculates relative strength against Nifty
Trend-Based Tops and BottomsTrend-Based Tops and Bottoms - Description Détaillée
Cet indicateur, souvent utilisé pour repérer des configurations importantes de tendance sur le graphique, est conçu pour identifier les points hauts et bas de tendance. Contrairement à un simple suivi des plus hauts et bas locaux (comme avec les retracements de Fibonacci), cet indicateur se base sur des règles spécifiques de confirmation de tendance pour déceler des sommets et creux pertinents. Voici les détails :
Fonctionnalités Principales
Détection des Sommets et Creux Basés sur la Tendance :
Identifie automatiquement les tournants significatifs de la tendance selon une logique de confirmation :
Un sommet est confirmé lorsque le prix baisse après un point haut, atteignant un niveau inférieur.
Un creux est confirmé lorsque le prix monte après un point bas, atteignant un niveau supérieur.
Flexibilité des Paramètres :
L’utilisateur peut définir des seuils spécifiques pour identifier un sommet ou un creux, comme :
Le nombre de bougies avant de confirmer une cassure.
L’amplitude minimale du mouvement en pourcentage ou en points.
Affichage Visuel Direct sur le Graphique :
Trace des icônes distinctes (comme des triangles ou des cercles) pour marquer les sommets (hauts) et les creux (bas).
Adaptation Multi-Temporalité :
Convient à toutes les unités de temps (Daily, 15H, 4H, etc.) et s’ajuste automatiquement à la période choisie.
Signalisation des Points Importants :
Fournit des alertes ou marqueurs visuels pour les sommets ou creux de tendance confirmés.
Utilisation Pratique
Détection des Points de Retournement :
Les sommets et creux identifiés peuvent être utilisés pour prévoir des retournements potentiels de tendance.
Planification de Stratégies :
Sert de base pour des stratégies comme les cassures de ligne de tendance ou les retracements.
Support à l’Analyse Technique :
Complète d’autres outils comme les supports/résistances, les bandes de Bollinger, ou les oscillateurs.
Explications Techniques
L’indicateur fonctionne selon les principes suivants :
Sommets de Tendance (Tops) :
Un sommet est confirmé lorsque :
Le prix atteint un point haut local.
Le prix baisse ensuite en cassant une structure ascendante.
L’amplitude de la baisse est supérieure à un seuil configurable.
Creux de Tendance (Bottoms) :
Un creux est confirmé lorsque :
Le prix atteint un point bas local.
Le prix monte ensuite en cassant une structure descendante.
L’amplitude de la hausse est supérieure à un seuil configurable.
Paramètres Personnalisables :
L’utilisateur peut ajuster les paramètres suivants :
Lookback Periods : Nombre de bougies analysées pour repérer les sommets/creux.
Thresholds : Niveau minimal de changement de prix (en pourcentage ou points).
Bougies de Confirmation : Nombre de bougies nécessaires pour confirmer un sommet ou un creux.
Visualisation sur le Graphique :
Les sommets sont marqués par des icônes (par exemple, des triangles rouges).
Les creux sont marqués par d’autres icônes (par exemple, des triangles verts).
AZB | ADR Indicator & Auto Plot - by Meister_azbAZB | ADR Indicator & Auto Plot - by Meister_azb
The 'AZB | ADR Indicator & Auto Plot' is a feature-rich TradingView tool designed to elevate your technical analysis. By seamlessly integrating the core elements of the AZB session-based ranges, ADR-based Fibonacci retracements, and ATR-based trailing stops, this indicator offers a robust framework for identifying high-probability trade opportunities and managing risk effectively.
Inspired by the trading strategy I created, the Accumulation Zone Breakout Strategy (AZB), this indicator automates the plotting of predefined time zones and Fibonacci levels for entry points, based on the highs and lows of these zones. This strategy is adaptable to any asset exhibiting consistent pre-market accumulation behavior. Additionally, the indicator incorporates Average Daily Range (ADR) Fibonacci levels to pinpoint potential overbought or oversold areas likely to trigger reversals.
Key Features:
Session Range Analysis
Customize session times with a user-defined time zone.
Auto-plots session highs and lows with a dynamic range box for the AZB setup.
Fully adjustable box color and transparency for personalized chart aesthetics.
Clears outdated session levels and Fibonacci lines for a clutter-free display.
Fibonacci Levels
Includes key retracement levels (0.236, 0.382, 0.5, 0.618) and extensions (1.236, 1.382).
Fully customizable line styles (dashed, dotted, solid) and label placements (left or right).
Levels automatically update based on session high and low calculations.
High-Probability Breakout Timing
Highlights specific breakout times during the session, with adjustable hours and minutes.
Adds visual emphasis using a subtle background color for clear identification.
Average Daily Range (ADR) Calculations
Scales Fibonacci levels proportionally to the ADR for accurate analysis of price movements.
ATR-Based Trailing Stop.
Computes ADR using multiple customizable methods:
Basic calculation.
Standard deviation.
Variance-based.
Implements dynamic stop-loss levels based on:
ATR (configurable period and multiplier).
Optional 10-period or 20-period moving average stops.
Color-coded tracking for long (green) and short (red) positions.
Custom Alerts
Configurable alerts for price crossing critical Fibonacci levels.
Stay ahead of market movements with instant notifications.
Customization Options:
Define flexible session parameters with full time zone compatibility.
Adjust line and fill transparency to optimize chart visibility.
Tailor Fibonacci level values, colors, and label styles to suit your strategy.
Configure multiple ATR and stop-loss settings for effective risk management.
The 'AZB | ADR Indicator & Auto Plot' is ideal for traders who:
Focus on session-specific price range and breakout analysis.
Use Fibonacci retracements for strategic entry, exit, and target levels.
Leverage ADR and ATR metrics to forecast price movements and reversals.
Need real-time alerts for critical market events.
Unleash the full potential of your trading strategy with the 'AZB | ADR Indicator & Auto Plot' and gain the competitive edge you need to succeed in today’s markets!
Disclaimer:
*This script is provided "as is," without any warranties or guarantees of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. The author is not responsible for any losses or damages resulting from the use of this code.*