אינדיקטורים ואסטרטגיות
Zendog V3 Indicator DCAThis strategy is same as Zendog v3 but edited to be backtest compatible for SO additions through indicator
for Longs
Safety order type = External indicator 
External indicator = RSI 30/70 : Long Trigger
Safety Order Value = 1
for Shorts
Safety order type = External indicator 
External indicator = RSI 30/70 : Short Trigger
Safety Order Value = 2
ChadAnt- Ray to 2nd Fractal Time buy/sell strategyUsing Williams Fractals and adding rays that extend to the second fractal after a high/low looking for an entry
Senkou Span BUsing in conjunction with Senkou Span A to create effective kumo alert signals when kumo changes direction: bullish or bearish.
Senkou Span AUse it in conjunction with Senkou Span B to create effective kumo alert signals when kumo changes direction: bullish or bearish.
RSI FlipIndicator Description: RSI Flip (30/70 Threshold)
This indicator uses a 7-period Relative Strength Index (RSI) to detect potential market reversals based on classic momentum thresholds:
- RSI < 30 → triggers a Long Deal Signal (1) indicating potential bullish reversal.
- RSI > 70 → triggers a Short Deal Signal (2) indicating potential bearish reversal.
🔧 Features:
- Backtest-compatible output: Hidden plots emit 1 for long and 2 for short, enabling seamless integration with strategy scripts.
- Bias tracking: Internal bias state updates on each trigger, allowing for modular lifecycle logic.
- Background tinting ready: The bias variable can be used to drive visual overlays or downstream automation.
🧩 Integration Notes:
- Designed for symbol-specific use — no external feeds or dependencies.
- Ideal for modular signal stacking, lifecycle-safe deal initiation, or audit-grade strategy mapping.
 CHOCH + FVG Signals [30m Optimized]CHOCH + FVG Signals  
🎯 What It Does:
This script automatically scans your chart for high-probability Smart Money Concepts (SMC) setups based on two key institutional trading principles:
Change of Character (CHOCH) – A shift in market structure signaling potential reversal
Fair Value Gap (FVG) – An imbalance zone where price moved too fast, often acting as support/resistance
 When both conditions align, the script plots clear Buy (▲) and Sell (▼) signals directly on your chart — ideal for intraday trading on the 30-minute timeframe (but works on any timeframe).
 ✅ Key Features:
🔹 Visual Fair Value Gaps
Green shaded zones = Bullish FVGs (potential support)
Red shaded zones = Bearish FVGs (potential resistance)
Toggle on/off in settings
 🔹 Smart CHOCH Detection
Detects breaks of recent swing highs/lows with proper context
Avoids false signals by confirming prior price structure
 🔹 Clear Trade Signals
Green ▲ below bar = Buy signal (Bullish CHOCH + FVG confluence)
Red ▼ above bar = Sell signal (Bearish CHOCH + FVG confluence)
 🔹 Customizable Filters
Option to require FVG for a signal (recommended for higher accuracy)
Adjust sensitivity via swing detection settings (default optimized for 30m)
 🔹 Alert-Ready
Built-in alert conditions for instant notifications on TradingView mobile/desktop
 ⚙️ How to Use:
Apply to a 30-minute chart (e.g., EURUSD, Gold, NAS100, BTC)
Wait for at least 50–100 bars to load (so swing points appear)
Look for:
A green triangle (▲) → consider long entry near FVG support
A red triangle (▼) → consider short entry near FVG resistance
 Confirm with price action: Wait for a strong candle close or rejection at the FVG zone
Use stop-loss below/above the FVG and target recent liquidity pools
 💡 Pro Tip: Best used during high-volume sessions (e.g., London Open 7–10 AM UTC, NY Open 12:30–3:30 PM UTC). 
 🛠️ Settings (Inputs):
Show Fair Value Gaps
✅ Enabled	
Visualize FVG zones
Max FVG History
100 bars	
Prevent chart clutter
Require FVG for Signal?
✅ Enabled	
Higher-quality setups (disable to test CHOCH-only)
 
 ⚠️ Important Notes:
This is a signal generator, not financial advice. Always manage risk.
Works best in trending or breaking markets — avoid during low-volatility ranges.
FVGs may get filled (tested) before price continues — patience improves results.
Backtest on historical data before live trading.
 📣 Ideal For:
Retail traders learning Smart Money Concepts (SMC)
Price action traders seeking institutional-level confluence
Intraday scalpers & swing traders on 30m–1H timeframes
ten2 Cipher v.1Created and built by ten2crypto
This is not just another "Market Cipher" clone. This is my personal, ground-up build of a comprehensive momentum and divergence toolkit, designed to provide a deeper, more nuanced view of the market. The ten2 Cipher Divergence Engine combines the best aspects of classic momentum oscillators with a powerful, multi-layered divergence system.
This indicator was built for my own trading and is now being shared with the community.
Squeeze Breakout Strategy [KedArc Quant]Description:
Squeeze Breakout strategy looks for volatility compression (Bollinger Bands inside Keltner Channels = a “squeeze”), then trades the volatility expansion in the direction of a momentum filter. 
🧠 How the “Squeeze → Expansion” works 
- Markets alternate between quiet (compressed) and active (expanded) phases.
- We call it a squeeze when Bollinger Bands (BB)—which reflect standard deviation around price—shrink inside the Keltner Channels (KC)—which reflect ATR/range.
- This means dispersion (stdev) is small relative to typical range (ATR). Price is coiling; participants are agreeing on value.
- When BB pops back outside KC, the squeeze releases. That’s the first sign that volatility is expanding again.
- A release alone doesn’t tell you direction. That’s why this strategy pairs the release with a momentum filter:
- We estimate momentum using a smoothed linear-regression slope of price (a clean proxy for acceleration).
- If the slope is positive at release, we favor longs; if negative, we favor shorts.
- Optionally, you can require Band Break + Momentum (price closes beyond the BB) for a stricter entry.
- This combination aims to capture the first leg of the range-to-trend transition while avoiding random pokes that often occur during tight consolidations.
💡 Why this is unique
 Two entry modes (toggle):
  1. Release + Momentum (enter when the squeeze turns off)
  2. Band Break + Momentum (enter on a close beyond BB with momentum)
 - Momentum = smoothed linear-regression slope, a clean thrust detector that’s less laggy than many oscillators.
 - Risk module included: ATR stop, optional 1R partial take-profit, and a Chandelier trailing stop for the runner.
 - Practical filters: higher-timeframe EMA trend alignment, volume surge, minimum BB width, and session window—so it adapts across markets/timeframes.
 - Backtest-ready: uses TradingView’s `strategy.` framework with commission/slippage controls.
📈 How it helps traders
✅Regime clarity: distinguishes compression vs. expansion so you’re not forcing trades during dead zones.
✅Objective entries: momentum + band logic reduces discretionary “feel” and late chases.
✅Built-in risk plan: stop/targets/trailing defined in inputs—consistent execution across tickers.
✅Adaptable: works across instruments/timeframes; filters let you tailor noise tolerance per market session.
✅Alerts: real-time signals for entry and squeeze release.
✅Not a Mash-Up / Original Work
✅Fully authored in Pine Script v6; no external libraries or copied logic blocks.
✅Uses well-known, documented formulas (BB, KC, ATR, LinReg slope) combined into a new rule set (two entry modes + momentum + structured exits).
✅Code and parameters are transparent and adjustable; the script stands alone.
🧩 Formulas (core)
Bollinger Bands
 # Basis = `SMA(close, bbLen)`
 # Upper/Lower = `Basis ± bbMult × stdev(close, bbLen)`
 # Width% = `(Upper − Lower) / Basis × 100`
Keltner Channels
 # Basis = `EMA(close, kcLen)`
 # Upper/Lower = `Basis ± kcMult × ATR(kcATR)`
Squeeze state
 # ON: `BB_Upper < KC_Upper` and `BB_Lower > KC_Lower`
 # Release: `squeeze_on ` and `not squeeze_on`
Momentum (this script)
 # `lin = linreg(close, momLen, 0)`
 # `mom = SMA( lin − lin , momSmoothing )`
 # Long bias when `mom > 0`; short bias when `mom < 0`.
⚙️ Inputs 
Compression
 `bbLen`, `bbMult` — BB length & std-dev multiplier
 `kcLen`, `kcATR`, `kcMult` — KC lengths & ATR multiplier
 `Entry Mode` — Release + Momentum, Band Break + Momentum, or Either
Momentum
 `momLen`, `momSmoothing`
Filters (optional)
 `Use HTF Trend Filter` + `HTF Timeframe` + `HTF EMA Length`
 `Require Volume Surge` (`volLen`, `volMult`)
 `Avoid Ultra-Low Vol` (`Min BB Width %`)
 `Session` window
Risk / Exits
 `ATR Length`, `ATR Stop Multiplier`
 `Take Profit at 1R` (with Partial 50%)
 `Chandelier` (`chLen`, `chMult`)
 Optional `Time Stop (bars)`
 🎯 Entry & Exit Rules
Entry (choose one mode):
1. Release + Momentum (default)
    Long: on the bar the squeeze releases and `mom > 0`, passing all enabled filters.
    Short: on the bar the squeeze releases and `mom < 0`, passing filters.
2. Band Break + Momentum
    Long: `close > BB_Upper` and `mom > 0`, with filters.
    Short: `close < BB_Lower` and `mom < 0`, with filters.
Initial Stop
 ATR-based: `Stop Distance = atrMult × ATR(atrLen)` from entry.
Targets & Runner
TP1 at 1R (optional): take 50% at `entry + 1R` (long) / `entry − 1R` (short).
Runner: remaining position trails a Chandelier stop:
Long trail = `highest(high, chLen) − chMult × ATR`
Short trail = `lowest(low, chLen) + chMult × ATR`
Optional Time Stop: close the trade after N bars in position.
Labels on chart
 “Long” / “Short” = entry signals.
 “L-TP1 / S-TP1” = partial exits at 1R.
 “L-Runner / S-Runner” = trailing-stop exits of the runner.
Alerts
 Provided for Long Entry, Short Entry, and Squeeze Release.
💬 How to use
1. Choose your market/timeframe (e.g., NSE 5–15m intraday, 60m–Daily for swing).
2. If you prefer cleaner trends, enable the HTF EMA filter (e.g., 240m/1D).
3. For intraday, consider Band Break + Momentum with Volume Surge and a small Min BB Width.
4. Adjust ATR/Chandelier multipliers to fit your risk tolerance and instrument.
Abbreviations
 BB – Bollinger Bands
 KC – Keltner Channels
 ATR – Average True Range
 SMA / EMA – Simple/Exponential Moving Average
 HTF – Higher Timeframe
 R – Risk unit (equal to the initial stop distance)
⚠️ Disclaimer
This script is for educational purposes only. Past performance ≠ future returns. Always paper trade first. Options trading carries high risk — manage exposure responsibly.
Range Oscillator (Zeiierman)█  Overview 
 Range Oscillator (Zeiierman)  is a dynamic market oscillator designed to visualize how far the price is trading relative to its equilibrium range. Instead of relying on traditional overbought/oversold thresholds, it uses adaptive range detection and heatmap coloring to reveal where price is trading within a volatility-adjusted band.
The oscillator maps market movement as a heat zone, highlighting when the price approaches the upper or lower range boundaries and signaling potential breakout or mean-reversion conditions.
   
 Highlights 
 
 Adaptive range detection based on ATR and weighted price movement.
 Heatmap-driven coloring that visualizes volatility pressure and directional bias.
 Clear transition zones for detecting trend shifts and equilibrium points.
 
█  How It Works 
 ⚪  Range Detection 
The indicator identifies a dynamic price range using two main parameters:
 
 Minimum Range Length:  The number of bars required to confirm that a valid range exists.
 Range Width Multiplier:  Expands or contracts the detected range proportionally to the ATR (Average True Range).
 
This approach ensures that the oscillator automatically adapts to both trending and ranging markets without manual recalibration.
⚪  Weighted Mean Calculation 
Instead of a simple moving average, the script calculates a weighted equilibrium mean based on the size of consecutive candle movements:
 
 Larger price changes are given greater weight, emphasizing recent volatility.
 
⚪  Oscillator Formula 
Once the range and equilibrium mean are defined, the oscillator computes:
 Osc = 100 * (Close - Mean) / RangeATR 
This normalizes price distance relative to the dynamic range size — producing consistent readings across volatile and quiet periods.
 
█  Heatmap Logic 
The Range Oscillator includes a built-in heatmap engine that color-codes each oscillator value based on recent price interaction intensity:
 
 Strong Bullish Zones:  Bright green — price faces little resistance upward.
 Weak Bullish Zones:  Muted green — uptrend continuation but with minor hesitation.
 Transition Zones:  Blue — areas of uncertainty or trend shift.
 Weak Bearish Zones:  Maroon — downtrend pressure but soft momentum.
 Strong Bearish Zones:  Bright red — strong downside continuation with low resistance.
 
 Each color band adapts dynamically using: 
 
 Number of Heat Levels:  Controls granularity of the heatmap.
 Minimum Touches per Level:  Defines how reactive or “sensitive” each color zone is.
 
█  How to Use 
⚪  Trend & Momentum Confirmation 
When the oscillator stays above +0 with green coloring, it suggests sustained bullish pressure.
   
Similarly, readings below –0 with red coloring, it suggests sustained bearish pressure.
   
⚪  Range Breakouts 
When the oscillator line breaks above +100 or below –100, the price is exceeding its normal volatility range, often signaling breakout potential or exhaustion extremes.
  
⚪  Mean Reversion Trades 
Look for the oscillator to cross back toward zero after reaching an extreme. These transitions (often marked by blue tones) can identify early reversals or range resets.
   
⚪  Divergence 
Use oscillator peaks and troughs relative to price action to spot hidden strength or weakness before the next move.
  
█  Settings 
 
 Minimum Range Length:  Number of bars needed to confirm a valid range.
 Range Width Multiplier:  Expands or contracts range width based on ATR.
 Number of Heat Levels:  Number of gradient bands used in the oscillator.
 Minimum Touches per Level:  Sensitivity threshold for when a zone becomes “hot.”
 
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Dynamic S/R# Complete Parameter Guide
## 1. Lookback Bars (Default: 500)
- **Function**: Number of historical bars the script analyzes to identify levels
- **Example**: If set to 500, the script examines the last 500 candles
- **Increase when**: Trading long-term, searching for old historical levels
- **Decrease when**: Day trading or short-term trading, viewing only recent levels
- **Recommendation**: 200-300 for day trading, 500-1000 for swing trading
## 2. Min Touches (Default: 3)
- **Function**: Minimum number of touches required for a level to be considered valid
- **Example**: If set to 3, a level with only 2 touches will not be displayed
- **Increase (4-5) when**: You want only very strong and confirmed levels
- **Decrease (2) when**: You want to identify potential levels early
- **Recommendation**: 3 is a balanced value - not too loose, not too strict
## 3. Extrema Type (Default: both)
- **Function**: Which type of extrema to identify
- **Options**:
- **min**: Support levels only (pivot lows)
- **max**: Resistance levels only (pivot highs)
- **both**: Both types
- **When to change**:
- In uptrend looking for support only: select "min"
- In downtrend looking for resistance only: select "max"
## 4. Pivot Window (Default: 5)
- **Function**: How many bars on each side are required to confirm a pivot
- **Technical explanation**: pivot low = price lower than 5 bars before it and 5 bars after it
- **Increase (7-10) when**:
- More significant extrema needed
- Less noise, fewer levels
- Good for higher timeframes
- **Decrease (3-4) when**:
- More sensitivity needed
- More levels wanted
- Good for scalping
- **Important**: Higher value = quality over quantity
## 5. Clustering Sensitivity % (Default: 0.5%)
- **Function**: Percentage deviation allowed to group touches into the same level
- **Example**: If level at $100 and sensitivity 0.5%, touches between $99.5-$100.5 count as same level
- **Increase (1-2%) when**:
- Volatile assets (crypto, small stocks)
- More consolidation of nearby levels
- Fewer levels on chart
- **Decrease (0.2-0.3%) when**:
- Stable assets (indices, forex majors)
- Higher precision needed
- Separation between close levels
- **Recommendation**: Start at 0.5% and adjust per instrument
## 6. Max Levels to Show (Default: 10)
- **Function**: Maximum number of support/resistance lines displayed on chart
- **Selection criteria**: Script prioritizes levels by:
1. Number of touches (more = stronger)
2. Price spread (tighter = more accurate)
3. Recency (most recent touch closer to present)
- **Low value (5-10)**: Clean chart with only strongest levels
- **High value (20-50)**: More options, including weaker levels
## 7. Min Bar Separation (Default: 5)
- **Function**: Minimum distance in bars between two touches of the same type (min or max)
- **Why important**: Prevents double-counting the same extremum
- **Example**: If pivot low at bar 100 and another at bar 103, only one counts
- **Increase (10-20) when**:
- Lower timeframes with much noise
- Avoiding false consolidation
- **Decrease (2-3) when**:
- Higher timeframes
- Identifying quick movements
## 8. Alert Proximity % (Default: 1%)
- **Function**: Distance from level at which to trigger alert
- **Example**: Level at $100, proximity 1% = alert between $99-$101
- **Increase (2-3%) when**:
- Earlier alerts wanted
- More preparation time needed
- May create false alerts
- **Decrease (0.5%) when**:
- More precise alerts wanted
- Stronger confirmation needed
- Less reaction time
- **Recommendation**: 1% works well for most cases
## 9. Show Price Bands (Default: true)
- **Function**: Displays zone around level instead of just a line
- **Zone size**: Plus/minus Clustering Sensitivity %
- **Why useful**:
- Levels are never exact lines
- Zone better represents reality
- Helps identify entries and exits within zone
- **Off**: Cleaner chart with only lines
## 10. Show Info Table (Default: true)
- **Function**: Displays information table in chart corner
- **Table contents**:
- Type: S (Support) / R (Resistance) / N (Neutral)
- Price: Level price
- Touches: Number of touches
- Bars Ago: How many bars since last touch
- **Off**: If you know the levels and want a clean chart
## Recommended Settings by Trading Style:
### Day Trading (Intraday)
```
Lookback Bars: 200-300
Min Touches: 2-3
Pivot Window: 3-5
Sensitivity: 0.3-0.5%
Max Levels: 5-8
```
### Swing Trading (Days-Weeks)
```
Lookback Bars: 500-800
Min Touches: 3-4
Pivot Window: 5-7
Sensitivity: 0.5-1%
Max Levels: 10-15
```
### Position Trading (Months)
```
Lookback Bars: 1000-2000
Min Touches: 4-5
Pivot Window: 7-10
Sensitivity: 1-2%
Max Levels: 8-12
```
**Important tip**: Start with default values and adjust gradually based on the asset and results.
Indian Gold Festival Dates HistoricalIndian Gold Festival Dates (1975-2025)
Marks 8 major Indian festivals associated with gold buying over 50 years of historical data. Essential for analyzing seasonal patterns and cultural demand cycles in gold markets.
Festivals Included:
Dhanteras (Gold) - Most auspicious gold buying day
Diwali (Orange) - Festival of Lights
Akshaya Tritiya (Green) - "Never-ending" prosperity
Dussehra (Red) - Victory and success
Makar Sankranti (Cyan) - Solar new year
Gudi Padwa (Magenta) - Hindu New Year (Maharashtra)
Ugadi (Purple) - Hindu New Year (South India)
Navratri (Yellow) - 9-day festival
Features:
✓ 408 exact historical dates (1975-2025)
✓ Color-coded vertical lines for easy identification
✓ Toggle individual festivals on/off
✓ Adjustable line width and labels
✓ Works on all timeframes (best on daily/weekly)
Perfect for traders analyzing gold seasonality, Indian market sentiment, and cultural demand patterns. Use on XAUUSD, GC1!, or Indian gold futures.
Risk-On / Risk-Off Composite (Elliot) – Macro+Vol Upgrade v2drop-in upgrade of indicator that adds three optional macro components with adjustable weights:
Inverted VIX (risk-on when down → we use 100/VIX)
Inverted MOVE (bond vol; risk-on when down → we use 1/MOVE)
Inverted DXY (USD; risk-on when down → we use 1/DXY)
Liquidaciones BTCUSDT.PAllows you to manually record liquidation prices for both short and long positions, which are then displayed on the chart:
Orange: Short liquidations
Blue: Long liquidations
Optionally, a specific liquidation price can be highlighted to indicate higher-volume liquidations
Note: All liquidation prices must be entered manually.
EMA Tutorial - 1Buy when in downtrend and close above EMA_50
Buy when in uptrend and below EMA_50
adjust ema length and risk reward for other stocks. Works good with nifty. Need to perform stress test on it
Risk-On / Risk-Off CompositeReal-time Risk-On / Risk-Off Composite from your four ratios:
 
SPY / TLT (equities vs long bonds)
HYG / LQD (high-yield vs IG credit)
HG / GOLD (copper vs gold)
BTC / GOLD (speculative vs defensive)
It:
normalizes each ratio with a z-score (so they’re comparable),
lets you weight them,
plots a composite line + histogram (up = risk-on, down = risk-off),
shows a small heat-table for each sub-signal,
and includes alert conditions for Risk-On / Risk-Off flips.















