SFC Bollinger Band and Bandit概述 (Overview)
SFC 布林通道與海盜策略 (SFC Bollinger Band and Bandit Strategy) 是一個基於 Pine Script™ v6 的技術分析指標,結合布林通道 (Bollinger Bands)、移動平均線 (Moving Averages) 以及布林海盜 (Bollinger Bandit) 交易策略,旨在為交易者提供多時間框架的趨勢分析與進出場訊號。該腳本支援風險管理功能,並提供視覺化圖表與交易訊號提示,適用於多種金融市場。
This script, written in Pine Script™ v6, combines Bollinger Bands, Moving Averages, and the Bollinger Bandit strategy to provide traders with multi-timeframe trend analysis and entry/exit signals. It includes risk management features and visualizes data through charts and trading signals, suitable for various financial markets.
功能特點 (Key Features)
布林通道 (Bollinger Bands)
提供可調整的標準差參數 (σ1, σ2),支援多層布林通道顯示。
進場訊號基於價格穿越布林通道上下軌,並結合連續K線確認機制。
Provides adjustable standard deviation parameters (σ1, σ2) for multi-layer Bollinger Bands display.
Entry signals are based on price crossing the upper/lower bands, combined with a consecutive bar confirmation mechanism.
移動平均線 (Moving Averages)
支援簡單移動平均線 (SMA) 或指數移動平均線 (EMA),可自訂快、中、慢線週期。
Supports Simple Moving Average (SMA) or Exponential Moving Average (EMA) with customizable fast, medium, and slow line periods.
布林海盜策略 (Bollinger Bandit Strategy)
基於變動率 (ROC) 與布林通道動態止損,提供做多與做空訊號。
包含動態止損均線與平倉天數設定,增強交易靈活性。
Utilizes Rate of Change (ROC) and Bollinger Bands with dynamic stop-loss for long and short signals.
Includes dynamic stop-loss moving average and liquidation days for enhanced trading flexibility.
多時間框架分析 (Multi-Timeframe Analysis)
支援六個時間框架 (5分、15分、1小時、4小時、日線、週線) 的趨勢分析。
通過表格顯示各時間框架的連續上漲/下跌趨勢,輔助交易決策。
Supports trend analysis across six timeframes (5m, 15m, 1h, 4h, daily, weekly).
Displays consecutive up/down trends in a table to aid decision-making.
風險管理 (Risk Management)
提供基於 ATR 或布林通道的停利/停損設定。
自動計算交易手數,根據報價貨幣匯率調整風險敞口。
Offers take-profit/stop-loss settings based on ATR or Bollinger Bands.
Automatically calculates trading lots, adjusting risk exposure based on quote currency exchange rates.
視覺化與提示 (Visualization and Alerts)
繪製布林通道、移動平均線、海盜策略動態止損線及交易訊號。
提供多時間框架趨勢表格、交易手數標籤及浮水印。
支援交易訊號快訊,方便即時監控。
Plots Bollinger Bands, Moving Averages, Bandit strategy stop-loss lines, and trading signals.
Includes multi-timeframe trend tables, trading lot labels, and watermark.
Supports alert conditions for real-time trade monitoring.
使用說明 (Usage Instructions)
設置參數 (Parameter Setup)
布林通道 (Bollinger Bands): 可調整週期 (預設21)、標準差 (σ1=1, σ2=2) 及停利/停損依據 (ATR 或 BAND)。
移動平均線 (Moving Averages): 可選擇顯示快線 (10)、中線 (20)、慢線 (60),並切換 SMA/EMA。
布林海盜 (Bollinger Bandit): 調整通道週期 (50)、平倉均線週期 (50) 及 ROC 週期 (30)。
時間框架 (Timeframes): 自訂六個時間框架,預設為 5分、15分、1小時、4小時、日線、週線。
Adjust Bollinger Band period (default 21), standard deviations (σ1=1, σ2=2), and take-profit/stop-loss basis (ATR or BAND).
Configure Moving Averages (fast=10, medium=20, slow=60) and toggle SMA/EMA.
Set Bollinger Bandit parameters: channel period (50), liquidation MA period (50), ROC period (30).
Customize six timeframes (default: 5m, 15m, 1h, 4h, daily, weekly).
交易訊號 (Trading Signals)
買入訊號 (Buy): 價格穿越下軌且滿足連續K線條件。
賣出訊號 (Sell): 價格穿越上軌且滿足連續K線條件。
海盜策略訊號: 基於 ROC 與布林通道穿越,結合動態止損。
Buy signal: Price crosses below lower band with consecutive bar confirmation.
Sell signal: Price crosses above upper band with consecutive bar confirmation.
Bandit strategy signals: Based on ROC and band crossings with dynamic stop-loss.
視覺化 (Visualization)
布林通道以不同顏色顯示上下軌與中軌。
移動平均線以快、中、慢線區分顏色。
趨勢表格顯示各時間框架的趨勢狀態 (🔴上漲, 🟢下跌, ⚪中性)。
海盜策略顯示動態止損線與交易狀態。
Bollinger Bands display upper, lower, and middle bands in distinct colors.
Moving Averages use different colors for fast, medium, and slow lines.
Trend table shows timeframe trends (🔴 up, 🟢 down, ⚪ neutral).
Bandit strategy displays dynamic stop-loss and trading status.
ความผันผวน
GC1-XAUUSD Premium Monitor <SunanLabs>Sunan Labs – GC1–XAUUSD Premium (Standard Edition)
This indicator compares COMEX Gold Futures (GC1!) with Spot Gold (XAUUSD) to reveal market regime shifts: Contango (Futures > Spot), Backwardation (Futures < Spot), or Parity (neutral).
Metrics shown:
• Status – Current regime (Contango, Backwardation, or Parity)
• Premium (USD) – Price difference in USD per ounce
• Premium (%) – Relative spread between GC1! and XAUUSD
• Sparkline – 24-bar mini chart of premium history
• Range Position – Shows where the current premium sits in its recent range (0–100%). Near highs = stretched, near lows = compressed.
• Futures & Spot – Latest closing prices for GC1! and XAUUSD
• Alerts – Triggered when premium crosses thresholds or regime shifts occur
Interpretation:
• Contango – Market expects higher future prices; spot may cool.
• Backwardation – Strong near-term demand; spot likely to rise.
• Parity – Neutral zone or transition period.
Includes dynamic alerts, customizable display, and detailed status labels.
Developed by Sunan Labs
Contact: wali9@hotmail.com
© 2025 Sunan Labs – Creative Standard License (CSL-2025)
Stocktech.in - MidasStocktech.in – Midas: All-in-one charting indicator featuring neutral candles, trend guide bands, StockTech info table, and high-volume markers (HVQ/HVY/HVE) for quick visual volume analysis. Fully customizable and toggleable.
Adaptive MACD PROAdaptive MACD PRO is a next-generation momentum system built for traders who demand precision, adaptability, and clarity.
It merges two independent layers into one unified engine:
Adaptive MACD Core - detects structural momentum changes through dynamic normalization.
Phase Momentum Core - confirms acceleration and directional strength using phase-based movement detection.
How it Works Visually
When applied to any chart, the user instantly sees a clear, information-rich setup:
MACD & Signal Lines: dynamically colored lines that reflect real-time momentum direction (green/uptrend, red/downtrend).
Histogram Bars: adaptive columns showing the strength and acceleration of the trend.
Deeper colors = stronger movement.
Fading tones = loss of momentum.
Buy & Sell Dots:
Green dots appear when the system identifies a momentum reversal from oversold conditions.
Red dots appear when momentum peaks and reverses downward.
These dots are plotted at fixed levels for clean visual structure — ideal for quick scanning.
AutoCalib Cross Dots (Cyan & Fuchsia):
These appear exactly when the live MACD_z line crosses its adaptive calibration boundary.
Cyan indicates an adaptive bullish trigger.
Fuchsia indicates an adaptive bearish trigger.
Their transparency adjusts automatically based on the intensity of the cross — stronger crosses = brighter dots.
HUD Panel (optional):
Displays live calibration levels, current MACD_z value, and overall system state.
The HUD can be positioned at the top, bottom, or relative to the MACD curve, depending on user preference.
User Customization
Adaptive MACD PRO includes a full control layer that allows the user to tune the indicator to any market or timeframe:
Timeframe Override → analyze MACD on a higher or lower timeframe than the chart.
Auto Calibration → toggle between SAFE or AGGRESSIVE mode, adjust smoothness and window length.
Volatility Gate → control how the system reacts to quiet vs. explosive markets.
Bar Coloring → color bars based on MACD, Phase Momentum, or both (Merged Mode).
HUD Position & Anchor → move the on-chart display for better visibility.
All parameters can be adjusted in real-time, giving full control without affecting the closed adaptive engine underneath.
Practical Use
The indicator adapts to all assets and timeframes - from crypto scalping to equities and forex swing trading.
Users can focus on cross dots and histogram dynamics to identify clean momentum transitions, or combine it with existing systems for confirmation.
Adaptive MACD PRO is designed not just to show direction, but to evolve with the market’s rhythm - automatically learning volatility, tempo, and acceleration patterns over time.
Disclosure
This indicator is published as closed-source to protect its proprietary adaptive-fusion algorithm.
All operational behavior is fully described here in compliance with TradingView’s publication policies.
© 2025 Geokat83 | Proprietary Adaptive System
Advanced Candle Compression BollingerColors candles based on Bollinger Band width relative to its average — showing when volatility tightens.
Orange = medium compression
Red = strong compression
Candle color appears only after several consecutive bars meet the condition.
You can adjust thresholds, colors, bar count, and the Bollinger source (default: (High+Low+Close)/3).
Useful to spot low-volatility zones that often precede breakouts.
Volume Imbalances & Gann's Square IndicatorVolume Imbalances & Gann's Square Indicator:
This script is a comprehensive trading toolkit designed to help intraday and swing traders identify high-probability trade setups by combining the strengths of Gann's Theory, price-volume analysis, and multi-indicator signal confirmation in one indicator.
Key Features and Their Roles:
Gann’s S/R Levels:
Calculates main and auxiliary support/resistance lines using Gann’s “odd square” approach based on the current price. Levels are projected historically and into the future to clearly visualize critical zones for potential reversals and breakouts.
Volume*Price (VP) Spike Table:
Detects and displays real-time buy and sell volume spikes above a configurable threshold, highlighting large market transactions. The on-chart table summarizes recent major spikes with time and price for context, resetting every session.
Multi-EMA & VWAP Logic:
Integrates three customizable EMAs, VWAP, and Supertrend. Users can toggle signals from EMA crossovers, price-VWAP positioning, or Supertrend direction to match their preferred trading style and filter signals for trend or mean-reversion strategies.
Buy/Sell Labels and Signal Source Control:
Clearly plots buy/sell marker labels with customizable text, color, and size, based on the chosen signal source (EMA cross, VWAP, Supertrend). Labels offset from candles for easy visibility.
First Candle Range & Session Tools:
Plots the initial range (high, low, and midpoint) of a user-defined session, helping visualize and trade session breakouts or range retests. Session logic ensures all statistical tables and levels reset at session start.
Automated Risk/Reward Table:
Instantly calculates capital allocation, stop-loss, potential quantity, and two profit targets for both long and short trades. Helps traders plan size and risk per trade in compliance with risk management principles.
Highest/Lowest VP Markers:
Highlights the day’s peak and trough volume*price values for context on institutional buying or selling pressure.
Previous Day Range Plotter:
Draws previous session’s high/low levels for reliable reference zones and potential trade targets.
Integration Rationale:
All components are thoughtfully integrated to provide a holistic decision-making workflow:
Volume/price spikes act as momentum or liquidity signals.
Gann levels define the “where” for reaction or breakout trades.
Signal logics (EMA/VWAP/Supertrend) answer the “when,” enabling higher-confidence entries only when multiple conditions align.
How to Use:
Select your preferred inputs for EMAs, VWAP, and risk settings in the panel.
Analyze the chart for signals where buy/sell labels align with fresh VP spikes near Gann or previous day support/resistance.
Use the risk/reward table for strict money management.
Reference spike tables and session range for contextual confirmation.
Visuals and Chart Guidance:
The script displays only essential tables, lines, and labels described above.
All chart elements are explained in this description—no external scripts needed for interpretation.
Each table and marker is linked to actionable trading logic, eliminating clutter.
Closed-source Explanation:
The indicator uses session-based calculations, real-time data arrays, and proprietary math to unify Gann theory logic, large transaction detection, and multi-indicator confirmation. All major trade conditions have alert signals for ready integration with TradingView’s alert system.
Composite Momentum System⚙️ Composite Momentum System — RSI + CCI + Momentum + MFI + (DI·ADX) × MACD² (4-Color Smoothed Signal)
This advanced indicator fuses multiple momentum, volume, and trend components into one unified oscillator, dynamically visualized around a zero line. It helps traders identify powerful directional moves, trend reversals, and momentum exhaustion far earlier than traditional MACD or RSI alone.
🧩 Core Formula
Composite = ((RSI + CCI + Momentum + MFI) + (((DI− × −1) + DI+) × ADX)) × (MACD²)
RSI – captures relative strength and short-term momentum
CCI – measures deviation from price mean (volatility & cycles)
Momentum – shows raw velocity of price change
MFI – volume-weighted momentum, adds money flow confirmation
DI / ADX – directional strength and market trend intensity
MACD² – amplifies strong momentum moves and filters weak noise
🌈 Visual Design & Features
Zero-Centered Histogram:
Green = Bullish momentum, Red = Bearish momentum
MACD Signal Line (4 Colors):
🟢 Positive & Rising → strong up momentum
🟡 Positive & Falling → weakening uptrend
🔴 Negative & Falling → strong downtrend
🟠 Negative & Rising → possible bearish fade or reversal
Adjustable Signal Smoothing:
Choose MA type (SMA, EMA, RMA, WMA, VWMA) and custom smoothing length for cleaner visualization.
ATR Normalization:
Optional setting to keep MACD and composite values consistent across instruments.
Centering Options:
RSI and MFI can be centered (−50/+50) to balance oscillation around zero.
🎯 How to Use
Above 0: Bullish composite energy → favor long setups.
Below 0: Bearish composite energy → favor short setups.
Signal line color changes highlight momentum acceleration or slowdown.
Crosses through zero often precede major shifts or breakout moments.
⚡ Best Practice
Use this indicator as a momentum strength filter in confluence with price action or volume patterns.
Combine it with VWAP, higher-timeframe trend, or support/resistance zones for high-probability entries.
Squeeze Momentum MACDSqueeze Momentum MACD
🧠 Description
Squeeze Momentum MACD combines the concept of market volatility compression (the “squeeze”) from Bollinger Bands (BB) and Keltner Channels (KC) with a MACD-style momentum oscillator to reveal potential breakout phases.
The indicator first calculates:
BB Width = Upper Band − Lower Band
KC Width = Upper Band − Lower Band
Then it computes their difference:
Δ = BB Width − KC Width
When Δ > 0 → BB width is greater than KC width → volatility is expanding → potential momentum breakout.
When Δ < 0 → BB is inside KC → volatility is compressing → potential squeeze phase before expansion.
This Δ value is then processed through a MACD-style calculation:
MACD Line = EMA(fast) − EMA(slow)
Signal Line = EMA(MACD, signal length)
Histogram = MACD − Signal
The result is a visual momentum oscillator that behaves like MACD but measures volatility expansion instead of price direction.
🔹 Features:
Dynamic 4-color MACD & Signal lines (positive/negative + rising/falling)
Optional display of raw BB & KC widths
Fully adjustable parameters for BB, KC, and MACD
Works on all timeframes and instruments
🔹 Ideal For:
Detecting market squeezes and breakout momentum
Timing entries before volatility expansion
Integrating volatility and momentum into a single framework
SPY vs VIX SMA Slope Alignment (Adjustable Days)Use this on VIX Chart only.
This indicator compares the SLOPE of the daily SMA of SPY, to the SLOPE of the Daily SMA to VIX
When SPY and VIX are trending UP for the length of time that you define, you will get a GREEN ARROW on the VIX chart showing that the condition has been met.
EXAMPLE:
Set 3 day SMA for VIX and SPY
THEN
Set Look back time to 2 days
---IF SPY 3day SMA AND VIX 3day SMA are both ASCENDING during any 3 day lookback period, a green indicator arrow will be showing on the VIX Chart
DO NOT Use this indicator on SPY Chart
(SPY and VIX have different daily open/close times. This indicator DOES NOT work propertly on SPY Chart. But it DOES work properly on VIX chart. )
5min ORB with FVG God Modethis is 15 min Order Block strategy who works verry well on 3 min chart just must to close some
trading hours
XAUUSD Scalper-AbsoluteTesting for first time, indicator with an idea to get the volitality. first time will be bad but let us see with time
(RSI + CCI) × (MACD/ATR)^2⚙️ (RSI + CCI) × (MACD / ATR)² Composite — Normalized, Compressed, Dynamic Colors
This advanced composite oscillator merges three powerful momentum indicators — RSI, CCI, and MACD — into one normalized and volatility-adjusted signal that reacts smoothly across all markets.
By dividing MACD by ATR (Average True Range), the indicator self-scales for different symbols, and an optional tanh-like compression prevents extreme spikes while keeping the movement fluid and responsive.
🧩 Core Formula
(RSI + CCI) × (MACD / ATR)²
(optionally passed through a tanh compression for stability)
RSI and CCI are normalized (RSI ÷ 50, CCI ÷ 100) → roughly −2 to +2 range.
MACD is volatility-adjusted by ATR → scale-independent between assets.
The result is centered around 0 for clear bullish/bearish momentum comparison.
🎨 Visual Features
🟢🔴 Dynamic 4-Color Histogram
Positive + Rising = Strong Teal
Positive + Falling = Light Teal
Negative + Falling = Strong Red
Negative + Rising = Light Red
🟡⚫ 4-Color Smoothing Line
Positive & Rising = Bright Yellow
Positive & Falling = Soft Yellow
Negative & Rising = Grey
Negative & Falling = Dark Grey
Zero-centered layout for intuitive bullish/bearish visualization.
⚙️ Adjustable Parameters
Individual RSI, CCI, and MACD lengths and sources.
ATR length for volatility normalization.
Optional tanh-style compression with adjustable gain (to keep values in ±1 range).
Fully customizable colors and line widths for both bars and smoothing line.
🔔 Alerts
Triggered automatically when the composite crosses above or below zero, signaling potential trend reversals or momentum shifts.
💡 How to Use
Composite > 0 → Bullish momentum ↑
Composite < 0 → Bearish momentum ↓
A brightening line or bar = momentum accelerating.
A fading color = momentum weakening or reversal forming.
Combine with higher-timeframe trend filters (EMA, VWAP, Supertrend) for confirmation.
Reversal Zones — entry + anchored exit + alerts (fixed)Script Description — Reversal Zones (Entry + Anchored Exit + Alerts)
This indicator automatically identifies potential reversal points in price action using a pattern of 4–5 consecutive candles in one direction followed by a reversal candle.
It then calculates dynamic Buy and Sell Zones based on the average range of recent candles and plots them visually on the chart — helping you identify ideal entry and exit zones with clean precision.
⚙️ How It Works
Pattern Detection:
Looks for 4–5 consecutive candles of the same color (bullish or bearish).
When the next candle reverses direction, that point becomes the reference candle.
Zone Calculation:
Takes the average of the last N candle ranges (default = 5).
X = Average candle range
Y = X ÷ Divisor (default = 10)
Plots:
BUY Zone – Below the low of the bullish reversal candle
(two lines: Low - X and Low - X - Y)
SELL Zone – Above the high of the bearish reversal candle
(two lines: High + X and High + X + Y)
Anchored Zones:
After a Buy signal, the indicator monitors for a new swing high and anchors a Sell zone there.
After a Sell signal, it monitors for a swing low and anchors a Buy zone there.
The original entry zone remains visible and is never overwritten.
Zone Extension:
Each zone extends to the right for a configurable number of bars (extendBars, default = 20).
🔔 Alerts
The script includes built-in alert conditions:
Buy Zone Hit → Triggers when price enters/touches any Buy Zone (entry or anchored).
Sell Zone Hit → Triggers when price enters/touches any Sell Zone (entry or anchored).
You can create alerts by:
Clicking Add Alert (🔔) on the chart.
Selecting this script as the condition.
Choosing Buy Zone Hit or Sell Zone Hit.
Setting alert frequency to “Once Per Bar Close”.
🎨 Customizable Inputs
Candle count (N) → Number of candles used to calculate average range.
Divisor → Controls Y distance (refines zone width).
Extend lines right → Number of bars to extend each zone line.
Minimum / Maximum consecutive candles → Controls pattern sensitivity.
Colors, line width, and label visibility are all adjustable.
💡 Best Use Cases
Identify reversal entry zones in trend exhaustion areas.
Combine with volume spikes or RSI divergence for confluence.
Use alerts for potential option writing or countertrend setups.
🧩 Credits
Created by Neeraj Sakharkarr
Designed for traders who want clean, rule-based reversal setups with automatic entry/exit zones.
Aggregated Long Short Ratio (Binance + Bybit)This indicator displays the Long/Short Ratio (LSR) from Binance and Bybit exchanges, plus an aggregated average. LSR shows the ratio between traders holding long positions vs short positions.
Settings AvailableExchanges Group:
☑️Show Binance - Display Binance LSR line
☑️ Show Bybit - Display Bybit LSR line
☑️ Show Aggregated LSR - Display combined average
Timeframe - Choose data timeframe (leave empty for chart timeframe)
Visualization Group:
🎨 Binance Color - Default: Yellow
🎨 Bybit Color - Default: Orange
🎨 Aggregated Color - Default: White
📖 How to Read the Indicator
⚠️ CRITICAL: Always analyze LSR together with Open Interest (OI)
Key Levels:
LSR = 1.0 (gray dashed line) = Balance - Equal longs and shorts
LSR > 1.0 = More longs than shorts (bullish sentiment)
LSR < 1.0 = More shorts than longs (bearish sentiment)
Extreme Zones:
LSR > 1.5 (green zone) = Very bullish - Possible market top
LSR < 0.5 (red zone) = Very bearish - Possible market bottom
Why Open Interest Matters:
LSR alone doesn't tell the full story. You MUST check Open Interest:
Rising OI + High LSR (>1.5) = New longs opening → Strong momentum OR potential trap
Rising OI + Low LSR (<0.5) = New shorts opening → Strong momentum OR potential trap
Falling OI + Extreme LSR = Positions closing → Weak signal, avoid trading
Stable OI + Extreme LSR = No new positions → Less reliable signal
💡 Trading Interpretation
⚠️ ALWAYS combine LSR with Open Interest analysis!
Contrarian Strategy (High Leverage Zones):
High LSR (>1.5) + Rising OI → Many new longs → Potential short squeeze OR reversal down
Low LSR (<0.5) + Rising OI → Many new shorts → Potential long squeeze OR reversal up
Trend Confirmation:
Rising LSR + Rising price + Rising OI = Strong bullish trend with new positions
Falling LSR + Falling price + Rising OI = Strong bearish trend with new positions
Weak Signals (Avoid):
Extreme LSR + Falling OI = Positions closing → Low conviction
Extreme LSR + Stable OI = No new money → Wait for confirmation
Divergences:
Price higher highs but LSR falling + Rising OI = Bearish divergence (shorts accumulating)
Price lower lows but LSR rising + Rising OI = Bullish divergence (longs accumulating)
Best Setups:
Reversal: Extreme LSR (>1.5 or <0.5) + Rising OI + Price rejection
Trend: LSR trending with price + Steadily rising OI
Caution: Extreme LSR + Falling OI = Ignore signal
Built-in Alerts
The indicator includes 4 preset alerts:
LSR Crossed Above 1.0 - Market turned bullish
LSR Crossed Below 1.0 - Market turned bearish
LSR Very High - Above 1.5 (possible top)
LSR Very Low - Below 0.5 (possible bottom)
To Set Up Alerts:
Click the "..." on the indicator
Select "Add Alert"
Choose the condition you want
Configure notification method
Best Practices
MANDATORY: Always add Open Interest indicator to your chart alongside LSR
To add OI: Click Indicators → Search "Open Interest" → Add official TradingView OI
Use on perpetual futures charts (symbols ending in .P)
Works best on USDT pairs (BTCUSDT, ETHUSDT, etc.)
Combine LSR + OI + price action + support/resistance levels
Higher timeframes (4h, 1D) give more reliable signals
Don't trade LSR extremes without confirming OI direction
Golden Rule: Rising OI = Strong signal | Falling OI = Weak signal
⚠️ Important Notes
Indicator requires TradingView Premium or above (uses Request library)
Only works on crypto perpetual futures
Data availability depends on exchange API
NA values mean data is not available for that exchange/symbol
Never use LSR without Open Interest context
Risk ModuleThis indicator provides a visual reference for position sizing and approximate stop and target placement. It supports trade planning by calculating equalized risk per trade and maintaining consistent exposure across different markets.
For more information about the concept, see the post Position Sizing and Risk Management .
Fixed Fractional Risk
The indicator calculates the number of shares that can be traded to maintain consistent monetary risk. The formula is based on the distance between the current price and stop reference, adjusting position size proportionally. A closer stop results in a larger position size, while a wider stop results in a smaller one.
Position Size = (Account Size × Risk %) ÷ (Entry Price – Stop Price)
Stop and Target
Stop placement is derived from volatility using the Average True Range (ATR). The target is plotted as a multiple of the stop distance, defining the risk-to-reward relationship in R units.
Stop = Price ± ATR × Multiplier
Target = Price ± (R × Risk Distance)
Chart Elements
The stop and target levels are plotted above and below the current price, with the stop marked by a red dot and the target by a green dot. The information table displayed on the chart shows the number of shares to trade, stop level, and target level.
Setup and Configuration
This configuration only needs to be set once, but can be adjusted later if preferred.
1. Start by setting the account size and risk percentage per trade to define the monetary amount risked on each trade. These values form the basis for position size calculation.
2. Set the ATR multiplier to determine stop distance, common values range between 1 and 3 ATR. Lower values place stops closer to price, increasing sensitivity but risking short-term noise. Higher values widen the stop, which reduces noise impact but extends time in risk.
3. Set the R-multiple to determine target distance relative to the stop. A value of 1 represents a 1:1 risk-to-reward relationship. Lower values reduce potential reward but tend to increase win rate, whereas higher values increase potential reward but tend to reduce win rate. The selection depends on system characteristics and trade expectancy.
When the parameters are defined, the indicator displays the stop, target, and calculated position size on the chart. All that remains is to enter the trade with the number of shares shown in the table and place bracket orders at the plotted stop and target levels.
Settings Overview
Account Size / Risk %: Defines account capital and per-trade exposure.
ATR Multiplier: Adjusts stop distance relative to volatility.
R Multiple: Sets target distance relative to stop (risk-reward ratio).
Position: Choose Long or Short direction.
Table Position: Controls information table placement and scale.
CMF, RSI, CCI, MACD, OBV, Fisher, Stoch RSI, ADX (+DI/-DI)
Stoch RSINine indicators in one, CMF, RSI, CCI, MACD, OBV, Fisher, Stoch RSI, ADX (+DI/-DI) You can use whichever of the nine indicators you want. I use CFM, CCI, MACD, Stoch RSI.
ATR StopThe Stoploss based on ATR indicator sets dynamic stop levels using market volatility measured by the Average True Range (ATR).
When volatility increases, the stop widens; when it decreases, the stop tightens.
Upper line = High + ATR × Multiplier → stop for shorts
Lower line = Low - ATR × Multiplier → stop for longs
Use
- Volatility-based stoploss: adjusts automatically to market conditions.
- Trailing stop: moves in the direction of the trend.
Gamma Big Walls Regime Tel by Tradeorthe indicator shows put strikes and call strikes and the negative net gamma or positive after Inserting date manually, also it shows big walls
Summit CloudThe Summit Cloud is a clean, high-performance trend indicator that visually shows market direction using dynamic color shading. Built on a dual EMA foundation, it identifies bullish and bearish momentum with smooth, adaptive cloud transitions. Green indicates bullish strength, red signals bearish pressure, and neutral tones highlight consolidation zones. With customizable colors and simple tuning options, the Summit Cloud pairs perfectly with the Summit Line to confirm major reversals and trend continuations, offering traders a powerful yet minimalist way to stay aligned with the market’s flow.
EM Range (VIX1D PrevClose • Close & Hi/Lo, N-Day View)What this indicator does
This study projects a one-day expected move (EM) from the CBOE:VIX1D using a simple 1-σ model with 252 trading days. It visualizes the possible intraday range from three anchors and also gives a T+1 forecast using today’s real-time VIX1D:
• PrevClose ±σ (solid) – a symmetric bracket around yesterday’s close.
• Low → Upper (dashed) – the upper bound implied from today’s low.
• High → Lower (dashed) – the lower bound implied from today’s high.
• NextDay (solid, optional) – tomorrow’s expected bracket built from the current price using today’s VIX1D (intraday it updates; after the daily close it freezes to the daily close).
All ranges are plotted in points, not percentages.
How it’s computed
Let σ = (VIX1D/100)/sqrt(252) * multiplier.
• PrevClose bands: prevClose * (1 ± σ) using yesterday’s VIX1D close.
• Low → Upper: todayLow * (1 + σ) using yesterday’s VIX1D close.
• High → Lower: todayHigh * (1 − σ) using yesterday’s VIX1D close.
• NextDay (T+1): currentPrice * (1 ± σ_today) where σ_today uses today’s VIX1D (real-time via 15m/30m/60m fallbacks; after session close it uses the daily close).
What you’ll see on the chart
• Two solid lines (PrevClose ±σ), two dashed lines (from Low/High).
• Optional blue solid lines for NextDay ±σ (toggle).
• Lines are per-day segments (not infinite). Yesterday’s dashed lines are carried into today for quick context; other lines do not carry across days.
• Colors are fully configurable; defaults use a deep, high-contrast palette tuned for dark backgrounds.
N-Day history (no over-extension)
Use “Show last N days” to display previous sessions. Historical lines are drawn only within their own day (clean separation of regimes).
Compact table (top-right by default)
The on-chart table shows concise, single-line rows:
• VIX1D−1: yesterday’s VIX1D close | ±EM (points) from PrevClose
• VIX1D (RT): today’s real-time VIX1D | ±EM (points) from current price
• Prev ±σ: numeric around PrevClose
• L → Upper: today’s low and its implied upper bound
• H → Lower: today’s high and its implied lower bound
• NextDay: tomorrow’s implied from current price
• >±σ: count of daily closes that finished outside PrevClose ±σ over the last N−1 completed days (with up/down breakdown)
Inputs & options
• VIX1D symbol: default CBOE:VIX1D.
• σ multiplier: default 1.0 (try 0.5 / 1.5 / 2.0 based on your risk model).
• Show last N days: how many sessions to render (incl. today).
• Show NextDay lines (blue): on/off toggle.
• Line width and color pickers for each band type.
• Table position: top/bottom, left/right.
Works on…
• Any instrument priced in points (stocks, ETFs, futures incl. ES).
• Any timeframe. For the T+1 forecast, the price anchor is real-time on intraday charts; on higher timeframes it uses an intraday proxy (60-minute) intraday and switches to the daily close after session end.
Notes & good practice
• VIX1D is an implied daily move proxy; it’s not a guarantee. Treat bands as probabilistic, not absolute barriers.
• The outside-±σ close count is a quick sanity check on how often price exceeds the one-day expectation—useful for regime awareness and sizing.
• If your market isn’t well-described by VIX1D (e.g., non-US hours or crypto), consider substituting a more relevant vol index.
Disclaimer: This tool is for research/education only and is not financial advice. Always manage risk.
Jurik Moving Average with Stair-StepJurik Moving Average with Stair-Step Filter — Precision Smoothing with Event-Driven Signal Filtering
📌 Version:
Built in Pine Script v6, leveraging the full JMA core with an added stair-step threshold filter for discrete, event-based signal generation.
📌 Overview:
This enhanced Jurik Moving Average (JMA) combines the low-lag smoothing algorithm with a custom stair-step logic layer that transforms continuous JMA output into state-based, noise-filtered movement.
While the traditional JMA provides ultra-smooth, adaptive trend detection, it still updates continuously with each price tick. The Stair-Step version introduces a quantized output — the JMA value remains unchanged until price moves by a user-defined amount (in ticks or absolute price units). The result is a “digital” trend line that updates only when meaningful change occurs, filtering out minor fluctuations and giving traders clearer, more actionable transitions.
📌 How It Works:
✅ Adaptive JMA Core: Dynamically adjusts smoothing to volatility for ultra-low lag.
✅ Stair-Step Logic: Holds the JMA value steady until the underlying line moves by a chosen threshold.
✅ Event-Driven Updates: Each “step” represents a statistically significant change in market direction.
✅ Tick / Price-Based Sensitivity: Tune the filter to the instrument’s volatility, spread, or cost structure.
This dual-layer system blends JMA’s continuous adaptability with discrete regime detection — turning a smooth line into a decision-ready trend model.
📌 How to Use:
🔹 Bias Detection: Each new step indicates a potential regime shift or breakout confirmation.
🔹 Noise Reduction: Ideal in choppy or range-bound markets where traditional MAs over-react.
🔹 Automated Systems: Use stair transitions as clean event triggers for entries, exits, or bias flips.
🔹 Scalping & Swing Trading: Thresholds can be sized by tick, ATR, or volatility to match timeframe and cost tolerance.
📌 Why This Version Is Unique:
This is not just another moving average — it’s a stateful JMA, adding event-driven decision logic to one of the market’s most precise filters.
🔹 Discretized Trend Mapping: Flat plateaus define stability; steps define momentum bursts.
🔹 Reduced Whipsaws: Only reacts when moves exceed statistical or cost thresholds.
🔹 Execution-Grade Precision: Perfect for algorithmic strategies needing fewer false flips.
📌 Example Use:
Combine with VWAP, ATR, or momentum oscillators to confirm bias shifts. In automated strategies, use stair flips as “go / stop” states to control position changes or trade size adjustments.
📌 Summary:
The Jurik Moving Average with Stair-Step Filter preserves JMA’s hallmark smoothness while delivering a structured, event-driven representation of market movement.
It’s precision smoothing — now with adaptive noise gating — designed for traders who demand clarity, stability, and algorithm-ready signal behavior.
📌 Disclaimer:
This indicator is not affiliated with or derived from any proprietary Jurik Research algorithms. It’s an independent implementation that applies similar adaptive-smoothing principles, extended with a stair-step filtering mechanism for discrete trend transitions.






















