Institutional Support/Resistance Locator🏛️ Institutional Support/Resistance Locator
Overview
The Institutional Support/Resistance Locator identifies high-probability demand and supply zones based on strong price rejection, large candle bodies, and elevated volume . These zones are commonly targeted or defended by institutional participants, helping traders anticipate potential reversal or continuation areas.
⸻
How It Works
The indicator uses a confluence of conditions to detect zones:
• Large Body Candles: Body size must exceed the moving average body size multiplied by a user-defined factor.
• High Volume: Volume must exceed the moving average volume by a configurable multiplier.
• Wick Rejection: Candles must show strong upper or lower wicks indicating aggressive rejection.
• If all criteria are met:
• Bullish candles form a Demand Zone.
• Bearish candles form a Supply Zone.
Each zone is plotted for a customizable number of future bars, representing areas where institutions may re-engage with the market.
⸻
Key Features
• ✅ Highlights institutional demand and supply areas dynamically
• ✅ Customizable sensitivity: body, volume, wick, padding, and zone extension
• ✅ Zones plotted as translucent regions with auto-expiry
• ✅ Works across all timeframes and markets
⸻
How to Use
• Trend Traders: Use demand zones for potential bounce entries in uptrends, and supply zones for pullback short entries in downtrends.
• Range Traders: Use zones as potential reversal points inside sideways market structures.
• Scalpers & Intraday Traders: Combine with volume or price action near zones for refined entries.
Always validate zone reactions with supporting indicators or price behavior.
⸻
Why This Combination?
The combination of wick rejection, volume confirmation, and large candle structure is designed to reflect footprints of smart money. Rather than relying on fixed pivots or subjective zones, this logic adapts to the current market context with statistically grounded conditions.
⸻
Why It’s Worth Using
This tool offers traders a structured way to interpret institutional activity on charts without relying on guesswork. By plotting potential high-impact areas, it helps improve reaction time.
⸻
Note :
• This script is open-source and non-commercial.
• No performance guarantees or unrealistic claims are made.
• It is intended for educational and analytical purposes only.
趨勢分析
Smoothed Heikin Ashi Trend OscillatorThis indicator measures trend direction and momentum using a smoothed Heikin Ashi anchor. The oscillator value is the distance between the actual closing price and a synthetic Heikin Ashi baseline, optionally smoothed using a selectable moving average (SMA, EMA, HMA, VWMA, or RMA).
The oscillator is plotted as a histogram. Bar color reflects:
Whether price is above or below the anchor (bullish or bearish)
Whether the distance is expanding or contracting (momentum acceleration or deceleration)
The anchor is reverse-engineered from prior Heikin Ashi open and close values, adjusted by real price data (high, low, open). This structure allows for smoothed trend analysis while retaining responsiveness to price movement.
I use this oscillator in combination with smoothed Heikin Ashi candles to visually track momentum and detect subtle trend shifts early.
Built-in alert conditions allow for notification on zero-line crosses, with confirmation on candle close. These can optionally be used to signal potential trend shifts.
✅ Non-repainting (when live mode is off)
✅ Fully customizable smoothing, logic, and colors
✅ Works across all timeframes and asset classes
© 2025 Ben Deharde
VAPI with MA (no ta.sum)## 📘 Indicator: **VAPI with MA (no ta.sum)**
This custom indicator is a version of the **Volume Adjusted Price Indicator (VAPI)** combined with a selectable **moving average (MA)**. It manually computes the volume-weighted price momentum over a period and smooths it with a chosen type of moving average. The purpose is to assess directional volume pressure and potential trend shifts.
---
### 🔧 Inputs:
* **VAPI Length (`length`)**: Number of bars used for calculating the VAPI.
* **MA Length (`maLength`)**: Number of bars for smoothing VAPI with a moving average.
* **MA Type (`maType`)**: Type of moving average to apply (options: SMA, EMA, WMA, RMA, HMA, VWMA).
---
### 📈 Calculation Logic:
1. **x = (2 × close − high − low) / (high − low)**
Measures where the closing price lies within the candle range:
* Close at high → x = 1
* Close at low → x = -1
* Close in the middle → x = 0
A small constant (0.0001) is used to avoid division by zero.
2. **volX = volume × x**
This adjusts volume based on the candle's directional momentum.
3. **Manual summation over `length` bars** (instead of using `ta.sum`):
* `tva` accumulates the volume-adjusted values (`volX`)
* `tv` accumulates the total volume
4. **VAPI = 100 × (tva / tv)**
Gives a percentage-style oscillator:
* Positive values → bullish pressure
* Negative values → bearish pressure
5. **MA = Moving Average of VAPI**
Type of MA is user-defined (SMA, EMA, WMA, RMA, HMA, or VWMA).
---
### 📊 Plots:
* **VAPI Line** — Gray line (shows raw volume-adjusted price impulse).
* **MA Line** — Orange line (smoothed VAPI).
* **Zero Line** — Dashed horizontal reference at 0:
* Crossovers may suggest trend direction changes.
---
### 💡 Use Cases:
* **Volume momentum analysis**: Shows if volume supports current price action.
* **Divergence spotting**: Compare VAPI behavior against price movements.
* **Trend filtering**: The MA smooths out noise for clearer signals.
* **Entry/exit signals**: Use crossovers of VAPI/MA or zero line as potential triggers.
Bitcoin Monthly Seasonality [Alpha Extract]The Bitcoin Monthly Seasonality indicator analyzes historical Bitcoin price performance across different months of the year, enabling traders to identify seasonal patterns and potential trading opportunities. This tool helps traders:
Visualize which months historically perform best and worst for Bitcoin.
Track average returns and win rates for each month of the year.
Identify seasonal patterns to enhance trading strategies.
Compare cumulative or individual monthly performance.
🔶 CALCULATION
The indicator processes historical Bitcoin price data to calculate monthly performance metrics
Monthly Return Calculation
Inputs:
Monthly open and close prices.
User-defined lookback period (1-15 years).
Return Types:
Percentage: (monthEndPrice / monthStartPrice - 1) × 100
Price: monthEndPrice - monthStartPrice
Statistical Measures
Monthly Averages: ◦ Average return for each month calculated from historical data.
Win Rate: ◦ Percentage of positive returns for each month.
Best/Worst Detection: ◦ Identifies months with highest and lowest average returns.
Cumulative Option
Standard View: Shows discrete monthly performance.
Cumulative View: Shows compounding effect of consecutive months.
Example Calculation (Pine Script):
monthReturn = returnType == "Percentage" ?
(monthEndPrice / monthStartPrice - 1) * 100 :
monthEndPrice - monthStartPrice
calcWinRate(arr) =>
winCount = 0
totalCount = array.size(arr)
if totalCount > 0
for i = 0 to totalCount - 1
if array.get(arr, i) > 0
winCount += 1
(winCount / totalCount) * 100
else
0.0
🔶 DETAILS
Visual Features
Monthly Performance Bars: ◦ Color-coded bars (teal for positive, red for negative returns). ◦ Special highlighting for best (yellow) and worst (fuchsia) months.
Optional Trend Line: ◦ Shows continuous performance across months.
Monthly Axis Labels: ◦ Clear month names for easy reference.
Statistics Table: ◦ Comprehensive view of monthly performance metrics. ◦ Color-coded rows based on performance.
Interpretation
Strong Positive Months: Historically bullish periods for Bitcoin.
Strong Negative Months: Historically bearish periods for Bitcoin.
Win Rate Analysis: Higher win rates indicate more consistently positive months.
Pattern Recognition: Identify recurring seasonal patterns across years.
Best/Worst Identification: Quickly spot the historically strongest and weakest months.
🔶 EXAMPLES
The indicator helps identify key seasonal patterns
Bullish Seasons: Visualize historically strong months where Bitcoin tends to perform well, allowing traders to align long positions with favorable seasonality.
Bearish Seasons: Identify historically weak months where Bitcoin tends to underperform, helping traders avoid unfavorable periods or consider short positions.
Seasonal Strategy Development: Create trading strategies that capitalize on recurring monthly patterns, such as entering positions in historically strong months and reducing exposure during weak months.
Year-to-Year Comparison: Assess how current year performance compares to historical seasonal patterns to identify anomalies or confirmation of trends.
🔶 SETTINGS
Customization Options
Lookback Period: Adjust the number of years (1-15) used for historical analysis.
Return Type: Choose between percentage returns or absolute price changes.
Cumulative Option: Toggle between discrete monthly performance or cumulative effect.
Visual Style Options: Bar Display: Enable/disable and customize colors for positive/negative bars, Line Display: Enable/disable and customize colors for trend line, Axes Display: Show/hide reference axes.
Visual Enhancement: Best/Worst Month Highlighting: Toggle special highlighting of extreme months, Custom highlight colors for best and worst performing months.
The Bitcoin Monthly Seasonality indicator provides traders with valuable insights into Bitcoin's historical performance patterns throughout the year, helping to identify potentially favorable and unfavorable trading periods based on seasonal tendencies.
DMI Percentile MTF📈 DMI Percentile MTF – Custom Technical Indicator
This indicator is an enhanced version of the classic Directional Movement Index (DMI), converting +DI, -DI, and ADX values into dynamic percentiles ranging from 0% to 100%, making it easier to interpret the strength and direction of a trend.
⚙️ Key Features:
Percentile Normalization: Calculates where current values stand within a historical range (default: 100 bars), providing clearer overbought/oversold context.
+DI (green): Indicates bullish directional strength.
-DI (orange): Indicates bearish directional strength.
ADX (fuchsia): Measures overall trend strength (rising = strong trend, falling = flat market).
20% / 80% reference lines: Help identify weak or strong conditions.
Multi-Timeframe (MTF) Support: Analyze a higher timeframe trend (e.g., daily) while viewing a lower timeframe chart (e.g., 1h).
📊 How to Read It:
+DI > -DI → bullish trend dominance.
-DI > +DI → bearish trend dominance.
ADX rising → strengthening trend (regardless of direction).
ADX falling → sideways or consolidating market.
Values above 80% → historically high / strong conditions.
Values below 20% → historically low / weak conditions or potential breakout setup.
MACD+RSI Cross Alert – Clean Signal by TFGMACD + RSI Cross Alert (Lightweight & Clean Visuals)
This script highlights potential momentum shifts using MACD line crossovers with RSI confirmation.
Clean, minimal ▲▼ markers make it suitable for any chart setup.
▲ Upward Marker: When MACD line crosses above signal line and RSI is above 50
▼ Downward Marker: When MACD line crosses below signal line and RSI is below 50
Signals are semi-transparent and offset for visual clarity
Compatible with any timeframe and symbol
🔰 For beginners:
These markers may suggest trend initiation or a momentum shift.
They can serve as timing references when used with support/resistance zones or moving averages.
MACD+RSIクロス マーカー(軽量・視認性重視)
このスクリプトは、MACDのクロスとRSIの方向をもとに、勢いの変化を示すマーカーを表示します。
チャートを邪魔しない小さな▲▼のみ表示され、シンプルで軽量な構成です。
▲ 上向きマーカー:MACDがシグナルを上抜け、かつRSIが50より上の場合
▼ 下向きマーカー:MACDがシグナルを下抜け、かつRSIが50より下の場合
半透明かつオフセット配置で視認性を確保
すべての時間足・銘柄に対応
🔰 初心者向け補足:
このマーカーは、トレンドの始まりや勢いの変化の可能性を示します。
サポートライン・移動平均などと組み合わせて、タイミングの参考として活用できます。
DEMA HMA Z-score OscillatorThis custom oscillator combines the power of the Hull Moving Average (HMA) with the Z-Score to identify momentum shifts and potential trend reversals. The Z-Score measures how far the current HMA is from its historical mean, helping to spot overbought or oversold conditions.
Uptrend: Long signals are generated when the Z-Score crosses above the defined Long Threshold.
Downtrend: Short signals are triggered when the Z-Score drops below the Short Threshold.
Visuals: The Z-Score is plotted along with background color changes and fills to clearly indicate trend strength. Green fills highlight uptrends, while pink fills indicate downtrends.
Alerts: Alerts are available for both long and short conditions based on Z-Score crossovers.
Customizable Inputs:
HMA Length
Smoothing Length (for DEMA)
Z-Score Length
Long and Short Thresholds
This indicator is ideal for detecting momentum shifts, confirming trend strength, and helping to time entry/exit points in your trading strategy.
SMA 50/200 Crossover with Candle Coloring
Indicator Features:
Customizable Moving Averages: You can change the lengths of the 50- and 200-SMA in the settings.
Candle Color: The candle at which the crossover occurs is colored (green for a bullish crossover, red for a bearish crossover).
Crossover Markers: Small arrows appear at the crossover points.
Colored Background: The background changes color when a crossover occurs.
Alerts: You can set alerts when crossovers occur.
StochRSI Strategy with SL/TP updatedSimple StoschiRSi strategy have backtest with input management of stop loss and take profit, have some adjustment to other version the exit the trade..
Aroon𝑻𝑹𝑨𝑫𝑬𝑹𝑫𝑶 + Oscillator
ENGLISH
Key Differences Between Aroon𝑻𝑹𝑨𝑫𝑬𝑹𝑫𝑶 + Oscillator and Original Aroon Indicator:
Visual and User Experience Enhancements
✅ Colored Background:
Green for uptrends
Orange for downtrends
(Not present in original version)
✅ Signal Markers:
Buy (B): Green triangle ▼ (bottom)
Sell (S): Red triangle ▲ (top)
(Original only shows line crossovers)
✅ Text Color Customization:
"Buy (B) and Sell (S) signals feature selectable white/black text colors to accommodate both dark and light chart themes."
(No such option in original)
Technical Improvements
✅ Added Oscillator Line:
Purple line using upper - lower formula
(Original only shows Up/Down lines)
✅ Advanced Signal Logic:
Crossover + previous candle confirmation (upper < lower )
(Original uses simple crossovers)
Customization Options
✅ User-Friendly Inputs:
Adjustable period (default: 14)
Feature Comparison
Performans Karşılaştırması
Özellik Orijinal Aroon
Up/Down Çizgileri ✔️
Renkli Arka Plan ❌
Al/Sat Sinyalleri ❌
Yazı Rengi Seçimi ❌
Kesişim Filtresi ❌
Özellik Aroon𝑻𝑹𝑨𝑫𝑬𝑹𝑫𝑶+ Oscillator
Up/Down Çizgileri ✔️
Osilatör Çizgisi ✔️ (Mor)
Renkli Arka Plan ✔️
Al/Sat Sinyalleri ✔️ (B/S)
Yazı Rengi Seçimi ✔️
Kesişim Filtresi ✔️ (Önceki Bar)
Conclusion
This indicator preserves the original Aroon's core mechanics while adding:
Enhanced visual feedback
Trend confirmation systems
User customization
Ideal for swing traders seeking clearer signals, though some users may want adjustments to the oscillator calculation (which uses a non-standard formula).
////////////////////////////////////////////////////////////////////////////////
TÜRKÇE AÇIKLAMA:
Aroon𝑻𝑹𝑨𝑫𝑬𝑹𝑫𝑶 + Oscillator göstergesinin orijinal Aroon'a göre temel farklılıkları:
Görsel ve Kullanıcı Deneyimi Geliştirmeleri
✅ Renkli Arka Plan:
Yükseliş trendinde yeşil
Düşüş trendinde turuncu
Bu özellik orijinalinde yok
✅ Sinyal İşaretleri:
Al (B) için yeşil üçgen ▲ (alt kısım)
Sat (S) için kırmızı üçgen ▼ (üst kısım)
Orijinalde sadece çizgi kesişimleri var
✅ Yazı Rengi Seçeneği:
Al için "B" ve sat için "S" sinyalleri beyaz/siyah yazı rengi seçilebilir koyu ve açık tema kullananlar için
Orijinalde böyle bir özellik yok
Teknik Geliştirmeler
✅ Aroon Osilatörü Eklentisi:
upper - lower formülüyle mor renkli ek çizgi
Orijinal Aroon sadece Up/Down çizgilerini gösterir
✅ Gelişmiş Sinyal Mantığı:
Kesişim + önceki mum doğrulaması (upper < lower )
Orijinalde basit kesişimler
Özelleştirme Seçenekleri
✅ Kullanıcı Dostu Inputlar:
Periyot ayarı (varsayılan 14)
Performans Karşılaştırması
Özellik Orijinal Aroon
Up/Down Çizgileri ✔️
Osilatör Çizgisi ❌
Renkli Arka Plan ❌
Al/Sat Sinyalleri ❌
Yazı Rengi Seçimi ❌
Kesişim Filtresi ❌
Özellik Aroon𝑻𝑹𝑨𝑫𝑬𝑹𝑫𝑶+ Oscillator
Up/Down Çizgileri ✔️
Osilatör Çizgisi ✔️ (Mor)
Renkli Arka Plan ✔️
Al/Sat Sinyalleri ✔️ (B/S)
Yazı Rengi Seçimi ✔️
Kesişim Filtresi ✔️ (Önceki Bar)
Sonuç:
Bu gösterge, orijinal Aroon'un teknik temelini korurken daha fazla görsel geri bildirim, trend onay mekanizması ve kullanıcı özelleştirmesi sunar. Özellikle swing trader'lar için sinyal netliği sağlar, ancak osilatör hesaplamasında orijinal formül kullanılmadığı için bazı kullanıcılar ek ayar yapmak isteyebilir.
Volatility ML StrategyThis strategy uses proxy indicators for machine learning-predicted volatility and GARCH-based expected volatility. Trades are triggered when predicted volatility change exceeds threshold and market momentum confirms. Based on a fully engineered XGBoost + GARCH Python pipeline, adapted into Pine Script for backtesting and deployment on TradingView
Peak Pulse ReversalPeak Pulse Reversal is a clean and accurate indicator designed to detect price exhaustion zones.
It uses a combination of internal logic to identify high-probability reversal points — both at tops and bottoms.
📈 Ideal for swing and intraday traders
🔍 Highlights overbought/oversold extremes with signal arrows
🧠 Combines multiple hidden tools under a simplified interface
🔎 Among the signals generated by the indicator, purple and orange signals represent moments where multiple internal indicators confirm an overbought or oversold condition simultaneously.
These signals often form at stronger exhaustion points and indicate a higher probability of reversal.
💡 Therefore, purple and orange signals are considered high-confidence zones.
🔐 Manual access only. Contact @traderpango for access
Unified ATR Zones### 🧠 **Purpose of the Script**
This indicator draws **ATR-based support and resistance levels** directly on the price chart (overlay). It's a clean and minimal visualization of current volatility zones derived from the **ATR (Average True Range)**.
---
### ⚙️ **1. User Inputs**
```pinescript
atr_length = input.int(14, "ATR Period", minval=1)
smoothing = input.string("RMA", "Smoothing", options= )
use_prev_close = input(false, "Use Previous Close")
```
* `atr_length`: The number of bars to calculate the ATR (default 14).
* `smoothing`: Type of moving average used to smooth the ATR.
* `use_prev_close`: If true, use the previous close (`close `) as the base level. If false, use the current close.
---
### 📐 **2. ATR Calculation**
```pinescript
true_range = ta.tr(true)
atr_value = ma_function(true_range, atr_length)
```
* `true_range`: Measures the maximum of:
* High - Low
* High - Previous Close
* Low - Previous Close
* `atr_value`: Smoothed version of `true_range` using the selected MA type.
---
### 📏 **3. Base Level**
```pinescript
base_level = use_prev_close ? close : close
```
* This is the price reference point for plotting zones:
* Can be today's close or yesterday’s close, based on user input.
---
### 🧱 **4. Zone Plotting**
```pinescript
plot(base_level, "Base", color=color.gray, linewidth=1)
plot(base_level + atr_value, "1 ATR Long", color=color.green)
plot(base_level + atr_value * 1.5, "1.5 ATR Long", color=color.blue)
plot(base_level - atr_value, "1 ATR Short", color=color.red)
plot(base_level - atr_value * 1.5, "1.5 ATR Short", color=color.maroon)
```
* **Base level** is plotted in gray.
* **+1 ATR and +1.5 ATR levels** are shown above as resistance or targets (green/blue).
* **–1 ATR and –1.5 ATR levels** are plotted below as support or potential reversal zones (red/maroon).
---
### 📋 **5. Info Panel**
```pinescript
var table info_table = table.new(position.top_right, 2, 1)
table.cell(info_table, 0, 0, "ATR: " + str.tostring(atr_value, "#.##"), bgcolor=color.new(color.gray, 90))
```
* A small **table in the top-right corner** shows the current ATR value.
* Background is semi-transparent gray for a clean look.
---
### ✅ **Use Case**
This script is useful for:
* Visualizing real-time **volatility zones**.
* Planning entries/exits or managing risk based on market volatility.
* Identifying breakout or retracement opportunities at dynamic ATR-based levels.
---
Would you like to add **alerts** when price touches any of these zones, or include more zone levels (e.g. 0.5 ATR)?
ATR Zone Levels Pro### 🧠 **Purpose of the Script**
The script calculates **dynamic support/resistance levels** above and below a base price using the **ATR (Average True Range)**. These "zones" help traders identify potential areas of price reaction, entries, or stop placement based on current market volatility.
---
### ⚙️ **1. User Inputs**
```pinescript
show_long = input(true, "Show Long Levels")
show_short = input(true, "Show Short Levels")
use_close_price = input(true, "Use Close Price")
atr_length = input.int(14, "ATR Period", minval=1)
smoothing = input.string("RMA", "Smoothing Type", options= )
```
* `show_long` and `show_short`: Allow toggling visibility of long/short zones.
* `use_close_price`: If true, base level = close price; else, it’s the average of high and low.
* `atr_length`: Number of bars used for ATR calculation.
* `smoothing`: Type of smoothing applied to the ATR.
---
### 📐 **2. ATR Calculation with Custom Smoothing**
```pinescript
ma_function(source, length) => ...
true_range = ta.tr(true)
atr = ma_function(true_range, atr_length)
```
* `true_range`: Calculates the true range for each bar.
* `atr`: Applies user-selected smoothing function to the true range to get ATR.
---
### 📏 **3. Base Level Calculation**
```pinescript
base_level = use_close_price ? close : (high + low) / 2
```
* Defines the **base price level** for the zones:
* `close` if selected, otherwise midpoint of high and low.
---
### 🔢 **4. Calculating Zone Levels**
```pinescript
array.push(long_levels, base_level + atr * 0.3) ...
array.push(short_levels, base_level - atr * 0.3) ...
```
* Creates arrays of levels spaced at multipliers of ATR (0.3x, 0.5x, 1x, 1.5x).
* `long_levels` are above the base level (for breakout or continuation).
* `short_levels` are below (for breakdown or reversal).
---
### 🖼️ **5. Plotting Levels**
```pinescript
plot(show_long ? array.get(long_levels, 1) : na, ...)
```
* Each level is plotted with distinct colors.
* If `show_long` or `show_short` is disabled, the corresponding lines are hidden.
---
### 📋 **6. Info Table (Top Right Corner)**
```pinescript
var table info_table = table.new(position.top_right, 2, 5)
```
* Displays:
* Current ATR value
* Main Long/Short zone level (1 ATR above/below base)
* Chosen smoothing type
* Current base price
---
### 🏷️ **7. Info Label on Chart**
```pinescript
label.new(bar_index, base_level, ...)
```
* Shows a label near the base price on the last bar with:
* Base level
* ATR value
* Old label is deleted on each bar to keep only one active label.
---
### ✅ **Use Case**
This indicator is ideal for:
* Determining dynamic **support/resistance levels**
* Planning entries/exits based on volatility zones
* Structuring trades with ATR-based risk zones (e.g. 1.5x ATR stops)
---
Would you like me to add **alerts** when price reaches these zones or crosses them?
ATR Momentum Pro### 🧠 **Purpose of the Script**
This indicator visualizes the **momentum of volatility** by calculating the difference between the current ATR (Average True Range) and its moving average. It helps detect periods when market volatility is accelerating or decelerating.
---
### ⚙️ **1. User Inputs**
```pinescript
atr_length = input.int(14, "ATR Period", minval=1, maxval=100)
ma_length = input.int(20, "MA Period", minval=1, maxval=50)
ma_type = input.string("SMA", "MA Type", options= )
```
* `atr_length`: Number of periods used to calculate ATR (default is 14).
* `ma_length`: Number of periods for smoothing the ATR.
* `ma_type`: Type of Moving Average to use for smoothing (SMA, EMA, RMA, or WMA).
---
### 📈 **2. Calculations**
```pinescript
atr = ta.atr(atr_length)
```
* Calculates the standard **ATR**, which measures market volatility using high, low, and close prices.
```pinescript
ma_value = switch ma_type
"SMA" => ta.sma(atr, ma_length)
"EMA" => ta.ema(atr, ma_length)
"RMA" => ta.rma(atr, ma_length)
"WMA" => ta.wma(atr, ma_length)
```
* Applies the selected Moving Average to the ATR to smooth it.
```pinescript
oscillator = atr - ma_value
```
* Calculates the **ATR Momentum Oscillator**:
* Positive values: volatility is increasing.
* Negative values: volatility is decreasing.
---
### 📊 **3. Oscillator Plot**
```pinescript
plot(oscillator, "ATR Momentum", color=color.new(color.blue, 0), style=plot.style_histogram)
```
* Plots the oscillator as a **blue histogram** in a separate pane below the chart.
---
### 🏷️ **4. Informational Label**
```pinescript
var label lbl = label.new(bar_index, na, "", style=label.style_label_center)
if barstate.islast
label.set_xy(lbl, bar_index, ta.highest(high, 10) )
label.set_text(lbl,
"ATR: " + str.tostring(atr, "#.##") +
" MA(" + str.tostring(ma_length) + "): " + str.tostring(ma_value, "#.##") +
" Momentum: " + str.tostring(oscillator, "#.##"))
label.set_color(lbl, oscillator > 0 ? color.green : color.red)
```
* Creates a **single label** that updates only on the **latest bar**.
* The label shows:
* Current ATR
* ATR moving average
* Momentum (difference between the two)
* Label color:
* **Green** if momentum > 0
* **Red** if momentum < 0
* The label is positioned just above the price (highest high of the last 10 bars, offset by 1 bar).
---
### ✅ **Use Case**
This indicator is useful for:
* Spotting increases or decreases in market volatility
* Confirming breakout strength
* Filtering trades based on volatility momentum
---
Would you like me to add **buy/sell signals** when the oscillator crosses above or below zero?
ORB Advanced Cloud Indicator & FIB's by TenAMTraderSummary: ORB Advanced Cloud Indicator with Alerts and Fibonacci Retracement Targets by TenAMTrader
This TradingView script is an advanced version of the Opening Range Breakout (ORB) indicator, enhanced with visual clouds and Fibonacci retracement/extension levels. It is designed to help traders identify key price levels and track price movements relative to those levels throughout the trading day. The script includes alert functionalities to notify traders when price crosses key levels and when Fibonacci levels are reached, which can serve as potential entry and exit targets.
Key Features:
Primary and Secondary Range Calculation:
The indicator calculates the primary range (defined by a start and end time) and optionally, a secondary range.
The primary range includes the highest and lowest prices during the designated time period, as well as the midpoint of this range.
The secondary range (if enabled) tracks another price range during a second time period, with its own high, low, and midpoint.
Visual Clouds:
The script draws colored clouds between the high, midpoint, and low of the opening range.
The upper cloud spans between the Opening High and Midpoint, while the lower cloud spans between the Midpoint and Opening Low.
Similarly, a second set of clouds can be drawn for the secondary range (if enabled).
Fibonacci Levels:
The script calculates Fibonacci retracement and extension levels based on the primary range (the difference between the Opening High and Opening Low).
Fibonacci levels can be used as entry and exit targets in a trading strategy, as these levels often act as potential support/resistance zones.
Fibonacci levels include standard values like -0.236, -0.382, -0.618, and positive extensions like 1.236, 1.618, etc.
Customizable Alerts:
Alerts can be set to trigger when:
The price crosses above the Opening High.
The price crosses below the Opening Low.
The price crosses the Opening Midpoint.
These alerts can help traders act quickly on important price movements relative to the opening range.
Customization Options:
The indicator allows users to adjust the time settings for both the primary and secondary ranges.
Custom colors can be set for the lines, clouds, and Fibonacci levels.
The visibility of each line and cloud can be toggled on or off, giving users flexibility in how the chart is displayed.
Fibonacci Levels Overview:
The script includes several Fibonacci retracement and extension levels:
Negative Retracements (e.g., -0.236, -0.382, -0.50, -0.618, etc.) are plotted below the Opening Low, and can act as potential support levels in a downtrend.
Positive Extensions (e.g., 1.236, 1.382, 1.618, 2.0, etc.) are plotted above the Opening High, and can act as potential resistance levels in an uptrend.
Fib levels can be used as entry and exit targets to capitalize on price reversals or breakouts.
Safety Warning:
This script is for educational and informational purposes only and is not intended as financial advice. While it provides valuable technical information about price ranges and Fibonacci levels, trading always involves risk. Users are encouraged to:
Paper trade or use a demo account before applying this indicator with real capital.
Use proper risk management strategies, including stop-loss orders, to protect against unexpected market movements.
Understand that no trading strategy, indicator, or tool can guarantee profits, and losses can occur.
Important: The creator, TenAMTrader, and TradingView are not responsible for any financial losses resulting from the use of this script. Always trade responsibly, and ensure you fully understand the risks involved in any trading strategy.
Reverse Keltner Channel StrategyReverse Keltner Channel Strategy
Overview
The Reverse Keltner Channel Strategy is a mean-reversion trading system that capitalizes on price movements between Keltner Channels. Unlike traditional Keltner Channel strategies that trade breakouts, this system takes the contrarian approach by entering positions when price returns to the channel after overextending.
Strategy Logic
Long Entry Conditions:
Price crosses above the lower Keltner Channel from below
This signals a potential reversal after an oversold condition
Position is entered at market price upon signal confirmation
Long Exit Conditions:
Take Profit: Price reaches the upper Keltner Channel
Stop Loss: Placed at half the channel width below entry price
Short Entry Conditions:
Price crosses below the upper Keltner Channel from above
This signals a potential reversal after an overbought condition
Position is entered at market price upon signal confirmation
Short Exit Conditions:
Take Profit: Price reaches the lower Keltner Channel
Stop Loss: Placed at half the channel width above entry price
Key Features
Mean Reversion Approach: Takes advantage of price tendency to return to mean after extreme moves
Adaptive Stop Loss: Stop loss dynamically adjusts based on market volatility via ATR
Visual Signals: Entry points clearly marked with directional triangles
Fully Customizable: All parameters can be adjusted to fit various market conditions
Customizable Parameters
Keltner EMA Length: Controls the responsiveness of the channel (default: 20)
ATR Multiplier: Determines channel width/sensitivity (default: 2.0)
ATR Length: Affects volatility calculation period (default: 10)
Stop Loss Factor: Adjusts risk management aggressiveness (default: 0.5)
Best Used On
This strategy performs well on:
Currency pairs with defined ranging behavior
Commodities that show cyclical price movements
Higher timeframes (4H, Daily) for more reliable signals
Markets with moderate volatility
Risk Management
The built-in stop loss mechanism automatically adjusts to market conditions by calculating position risk relative to the current channel width. This approach ensures that risk remains proportional to potential reward across varying market conditions.
Notes for Optimization
Consider adjusting the EMA length and ATR multiplier based on the specific asset and timeframe:
Lower values increase sensitivity and generate more signals
Higher values produce fewer but potentially more reliable signals
As with any trading strategy, thorough backtesting is recommended before live implementation.
Past performance is not indicative of future results. Always practice sound risk management.
seekho roj kamao trendline indicatorThe Auto Trendline Indicator is a powerful technical analysis tool designed to automatically detect and plot dynamic trendlines based on recent price action. Using pivot-based logic, it identifies significant swing highs and lows and connects them to draw trendlines that visually represent market trends and potential support or resistance areas. The indicator continuously scans the chart for new pivots, updating trendlines in real-time to reflect the latest market structure. This helps traders quickly identify the direction and strength of a trend without manually drawing lines.
The trendlines offer a visual framework for traders to plan entries, exits, and risk management strategies. When price approaches these levels, it often signals a critical point of interest where breakouts, bounces, or reversals may occur. Because it reacts to actual price pivots, the indicator remains responsive to changing market conditions, making it suitable for trending and consolidating markets alike.
Ideal for traders of all levels, this indicator simplifies chart analysis by automating a traditionally manual process. It enhances decision-making by reducing subjectivity and providing clear visual cues. Whether used standalone or in conjunction with other tools, the Auto Trendline Indicator is a reliable assistant for mapping out price structure and market momentum.
Seekho roj kamaoVery accurate buy and sell entries.This custom trading indicator delivers powerful market insights by combining price action, volume trends, and momentum shifts. Designed for precision, it identifies high-probability entry and exit points, minimizing noise and maximizing clarity. Whether you're day trading or swing trading, it enhances decision-making and adapts seamlessly to various market conditions
[blackcat] L3 Twin Range Filter ProOVERVIEW
The L3 Twin Range Filter Pro indicator enhances trading strategies by filtering out market noise through a sophisticated dual-range approach. Unlike previous versions, this script not only provides clear visual indications of buy/sell signals but also incorporates a dynamic trend range filter line. By averaging two smoothed exponential moving averages—one fast and one slow—the indicator generates upper and lower range boundaries that adapt to changing market conditions. Traders can easily spot buy/sell opportunities when the closing price crosses these boundaries, supported by configurable alerts for real-time notifications.
FEATURES
Dual-Range Calculation: Combines fast and slow moving averages to create adaptive range boundaries.
Customizable Parameters:
Periods: Adjustable lengths for fast (default 9 bars) and slow (default 34 bars) moving averages.
Multipliers: Coefficients to modify the distance of the trailing lines from the price.
Dynamic Trend Range Filter Line: Visually displays buy/sell signals directly on the chart.
Trailing Stop Loss Logic: Automatically follows price movements to act as a trailing stop loss indicator.
Trade Signals: Clearly indicates buy/sell points with labeled signals.
Alerts: Configurable notifications for buy/sell signals to keep traders informed.
Visual Enhancements: Colored fills and dynamic boundary lines for easy interpretation.
HOW TO USE
Add the L3 Twin Range Filter Pro indicator to your TradingView chart.
Customize the input parameters:
Price Source: Choose the desired price source (e.g., Close).
Show Trade Signals: Toggle on/off for displaying buy/sell labels.
Fast Period: Set the period for the fast moving average (default 9 bars).
Slow Period: Set the period for the slow moving average (default 34 bars).
Fast Range Multiplier: Adjust the multiplier for the fast moving average.
Slow Range Multiplier: Adjust the multiplier for the slow moving average.
Monitor the plotted trend range filter and dynamic boundaries on the chart.
Identify buy/sell signals based on the crossing of price and range boundaries.
Configure alerts for real-time notifications when signals are triggered.
TRADE LOGIC
BUY Signal: Triggered when the price is higher than or equal to the upper range level. The indicator line will trail just below the price, acting as a trailing stop loss.
SELL Signal: Triggered when the price is lower than or equal to the lower range level. The indicator line will trail just above the price, serving as a trailing stop loss.
LIMITATIONS
The performance of this indicator relies on the selected periods and multipliers.
Market volatility can impact the accuracy of the signals.
Always complement this indicator with other analytical tools for robust decision-making.
NOTES
Experiment with different parameter settings to optimize the indicator for various market conditions.
Thoroughly backtest the indicator using historical data to ensure its compatibility with your trading strategy.
THANKS
A big thank you to Colin McKee for his foundational work on the Twin Range Filter! Your contributions have paved the way for enhanced trading tools. 🙏📈🔍
Heikin Ashi Colored Regular OHLC CandlesHeikin Ashi Colored Regular OHLC Candles
In the world of trading, Heikin Ashi candles are a popular tool for smoothing out price action and identifying trends more clearly. However, Heikin Ashi candles do not reflect the actual open, high, low, and close prices of a market. They are calculated values that change the chart’s structure. This can make it harder to see precise price levels or use standard price-based tools effectively.
To get the best of both worlds, we can apply the color logic of Heikin Ashi candles to regular OHLC candles. This means we keep the true market data, but show the trend visually in the same smooth way Heikin Ashi candles do.
Why use this approach
Heikin Ashi color logic filters out noise and helps provide a clearer view of the current trend direction. Since we are still plotting real OHLC candles, we do not lose important price information such as actual highs, lows, or closing prices. This method offers a hybrid view that combines the accuracy of real price levels with the visual benefits of Heikin Ashi trend coloring. It also helps maintain visual consistency for traders who are used to Heikin Ashi signals but want to see real price action.
Advantages for scalping
Scalping requires fast decisions. Even small price noise can lead to hesitation or bad entries. Coloring regular candles based on Heikin Ashi direction helps reduce that noise and makes short-term trends easier to read. It allows for faster confirmation of momentum without switching away from real prices. Since the candles are not modified, scalpers can still place tight stop-losses and targets based on actual price structure. This approach also avoids clutter, keeping the chart clean and focused.
How it works
We calculate the Heikin Ashi values in the background. If the Heikin Ashi close is higher than the Heikin Ashi open, the trend is considered bullish and the candle is colored green. If the close is lower than the open, it is bearish and the candle is red. If they are equal, the candle is gray or neutral. We then use these colors to paint the real OHLC candles, which are unchanged in shape or position.
Fair Value Gap Retest DetectorFair Value Gaps (FVGs) represent price inefficiencies where buying and selling volumes are imbalanced, creating gaps between the wicks of consecutive candles. These gaps often act as magnets for price, as markets tend to "fill" these gaps before resuming their trend.
FVGs can signal potential entry or exit points, making them a valuable tool for traders looking to exploit these price inefficiencies.
Burr ORB RSIRSI To monitor overbought or oversold conditions. Prevents staying in a trade when price is likely to reverse.