Multi-Band Comparison (Uptrend)Multi-Band Comparison
Overview:
The Multi-Band Comparison indicator is engineered to reveal critical levels of support and resistance in strong uptrends. In a healthy upward market, the price action will adhere closely to the 95th percentile line (the Upper Quantile Band), effectively “riding” it. This indicator combines a modified Bollinger Band (set at one standard deviation), quantile analysis (95% and 5% levels), and power‑law math to display a dynamic picture of market structure—highlighting a “golden channel” and robust support areas.
Key Components & Calculations:
The Golden Channel: Upper Bollinger Band & Upper Std Dev Band of the Upper Quantile
Upper Bollinger Band:
Calculation:
boll_upper=SMA(close,length)+(boll_mult×stdev)
boll_upper=SMA(close,length)+(boll_mult×stdev) Here, the 20-period SMA is used along with one standard deviation of the close, where the multiplier (boll_mult) is 1.0.
Role in an Uptrend:
In a healthy uptrend, price rides near the 95th percentile line. When price crosses above this Upper Bollinger Band, it confirms strong bullish momentum.
Upper Std Dev Band of the Upper Quantile (95th Percentile) Band:
Calculation:
quant_upper_std_up=quant_upper+stdev
quant_upper_std_up=quant_upper+stdev The Upper Quantile Band, quant_upperquant_upper, is calculated as the 95th percentile of recent price data. Adding one standard deviation creates an extension that accounts for normal volatility around this extreme level.
The Golden Channel:
When the price crosses above the Upper Bollinger Band, the Upper Std Dev Band of the Upper Quantile immediately shifts to gold (yellow) and remains gold until price falls below the Bollinger level. Together, these two lines form the “golden channel”—a visual hallmark of a healthy uptrend where the price reliably hugs the 95th percentile level.
Upper Power‑Law Band
Calculation:
The Upper Power‑Law Band is derived in two steps:
Determine the Extreme Return Factor:
power_upper=Percentile(returns,95%)
power_upper=Percentile(returns,95%) where returns are computed as:
returns=closeclose −1.
returns=close close−1.
Scale the Current Price:
power_upper_band=close×(1+power_upper)
power_upper_band=close×(1+power_upper)
Rationale and Correlation:
By focusing on the upper 5% of returns (reflecting “fat tails”), the Upper Power‑Law Band captures extreme but statistically expected movements. In an uptrend, its value often converges with the Upper Std Dev Band of the Upper Quantile because both measures reflect heightened volatility and extreme price levels. When the Upper Power‑Law Band exceeds the Upper Std Dev Band, it can signal a temporary overextension.
Upper Quantile Band (95% Percentile)
Calculation:
quant_upper=Percentile(price,95%)
quant_upper=Percentile(price,95%) This level represents where 95% of past price data falls below, and in a robust uptrend the price action practically rides this line.
Color Logic:
Its color shifts from a neutral (blackish) tone to a vibrant, bullish hue when the Upper Power‑Law Band crosses above it—signaling extra strength in the trend.
Lower Quantile and Its Support
Lower Quantile Band (5% Percentile):
Calculation:
quant_lower=Percentile(price,5%)
quant_lower=Percentile(price,5%)
Behavior:
In a healthy uptrend, price remains well above the Lower Quantile Band. It turns red only when price touches or crosses it, serving as a warning signal. Under normal conditions it remains bright green, indicating the market is not nearing these extreme lows.
Lower Std Dev Band of the Lower Quantile:
This line is calculated by subtracting one standard deviation from quant_lowerquant_lower and typically serves as absolute support in nearly all conditions (except during gap or near-gap moves). Its consistent role as support provides traders with a robust level to monitor.
How to Use the Indicator:
Golden Channel and Trend Confirmation:
As price rides the Upper Quantile (95th percentile) perfectly in a healthy uptrend, the Upper Bollinger Band (1 stdev above SMA) and the Upper Std Dev Band of the Upper Quantile form a “golden channel” once price crosses above the Bollinger level. When this occurs, the Upper Std Dev Band remains gold until price dips back below the Bollinger Band. This visual cue reinforces trend strength.
Power‑Law Insights:
The Upper Power‑Law Band, which is based on extreme (95th percentile) returns, tends to align with the Upper Std Dev Band. This convergence reinforces that extreme, yet statistically expected, price moves are occurring—indicating that even though the price rides the 95th percentile, it can only stretch so far before a correction or consolidation.
Support Indicators:
Primary and Secondary Support in Uptrends:
The Upper Bollinger Band and the Lower Std Dev Band of the Upper Quantile act as support zones for minor retracements in the uptrend.
Absolute Support:
The Lower Std Dev Band of the Lower Quantile serves as an almost invariable support area under most market conditions.
Conclusion:
The Multi-Band Comparison indicator unifies advanced statistical techniques to offer a clear view of uptrend structure. In a healthy bull market, price action rides the 95th percentile line with precision, and when the Upper Bollinger Band is breached, the corresponding Upper Std Dev Band turns gold to form a “golden channel.” This, combined with the Power‑Law analysis that captures extreme moves, and the robust lower support levels, provides traders with powerful, multi-dimensional insights for managing entries, exits, and risk.
Disclaimer:
Trading involves risk. This indicator is for educational purposes only and does not constitute financial advice. Always perform your own analysis before making trading decisions.
Wstęgi i Kanały
Buy/Sell Signals for CM_Williams_Vix_FixThis script in Pine Script is designed to create an indicator that generates buy and sell signals based on the Williams VIX Fix (WVF) indicator. Here’s a brief explanation of how this script works:
Main Components:
Williams VIX Fix (WVF) – This volatility indicator is calculated using the formula:
WVF
=
(
highest(close, pd)
−
low
highest(close, pd)
)
×
100
WVF=(
highest(close, pd)
highest(close, pd)−low
)×100
where highest(close, pd) represents the highest closing price over the period pd, and low represents the lowest price over the same period.
Bollinger Bands are used to determine levels of overbought and oversold conditions. They are constructed around the moving average (SMA) of the WVF value using standard deviation (SD).
Ranges based on percentiles help identify extreme levels of WVF values to spot entry and exit points.
Buy and sell signals are generated when the WVF crosses the Bollinger Bands lines or reaches the ranges based on percentiles.
Adjustable Parameters:
LookBack Period Standard Deviation High (pd): The lookback period for calculating the highest closing price.
Bolinger Band Length (bbl): The length of the period for constructing the Bollinger Bands.
Bollinger Band Standard Devaition Up (mult): The multiplier for the standard deviation used for the upper Bollinger Band.
Look Back Period Percentile High (lb): The lookback period for calculating maximum and minimum WVF values.
Highest Percentile (ph): The percentile threshold for determining the high level.
Lowest Percentile (pl): The percentile threshold for determining the low level.
Show High Range (hp): Option to display the range based on percentiles.
Show Standard Deviation Line (sd): Option to display the standard deviation line.
Signals:
Buy Signal: Generated when the WVF crosses above the lower Bollinger Band or falls below the lower boundary of the percentile-based range.
Sell Signal: Generated when the WVF crosses below the upper Bollinger Band or rises above the upper boundary of the percentile-based range.
These signals are displayed as triangles below or above the candles respectively.
Application:
The script can be used by traders to analyze market conditions and make buying or selling decisions based on volatility and price behavior.
Hedge vs Retail Sentimentuse this indicator let me know it is is the hedge fund indicator let me know the accuracy of this indicator
MA Ribbon 1This gives score to moving average ribbons to identify trend. You can change the ma value.
RODRIGUESMULTI EMA + BB + Bull Market Support Band + RSI
Indicador RSI:
Cálculo do RSI com comprimento ajustável e escolha da fonte de dados.
Linhas de referência para sobrecompra (70), sobrevenda (30) e a linha intermediária (50).
Preenchimento visual entre as bandas superior e inferior para destacar zonas de sobrecompra e sobrevenda.
Bollinger Bands (BB):
Calcula e exibe as bandas de Bollinger com base em médias móveis ajustáveis (SMA, EMA, SMMA, WMA, VWMA).
Possibilidade de configurar o comprimento da média e o desvio-padrão.
Preenchimento visual entre as bandas superior e inferior para facilitar a leitura.
Médias Móveis Exponenciais (EMAs):
Inclui 5 EMAs configuráveis com comprimentos independentes.
Exibe as EMAs no gráfico com cores distintas para fácil identificação.
Divergências no RSI (opcional):
Detecta divergências regulares no RSI, tanto bullish (alta) quanto bearish (baixa).
Destaca visualmente as divergências no gráfico e fornece suporte para alertas.
Características Adicionais:
Configuração de todos os parâmetros via menu de entrada no TradingView.
Flexibilidade para aplicar diferentes tipos de médias móveis e ajustes conforme a necessidade.
Design visual limpo e intuitivo com uso de preenchimentos coloridos para destacar áreas-chave.
Uso:
Este script é ideal para traders que desejam uma visão detalhada do momento e da volatilidade do mercado. Ele combina informações de tendências, força relativa e volatilidade em uma única ferramenta, ajudando na identificação de oportunidades de compra ou venda e fornecendo alertas para possíveis reversões de mercado.
CBA MA Cross Volatility AnalysisThis script plots 6 MA's. 14, 21, 35, 50.100,200. It was written to demonstrate the Volatility at cross over and under price points. It detects the cross over and under for each pair. Then it seeks to identify the VOLATILITY and marks the chart accordingly. Symbols:( "X" Increased Volatility. "D" Decreased Volatility below the bar. "O" Increased Volatility. "V" for Decreased Volatility above the bar) at the crossover/crossunder price points. PLEASE NOTE: There is an additional script of ATR(volatility) which plots in an independent pane. It calculates and plots ATR to measure VOLATILITY over a specified time frame.
Buy/Sell Signals for CM_Williams_Vix_FixИндикатор «Buy/Sell Signals for CM_Williams_Vix_Fix» использует несколько ключевых компонентов для генерации торговых сигналов. Вот пошаговый разбор того, как он работает:
### Шаг 1: Настройка параметров
Пользователь может задать следующие параметры:
- **LookBack Period Standard Deviation High** (`pd`) — период для расчета стандартного отклонения.
- **Bolinger Band Length** (`bbl`) — длина полос Боллинджера.
- **Bollinger Band Standard Devaition Up** (`mult`) — коэффициент для стандартного отклонения при расчете полос Боллинджера.
- **Look Back Period Percentile High** (`lb`) — период для вычисления процентилей.
- **Highest Percentile** (`ph`) — коэффициент для определения верхней границы диапазона на основе процентилей.
- **Lowest Percentile** (`pl`) — коэффициент для определения нижней границы диапазона на основе процентилей.
- **Show High Range** (`hp`) — включение/выключение отображения диапазона на основе процентилей.
- **Show Standard Deviation Line** (`sd`) — включение/выключение отображения линии стандартного отклонения.
### Шаг 2: Расчет Williams VIX Fix (WVF)
Индикатор рассчитывается следующим образом:
$$
\text{WVF} = \left(\frac{\text{highest(close, pd)} - \text{low}}{\text{highest(close, pd)}} \right) \times 100
$$
Где:
- `highest(close, pd)` — максимальная цена закрытия за последние `pd` свечей,
- `low` — минимальная цена текущей свечи.
Это выражение показывает, насколько текущая минимальная цена отличается от максимальной цены закрытия за выбранный период.
### Шаг 3: Полосы Боллинджера
Полосы Боллинджера строятся вокруг средней скользящей (SMA):
- Средняя линия (`midLine`) рассчитывается как простое среднее значение WVF за период `bbl`.
- Верхняя полоса (`upperBand`) находится выше средней линии на величину стандартного отклонения, умноженного на коэффициент `mult`.
- Нижняя полоса (`lowerBand`) находится ниже средней линии на ту же величину.
Формулы:
$$
\text{sDev} = \text{mult} \times \sigma_{\text{wvf}}
$$
$$
\sigma_{\text{wvf}} = \sqrt{\frac{1}{N}\sum_{i=1}^{N}(\text{wvf}_i - \overline{\text{wvf}})^2}
$$
где $N$ — количество точек данных в периоде `bbl`, $\overline{\text{wvf}}$ — средняя величина WVF за этот период.
### Шаг 4: Определение диапазонов на основе процентилей
Для этого используется максимальное и минимальное значения WVF за последний период `lb`. Затем эти значения корректируются с помощью коэффициентов `ph` и `pl` для получения верхней и нижней границ диапазона.
### Шаг 5: Генерация сигналов
Сигнал на покупку генерируется, когда WVF пересекает снизу вверх нижнюю полосу Боллинджера или нижнюю границу диапазона на основе процентилей.
Сигнал на продажу генерируется, когда WVF пересекает сверху вниз верхнюю полосу Боллинджера или верхнюю границу диапазона на основе процентилей.
### Шаг 6: Визуализация сигналов
На графике появляются стрелки, обозначающие точки входа:
- Зеленые стрелки под свечами показывают сигнал на покупку.
- Красные стрелки над свечами показывают сигнал на продажу.
### Итог
Этот индикатор помогает трейдерам принимать решения о покупке или продаже активов, основываясь на пересечении значений WVF с полосами Боллинджера или диапазонами на основе процентилей. Пользователи могут гибко настраивать параметры для адаптации к различным рыночным условиям.
Index Option TradingThis indicator helps identify potential entry and exit points for trading by combining three key technical indicators: Moving Average (MA), Relative Strength Index (RSI), and Bollinger Bands (BB). Here's how it works and how you can use it to initiate trades:
Bollinger Band Reversal//@version=5
indicator("Bollinger Band Reversal", overlay=true)
// Bollinger Bands Parameters
length = 20
src = close
mult = 2.0
// Calculate Bollinger Bands
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upper_band = basis + dev
lower_band = basis - dev
// Conditions
close_outside_upper = close > upper_band
close_outside_lower = close < lower_band
// Detect reversal
candle_reversal = (close_outside_upper and close < upper_band) or (close_outside_lower and close > lower_band)
// Plot Bollinger Bands
plot(upper_band, color=color.red, linewidth=2, title="Upper Band")
plot(lower_band, color=color.green, linewidth=2, title="Lower Band")
plot(basis, color=color.blue, linewidth=1, title="Basis")
// Mark the condition on the chart
bgcolor(candle_reversal ? color.new(color.green, 90) : na, title="Candle Reversal Background")
// Display alerts
alertcondition(candle_reversal, title="Bollinger Band Reversal Alert", message="Candle closed outside BB, next candle closed inside BB")
Candle Closes Outside Bollinger Bands//@version=5
indicator("Candle Closes Outside Bollinger Bands", overlay=true)
// Bollinger Bands parameters
length = input.int(20, title="BB Length")
src = close
mult = input.float(2.0, title="BB Multiplier")
// Bollinger Bands Calculation
basis = ta.sma(src, length)
dev = mult * ta.stdev(src, length)
upperBB = basis + dev
lowerBB = basis - dev
// Condition for closing outside of the Bollinger Bands
closeAboveUpperBB = close > upperBB
closeBelowLowerBB = close < lowerBB
// Plotting signals
plotshape(closeAboveUpperBB, title="Close Above Upper BB", location=location.abovebar, color=color.green, style=shape.labelup, text="Close > Upper BB")
plotshape(closeBelowLowerBB, title="Close Below Lower BB", location=location.belowbar, color=color.red, style=shape.labeldown, text="Close < Lower BB")
// Optionally, plot the Bollinger Bands for visual reference
plot(upperBB, color=color.blue, title="Upper BB")
plot(lowerBB, color=color.blue, title="Lower BB")
ATR Moving AverageTrying to create a moving average of the ATR
This can be used as a basis for other things. For example - creating bands around this moving average.
Silver Bullet SessionsThe Silver Bullet Sessions indicator is a specialized timing tool designed to highlight key market sessions throughout the trading day. By marking specific hours with vertical lines, it helps traders identify potentially significant market moments that often coincide with increased volatility and trading opportunities.
This indicator plots vertical lines at six strategic times during the trading day: 3:00 AM, 4:00 AM, 10:00 AM, 11:00 AM, 2:00 PM, and 3:00 PM. These times are carefully selected to correspond with important market events and session overlaps in the global trading cycle. The early morning hours (3-4 AM) often capture significant Asian market movements and the European market opening. The mid-morning period (10-11 AM) typically corresponds with peak European trading hours and the pre-US market dynamics. The afternoon times (2-3 PM) coincide with key US market activities and the European market close.
The indicator is implemented using Pine Script version 6, ensuring compatibility with the latest TradingView platform features. It employs a clean, efficient coding structure that minimizes resource usage while maintaining reliable performance. The vertical lines are rendered in blue for clear visibility against any chart background, and their width is optimized for easy identification without obscuring price action.
Traders can use these visual markers to:
Plan their entries and exits around these key time periods
Anticipate potential market volatility
Structure their trading sessions around these significant market hours
Identify session-based trading patterns
Achat/Vente Moyenne MobileCe script utilise une moyenne mobile simple (SMA) pour générer des signaux. Vous pouvez ajuster la période de la moyenne mobile en modifiant le paramètre length selon votre stratégie.
Atlantic Trading - Multiple EMAs & Bollinger BandsMultiple EMAs & Bollinger Bands Overlay
A versatile technical analysis overlay combining multiple Exponential Moving Averages (EMAs) with customizable Bollinger Bands. This indicator is designed to help traders identify trends, momentum, and potential support/resistance levels across different timeframes.
Features
Multiple EMAs for trend analysis:
8 EMA (short-term trend)
60 EMA (intermediate trend)
200 EMA (long-term trend)
200 SMA (additional long-term trend confirmation)
Fully customizable Bollinger Bands:
Adjustable length and standard deviation
Individual color controls for upper, middle, and lower bands
Optional fill between bands with customizable transparency
Unified or separate color schemes for the bands
Settings
Moving Averages
Customizable lengths for all EMAs and SMA
Individual color settings for each moving average
Bollinger Bands
Length: Default 20 periods
Standard Deviation: Default 2.0
Color Options:
Default mode: Single color for all bands
Advanced mode: Individual colors for upper, middle, and lower bands
Fill Options:
Toggleable band fill
Customizable fill color
Adjustable fill transparency
How to Use
The 8, 60, and 200 EMAs help identify trends across different timeframes
The 200 SMA provides additional trend confirmation
Bollinger Bands help identify:
Potential support/resistance levels
Market volatility
Overbought/oversold conditions
Notes
All colors and parameters are fully customizable through the settings panel
The indicator works on all timeframes
Suitable for any trading instrument (stocks, forex, crypto, futures)
Updates
Version 1.0
Initial release with all core features
Customizable colors and parameters
Optional Bollinger Bands fill
Credits
Jacobeckooo on Atlantic Trading for the idea
Max-Min-Average Lines & BB reboundこのスクリプトは、TradingViewで使用可能なPine Scriptバージョン6で書かれたテクニカル指標で、以下の機能を実現しています。
---
## **主な目的**
1. **最高値・最安値・平均値ラインの表示**
- 過去一定期間の最高値 (MaxL)、最安値 (MinL)、およびその平均値 (AverageL) を計算してチャート上にプロットします。
- 視覚的に相場の過去のレンジを確認できます。
2. **ボリンジャーバンド反発シグナル**
- ボリンジャーバンドを計算し、価格が特定の条件を満たした場合に買い・売りのシグナルを表示します。
- ボリンジャーバンドの幅 (BB Width) や中心線の傾きに基づいたフィルタを活用しています。
---
## **詳細なコード説明**
### **1. 基本設定**
```pinescript
//@version=6
indicator("Max-Min-Average Lines & BB rebound", overlay=true)
```
- **バージョン6**のPine Scriptを使用。
- `overlay=true` により、計算結果がチャート上に直接描画されます(別ウィンドウではなく価格の上に重ねて表示)。
---
### **2. MaxL・MinL・AverageLの計算**
```pinescript
L = input.int(20, title="Period (L)", minval=1, tooltip="過去何日間を計算するかを指定します")
Thickness = input.int(1, title="Line Thickness", minval=1, tooltip="線の太さを指定します (1以上)")
MaxL = ta.highest(high, L)
MinL = ta.lowest(low, L)
AverageL = (MaxL + MinL) / 2
```
- ユーザー入力を通じて、計算期間 (`L`) とラインの太さ (`Thickness`) を指定可能。
- 過去`L`日間の最高値 (`MaxL`)、最安値 (`MinL`)、その平均値 (`AverageL`) を計算。
---
### **3. ラインの描画**
```pinescript
plot(MaxL, color=color.green, linewidth=Thickness, title="MaxL (最高値)", style=plot.style_line)
plot(AverageL, color=color.gray, linewidth=Thickness, title="AverageL (平均値)", style=plot.style_line)
plot(MinL, color=color.red, linewidth=Thickness, title="MinL (最安値)", style=plot.style_line)
```
- 最高値ライン (緑)、平均値ライン (灰色)、最安値ライン (赤) をそれぞれ描画します。
---
### **4. ボリンジャーバンド計算**
```pinescript
smaPeriod = input.int(20, title="SMA Period", minval=1)
bbLength = input.int(20, title="Bollinger Bands Length", minval=1)
bbDeviation = input.float(1.0, title="Bollinger Bands Deviation")
= ta.bb(close, bbLength, bbDeviation)
bbWidth = ta.bbw(close, bbLength, 1)
```
- ボリンジャーバンドの中心線、上限線、下限線 (`bbMiddle`, `bbUpper`, `bbLower`) を計算。
- ボリンジャーバンド幅 (`bbWidth`) も計算して、ボラティリティの指標として活用。
---
### **5. シグナル条件**
#### **買いシグナル条件**
```pinescript
buyCondition = showBuySignal and
low < (bbUpper - adjustBuy * (bbWidth / 2)) and
close > (bbUpper + adjustBuy * (bbWidth / 2)) and
bbMiddleSlope > 0
```
- **条件**:
1. ロー価格 (`low`) が調整値付き上限線に触れる。
2. クローズ価格 (`close`) が調整値付き上限線を超える。
3. ボリンジャーバンドの中心線 (`bbMiddle`) の傾きがプラス。
#### **売りシグナル条件**
```pinescript
sellCondition = showSellSignal and
high > (bbLower + adjustSell * (bbWidth / 2)) and
close < (bbLower - adjustSell * (bbWidth / 2)) and
bbMiddleSlope < 0
```
- **条件**:
1. ハイ価格 (`high`) が調整値付き下限線に触れる。
2. クローズ価格 (`close`) が調整値付き下限線を下回る。
3. ボリンジャーバンドの中心線 (`bbMiddle`) の傾きがマイナス。
---
### **6. シグナルの描画**
```pinescript
plotshape(series=buyCondition, location=location.belowbar, style=shape.labelup, color=color.new(color.green, 50), size=size.normal, title="Buy Signal")
plotshape(series=sellCondition, location=location.abovebar, style=shape.labeldown, color=color.new(color.red, 50), size=size.normal, title="Sell Signal")
```
- 買いシグナルが発生した場合は、チャートのロー部分に緑の矢印。
- 売りシグナルが発生した場合は、チャートのハイ部分に赤の矢印。
---
### **7. ボリンジャーバンドのプロット**
```pinescript
plot(bbUpper, color=color.blue, linewidth=1, title="Upper BB")
plot(bbLower, color=color.blue, linewidth=1, title="Lower BB")
plot(bbMiddle, color=color.orange, linewidth=2, title="SMA")
```
- ボリンジャーバンドの上限、下限、中央線をそれぞれ青とオレンジ色でプロット。
---
### **8. アラート機能**
```pinescript
if (buyCondition)
alert("Buy Signal: 条件が一致しました!(上側ボリンジャーバンド & 中心線の傾きプラス)", alert.freq_once_per_bar_close)
if (sellCondition)
alert("Sell Signal: 条件が一致しました!(下側ボリンジャーバンド & 中心線の傾きマイナス)", alert.freq_once_per_bar_close)
```
- 買い/売り条件が発生した際に、アラートを1バーにつき1回発生させます。
---
## **カスタマイズ可能な入力パラメータ**
| パラメータ名 | 説明 |
|---------------------------|---------------------------------------|
| **Period (L)** | 最高値・最安値計算の期間。 |
| **Line Thickness** | ラインの太さ。 |
| **SMA Period** | ボリンジャーバンド中心線のSMA期間。 |
| **Bollinger Bands Length**| ボリンジャーバンド計算の期間。 |
| **Bollinger Bands Deviation** | ボリンジャーバンドの偏差。 |
| **Buy/Sell Adjustment Factor** | シグナル調整用の補正値。 |
| **Show Buy/Sell Signal** | 買い/売りシグナルの表示オン/オフ。 |
---
### **特徴**
- **視覚的な指標**: トレンドレンジやボリンジャーバンドを明確に視覚化。
- **シグナルフィルタリング**: ボリンジャーバンド中心線の傾きを考慮。
- **通知機能**: トレードシグナルが発生した際にアラート通知。
このスクリプトは、テクニカル分析の幅広いニーズに対応し、視覚化とシグナル通知を組み合わせた実用的なツールです。
Bollinger Bands Breakout with Liquidity Swingsollinger Bands için, 20 dönemlik bir SMA (Hareketli Ortalama) ve 2 standart sapma kullanıldı.
Buy ve Sell Sinyalleri: Bollinger Bands üst ve alt bandının dışına çıkma ve tekrar içine geri dönme durumu kontrol edilerek alım/satım sinyalleri oluşturuldu. Kapanış fiyatı, üst bandın dışında kapanıp tekrar içinde kapanıyorsa kırmızı al sinyali, alt bandın dışında kapanıp tekrar içinde kapanıyorsa yeşil al sinyali oluşturulur.
Liquidity Swings: Bu gösterge, yalnızca kapanış fiyatlarının yüksek ve düşük seviyelerini takip eder. Gerçek bir likidite seviyesi göstergesi oluşturmak daha karmaşık olabilir ve genellikle işlem hacmi veya diğer piyasada likiditeyi ölçen araçlarla ilişkilidir.
DANGHIEU EMA 34/89/200 ribbon1. EMA 200 với tùy chọn bật/tắt:
showEma200 = input.bool(true, "Hiển thị EMA 200"): Tạo tùy chọn bật/tắt EMA 200 trong cài đặt.
Nếu true, EMA 200 sẽ được hiển thị. Nếu false, EMA 200 sẽ bị ẩn.
2. Điều kiện hiển thị:
plot(showEma200 ? ema200 : na, color=color.blue, linewidth=2, title="EMA 200"): Nếu showEma200 là true, EMA 200 sẽ được vẽ, ngược lại sẽ bị ẩn.
3. Màu sắc và độ dày:
EMA 200 có màu xanh dương (color.blue) và độ dày linewidth=2. Bạn có thể điều chỉnh theo nhu cầu.
EU Stock Market Time Zone with Vertical Lines//@version=5
indicator("EU Stock Market Time Zone with Vertical Lines", overlay=true)
// Define the start and end times of the EU stock market
euMarketOpen = timestamp("GMT+1", year, month, dayofmonth, 09, 00) // 9:00 AM CET
euMarketClose = timestamp("GMT+1", year, month, dayofmonth, 17, 30) // 5:30 PM CET
// Check if the current time is within the EU market hours
isEUmarketOpen = (time >= euMarketOpen and time <= euMarketClose)
// Draw vertical dotted lines during the EU market hours
var lineColor = color.new(color.blue, 0)
if (isEUmarketOpen and na(time ))
line.new(x1=na, y1=na, x2=na, y2=na, xloc=xloc.bar_time, extend=extend.both, color=lineColor, style=line.style_dotted, width=1)
// Plot a horizontal line to mark EU market hours
plot(isEUmarketOpen ? close : na, style=plot.style_linebr, color=color.blue, linewidth=2, title="EU Market Hours")
Trading SessionsChanged session names and times.
Replaced average price with VWAP.
Added the ability to hide weekends.
Investing Zone"Investing Zone" designed to highlight specific market conditions. It calculates the Relative Strength Index (RSI) over a period of 2 and identifies when the RSI value drops below 15, signaling a potential oversold condition. Additionally, it calculates the Exponential Moving Average (EMA) over a period of 14 and checks if the closing price is below the EMA, indicating a bearish trend.
The indicator combines these two conditions, and if both are true, it highlights the chart background in green with a transparency level of 85. This visual cue helps traders identify potential "investing zones" where the market might be oversold in a downtrend, suggesting areas of interest for further analysis or potential buying opportunities.
Cross Alert with Configurable Rectangles**Description:**
This TradingView script, **"Cross Alert with Configurable Rectangles"**, is a technical analysis tool designed to help traders visualize and analyze market trends effectively. It combines configurable moving averages with customizable timeframe-based rectangles for highlighting price ranges.
### Features:
1. **Moving Averages:**
- Calculates and plots an Exponential Moving Average (EMA) and a Simple Moving Average (SMA) based on user-defined lengths.
- Provides both short and long moving averages to identify potential trend reversals or confirmations.
2. **Customizable Timeframe Rectangles:**
- Dynamically draws rectangles around price action based on user-selected timeframes: **Hourly (60 minutes), Daily, Weekly, or Monthly.**
- Automatically updates the rectangles to reflect high and low price levels within the selected timeframe.
- Customizable rectangle color and transparency for better chart visibility.
3. **Dynamic Line Projections:**
- Projects the trend of the long and short moving averages forward in time to help anticipate price movements.
### Use Case:
This script is ideal for traders who want to:
- Identify key support and resistance levels within different timeframes.
- Analyze price behavior relative to moving averages.
- Spot potential trend changes by observing price interaction with the moving averages and timeframe rectangles.
The script is fully configurable, allowing traders to adapt it to their trading strategy and preferences.
JoGeilo RSI Divergence Indicator with EMA FilterAn RSI indicator that can show divergences and filter them.
EMA filter:
The filter shows the bearish divergences above the EMA as a possible trend reversal and hidden bullish divergences as a trend continuation. The bullish divergences and hidden bearish divergences change to gray. Exactly the opposite happens when the price is below the EMA. This allows you to concentrate on the relevant divergences in the direction of the trend. The length of the EMA can be defined by yourself. The filter can also be reversed.
Explanation:
Regular (normal) divergences: Can be interpreted as an indication of an impending trend change.
Hidden divergences: Are generally seen as trend confirmation and indicate a continuation of the current trend.
I hope the indicator helps you.
AIOS v1This indicator stacks :
- Keltner Channel
- Nadaraya (non repaint)
- Ichimoku (non-repainted version)
- EMAs
I choose to compile them because I didn't see anywhere a script that gathers the valuable data all in one. This script provides a deeper insight of what the market could be doing and this could be valuable to traders.
Particularly, this script is an attempt to provide a more smoother nadaraya version (as the repainted one cause problems) despite the fact I'm not entirely satisfied with the output, so a 2nd version will probably come up later.
It is rather simple and easy to add for the newcomers, so I chose to release it. I wanted it to be being fully configurable and modular.