st 47Усредненный Ишимоку (Custom: 9/48/96) [V6]st47 — Volume in Clouds
This indicator is a custom Ichimoku Cloud modification that dynamically reacts to market volume.
The color intensity of the Kumo (cloud) changes depending on the current trading volume — brighter clouds indicate stronger activity, while dimmer ones reflect low participation.
Key Features:
• Based on the Ichimoku Cloud system (8/48/96 settings)
• Volume-sensitive cloud visualization
• Works on any timeframe and pair
• Supports multi-ticker averaging (BTCUSDT, BTCUSDT.P, etc.)
• Displays additional volume histogram below the chart
Purpose:
Helps visualize both trend structure and the strength behind it by combining Ichimoku logic with real-time volume dynamics.
指標和策略
Bollinger Band Spread (Dunk)Bollinger Band Width measures the distance between the upper and lower Bollinger Bands. It reflects market volatility—wider bands mean higher volatility, narrower bands mean lower volatility.
When the width contracts to low levels, it can signal price consolidation and potential breakouts. When the width expands, it indicates active markets or strong trends.
Traders use it to spot volatility squeezes, confirm breakouts, and compare relative volatility across assets or timeframes.
Dow Jones Trading System with PivotsThis TradingView indicator, tailored for the 30-minute Dow Jones (^DJI) chart, supports DIA options trading with a trend-following approach. It features a 30-period SMA (blue) and a 60-period SMA (red), with an optional 90-period SMA (orange) drawn from rauItrades' Dow SMA outfit. A bullish crossover (30 SMA > 60 SMA) displays a green "BUY" triangle below the bar for potential DIA longs, while a bearish crossunder (30 SMA < 60 SMA) shows a red "SELL" triangle above for shorts or exits. The background turns green (bullish) or red (bearish) to indicate trend bias. Pivot points highlight recent highs (orange circles) and lows (purple circles) for support/resistance, using a 5-bar lookback. Alerts notify for crossovers.
TI65**TI65 (Trend Intensity 65)** is a technical indicator designed to measure the strength and momentum of a trend over two distinct periods. It compares a short-term 7-period simple moving average (SMA) with a long-term 65-period SMA, producing a ratio that helps traders identify shifts in market momentum and trend direction.
- When the **TI65 value is greater than 1**, it indicates that the short-term moving average is above the long-term average, suggesting increasing momentum and a potentially bullish trend.
- When the **TI65 value drops below 1**, it signals weakening short-term momentum relative to the longer-term trend, often interpreted as a bearish or consolidating phase.
This indicator can be applied to both price and volume data, making it useful for identifying periods of strong volume surges or price movements. By observing changes in the TI65 ratio, traders can pinpoint low-risk entry points for trend-following strategies and quickly recognize periods of market transition.
TI65 is commonly used by momentum and breakout traders for screening strong candidates and confirming the sustainability of ongoing trends. It is simple, effective, and easily implemented via custom scripts on popular platforms like TradingView.
Ehlers Ultrasmooth Filter (USF)# USF: Ultrasmooth Filter
## Overview and Purpose
The Ultrasmooth Filter (USF) is an advanced signal processing tool that represents the pinnacle of noise reduction technology for financial time series. Developed by John Ehlers, this filter implements a complex algorithm that provides exceptional smoothing capabilities while minimizing the lag typically associated with heavy filtering. USF builds upon the Super Smooth Filter (SSF) with enhanced noise suppression characteristics, making it particularly valuable for identifying clear trends in extremely noisy market conditions where even traditional smoothing techniques struggle to produce clean signals.
## Core Concepts
* **Maximum noise suppression:** Provides the highest level of noise reduction among Ehlers' filter designs
* **Optimized coefficient structure:** Uses carefully designed mathematical relationships to achieve superior filtering performance
* **Market application:** Particularly effective for long-term trend identification and minimizing false signals in highly volatile market conditions
The core innovation of USF is its second-order filter structure with optimized coefficients that create an exceptionally smooth frequency response. By careful mathematical design, USF achieves near-optimal noise suppression characteristics while minimizing the lag and waveform distortion that typically accompany such heavy filtering. This makes it especially valuable for identifying major market trends amid significant short-term volatility.
## Common Settings and Parameters
| Parameter | Default | Function | When to Adjust |
|-----------|---------|----------|---------------|
| Length | 20 | Controls the cutoff period | Increase for smoother signals, decrease for more responsiveness |
| Source | close | Price data used for calculation | Consider using hlc3 for a more balanced price representation |
**Pro Tip:** USF is ideal for defining major market trends - try using it with a length of 40-60 on daily charts to identify dominant market direction and ignoring shorter-term noise completely.
## Calculation and Mathematical Foundation
**Simplified explanation:**
The Ultrasmooth Filter creates an extremely clean price representation by combining current and past price data with previous filter outputs using precisely calculated mathematical relationships. This creates a highly effective "averaging" process that removes virtually all market noise while still maintaining the essential trend information.
**Technical formula:**
USF = (1-c1)X + (2c1-c2)X₁ - (c1+c3)X₂ + c2×USF₁ + c3×USF₂
Where coefficients are calculated as:
- a1 = exp(-1.414π/length)
- b1 = 2a1 × cos(1.414 × 180/length)
- c1 = (1 + c2 - c3)/4
- c2 = b1
- c3 = -a1²
> 🔍 **Technical Note:** The filter combines both feed-forward (X terms) and feedback (USF terms) components in a second-order structure, creating a response with exceptional roll-off characteristics and minimal passband ripple.
## Interpretation Details
The Ultrasmooth Filter can be used in various trading strategies:
* **Major trend identification:** The direction of USF indicates the dominant market trend with minimal noise interference
* **Signal generation:** Crossovers between price and USF generate high-reliability trade signals with minimal false positives
* **Support/resistance levels:** USF can act as strong dynamic support during uptrends and resistance during downtrends
* **Market regime identification:** The slope of USF helps identify whether markets are in trending or consolidation phases
* **Multiple timeframe analysis:** Using USF across different chart timeframes creates a cohesive picture of nested trend structures
## Limitations and Considerations
* **Significant lag:** The extreme smoothing comes with increased lag compared to lighter filters
* **Initialization period:** Requires more bars than simpler filters to stabilize at the start of data
* **Less suitable for short-term trading:** Generally too slow-responding for short-term strategies
* **Parameter sensitivity:** Performance depends on appropriate length selection for the timeframe
* **Complementary tools:** Best used alongside faster-responding indicators for timing signals
## References
* Ehlers, J.F. "Cycle Analytics for Traders," Wiley, 2013
* Ehlers, J.F. "Rocket Science for Traders," Wiley, 2001
[Kpt-Ahab] Assistant: Risk & DCA PlannerScript Description – Assistant: Risk & DCA Planner
The Risk & DCA Planner is a technical assistant for position and risk management.
It automatically calculates, based on volatility (ATR%), swing structure, and your settings:
Stop-Loss (SL) and corresponding Take-Profit targets (TPs) in R-multiples
DCA (Dollar-Cost-Averaging) levels — both price and amount
A market suitability check (based on volatility & volume)
Plus a clear table and summary label displayed on the chart
The script helps you plan risk, scaling, and profit targets consistently and quantitatively.
Core Logic
Risk Profile
Three modes: Low, Normal, High.
These define how reactive the script behaves internally:
Low → conservative, longer lookbacks, tighter analysis
Normal → balanced
High → aggressive, faster reaction, wider stops
Stop-Loss (SL)
Automatically calculated from ATR% and recent swing structure, limited by minimum and maximum thresholds.
The SL percentage defines the R-unit, which all TPs and DCA levels are based on.
Take-Profits (TPs)
Up to six targets, each a multiple of the defined risk (e.g., 1R, 2R, 3R).
Prices are automatically adjusted depending on long or short direction.
DCA Strategy
Optional. Adds scaling levels evenly between Entry and SL or in multiples of the ATR.
Each DCA allocation grows geometrically until the maximum position size is reached.
Suitability Check
Evaluates whether the market is within an appropriate ATR% range and has sufficient volume.
The table displays “OK” or “Caution” depending on volatility and historical consistency.
Visualization
Lines for SL, TPs, and DCA levels
A table with all parameters, prices, and risk data
A chart label summarizing key info (profile, direction, SL%, TPs, DCA, etc.)
Ehlers Autocorrelation Periodogram (EACP)# EACP: Ehlers Autocorrelation Periodogram
## Overview and Purpose
Developed by John F. Ehlers (Technical Analysis of Stocks & Commodities, Sep 2016), the Ehlers Autocorrelation Periodogram (EACP) estimates the dominant market cycle by projecting normalized autocorrelation coefficients onto Fourier basis functions. The indicator blends a roofing filter (high-pass + Super Smoother) with a compact periodogram, yielding low-latency dominant cycle detection suitable for adaptive trading systems. Compared with Hilbert-based methods, the autocorrelation approach resists aliasing and maintains stability in noisy price data.
EACP answers a central question in cycle analysis: “What period currently dominates the market?” It prioritizes spectral power concentration, enabling downstream tools (adaptive moving averages, oscillators) to adjust responsively without the lag present in sliding-window techniques.
## Core Concepts
* **Roofing Filter:** High-pass plus Super Smoother combination removes low-frequency drift while limiting aliasing.
* **Pearson Autocorrelation:** Computes normalized lag correlation to remove amplitude bias.
* **Fourier Projection:** Sums cosine and sine terms of autocorrelation to approximate spectral energy.
* **Gain Normalization:** Automatic gain control prevents stale peaks from dominating power estimates.
* **Warmup Compensation:** Exponential correction guarantees valid output from the very first bar.
## Implementation Notes
**This is not a strict implementation of the TASC September 2016 specification.** It is a more advanced evolution combining the core 2016 concept with techniques Ehlers introduced later. The fundamental Wiener-Khinchin theorem (power spectral density = Fourier transform of autocorrelation) is correctly implemented, but key implementation details differ:
### Differences from Original 2016 TASC Article
1. **Dominant Cycle Calculation:**
- **2016 TASC:** Uses peak-finding to identify the period with maximum power
- **This Implementation:** Uses Center of Gravity (COG) weighted average over bins where power ≥ 0.5
- **Rationale:** COG provides smoother transitions and reduces susceptibility to noise spikes
2. **Roofing Filter:**
- **2016 TASC:** Simple first-order high-pass filter
- **This Implementation:** Canonical 2-pole high-pass with √2 factor followed by Super Smoother bandpass
- **Formula:** `hp := (1-α/2)²·(p-2p +p ) + 2(1-α)·hp - (1-α)²·hp `
- **Rationale:** Evolved filtering provides better attenuation and phase characteristics
3. **Normalized Power Reporting:**
- **2016 TASC:** Reports peak power across all periods
- **This Implementation:** Reports power specifically at the dominant period
- **Rationale:** Provides more meaningful correlation between dominant cycle strength and normalized power
4. **Automatic Gain Control (AGC):**
- Uses decay factor `K = 10^(-0.15/diff)` where `diff = maxPeriod - minPeriod`
- Ensures K < 1 for proper exponential decay of historical peaks
- Prevents stale peaks from dominating current power estimates
### Performance Characteristics
- **Complexity:** O(N²) where N = (maxPeriod - minPeriod)
- **Implementation:** Uses `var` arrays with native PineScript historical operator ` `
- **Warmup:** Exponential compensation (§2 pattern) ensures valid output from bar 1
### Related Implementations
This refined approach aligns with:
- TradingView TASC 2025.02 implementation by blackcat1402
- Modern Ehlers cycle analysis techniques post-2016
- Evolved filtering methods from *Cycle Analytics for Traders*
The code is mathematically sound and production-ready, representing a refined version of the autocorrelation periodogram concept rather than a literal translation of the 2016 article.
## Common Settings and Parameters
| Parameter | Default | Function | When to Adjust |
|-----------|---------|----------|---------------|
| Min Period | 8 | Lower bound of candidate cycles | Increase to ignore microstructure noise; decrease for scalping. |
| Max Period | 48 | Upper bound of candidate cycles | Increase for swing analysis; decrease for intraday focus. |
| Autocorrelation Length | 3 | Averaging window for Pearson correlation | Set to 0 to match lag, or enlarge for smoother spectra. |
| Enhance Resolution | true | Cubic emphasis to highlight peaks | Disable when a flatter spectrum is desired for diagnostics. |
**Pro Tip:** Keep `(maxPeriod - minPeriod)` ≤ 64 to control $O(n^2)$ inner loops and maintain responsiveness on lower timeframes.
## Calculation and Mathematical Foundation
**Explanation:**
1. Apply roofing filter to `source` using coefficients $\alpha_1$, $a_1$, $b_1$, $c_1$, $c_2$, $c_3$.
2. For each lag $L$ compute Pearson correlation $r_L$ over window $M$ (default $L$).
3. For each period $p$, project onto Fourier basis:
$C_p=\sum_{n=2}^{N} r_n \cos\left(\frac{2\pi n}{p}\right)$ and $S_p=\sum_{n=2}^{N} r_n \sin\left(\frac{2\pi n}{p}\right)$.
4. Power $P_p=C_p^2+S_p^2$, smoothed then normalized via adaptive peak tracking.
5. Dominant cycle $D=\frac{\sum p\,\tilde P_p}{\sum \tilde P_p}$ over bins where $\tilde P_p≥0.5$, warmup-compensated.
**Technical formula:**
```
Step 1: hp_t = ((1-α₁)/2)(src_t - src_{t-1}) + α₁ hp_{t-1}
Step 2: filt_t = c₁(hp_t + hp_{t-1})/2 + c₂ filt_{t-1} + c₃ filt_{t-2}
Step 3: r_L = (M Σxy - Σx Σy) / √
Step 4: P_p = (Σ_{n=2}^{N} r_n cos(2πn/p))² + (Σ_{n=2}^{N} r_n sin(2πn/p))²
Step 5: D = Σ_{p∈Ω} p · ĤP_p / Σ_{p∈Ω} ĤP_p with warmup compensation
```
> 🔍 **Technical Note:** Warmup uses $c = 1 / (1 - (1 - \alpha)^{k})$ to scale early-cycle estimates, preventing low values during initial bars.
## Interpretation Details
- **Primary Dominant Cycle:**
- High $D$ (e.g., > 30) implies slow regime; adaptive MAs should lengthen.
- Low $D$ (e.g., < 15) signals rapid oscillations; shorten lookback windows.
- **Normalized Power:**
- Values > 0.8 indicate strong cycle confidence; consider cyclical strategies.
- Values < 0.3 warn of flat spectra; favor trend or volatility approaches.
- **Regime Shifts:**
- Rapid drop in $D$ alongside rising power often precedes volatility expansion.
- Divergence between $D$ and price swings may highlight upcoming breakouts.
## Limitations and Considerations
- **Spectral Leakage:** Limited lag range can smear peaks during abrupt volatility shifts.
- **O(n²) Segment:** Although constrained (≤ 60 loops), wide period spans increase computation.
- **Stationarity Assumption:** Autocorrelation presumes quasi-stationary cycles; regime changes reduce accuracy.
- **Latency in Noise:** Even with roofing, extremely noisy assets may require higher `avgLength`.
- **Downtrend Bias:** Negative trends may clip high-pass output; ensure preprocessing retains signal.
## References
* Ehlers, J. F. (2016). “Past Market Cycles.” *Technical Analysis of Stocks & Commodities*, 34(9), 52-55.
* Thinkorswim Learning Center. “Ehlers Autocorrelation Periodogram.”
* Fab MacCallini. “autocorrPeriodogram.R.” GitHub repository.
* QuantStrat TradeR Blog. “Autocorrelation Periodogram for Adaptive Lookbacks.”
* TradingView Script by blackcat1402. “Ehlers Autocorrelation Periodogram (Updated).”
COT Index Indicator 1) One‑liner
My version of the OTC COT Index indicator: a 0–120 oscillator built from CFTC COT data that shows where Commercial, Noncommercial, and Nonreportable net positions sit relative to recent extremes.
2) Short paragraph
This is my version of the OTC COT Index indicator. It converts CFTC Commitments of Traders (COT) net positions into a normalized 0–120 oscillator for each trader group—Commercials, Noncommercials, and Nonreportables—so you can quickly see when positioning is near recent highs or lows. Data comes from TradingView’s official COT library and supports both “Futures Only” and “Futures and Options” reports.
3) Compact bullets
What: My version of the OTC COT Index indicator
Why: Quickly spot when trader groups are near positioning extremes
Data: CFTC COT via TradingView/LibraryCOT/2; Futures Only or Futures & Options
How: Index = 120 × (Current − Min) ÷ (Max − Min) over a configurable lookback
Plots: Commercials (blue), Noncommercials (orange), Nonreportables (red)
Lines: Overbought, Midline, Oversold, optional 0/100, upper/lower bounds
Note: Values are relative to the chosen window; not trading advice
4) Publication‑ready (sections)
Overview
My version of the OTC COT Index indicator. It turns CFTC COT positioning into a 0–120 oscillator per trader group (Commercials, Noncommercials, Nonreportables) to highlight relative extremes.
Data source
CFTC Commitments of Traders via TradingView’s official library (TradingView/LibraryCOT/2).
Supports “Futures Only” and “Futures and Options.”
Method
Net positions = Longs − Shorts.
Index = 120 × (Current Net − Min(Net, Lookback)) ÷ (Max(Net, Lookback) − Min(Net, Lookback)).
Inputs
Weeks Look Back (normalization window)
Weeks Look Back for Historical Hi/Los (longer reference)
Report Type selection
Visuals
Three indexes by trader group, plus reference levels (OB/OS, Midline, optional 0/100).
Notes
Some symbols map to specific CFTC codes for reliability.
If no relevant COT data exists for the symbol, the script reports it clearly.
If you want this adapted to a specific platform’s character limits (e.g., TradingView’s publish dialog), tell me the target length and I’ll trim it to fit.
Trading Lot & Margin Calculator
# 💹 Trading Lot & Margin Calculator - Professional Risk Management Tool
## 🎯 Overview
A comprehensive, all-in-one calculator dashboard that helps traders determine optimal position sizes, calculate margin requirements, and manage risk effectively across multiple asset classes. This indicator displays directly on your chart as a customizable table, providing real-time calculations based on current market prices.
## ✨ Key Features
### 📊 Three Powerful Calculation Modes:
**1. Calculate Lot Size (Risk-Based Position Sizing)**
- Input your risk percentage and stop loss in pips
- Automatically calculates the optimal lot size for your risk tolerance
- Respects margin limitations (configurable margin % cap)
- Ensures positions don't exceed minimum lot size (0.01)
- Perfect for risk management and proper position sizing
**2. Calculate Margin Cost**
- Input desired lot size
- See exactly how much margin is required
- Shows percentage of deposit used
- Displays free margin remaining
- Warns when insufficient funds
**3. Margin to Lots**
- Specify a fixed margin amount you want to use
- Calculator shows how many lots/contracts you can buy
- Ideal for traders with fixed margin budgets
## 🤖 Auto-Detection of Instruments
The calculator **automatically detects** what you're trading and adjusts calculations accordingly:
### ✅ Fully Supported:
- **💱 Forex Pairs** - All majors, minors, exotics (EURUSD, GBPJPY, etc.)
- Standard lot: 100,000 units
- JPY pairs: 0.01 pip size, others: 0.0001
- **🛢️ Commodities** - Gold, Silver, Oil
- XAUUSD (Gold): 100 oz per lot
- XAGUSD (Silver): 5,000 oz per lot
- Oil (WTI/Brent): 1,000 barrels per lot
- **📈 Indices** - US500, NAS100, US30, DAX, etc.
- Correct contract sizes per point
- **📊 Stocks** - All individual stocks
- 1 lot = 1 share
- Direct share calculations
### ⚠️ Known Limitation:
- **₿ Crypto calculations may not work properly** on all crypto pairs. Use manual contract size if needed.
## 📋 Dashboard Information Displayed:
- 🎯 Optimal/Requested Lot Size
- 💰 Margin Required
- 📊 Margin % of Deposit
- 💵 Free Margin Remaining
- 💎 Position Value
- 📈 Pip/Point Value
- ⚠️ Safety Warnings (insufficient funds, high risk, etc.)
- 🔍 Detected Instrument Type
- 📦 Contract Size
## ⚙️ Customizable Settings:
**Account Settings:**
- Account Deposit
- Leverage (1:1 to 1:1000)
- Max Margin % of Deposit (default 5% for safety)
**Risk Management:**
- Risk Percentage (for lot size calculation)
- Stop Loss in Pips
- Lot Amount (for margin cost calculation)
- Margin to Use (for margin-to-lots calculation)
**Display Options:**
- Show/Hide Dashboard
- Position: Top/Middle/Bottom, Left/Right
- Auto-detect instrument ON/OFF
- Manual contract size override
## 🎨 Professional Design
- Clean, modern table interface
- Color-coded warnings (red = danger, yellow = caution, green = safe)
- Large, readable text
- Minimal screen space usage
- Non-intrusive overlay
## 💡 Use Cases:
1. **Day Traders** - Quick position sizing based on account risk
2. **Swing Traders** - Calculate optimal positions for longer-term setups
3. **Risk Managers** - Ensure positions stay within margin limits
4. **Beginners** - Learn proper position sizing and risk management
5. **Multi-Asset Traders** - Seamlessly switch between forex, commodities, indices, and stocks
## ⚠️ Important Notes:
- ✅ Works on all timeframes
- ✅ Updates in real-time with price changes
- ✅ Minimum lot size enforced (0.01)
- ✅ Margin calculations use current chart price
- ⚠️ **Crypto calculations may be inaccurate** - verify with your broker
- 📌 Always verify calculations with your broker's specifications
- 📌 Contract sizes may vary by broker
## 🚀 How to Use:
1. Add indicator to any chart
2. Click settings ⚙️ icon
3. Enter your account details (deposit, leverage)
4. Choose calculation mode
5. Input your parameters
6. View optimal lot size and margin requirements on dashboard
## 📈 Perfect For:
- Forex traders managing multiple currency pairs
- Commodity traders (Gold, Silver, Oil)
- Index traders (S&P 500, NASDAQ, etc.)
- Stock traders
- Anyone who wants professional risk management
## 🛡️ Risk Management Features:
- Configurable margin % cap prevents over-leveraging
- Risk-based position sizing protects your account
- Warnings for high risk, insufficient funds, margin limitations
- Prevents positions below minimum lot size
---
**Trade smarter, not harder. Calculate before you trade!** 📊💪
---
## Version Notes:
- Pine Script v6
- Overlay mode for chart display
- No external dependencies
- Lightweight and fast
**Disclaimer:** This calculator is for educational and informational purposes only. Always verify calculations with your broker and trade at your own risk. Past performance does not guarantee future results.
---
8 Médias Exponenciais (Config.)This indicator provides a highly flexible system of eight fully customizable moving averages (MAs), allowing traders to visualize short-, medium-, and long-term market trends with precision and adaptability. Each of the eight moving averages can be independently configured by the user, both in period length and type — supporting either Simple Moving Average (SMA) or Exponential Moving Average (EMA).
F & W SMC Alerthis script is a custom TradingView indicator designed to combine elements of a trend‑following VWAP approach (inspired by the “Fabio” strategy) with a smart‑money‑concepts framework (inspired by Waqar Asim). Here’s what it does:
* **Directional bias:** It calculates a 15‑minute VWAP and compares the current 15‑minute close to it. When price is above the 15‑minute VWAP, the script assumes a long bias; when below, a short bias. This reflects the trend‑following aspect of the Fabio strategy.
* **Liquidity sweeps:** Using recent pivot highs and lows on the current timeframe, it identifies when price takes out a recent high (for potential longs) or low (for potential shorts). This represents a “liquidity sweep” — a fake breakout that collects stops and signals a possible reversal or continuation.
* **Break of structure (BOS):** After a sweep, the script confirms that price is breaking away from the swept level (i.e., higher than recent highs for longs or lower than recent lows for shorts). This BOS confirmation helps avoid false signals.
* **Entry filters:** For a long setup, the bias must be long, there must be a liquidity sweep followed by a BOS, and price must reclaim the current‑timeframe VWAP. For a short setup, the opposite conditions apply (short bias, sweep + BOS to the downside, and price rejecting the VWAP).
* **Alerts and plot:** It provides two alert conditions (“Fabio‑Waqar Long Setup” and “Fabio‑Waqar Short Setup”) that you can attach to notifications. It also plots the intraday VWAP on your chart for visual reference.
In short, this script watches for a confluence of trend direction, liquidity sweeps, structural shifts, and VWAP reclaim/rejection, and then notifies you when those conditions align. You can use it as an alerting tool to identify high‑probability setups based on these combined strategies.
Fabio + Waqar SMC AlertThis script is a custom TradingView indicator designed to combine elements of a trend‑following VWAP approach (inspired by the “Fabio” strategy) with a smart‑money‑concepts framework (inspired by Waqar Asim). Here’s what it does:
* **Directional bias:** It calculates a 15‑minute VWAP and compares the current 15‑minute close to it. When price is above the 15‑minute VWAP, the script assumes a long bias; when below, a short bias. This reflects the trend‑following aspect of the Fabio strategy.
* **Liquidity sweeps:** Using recent pivot highs and lows on the current timeframe, it identifies when price takes out a recent high (for potential longs) or low (for potential shorts). This represents a “liquidity sweep” — a fake breakout that collects stops and signals a possible reversal or continuation.
* **Break of structure (BOS):** After a sweep, the script confirms that price is breaking away from the swept level (i.e., higher than recent highs for longs or lower than recent lows for shorts). This BOS confirmation helps avoid false signals.
* **Entry filters:** For a long setup, the bias must be long, there must be a liquidity sweep followed by a BOS, and price must reclaim the current‑timeframe VWAP. For a short setup, the opposite conditions apply (short bias, sweep + BOS to the downside, and price rejecting the VWAP).
* **Alerts and plot:** It provides two alert conditions (“Fabio‑Waqar Long Setup” and “Fabio‑Waqar Short Setup”) that you can attach to notifications. It also plots the intraday VWAP on your chart for visual reference.
In short, this script watches for a confluence of trend direction, liquidity sweeps, structural shifts, and VWAP reclaim/rejection, and then notifies you when those conditions align. You can use it as an alerting tool to identify high‑probability setups based on these combined strategies.
BankNifty Etharia Aggresive Buyer / SellerOverview
Professional intraday trading strategy for BankNifty Futures that identifies high-probability setups by combining multiple technical indicators. Works in BOTH directions - LONG and SHORT.
Best Timeframe: 5-Minute Chart
Key Features:
✅ Multi-Confluence Entry System - All indicators must align for signal
✅ Bidirectional Trading - Captures both uptrends and downtrends
✅ Advanced Risk Management - Daily loss limits, consecutive loss protection
✅ Smart Exit System - Partial profit taking + trailing stops
✅ Session-Based Trading - Avoids opening and closing volatility
Entry Logic:
LONG Signals:
Price above Kernel Regression (trend confirmation)
Price above VWAP with positive slope (momentum)
Cumulative Volume Delta bullish (buying pressure)
Volume spike or increasing volume (strength confirmation)
Strong bullish candle with 60%+ body ratio
RSI filter to avoid overbought entries
SHORT Signals:
Price below Kernel Regression (downtrend confirmation)
Price below VWAP with negative slope (bearish momentum)
CVD bearish (selling pressure dominates)
High volume confirmation
Strong bearish candle pattern
RSI filter to avoid oversold entries
Exit Management:
🎯 Target 1: 1.5 R:R (50% position exit)
🎯 Target 2: 2.5 R:R (full exit)
🛡️ Stop Loss Options: ATR-based, Swing-based, or Fixed
🟡 Trailing Stop: Activates after 1.2 R:R, trails at 0.8 R:R
⏰ Time-Based Exit: Closes all positions 5 mins before session end
Risk Controls:
Maximum trades per day (default: 5)
Consecutive loss limit (default: 2)
Daily loss limit: 2.5% of capital
Daily profit target: 5% (stops trading when reached)
Position sizing based on account risk percentage
Recommended Settings:
Asset: BankNifty Futures (NSE:BANKNIFTY1!)
Timeframe: 5-minute
Initial Capital: ₹1,00,000
Risk per trade: 1%
Commission: 0.05%
Slippage: 5 points
Performance Expectations:
Win Rate: 55-65%
Profit Factor: 1.5-2.0
Average Trades/Day: 3-8
Risk:Reward: 1:1.8 average
Customizable Parameters:
Trading direction (Long Only / Short Only / Both)
Indicator lengths and thresholds
Stop loss type and targets
Risk management limits
Trading session hours
Best For:
Intraday traders seeking systematic, rule-based entries with strong confluence, proper risk management, and the ability to profit from both bullish and bearish market conditions.
Bitcoin Fair Price Calculator [bitcoinfairprice.com]1. Purpose of the scriptLong-term Bitcoin valuation based on historical time (days since Genesis block)
Fair Price = theoretically “fair” price according to power law.
Bottom Price = lower support (historically ~58% below Fair Price).
Daily display as on the website – without external access.
Buy/sell signals in case of strong overvaluation/undervaluation.
2. Mathematical model (original formula)pinescript
Bottom Price = Fair Price × 0.42
→ Corresponds historically to ~58% below Fair Price.
Days since Genesis block are calculated automatically per bar.
3. What is displayed in the chart?
Fair Price Average power law line (“fair price”) Blue
Bottom Price Lower support (“floor”) Green
Power Law Corridor Filled area between 0.1× and 2.5× Fair Price Light blue (transparent)
Table (top right) Daily values as on the website Black with white text
Label (for >20% deviation) Shows current prices + percentage Red (overvalued) / Green (undervalued)
4. Recommended use Timeframe
Recommendation Weekly / Monthly Best long-term signals
Daily Good balance
Log scale Be sure to activate! (Right-click on Y-axis → “Logarithmic scale”)
9. Strategy tips (based on the model)
Price near bottom --> Buy / accumulate
Price > 2.5× fair price --> Sell part of position / caution
Price between fair & bottom --> Strong buy zone
Deviation < -20% --> HODL signal
Translated with DeepL.com (free version)
Strat 3-Bar (Outside Bar) AlertThis indicator automatically detects and alerts you when a Strat 3-Bar (Outside Bar) forms on any chart or timeframe.
An Outside Bar (3) occurs when both sides of the previous candle’s range are taken out — the high breaks above the prior bar’s high AND the low breaks below its low. It signals expansion in price discovery and potential reversals or continuations.
📈 How to Use:
1. Add this script to your chart.
2. Look for red “3” labels or triangles above outside bars.
3. To get alerts, click the TradingView alert icon (⏰):
• Condition → Strat 3-Bar (Outside Bar) Alert
• Option → “Outside Bar (3) Detected”
• Choose “Once per bar close.”
💡 Pro Tips:
- Use with Strat Assist for visual context.
- Combine with timeframe continuity for directional bias.
- Great on 15-min, 1H, and Daily charts.
---
👩🏽💻 Shared with love by Yolanda
Inspired by community discussions with Jalen (ChatGPT)
Let’s keep building each other up and mastering The Strat together! 💛
TheStrat, outsidebar, 3bar, priceaction, tradingstrategy, alert, reversal, continuation, stratassist, strat, technicalanalysis, pinev6, smartmoney
Strat 1-2 Break AlertsThe Strat 1-2 Break Alerts
by Yolanda Marie Dixon
This indicator automatically identifies Inside Bars (1) and alerts when price breaks out into a 2-1-2 Bullish or 2-1-2 Bearish setup — two of the most actionable patterns in The Strat methodology created by Rob Smith.
📊 What It Does:
Marks Inside Bars with a yellow triangle below the candle.
Plots a green “2-1-2↑” triangle when a bullish breakout occurs.
Plots a red “2-1-2↓” triangle when a bearish breakdown occurs.
Provides built-in alerts so traders never miss a 2-1-2 setup.
💡 How to Use It:
Add the indicator to your chart, then go to Alerts → Create Alert → Condition: Strat 1-2 Break Alerts, and choose either 2-1-2 Up or 2-1-2 Down.
Perfect for traders who follow The Strat and want simple, reliable visual and alert-based signals for 1-2 setups.
—
🔔 Stay ready, stay Stratified.
Master The Strat with instant alerts for every 2-1-2 breakout.
TRI - RSI & StochRSI Multi-TimeframeThis indicator displays RSI and Stochastic RSI values across multiple timeframes
in a clear, color-coded table format.
FEATURES:
Monitors 7 timeframes: 1m, 5m, 15m, 1h, 4h, 1D, 1W
Color-coded cells: Green (oversold), Red (overbought), Orange/Blue (neutral)
Direction indicators for RSI trend
StochRSI K/D comparison indicators
Customizable oversold/overbought levels
Configurable table position and size
ALERTS:
RSI entering oversold/overbought zones
StochRSI entering oversold/overbought zones
StochRSI K/D crossovers (bullish and bearish)
Sonic R+EMA PYTAGOYou must determine the supply and demand zone as ema34, ema89, ema200, ema610. Then open the long position or the short position with SL and TP.
MACD with Smart Entry Signals & Trend Filter
This advanced MACD indicator combines traditional MACD analysis with intelligent entry signal detection and an optional EMA trend filter. It identifies high-probability entry points by analyzing histogram patterns, consolidation phases, and trend continuation setups.
### Key Features
**🎯 Smart Entry Detection**
- **Consolidation Breakouts**: Identifies exits from consolidation zones (weak bars) with strong momentum
- **Trend Reversals**: Detects potential trend changes after extended weak phases
- **Correction/Continuation Patterns**: Recognizes brief corrections within strong trends that offer continuation opportunities
**📊 Enhanced MACD Visualization**
- Color-coded histogram showing four distinct states:
- Strong Bullish (dark green): Rising histogram above zero
- Weak Bullish (light green): Falling histogram above zero
- Weak Bearish (light red): Rising histogram below zero
- Strong Bearish (dark red): Falling histogram below zero
**🔍 Multi-Layer Filtering System**
- **Candle Size Filter**: Eliminates signals during high volatility/large candle ranges
- **EMA Trend Filter**: Optional filter ensuring entries align with the dominant trend direction
- Visual markers for rejected signals (orange X for candle size, blue E for EMA trend)
**⚙️ Customizable Parameters**
- Adjustable MACD periods (default: 34/144/9)
- Configurable consolidation bar requirements
- Flexible correction pattern detection
- EMA trend filter with adjustable sensitivity
- Multiple alert types for all signal conditions
### How to Use
1. **Enable/disable filters** based on your trading style and market conditions
2. **Green triangles (L)**: Long entry signals when all conditions are met
3. **Red triangles (S)**: Short entry signals when all conditions are met
4. **Rejected signal markers**: Help you understand why certain setups were filtered out
5. **Background coloring**: Provides visual confirmation of signal zones and correction patterns
### Alert System
Comprehensive alerts for:
- Long and short entry signals
- Specific pattern types (consolidation, reversal, continuation)
- Rejected signals (helps refine strategy)
- Traditional MACD histogram crossovers
### Best Practices
- Use the EMA trend filter in trending markets to avoid counter-trend trades
- Adjust candle size filter based on your instrument's typical volatility
- Consider combining with support/resistance levels for confirmation
- Test different consolidation bar settings for your timeframe
### Parameters Summary
- Fast/Slow Length: MACD calculation periods
- Signal Smoothing: Signal line period
- Consolidation Bars: Minimum weak bars before breakout
- Max Candle Range: Filter for oversized candles
- EMA Period & Sensitivity: Trend filter configuration
---
*This indicator is designed for traders who want a systematic approach to identifying MACD-based entry opportunities with built-in risk management through filtering.*
TRI - RSI Overlay ViewerDESCRIPTION:
Advanced RSI and Stochastic RSI indicator with visual signals on price chart.
Combines RSI momentum analysis with Stochastic RSI oversold/overbought detection.
FEATURES:
RSI with customizable smoothing (EMA)
Stochastic RSI with K and D lines
Background coloring for oversold/overbought zones
Visual shape signals for key crossover events
Alert system for all signal types
SIGNALS:
Small Circle (Green): StochRSI crosses above oversold threshold
Small Circle (Red): StochRSI crosses below overbought threshold
Triangle Up (Green): RSI crosses above oversold threshold (stronger signal)
Triangle Down (Red): RSI crosses below overbought threshold (stronger signal)
STRATEGY USAGE:
Triangle signals = Primary entry/exit signals (RSI confirmation)
Circle signals = Early warning signals (StochRSI only)
Use higher timeframes for trend confirmation
Combine with price action and support/resistance levels
双EMA速度乖离Two EMA Deviation with Combined ThresholdsEMATwo EMA Deviation with Combined Thresholds
Two EMA Deviation with Combined ThresholdsTwo EMA Deviation with Combined ThresholdsTwo EMA Deviation with Combined ThresholdsTwo EMA Deviation with Combined ThresholdsTwo EMA Deviation with Combined ThresholdsTwo EMA Deviation with Combined ThresholdsTwo EMA Deviation with Combined Thresholds






















