Lines by DannyLines made by me to help me trade and see if there are good trends or bad ones or breakdowns or breakouts
Indicators and strategies
Zero Lag LSMA 3-Color# Zero Lag LSMA 3-Color Indicator
## Overview
The Zero Lag LSMA (ZLSMA) 3-Color is an advanced trend-following indicator that reduces the lag inherent in traditional Linear Regression Moving Averages (LSMA). This indicator provides clear visual signals through a color-coded system and dot markers to identify trend changes with minimal delay.
## What is Zero Lag LSMA?
Zero Lag LSMA is calculated by applying the Linear Regression Moving Average twice and then compensating for the lag:
1. **First LSMA**: Calculate LSMA of the price data
2. **Second LSMA**: Calculate LSMA of the first LSMA
3. **Zero Lag Calculation**: ZLSMA = LSMA + (LSMA - LSMA2)
This method significantly reduces the delay while maintaining the smoothness of the trend line.
## Features
### Color-Coded Trend System
- **Fluorescent Green** (`RGB(0, 255, 0)`): Uptrend - ZLSMA is rising
- **Fluorescent Red** (`RGB(255, 20, 60)`): Downtrend - ZLSMA is falling
- **Gray**: Sideways/Neutral - No clear directional bias
### Trend Change Markers
- **Tiny dots** appear at the exact moment when the trend direction changes
- **Green dots**: Mark the beginning of an uptrend
- **Red dots**: Mark the beginning of a downtrend
### Customizable Parameters
- **Length**: Period for ZLSMA calculation (default: 20)
- **Line Width**: Thickness of the ZLSMA line (default: 2)
- **Show/Hide Toggle**: Option to display or hide the indicator
## Trading Applications
### Trend Identification
- **Green line**: Look for long opportunities
- **Red line**: Look for short opportunities
- **Gray line**: Consider range-bound strategies
### Entry Signals
- **Dot markers** provide precise entry points when trend changes occur
- Green dots can signal potential buy entries
- Red dots can signal potential sell entries
### Trend Confirmation
- Use ZLSMA color changes to confirm other technical analysis signals
- The reduced lag helps traders enter trends earlier than traditional moving averages
## Advantages Over Traditional Moving Averages
1. **Reduced Lag**: Responds faster to price changes than standard moving averages
2. **Clear Visualization**: Color-coding makes trend direction immediately apparent
3. **Precise Timing**: Dot markers highlight exact trend change moments
4. **Smooth Operation**: Maintains smoothness while reducing whipsaws
## Best Practices
### Timeframe Usage
- Works effectively on all timeframes
- Higher timeframes provide more reliable signals
- Lower timeframes offer more trading opportunities but may have more noise
### Risk Management
- Always use proper stop-loss levels
- Consider the overall market context
- Combine with other technical analysis tools for confirmation
### Settings Optimization
- **Shorter periods** (10-15): More sensitive, faster signals
- **Longer periods** (25-50): More stable, fewer false signals
- **Standard period** (20): Good balance between sensitivity and stability
## Alert Conditions
The indicator includes built-in alert conditions for:
- ZLSMA turning upward (trend change to bullish)
- ZLSMA turning downward (trend change to bearish)
## Compatibility
- **Platform**: TradingView
- **Script Version**: Pine Script v6
- **Chart Type**: Works on all chart types
- **Markets**: Suitable for Forex, Stocks, Crypto, Commodities, and Indices
## Disclaimer
This indicator is for educational and informational purposes only. It should not be considered as financial advice. Always conduct your own research and consider your risk tolerance before making trading decisions. Past performance does not guarantee future results.
Moving Averages and Relative StrengthMoving Averages and Relative Strength
Overview
The Moving Averages and Relative Strength is a comprehensive indicator that combines multiple analytical tools to provide traders with a complete picture of price trends, volatility, relative performance, and position sizing guidance. This multi-faceted indicator is designed for both swing and positional traders looking for data-driven entry and exit signals.
Key Components
1. Moving Average Ribbon System
• 4 Customizable Moving Averages with default periods: 13, 21, 55, and 189
• Multiple MA Types : SMA, EMA, SMMA (RMA), WMA, VWMA
• Color-coded visualization for easy trend identification
• Flexible configuration allowing users to modify periods, types, and colors
2. Average Daily Range Percentage (ADR%)
• Calculates the average daily volatility as a percentage
• Uses a 20-period simple moving average of (High/Low - 1) * 100
• Helps traders understand the stock's typical daily movement range
• Essential for position sizing and stop-loss placement
3. Volume Analysis (Up/Down Ratio)
• Analyzes volume distribution over the last 55 periods
• Calculates the ratio of volume on up days vs down days
• Provides insight into buying vs selling pressure
• Values > 1 indicate more buying volume, < 1 indicate more selling volume
4. Absolute Relative Strength (ARS)
• Dual timeframe analysis with customizable reference points
• High ARS : Performance relative to benchmark from a high reference point
• Low ARS : Performance relative to benchmark from a low reference point
• Uses NSE:NIFTY as default comparison symbol
5. Relative Performance Table
• 5 timeframes : 1 Week, 1 Month, 3 Months, 6 Months, 1 Year
• Shows stock performance relative to benchmark index
• Formula: (Stock Return - Index Return) for each period
6. Dynamic Position Allocation System
• 6-factor scoring system based on price vs EMAs (21, 55, 189)
• Evaluates:
- Price above/below each EMA
- EMA alignment (21>55, 55>189, 21>189)
• Allocation recommendations :
- 100% allocation: Score = 6 (all bullish signals)
- 75% allocation: Score = 4
- 50% allocation: Score = 2
- 25% allocation: Score = 0
- 0% allocation: Score = -2, -4, -6 (bearish signals)
Display Tables
Performance Table (Top Right)
Shows relative performance vs benchmark across multiple timeframes with intuitive color coding for quick assessment.
Metrics Table (Bottom Right)
Displays key statistics:
• ADR% : Average Daily Range percentage
• U/D : Up/Down volume ratio
• Allocation% : Recommended position size
• High ARS% : Relative strength from high reference
• Low ARS% : Relative strength from low reference
This indicator is designed to provide a comprehensive analysis framework rather than simple buy/sell signals. It's recommended to use this in conjunction with your overall trading strategy and risk management rules.
TRI - Smart Zones============================================================================
# TRI - SMART ZONES v2.0
## Professional Smart Money Concepts Indicator for Pine Script v6
============================================================================
## 📊 OVERVIEW
**TRI - Smart Zones** is a comprehensive Smart Money Concepts indicator that
combines multiple institutional trading concepts into a single, powerful tool.
Built with Pine Script v6 for optimal performance and reliability.
## 🎯 CORE FEATURES
### **Fair Value Gaps (FVG)**
- **Detection**: Automatic identification of price imbalances
- **Types**: Bullish and Bearish Fair Value Gaps
- **Threshold**: Customizable gap size requirements (0.1% default)
- **Extension**: Configurable zone projection length
- **Mitigation**: Real-time tracking of gap fills
### **Order Blocks (OB)**
- **Detection**: Volume-based institutional footprint identification
- **Types**: Bullish and Bearish Order Blocks
- **Method**: Pivot-based volume analysis with configurable lookback
- **Validation**: Market structure confirmation required
- **Extension**: Adjustable zone projection
### **BSL/SSL Liquidity Levels**
- **Multi-Timeframe**: Automatic higher timeframe reference
- **Dynamic**: Real-time level updates and extensions
- **Visual**: Clear line markings with timeframe labels
- **Smart**: Adaptive timeframe selection based on current chart
### **Fibonacci Extensions**
- **ZigZag Integration**: Advanced pivot point detection
- **Levels**: Customizable Fibonacci ratios (38.2%, 61.8%, 100%, 161.8%)
- **Projection**: Dynamic extension from swing points
- **Visual**: Subtle dashed lines with level/price labels
### **Smart Dashboard**
- **Zone Statistics**: Real-time FVG and OB counts
- **Success Rates**: Mitigation percentages for each zone type
- **Market Bias**: Intelligent bullish/bearish/neutral assessment
- **Positioning**: Customizable location and size
### **Zone Analysis Engine**
- **Technical Confluence**: RSI, ADX, ATR, Volume analysis
- **VWAP Integration**: Institutional price reference
- **Confidence Scoring**: High/Mid/Low signal classification
- **Signal Arrows**: Visual trade direction indicators
## 🔔 ALERT SYSTEM
### **Market Structure Alerts**
- `Market Bias Changed` - Shift in overall market sentiment
- `BSL Touched` - Buy Side Liquidity level reached
- `SSL Touched` - Sell Side Liquidity level reached
### **Zone Touch Alerts**
- `OB Touched` - Any Order Block interaction
- `Bullish OB Touched` - Bullish Order Block touch
- `Bearish OB Touched` - Bearish Order Block touch
- `FVG Touched` - Any Fair Value Gap interaction
- `Bullish FVG Touched` - Bullish FVG touch
- `Bearish FVG Touched` - Bearish FVG touch
- `Zone Touched` - Any Smart Zone interaction
- `Bullish Zone Touched` - Any bullish zone touch
- `Bearish Zone Touched` - Any bearish zone touch
## ⚙️ CONFIGURATION
### **Zone Detection**
- Enable/disable FVG and OB detection independently
- Maximum zones per type (3-15, default: 8)
- Zone-specific threshold and extension settings
### **Visual Customization**
- Individual color schemes for each zone type
- Adjustable transparency levels
- Configurable line styles and widths
- Dashboard positioning and sizing options
### **Technical Analysis**
- RSI, ADX, ATR period customization
- Volume threshold multipliers
- Confidence level color coding
- Signal display toggle
## 🚀 PINE SCRIPT v6 OPTIMIZATIONS
- **User-Defined Types**: Structured data for zones and statistics
- **Methods**: Type-specific operations for better code organization
- **Enhanced Arrays**: Optimized memory management
- **Switch Statements**: Improved performance for zone classification
- **Error Handling**: Robust input validation and edge case management
- **Performance**: Efficient algorithms for real-time analysis
## 📈 TRADING APPLICATIONS
### **Entry Strategies**
- Zone confluence for high-probability setups
- Multi-timeframe confirmation via BSL/SSL
- Fibonacci extension targets
- Signal arrows for directional bias
### **Risk Management**
- Zone mitigation for stop-loss placement
- Market bias for position sizing
- Dashboard statistics for strategy validation
### **Market Analysis**
- Institutional footprint identification
- Liquidity level mapping
- Market structure assessment
- Trend continuation vs reversal analysis
## 🔧 TECHNICAL SPECIFICATIONS
- **Version**: Pine Script v6
- **Overlay**: True (draws on price chart)
- **Max Objects**: 100 boxes, 100 lines, 50 labels
- **Performance**: Optimized for real-time analysis
- **Compatibility**: All TradingView chart types and timeframes
OHLC Tool CustomizedIMPORTANT
This script is 99% based on the excellent OHLC Tool script by ©SamRecio. My changes are purely cosmetic to fit my needs. The original script is here:
Summary
The entire idea of this customization is to save some screen real estate. I have a ton of crap on my graphs and the default labels with prices are way too wide for my taste.
I *DO* want to have labels, but I want 'O1/H1/L1/C1' as opposed to ScriptName+FieldName+Price.
I really don't care about the price that much, I just want to see the levels and if the current PA will bump against them.
My interest is in yesterday's Open/High/Low/Close so the defaults are set to that.
One cool way this script can be used is it can be added more than once. I personally don't care about OHLC 2 days ago, but I added the second script to the distro graph here to illustrate the point. I kept Timeframe at 1D, set Lookback to 2, changed labels to O2/H2/L2/C2 and voila! (Changed line types to Dashed, too).
Another hack - you can add weekly's and monthly's, if you care...
Limitations
Sadly, there is no way it TV to attach a label to the right edge of the graph, only to the right-most candle and some offset. So when you start dragging you graph left (or right), the labels go with it. BLEH. Well, I'm not doing that so I don't really care.
TV Settings
In order to display the default, standard labels: right-click > Settings > Scales and lines > Indicators and financials: Name, Value
If the above setting is set to Hidden, AND you deselect Override Default Line Labels in this script's config - you will end up with bare lines and no labels whatsoever.
Differences with the original script
You can replace default labels with customized, saving a whopping 2.5cm/1" of screen estate! (default)
You can hide any of the four OHLC lines
You can customize label text
You can choose not to show price (default)
NIFTY Option Auto Hedge -made by govind this is help you for hedge your position in nifty and banknifty options.
Market Structure Shift (MSS)
Indicator ၏ အမည်: Market Structure Shift (MSS)
ရေးသားသူ: SaiYarYar
အကြောင်းအရာ: ဒီ indicator သည် မကြာသေးမီက ဖြစ်ပေါ်ခဲ့သော swing high နှင့် swing low များကို ဈေးနှုန်းက break လုပ်ခြင်းဖြင့် market structure shift များကို ရှာဖွေပေးပါသည်။
- မကြာသေးမီက swing high ကို အပေါ်သို့ break လုပ်လျှင် Bullish MSS (အကျဘက်သို့ ပြောင်းလဲခြင်း) ကို ဆိုလိုသည်။
- မကြာသေးမီက swing low ကို အောက်သို့ break လုပ်လျှင် Bearish MSS (အဆင်းဘက်သို့ ပြောင်းလဲခြင်း) ကို ဆိုလိုသည်။
Auto Nifty Option Buyer with Auto Fib made by govindthis is help you for correct option buying price with fib retracement
ETH Multi-Signal Reversal TrackerThis indicator identifies high-probability reversal points on ETH 15-minute charts through a unique multi-confirmation system. It displays subtle colored triangles directly adjacent to price candles - green for potential bottoms, red for potential tops - allowing early identification of developing market structure.
The true innovation is the "3T"/"3B" confirmation system: when three consecutive weak signals appear (particularly three red triangles for tops), the indicator highlights these high-probability reversal zones with bold "3T" or "3B" markers. Field-tested on live ETH markets, this pattern has demonstrated a 78% win rate for entries.
Unlike traditional swing indicators that either miss early opportunities or generate excessive false signals, this tool provides the perfect balance:
Early warning signals (triangles) appear directly on price action
Clear visual confirmation when signals align ("3T"/"3B")
ETH-specific optimization for 15-minute volatility patterns
Clean, uncluttered design that enhances rather than obscures your chart
Designed by an active ETH day trader, this indicator codifies the observation that three consecutive weak top signals often precede significant downward moves - transforming subjective pattern recognition into objective, actionable signals. Use it to catch reversals earlier with greater confidence on your ETH 15-minute charts.
Gabriel's Relative Strength Scatter PlotHow to apply it to a portfolio (no fluff)
1) Choose your universe + benchmark wisely
Universe = the things you’re willing to own. Keep it consistent (e.g., 11 GICS sectors, your 26 megacaps, or your watchlist).
Benchmark (your symBench) should match the mandate (SPX for US large caps, QQQ for tech-tilt, BTC for crypto, etc.). RS is only as good as the yardstick.
2) Work on the right timeframe
For rotation/investing: Weekly chart with length = 20~63 is a sweet spot (roughly one trading quarter of memory).
For swing trading: Daily; for strategic: Monthly. Keep the indicator timeframe and rebalance cadence aligned.
3) Read the quadrants like a checklist
Leading (RS>100 & MOM>100): core holdings, add on pullbacks.
Improving (RS<100 & MOM>100): fresh candidates; buy breakouts/confirmations.
Weakening (RS>100 & MOM<100): trim/hold, don’t add; momentum fading.
Lagging (RS<100 & MOM<100): avoid/short (or underweight).
4) Select systematically
Pick the top N names by a score (examples below) and cap single-name weight.
Good composite score: Score = 0.7 * (RS-Ratio-100) + 0.3 * (RS-Momentum-100)
(weighting privileges persistent outperformance, with a nod to acceleration).
5) Rebalance on a schedule
Monthly works well for weekly inputs. Only trade when membership changes or weights drift > X%.
Use the alerts to catch entries into Improving/Leading and exits into Lagging.
6) Risk guardrails
Max position (e.g., 10%/name), max sector (e.g., 30%), cash/defensive sleeve when breadth is poor.
Simple regime filter: risk-on only if bench > bench SMA(20/200); otherwise shrink exposure or rotate to defensives (e.g., XLP/XLU/TLT/SHY).
7) Sanity checks
Don’t chase when tails are very long and curling down (late cycle).
Prefer Improving → Leading transitions with shallow pullbacks.
Keep slippage/fees real for shorter cadences.
Best during Market cycles, or catching deep value equity plays.
Volume Delta Pressure Tracker by GSK-VIZAG-AP-INDIA📢 Title:
Volume Delta Pressure Tracker by GSK-VIZAG-AP-INDIA
📝 Short Description (for script title box):
Real-time volume pressure tracker with estimated Buy/Sell volumes and Delta visualization in an Indian-friendly format (K, L, Cr).
📃 Full Description
🔍 Overview:
This indicator estimates buy and sell volumes using candle structure (OHLC) and displays a real-time delta table for the last N candles. It provides traders with a quick view of volume imbalance (pressure) — often indicating strength behind price moves.
📊 Features:
📈 Buy/Sell Volume Estimation using the candle’s OHLC and Volume.
⚖️ Delta Calculation (Buy Vol - Sell Vol) to detect pressure zones.
📅 Time-stamped Table displaying:
Time (HH:MM)
Buy Volume (Green)
Sell Volume (Red)
Delta (Color-coded)
🔢 Indian Number Format (K = Thousands, L = Lakhs, Cr = Crores).
🧠 Fully auto-calculated — no need for tick-by-tick bid/ask feed.
📍 Neatly placed bottom-right table, customizable number of rows.
🛠️ Inputs:
Show Table: Toggle the table on/off
Number of Bars to Show: Choose how many recent candles to include (5–50)
🎯 Use Cases:
Identify hidden buyer/seller strength
Detect volume absorption or exhaustion
✅ Compatibility:
Works on any timeframe
Ideal for intraday instruments like NIFTY, BANKNIFTY, etc.
Ideal for volume-based strategy confirmation.
🖋️ Developed by:
GSK-VIZAG-AP-INDIA
TSU Keltner ChannelsA simple 3-in-1 Keltner Channel tool that plots 3 Keltner Channels on your chart:
+/-1 ATR
+/-2 ATR
+/-3 ATR
Stocks tend to stay between the +2 and -2 ATR channel bands most of the time. A move to or beyond the +/-3 ATR band can be considered extreme, potentially leading to "overbought" or "oversold" conditions.
Buy/Sell Signal - RSI + EMA + VWAP + Engulfing Patterns V1.1added three more indicators
bullish, bearish engulfing and engulfing area..
Volume Profile LevelsVolume profile levels saved from previous day and backwards. VALs and VAHs are not included within other value areas, making each value area clean. POC from previous day and the day before are shown each day.
The levels are stored as variables, which means you can set alerts based on them.
ATR x2 AUTODescription:
This indicator automatically plots ATR-based horizontal levels for each of the most recent candles, helping traders visualize potential stop-loss hunting zones, breakout areas, or price reaction points.
It works by taking the Average True Range (ATR) over a customizable period and multiplying it by a user-defined factor (default: ×2). For each of the last N candles (default: 5), it calculates and draws:
Below green candles (bullish) → A horizontal line placed ATR × multiplier below the candle’s low.
Above red candles (bearish) → A horizontal line placed ATR × multiplier above the candle’s high.
Doji candles → No line is drawn.
Each line extends to the right indefinitely, allowing traders to monitor how price reacts when returning to these ATR-based levels. This makes the tool useful for:
Identifying likely stop-loss clusters below bullish candles or above bearish candles.
Anticipating liquidity sweeps and fakeouts.
Supporting breakout or reversal strategies.
Key Features:
Customizable ATR length, multiplier, number of recent candles, and line thickness.
Separate colors for bullish and bearish candle levels.
Automatic real-time updates for each new bar.
Clean overlay on the main price chart.
Inputs:
ATR Length → Period used for ATR calculation.
Multiplier → Factor applied to the ATR distance.
Number of Candles → How many recent candles to track.
Line Thickness and Colors → Full visual customization.
Usage Tip:
These levels can be combined with key market structure points such as support/resistance, trendlines, or the 200 EMA to anticipate high-probability price reactions.
ABS Companion Oscillator — Trend / Exhaustion / New Trend (v1.1)
# ABS Companion Oscillator — Trend / Exhaustion / New Trend (v1.1)
## What it is (quick take)
**ABS CO** is a unified **–100…+100 trend oscillator** that fuses:
* **Regime**: EMA stack (fast/slow/long) + **HTF slope** (e.g., 60-minute)
* **Momentum**: **TSI** vs its signal
* **Stretch**: session-anchored **VWAP Z-score** for exhaustion and “fresh-trend” sanity checks
It paints the oscillator with **lime** in upstate, **red** in downstate, **gray** in neutral, and tags:
* **NEW↑ / NEW↓** when a **new trend** likely starts (zero-line cross with acceptable stretch)
* **EXH↑ / EXH↓** when an **existing trend looks exhausted** (large |Z| + momentum rollback)
> Use it as a **direction filter and context layer**. Works great in front of an entry engine and behind an exit tool.
---
## How to use it (operational workflow)
1. **Read the state**
* **Uptrend** when the oscillator is **≥ upThresh** (default +55) → prefer **long-side** plays.
* **Downtrend** when the oscillator is **≤ dnThresh** (default −55) → prefer **short-side** plays.
* **Neutral** between thresholds → be selective or flat; expect chop.
2. **Act on events**
* **NEW↑ / NEW↓**: zero-line cross with acceptable |Z| (not already overstretched). Treat as **trend start** cues.
* **EXH↑ / EXH↓**: trend state with **high |Z|** and TSI rollback versus its signal. Treat as **trend fatigue**; avoid fresh go-with entries and tighten risk.
3. **Practical pairing**
* Use **up/down state** (or above/below **neutralBand**) as your go/no-go filter for entries.
* Prioritize entries **with** NEW↑/NEW↓ and **without** nearby EXH tags.
* Keep holding while the oscillator stays in state and no EXH appears; consider scaling out on EXH or on your exit tool.
---
## Visual semantics & alerts
* **ABS CO line** (–100…+100): lime in upstate, red in downstate, gray in neutral.
* **Horizontal guides**: `Up` threshold, `Down` threshold, `Zero`, and optional **neutral band** lines.
* **Background heat** (optional): shaded when EXH conditions trigger (lime/red tint with intensity scaled by |Z|).
* **Tags**: `NEW↑`, `NEW↓`, `EXH↑`, `EXH↓`.
**Alerts (stable):**
* **ABS CO — New Uptrend** (NEW↑)
* **ABS CO — New Downtrend** (NEW↓)
* **ABS CO — Exhausted Up** (EXH↑)
* **ABS CO — Exhausted Down** (EXH↓)
Set alerts to **“Once per bar close”** for clean signals.
---
## Non-repainting behavior
* HTF queries use **lookahead\_off**.
* With **Strict NR = true**, the HTF slope is taken from the **prior completed** HTF bar; events evaluate on confirmed bars → **safer, fewer, cleaner**.
* NEW/EXH tags finalize at bar close. Disabling strictness yields earlier but noisier responses.
---
## Every input explained (and how it changes behavior)
### A) Trend & HTF structure
* **EMA Fast / Slow / Long (`emaFastLen`, `emaSlowLen`, `emaLongLen`)**
Control the baseline regime. Larger = smoother, fewer flips; smaller = snappier, more flips.
* **HTF EMA Len (`htfLen`)** & **HTF timeframe (`htfTF`)**
HTF slope filter. Longer len or higher TF = steadier bias (fewer state changes); shorter/ lower = more sensitive.
* **Strict NR (`strictNR`)**
`true` uses the **previous** HTF bar for slope and evaluates on confirmed bars → cleaner, slower.
### B) Momentum (TSI)
* **TSI Long / Short / Signal (`tsiLong`, `tsiShort`, `tsiSig`)**
Standard TSI. Larger values = smoother momentum, fewer EXH triggers; smaller = snappier, more EXH sensitivity.
### C) Stretch (VWAP Z-score)
* **VWAP Z-score length (`zLen`)**
Window for Z over session-anchored VWAP distance. Larger = smoother |Z|; smaller = more reactive stretch detection.
* **Exhaustion |Z| (`zHot`)**
Minimum |Z| to flag **EXH**. Raise to demand **bigger** stretch (fewer EXH); lower to catch milder excess.
* **Max |Z| for NEW (`zNewMax`)**
NEW requires |Z| **≤ zNewMax** (avoid “new trend” when already stretched). Lower = stricter; higher = more NEW tags.
### D) States & thresholds
* **Uptrend threshold (`upThresh`)** / **Downtrend threshold (`dnThresh`)**
Where the oscillator flips into trend states. Widen (e.g., +60/−60) to reduce false states; narrow to get earlier signals.
* **Neutral band (`neutralBand`)**
Visual buffer around zero for “meh” momentum. Larger band = fewer go/no-go flips near zero.
### E) Visuals & tags
* **Show New / Show Exhausted (`showNew`, `showExh`)**
Toggle the tag labels.
* **Shade exhaustion heat (`plotHeat`)**
On = color background when EXH fires. Helpful for scanning.
### F) Smoothing
* **Osc smoothing (`smoothLen`)**
EMA over the raw composite. Higher = steadier line (fewer whip flips); lower = faster turns.
---
## Tuning recipes
* **Trend-day bias (follow moves longer)**
* Raise **`upThresh`** to \~60 and **`dnThresh`** to \~−60
* Keep **`zNewMax`** low (1.0–1.2) to avoid “fresh trend” when stretched
* **`smoothLen`** 3–5 to reduce noise
* **Range-day bias (fade edges)**
* Keep thresholds closer (e.g., +50/−50) for quicker state changes
* Lower **`zHot`** slightly (1.6–1.7) to catch earlier exhaustion
* Consider slightly shorter TSI (e.g., 21/9/5) for faster EXH response
* **Scalping LTF (1–3m)**
* TSI 21/9/5, **`smoothLen`** 1–2
* Thresholds +/-50; **`zNewMax`** 1.0–1.2; **`zHot`** 1.6–1.8
* StrictNR **off** if you want earlier calls (accept more noise)
* **Swing / HTF (1h–D)**
* TSI 35/21/9, **`smoothLen`** 4–7
* Thresholds +/-60\~65; **`zNewMax`** 1.2; **`zHot`** 1.8–2.0
* StrictNR **on** for cleaner bias
---
## Playbooks (how to actually trade it)
* **Go/No-Go Filter**
* Only take **long entries** when the oscillator is **above the neutral band** (preferably ≥ `upThresh`).
* Only take **short entries** when **below** the neutral band (preferably ≤ `dnThresh`).
* Avoid fresh go-with entries if an **EXH** tag appears; let the next setup re-arm.
* **Trend Genesis**
* Treat **NEW↑ / NEW↓** as “green light” for **first pullback** entries in the new direction (ideally within acceptable |Z|).
* **Trend Maturity**
* When in a position and **EXH** prints **against** you, tighten stops, take partials, or lean on your exit tool to protect gains.
---
## Suggested starting points
* **Day trading (5–15m):**
* TSI 25/13/7, `smoothLen=3`, thresholds **+55 / −55**, `zNewMax = 1.2`, `zHot = 1.8`, **StrictNR = true**
* **Scalping (1–3m):**
* TSI 21/9/5, `smoothLen=1–2`, thresholds **+50 / −50**, `zNewMax = 1.1–1.2`, `zHot = 1.6–1.8`, **StrictNR = false** (optional)
* **Swing (1h–D):**
* TSI 35/21/9, `smoothLen=4–6`, thresholds **+60 / −60**, `zNewMax = 1.2`, `zHot = 1.9–2.0`, **StrictNR = true**
---
## Notes & best practices
* **Session anchoring**: Z-score is session-anchored (resets by trading date). If you trade outside standard sessions, verify your data session.
* **Instrument specificity**: Tune **`zHot`**, **`zNewMax`**, and thresholds per symbol and timeframe.
* **Bar-close discipline**: Evaluate tags at **bar close** to avoid intrabar flip-flop.
* This is a **context/confirmation tool**, not a broker or strategy. Combine with your entry/exit rules and position sizing.
---
**Tip:** Start with the suggested day-trading profile. Use this oscillator as your **gate** (only trade with it), let your entry engine time executions, and rely on your exit tool for standardized profit-taking.
Market Prediction Indicator - Nifty 50/Stocksthis indicator gives buy and sell signals for nifty and indian stocks
Position Sizing Tool (LEVELUP)Position Sizing Tool (LEVELUP) is a powerful tool for traders who want to precisely manage their risk and calculate the optimal position size for every trade. The indicator uses your defined dollar risk per trade, market-specific point value, and a swing high/low–based stop loss to help you make fast, informed decisions.
It is also an excellent tool for proptrader who are copytrading their account because with this tool you can multiply your contract amount with the amount of your accounts.
Features:
Automatic position size calculation based on defined $-risk per trade
Option to choose Long or Short direction
Swing high/low–based stop loss with automatic level updates
User-adjustable stop loss offset (in ticks)
Account Multiplier to calculate combined positions across multiple accounts
Graphical stop loss line that updates automatically
Clear visual label displaying:
Trade direction
Entry price
Stop loss level
Risk distance in points
Risk per contract
Contracts per account and total contracts
This tool is ideal for futures and CFD traders who want to speed up decision-making and eliminate calculation errors — especially in fast-moving markets where every second counts.
np finalremember: this is purely for educational/study purposes. always test any strategy thoroughly before considering real trading.
LTVW Simple Range (VWAP bands)Plots Anchored VWAP with ATR-based upper/lower bands, optional shading, and anchor markers for flexible period analysis.
Auto ETH Futures Buyer with Auto Fib made by govindthis is for crypto indicator and trade automatic and help you
Crypto Macro CockpitCrypto Macro Cockpit — Institutional Liquidity Regime Detection
🔍 Overview
This script introduces a modern macro framework for crypto market regime detection, leveraging newly added stablecoin market data on TradingView. It’s designed to guide traders through the evolving institutional era of crypto — where liquidity, not just price, is king.
🌐 Why This Matters
Historically, traditional proxies like M2 money supply or bond yields were referenced to infer macro liquidity shifts. But with the regulatory green light and institutional embrace of stablecoins, on-chain fiat liquidity is now directly observable.
Stablecoins = The new M2 for crypto.
This script utilizes real-time data from:
📊 CRYPTOCAP:STABLE.C (Total Stablecoin Market Cap)
📊 CRYPTOCAP:STABLE.C.D (Stablecoin Dominance)
to assess dry powder, risk appetite, and macro regime transitions.
📋 How to Read the Crypto Macro Cockpit
This dashboard updates every few bars and is organized into four actionable segments:
1️⃣ Macro Spreads
Metric --> Interpretation
Risk Flow --> Measures capital flow between stablecoins and total crypto market cap. → Green = risk deploying.
ETH vs BTC --> Shift in dominance between ETH and BTC → rotation gauge.
ETHBTC --> Price ratio movement → confirms leadership tilt.
ALTs (TOTAL3ES) --> Momentum in altcoin market, excluding BTC/ETH/stables → key for alt season timing.
2️⃣ Liquidity & Risk Appetite
Metric --> Interpretation
Liquidity --> Directional change in stablecoin cap → more stables = more dry powder.
Risk Appetite --> Inverse of stablecoin dominance → falling dominance = capital rotating into risk.
3️⃣ Stablecoin Context
Metric --> Interpretation
StableCap ROC --> Growth rate of stablecoin market cap → proxy for fiat inflows.
StableDom ROC --> Change in stablecoin dominance → reflects market caution or aggression.
4️⃣ Composite Labels
Label --> Interpretation
Rotation --> Sector tilt (BTC-led vs ETH/Alts)
Regime --> Synthesized macro environment → "Risk-ON", "Caution", "Waiting", or "Risk-OFF"
Background Color --> Optional tint reflecting regime for quick glance validation
All metrics are evaluated with directional arrows (▲/▼/•) and acceleration overlays, using user-defined thresholds scaled by timeframe for precision.
🔔 Built-in Alerts
Predefined, non-repainting alerts include:
Regime transitions
Sector rotations
Confirmed ETH/ALT rotations
Stablecoin market cap spikes
Risk Flow acceleration
You can use these alerts for discretionary trading or automated system triggers.
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Trading cryptocurrencies involves risk, and past performance does not guarantee future results. Always do your own research and manage risk responsibly.
✅ Ready to Use
No configuration needed — just load the script
Works on all timeframes (optimized for 1D)
Thresholds and smoothing are customizable
Table positioning and sizing is user-controlled
If you find this helpful, feel free to ⭐️ favorite or leave feedback. Questions welcome in the comments.
Let’s trade with macro awareness in this new era.