Price Action BoxBu Pine Script™ kodu, fiyat aksiyonuna dayalı bir gösterge oluşturarak piyasadaki arz (supply) ve talep (demand) bölgelerini çizmeye yönelik bir analiz sunar. Aşağıda, bu kodun işlevsel bileşenlerini daha detaylı olarak açıklıyorum:
Genel Amaç:
Bu gösterge, belirli bir periyotta swing high ve swing low seviyelerini belirleyerek bu seviyelere dayalı arz ve talep bölgelerini çizer. Aynı zamanda bu bölgelerin kırılması durumunda BOS (Break of Structure) işaretleri ekler.
Kodu Detaylandırma:
1. Ayarlar ve Kullanıcı Girdileri:
Swing High/Low Length: Swing yüksek ve düşük seviyelerinin belirlenmesinde kullanılan periyot. Bu, kullanıcı tarafından ayarlanabilir.
History To Keep: Göstergede geçmişteki arz ve talep bölgelerinin sayısını belirtir.
Supply/Demand Box Width: Arz ve talep kutularının genişliği, yani ATR'ye (Average True Range) göre ne kadar genişlik bırakılacağı belirlenir.
Visual Settings: Göstergeyi kişiselleştirmek için renkler ve etiketler için ayarlar.
2. İşlevler:
f_array_add_pop: Yeni bir değer ekler ve en eski değeri diziden çıkarır. Bu işlev, belirli sayıda veriyi saklamak için kullanılır.
f_sh_sl_labels: Swing yüksek ve düşük seviyelerine etiket ekler. Bu etiketler "HH", "HL", "LH", "LL" gibi fiyat aksiyonunu gösteren etiketlerdir.
f_check_overlapping: Yeni bir talep veya arz bölgesi çizilmeden önce mevcut bölgelerle örtüşüp örtüşmediğini kontrol eder. Eğer örtüşme varsa yeni bir bölge çizilmez.
f_supply_demand: Arz ve talep bölgelerini çizer. Bu fonksiyon, arz ve talep seviyelerinin üst ve alt sınırlarını belirleyip bir kutu çizer.
f_sd_to_bos: Eğer arz veya talep bölgesi kırılırsa, bölgeyi "BOS" (Break of Structure) olarak değiştirir.
f_extend_box_endpoint: Mevcut arz ve talep kutularını günceller, sağ sınırlarını bir sonraki bar indexine uzatır.
3. Hesaplamalar:
ATR (Average True Range): Fiyatın volatilitesini ölçmek için kullanılır. Bu, arz ve talep kutularının boyutlarını belirlemek için temel alınan değerdir.
Swing High ve Swing Low: Swing yüksek ve düşük seviyeleri, belirli bir periyot içindeki en yüksek ve en düşük fiyatlar kullanılarak hesaplanır.
Box Array ve POI (Point of Interest): Çizilen arz ve talep kutularının bir koleksiyonu ve bu kutuların içinde bulunan ilgilenilen seviyeler.
4. Ana Hesaplamalar ve Eylemler:
Yeni Swing High veya Swing Low Oluşumu: Eğer yeni bir swing yüksek veya düşük oluşursa, bu seviyeler kaydedilir ve talep veya arz bölgeleri çizilir.
BOS (Break of Structure): Eğer fiyat, arz veya talep bölgesini kırarsa, bu bölgeyi "BOS" olarak işaretler.
Kutuların Uzatılması: Arz ve talep kutuları, mevcut bar indexine göre sürekli olarak uzatılır.
Görsel Özellikler:
Supply (Arz) ve Demand (Talep) Bölgeleri: Arz bölgeleri kırmızı, talep bölgeleri yeşil renkte çizilir. Ayrıca, bölgelerin etrafında bir sınır rengi de belirlenmiştir.
POI Etiketleri: Her arz ve talep bölgesinin ortasında POI (Point of Interest) etiketi gösterilir.
BOS Etiketleri: Kırılmış arz veya talep bölgelerinin üzerine BOS etiketi eklenir.
Kullanıcı Girdileriyle Özelleştirme:
Show Price Action Labels: Fiyat aksiyon etiketlerinin görünürlüğünü ayarlamak için bir seçenek. Bu etiketler swing high ve low seviyelerini belirtir.
Farklı Renk ve Boyut Seçenekleri: Arz ve talep bölgeleri için renkler ve POI etiketleri için renkler kullanıcı tarafından özelleştirilebilir.
Sonuç:
Bu Pine Script™, piyasada arz ve talep bölgelerini izlemek, önemli fiyat seviyelerini belirlemek ve bu bölgelerdeki fiyat hareketlerini analiz etmek için kapsamlı bir araç sağlar. Klasik fiyat aksiyon yöntemlerine dayalı olarak arz ve talep bölgelerinin yanı sıra bu bölgelerin kırılmasını tespit ederek işlem fırsatlarını işaret eder.
Puntos pivote y niveles
GOLDEN Trading System by @thejamiulGolden Pivot by thejamiul is the ultimate trading companion, meticulously designed to provide traders with precise and actionable market levels for maximizing trading success. With its innovative blend of pivot systems, high/low markers, and customizable features, this indicator empowers you to execute trades with accuracy and confidence.
What Makes Golden Pivot Unique?
This indicator integrates multiple pivot methodologies and key levels into one powerful tool, making it suitable for a wide variety of trading strategies. Whether you're into breakout trading, virgin trades, or analyzing market trends, Golden Pivot Pro v5 has got you covered.
Key Features:
Camarilla Pivots:
Calculates H3, H4, H5, L3, L4, and L5 levels dynamically.
Helps identify strong support and resistance zones for reversal or breakout opportunities.
Floor Pivots:
Classic pivot point along with BC (Bottom Center) and TC (Top Center) levels for intraday and swing trading setups.
Multi-Timeframe High/Low Levels:
Plots static high/low markers for yearly, monthly, weekly, and daily timeframes.
Provides clarity on major market turning points and breakout zones.
Close Price Levels:
Highlights yearly, monthly, weekly, and daily close prices to aid in understanding market bias.
Custom Timeframe Selection:
Flexibly choose daily, weekly, monthly, or yearly pivot resolutions to suit your trading style and objectives.
Comprehensive Visualization:
Color-coded levels for quick recognition of significant zones.
Dynamic updates to adapt to changing market conditions seamlessly.
EXPONOVA:
In input tab you will get EXPONOVA, it is build with two ema and gradient colours. It is very important for trend identification because if we only use pivot, we can not tell the market direction easily. So if you use the EXPONOVA we can easily tell the market trend because when the market is in up trend the EXPONOVA will be green and when the market is in downtrend the EXPONOVA will be red. So if we use pivot and EXPONOVA together we can build a rubout strategy.
This indicator enables you to implement strategies like:
Breakout Trading: Identify critical levels where price might break out for momentum trades.
Virgin Trades: Use untouched levels for precision entries with minimal risk.
Trend Reversals: Spot overbought or oversold zones using Camarilla and Floor Pivots.
Range-Bound Markets: Utilize high/low levels to define boundaries and trade within the range.
How to Use Golden Pivot by @thejamiul for High-Accuracy Trading?
1. Breakout Trading If you like breakout trading then this indicator can help you a lot, here we will only take those trade which are broke green zone or red zone. Here green zone mean H3, to H4, and red zone mean L3, L4 . If price closes above green zone then we will plan to go Long and if price closes bellow red zone then we will plan to go Short.
As you can see on the chart when price break the green zone, the market shoot up!
2. Range-Bound Trading: When market are in range bound mode, usually we fear to take trade because we don't have clear idea about major support or resistance and how to take trade in such market. But if you use this indicator it will show you the major support and resistance zone which are red and green colours in this indicator. In range bound market, market usually trade between red zone and green zone so we can trade accordingly.
There are many high possibility trading strategy based on this indicator, but we can not fully understand by writing or reading. So to understand and use this indicator properly and to take high possibility trade I will suggest to watch tutorials about this indicator on @thejamiul.
Why Choose Golden Pivot by thejamiul?
With this tool, you’re not just getting pivot points—you’re unlocking a holistic framework to trade with up to 90% accuracy when used with the right strategies.
For an in-depth understanding of these strategies and how to achieve consistent profitability,
Explore detailed tutorials, trading setups, and exclusive tips to take your trading to the next level!
👉 @thejamiul
Options Flavour by Raushan ShrivastavaThis script is for a trading strategy which combines Pivot Points and a Simple Moving Average.
It calculates support and resistance levels based on the monthly pivot point and plots them on the chart.
The script also creates conditions for entering bullish and bearish trades based on the relationship between the price and moving average.
Breakdown of the main components of the script :-
Pivot Point Calculation:
The script calculates the monthly pivot point and its associated support (S1, S2, S3) and resistance (R1, R2, R3) levels.
These levels are used to determine potential areas of interest on the chart.
Moving Average:
A simple moving average (SMA) is plotted with a length defined by the user (length_ma), used to spot trends.
Conditions for Bullish and Bearish Signals:
Bullish condition: The label appears when the market crosses the moving average upward and is above the pivot, or when the market crosses the pivot upward and is above the moving average.
Bearish condition: The label appears when the market crosses the moving average downward and is below the pivot, or when the market crosses the pivot downward and is below the moving average.
Plotting Shapes:
The pivot point, support, resistance, and previous month's high/low values are plotted on the chart as circles.
The moving average is plotted as a black line.
Labels:
Labels are placed to indicate when a bullish or bearish condition occurs. These labels appear when the conditions are met, helping visualize trading signals.
This strategy can be useful for traders who wish to combine multiple technical indicators to make more informed decisions. You can adjust the parameter for moving average length to fine-tune the strategy for different time frames and market conditions.
Link Long/Short Strategy - Long1. Introduction and structure
Your strategy is divided into several logical blocks, each block corresponding to a specific trading configuration (e.g. ‘Long_1’, ‘Long_2’, etc.). These configurations follow the same pattern:
Entry conditions (long/short): Based on the price position between predefined levels (LongRangeHigh, LongRangeLow, etc.) and a cross of EMA9 and SMA6 indicators.
Exit conditions: Conditional closing of a position if certain conditions are met (positive profit, inverse cross, etc.).
Stop Loss (SL) and Take Profit (TP): Defined by fixed levels for each configuration.
2. Technical indicators
You use two main indicators:
EMA9: Exponential moving average calculated over 9 periods.
SMA6: Simple moving average calculated over 6 periods.
These indicators are used to detect crossovers for entry and exit signals. The EMA9 crossover above the SMA6 triggers long opportunities, while the opposite crossover generates exit signals.
3. Price ranges and trading logic
For each ‘block’ in the strategy :
Price ranges are defined (LongRangeHigh, LongRangeLow, etc.) to determine where the price must be to execute a position.
Each range is divided into levels for long and short positions.
Example: Block 1
Long Range: Between 9.3 (LongRangeLow) and 10.85 (LongRangeHigh).
Short Range: Between 10.85 (ShortRangeLow) and 11.70 (ShortRangeHigh).
Special features:
An EMA9 crossover above SMA6 in the Long Range generates a long entry.
An inverse cross in the Short Range generates a conditional output.
4. Risk management
Each position is associated with Stop Loss (SL) and Take Profit (TP) levels. These are defined as follows:
TP: Often equal to the upper limit of the Long Range or Short Range.
SL: Based on the lower levels of the ranges or other configurations.
Example: Block 1
TP set to LongRangeHigh (10.85).
SL could be adjusted according to ShortRangeHigh.
5. Visual display
The script uses plot to display the following elements on the chart:
The EMA9 (blue) and SMA6 (orange) indicators.
Price levels (LongRangeHigh, LongRangeLow, etc.) and SL/TP limits.
EDIT :
SMA: 1
EMA: 23
Period : From May 2024 to January 2024
FVG Detector (Gholam version)The Fair Value Gap (FVG) Detector is a powerful tool designed to identify and highlight potential imbalance areas in the market. Fair Value Gaps, also known as "FVG" or "Liquidity Gaps," are price ranges where there has been little or no trading activity. These gaps can often act as key levels of support or resistance and may represent areas where price is likely to return to for a fill, providing potential trading opportunities.
This indicator automatically scans and marks these gaps on the chart, helping traders quickly spot areas of interest for potential reversals or continuation patterns.
Simplified Indicator: Single Buy SignalScript Overview: Simplified Indicator for Smart Entry and Exit Signals
This Pine Script is designed to provide clear BUY, SUPER BUY, and SELL signals based on simple, reliable conditions, specifically targeting users who trade based on momentum, trend strength, and volume. The indicator ensures a clutter-free chart by generating non-repetitive signals, making it ideal for daily chart traders.
Features and Logic
1. BUY Signal
Condition: A BUY signal is triggered when:
The RSI crosses above 60 from below (indicating strong momentum).
The Rate of Change (ROC) is above 0 (indicating upward price movement).
The price is above the 21-period Exponential Moving Average (EMA) (indicating an uptrend).
Frequency: The BUY signal appears only once while the conditions are met and remains suppressed until a SELL signal resets the state.
2. SUPER BUY Signal
Condition: A SUPER BUY signal is triggered when all the BUY conditions are met, plus:
The trading volume is at least 1.5 times the 20-period average volume.
Purpose: This highlights moments of significant buying pressure, signaling a potential breakout or continuation of a strong trend.
3. SELL Signal
Condition: A SELL signal is triggered when:
The RSI moves below 50 (indicating weakening momentum).
Two consecutive daily closes are lower than the previous candle’s close (indicating a downtrend is forming).
Effect: A SELL resets the state, allowing new BUY or SUPER BUY signals to be generated when conditions are met again.
How the Script Works
Momentum & Trend Detection:
The script uses RSI and ROC to detect the strength of the trend and momentum.
The 21-period EMA acts as a trend filter to ensure signals align with the broader market direction.
Volume-Based Enhancements:
Average volume conditions ensure only significant buying moments trigger SUPER BUY signals, reducing noise from low-volume moves.
Signal Optimization:
The script prevents repeated signals by tracking whether a position is currently active (using the inPosition variable).
This creates a cleaner chart, focusing only on actionable signals.
Flexibility:
Adjustable inputs for RSI, ROC, EMA period, and volume multiplier make it customizable for various trading styles.
How to Use This Indicator
BUY: Look for BUY signals to enter long positions when the stock shows strength in momentum and aligns with the uptrend.
SUPER BUY: Prioritize SUPER BUY signals for more aggressive entries, as these indicate high conviction moments with strong volume.
SELL: Use SELL signals to exit positions when momentum and price action weaken.
Customizable Inputs
ROC Length: The period for the Rate of Change calculation.
RSI Length: The period for the Relative Strength Index.
EMA Period: The period for the Exponential Moving Average.
Volume Multiplier: The factor for detecting high-volume conditions for SUPER BUY signals.
Average Volume Period: The period for calculating average volume.
Visualization
BUY: Appears as green text below the candle when conditions are met.
SUPER BUY: Appears as blue text below the candle, signifying stronger buying conditions.
SELL: Appears as red text above the candle to mark exit opportunities.
This indicator simplifies decision-making by combining robust technical criteria into actionable signals. It's ideal for swing traders and long-term investors looking for clear, data-driven entry and exit points.
Previous_DWMQY_High/Low & PivotsThis script calculates high/low pivots for different timeframes (daily, weekly, monthly, quarterly, and yearly). You have various pivot point calculation methods (Traditional, Fibonacci, Woodie, Classic, DM, Camarilla) and have inputs that allow customization of the indicator. The script also accounts for custom year-based calculations (bi-yearly, tri-yearly, quinquennially, decennially).
The first part of your code calculates the high and low levels for different timeframes, which are plotted on the chart as crosses. The second part involves the pivot point calculations, where the user selects the type of pivot point calculation (Traditional, Fibonacci, etc.), the timeframe for pivots, and other display settings.
Last 4-Hour High and Low//@version=5
indicator("Last 4-Hour High and Low", overlay=true)
// Get the high and low values for the last 4 hours (240 minutes)
high_4h = request.security(syminfo.tickerid, "240", high)
low_4h = request.security(syminfo.tickerid, "240", low)
// Plot the high and low values for the last 4 hours
plot(high_4h, color=color.green, linewidth=2, title="Last 4-Hour High")
plot(low_4h, color=color.red, linewidth=2, title="Last 4-Hour Low")
4-Hour High and Low//@version=5
indicator("4-Hour High and Low", overlay=true)
// Define the 4-hour timeframe
four_hour_high = request.security(syminfo.tickerid, "240", high, lookahead=barmerge.lookahead_on)
four_hour_low = request.security(syminfo.tickerid, "240", low, lookahead=barmerge.lookahead_on)
// Plot the 4-hour high and low
plot(four_hour_high, title="4-Hour High", color=color.new(color.green, 0), linewidth=2, style=plot.style_line)
plot(four_hour_low, title="4-Hour Low", color=color.new(color.red, 0), linewidth=2, style=plot.style_line)
Institutional Analysis NASDAQ100 & US30Script para operar NAS100 & US30 con relación 3 a 1 usando análisis institucional
High Volume Support and Resistance Levels2مؤشر "High Volume Support and Resistance Levels" هو أداة تحليل تقني تهدف إلى مساعدة المتداولين في تحديد مستويات الدعم والمقاومة الأكثر أهمية بناءً على أحجام التداول العالية. يعتمد المؤشر على فكرة أن المستويات التي تحدث عندها أحجام تداول كبيرة هي نقاط مهمة حيث يكون للسعر احتمالية كبيرة للتوقف أو الارتداد أو حتى الكسر.
فوائد استخدام المؤشر:
يتم تحديد مستويات الدعم والمقاومة بناءً على النشاط الكبير في السوق، مما يعكس أهمية هذه المستويات بالنسبة للمتداولين الآخرين هذه المستويات تعتبر نقاط رئيسية لاتخاذ قرارات التداول.
تحليل البيانات بسهولة بدلاً من الاعتماد على تحليل يدوي أو تخمين مستويات الدعم والمقاومة، يقوم المؤشر بمعالجة البيانات تلقائيًا لتوفير مستويات دقيقة.
يساعد المؤشر على التعرف على كسر الدعم أو المقاومة، وهو أمر يمكن أن يكون إشارة لبداية اتجاه جديد أو تغيير في الزخم.
تخصيص كامل حسب احتياجات المتداول:
القدرة على تحديد عدد المستويات المطلوبة (1 إلى 6 مستويات).
إمكانية اختيار ألوان الخطوط وسمكها لتتناسب مع التفضيلات الشخصية.
تنبيهات للكسر:
يرسل المؤشر تنبيهًا عندما يتجاوز السعر مستوى مقاومة أو دعم رئيسي. هذا التنبيه يمكن أن يساعد في اتخاذ قرارات سريعة للتداول.
الدقة:
المؤشر يقوم بتحليل أحجام التداول خلال فترة محددة (مثل 500 شمعة) مما يجعل نتائجه قائمة على بيانات دقيقة وموثوقة.
كيف يعمل المؤشر؟
تحليل الشموع السابقة:
المؤشر يقوم بمراجعة عدد معين من الشموع السابقة (الفترة الزمنية تُحدد في الإعدادات).
يتم اختيار الشموع ذات أحجام التداول الأعلى.
رسم خطوط الدعم والمقاومة:
يتم رسم خطوط أفقية على الرسم البياني عند أعلى وأدنى سعر للشموع ذات أحجام التداول العالية.
الخطوط تمثل مستويات الدعم والمقاومة الرئيسية.
التنبيه عند الكسر:
إذا تجاوز السعر أعلى مستوى مقاومة، يعتبر ذلك إشارة إلى كسر صعودي (Breakout).
إذا انخفض السعر أسفل مستوى الدعم، يعتبر ذلك إشارة إلى كسر هبوطي.
تنويه:
المؤشر هو أداة مساعدة فقط ويجب استخدامه مع التحليل الفني والأساسي لتحقيق أفضل النتائج.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
Introduction to the indicator:
The "High Volume Support and Resistance Levels" indicator is a technical analysis tool that aims to help traders identify the most important support and resistance levels based on high trading volumes. The indicator is based on the idea that levels at which high trading volumes occur are important points where the price has a high probability of stopping, rebounding or even breaking.
Benefits of using the indicator:
Support and resistance levels are determined based on high market activity, reflecting the importance of these levels to other traders. These levels are key points for making trading decisions.
Easily analyze data Instead of relying on manual analysis or guessing support and resistance levels, the indicator automatically processes the data to provide accurate levels.
The indicator helps identify a break of support or resistance, which can be a signal of the beginning of a new trend or a change in momentum.
Fully customizable to the needs of the trader:
Ability to specify the number of levels required (1 to 6 levels).
Possibility to choose the colors and thickness of the lines to suit personal preferences.
Break Alerts:
The indicator sends an alert when the price breaks a major resistance or support level. This alert can help in making quick trading decisions.
Accuracy:
The indicator analyzes the trading volumes over a specific period (such as 500 candles) making its results based on accurate and reliable data.
How does the indicator work?
Previous candle analysis:
The indicator reviews a certain number of previous candles (the time period is specified in the settings).
Candles with the highest trading volumes are selected.
Drawing support and resistance lines:
Horizontal lines are drawn on the chart at the highest and lowest prices of candles with high trading volumes.
The lines represent the main support and resistance levels.
Breakout alert:
If the price exceeds the highest resistance level, this is a signal for an upward breakout.
If the price drops below the support level, this is a signal for a downward breakout.
Disclaimer:
The indicator is an auxiliary tool only and should be used in conjunction with technical and fundamental analysis to achieve the best results.
Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of advice or recommendations provided or endorsed by TradingView.
Forex Daily Pivot IndicatorThis is a daily pivot indicator calculated for Forex that observes a Friday close with a Sunday evening open. It will combine Sunday and Monday together when price action dictates. It displays the pivots in a unique, easy to view manner which updates with every bar, regardless of timeframe. So, the daily pivots are always right there in your real-time view. Due to the calculation for the Forex open/close, I do not recommend this indicator for use in other markets without modification. Note: Screenshot example has line thickness set to 3. Line thickness is the only parameter you need to adjust.
BK BB Horizontal LinesIndicator Description:
I am incredibly proud and excited to share my second indicator with the TradingView community! This tool has been instrumental in helping me optimize my positioning and maximize my trades.
Bollinger Bands are a critical component of my trading strategy. I designed this indicator to work seamlessly alongside my previously introduced tool, "BK MA Horizontal Lines." This indicator focuses specifically on the Daily Bollinger Bands, applying horizontal lines to the bands which is displayed in all timeframes. The Daily bands in my opinion hold a strong significance when it comes to support and resistance, knowing your current positioning and maximizing your trades. The settings are fully adjustable to suit your preferences and trading style.
If you find success with this indicator, I kindly ask that you give back in some way through acts of philanthropy, helping others in the best way you see fit.
Good luck to everyone, and always remember: God gives us everything. May all the glory go to the Almighty!
Central Pivot Range (CPR)Central Pivot Range (CPR) Indicator
The Central Pivot Range (CPR) indicator is designed to help traders identify key levels of support and resistance based on pivot points calculated from the previous day's price action. The CPR levels act as critical areas of price convergence and potential reversal, which can help in anticipating future price movements. This version of the CPR indicator includes customizable features to enhance your trading strategy.
Key Features:
Custom Timeframe Support: The indicator allows you to select a custom timeframe for calculating the CPR levels. By default, it uses the daily timeframe ('D'), but you can adjust it to any other timeframe of your choosing. The indicator calculates the CPR and support/resistance levels based on the data from the selected timeframe.
Central Pivot (CP), Below Central Pivot (BC), and Top Central Pivot (TC):
Pivot (CP): The central pivot point is calculated as the average of the high, low, and close prices of the selected timeframe.
Below Central Pivot (BC): This is the midpoint between the high and low prices of the selected timeframe.
Top Central Pivot (TC): This is calculated based on the central pivot and below central pivot, providing a range between support and resistance levels.
Support and Resistance Levels (S1, S2, S3, R1, R2, R3):
Support Levels (S1, S2, S3): These are calculated based on the central pivot, providing potential areas where price may find support and reverse.
Resistance Levels (R1, R2, R3): These are calculated similarly but indicate potential resistance zones where price may face challenges to move higher.
Dynamic Plotting Based on User Input:
The indicator allows you to choose which levels to display on the chart, including the Central Pivot (CP), Support Levels (S1, S2, S3), and Resistance Levels (R1, R2, R3), all of which can be toggled on or off via checkboxes.
CP is displayed in white, BC and TC in blue, Support levels (S1, S2, S3) in green, and Resistance levels (R1, R2, R3) in red.
Daywise Calculations:
The CPR and levels are based on the previous day’s price action, providing historical support and resistance levels that can be useful for intraday analysis.
The request.security function is used to fetch the pivot data from the custom timeframe, ensuring the levels are calculated based on the last completed period (previous day) without repainting.
Customization Options:
CPR Plot: Toggle the visibility of the central pivot range (CPR) lines.
Support Levels (S1, S2, S3): Choose to show or hide the support levels.
Resistance Levels (R1, R2, R3): Choose to show or hide the resistance levels.
Custom Timeframe: Set a custom timeframe for calculating the CPR, allowing for more flexible and tailored analysis.
Bitcoin Reversal PredictorOverview
This indicator displays two lines that, when they cross, signal a potential reversal in Bitcoin's price trend. Historically, the high or low of a bull market cycle often occurs near the moment these lines intersect. The lines consist of an Exponential Moving Average (EMA) and a logarithmic regression line fitted to all of Bitcoin's historical data.
Inspiration
The inspiration for this indicator came from the PI Cycle Top indicator, which has accurately predicted past bull market peaks. However, I believe the PI Cycle Top indicator may not be as effective in the future. In that indicator, two lines cross to mark the top, but the extent of the cross has been diminishing over time. This was especially noticeable in the 2021 cycle, where the lines barely crossed. Because of this, I created a new indicator that I think will continue to provide reliable reversal signals in the future.
How It Works
The logarithmic regression line is fitted to the Bitcoin (BTCUSD) chart using two key factors: the 'a' factor (slope) and the 'b' factor (intercept). This results in a steadily decreasing line. The EMA oscillates above and below this regression line. Each time the two lines cross, a vertical colored bar appears, indicating that Bitcoin's price momentum is likely to reverse.
Use Cases
- Price Bottoming:
Bitcoin often bottoms out when the EMA crosses below the logarithmic regression line.
- Price Topping:
In contrast, Bitcoin often peaks when the EMA crosses above the logarithmic regression line.
- Profitable Strategy:
Trading at the crossovers of these lines can be a profitable strategy, as these moments often signal significant price reversals.
Bitcoin Logarithmic Regression BandsOverview
This indicator displays logarithmic regression bands for Bitcoin. Logarithmic regression is a statistical method used to model data where growth slows down over time. I initially created these bands in 2019 using a spreadsheet, and later coded them in TradingView in 2021. Over time, the bands proved effective at capturing Bitcoin's bull market peaks and bear market lows. In 2024, I decided to share this indicator because I believe these logarithmic regression bands offer the best fit for the Bitcoin chart.
How It Works
The logarithmic regression lines are fitted to the Bitcoin (BTCUSD) chart using two key factors: the 'a' factor (slope) and the 'b' factor (intercept). The two lines in the upper and lower bands share the same 'a' factor, but I adjust the 'b' factor by 0.2 to more accurately capture the bull market peaks and bear market lows. The formula for logaritmic regression is 10^((a * ln) - b).
How to Use the Logarithmic Regression Bands
1. Lower Band (Support Band):
The two lines in the lower band create a potential support area for Bitcoin’s price. Historically, Bitcoin’s price has always found its lows within this band during past market cycles. When the price is within the lower band, it suggests that Bitcoin is undervalued and could be set for a rebound.
2. Upper Band (Resistance Band):
The two lines in the upper band create a potential resistance area for Bitcoin’s price. Bitcoin has consistently reached its highs in this band during previous market cycles. If the price is within the upper band, it indicates that Bitcoin is overvalued, and a potential price correction may be imminent.
Use Cases
- Price Bottoming:
Bitcoin tends to bottom out at the lower band before entering a prolonged bull market or a period of sideways movement.
- Price Topping:
In reverse, Bitcoin tends to top out at the upper band before entering a bear market phase.
- Profitable Strategy:
Buying at the lower band and selling at the upper band can be a profitable trading strategy, as these bands often indicate key price levels for Bitcoin’s market cycles.
ATH DrawdownThis Pine Script indicator, titled "ATH Drawdown," is designed to help traders and analysts visualize various drawdown levels from the all-time high (ATH) of a security over the past 365 days. This indicator plots several key drawdown levels on the chart and dynamically updates their color and labels to reflect market conditions.
Key Features:
Daily High Calculation:
Fetches the daily high prices for the security using the request.security function.
Highest High Calculation:
Calculates the highest high over the last 365 days using daily data. This represents the all-time high (ATH) for the specified period.
Drawdown Levels:
Computes various drawdown levels from the ATH:
2% Drawdown
5% Drawdown
10% Drawdown
15% Drawdown
25% Drawdown
45% Drawdown
50% Drawdown
Dynamic Line Coloring:
The color of the 2% drawdown line changes dynamically based on the current closing price:
Red if the close is below the 2% drawdown level.
Green if the close is above the 2% drawdown level.
Plotting Drawdown Levels:
Plots each drawdown level on the chart with specific colors and line widths for easy visual distinction:
2% Drawdown: Green or Red, depending on the closing price.
5% Drawdown: Orange.
10% Drawdown: Blue.
15% Drawdown: Maroon.
25% Drawdown: Purple.
45% Drawdown: Yellow.
50% Drawdown: Black.
Labels for Drawdown Levels:
Adds labels at the end of each drawdown line to indicate the percentage drawdown:
Labels display "2%", "5%", "10%", "15%", "25%", "45%", and "50%" respectively.
The labels are positioned dynamically at the latest bar index to ensure they are always visible.
Example Use Cases:
Risk Management: Quickly identify significant drawdown levels to assess the risk of current positions.
Support Levels: Use drawdown levels as potential support levels where price might find buying interest.
Performance Tracking: Monitor how far the price has retraced from its all-time high to understand market sentiment and performance.
This script offers traders and analysts an efficient way to visualize and track important drawdown levels from the ATH, helping in better risk management and decision-making. The dynamic color and label features enhance the readability and usability of the indicator.
Ruhelos Pivot Points V1.0Was der Indikator macht:
Er berechnet die Pivot-Punkte (Pivot, R1, R2, R3, S1, S2, S3) für wöchentliche und monatliche Zeitrahmen.
Die Pivot-Punkte werden als Linien im Chart angezeigt, wobei Farbe, Dicke und Stil (durchgezogen, gestrichelt, gepunktet) individuell angepasst werden können.
Die Werte der Pivot-Punkte werden zusätzlich in einer übersichtlichen Tabelle dargestellt.
Die Tabelle kann in den Einstellungen des Indikators ein- und ausgeblendet werden.
Mein Ziel:
Ich wollte einen Indikator erstellen, der die Pivot-Punkte übersichtlich und flexibel darstellt, damit Trader die wichtigen Unterstützungs- und Widerstandszonen leicht erkennen können.
Offen für Feedback:
Da ich noch am Anfang meiner Pine-Script-Reise stehe, bin ich offen für jegliches Feedback und Verbesserungsvorschläge.
Insbesondere würde mich interessieren:
Gibt es Möglichkeiten, den Code zu optimieren oder zu vereinfachen?
Sind die Berechnungen der Pivot-Punkte korrekt und gibt es vielleicht bessere Formeln?
Welche zusätzlichen Funktionen könnten den Indikator noch nützlicher machen?
Ich freue mich auf eure Kommentare und Ideen!
Swing Structure Scanner [LuxAlgo]The Swing Structure Scanner Indicator is a dashboard type indicator which displays a Consolidated "High/Low-Only" view of swing structure, with the capability to retrieve and display swing points from up to 6 different tickers and timeframes at once.
🔶 USAGE
This indicator displays swing structure data from up to 6 unique tickers or timeframes; Each graph represents the current swing structure retrieved from the requested chart/s.
Each swing graph displays the current live swing point positioning relative to the previous swing points. By analyzing the different formations, patterns can more easily be recognized and found across multiple tickers or timeframes at once.
This indicator serves as a nifty tool for confluence recognition, whether that's confluence throughout market tickers, or confluence through higher timeframes on the same ticker.
Alternatively, viewing the relative positioning of each swing point to each other, should give a clearer idea when higher lows or lower highs are formed. This can potentially indicate a newly forming trend, as well as serving as a warning to watch for breakouts.
The swing length can be changed to align with each individual's strategy, as well as a display look back can be adjusted to show more or less swing points at one time.
The display is fairly customizable, it is not fixed to 6 symbols at all times and can be minimized to only display the number of symbols needed; Additionally, the display can be set to vertical mode or horizontal(default) to utilize as needed.
Note: Hover over the swing point in the dashboard to get a readout of the exact price level of the swing point.
🔶 SETTINGS
Swing Length: Set the swing length for the structure calculations.
Swing Display Lookback: Sets the number of swing points (Pairs) to display in each Swing Graph display.
Symbols: Sets the Timeframe and Symbol for each Swing Graph.
Vertical Display: Display the Swing Graphs up and down, rather than side to side.
Scaling Factor: Scales the entire indicator up or down, to fit your needs.
Eroina Trend Reversal Indicator with ConfirmationsEroina Trend Reversal Indicator with Confirmations
Overview (English):
The Trend Reversal Indicator with Confirmations is designed to identify potential trend reversals by analyzing dynamic resistance and support levels. This script uses a robust confirmation system to reduce false signals, making it ideal for traders who seek disciplined, data-driven decisions.
Key Features:
• Dynamic Levels: Calculates resistance and support levels based on user-defined lengths.
• Breakout Confirmation: Confirms trend reversals by validating price action over a specified number of candles.
• Visual Cues: Displays “LONG” and “SHORT” signals directly on the chart, alongside resistance/support levels.
• Customizable Parameters: Adaptable to different timeframes and market conditions.
How It Works:
1. Resistance & Support Levels:
• Resistance: Calculated as the highest high over the last N bars.
• Support: Calculated as the lowest low over the last N bars.
2. Breakout Detection:
• A resistance breakout occurs when the price closes above the resistance level.
• A support breakout occurs when the price closes below the support level.
3. Confirmation Logic:
• Signals are validated only if the price remains above/below the levels for a user-defined number of candles.
4. Entry Signals:
• “LONG” signals indicate a confirmed breakout above resistance.
• “SHORT” signals indicate a confirmed breakdown below support.
Settings:
• Resistance Length: Defines the number of candles used to calculate resistance levels.
• Support Length: Defines the number of candles used to calculate support levels.
• Confirmation Candles: Specifies how many candles are required to confirm breakouts.
Usage:
This indicator is ideal for identifying trend reversals and optimizing entry points. Combine it with volume analysis or other technical indicators to enhance accuracy. For example:
• Use in conjunction with RSI to avoid overbought/oversold conditions.
• Combine with moving averages to confirm the trend direction.
Overview (Additional Language):
(Your additional language description can go here after English, e.g., Russian, Spanish, etc.)
TAPDA Hourly Open Lines (Candle Body Box)-What is TAPDA?
TAPDA (Time and Price Displacement Analysis) is based on the belief that markets are driven by algorithms that respond to key time-based price levels, such as session opens. Traders who follow TAPDA track these levels to anticipate price movements, reversals, and breakouts, aligning their strategies with the patterns left by these underlying algorithms. By plotting lines at specific hourly opens, the indicator allows traders to visualize where the market may react, providing a structured way to trade alongside the algorithmic flow.
***************
**Sauce Alert** "TAPDA levels essentially act like algorithmic support and resistance" By plotting these hourly opens, the TAPDA Hourly Open Lines indicator helps traders track where algorithms might engage with the market.
***************
-How It Works:
The indicator draws a "candle body box" at selected hours, marking the open and close prices to highlight price ranges at significant times. This creates dynamic zones that reflect market sentiment and structure throughout the day. TAPDA levels are commonly respected by price, making them useful for identifying potential entry points, stop placements, and trend reversals.
-Key Features:
Customizable Hour Levels – Enable or disable specific times to fit your trading approach.
Color & Label Control – Assign unique colors and labels to each hour for better visualization.
Line Extension – Project lines for up to 24 hours into the future to track key levels.
Dynamic Cleanup – Old lines automatically delete to maintain chart clarity.
Manual Time Offset – Adjust for broker or server time zone differences.
-Current Development:
This indicator is still in development, with further updates planned to enhance functionality and customization. If you find this script helpful, feel free to copy the code and stay tuned for new features and improvements!
Previous Week High & Low with middle lineDescription:
The Previous Week High & Low Indicator is a powerful tool designed to provide traders with key reference levels from the previous trading week. It dynamically calculates and plots the previous week's high, low, and midpoint levels directly on your chart, helping you identify critical support and resistance zones.
Features:
1. **Previous Week High and Low Lines**:
- The indicator displays the high and low prices of the previous trading week, allowing you to analyze price action relative to these levels.
- These lines are plotted as step lines, visible only during the active trading days (Monday to Friday), ensuring clean and uncluttered charts.
2. Midpoint Line:
- The midpoint between the previous week's high and low is calculated and displayed as a reference level.
- This white line can act as a psychological pivot point for market participants.
3. Customizable Display:
- You can toggle the visibility of the high and low lines using input options, tailoring the indicator to your preferences.
4. Precision and Aesthetics:
- The lines are plotted with precision and styled for clarity, using subtle transparency for an unobtrusive yet informative appearance.
Use Case:
- This indicator is ideal for traders who rely on historical price levels for planning entries, exits, or stop-loss placements.
- It works seamlessly with any timeframe and asset, making it versatile for various trading strategies.
How It Works:
- The indicator fetches the previous week's high and low prices using the weekly timeframe and "lookahead" mode to ensure these levels remain static after the week's close.
- The lines are plotted only on weekdays (Monday to Friday) to exclude weekend data, ensuring accuracy for markets that operate 24/5.
This tool simplifies your chart analysis and empowers you to make informed trading decisions based on historical price dynamics.