HTF Bollinger Bands S/R with ShadingBollinger Band works as good support and resistance levels. This indicator shows the BB 2SD and 3SD on daily, weekly and monthly on lower timeframes.
Cari dalam skrip untuk "bollingerband"
Penguin TrendMeasures the volatility regime by comparing the upper Bollinger Band to the upper Keltner Channel and colors bars with a lightweight trend state. Supports SMA/EMA/WMA/RMA/HMA/VWMA/VWAP and a selectable calculation timeframe. Default settings preserve the original look and behavior.
Penguin Trend visualizes expansion vs. compression in price action by comparing two classic volatility envelopes. It computes:
Diff% = (UpperBB โ UpperKC) / UpperKC ร 100
* Diff > 0: Bollinger Bands are wider than Keltner Channels -> expansion / momentum regime.
* Diff < 0: BB narrower than KC -> compression / squeeze regime.
A white โAverage Differenceโ line smooths Diff% (default: SMA(5)) to help spot regime shifts.
Trend coloring (kept from original):
Bars are colored only when Diff > 0 to emphasize expansion phases. A lightweight trend engine defines four states using a fast/slow MA bias and a short โthrustโ MA applied to ohlc4:
* Green: Bullish bias and thrust > fast MA (healthy upside thrust).
* Red: Bearish bias and thrust < fast MA (healthy downside thrust).
* Yellow: Bullish bias but thrust โค fast MA (pullback/weakness).
* Blue: Bearish bias but thrust โฅ fast MA (bear rally/short squeeze).
Note: By default, Blue renders as Yellow to preserve the original visual style. Enable โUse true BLUE colorโ if you prefer Aqua for Blue.
How it works (under the hood):
* Bollinger Bands (BB): Basis = selected MA of src (default SMA(20)). Width = StdDev ร Mult (default 2.0).
* Keltner Channels (KC): Basis = selected MA of src (default SMA(20)). Width = ATR(kcATR) ร Mult (defaults 20 and 2.0).
* Diff%: Safe division guards against division-by-zero.
* MA engine: You can choose SMA / EMA / WMA / RMA / HMA / VWMA / VWAP for BB/KC bases, Diff smoothing, and the trend components (VWAP is session-anchored).
* Calculation timeframe: Set โCalculation timeframeโ to compute all internals on a chosen TF via request.security() while viewing any chart TF.
Inputs (key ones):
* Calculation timeframe: Empty = use chart TF; if set (e.g., 60), all internals compute on that TF.
* BB: Length, StdDev Mult, MA Type.
* KC: Basis Length, ATR Length, Multiplier, MA Type.
* Smoothing: Average Length & MA Type for the โAverage Differenceโ line.
* Trend Engine: Fast/Slow lengths & MA type; Signal (kept for completeness); Thrust length & MA type (defaults replicate original behavior).
* Display: Paint bars only when Diff > 0; optional Zero line; optional true Blue color.
How to use:
1. Regime changes: Watch Diff% or Average Diff crossing 0. Above zero favors momentum/continuation setups; below zero suggests compression and potential breakout conditions.
2. State confirmation: Use bar colors to qualify expansion: Green/Red indicate expansion aligned with trend thrust; Yellow/Blue flag weaker/contrarian thrust during expansion.
3. Multi-timeframe analysis: Run calculations on a higher TF (e.g., H1/H4) while trading a lower TF chart to smooth noise.
Alerts:
* Diff crosses above/below 0.
* Average Diff crosses above/below 0.
* State changes: GREEN / RED / YELLOW / BLUE.
Notes & limitations:
* VWAP is session-anchored and best on intraday data. If not applicable on the selected calculation TF, the script automatically falls back to EMA.
* Default parameters (SMA(20) for BB/KC, multipliers 2.0, SMA(5) smoothing, trend logic and bar painting) preserve the original appearance.
Release notes:
v6.0 โ Rewritten in Pine v6 with structured inputs and guards. Multi-MA support (SMA/EMA/WMA/RMA/HMA/VWMA/VWAP). Calculation timeframe via request.security() for multi-TF workflows. Safe division; optional zero line; optional true Blue color. Original visuals and behavior preserved by default.
License / disclaimer:
ยฉ waranyu.trkm โ MIT License. Educational use only; not financial advice.
ORB Dashboard for the TFLX Strategy# ORB Range/ATR Dashboard - Technical Indicator Description
## Main Function
This indicator analyzes Opening Range Breakout (ORB) patterns by calculating a defined time period and its relation to historical volatility. The indicator combines multiple technical analysis methods and presents results in a configurable dashboard format.
**Purpose:** This indicator automates the manual calculation steps of the TFLX analysis methodology, providing real-time computation of volatility ratios, trend filters, and risk management parameters that would otherwise require manual calculation and monitoring.
## Requirements and Limitations
**Additional Indicator Required:** This dashboard indicator works in conjunction with a separate ORB range visualization indicator that displays the actual high/low range levels on the chart. The dashboard provides analysis and calculations, while the range indicator provides visual reference points.
**Important Notice:** This indicator serves as an analytical tool and calculation assistant for the TFLX methodology. It does not execute trades automatically but provides data analysis to support manual decision-making processes.
## TFLX Analysis Methodology Framework
### Core Analysis Rules (Discretionary Implementation)
**Primary Conditions:**
- Market position relative to neutral zones (BB analysis)
- Volatility range between 15-60% of ATR(3)
- News event screening (high-impact economic releases)
- Market session timing constraints (before calculated session end)
- US Bank Holiday considerations
**Exception Conditions:**
- High-impact news with rebreak patterns
- Reversal patterns during neutral market conditions
### Technical Specifications of the Methodology
**Range Definition:**
- Time Period: First 15 minutes after market open
- Measurement: High-Low range calculation
- Breakout Trigger: 5-minute close outside established range
**Volatility Analysis:**
- Formula: (Range Points / ATR(3) Previous Day) ร 100
- Threshold Ranges:
- <15%: Below minimum threshold
- 15-20%: Low volatility range
- 25-30%: Moderate volatility range
- 30-40%: Good volatility range
- 40-50%: High volatility range
- 50-60%: Very high volatility range
- >60%: Above maximum threshold
**News Event Categories:**
- Major Events: NFP, CPI, PPI, FOMC releases
- Minor Events: All significant economic releases during market hours
- Impact Assessment: Market reaction analysis framework
**Trend Analysis Framework (1H Bollinger Bands):**
- Base Calculation: EMA(200) with standard deviation bands
- Reference Points: Market Open, ORB Close, Trigger Bar
- Decision Logic: 2 out of 3 reference points determine bias
- Zone Classifications:
- Within 0.5 multiplier: Neutral zone
- Within 1.5 multiplier: Directional bias zone
- Outside 1.5 multiplier: Strong directional zone
**Timing Constraints:**
- Session Window: Market open to calculated session end (typically 4.5 hours)
- Retracement Analysis: Maximum adverse movement before breakeven or stop loss
**Manual Calculation Process (Automated by Indicator):**
1. Measure range in points using chart measurement tools
2. Switch to daily timeframe
3. Set ATR period to 3
4. Extract previous day's ATR value
5. Calculate: (Range Points รท ATR Value) ร 100
6. Apply percentage thresholds for analysis
## Core Components and Calculation Methods
### 1. Opening Range Calculation
**Data Source:** High/Low/Close prices of current timeframe
**Calculation:**
- Defines a configurable time period (default: 15 minutes)
- Collects during this period: `range_high = max(high)` and `range_low = min(low)`
- Calculates Range Size: `range_size = range_high - range_low`
- Stores the last close price of the period: `final_orb_close`
### 2. ATR (Average True Range) Integration
**Data Source:** Daily True Range values
**Calculation:**
```
daily_atr = ta.atr(length) // Default 3 periods
atr_yesterday = daily_atr // Previous trading day
```
**Available Methods:** RMA (default), SMA, EMA, WMA
### 3. Volatility Ratio Calculation
**Formula:**
```
ratio = (range_size / atr_yesterday) * 100
```
**Purpose:** Normalization of current range against historical volatility
**Configurable Parameters:** Min/Max thresholds (default: 15-60%)
### 4. Bollinger Bands Integration (1H Timeframe)
**Data Source:** 1-hour chart data via `request.security()`
**Calculation:**
```
bb_ema = ta.ema(close, 200) // 1H timeframe
bb_std = ta.stdev(close, 200) // 1H timeframe
bb_upper = bb_ema + (bb_std * multiplier)
bb_lower = bb_ema - (bb_std * multiplier)
```
**Configurable Multipliers:**
- Neutral Zone: 0.5x standard deviation
- Strong Zone: 1.5x standard deviation
### 5. Trend Filter System (2/3 Method)
**Components:**
1. **NY Open Signal:** Compares 1H open price with BB levels
2. **ORB Close Signal:** Compares final ORB close with BB levels
3. **Trigger Signal:** Compares breakout price with BB levels
**Logic:**
```
if (bullish_signals >= 2) โ "BULLISH"
if (bearish_signals >= 2) โ "BEARISH"
else โ "MIXED" or "NO TREND"
```
## Component Interaction
### Trade Signal Generation
**Algorithm:**
```
trade_allowed = (orb_ratio >= min_threshold AND orb_ratio <= max_threshold)
AND (bb_signal != "NEUTRAL")
AND (trend_filter_result contains "BULLISH" OR "BEARISH")
```
### Risk Management Calculation
**Entry Points:**
- Long Entry: `range_high`
- Short Entry: `range_low`
**Stop Loss Calculation:**
```
sl_level = range_low + (range_size * sl_position_percent / 100)
```
**Take Profit Calculation:**
```
tp_distance = range_size * tp_factor_percent / 100
long_tp = long_entry + tp_distance
short_tp = short_entry - tp_distance
```
**Position Sizing (CFD-optimized):**
```
risk_per_contract = avg_risk_points * contract_value * lot_size
max_contracts = max_risk_amount / risk_per_contract
```
**Margin Calculation (CFDs):**
```
position_value = total_units * entry_price
margin_required = position_value / leverage
```
## Dashboard Elements
### 1. Volatility Filter Section
- **ORB Range:** Current range in points
- **ATR Previous:** Yesterday's ATR values
- **ORB Ratio:** Calculated ratio with color coding
### 2. Trend Filter Section
- **NY Open vs BB:** Position of 1H open relative to BB
- **ORB Close vs BB:** Position of ORB close relative to BB
- **Trigger Bar vs BB:** Position of breakout price relative to BB
- **Trend Result:** Summary of 2/3 filter
### 3. Risk Management Section (optional)
- **R/R Ratio:** Calculated from TP/SL distances
- **Risk per Lot:** Based on instrument type
- **Max Lot Packages:** Automatic position sizing calculation
- **Margin Required:** For CFD instruments
### 4. Journal Section (optional)
- **Breakout Timing:** Categorization by bars (1-3, 4-6, 7-9, 10-12, 13+)
- **Direction Tracking:** Bullish/Bearish breakout direction
- **Position Analysis:** Distance of breakout to ORB range
## Automatic Instrument Detection
**CFD/Index Treatment:**
```
if (syminfo.type == "cfd" OR syminfo.type == "index")
contract_value = 1.0 * cfd_lot_size
```
**Forex Treatment:**
```
if (syminfo.type == "forex")
contract_value = syminfo.pointvalue * cfd_lot_size
```
**Futures/Stocks:**
```
contract_value = syminfo.pointvalue
```
## Timezone Handling
- All time calculations based on configurable timezone
- Session End Time: ORB Start + 4.5 hours
- Automatic overflow handling for 24h format
## Alert System
**ORB Formation Alert:**
- Triggered upon completion of ORB period
- Includes: Range size, high/low values
**Breakout Alert:**
- Triggered on close price outside ORB range
- Includes: Direction, trade status based on filters
## Configuration Options
- **ORB Period:** Start/end time in hours/minutes
- **ATR Parameters:** Period and calculation method
- **Volatility Thresholds:** Min/max percentage limits
- **BB Parameters:** Period and multipliers
- **Risk Management:** Risk amount, SL/TP positions
- **Dashboard Layout:** Position, size, colors, visibility
## Data Integrity
- State variables with `var` declaration for persistence
- Daily reset of all relevant variables
- Lookahead bias prevention through `barmerge.lookahead_off`
- Multi-timeframe safety through `request.security()` functions
This technical implementation provides a comprehensive analysis framework for Opening Range Breakout patterns with integrated volatility, trend, and risk management components.
Gemini All-in-OneDescription
The Gemini AIO (All-in-One) is a comprehensive overlay indicator designed for swing and position traders. It merges three distinct and powerful trading strategies into a single, cohesive tool to identify high-probability setups in stocks that are in confirmed uptrends.
What the Indicator Does:
Combines Three Strategies: Integrates a multi-scanner breakout system, a mean-reversion model, and a multi-year breakout tool into one indicator.
Main Modules
Signals Module:
1. Features six unique scanner signals (CS1-CS6) to identify a variety of bullish consolidation patterns.
2. Includes a full trade management framework with RVC (Red Volume Candle), PBP (Post Breakout Pivot Entry), and ISL (Initial Stop Loss) levels.
3. Identifies powerful Episodic Pivot (EP) and EP Entry (EPE) signals for stocks showing exceptional strength.
Reversal Module:
1. A mean-reversion strategy that primarily uses Bollinger Bands to find oversold conditions.
2. Provides a three-stage signal process: RA (Reversal Setup), Entry 1, and Entry 2 to time entries from a potential bottom.
Multi-Year Breakout (MYBO) Module:
1. Automatically identifies and plots historical, multi-year resistance and support levels.
2. Generates a clear signal when the price breaks out above these significant long-term levels.
Advanced Alerts: Features a highly customizable alert system that can be timed to trigger either on the bar's close or at a specific time of day (e.g., 2:30 PM IST), allowing for end-of-day style notifications.
How to Best Use It:
This indicator is most powerful when used with a systematic, rules-based approach. The core principle is to use long-term moving averages to define the trend and then use the indicator's signals to time entries within that trend.
The Foundation (Trend Filter): The most important rule is to only consider long setups on stocks where the 150-day SMA is above the 200-day EMA, and the 150-day SMA is sloping upwards. This keeps you aligned with the primary uptrend.
Strategy 1: The Momentum Breakout (PBP Entry)
1. Confirm the stock meets the primary trend filter rules.
2. Wait for an AIO setup signal (Super, Pls Buy, etc.) to draw a PBP line.
3. Enter when the price crosses above the PBP line or wait for a pull back after the price has crossed the PBP line.
Strategy 2: The Mean Reversion (RA Entry)
1. Confirm the stock meets the primary trend filter rules.
2. Wait for an "RA" (Reversal Setup) signal to appear on the chart.
3. Enter on the "ENTRY 1" (Risky Entry) or "ENTRY 2" signal (Safer Entry) or wait for a pull back after "ENTRY 1" or "ENTRY 2" signal.
Strategy 3: Multi-Year Breakout (MYBO) :
1. A breakout triangle (orange or fuchsia) appears below the candle, signaling a close above the "Recent High" (Orange) or "Older High" (Fuchsia).
2. Recent High refers to the highest price the stock has reached in last 12 months. Breaking above the "Recent High" is a sign of strong current demand.
3. Older High refers to the highest price the stock reached in a more distant, historical period - the period between 5 years ago and 1 year ago. Breaking above the "Older High" is a sign of VERY strong demand as it has broken a historic high.
4. Wait for a breakout triangle to appear on the chart.
5. Enter on the high of the candle marked with a breakout triangle or wait for a pull back after that signal.
Customize Your View: Use the "Inputs" tab to enable/disable the modules you want to focus on and configure the alerts you want to receive. Use the "Style" tab to hide any visual elements you don't need to keep your chart clean.
All-in-One EMA & BBThis script combines Bollinger Bands and multiple EMAs into one powerful tool. It includes:
1) Bollinger Bands with customizable MA type and colors.
2) EMA 21 on Daily and Weekly timeframes.
3) EMA 21, 50, 100, 200 on current chart timeframe.
4) Toggle options for each indicator for a clean, flexible view.
Ideal for traders seeking multi-timeframe trend analysis and volatility insights.
Wolf long or short this indicator is based on RSI, Stoch, BB , this indicator is giving a better understanding of short or long combined with 3 indicator
Tony O's Euler BandsTony Oโs Euler Bands is a volatility-based overlay that uses the mathematical constant e (~2.71828) to scale price bands in a non-linear way. Unlike traditional Bollinger Bands or Keltner Channels, these bands are spaced by exponential functions of volatility (ฯ), creating zones that expand and contract more dynamically across different market regimes.
How it works:
A configurable moving average (EMA/SMA/RMA/WMA) is used as the basis.
Volatility (ฯ) is calculated as the standard deviation of returns over a user-defined lookback.
Four band levels are plotted above and below the basis at distances equal to:
basis ร ๐^(๐โ
๐โ
๐)
where m is a user multiplier and k = {2, 4, 6, 8} for each successive band.
This produces inner bands that highlight mild deviations and outer bands that signal extreme moves.
What makes it unique:
Uses e as the base for band expansion instead of linear multiples or Fibonacci ratios.
Bands scale multiplicatively, making them more consistent across assets and price scales.
Multiple symmetric bands per side, color-coded from green (mild) to purple (extreme) for intuitive visual cues.
Optional transparent fill to show volatility envelopes without obscuring price action.
How to use:
Trend monitoring: Sustained closes beyond an inner band can indicate momentum; closes beyond outer bands can signal overextension.
Reversion spotting: Touches on extreme bands (level 4) can highlight potential exhaustion points.
Works on any asset/timeframe; adjust basis length, volatility lookback, and multiplier to suit your market.
Multi-Length Quad Bollinger BandsHere is a Pine Script code for TradingView that plots four separate Bollinger Bands on your chart. The lengths are preset to 14, 50, 100, and 200, but every aspectโincluding lengths, standard deviations, colors, and the source priceโis fully customizable through the script's settings menu.
The 14 and 50-period bands are enabled by default, while the 100 and 200-period bands are disabled to keep the chart clean initially. You can easily toggle any of them on or off.
Trader's Club IndicatorTraderโs Club Indicator
The Traderโs Club Indicator is an advanced confluence-based tool combining Bollinger Bands , Relative Strength Index (RSI) , VWAP with multi-band overlays , and an intelligent chained divergence detection engine. It identifies potential buy/sell setups by aligning price extremes with momentum shifts and volume-weighted trends. The โEโ signal highlights enhanced entry opportunities based on RSI divergence and price candle behaviour โ offering a timing edge for informed traders.
TRADING METHOD
This indicator works best on 1-Minute candles. Tested it successfully on XAUUSD.
Buy signal: 'E' in a Blue box.
Sell signal: 'E' in a Red box.
Chained Divergence: White dot on the top or bottom of a candle. This shows possibility of a reversal from that zone.
Use the Buy/Sell signals in conjunction with the VWAP levels. If the Buy/Sell Signals form at VWAP and a key support/resistance level, that is an additional confluence.
Disclaimer
This indicator is for informational and educational purposes only. Trading involves risk, and you are solely responsible for your decisions. Do not rely solely on the buy/sell โEโ signals โ itโs crucial to use additional confirmation, context, and personal judgment before placing trades. Always practice proper risk management and consider combining this indicator with broader technical or fundamental confluences.
Volatility Squeeze IndicatorThis is All Star Charts' very own Volatility Squeeze Indicator. Popularized by Steve Strazza, it's really just a Bollinger Band Width Indicator with moving averages. Very easy...
Volume Peak BoxTH Description
Volume Peak Box
เธญเธดเธเธเธดเนเธเนเธเธญเธฃเนเธเธตเนเนเธเนเธเธฃเธงเธเธเธฑเธเธเนเธงเธเธเธตเนเธกเธต Volume เธชเธนเธเธเธดเธเธเธเธเธด เนเธเธขเนเธเน Bollinger Band เธเธฑเธเธเนเธญเธกเธนเธฅ Volume เธเธตเนเธเธถเธเธเธฒเธ Timeframe เธเธตเนเธฅเนเธญเธเนเธงเน (เนเธเนเธ 1 เธเธฑเนเธงเนเธกเธ) เนเธฅเธฐเธเธฐเนเธชเธเธเธเธฅเนเธเธฃเธนเธเนเธเธ เธเธฅเนเธญเธเธเธฃเธญเธเธเนเธงเธเธฃเธฒเธเธฒเธชเธนเธโเธเนเธณ เธเธญเธเธเนเธงเธ Volume Peak เธเธฑเนเธ
๐ง เธงเธดเธเธตเธเธณเธเธฒเธ:
เธเธณเธเธงเธ Bollinger Band เธเธฒเธ Volume เธเธญเธ Timeframe เธเธตเนเธเธณเธซเธเธ
เธเนเธฒ Volume เธชเธนเธเธเธงเนเธฒ Upper Band โ เธเธทเธญเธงเนเธฒเนเธเนเธ Volume Peak
เธงเธฒเธเธเธฅเนเธญเธเธเธฃเธญเธ HighโLow เธเธญเธเนเธเนเธเธเธตเนเธญเธขเธนเนเนเธเธเนเธงเธ Volume Peak
เธเธฅเนเธญเธเธเธฐเนเธชเธเธเธเธเธเธธเธ Timeframe เนเธเนเนเธเนเธเนเธญเธกเธนเธฅเธเธฒเธ Timeframe เธเธตเนเธฅเนเธญเธเนเธงเนเนเธเนเธฒเธเธฑเนเธ
๐ง เนเธซเธกเธฒเธฐเธชเธณเธซเธฃเธฑเธเธเธฒเธฃเธเธน:
เนเธเธ Breakout
เธเธฒเธฃเนเธเธฅเธทเนเธญเธเนเธซเธงเธเธญเธเธชเธเธฒเธเธฑเธ
เธเธงเธฒเธกเนเธกเนเธชเธกเธเธธเธฅเธเธญเธเธญเธธเธเธชเธเธเน/เธญเธธเธเธเธฒเธ
เนเธซเธกเธฒเธฐเธกเธฒเธเธซเธฒเธเนเธเนเธฃเนเธงเธกเธเธฑเธเธเธฒเธฃเธญเนเธฒเธเธเธคเธเธดเธเธฃเธฃเธกเธฃเธฒเธเธฒเนเธ Timeframe เธขเนเธญเธข เนเธเธทเนเธญเธเธนเธเธเธดเธเธดเธฃเธดเธขเธฒเธฃเธฒเธเธฒเธเนเธญเนเธฃเธ Volume เธเธฒเธ Timeframe เนเธซเธเน
________________
ENG Description
Volume Peak Box
This indicator detects volume spikes based on Bollinger Bands applied to volume from a locked timeframe (e.g. 1H), and draws a box around the price range during those peak periods.
๐ง How it works:
Calculates Bollinger Bands on volume from the selected timeframe.
If volume exceeds the upper band, it is marked as a volume peak.
When a volume peak starts and ends, the indicator draws a box covering the highโlow price range during that period.
These boxes remain visible on all timeframes, but always reflect data from the locked timeframe.
๐ง Great for identifying:
Breakout zones
Institutional activity
Supply/demand imbalances
Tip: Use with lower timeframe price action to see how the market reacts near volume peaks from higher timeframes.
kiwi ์งํ ํตํฉ v6 MAX๋ง์ด ์ฌ์ฉํ๋ ์งํ๋ค์ ํ๋์ ์งํ๋ก ๋ง๋ค์์ต๋๋ค.
์ฃผ๋ก ์ด๋ํ๊ท ์ ์ ๊ธฐ์ค์ผ๋ก ๋งค๋งค์ ์ ์ฉํ ์งํ๋ฅผ ๋ชจ์๊ณ
๋ณผ๋์ ๋ฐด๋, ์ผ๋ชฉ๊ตฐํํ๋ฅผ ํ๋์ ์งํ๋ก ๋ง๋ค์์ต๋๋ค.
ํนํ, ์บ๋ค์์ด ํ๊ตญ ์คํ์ผ์ ์ํ๋ ์ฌ๋์๊ฒ ์ ํฉ๋๋ค.
(๋นจ๊ฐ์ = ์์น, ํ๋์ = ํ๋ฝ)
We made the most used indicators one indicator.
We collected indicators that are useful for trading mainly based on the moving average
The bolanger band and the Ilmok group table were made one indicator.
In particular, the candle color is written for those who want the Korean style.
(Red = Up, Blue = Down)
kiwi ์งํ ํตํฉ v6 MAX๋ง์ด ์ฌ์ฉํ๋ ์ง๋ฃ๋ค์ ํ๋์ ์งํ๋ก ๋ง๋ค์์ต๋๋ค.
์ฃผ๋ก ์ด๋ํ๊ท ์ ์ ๊ธฐ์ค์ผ๋ก ๋งค๋งค์ ์ ์ฉํ ์งํ๋ฅผ ๋ชจ์๊ณ
๋ณผ๋์ ๋ฐด๋, ์ผ๋ชฉ๊ตฐํํ๋ฅผ ํ๋์ ์งํ๋ก ๋ง๋ค์์ต๋๋ค.
ํนํ, ์บ๋ค์์ด ํ๊ตญ ์คํ์ผ์ ์ํ๋ ์ฌ๋์๊ฒ ์ ํฉ๋๋ค.
(๋นจ๊ฐ์ = ์์น, ํ๋์ = ํ๋ฝ)
I made a lot of used materials as an indicator.
We collected indicators that are useful for trading mainly based on the moving average
The bolanger band and the Ilmok group table were made one indicator.
In particular, the candle color is written for those who want the Korean style.
(Red = Up, Blue = Down)
RSI+BOLLINGER (LONG & SHORT)This indicator combines two of the most popular tools in technical analysis, the Relative Strength Index (RSI) and Bollinger Bands (BB), to generate both long (BUY) and short (SELL) trading signals.
Strategy:
Entries (Buy/Short): Entry signals are based on the RSI.
A BUY is suggested when the RSI crosses above an oversold level (default: 29), indicating a possible upward reversal.
A SHORT is suggested when the RSI crosses below an overbought level (default: 71), indicating a possible downward reversal.
Exits (Position Closure): Exit signals are based on Bollinger Bands.
A long position is closed when the price crosses below the upper Bollinger Band.
A short position is closed when the price crosses above the lower Bollinger Band.
Key Features:
Cascade Filter: Includes a smart filter that prevents opening new consecutive trades if the price hasn't moved significantly in favor of a new entry, optimizing signal quality.
Automation Alerts: Generates detailed alerts in JSON format for each event (buy, sell, close), designed for easy integration with trading bots and automated systems via webhooks.
Fully Configurable: All parameters of the RSI, Bollinger Bands, and strategy filters can be adjusted from the indicatorโs settings menu.
BB with Heikin Ashi + Reversal CheckThis indicator combines Bollinger Bands (BB) with Heikin Ashi candles to detect potential reversal points after price breaks the BB boundaries. It works on any symbol and timeframe, retrieving Heikin Ashi data via request.security().
Core Features
Heikin Ashi Candle Plot
Smooths price action by using Heikin Ashi candles instead of regular candles.
Candles are plotted directly on the chart with green (bullish) and red (bearish) colors.
Bollinger Bands (BB)
Calculated from Heikin Ashi close price.
Includes Basis (MA), Upper Band, and Lower Band, with customizable MA type, length, and standard deviation multiplier.
Break & Reversal Detection
The indicator tracks whether the price has broken above the Upper Band (p1) or below the Lower Band (p2).
It remembers the last breakout direction until the opposite breakout occurs (mutually exclusive logic).
Signal Logic
Long Signal (โฒ):
Price was previously below the Lower Band and then reversed upward (BB Lower rising + Heikin Ashi candle rising).
Short Signal (โผ):
Price was previously above the Upper Band and then reversed downward (BB Upper falling + Heikin Ashi candle falling).
Alerts
Custom alert conditions trigger when Long or Short signals occur, allowing automated notifications or bot integration.
Use Cases
โ
Swing Trading / Trend Reversal โ Identify potential bottom/top reversals after BB breakouts.
โ
Mean Reversion Strategies โ Enter trades when the price reverts to the BB mean after an extreme breakout.
โ
Multi-Timeframe Analysis โ Works with any timeframe and symbol via request.security().
Customization
MA Type: SMA, EMA, RMA, WMA, VWMA
BB Length & StdDev Multiplier
Timeframe & Symbol Selection
Institutional Sweep Zone (Range-Based)Institutional Sweep Zone (Range-Based)
This indicator models potential stop sweep zones based on institutional capital ranges, helping traders visualize where high-probability liquidity grabs are likely to occur.
Unlike traditional volatility bands, this tool estimates price movement by calculating how far a specific amount of capitalโentered into the marketโcan push price. By defining a lower and upper capital range (in millions of USD), the indicator dynamically draws bands representing the distance institutions could realistically move price in either direction.
It supports directional control, allowing you to focus on long sweeps, short sweeps, or both simultaneously. The pip cost is auto-calibrated based on the selected currency pair, making it highly adaptive to major FX pairs.
Key Features:
-Capital input range (in millions of USD)
-Directional sweep targeting: Long, Short, or Both
-Auto-detection of pip value based on FX pair
-Visual sweep zone mapped above and below current price
-Designed to highlight areas of institutional stop hunts
Why use it?
-Helps avoid setting stops inside common sweep zones
-Improves trade survivability when paired with higher timeframe strategies
-Offers a unique way to view price through an institutional lens
Created by: The_Forex_Steward
Explore more advanced tools and concepts on my TradingView profile.
Trend Strength Oscillator๐ Trend Strength Oscillator
๐ Description
Trend Strength Oscillator measures the directional strength of price relative to an adaptive dynamic trend band. It evaluates how far the current price is from the midpoint of a trend channel and normalizes this value by recent volatility range, allowing traders to detect trend strength, direction, and potential exhaustion in any market condition.
๐ Features
๐น Adaptive Trend Band Logic: Uses a modified ATR and time-dependent spread formula to dynamically adjust upper and lower trend bands.
๐น Trendline Midpoint Calculation: The central trendline is defined as the average between upper and lower bands.
๐น Relative Positioning: Measures how far the close is from the center of the band as a percentage.
๐น Range Normalization: Uses a normalized range to account for recent volatility, reducing noise in the oscillator reading.
๐น Oscillator Output (ยฑ100 scale):
+100 indicates strong bullish momentum
-100 indicates strong bearish momentum
0 is the neutral centerline
๐ ๏ธ How to Use
โ
Trend Strength > +50: Indicates a strong bullish phase.
โ
Trend Strength < -50: Indicates a strong bearish phase.
โ ๏ธ Crossing above 0: Potential bullish trend initiation.
โ ๏ธ Crossing below 0: Potential bearish trend initiation.
๐ Values near 0: Suggest trend weakness or ranging conditions.
Best suited timeframes: 1H, 4H, Daily
Ideal combination with: RSI, MACD, volume-based oscillators, moving average crosses
โ
TradingView House Rules Compliance
This indicator is written in Pine Script v5 and fully open-source.
The script does not repaint, does not generate false alerts, and does not access external or private data.
It is intended strictly as a technical analysis tool, and not a buy/sell signal generator.
Users are encouraged to combine this tool with other confirmations and independent judgment in trading decisions.
=========================================================
๐ Trend Strength Oscillator
๐ ์ค๋ช
(Description)
Trend Strength Oscillator๋ ๊ฐ๊ฒฉ์ด ๋์ ์ถ์ธ ๋ฐด๋ ๋ด ์ด๋์ ์์นํด ์๋์ง๋ฅผ ์ ๋์ ์ผ๋ก ๋ถ์ํ์ฌ, ์ถ์ธ์ ๋ฐฉํฅ์ฑ๊ณผ ๊ฐ๋๋ฅผ ์๊ฐ์ ์ผ๋ก ๋ณด์ฌ์ฃผ๋ ์ค์ค๋ ์ดํฐ ์งํ์
๋๋ค. ์ต๊ทผ ๋ณ๋์ฑ์ ๋ฐ์ํ ๋ฐด๋๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ๊ฐ๊ฒฉ ์์น๋ฅผ ์ ๊ทํํ์ฌ, ๊ณผ๋งค์ยท๊ณผ๋งค๋ ์ํ๋ ์ถ์ธ์ ์๋ฉธ ๊ฐ๋ฅ์ฑ๊น์ง ํ์งํ ์ ์๋๋ก ์ค๊ณ๋์์ต๋๋ค.
๐ ์ฃผ์ ํน์ง (Features)
๐น ์ ์ํ ์ถ์ธ ๋ฐด๋ ๊ณ์ฐ: ATR๊ณผ ์๊ฐ ๊ฒฝ๊ณผ๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ์๋จ/ํ๋จ ๋ฐด๋๋ฅผ ๋์ ์ผ๋ก ์กฐ์
๐น ์ค์ฌ ์ถ์ธ์ ์ฐ์ถ: ์๋จ๊ณผ ํ๋จ ๋ฐด๋์ ํ๊ท ๊ฐ์ ์ค์ฌ์ ์ผ๋ก ํ์ฉํ์ฌ ๊ธฐ์ค ์ถ ์ ๊ณต
๐น ์๋ ์์น ๊ณ์ฐ: ํ์ฌ ์ข
๊ฐ๊ฐ ์ค์ฌ์ ์์ ์ผ๋ง๋ ๋จ์ด์ ธ ์๋์ง๋ฅผ ์ ๊ทํํ์ฌ ์ถ์ธ ๊ฐ๋ ๊ณ์ฐ
๐น ๋ณ๋์ฑ ๊ธฐ๋ฐ ์ ๊ทํ: ์ต๊ทผ ๋ฐด๋ ๋ฒ์๋ฅผ ๊ธฐ์ค์ผ๋ก ์๋ ๊ฑฐ๋ฆฌ๋ฅผ 0~100 ์ฌ์ด ๊ฐ์ผ๋ก ๋ณํ
๐น ์ค์ค๋ ์ดํฐ ์ถ๋ ฅ (๋ฒ์: ยฑ100):
+100์ ๊ฐ๊น์ธ์๋ก ๊ฐํ ์์น ์ถ์ธ
-100์ ๊ฐ๊น์ธ์๋ก ๊ฐํ ํ๋ฝ ์ถ์ธ
0์ ๊ฐ๊น์ธ์๋ก ํก๋ณด ๊ตฌ๊ฐ ๊ฐ๋ฅ์ฑ
๐ ๏ธ ์ฌ์ฉ๋ฒ (How to Use)
โ
+50 ์ด์: ๊ฐํ ์์น ์ถ์ธ ์ง์ ์ค
โ
-50 ์ดํ: ๊ฐํ ํ๋ฝ ์ถ์ธ ์ง์ ์ค
โ ๏ธ 0์ ๋ํ ์ํฅ: ์์น ์ถ์ธ ์์ ๊ฐ๋ฅ์ฑ
โ ๏ธ 0์ ๋ํ ํํฅ: ํ๋ฝ ์ถ์ธ ์์ ๊ฐ๋ฅ์ฑ
๐ก 0 ๊ทผ์ฒ ์ ์ง: ์ถ์ธ ์ฝํ ๋๋ ํก๋ณด์ฅ ๊ฐ๋ฅ์ฑ
์ถ์ฒ ์๊ฐ๋: 1์๊ฐ๋ด, 4์๊ฐ๋ด, ์ผ๋ด
๋ณด์กฐ ์งํ๋ก ์ถ์ฒ: RSI, MACD, OBV, ์ด๋ํ๊ท ํฌ๋ก์ค ๋ฑ๊ณผ ํจ๊ป ํ์ฉ ์ ํจ๊ณผ์
โ
ํธ๋ ์ด๋ฉ๋ทฐ ํ์ฐ์ค๋ฃฐ ์ค์์ฌํญ (TradingView House Rules Compliance)
๋ณธ ์งํ๋ Pine Script v5๋ก ์์ฑ๋ ์คํ์์ค ๊ณต๊ฐ์ฉ ์คํฌ๋ฆฝํธ์
๋๋ค.
๋ฆฌํ์ธํธ(Repaint) ํ์์ด ์์ผ๋ฉฐ, **ํ์ ๊ฒฝ๊ณ (Spam Alerts)**๋ ์ฑ๋ฅ ์ ํ ์์๋ ์์ต๋๋ค.
์ธ๋ถ ๋ฐ์ดํฐ ์ ๊ทผ ์์ด ์์ ํ ์์ฒด ๊ณ์ฐ์ผ๋ก ๋์ํฉ๋๋ค.
์ด ์งํ๋ ํฌ์ ํ๋จ์ ๋๊ธฐ ์ํ ๋ถ์์ฉ ๋๊ตฌ์ด๋ฉฐ, ์ง์ ์ ์ธ ๋งค์ยท๋งค๋ ์ ํธ๋ก ์ฌ์ฉํด์๋ ์ ๋ฉ๋๋ค.
๋ชจ๋ ํธ๋ ์ด๋ฉ์ ์ฌ์ฉ์์ ๋
๋ฆฝ์ ์ธ ํ๋จ๊ณผ ์ฑ
์ ํ์ ์ด๋ฃจ์ด์ ธ์ผ ํฉ๋๋ค.
Trend Band Oscillator๐ Trend Band Oscillator
๐ Description
Trend Band Oscillator is a momentum-based trend indicator that calculates the spread between two EMAs and overlays it with a volatility filter using a standard deviation band. It helps traders visualize not only the trend direction but also the strength and stability of the trend.
๐ Features
๐น EMA Spread Calculation: Measures the difference between a fast and slow EMA to quantify short-term vs mid-term trend dynamics.
๐น Volatility Band Overlay: Applies an EMA of standard deviation to the spread to filter noise and highlight valid momentum shifts.
๐น Color-Based Visualization: Positive spread values are shown in lime (bullish), negative values in fuchsia (bearish) for quick directional insight.
๐น Upper/Lower Bands: Help detect potential overbought/oversold conditions or strong trend continuation.
๐น Zero Line Reference: A horizontal baseline at zero helps identify trend reversals and neutral zones.
๐ ๏ธ How to Use
โ
Spread > 0: Indicates a bullish trend. Consider maintaining or entering long positions.
โ
Spread < 0: Indicates a bearish trend. Consider maintaining or entering short positions.
โ ๏ธ Spread exceeds bands: May signal overextension or strong momentum; consider using with additional confirmation indicators.
๐ Band convergence: Suggests weakening trend and potential transition to a ranging market.
Recommended timeframes: 1H, 4H, Daily
Suggested complementary indicators: RSI, MACD, OBV, SuperTrend
โ
TradingView House Rules Compliance
This script is open-source and published under Pine Script v5.
It does not repaint, spam alerts, or cause performance issues.
It is designed as an analytical aid only and should not be considered financial advice.
All calculations are transparent, and no external data sources or insecure functions are used.
====================================================================
๐ Trend Band Oscillator
๐ ์ค๋ช
(Description)
Trend Band Oscillator๋ ๋ ๊ฐ์ EMA ๊ฐ ์คํ๋ ๋(์ฐจ์ด)๋ฅผ ๊ธฐ๋ฐ์ผ๋ก ํ ๋ชจ๋ฉํ
์ค์ฌ์ ์ถ์ธ ์ค์ค๋ ์ดํฐ์
๋๋ค. ์ฌ๊ธฐ์ ํ์คํธ์ฐจ ๊ธฐ๋ฐ์ ๋ณ๋์ฑ ๋ฐด๋๋ฅผ ์ ์ฉํ์ฌ, ์ถ์ธ์ ๋ฐฉํฅ๋ฟ ์๋๋ผ ๊ฐ๋์ ์์ ์ฑ๊น์ง ์๊ฐ์ ์ผ๋ก ๋ถ์ํ ์ ์๋๋ก ์ค๊ณ๋์์ต๋๋ค.
๐ ์ฃผ์ ํน์ง (Features)
๐น EMA ๊ธฐ๋ฐ ์คํ๋ ๋ ๊ณ์ฐ: Fast EMA์ Slow EMA์ ์ฐจ์ด๋ฅผ ํ์ฉํด ์์ฅ ์ถ์ธ๋ฅผ ์ ๋์ ์ผ๋ก ํํํฉ๋๋ค.
๐น ํ์คํธ์ฐจ ํํฐ๋ง: Spread์ ๋ํด EMA ๋ฐ ํ์คํธ์ฐจ ๊ธฐ๋ฐ์ ๋ฐด๋๋ฅผ ์ ์ฉํด ๋
ธ์ด์ฆ๋ฅผ ์ค์ด๊ณ ์ ํจํ ์ถ์ธ๋ฅผ ๊ฐ์กฐํฉ๋๋ค.
๐น ์ปฌ๋ฌ ๊ธฐ๋ฐ ์๊ฐํ: ์ค์ค๋ ์ดํฐ ๊ฐ์ด ์์์ผ ๊ฒฝ์ฐ ์ด๋ก์, ์์์ผ ๊ฒฝ์ฐ ๋ง์ ํ ์์ผ๋ก ์ถ์ธ ๋ฐฉํฅ์ ์ง๊ด์ ์ผ๋ก ํ์
ํ ์ ์์ต๋๋ค.
๐น ๋ฐด๋ ๋ฒ์ ์๊ฐํ: ์ยทํ์ ๋ฐด๋๋ฅผ ํตํด ์คํ๋ ๋์ ํ๊ท ํธ์ฐจ ๋ฒ์๋ฅผ ๋ณด์ฌ์ฃผ๋ฉฐ, ์ถ์ธ์ ๊ฐ์ฝ๊ณผ ํฌํ ์ฌ๋ถ๋ฅผ ์ง๋จํ ์ ์์ต๋๋ค.
๐น ์ ๋ก ๋ผ์ธ ํ์: ์ถ์ธ ์ ํ ๊ฐ๋ฅ ์ง์ ์ ์๊ฐ์ ์ผ๋ก ํ์ธํ ์ ์๋๋ก ์ค์ฌ์ (0์ )์ ์ ๊ณตํฉ๋๋ค.
๐ ๏ธ ์ฌ์ฉ๋ฒ (How to Use)
โ
์ค์ค๋ ์ดํฐ๊ฐ 0 ์ด์ ์ ์ง: ์์น ์ถ์ธ ๊ตฌ๊ฐ์ด๋ฉฐ, ๋กฑ ํฌ์ง์
์ ์ง ๋๋ ์ง์
๊ฒํ
โ
์ค์ค๋ ์ดํฐ๊ฐ 0 ์ดํ ์ ์ง: ํ๋ฝ ์ถ์ธ ๊ตฌ๊ฐ์ด๋ฉฐ, ์ ํฌ์ง์
์ ์ง ๋๋ ์ง์
๊ฒํ
โ ๏ธ ์ยทํ์ ๋ฐด๋๋ฅผ ์ดํ: ์ผ์์ ์ธ ๊ณผ๋งค์/๊ณผ๋งค๋ ํน์ ๊ฐํ ์ถ์ธ ๋ฐํ ๊ฐ๋ฅ์ฑ ์์ โ ๋ค๋ฅธ ๋ณด์กฐ์งํ์ ํจ๊ป ํํฐ๋ง ๊ถ์ฅ
๐ ๋ฐด๋ ์๋ ด: ์ถ์ธ๊ฐ ์ฝํด์ง๊ณ ์์์ ๋ํ๋ โ ๋ณ๋์ฑ ํ๋ฝ ๋๋ ๋ฐฉํฅ์ฑ ์์ค ๊ฐ๋ฅ์ฑ ์์
๊ถ์ฅ ์ ์ฉ ์๊ฐ๋: 1์๊ฐ๋ด, 4์๊ฐ๋ด, ์ผ๋ด
๋ณด์กฐ ์ ์ฉ ์งํ: RSI, MACD, OBV, SuperTrend ๋ฑ๊ณผ ํจ๊ป ์ฌ์ฉ ์ ์ ํธ ํํฐ๋ง์ ์ ๋ฆฌ
โ
ํธ๋ ์ด๋ฉ๋ทฐ ํ์ฐ์ค๋ฃฐ ์ค์์ฌํญ (TV House Rules Compliance)
์ด ์งํ๋ **๋ฌด๋ฃ ๊ณต๊ฐ์ฉ(Open-Source)**์ด๋ฉฐ, Pine Script Version 5๋ก ์์ฑ๋์ด ์์ต๋๋ค.
๊ณผ๋ํ ๋ฆฌํ์ธํธ, ๋น์ ์์ ๋ฐ๋ณต ๊ฒฝ๊ณ (alert spam), ์ค์๊ฐ ์ฑ๋ฅ ์ ํ ๋ฑ์ ์์๋ ํฌํจ๋์ด ์์ง ์์ต๋๋ค.
์ฌ์ฉ์๋ ๋ณธ ์งํ๋ฅผ ํฌ์ ๊ฒฐ์ ์ ์ฐธ๊ณ ์ฉ ๋ณด์กฐ ๋๊ตฌ๋ก ํ์ฉํด์ผ ํ๋ฉฐ, ๋
๋ฆฝ์ ์ธ ๋งค๋งค ํ๋จ์ด ํ์ํฉ๋๋ค.
๋ฐ์ดํฐ ์์ค ๋ฐ ๊ณ์ฐ ๋ฐฉ์์ ์์ ํ ๊ณต๊ฐ๋์ด ์์ผ๋ฉฐ, ์ธ๋ถ API๋ ๋ณด์ ์ทจ์ฝ์ ์ ์ ๋ฐํ๋ ๊ตฌ์ฑ ์์๋ ์์ต๋๋ค.
Faytterro Bands Breakout๐ Faytterro Bands Breakout ๐
This indicator was created as a strategy showcase for another script: Faytterro Bands
Itโs meant to demonstrate a simple breakout strategy based on Faytterro Bands logic and includes performance tracking.
โ What Is It?
This script is a visual breakout strategy based on a custom moving average and dynamic deviation bands, similar in concept to Bollinger Bands but with unique smoothing (centered regression) and performance features.
๐ What Does It Do?
Detects breakouts above or below the Faytterro Band.
Plots visual trade entries and exits.
Labels each trade with percentage return.
Draws profit/loss lines for every trade.
Shows cumulative performance (compounded return).
Displays key metrics in the top-right corner:
Total Return
Win Rate
Total Trades
Number of Wins / Losses
๐ How Does It Work?
Bullish Breakout: When price crosses above the upper band and stays above the midline.
Bearish Breakout: When price crosses below the lower band and stays below the midline.
Each trade is held until breakout invalidation, not a fixed TP/SL.
Trades are compounded, i.e., profits stack up realistically over time.
๐ Best Use Cases:
For traders who want to experiment with breakout strategies.
For visual learners who want to study past breakouts with performance metrics.
As a template to develop your own logic on top of Faytterro Bands.
โ Notes:
This is a strategy-like visual indicator, not an automated backtest.
It doesn't use strategy.* commands, so you can still use alerts and visuals.
You can tweak the logic to create your own backtest-ready strategy.
Unlike the original Faytterro Bands, this script does not repaint and is fully stable on closed candles.
Volatility & Momentum Nexus (VMN)Volatility & Momentum Nexus (VMN)
This indicator was designed to solve a common trader's problem: chart clutter from dozens of indicators that often contradict each other. The Volatility & Momentum Nexus ( VMN ) is not just another indicator; it's a complete analysis system that synthesizes four essential market pillars into a single, clean, and intuitive visual signal.
The goal of VMN is to identify high-probability moments where a period of accumulation (low volatility) is about to erupt into an explosive move, confirmed by trend, momentum, and volume.
VMN analyzes the real-time confluence of four critical elements:
The Trend (The Main Filter): A 100-period Exponential Moving Average (EMA) sets the overall context. The indicator will only look for buy signals above this line (in an uptrend) and sell signals below it (in a downtrend). The line's color changes for quick visualization.
Volatility (Energy Accumulation): Using Bollinger Bands Width (BBW), the indicator identifies "Squeeze" periodsโwhen the price contracts and builds up energy. These zones are marked with a yellow background on the chart, signaling that a major move is imminent.
Momentum (The Trigger): An RSI (Relative Strength Index) acts as the trigger. A signal is only validated if momentum confirms the direction of the breakout (e.g., RSI > 55 for a buy), ensuring we enter the market with force.
Volume (The Final Confirmation): No breakout move is credible without volume. VMN checks if the volume at the time of the signal is significantly higher than its recent average, adding a vital layer of confirmation.
Green Arrow (Buy Signal): Appears ONLY when ALL the following conditions are met simultaneously:
Price is above the 100 EMA (Bullish Trend).
The chart is exiting a Squeeze zone (yellow background on the previous bar).
Price breaks above the upper Bollinger Band.
RSI is above the buy threshold (default 55).
Volume is above average.
Red Arrow (Sell Signal): Appears ONLY when all the opposite conditions are met.
Do not treat signals as blind commands to trade. They are high-probability confirmations.
Look for signals near key Support/Resistance levels for an even higher success rate.
Always set a Stop Loss (e.g., below the low of the signal candle or below the lower Bollinger Band for a buy).
All parameters (EMA, RSI, Bollinger Bands lengths, thresholds, etc.) can be customized from the settings menu to adapt the indicator to any financial asset or timeframe.
Disclaimer: This indicator is a tool for educational and analytical purposes. It does not constitute and should not be interpreted as financial advice. Trading involves significant risk. Always perform your own analysis and backtesting before risking real capital.
Adaptive Momentum Deviation Oscillator | QuantMACAdaptive Momentum Deviation Oscillator | QuantMAC ๐
Overview ๐ฏ
The Adaptive Momentum Deviation Oscillator (AMDO) is an advanced technical analysis indicator that combines the power of Bollinger Bands with adaptive momentum calculations to identify optimal entry and exit points in financial markets. This sophisticated oscillator creates dynamic bands that adapt to market volatility while providing clear visual signals for both trending and ranging market conditions.
How It Works ๐ง
Core Methodology
The AMDO employs a sophisticated multi-layered approach to market analysis through four distinct phases:
Bollinger Band Foundation : The indicator begins by establishing a volatility baseline using traditional Bollinger Bands. These bands are calculated using a simple moving average as the center line, with upper and lower bands positioned at a specific number of standard deviations away from this centerline. The distance between these bands expands and contracts based on market volatility, creating a dynamic envelope around price action.
BB% Normalization Process : The raw price data is then transformed into a normalized percentage format that represents where the current price sits within the Bollinger Band envelope. When price is at the lower band, this percentage reads 0%; at the upper band, it reads 100%. This normalization allows for consistent comparison across different timeframes and price levels, creating a standardized oscillator that oscillates between extreme values.
Adaptive Momentum Band Construction : The normalized BB% values undergo a secondary volatility analysis where their own standard deviation is calculated over a specified period. This creates "bands around the bands" - upper and lower boundaries that adapt to the volatility of the normalized price position itself. These adaptive bands expand during periods of high momentum volatility and contract during consolidation phases.
Intelligent Signal Synthesis : The final layer combines the adaptive momentum bands with user-defined threshold levels to create a sophisticated trigger system. The indicator monitors when the dynamic bands cross above or below these thresholds, filtering out noise while capturing significant momentum shifts. This creates a dual-confirmation system where both volatility adaptation and threshold breaches must align for signal generation.
Key Components ๐ ๏ธ
Adaptive Momentum Bands ๐
Dynamic Volatility Response : These bands automatically widen during periods of high momentum volatility and narrow during consolidation phases. Unlike fixed oscillator boundaries, they continuously recalibrate based on recent price behavior within the Bollinger Band framework.
Dual-Layer Calculation : The bands are derived from the volatility of the normalized price position itself, creating a "volatility of volatility" measurement. This provides early warning signals when momentum characteristics are changing, even before price breakouts occur.
State-Aware Visualization : The bands employ intelligent color coding that transitions between active and neutral states based on their interaction with threshold levels. Active states indicate high-probability momentum conditions, while neutral states suggest consolidation or indecision.
Momentum Persistence Tracking : The bands maintain memory of recent momentum characteristics, allowing them to distinguish between genuine momentum shifts and temporary price spikes or dips.
Threshold Levels ๐๏ธ
Statistical Significance Boundaries : The threshold levels (default 83 for long, 40 for short) are positioned to capture statistically significant momentum events while filtering out market noise. These levels represent points where momentum probability shifts meaningfully in favor of directional moves.
Asymmetric Design Philosophy : The intentional asymmetry between long and short thresholds (83 vs 40) reflects the natural upward bias of many financial markets and the different risk/reward profiles of long versus short positions.
Contextual Sensitivity : The thresholds work in conjunction with the adaptive bands to create context-sensitive triggers. A threshold breach is only meaningful when it occurs in the proper sequence with band interactions.
Risk-Adjusted Positioning : The threshold levels are calibrated to provide favorable risk-adjusted entry points, considering both the probability of success and the potential magnitude of subsequent moves.
Bollinger Bands Overlay ๐
Multi-Timeframe Context : The price chart overlay provides essential context by showing traditional Bollinger Bands alongside the oscillator. This dual perspective allows traders to see both the absolute price position and the momentum characteristics simultaneously.
Support/Resistance Identification : The filled band area creates a visual representation of dynamic support and resistance levels. Price interaction with these bands provides additional confirmation for oscillator signals.
Volatility Environment Assessment : The width and slope of the bands offer immediate visual feedback about the current volatility environment, helping traders adjust their expectations and risk management accordingly.
Confluence Analysis : The overlay enables traders to identify confluence between price action at Bollinger Band levels and oscillator signals, creating higher-probability trade setups.
Signal Generation โก
The AMDO generates signals through precise mathematical crossover events:
Long Signals ๐ข
Momentum Accumulation Detection : Long signals are generated when the lower adaptive momentum band crosses above the 83 threshold, indicating that downside momentum has exhausted and bullish momentum is beginning to accumulate. This represents a shift from defensive to offensive market posture.
Statistical Edge Confirmation : The crossing event occurs only when momentum characteristics have shifted sufficiently to provide a statistical edge for long positions. The adaptive nature ensures the signal quality remains consistent across different market volatility regimes.
Visual State Synchronization : Upon signal generation, the entire indicator ecosystem shifts to a bullish state - bar colors change, band states update, and the visual hierarchy emphasizes the long bias until conditions change.
Momentum Persistence Validation : The signal incorporates momentum persistence analysis to distinguish between genuine trend starts and false breakouts, reducing whipsaw trades in choppy market conditions.
Short Signals ๐ด
Momentum Exhaustion Recognition : Short signals trigger when the upper adaptive momentum band crosses below the 40 threshold, signaling that bullish momentum has peaked and bearish momentum is emerging. This asymmetric threshold reflects the different dynamics of bullish versus bearish market phases.
Volatility-Adjusted Timing : The adaptive band system ensures that short signals are generated with appropriate timing regardless of the underlying volatility environment, maintaining signal quality in both high and low volatility conditions.
Regime-Aware Activation : Short signals are only active in Long/Short trading mode, recognizing that not all trading strategies benefit from short positions. The indicator adapts its behavior based on the selected trading approach.
Risk-Calibrated Thresholds : The 40 threshold is specifically calibrated to capture meaningful bearish momentum shifts while accounting for the higher risk typically associated with short positions.
Cash Signals ๐ฐ
Defensive Positioning Logic : In Long/Cash mode, cash signals are generated when short conditions are met, allowing traders to move to a defensive cash position rather than taking on short exposure. This preserves capital during unfavorable market conditions.
Risk Mitigation Strategy : Cash signals represent a risk-off approach that removes market exposure when momentum conditions favor the short side, protecting long-biased portfolios from adverse market movements.
Opportunity Cost Optimization : The cash position allows traders to avoid negative returns while maintaining flexibility to re-enter long positions when momentum conditions improve, optimizing the risk-adjusted return profile.
Features & Customization โ๏ธ
Color Schemes ๐จ
9 pre-built color schemes (Classic through Classic9)
Custom color override option
Dynamic color changes based on signal states
Trading Modes ๐
Long/Short : Full bidirectional trading capability
Long/Cash : Long-only strategy with cash positions
Performance Metrics ๐
The indicator includes a comprehensive suite of advanced performance analytics that provide deep insights into strategy effectiveness:
Risk-Adjusted Return Metrics
Sortino Ratio : Measures returns relative to downside deviation only, providing a more accurate assessment of risk-adjusted performance by focusing on harmful volatility rather than total volatility. This metric is particularly valuable for asymmetric return distributions.
Sharpe Ratio : Calculates excess return per unit of total risk, offering a standardized measure of risk-adjusted performance that allows for comparison across different strategies and timeframes.
Omega Ratio : Employs probability-weighted analysis to compare the likelihood and magnitude of gains versus losses, providing insights into the overall shape of the return distribution and tail risk characteristics.
Drawdown and Risk Analysis
Maximum Drawdown : Tracks the largest peak-to-trough equity decline, providing crucial information about the worst-case scenario and helping traders understand the emotional and financial stress they might encounter.
Dynamic Drawdown Monitoring : Continuously updates drawdown calculations in real-time, allowing traders to monitor current drawdown levels relative to historical maximums.
Trade Statistics and Profitability
Profit Factor Analysis : Compares gross profits to gross losses, revealing the efficiency of the trading approach and the relationship between winning and losing trades.
Win Rate Calculation : Provides the percentage of profitable trades, which must be interpreted in conjunction with profit factor and average trade size for meaningful analysis.
Trade Frequency Tracking : Monitors total trade count to assess strategy turnover and transaction cost implications.
Position Sizing Guidance
Half Kelly Percentage : Calculates optimal position sizing based on Kelly Criterion methodology, then applies a conservative 50% reduction to account for parameter uncertainty and reduce volatility. This provides mathematically-based position sizing guidance that balances growth with risk management.
Parameters & Settings ๐ง
BMD Settings
- Base Length : Period for Bollinger Band calculation (default: 10)
- Source : Price data source (default: close)
- Standard Deviation Length : Period for volatility calculation (default: 35)
- SD Multiplier : Bollinger Band width multiplier (default: 1.0)
- BB% Multiplier : Scaling factor for BB% calculation (default: 100)
BMD Settings
Base Length : Period for Bollinger Band calculation (default: 10)
Source : Price data source (default: close)
Standard Deviation Length : Period for volatility calculation (default: 35)
SD Multiplier : Bollinger Band width multiplier (default: 1.0)
BB% Multiplier : Scaling factor for BB% calculation (default: 100)
Signal Thresholds ๐ฏ
Long Threshold : Trigger level for long signals (default: 83)
Short Threshold : Trigger level for short signals (default: 40)
Display Options ๐ฅ๏ธ
Toggleable metrics table with 6 position options
Customizable date range limiter
Multiple visual elements for comprehensive analysis
Use Cases & Applications ๐ก
Trend Following
Identifies momentum shifts in trending markets
Provides early entry signals during trend continuations
Adaptive bands adjust to changing volatility conditions
Mean Reversion
Detects oversold/overbought conditions
Signals potential reversal points
Works effectively in ranging markets
Risk Management
Built-in performance metrics for strategy evaluation
Half Kelly percentage for position sizing guidance
Maximum drawdown monitoring
Advantages โ
Adaptive Nature : Automatically adjusts to market volatility
Dual Display : Oscillator and price chart components work together
Comprehensive Metrics : Built-in performance analysis
Flexible Trading Modes : Supports different trading strategies
Visual Clarity : Color-coded signals and states
Customizable : Extensive parameter adjustment options
Important Considerations โ ๏ธ
This indicator is designed for educational and analysis purposes
Should be used in conjunction with other technical analysis tools
Proper risk management is essential when trading
Backtest thoroughly before implementing in live trading
Market conditions can change rapidly, affecting indicator performance
Disclaimer โ ๏ธ
Past performance is not indicative of future results. Trading involves substantial risk of loss and is not suitable for all investors. The information provided by this indicator should not be considered as financial advice. Always conduct your own research.
No indicator guarantees profitable trades - Always use proper risk management! ๐ก๏ธ
OBV with MA & Bollinger Bands by Marius1032OBV with MA & Bollinger Bands by Marius1032
This script adds customizable moving averages and Bollinger Bands to the classic OBV (On Balance Volume) indicator. It helps identify volume-driven momentum and trend strength.
Features:
OBV-based trend tracking
Optional smoothing: SMA, EMA, RMA, WMA, VWMA
Optional Bollinger Bands with SMA
Potential Combinations and Trading Strategies:
Breakouts: Look for price breakouts from the Bollinger Bands, and confirm with a rising OBV for an uptrend or falling OBV for a downtrend.
Trend Reversals: When the price touches a Bollinger Band, examine the OBV for divergence. A bullish divergence (price lower low, OBV higher low) near the lower band could signal a reversal.
Volume Confirmation: Use OBV to confirm the strength of the trend indicated by Bollinger Bands. For example, if the BBs indicate an uptrend and OBV is also rising, it reinforces the bullish signal.
1. On-Balance Volume (OBV):
Purpose: OBV is a momentum indicator that uses volume flow to predict price movements.
Calculation: Volume is added on up days and subtracted on down days.
Interpretation: Rising OBV suggests potential upward price movement. Falling OBV suggests potential lower prices.
Divergence: Divergence between OBV and price can signal potential trend reversals.
2. Moving Average (MA):
Purpose: Moving Averages smooth price fluctuations and help identify trends.
Combination with OBV: Pairing OBV with MAs helps confirm trends and identify potential reversals. A crossover of the OBV line and its MA can signal a trend reversal or continuation.
3. Bollinger Bands (BB):
Purpose: BBs measure market volatility and help identify potential breakouts and trend reversals.
Structure: They consist of a moving average (typically 20-period) and two standard deviation bands.
Combination with OBV: Combining BBs with OBV allows for a multifaceted approach to market analysis. For example, a stock hitting the lower BB with a rising OBV could indicate accumulation and a potential upward reversal.
Created by: Marius1032