OBV Divergence Indicator [TradingFinder] On-Balance Vol Reversal🔵 Introduction
The On-Balance Volume (OBV) indicator, introduced by Joe Granville in 1963, is a powerful technical analysis tool used to measure buying and selling pressure based on trading volume and price.
By aggregating trading volume—adding it on positive days and subtracting it on negative days—OBV creates a cumulative line that reflects market volume pressure, making it valuable for confirming trends, identifying entry and exit points, and forecasting potential price movements.
Divergences between price and OBV often provide significant signals. A bearish divergence occurs when the price forms higher highs while the OBV line forms lower highs. This discrepancy indicates that upward momentum is weakening, increasing the likelihood of a downward trend.
In contrast, a bullish divergence happens when the price makes lower lows, but the OBV line forms higher lows. This suggests increasing buying pressure and the potential for an upward trend reversal.
For instance, if the price is rising but the OBV trendline is falling, it may signal a bearish divergence, warning of a possible price decline. Conversely, if the price is falling while the OBV line is rising, this could signal a bullish divergence, indicating a possible price recovery. These signals are particularly useful for identifying market turning points.
OBV often acts as a leading indicator, moving ahead of price changes. For example, a rising OBV alongside stable or declining prices can signal an impending upward breakout.
Conversely, a declining OBV with rising prices may indicate that the current uptrend is losing strength. Traders using this strategy often consider entering positions at breakout levels while setting stop losses near recent swing highs or lows to manage risk effectively.
This integration highlights how OBV divergences can provide actionable insights for predicting price movements and managing trades efficiently.
Bullish Divergence :
Bearish Divergence :
🔵 How to Use
The OBV indicator, as a cumulative tool, assists analysts in comparing volume and price changes to identify new trends and key levels for entering or exiting trades. Beyond confirming existing trends, it is particularly effective in analyzing positive and negative divergences between price and volume, providing valuable signals for trading decisions.
🟣 Bullish Divergence
A bullish divergence occurs when the price continues its downward or stable trend, but the OBV line starts rising, forming a higher low compared to its previous low. This suggests increasing volume on up days relative to down days and often signals a reversal to the upside.
For instance, if an asset's price stabilizes near a support level but the OBV line shows an upward trend, this divergence could present an opportunity to enter a long position.
🟣 Bearish Divergence
A bearish divergence occurs when the price forms higher highs, but the OBV line declines, creating lower highs compared to previous peaks. This indicates decreasing volume on up days relative to down days and often acts as a warning for a reversal to the downside.
For example, if an asset’s price approaches a resistance level while OBV starts declining, this divergence may signal the beginning of a downtrend and could indicate a good time to exit long trades or enter short positions.
🔵 Setting
Period : The "Period" setting allows you to define the number of bars or intervals for "Periodic" and "EMA" modes. A shorter period captures more short-term movements, while a longer period smooths out the fluctuations and provides a broader view of market trends.
You can enable or disable labels to highlight key levels or divergences and tables to show numerical details like values and divergence types. These options allow for a customized chart display.
🔵 Table
The following table breaks down the main features of the oscillator. It covers four critical categories: Exist, Consecutive, Divergence Quality, and Change Phase Indicator.
Exist : If divergence is detected, a "+" will appear in this row.
Consecutive: Shows the number of consecutive divergences that have formed in a short period.
Divergence Quality : Evaluates the quality of the divergence based on the number of occurrences. One is labeled "Normal," two are "Good," and three or more are considered "Strong."
Change Phase Indicator : If a phase change is detected between two oscillation peaks, this is marked in the table.
🔵 Conclusion
The OBV (On Balance Volume) indicator is a simple yet effective tool in technical analysis that combines volume and price changes to provide a comprehensive view of market buying and selling pressure. By identifying positive and negative divergences, OBV enables analysts to detect early signs of trend reversals and refine their trading strategies.
Divergences in OBV often precede price changes, making it a leading indicator for predicting market movements. Using OBV alongside other technical tools can enhance decision-making accuracy and help traders identify better entry and exit points. However, it is essential to consider the limitations of OBV, such as the potential for signal errors and the impact of sudden news events.
Ultimately, OBV serves as a complementary tool in technical analysis, aiding in trend identification, signal confirmation, and risk management. A thoughtful application of this indicator, in combination with other analytical tools, can create valuable opportunities for profiting in financial markets.
Wskaźniki i strategie
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.
CocoThe COCO🐊 indicator is a technical analysis tool primarily based on two moving averages: a 3-period Simple Moving Average (SMA) and a 21-period Weighted Moving Average (WMA). It provides visual cues through color changes: lavender when the SMA3 crosses above the WMA21, signaling potential upward momentum, and coral when the SMA3 crosses below the WMA21, suggesting potential downward momentum. Users can customize these settings. Additionally, it displays the percentage difference between the two moving averages.
The indicator also offers optional features, such as:
Trend Indication : A third moving average overlaid on the price candles, colored according to an "Enhanced ALMA" calculation. Green signals an uptrend, while orange indicates a downtrend.
EMA-Based Signal : A fourth moving average colored according to the relationship between three Exponential Moving Averages (EMAs) with periods of 4, 9, and 18. Green indicates the EMA4 is above both the EMA9 and EMA18, red signals it's below both, and yellow appears when neither condition is met.
Informative Table : Located at the bottom, this table displays the values and slopes of the Relative Strength Index (RSI) and Average Directional Index (ADX). Optionally, it can also show the Stochastic Oscillator and MACD histogram values.
Advanced Tools : Users can further enhance the indicator by adding TradingView's "ZigZag" and "Rolling VWAP" indicators, or the "STD-Filtered, N-Pole Gaussian Filter" by @loxx.
Volume Delta's Table : Volume Delta is an indicator that simplifies how you analyze trading volumes and the percentage of buy-sell activities effortlessly.
As a trader or market analyst, understanding underlying volume and trade flows is critical. The Volume Delta indicator provides thorough insight into both the total volume and the percentage of buying versus selling within the current candlestick. This information is pivotal for those looking to gauge market momentum and sentiment more effectively.
Additionally, the Volume Delta indicator can plot the candlestick colors based on the percentage of the dominant buying or selling volume. The area between the open and close prices of the candlestick is considered 100% and fills with colors corresponding to the predominant volume at that percentage.
Volume Delta also integrates the concept of Net volume. This component is crucial as it reveals the real market sentiment by calculating the difference between the volume of trades executed at an uptick and those at a downtick.
Mean Reversion V-FThis strategy workings on high volatile stock or crypto assets
It using 5 dynamic band's to get in the long position.
In same time depends on the band increases the units of the asset to get in the next position.
The unit's of the asset can be adjusted. Make sure to adjust the unit for different asset.
The bands are determined of main SMA.
There is no stop loss.
Take profit is trialing - HMA or % or average price + take profit - note if you use % trailing back test is not realistic but is working on real time.
Deviations can be adjust depends on the asset volatility.
Bullish/Bearish Reversal Bars Indicator [Sherman Bois]# Introducción
El Indicador de Barras de Reversión Alcista/Bajista utiliza la combinación del patrón de barras de reversión y el indicador Williams Alligator para ayudar a los traders a identificar probabilidades elevadas de reversión o corrección del mercado. El indicador funciona tanto en escenarios alcistas como bajistas. Visualiza las barras de reversión mediante puntos verdes (alcistas) y rojos (bajistas), además de mostrar la línea de los labios del Alligator para facilitar la interpretación de la posición del precio.
# Características
- Filtro de Índice de Facilitación de Mercado (MFI): permite filtrar las señales de reversión según condiciones MFI configurables
- Filtro de Oscilador Asombroso (AO): permite filtrar las señales según parámetros AO ajustables
- Sistema de Alertas: configurable para notificar cuando aparece una barra de reversión
# Metodología y Fundamentos
La metodología se basa en los conceptos de barras de reversión desarrollados en el análisis técnico moderno. Una barra de reversión alcista cierra en su mitad superior, mientras que una bajista cierra en su mitad inferior.
La importancia de estas barras radica en su capacidad para señalar cambios de control en el mercado. Por ejemplo, en una tendencia alcista, si aparece una barra que hace nuevo máximo pero cierra en su mitad inferior, indica que los vendedores tomaron el control al final del período, sugiriendo debilidad en la tendencia.
El indicador Williams Alligator consiste en tres líneas:
- Mandíbula (Azul): Media móvil lenta de 13 períodos
- Dientes (Rojo): Media móvil media de 8 períodos
- Labios (Verde): Media móvil rápida de 5 períodos
Las barras de reversión deben cumplir condiciones específicas respecto a estas líneas para ser válidas.
# Filtros Adicionales
1. Índice de Facilitación de Mercado (MFI):
MFI = (Máximo−Mínimo)/Volumen
Estados posibles:
- Ventana Verde: MFI y Volumen aumentan
- Ventana Falsa: MFI aumenta, Volumen disminuye
- Ventana Squat: MFI disminuye, Volumen aumenta
- Ventana Fade: MFI y Volumen disminuyen
2. Oscilador Asombroso (AO):
AO = SMA5(Precio Medio) − SMA34(Precio Medio)
# Uso del Indicador
1. Aplicar al gráfico deseado (compatible con todos los timeframes)
2. Configurar filtros MFI y AO según preferencias
3. Analizar señales:
- Punto verde + "BULL": Señal alcista
- Punto rojo + "BEAR": Señal bajista
4. Configurar alertas según necesidad
*Aviso: Herramienta educativa e informativa. El rendimiento pasado no garantiza resultados futuros.*
[Au Adaptive Trend Bollinger Bands Buy/Sell-V1]### **Adaptive Trend Bollinger Bands Buy/Sell-V1 Pine Script Indicator: Detailed Overview**
This **Pine Script** indicator is designed for the **TradingView** platform and combines two popular concepts in technical analysis: **Bollinger Bands** and **Adaptive Trend Analysis**. The purpose of this strategy is to detect buy and sell signals based on specific market conditions, making it suitable for both trending and ranging markets. Below, we will go through the indicator in detail, explaining the functionality of each component.
---
### **1. Indicator Basics: Adaptive Trend Bollinger Bands**
**Bollinger Bands** are a well-known technical analysis tool used to measure market volatility. These bands consist of a middle line (usually a moving average) and two outer bands that are placed at a certain number of standard deviations above and below the middle line.
This indicator enhances the traditional Bollinger Bands by introducing an **Adaptive Trend** element. Instead of using a fixed period for the moving average and the standard deviation, the indicator adjusts based on market conditions, making it more responsive and adaptive to changes in the market.
---
### **2. User Inputs**
In the script, users can modify several parameters to adjust the indicator to their preferences:
- **`length` (Moving Average Length)**:
- This determines the period for calculating the moving average. The default value is 20.
- **`mult` (Standard Deviation Multiplier)**:
- This multiplier adjusts the width of the Bollinger Bands by scaling the standard deviation. The default value is 2.0.
- **`useHeikinAshi` (Use Heikin-Ashi Candles?)**:
- This is a boolean (true/false) input. If set to true, the indicator will use Heikin-Ashi candles for price calculation instead of regular candles. Heikin-Ashi candles smooth out price movements and help identify trends more clearly.
- **`maType` (Moving Average Type)**:
- This input allows you to choose between a **Simple Moving Average (SMA)** or an **Exponential Moving Average (EMA)** for trend calculation.
- **`trendMultiplier` (Trend Multiplier)**:
- This multiplier is used to adjust the length of the trend. It makes the trend length adaptive, depending on market conditions.
---
### **3. Heikin-Ashi Calculations**
If `useHeikinAshi` is set to true, the script uses **Heikin-Ashi** candles for price calculation instead of regular price data. Heikin-Ashi candles are useful for smoothing out market noise and providing clearer signals for trend direction.
The Heikin-Ashi close is calculated as the average of the open, high, low, and close:
```pine
haClose = (open + high + low + close) / 4
```
The Heikin-Ashi open is calculated as the average of the open and close of the previous bar:
```pine
haOpen = (haOpen + haClose ) / 2
```
---
### **4. Adaptive Trend Calculation**
The trend length is dynamically adjusted based on the `length` and `trendMultiplier` inputs. This allows the indicator to adapt to different market conditions and determine the best trend length for analysis.
```pine
trendLength = math.round(length * trendMultiplier)
```
This dynamic trend length allows the indicator to react faster in volatile markets and smoother in stable markets.
---
### **5. Moving Average and Bollinger Bands**
The script calculates a moving average based on the selected type (SMA or EMA), and the Bollinger Bands are then drawn around it.
- The **upper band** is calculated by adding the scaled standard deviation to the moving average.
- The **lower band** is calculated by subtracting the scaled standard deviation from the moving average.
---
### **6. Buy and Sell Signals**
- **Buy Signal**: Triggered when the price crosses below the lower Bollinger Band (`crossunder`).
- **Sell Signal**: Triggered when the price crosses above the upper Bollinger Band (`crossover`).
---
### **7. Plotting Buy/Sell Signals**
The `plotshape` function is used to draw shapes (arrows) on the chart to visually represent buy and sell signals:
- **Green arrow** for buy signals.
- **Red arrow** for sell signals.
These signals help traders identify entry and exit points on the chart.
---
### **8. Alerts**
The script also has alert conditions, which can notify the user when buy or sell signals are detected:
- **Buy Alert**: When the price crosses below the lower Bollinger Band.
- **Sell Alert**: When the price crosses above the upper Bollinger Band.
---
### **Conclusion**
The **Adaptive Trend Bollinger Bands with Buy/Sell-V1** indicator provides traders with a dynamic and adaptive method for analyzing trends and volatility. By combining moving averages and Bollinger Bands with Heikin-Ashi candles, it offers enhanced signals for both trending and ranging markets. The adaptive trend calculation ensures that the indicator reacts flexibly to market changes, providing more accurate buy and sell signals.
---
---
### **Türkçe Açıklama:**
---
### **Adaptive Trend Bollinger Bands with Buy/Sell-V1 Pine Script Gösterge Kodu: Detaylı İnceleme**
Bu **Pine Script** göstergesi, **TradingView** platformu için tasarlanmış ve teknik analizde yaygın olarak kullanılan iki kavramı birleştiren bir stratejidir: **Bollinger Bantları** ve **Adaptif Trend Analizi**. Bu stratejinin amacı, belirli piyasa koşullarına dayalı olarak alış ve satış sinyalleri tespit etmektir. Hem trend piyasaları hem de yatay (range) piyasalar için uygun olan bu strateji, fiyat hareketlerini daha doğru bir şekilde analiz etmeye yardımcı olur.
---
### **1. Gösterge Temelleri: Adaptive Trend Bollinger Bands**
**Bollinger Bantları**, finansal piyasalarda volatiliteyi ölçmek ve fiyat hareketlerini analiz etmek için yaygın olarak kullanılan bir araçtır. Bu bantlar, bir hareketli ortalamanın etrafında, genellikle standart sapmanın iki katı kadar uzaklıkta çizilen üst ve alt iki çizgiden oluşur.
Bu gösterge, **Adaptif Trend** özelliğini ekleyerek, geleneksel Bollinger Bantları hesaplamalarını geliştirmektedir. Bu, piyasa koşullarına göre dinamik olarak ayarlanan bir trend uzunluğu kullanarak, fiyat hareketlerine daha duyarlı ve adapte olabilen bir analiz sunar.
---
### **2. Kullanıcı Giriş Parametreleri**
Bu gösterge, kullanıcılara aşağıdaki parametreleri değiştirme ve özelleştirme imkanı sunar:
- **`length` (Hareketli Ortalama Uzunluğu)**:
- Bu, hareketli ortalamanın hesaplanacağı dönem uzunluğudur. Varsayılan değer: 20.
- **`mult` (Standart Sapma Çarpanı)**:
- Bu çarpan, Bollinger Bantları'nın genişliğini ayarlamak için kullanılır. Varsayılan değer: 2.0.
- **`useHeikinAshi` (Heikin-Ashi Kullanılsın mı?)**:
- Eğer bu parametre `true` yapılırsa, gösterge Heikin-Ashi mumlarını kullanır. Heikin-Ashi, fiyat hareketlerini yumuşatarak trendlerin daha net bir şekilde görünmesini sağlar.
- **`maType` (Hareketli Ortalama Tipi)**:
- Kullanıcı, hareketli ortalamanın türünü seçebilir: **SMA** (Basit Hareketli Ortalama) veya **EMA** (Üssel Hareketli Ortalama).
- **`trendMultiplier` (Trend Çarpanı)**:
- Trend uzunluğunu dinamik olarak ayarlamak için kullanılan bir çarpandır. Bu, piyasa koşullarına göre trendin hızını değiştirmeye olanak tanır.
---
### **3. Heikin-Ashi Hesaplamaları**
Eğer `useHeikinAshi` seçeneği `true` yapılırsa, gösterge Heikin-Ashi mumlarını kullanır. Heikin-Ashi, geleneksel mumlardan farklı olarak, fiyat hareketlerini yumuşatarak net bir trend analizi sağlar.
Heikin-Ashi kapanış fiyatı, açık, yüksek, düşük ve kapanış fiyatlarının ortalaması alınarak hesaplanır:
```pine
haClose = (open + high + low + close) / 4
```
Heikin-Ashi açılışı ise, bir önceki mumun açılış ve kapanış fiyatlarının ortalaması olarak hesaplanır:
```pine
haOpen = (haOpen + haClose ) / 2
```
---
### **4. Adaptif Trend Hesaplaması**
Bu gösterge, trend uzunluğunu piyasa koşullarına göre dinamik bir şekilde ayarlar. Bu, fiyatın volatilitesine göre trendin daha kısa veya daha uzun olmasına olanak tanır.
```pine
trendLength = math.round(length * trendMultiplier)
```
Bu adaptif trend hesaplaması, göstergeyi volatil piyasalarda daha hızlı tepki verirken, durağan piyasalarda daha istikrarlı hale getirir.
---
### **5. Hareketli Ortalama ve Bollinger Bantları**
Gösterge, hareketli ortalamanın tipi (SMA veya EMA) seçilerek hesaplanır ve Bollinger Bantları bu hareketli ortalama etrafında çizilir
.
- **Üst Bant**: Hareketli ortalama + standart sapma çarpanı.
- **Alt Bant**: Hareketli ortalama - standart sapma çarpanı.
---
### **6. Alış ve Satış Sinyalleri**
- **Alış Sinyali**: Fiyat, alt Bollinger Bandının altına düşerse tetiklenir (`crossunder`).
- **Satış Sinyali**: Fiyat, üst Bollinger Bandını yukarı doğru keserse tetiklenir (`crossover`).
---
### **7. Sinyallerin Görselleştirilmesi**
`plotshape` fonksiyonu, alış ve satış sinyallerini grafik üzerinde oklar (şekiller) olarak gösterir:
- **Yeşil ok**: Alış sinyali.
- **Kırmızı ok**: Satış sinyali.
---
### **8. Alarmlar**
Gösterge, alış ve satış sinyalleri tespit edildiğinde kullanıcıya bildirim gönderebilir.
- **Alış Alarmı**: Fiyat alt Bollinger Bandına dokunduğunda tetiklenir.
- **Satış Alarmı**: Fiyat üst Bollinger Bandına dokunduğunda tetiklenir.
---
### **Sonuç**
**Adaptive Trend Bollinger Bands with Buy/Sell-V1** göstergesi, dinamik ve adaptif bir analiz sunarak yatırımcılara piyasa trendlerini daha doğru bir şekilde takip etme imkanı verir. Hem trendli hem de yatay piyasalar için kullanılabilir ve doğru alış/satış sinyalleri sağlayarak daha sağlam ticaret kararları alınmasına yardımcı olur.
Smart Money Breakouts with heikin ashi break [algo setup ]The "Smart Money Breakouts with Heikin Ashi Break" indicator is designed to identify breakout opportunities using Heikin Ashi candles, providing clear buy and sell signals based on price action and risk management parameters. It also offers visual aids such as lines and labels for stop-loss (SL) and take-profit (TP) levels, calculated dynamically based on user-defined risk-to-reward ratios (RR).
Key features include:
Dynamic Risk/Reward Calculation: Set your RR ratio and adjust SL based on candle wicks or bodies.
Buy/Sell Signals: Detects pivot highs (PH) and pivot lows (PL) for potential breakouts, marking them on the chart with buy/sell triggers.
Trade Management: Automatically plots TP and SL lines after trade initiation, updating in real-time based on price movement.
Volume Analysis: Analyzes green (bullish) and red (bearish) volume to indicate market strength, shown as a colored signal on the chart.
Alerts: Sends alerts when conditions for entry, TP, or SL hits are met.
This tool is ideal for traders looking to capitalize on trend breakouts, with clear visual markers and automated risk management.
Pro version features
°all winning trade in table
°all losses trade in table
°win rate
°trade sequence chart
°total profit
°past day win/losses trade day by day
°more...
Pro version get
Patron/pradeep262899
Or
What'sup +94764113530
Adibxmos// © AdibXmos
//@version=5
indicator('Sood Indicator V2 ', overlay=true, max_labels_count=500)
show_tp_sl = input.bool(true, 'Display TP & SL', group='Techical', tooltip='Display the exact TP & SL price levels for BUY & SELL signals.')
rrr = input.string('1:2', 'Risk to Reward Ratio', group='Techical', options= , tooltip='Set a risk to reward ratio (RRR).')
tp_sl_multi = input.float(1, 'TP & SL Multiplier', 1, group='Techical', tooltip='Multiplies both TP and SL by a chosen index. Higher - higher risk.')
tp_sl_prec = input.int(2, 'TP & SL Precision', 0, group='Techical')
candle_stability_index_param = 0.5
rsi_index_param = 70
candle_delta_length_param = 4
disable_repeating_signals_param = input.bool(true, 'Disable Repeating Signals', group='Techical', tooltip='Removes repeating signals. Useful for removing clusters of signals and general clarity.')
GREEN = color.rgb(29, 255, 40)
RED = color.rgb(255, 0, 0)
TRANSPARENT = color.rgb(0, 0, 0, 100)
label_size = input.string('huge', 'Label Size', options= , group='Cosmetic')
label_style = input.string('text bubble', 'Label Style', , group='Cosmetic')
buy_label_color = input(GREEN, 'BUY Label Color', inline='Highlight', group='Cosmetic')
sell_label_color = input(RED, 'SELL Label Color', inline='Highlight', group='Cosmetic')
label_text_color = input(color.white, 'Label Text Color', inline='Highlight', group='Cosmetic')
stable_candle = math.abs(close - open) / ta.tr > candle_stability_index_param
rsi = ta.rsi(close, 14)
atr = ta.atr(14)
bullish_engulfing = close < open and close > open and close > open
rsi_below = rsi < rsi_index_param
decrease_over = close < close
var last_signal = ''
var tp = 0.
var sl = 0.
bull_state = bullish_engulfing and stable_candle and rsi_below and decrease_over and barstate.isconfirmed
bull = bull_state and (disable_repeating_signals_param ? (last_signal != 'buy' ? true : na) : true)
bearish_engulfing = close > open and close < open and close < open
rsi_above = rsi > 100 - rsi_index_param
increase_over = close > close
bear_state = bearish_engulfing and stable_candle and rsi_above and increase_over and barstate.isconfirmed
bear = bear_state and (disable_repeating_signals_param ? (last_signal != 'sell' ? true : na) : true)
round_up(number, decimals) =>
factor = math.pow(10, decimals)
math.ceil(number * factor) / factor
if bull
last_signal := 'buy'
dist = atr * tp_sl_multi
tp_dist = rrr == '2:3' ? dist / 2 * 3 : rrr == '1:2' ? dist * 2 : rrr == '1:4' ? dist * 4 : dist
tp := round_up(close + tp_dist, tp_sl_prec)
sl := round_up(close - dist, tp_sl_prec)
if label_style == 'text bubble'
label.new(bar_index, low, 'BUY', color=buy_label_color, style=label.style_label_up, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bar_index, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_triangleup, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bar_index, low, 'BUY', yloc=yloc.belowbar, color=buy_label_color, style=label.style_arrowup, textcolor=TRANSPARENT, size=label_size)
label.new(show_tp_sl ? bar_index : na, low, 'TP: ' + str.tostring(tp) + ' SL: ' + str.tostring(sl), yloc=yloc.price, color=color.gray, style=label.style_label_down, textcolor=label_text_color)
if bear
last_signal := 'sell'
dist = atr * tp_sl_multi
tp_dist = rrr == '2:3' ? dist / 2 * 3 : rrr == '1:2' ? dist * 2 : rrr == '1:4' ? dist * 4 : dist
tp := round_up(close - tp_dist, tp_sl_prec)
sl := round_up(close + dist, tp_sl_prec)
if label_style == 'text bubble'
label.new(bear ? bar_index : na, high, 'SELL', color=sell_label_color, style=label.style_label_down, textcolor=label_text_color, size=label_size)
else if label_style == 'triangle'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_triangledown, textcolor=TRANSPARENT, size=label_size)
else if label_style == 'arrow'
label.new(bear ? bar_index : na, high, 'SELL', yloc=yloc.abovebar, color=sell_label_color, style=label.style_arrowdown, textcolor=TRANSPARENT, size=label_size)
label.new(show_tp_sl ? bar_index : na, low, 'TP: ' + str.tostring(tp) + ' SL: ' + str.tostring(sl), yloc=yloc.price, color=color.gray, style=label.style_label_up, textcolor=label_text_color)
alertcondition(bull or bear, 'BUY & SELL Signals', 'New signal!')
alertcondition(bull, 'BUY Signals (Only)', 'New signal: BUY')
alertcondition(bear, 'SELL Signals (Only)', 'New signal: SELL')
GainzAlgo Standard// © GainzAlgo
//@version=5
indicator('GainzAlgo Standard', overlay=true, max_labels_count=500)
stable_candle = math.abs(close - open) / ta.tr > .5
rsi = ta.rsi(close, 14)
bullish_engulfing = close < open and close > open and close > open
rsi_below_50 = rsi < 50
decrease_over_5 = close < close
bull = bullish_engulfing and stable_candle and rsi_below_50 and decrease_over_5
bearish_engulfing = close > open and close < open and close < open
rsi_above_50 = rsi > 50
increase_over_5 = close > close
bear = bearish_engulfing and stable_candle and rsi_above_50 and increase_over_5
label.new(bull ? bar_index : na, low, 'BUY', color=color.rgb(0, 255, 8), style=label.style_label_up, textcolor=color.white, size=size.large)
label.new(bear ? bar_index : na, high, 'SELL', color=color.rgb(255, 0, 0), style=label.style_label_down, textcolor=color.white, size=size.large)
Kalman Step Signals [AlgoAlpha]Take your trading to the next level with the Kalman Step Signals indicator by AlgoAlpha! This advanced tool combines the power of Kalman Filtering and the Supertrend indicator, offering a unique perspective on market trends and price movements. Designed for traders who seek clarity and precision in identifying trend shifts and potential trade entries, this indicator is packed with customizable features to suit your trading style.
Key Features
🔍 Kalman Filter Smoothing : Dynamically smooths price data with user-defined parameters for Alpha, Beta, and Period, optimizing responsiveness and trend clarity.
📊 Supertrend Overlay : Incorporates a classic Supertrend indicator to provide clear visual cues for trend direction and potential reversals.
🎨 Customizable Appearance : Adjust colors for bullish and bearish trends, along with optional exit bands for more nuanced analysis.
🔔 Smart Alerts : Detect key moments like trend changes or rejection entries for timely trading decisions.
📈 Advanced Visualization : Includes optional entry signals, exit bands, and rejection markers to pinpoint optimal trading opportunities.
How to Use
Add the Indicator : Add the script to your TradingView favorites. Customize inputs like Kalman parameters (Alpha, Beta, Period) and Supertrend settings (Factor, ATR Period) based on your trading strategy.
Interpret the Signals : Watch for trend direction changes using Supertrend lines and directional markers. Utilize rejection entries to identify price rejections at trendlines for precision entry points.
Set Alerts : Enable the built-in alert conditions for trend changes or rejection entries to act swiftly on trading opportunities without constant chart monitoring.
How It Works
The indicator leverages a Kalman Filter to smooth raw price data, balancing responsiveness and noise reduction using user-controlled parameters. This refined price data is then fed into a Supertrend calculation, combining ATR-based volatility analysis with dynamic upper and lower bands. The result is a clear and reliable trend-detection system. Additionally, it features rejection markers for bullish and bearish reversals when prices reject the trendline, along with exit bands to visualize potential price targets. The integration of customizable alerts ensures traders never miss critical market moves.
Add the Kalman Step Signals to your TradingView charts today and enjoy a smarter, more efficient trading experience! 🚀🌟
Smooth RSI [MarktQuant]This indicator combines elements of the Relative Strength Index (RSI) and Rate of Change (RoC) to provide a smoother and potentially more insightful view of market momentum and price movement. The Smooth RSI calculates RSI values across four price points (high, open, low, close) to average them, offering a less volatile RSI signal. Additionally, it incorporates a Rate of Change for trend confirmation, enhancing the decision-making process for trade entries and exits.
Features:
Multi-RSI Calculation: RSI is computed for high, open, low, and close prices, then averaged to reduce noise.
Trend Confirmation with RoC: Uses the Rate of Change to validate the RSI signals, coloring bars based on the trend direction.
Visual Signals:
Bar colors change based on combined RSI and RoC signals.
Green for bullish signals (RSI above 50 and positive RoC).
Red for bearish signals (RSI below 50 and negative RoC).
Horizontal lines at 30, 50, and 70 to denote overbought, neutral, and oversold conditions.
Customizable Display:
Option to show/hide RSI plot or RoC plot for cleaner charts.
Candle plot overlay option to visualize current price action alongside the indicator.
Inputs:
RSI Length: Default 28. Adjusts the lookback period for RSI calculation.
RoC Length: Default 28. Sets the period for the Rate of Change calculation.
Plot Settings:
Show RSI - Toggle RSI plot visibility.
Show RoC - Toggle RoC plot visibility.
Usage:
Long signals are indicated when the average RSI is above 50 and the RoC is positive.
Short signals are suggested when the average RSI falls below 50 with a negative RoC.
The color coding helps visually confirm trends at a glance.
Notes:
This indicator is best used in conjunction with other analysis methods to confirm signals.
Adjust the length parameters based on your trading timeframe for optimal results.
Disclaimer:
This indicator does not guarantee trading success; use it as part of a comprehensive trading strategy. Always conduct your own analysis before making trading decisions.
Turtle Soup - SR BREAKS AND RETEST | Dante123456PS
Kindly read the desciption through;
ICT TURTLE SOUP AND SUPPORT AND RESISTANCE BREAK & RESEST INDICATOR
First and foremost i would like to credit the following : @fluxchart for the open souce script on ICT TURTLE SOUP indicator as well as @ChartPrime for the open source Support and Resistance breaks and retest indicator.This indicator combines the 2 and also adds the Bollinger Bands for added entries refinement.
Here is how to use them:
ICT TURTLE SOUP
The ICT Turtle Soup strategy is a trading approach that capitalizes on false breakouts near key liquidity levels, aiming to identify potential market reversals. It provides traders with visual cues and signals to facilitate its application.
Understanding the ICT Turtle Soup Strategy
The strategy focuses on liquidity areas—zones with a high concentration of buy or sell orders, typically found at recent highs and lows. A false breakout, or liquidity sweep, occurs when the price briefly moves beyond these levels, triggering stop-loss orders, before reversing direction. Identifying such movements can signal potential entry points for trades.
Features of ICT Turtle Soup Indicator
This indicator offers several functionalities to assist traders:
Liquidity Zone Identification: Automatically marks higher timeframe liquidity zones, highlighting areas where false breakouts are likely to occur.
Market Structure Analysis: Assesses the current market structure to determine trends and potential reversal points.
Entry and Exit Signals: Provides buy and sell signals based on detected liquidity grabs and market structure shifts.
Take-Profit (TP) and Stop-Loss (SL) Levels: Calculates TP and SL levels using the Average True Range (ATR), allowing for dynamic risk management.
Backtesting Dashboard: Includes a dashboard to evaluate the performance of the strategy over historical data.
Alerts: Offers customizable alerts for buy, sell, TP, and SL signals to keep traders informed in real-time.
USAGE:
Identify Liquidity Zones: The indicator will highlight potential liquidity zones on the chart, based on higher timeframe analysis.
Monitor for Signals: Watch for buy or sell signals generated when the price performs a liquidity grab and a market structure shift is detected.
Execute Trades: Upon receiving a signal, consider entering a trade in the indicated direction. Use the suggested TP and SL levels for risk management.
Backtesting: Utilize the backtesting dashboard to assess the strategy's performance with your chosen settings, enabling data-driven adjustments.
Considerations
Timeframes: For optimal results, it's recommended to use the indicator on timeframes such as 15-minute, 30-minute, or 1-hour charts, with higher timeframe liquidity zones identified on 1-hour or 4-hour charts.
Market Conditions: The strategy is particularly effective in markets prone to false breakouts. However, it's essential to be cautious in highly volatile or illiquid markets where false signals may occur
SR BREAKS AND RETEST {HIG VOL BOXES}
The Support and Resistance (High Volume Boxes) is a tool designed to help traders identify key support and resistance levels by analyzing pivot points and volume data. It visually represents these levels using dynamically colored boxes, providing insights into potential price reversals and key zones for trading opportunities.
Key Features:
Dynamic Support and Resistance Boxes: The indicator plots boxes based on pivot points and volume thresholds. The color intensity of these boxes varies with volume, reflecting the strength of the support or resistance. Green boxes indicate support levels with positive volume, while red boxes denote resistance levels with negative volume.
Hold Signals: Green diamonds (◆) appear when support holds, signaling potential buy opportunities. Red diamonds (◆) appear when resistance holds, indicating potential sell opportunities.
Breakout Labels: Labels such as "Break Sup" and "Break Res" are displayed when support or resistance levels are broken, highlighting significant market movements.
Using the Indicator:
Configure Settings: Adjust the following parameters to suit your trading preferences:
Lookback Period: Determines the number of bars to consider for pivot points.
Delta Volume Filter Length: Sets the length of the volume filter for accurate analysis; higher values filter out low-volume boxes.
Adjust Box Width: Modifies the width of the support and resistance boxes; higher values result in thinner boxes.
Incorporating the Indicator into Your Trading Strategy:
Identify Key Levels: Use the colored boxes to spot strong support and resistance zones, which can serve as entry or exit points.
Monitor Hold Signals: Pay attention to the diamond symbols indicating when support or resistance holds, as they suggest potential buying or selling opportunities.
Watch for Breakouts: Observe breakout labels to identify significant market movements and adjust your trading strategy accordingly.
By integrating this indicator into your trading routine, you can enhance your ability to recognize critical market levels and make more informed decisions. It's essential to combine this tool with other analyses and risk management practices to optimize your trading performance.
PS
Use both the indicators as well as the Bollinger Band to execute better trades, i have just twerked the script a little bit,
WhaleWizardBot (v1) by W2_Indicators (limited version)Description:
This script replicates historical trading signals generated by a highly advanced quantitative trading system currently running live.
The development of this system has taken over 2 years of rigorous research and implementation. Leveraging cutting-edge methodologies in quantitative analysis and machine learning, it processes vast amounts of market data to generate these signals.
Exclusive and Powerful:
The computational requirements to generate these signals are extremely demanding, utilizing high-performance computing resources. Because of this, the algorithm is currently for private use only and is not available for public distribution at this time.
Future Availability:
There may be a limited distribution of this system in the future under a highly exclusive subscription model. Due to the power and precision of this system, the subscription cost would be set at approximately 10,000 USD per month per user (with a very limited set of users).
Contact Information:
For inquiries about this algorithm, future availability, or partnerships, please feel free to reach out: undermetrics at gmail.com
or on x/twitter: x.com
CandelaCharts - Volume Imbalance (VI) 📝 Overview
Volume Imbalance occurs when there’s a noticeable gap between the bodies of two consecutive candlesticks, with no overlap between them. While the wicks of the candles might intersect, the candle bodies remain entirely separate. This phenomenon often signifies that the algorithm driving market activity did not evenly distribute prices between these two levels, leaving behind a small Volume Imbalance (VI).
A Bullish Volume Imbalance forms when the body of a green candlestick gaps above the previous candle’s body, with no overlap, indicating strong upward momentum and insufficient sell-side liquidity.
A Bearish Volume Imbalance forms when the body of a red candlestick gaps below the previous candle’s body, with no overlap, signaling intense downward pressure and a lack of buy-side liquidity.
This indicator can automatically identify volume imbalances by scanning candlestick patterns and detecting gaps between consecutive candle bodies. These volume imbalances act as price magnets, often attracting the market back to fill the gap before resuming its original direction. Recognizing and leveraging these gaps can be a powerful tool in technical analysis for predicting price movements.
📦 Features
MTF
Mitigation
Consequent Encroachment
Threshold
Hide Overlap
Advanced Styling
⚙️ Settings
Show: Controls whether VIs are displayed on the chart.
Show Last: Sets the number of VIs you want to display.
Length: Determines the length of each VI.
Mitigation: Highlights when a VI has been touched, using a different color without marking it as invalid.
Timeframe: Specifies the timeframe used to detect VIs.
Threshold: Sets the minimum gap size required for VI detection on the chart.
Show Mid-Line: Configures the midpoint line's width and style within the VI. (Consequent Encroachment - CE)
Show Border: Defines the border width and line style of the VI.
Hide Overlap: Removes overlapping VIs from view.
Extend: Extends the VI length to the current candle.
Elongate: Fully extends the VI length to the right side of the chart.
⚡️ Showcase
Simple
Mitigated
Bordered
Consequent Encroachment
Extended
🚨 Alerts
This script provides alert options for all signals.
Bearish Signal
A bearish alert triggers when a red candlestick gaps below the previous body, signaling downward pressure.
Bullish Signal
A bullish alert triggers when a green candlestick gaps above the previous body, indicating upward momentum.
⚠️ Disclaimer
Trading involves significant risk, and many participants may incur losses. The content on this site is not intended as financial advice and should not be interpreted as such. Decisions to buy, sell, hold, or trade securities, commodities, or other financial instruments carry inherent risks and are best made with guidance from qualified financial professionals. Past performance is not indicative of future results.
[AU-EMA-Scalp-Machine-V1]**AU-EMA-Scalp-Machine-V1: Comprehensive Guide**
### Overview
The **AU-EMA-Scalp-Machine-V1** is a scalping indicator designed for fast-paced trading environments. It identifies buying and selling opportunities based on the relationship between two Exponential Moving Averages (EMAs). The script incorporates cooldown periods to prevent frequent signals and offers clear visual and alert-based notifications.
---
### Features
#### 1. Cooldown Period
- Prevents frequent signal generation by introducing a configurable cooldown period (default: 5 bars).
#### 2. EMA Calculation
- **Short EMA**: A faster-moving average (default: 9 periods).
- **Long EMA**: A slower-moving average (default: 21 periods).
#### 3. Signal Generation
- **Buy Signal**: Triggered when the Short EMA crosses above the Long EMA.
- **Sell Signal**: Triggered when the Short EMA crosses below the Long EMA.
#### 4. Chart Annotations
- Green label: Indicates a Buy signal.
- Red label: Indicates a Sell signal.
#### 5. Alerts
- Real-time alerts for buy and sell signals.
---
### Code Explanation
#### Cooldown Period
```pinescript
cooldownBars = input.int(5, title = "Cooldown Period", minval = 1)
```
The `cooldownBars` variable ensures signals are not generated too frequently. A cooldown period of 5 bars is set by default.
#### EMA Settings
```pinescript
shortEmaLength = input.int(9, title = 'Short EMA Period')
longEmaLength = input.int(21, title = 'Long EMA Period')
shortEma = ta.ema(close, shortEmaLength)
longEma = ta.ema(close, longEmaLength)
```
The script calculates the Short EMA and Long EMA using user-defined periods, defaulting to 9 and 21 periods, respectively.
#### Buy and Sell Signals
```pinescript
longConditionEMA = ta.crossover(shortEma, longEma)
shortConditionEMA = ta.crossunder(shortEma, longEma)
```
These conditions detect when the Short EMA crosses above or below the Long EMA, signaling potential buy or sell opportunities.
#### Signal Cooldown
```pinescript
var float lastLongSignal = na
var float lastShortSignal = na
canLong = na(lastLongSignal) or (bar_index - lastLongSignal > cooldownBars)
canShort = na(lastShortSignal) or (bar_index - lastShortSignal > cooldownBars)
```
The cooldown mechanism ensures signals are only generated if the specified number of bars has passed since the last signal.
#### Visual Alerts
```pinescript
plotshape(longSignal, style = shape.labelup, location = location.belowbar, color = color.green, text = 'Long EMA')
plotshape(shortSignal, style = shape.labeldown, location = location.abovebar, color = color.red, text = 'Short EMA')
```
These annotations display buy and sell signals on the chart.
#### Alerts
```pinescript
alertcondition(longSignal, title = 'Buy Signal EMA', message = 'Long EMA crossed above Long EMA! You can buy.')
alertcondition(shortSignal, title = 'Sell Signal EMA', message = 'Short EMA crossed below Short EMA! You can sell.')
```
The script sends real-time alerts whenever a signal is generated.
---
### Usage Tips
1. **Adjust EMA Periods:** Tailor the Short and Long EMA periods to suit your trading style.
2. **Set Appropriate Cooldown:** Avoid over-trading by using an optimal cooldown period.
3. **Combine with Other Indicators:** Use alongside volume or momentum indicators for enhanced accuracy.
---
### Conclusion
The **AU-EMA-Scalp-Machine-V1** is a robust tool for scalping traders, providing clear, actionable signals for short-term market movements. By combining EMA crossovers with cooldown mechanisms, it ensures more reliable and efficient trading decisions.
---
**AU-EMA-Scalp-Machine-V1: Kapsamlı Kılavuz**
### Genel Bakış
**AU-EMA-Scalp-Machine-V1**, hızlı ticaret ortamları için tasarlanmış bir scalping göstergesidir. İki Üssel Hareketli Ortalama (EMA) arasındaki ilişkiye dayanarak alım ve satım fırsatlarını belirler. Bu script, sık sinyal üretimini önlemek için bekleme sürelerini içerir ve net görsel ve uyarı tabanlı bildirimler sunar.
---
### Özellikler
#### 1. Bekleme Süresi
- Belirlenebilir bir bekleme süresi (varsayılan: 5 bar) ile sık sinyal üretimini engeller.
#### 2. EMA Hesaplaması
- **Kısa EMA**: Daha hızlı hareket eden ortalama (varsayılan: 9 dönem).
- **Uzun EMA**: Daha yavaş hareket eden ortalama (varsayılan: 21 dönem).
#### 3. Sinyal Üretimi
- **Al Sinyali**: Kısa EMA, Uzun EMA'nın üzerine çıktığında tetiklenir.
- **Sat Sinyali**: Kısa EMA, Uzun EMA'nın altına indiğinde tetiklenir.
#### 4. Grafik Anotasyonları
- Yeşil etiket: Al sinyalini belirtir.
- Kırmızı etiket: Sat sinyalini belirtir.
#### 5. Uyarılar
- Alım ve satım sinyalleri için gerçek zamanlı uyarılar.
---
### Kod Açıklaması
#### Bekleme Süresi
```pinescript
cooldownBars = input.int(5, title = "Cooldown Period", minval = 1)
```
`cooldownBars` değişkeni, sinyallerin çok sık üretilmemesini sağlar. Varsayılan olarak 5 bar'lık bir bekleme süresi ayarlanmıştır.
#### EMA Ayarları
```pinescript
shortEmaLength = input.int(9, title = 'Short EMA Period')
longEmaLength = input.int(21, title = 'Long EMA Period')
shortEma = ta.ema(close, shortEmaLength)
longEma = ta.ema(close, longEmaLength)
```
Script, kullanıcı tanımlı dönemleri kullanarak Kısa ve Uzun EMA'yı hesaplar, varsayılan olarak 9 ve 21 dönem.
#### Al ve Sat Sinyalleri
```pinescript
longConditionEMA = ta.crossover(shortEma, longEma)
shortConditionEMA = ta.crossunder(shortEma, longEma)
```
Bu koşullar, Kısa EMA'nın Uzun EMA'nın üzerine veya altına geçtiğini algılar ve potansiyel alım veya satım fırsatlarını işaretler.
#### Sinyal Bekleme Süresi
```pinescript
var float lastLongSignal = na
var float lastShortSignal = na
canLong = na(lastLongSignal) or (bar_index - lastLongSignal > cooldownBars)
canShort = na(lastShortSignal) or (bar_index - lastShortSignal > cooldownBars)
```
Bekleme mekanizması, son sinyalden itibaren belirtilen sayıda bar geçmediği sürece yeni sinyallerin üretilmesini engeller.
#### Görsel Uyarılar
```pinescript
plotshape(longSignal, style = shape.labelup, location = location.belowbar, color = color.green, text = 'Long EMA')
plotshape(shortSignal, style = shape.labeldown, location = location.abovebar, color = color.red, text = 'Short EMA')
```
Bu etiketler, alım ve satım sinyallerini grafikte gösterir.
#### Uyarılar
```pinescript
alertcondition(longSignal, title = 'Buy Signal EMA', message = 'Long EMA crossed above Long EMA! You can buy.')
alertcondition(shortSignal, title = 'Sell Signal EMA', message = 'Short EMA crossed below Short EMA! You can sell.')
```
Script, bir sinyal üretildiğinde gerçek zamanlı uyarılar gönderir.
---
### Kullanım İpuçları
1. **EMA Dönemlerini Ayarlayın:** Kısa ve Uzun EMA dönemlerini ticaret tarzınıza uyacak şekilde özelleştirin.
2. **Uygun Bekleme Süresi Belirleyin:** Aşırı işlemden kaçınmak için optimal bir bekleme süresi kullanın.
3. **Diğer Göstergelerle Kombinasyon:** Daha iyi doğruluk için bu göstergeleri hacim veya momentum göstergeleriyle birleştirin.
---
### Sonuç
**AU-EMA-Scalp-Machine-V1**, kısa vadeli piyasa hareketleri için net ve uygulanabilir sinyaller sağlayarak scalping yatırımcıları için güçlü bir araçtır. EMA kesişimlerini bekleme mekanizmalarıyla birleştirerek daha güvenilir ve verimli ticaret kararları sağlar.
3D christmas treeThis script draws a rotating 3D Christmas tree with a star on a chart, using cylindrical and spherical coordinate systems. Decorations like bells, gifts, and reindeer are randomly placed on the tree using a pseudo-random number generator. The tree's appearance is customizable with adjustable parameters such as height, viewing angle, and decoration density. Please zoom out on the chart for a better view.
OTT Indicator /Crypto Profit/Kiváló indikátor magas volatilitású chartokra!
Nehézségi szint: ***
Működése: Két mozgóátlag alapján ítéli meg a Long és Short pozíciók nyitását.
Ajánlott: Alacsonyabb Timeframe-n (1m, 5m) kriptovaluta kereskedésre.
ORB with Percentage LineIndicator Name: ORB (Opening Range Breakout) with Percentage Line
Author: ∞xLiquidated
Description:
This indicator is designed to help traders identify and track the Opening Range Breakout (ORB) within a specified time period. It plots the high (ORB High) and low (ORB Low) of the opening range based on the highest and lowest prices during the chosen session. Additionally, it features a customizable percentage-based line between the high and low, offering enhanced flexibility for price analysis.
Features:
Opening Range Boundaries:
Automatically plots the ORB High and ORB Low on the chart during the selected session time (e.g., 09:15–09:20).
Percentage-Based Line:
Displays a line at a user-defined percentage level between ORB High and ORB Low (e.g., 50% for the midpoint).
Customizable Session Time:
Users can easily configure the time window for calculating the opening range using the session input.
Real-Time Updates:
The indicator updates dynamically as new highs or lows occur during the session.
Use Case:
This indicator is perfect for traders who rely on breakout strategies, especially during the opening session of the market. The percentage line can serve as an additional reference point for identifying potential support and resistance zones within the opening range.
Inputs:
ORB Total Time (minutes): Sets the time period for defining the opening range.
Session Time: Specifies the session during which the opening range is calculated (e.g., 09:15–09:20).
Percentage Between High and Low: Determines the position of the percentage line (e.g., 50% for the midpoint).
Crawblanc by SiriusThe "Crawblanc by Sirius" is a Pine Script indicator designed for use on the TradingView platform. It implements an advanced ZigZag structure analysis with extended visualization options, offering traders a detailed representation of market patterns. Here's a breakdown of its features:
ZigZag Structure Detection:
Identifies market high and low points based on customizable depth, deviation, and backstep parameters.
Allows traders to observe directional changes (bullish or bearish) and significant trend reversals.
Customizable Visual Elements:
Display settings for lines, triangles, and labels associated with market structures.
Adjustable transparency, label size, and colors for bullish and bearish formations.
Optional display of triangle IDs and areas, calculated dynamically based on detected points.
Interactive Inputs:
Enables toggling between calculation methods (e.g., open/close vs. low/high prices).
Allows customization of transparency levels, line thickness, and label styles to suit individual preferences.
Advanced Calculations:
Triangle areas and center points are calculated for enhanced visualization.
Supports projection and center-point calculations to provide additional market insights.
Real-Time Updating:
Dynamically updates on price changes, deleting and redrawing lines and labels as necessary.
Displays point IDs and triangle areas, helping traders track ongoing market conditions.
Color Coding:
Distinct colors for bullish (green/blue tones) and bearish (red/yellow tones) phases.
Automatic color inversion for labels to ensure clear visibility on various backgrounds.
Extensibility:
Users can choose to extend lines or restrict them to specific areas.
Supports up to 500 lines, labels, and boxes, making it suitable for detailed analyses.
Use Case:
This indicator is highly beneficial for traders seeking to:
Identify support and resistance levels.
Analyze market patterns for entry and exit opportunities.
Understand complex structures like triangles and trends dynamically in real time.
The combination of user-friendly inputs and advanced visualization tools makes it ideal for technical analysts focused on improving decision-making through graphical insights.
EMA Ribbon [Oriventi]Description:
The EMA Ribbon Indicator provides a visual representation of multiple Exponential Moving Averages (EMAs) directly on the price chart. This tool is designed to help traders identify trends and potential buy/sell opportunities with ease. The indicator includes the following features:
Customizable EMAs: Includes 9 EMAs with adjustable lengths (default: 21, 25, 30, 35, 40, 45, 50, 55, 200).
Color-Coded Trend Signals: green for possible bullish trends and red indicates a potential bearish trend
EMA Ribbon Visualization: Gradually transparent ribbons for clarity and to distinguish individual EMA lines.
Highlighting the Key EMA (200): A bold blue line to emphasize the long-term trend.
This indicator is ideal for traders who rely on trend-following strategies or want a quick overview of the market's directional bias. Customize the EMA lengths to suit your trading style and timeframe preferences.
How to Use:
Observe the EMA ribbons' alignment to gauge trend strength and direction.
Use the color coding (green or red) to identify potential buy or sell signals.
Combine with other indicators or price action for confirmation.
Enjoy enhanced trend analysis with the EMA Ribbon Indicator!
Volume-based Support & Resistance Zones by VAIBHAVBVolume-based Support & Resistance Zones by VAIBHAVB
Volume-based Support & Resistance Zones by VAIBHAVB
[Au Linear Regression Buy-Sell-V1]### English Version:
#### Title: **Linear Regression Buy-Sell Strategy with Stop Loss and Take Profit Levels**
This script, designed for the TradingView platform, implements a **Linear Regression** based trading strategy with **buy and sell signals**, **stop loss** and **take profit** levels, and **cooldown periods** between signals. It aims to provide traders with an automated mechanism to make entry and exit decisions, based on the trend direction indicated by the slope of the regression line.
---
#### **1. Input Settings**
The script begins with several configurable inputs:
- **Regression Period** (`regression_period`): The number of bars used to calculate the linear regression line, which helps to determine the price trend.
- **Signal Sensitivity** (`signal_threshold`): A threshold that adjusts the sensitivity of the buy and sell signals based on the slope of the regression line.
- **Stop Loss Percentage** (`stop_loss_percent`): The percentage of price movement at which the trade will be closed to minimize losses.
- **Take Profit Percentage** (`profit_target_percent`): The percentage of price movement at which the trade will be closed to secure profits.
- **Cooldown Period** (`cooldown_period`): A time (in bars) that must pass before a new signal can trigger.
- **Alert Deviation** (`alert_deviation`): The tolerance for deviations around the stop loss and take profit levels to trigger alerts.
---
#### **2. Linear Regression Calculation**
A **Linear Regression Line** is calculated using the `ta.linreg` function, which gives a smooth representation of the price trend over a specified number of bars. The **slope** of this line is then calculated by comparing the current regression value to the previous value.
---
#### **3. Cooldown Control**
This section prevents consecutive signals from being triggered too quickly by introducing a cooldown period between buy and sell signals. The script tracks the bar index of the last signal and ensures that no new signal is given until the cooldown period has passed.
---
#### **4. Buy and Sell Signals**
The script generates buy and sell signals based on the slope of the regression line:
- **Buy Signal**: When the slope is greater than the sensitivity threshold (`signal_threshold`), and a cooldown period has passed.
- **Sell Signal**: When the slope is less than the negative sensitivity threshold, and a cooldown period has passed.
Once a signal is generated, the script tracks the bar index of that signal to ensure the cooldown is respected.
---
#### **5. Stop Loss and Take Profit Levels**
The script sets **stop loss** and **take profit** levels upon signal generation:
- **Stop Loss**: For a long position, the stop loss is set to a percentage below the entry price. For a short position, the stop loss is set to a percentage above the entry price.
- **Take Profit**: For a long position, the take profit is set to a percentage above the entry price. For a short position, it is set to a percentage below the entry price.
Once the price hits the stop loss or take profit levels, the entry price is reset, effectively closing the trade.
---
#### **6. Plotting the Signals and Lines**
The script plots the **linear regression line**, **buy** (green triangle), and **sell** (red triangle) signals on the chart. Additionally, it plots the **stop loss** (red line) and **take profit** (green line) levels when an active trade is ongoing.
---
#### **7. Alerts**
The script can send alerts when:
- A **buy signal** is triggered.
- A **sell signal** is triggered.
- The price approaches the **stop loss** or **take profit** levels, based on the **alert deviation** setting.
---
### Turkish Version:
#### Başlık: **Doğrusal Regresyon Al-Sat Stratejisi ile Zarar Durdurma ve Kar Alma Seviyeleri**
Bu betik, **TradingView** platformu için tasarlanmış olup, **doğrusal regresyon** tabanlı bir ticaret stratejisi sunmaktadır. Bu strateji, **al ve sat sinyalleri**, **zarar durdurma** ve **kar alma** seviyeleri ile **sinyaller arasında bekleme süreleri** sağlar. Amaç, yatırımcılara regresyon çizgisinin eğimine dayalı bir şekilde, ticaret kararlarını otomatikleştirerek giriş ve çıkış noktalarını belirlemelerine yardımcı olmaktır.
---
#### **1. Giriş Ayarları**
Betik, birkaç yapılandırılabilir girdi ile başlar:
- **Regresyon Periyodu** (`regression_period`): Regresyon çizgisinin hesaplanacağı bar sayısı. Bu, fiyatın trendini belirlemekte kullanılır.
- **Sinyal Hassasiyeti** (`signal_threshold`): Regresyon çizgisinin eğimine göre al ve sat sinyallerinin hassasiyetini ayarlar.
- **Zarar Durdurma Yüzdesi** (`stop_loss_percent`): Fiyatın belirli bir yüzdesi kadar hareket ettiğinde ticaretin kapatılacağı seviyeyi belirtir.
- **Kar Alma Yüzdesi** (`profit_target_percent`): Fiyatın belirli bir yüzdesi kadar hareket ettiğinde ticaretin kapatılacağı seviyeyi belirtir.
- **Bekleme Süresi** (`cooldown_period`): Yeni bir sinyalin oluşmadan önce beklenmesi gereken zaman (bar cinsinden).
- **Sapma Toleransı** (`alert_deviation`): Zarar durdurma ve kar alma seviyelerinde uyarı tetiklenmesi için belirli bir sapma toleransını ayarlamak için kullanılır.
---
#### **2. Doğrusal Regresyon Hesaplama**
**Doğrusal Regresyon Çizgisi**, `ta.linreg` fonksiyonu kullanılarak hesaplanır ve bu çizgi, belirli bir bar sayısı boyunca fiyatın trendini yumuşatarak gösterir. Bu çizginin **eğimi**, şu anki regresyon değeri ile önceki regresyon değeri karşılaştırılarak hesaplanır.
---
#### **3. Bekleme Süresi Kontrolü**
Bu bölüm, al ve sat sinyallerinin çok hızlı bir şekilde tekrarlanmaması için bir bekleme süresi ekler. Betik, son sinyalin bar indeksini takip eder ve yeni bir sinyalin verilmesi için bekleme süresinin geçmesini sağlar.
---
#### **4. Al ve Sat Sinyalleri**
Betik, regresyon çizgisinin eğimine dayalı olarak al ve sat sinyalleri üretir:
- **Al Sinyali**: Eğimin sinyal hassasiyetini (`signal_threshold`) aşması durumunda ve bekleme süresi tamamlandığında al sinyali verilir.
- **Sat Sinyali**: Eğimin negatif sinyal hassasiyetini geçmesi durumunda ve bekleme süresi tamamlandığında sat sinyali verilir.
Bir sinyal verildikten sonra, betik sinyalin bar indeksini kaydederek bekleme süresi koşulunu takip eder.
---
#### **5. Zarar Durdurma ve Kar Alma Seviyeleri**
Betik, sinyal oluşturulduğunda **zarar durdurma** ve **kar alma** seviyelerini belirler:
- **Zarar Durdurma**: Uzun pozisyon için, zarar durdurma seviyesi giriş fiyatının belirli bir yüzdesi kadar altında belirlenir. Kısa pozisyon için ise bu seviye, giriş fiyatının belirli bir yüzdesi kadar üstünde belirlenir.
- **Kar Alma**: Uzun pozisyon için, kar alma seviyesi giriş fiyatının belirli bir yüzdesi kadar üstünde belirlenir. Kısa pozisyon için ise bu seviye giriş fiyatının belirli bir yüzdesi kadar altında belirlenir.
Fiyat, zarar durdurma veya kar alma seviyelerine ulaşırsa, giriş fiyatı sıfırlanır ve ticaret kapatılır.
---
#### **6. Sinyalleri ve Çizgileri Görselleştirme**
Betik, **doğrusal regresyon çizgisini**, **al** (yeşil üçgen) ve **sat** (kırmızı üçgen) sinyallerini grafikte gösterir. Ayrıca, aktif bir ticaret varsa, **zarar durdurma** (kırmızı çizgi) ve **kar alma** (yeşil çizgi) seviyelerini de gösterir.
---
#### **7. Uyarılar**
Betik aşağıdaki durumlarda uyarılar gönderebilir:
- Bir **al sinyali** tetiklendiğinde.
- Bir **sat sinyali** tetiklendiğinde.
- Fiyat, **zarar durdurma** veya **kar alma** seviyelerine yaklaşırsa, belirlenen **sapma toleransı** çerçevesinde.
---
This script can be utilized by traders who prefer to automate their entry and exit points based on a regression-based trend analysis, while also setting predefined risk management levels through stop loss and take profit settings.