Major exchages total Open interest & Long/Short OI trends📊 Indicator: Major Exchanges Total OI & Long/Short Trends
This Pine Script™ indicator is designed to provide a comprehensive analysis of Open Interest (OI) and Long/Short position trends across major cryptocurrency exchanges (Binance, Bybit, OKX, Bitget, HTX, Deribit). It serves as a powerful tool for traders seeking to understand market liquidity, participant positioning, and overall market sentiment.
🔑 Key Features and Functionalities
Aggregated Multi-Exchange Open Interest (OI):
Consolidates real-time Open Interest data from user-selected major cryptocurrency exchanges.
Provides a unified view of the total OI, offering insights into the collective market liquidity and the aggregate size of participants' open positions.
Visualized Combined OI Candles:
Presents the aggregated total OI data in a candlestick chart format.
Displays the Open, High, Low, and Close of the combined OI, with color variations indicating increases or decreases from the previous period. This enables intuitive visualization of OI trend shifts.
Estimated Long/Short OI and Visualization:
Calculates and visualizes estimated Long and Short position Open Interest based on the total aggregated OI data.
Estimation Logic:
Employs a sophisticated logic that considers both price changes and OI fluctuations to infer the balance between Long and Short positions. For instance, an increase in both price and OI may suggest an accumulation of Long positions, while a price decrease coupled with an OI increase might indicate growing Short positions.
Initial 50:50 Ratio:
The estimation for Long/Short OI begins with an assumption of a 50:50 ratio at the initial data point available for the selected timeframe. This establishes a neutral baseline, from which subsequent price and OI changes drive the divergence and evolution of the estimated Long/Short balance.
Flexible Visualization Options:
Allows users to display Long/Short OI data in either line or candlestick styles, with customizable color schemes. This flexibility aids in clearly discerning bullish or bearish positioning trends.
💡 Development Background
The development of this indicator stems from the critical importance of Open Interest data in the cryptocurrency derivatives market. Recognizing the limitations of analyzing individual exchange OI in isolation, the primary objective was to integrate data from leading exchanges to offer a holistic perspective on market sentiment and overall positioning dynamics.
The inclusion of the Long/Short position estimation feature is crucial for deciphering the specific directional biases of market participants, which is often not evident from raw OI data alone. This enables a deeper understanding of how positions are being accumulated or liquidated, moving beyond simple OI change analysis.
Furthermore, a key design consideration was to leverage the characteristic where the indicator's data start point dynamically adjusts with the chart's timeframe selection. This allows for the analysis of short-term Long/Short trends on shorter timeframes and long-term trends on longer timeframes. This inherent flexibility empowers traders to conduct analyses across various time scales, aligning with their diverse trading strategies.
🚀 Trading Applications
Leveraging Combined Open Interest (OI):
Trend Confirmation: A sustained increase in total OI signifies growing market interest and capital inflow, potentially confirming the strength of an existing trend. Conversely, decreasing OI may suggest diminishing participant interest or widespread position liquidation.
Validation of Price Extremes: If price forms a new high but OI fails to increase or declines, it could signal a potential trend reversal (divergence). Conversely, a sharp increase in OI during a price decline might indicate a surge in short positions or renewed selling pressure.
Identifying Volatility Triggers: Monitoring rapid shifts in OI during significant news events or market catalysts can help assess immediate market reactions and liquidity changes.
📈Utilizing Long/Short OI Trends
Assessing Market Bias: A sustained dominance or rapid increase in Long OI suggests a prevalent bullish sentiment, which could inform decisions to enter or maintain long positions. The inverse scenario indicates bearish sentiment and potential short entry opportunities.
Anticipating Squeezes: The indicator can help identify scenarios conducive to short or long squeezes. Excessive short positioning followed by a price uptick can trigger a short squeeze, leading to rapid price appreciation. Conversely, an oversupply of long positions preceding a price drop can result in a long squeeze and sharp declines.
Divergence Analysis: Divergences between price action and Long/Short OI estimates can signal potential trend reversals. For example, if price is rising but the increase in Long OI slows down or Short OI begins to grow, it may suggest weakening buying pressure.
🕔Timeframe-Specific Trend Analysis:
Shorter Timeframes (e.g., 1m, 5m, 15m): Ideal for identifying short-term shifts in participant positioning, beneficial for day trading and scalping strategies. Provides insights into immediate market reactions to price movements.
Longer Timeframes (e.g., 1h, 4h, Daily): Valuable for evaluating broader positioning trends and the sustainability or potential reversal of medium-to-long-term trends. Offers a macro perspective on Long/Short dynamics, suitable for swing trading or long-term investment strategies.
This indicator integrates complex market data, provides nuanced Long/Short position estimations, and offers multi-timeframe analytical capabilities, empowering traders to make more informed and strategic decisions.
图表形态
🧠 Quantum Regime Shift Detector v4.0 — Enhanced Edition🧠 Quantum Regime Shift Detector v4.0 — Enhanced Edition
Overview:
A cutting-edge, AI-weighted market-regime detector that dynamically tracks volatility, trend, and momentum to pinpoint transitions 🟥, stability 🟩, and uncertainty 🟨 in real time.
📊 Dashboard Interpretation
🟩 Stable: Low volatility — range or accumulation phase → great for steady entries or breakouts.
🟥 Transition: High volatility — regime shift → trend changes / explosive moves likely.
🟨 Uncertain: Neutral zone → patience and tight risk control advised.
💡 Key Features
⚙️ Probability Gauge → quantifies shift likelihood (> 70 % = high confidence)
📈 Flow Bias → shows bullish / bearish directional pressure
🔄 Divergence Alerts → Bull / Bear signals anticipate reversals
🧭 S/R Zones → adaptive pivot-based support & resistance
⏫ MTF Analysis → confirm alignment with higher timeframes
🎯 Trading Applications
✅ Enter during 🟩 stable regimes with confirmed bias direction.
⚠️ Trim or hedge when 🟥 transition appears.
🔃 Use divergence alerts for reversal timing and confirmation.
🧩 Customization
🔧 Tune Feature Weights (volatility / trend / momentum)
🧮 Enable Auto Thresholds for adaptive sensitivity
⏱️ Set Confirmation Bars to filter noise
🌐 Toggle MTF Mode for multi-timeframe synergy
📘 Best Practice:
Use on liquid assets (≥ 15 min TF). Combine with price action, VWAP, and volume profiling for the clearest market DNA signals.
✨ Character count: ≈ 1,470 (TradingView limit safe)
Multi-EMA Session Breakout Strategythis is a strategy that use the session high and low and the EMA LOWS 2 3 6 9 110 355 AND 480
Descending Scallop TargetThis is an indicator that attempts to identify the target point of descending scallops according to Thomas Bulkowski's "The Pattern Site".
Work in progress...
Soothing Trades – TrendWhat it shows
Two adaptive trend lines built from bar OHLC with ATR-based rails and an MFI-gated regime switch:
Short-term Trend — a stair-style line that “locks” in the current regime.
• If bullish (MFI ≥ 55), it tracks a rising floor based on low − ATR × Multiplier.
• If bearish (MFI ≤ 45), it tracks a falling ceiling based on high + ATR × Multiplier.
• Slope color: rising = Bull Color, falling = Bear Color.
• Optional Band Fill shows a second line offset by N bars with a shaded band.
Long-term Trend — same logic with fixed parameters (Coeff 12, Period 24) and fully customizable style (line, breaks, step, circles, columns, histogram).
How to use
Choose Visualization: single slope-colored line or two-line band with fill.
Tune Multiplier and Common Period to your symbol/timeframe’s volatility.
Use the Long-term line as a higher-order filter (e.g., trade in its direction) and the Short-term line for timing/structure.
Signals are informational; confirm with your own process (price action, volume, levels, etc.).
House-Rules & transparency
This script uses bar data only (OHLC, ATR, MFI). It does not access or claim historical tick data.
Values update intrabar; final states are determined at bar close.
No promises of performance or future results. Educational use only.
Notes
MFI thresholds (55/45) form a simple state machine; feel free to test alternative gates for your market.
The band option is visual—signals do not depend on the fil
XenoSmooth Predictive Candles - Advanced Heikin Ashi CandlesXenoSmooth Predictive Candles
Summary in one paragraph
A synthetic candle engine for crypto, FX, equities, and futures on intraday to swing timeframes. It reduces noise and flip delay so structure is easier to read. The core novelty is a predictive open with inertia plus slope lead fused with a zero lag body filter and an overshoot based wick model normalized by the real range and capped by ATR. Add it to a clean chart, hide regular candles if desired, and tune lengths. Shapes can move while the bar is open and settle on close. For conservative workflows read on bar close.
Scope and intent
• Markets. Major FX pairs, index futures, large cap equities, liquid crypto
• Timeframes. One minute to daily
• Purpose. Faster and smoother visual structure than Heikin Ashi while keeping causality and realistic wicks
Originality and usefulness
• Unique concept. Predictive open with inertia and slope lead plus selectable zero lag body filter and ATR capped wick overshoot in percent of real range
• Failure mode addressed. Late flips in chop and unreal long wicks from raw extremes
• Testability. Every control is an input. Users can toggle body method, lengths, clipping, and percent modeling
• Portable yardstick. ATR based wick cap and percent of bar range scale across symbols
Method overview in plain language
Build a robust base price from O, H, L, and extra weight on Close. Smooth it with a chosen filter to produce the synthetic close. Drive a predictive open that follows the synthetic close with tunable inertia and a small lead from the last bar slope. Model wicks as the portion of the real extremes that extends beyond the synthetic body, smooth that overshoot, normalize by the bar range if selected, then cap by ATR to avoid tail spikes. Clamp synthetic values to the real high and low if enabled.
Base measures
• Range basis. True Range for the ATR cap and High minus Low for percent normalization
• Return basis. Not used
Components
• Body Base Blend. Weighted O H L with a close bias to stabilize the base
• Zero Lag Body Filter. ZLEMA or Super Smoother or WMA to set the synthetic close
• Predictive Open. Inertial follow of the synthetic close plus a slope lead term
• Wick Overshoot Model. Smoothed extension beyond the body, optional percent of real range, ATR cap
• Clamp Option. Keeps synthetic open and close inside the real bar range
Fusion rule
• Synthetic close equals filtered base
• Synthetic open equals previous open plus inertia times distance to synthetic close plus slope lead
• Wicks equal smoothed overshoot above and below the body, optionally percent of range then converted back to price and capped by ATR
Inputs with guidance
Setup
• Signal timeframe. Uses the chart timeframe
• Invert direction. Not applicable
• Session windows. Not applicable
Logic
• Body length. Core smoothing length for the synthetic close. Typical 6 to 14. Higher gives smoother and slower. Lower gives faster flips
• Body method. ZLEMA or Super Smoother or WMA. ZLEMA is fastest. Super Smoother is calmest
• Close weight in base. 0 to 1. Higher gives stronger emphasis on close and less noise
• Open inertia. 0 to 1. Higher makes the open follow the close more tightly
• Lead gain. 0 to 1. Higher adds more phase lead. Keep modest to avoid overshoot
• Clamp body to real range. On keeps synthetic body inside high and low
• Wick smooth length. Typical 4 to 10. Higher reduces jitter
• Overshoot as percent. On stabilizes wicks across regimes
• ATR length. Typical 10 to 20 for the cap
• Max wick equals ATR times. 0 disables. 1.0 to 2.0 contains extreme tails
Filters
• Efficiency or trend filter. Not used
• Micro versus macro range relation. Not used
• Location filter. Not used
Realism and responsible publication
• No performance claims
• Intrabar motion reminder. Shapes can move while a bar forms and settle on close
• Strategies must use standard candles for signals and orders
Honest limitations and failure modes
• High impact releases and thin liquidity can distort wicks and produce gaps that any smoother cannot predict
• Very quiet regimes can reduce contrast. Consider longer body length
• Session time on the chart controls the definition of each bar
MACD crossover while RSI Oversold/Overbought# MACD Crossover with RSI Overbought/Oversold Indicator Explained
## Indicator Overview
This is a trading signal system that combines two classic technical indicators: **MACD (Moving Average Convergence Divergence)** and **RSI (Relative Strength Index)**. Its core logic is: MACD crossover signals are only triggered when RSI is in extreme zones (overbought/oversold), thereby filtering out many false signals and improving trading accuracy.
## Core Principles
### 1. **Dual Confirmation Mechanism**
This indicator doesn't use MACD or RSI alone, but requires both conditions to be met simultaneously:
- **Short Signal (Orange Triangle)**: MACD bearish crossover (fast line crosses below signal line) + RSI was overbought (≥71)
- **Long Signal (Green Triangle)**: MACD bullish crossover (fast line crosses above signal line) + RSI was oversold (≤29)
### 2. **RSI Memory Function**
The indicator checks the RSI values of the current and past 5 candlesticks. As long as any one of them reaches the overbought/oversold level, the condition is satisfied. This design avoids overly strict requirements, as RSI may have already left the extreme zone before the MACD crossover occurs.
```pine
wasOversold = rsi <= 29 or rsi <= 29 or ... or rsi <= 29
wasOverbought = rsi >= 71 or rsi >= 71 or ... or rsi >= 71
```
## Parameter Settings
### MACD Parameters
- **Fast MA**: 12 periods (adjustable 7-∞)
- **Slow MA**: 26 periods (adjustable 7-∞)
- **Signal Line**: 9 periods
### RSI Parameters
- **Oversold Threshold**: 29 (traditional 30)
- **Overbought Threshold**: 71 (traditional 70)
- **Calculation Period**: 14
## Visual Elements
### 1. **Signal Markers**
- 🔻 **Orange Downward Triangle**: Appears above the candlestick, labeled "overbought", indicating a shorting opportunity
- 🔺 **Green Upward Triangle**: Appears below the candlestick, labeled "oversold", indicating a long opportunity
### 2. **Price Level Lines**
- **Orange Dashed Line**: Extends rightward from the high of the short signal, serving as a potential resistance level
- **Green Dashed Line**: Extends rightward from the low of the long signal, serving as a potential support level
Each time a new signal appears, the old level line is deleted, keeping only the most recent reference line.
## Trading Logic Explained
### Short Signal Scenario
1. Price rises, RSI surges above 71 (market overheated)
2. Momentum subsequently weakens, MACD fast line crosses below signal line
3. Indicator draws an orange triangle at the high, alerting to reversal risk
4. Orange dashed line marks the high point of the short entry position
### Long Signal Scenario
1. Price falls, RSI drops below 29 (market oversold)
2. Selling pressure exhausted, MACD fast line crosses above signal line
3. Indicator draws a green triangle at the low, suggesting a rebound opportunity
4. Green dashed line marks the low point of the long entry position
## Advantages and Limitations
### ✅ Advantages
- **Filters Noise**: Reduces false signals through dual confirmation
- **Captures Reversals**: Catches trend reversals in extreme conditions
- **Visual Clarity**: Level lines help identify support/resistance
- **Built-in Alerts**: Can set up message push notifications
### ⚠️ Limitations
- **Lag**: Both indicators are lagging, signals may be delayed
- **Poor Performance in Ranging Markets**: Prone to whipsaws during consolidation
- **Needs Other Analysis**: Should not be the sole decision-making basis
- **Parameter Sensitivity**: Different markets and timeframes may require parameter adjustments
## Practical Trading Suggestions
1. **Confirm Trend Context**: Counter-trend signals carry high risk in strong trending markets
2. **Combine with Candlestick Patterns**: Confirm with patterns (such as engulfing, hammer candles)
3. **Set Stop Losses**: Use level lines as stop-loss references (long stop below green line, short stop above orange line)
4. **Watch Volume**: Signals accompanied by high volume are more reliable
5. **Multi-Timeframe Verification**: Signals appearing simultaneously on daily and 4-hour charts are more credible
## Summary
This indicator follows the "mean reversion from extremes" philosophy, seeking reversal opportunities when market sentiment becomes excessive. It's suitable for auxiliary judgment, particularly in swing trading and position trading strategies. But remember, no indicator is perfect—always combine risk management and multi-dimensional analysis when making trading decisions
MA-boll short term tradingThis is a very accurate short-term buy/sell point that I have derived from my many years of experience in short-term trading.
Mother & Baby — Nifty 5m (Bull/Bear)The Mother & Baby — Nifty 5m (Bull/Bear) indicator automatically detects two-bar inside-bar patterns, where the second (child) candle is completely within the previous (mother) candle. It highlights potential bullish or bearish setups using boxes, labels, and alerts. Includes optional ATR filtering, high/low guide lines, and customizable visuals for clear pattern recognition. Designed for educational and analytical use only — not financial advice.
Trendline Detector - 3 TimeframesThis advanced Pine Script indicator automatically identifies and draws diagonal support and resistance trendlines across three customizable timeframes simultaneously.
Key Features:
Multi-Timeframe Analysis: Configure three independent sets (A, B, C) to analyze different timeframes on a single chart
Smart Pivot Detection: Identifies local minimums and maximums based on open/close prices rather than wicks, reducing false signals from volatile candle shadows
Automatic Trendline Drawing: Calculates ascending support lines from pivot lows and descending resistance lines from pivot highs
Touch Validation: Only displays trendlines that meet your minimum touch requirements, ensuring statistical significance
Customizable Parameters: Full control over lookback period, pivot window size, deviation tolerance, and minimum touches for each timeframe
Visual Pivot Markers: Optional display of all detected pivot points with color-coded arrows (green for lows, red for highs)
Extended Lines: All valid trendlines extend to the right for forward projection
How It Works:
The indicator scans historical bars within your specified lookback period to identify pivot points. It then evaluates all possible trendline combinations, counting how many price points touch each potential line within your deviation tolerance. The trendline with the most touches (meeting your minimum requirement) is displayed.
Parameter Breakdown:
Each set (A, B, C) includes five critical parameters:
Timeframe: The chart timeframe for analysis (e.g., "1" for 1-minute, "15" for 15-minute, "1D" for daily)
Lookback Bars: How many historical bars to scan for pivot points (default: 250). Higher values capture longer-term trends but may increase computation time.
Min Touches: Minimum number of price touches required for a trendline to be considered valid (default: 3). Higher values ensure stronger, more reliable trendlines but may filter out emerging trends.
Deviation %: Percentage tolerance for what constitutes a "touch" (default: 0.1-1.0%). A 0.5% deviation means prices within 0.5% of the theoretical trendline are counted as touches. Lower values create stricter trendlines; higher values are more forgiving.
Pivot Window: Number of bars on each side used to identify local highs/lows (default: 5). A pivot window of 5 means the center bar must be the highest/lowest among 11 bars total (5 left + center + 5 right). Larger values identify more significant pivots but may miss shorter-term turning points.
Display Options:
Show Min/Max Points: Toggle visibility of pivot point markers to see exactly which price levels the algorithm identified as potential trendline anchors.
Perfect For:
Swing traders looking for multi-timeframe confluence zones
Technical analysts who rely on diagonal support/resistance levels
Traders who want automated trendline detection without manual drawing
Anyone seeking to identify trend channels and breakout opportunities
Color Coding:
Support lines are displayed in green with varying transparency, while resistance lines appear in red. Each timeframe set can be independently enabled/disabled based on which chart timeframe you're currently viewing, preventing clutter and maintaining clarity.
Technical Notes:
The indicator uses efficient algorithms to process large datasets while maintaining accuracy. It avoids repainting by only considering confirmed pivot points. The algorithm prioritizes trendlines with more touches and, in case of ties, favors more recent formations with steeper angles for maximum relevance.
Candle Color & Time Filter + Flexible Price Triggeran indicator inspsired by a friend trader, it will tell you when a candle changes color, during the time window you like, and to the threshold you prefer respect to the previous candle
Choppy Lights by Stay ToxicMACD Angle Fluidity Index (MACD-AFI)
This proprietary indicator measures the stability and fluidity of momentum by analyzing the acceleration (or rate of change) of the MACD's Diff Line (Histogram). It is a non-lagging confirmation tool designed to help traders quickly identify market conditions suitable for directional trades (Green) versus those that are chaotic or trendless (Red). The score is normalized from 0 (Most Stable Angle) to 100 (Most Abrupt Angle Change).
How It Works
The indicator uses a robust background coloring system based on the calculated momentum angle change:
Angle Change Score (0-100): A custom formula calculates the difference between the current angle (slope) of the MACD Diff line and its previous angle. This "Angle Change" is then scaled from 0 to 100 based on the highest recent volatility observed, giving you a consistent fluidity reading.
Constancy Filter: A user-defined Constancy Period prevents flickering. The background color will only change if the calculated condition has been sustained for the specified number of bars.
Visual Alerts: The colors reflect your trading risk tolerance:
🟢 GREEN (Trade): Low Score (0 to Max Green). HIGH FLUIDITY. Angle is very stable. Momentum is smooth and predictable. Ideal conditions for trading.
🟡 YELLOW (Beware): Mid Score. MODERATE RISK. Angle is changing slightly. Momentum is slowing or uncertain. Exercise caution.
🔴 RED (Stay Out): High Score (Above Max Yellow). LOW FLUIDITY. Angle is abrupt (high volatility). Suggests chaotic action, whipsaws, or potential reversals. Avoid entering trades.
Customizable Inputs
The indicator provides complete control for calibration:
MACD & Angle Sensitivity: Adjust the standard MACD lengths, plus the Pente Period (for angle calculation smoothing) and Normalization Period (for setting the 0-100 scale).
Thresholds: Precise control over Max Green and Max Yellow values to define your trading zones.
Time Filter: The Constancy Period ensures changes are confirmed over a defined number of bars.
Visuals: Separate controls for color and global opacity.
VWAP Diario + VWAP 08:00-12:00 ventanas NYWhat it plots
Daily VWAP (main line)
Anchored to the current trading day and only visible between 19:00 and 16:50 New York (UTC-5) to prevent any “ghost” segments.
Dynamic color: turns green when price closes above (bullish bias) and red when price closes below (bearish bias).
Optional standard-deviation/percentage bands (off by default).
08:00–12:00 VWAP (morning line)
Resets at 08:00 NY and shows until 12:00 NY only.
Acts as a morning value guide for early direction and pullbacks.
Clean rendering: Both lines use strict time masks and line breaks, so nothing is drawn outside their windows. You can toggle either line on/off.
How to Read It
Daily VWAP ≈ “fair value” of the whole session; use it for directional bias and confluence.
08:00–12:00 VWAP ≈ “fair value” of the morning; helps refine entries during the open.
Alignment:
Bullish environment: price and 08–12 VWAP sit above the Daily VWAP.
Rotation/mixed: price oscillates between the two lines.
Bearish: price and 08–12 VWAP sit below the Daily VWAP.
Two Mechanical Playbooks
Recommended charts: 1-minute for entries, 5-minute for context on NQ/Nasdaq100.
Primary execution window: 09:30–12:00 NY.
A) Trend Play (Break → Pullback to VWAP)
Goal: Join the day’s impulse with value confirmation.
Rules
Bias filter before 09:30
Bullish: 08–12 VWAP ≥ Daily VWAP; Bearish: 08–12 ≤ Daily.
First push 09:30–09:45 breaks the initial range high (bull) or low (bear).
Entry (pullback into confluence)
Wait for a pullback that tags/wicks the 08–12 VWAP or the Daily VWAP in the direction of bias.
Go long on bullish rejection (close back above); short on bearish rejection.
Stop-loss
Beyond the rejection wick or the touched VWAP (e.g., 1–1.5× ATR(1m/5m)).
Take-profit
TP1 = 1R (scale 50%); TP2 = 2–3R or day extremes (HOD/LOD).
If bands are on, consider exiting on a clean tag of the opposite band.
Management
Move to breakeven at 1R; exit early if price reclaims the opposite side of Daily VWAP.
Avoid when the morning is choppy and price sits glued between the two VWAPs.
B) Mean-Reversion Play (Controlled Reversal at Daily VWAP)
Goal: Capture a return to value after an overstretch and a clean rejection.
Rules
Stretch condition
Fast move away from Daily VWAP (3–5 bars) or beyond Band #1/#2 if enabled.
Rejection signal at Daily VWAP
A bar that touches Daily VWAP and closes back on the opposite side (pin/engulfing/strong close).
Entry
Long if a selloff rejects above Daily VWAP.
Short if a rally rejects below Daily VWAP.
Stop-loss
Just beyond the rejection wick or ~1× ATR(1m).
Take-profit
TP1 = 1R or the 08–12 VWAP; TP2 = 2–3R or a prior consolidation.
Management
If price crosses and holds on the other side of Daily VWAP (2 closes), cut the idea.
Avoid during high-impact news or when the session is strongly trending (prefer Play A).
Quality Filters
Volatility: Ensure ATR(14, 1m) or the 09:30–09:45 range exceeds your minimum.
Spread/liquidity: Skip abnormal spreads at the open.
News: If a red-level release is imminent, wait 2–3 bars after the print.
Coherence: Prefer trades when 08–12 and Daily VWAP don’t conflict.
Risk & Trade Management
Risk per trade: 0.25%–0.5% account risk.
Daily cap: 2–3 trades; stop for the day at –1R to –1.5R.
No over-reentry: Don’t chase if price is sitting exactly on a VWAP; wait for separation.
Log your metrics: setup type (A/B), confluences, distance to VWAP at trigger, time, R multiple.
Quick Pre-Trade Checklist
Bias aligned? (price vs Daily and 08–12 VWAP)
Choose Trend or Mean-Reversion play
Clear confluence at the VWAP line?
Realistic stop (≤ ~1.5× ATR 1m)?
Any imminent news?
TP plan: TP1 = 1R → BE, TP2 = 2–3R.
Moving Average Ribbon (10x, per-MA timeframe)A flexible moving‑average ribbon that plots up to 10 MAs, each with its own type, length, source, color, and independent timeframe selector for true multi‑timeframe analysis without repainting on higher‑timeframe pulls.
What it does
Plots ten moving averages with selectable types: SMA, EMA, SMMA (RMA), WMA, and VWMA.
Allows per‑line timeframe inputs (e.g., 5, 15, 60, 1D, 1W) so you can overlay higher‑ or equal‑timeframe MAs on the current chart.
Uses a non‑repainting request pattern for higher‑timeframe series to keep lines stable in realtime.
How to use
Leave a TF field blank to keep that MA on the chart’s timeframe; type a timeframe (like 15 or 1D) to fetch it from another timeframe.
Typical trend‑following setup: fast MAs (10–21) on chart TF, mid/slow MAs (34–200) from higher TFs for bias and dynamic support/resistance.
Color‑code faster vs slower lines and optionally hide lines you don’t need to reduce clutter.
Best practices
Prefer pulling equal or higher timeframes for stability; mixing lower TFs into a higher‑TF chart can create choppy visuals.
Combine with price action and volume/volatility tools (e.g., RSI, Bollinger Bands) for confirmation rather than standalone signals.
Showcase example charts in your publish post and explain default settings so users know how to interpret the ribbon.
Inputs
Show/Hide per MA, Type (SMA/EMA/SMMA/WMA/VWMA), Source, Length, Color, Timeframe.
Defaults cover common lengths (10/20/50/100/200 etc.) and can be customized to fit intraday or swing styles.
Limitations
This is an analysis overlay, not a signal generator; it doesn’t place trades or alerts by default.
Effectiveness depends on instrument liquidity and user configuration; avoid overfitting to one market or regime.
Attribution and etiquette
Provide a brief explanation of your calculation choices and note that MA formulas are standard; credit any borrowed concepts or snippets if used.
Strict Engulfing + Rich Email Alerts (v6, stable)an engulfing pattern indicator designed to alert whenever the pattern forms in the chart. this is killer pattern when used together with market structure. not final version though
3s vs 10s Up/Down//@version=5
indicator("3s vs 10s Up/Down", overlay=true, scale=scale.none)
three_sec_diff = close - request.security(syminfo.tickerid, "3S", close )
ten_sec_diff = close - request.security(syminfo.tickerid, "10S", close )
faster_up = three_sec_diff > ten_sec_diff
faster_down = three_sec_diff < ten_sec_diff
col = faster_up ? color.green : faster_down ? color.red : color.gray
// Plot a shape at the top of each bar
plotshape(series=true, location=location.top, color=col, style=shape.circle, size=size.large, title="Speed Tick Light")
// Optional: only display on the last bar for dashboard style light
show_light = barstate.islast
plotshape(series=show_light, location=location.top, color=col, style=shape.circle, size=size.huge, title="Current Tick Light")
Multi-EMA Strategy (Low Source)this strategy use the ema low for its functionality 8 9 110 355 and 480
Trend Bars with Counter Table# TradingView Trend Bar Indicator Explained
## Indicator Overview
This is a TradingView indicator designed to identify and count **Trend Bars**. It not only visually marks strong bullish and bearish bars on the chart but also displays a data table in the upper right corner that tracks the distribution of trend bars across different periods, helping traders quickly assess market bias.
## Core Concept: What is a Trend Bar?
The indicator defines two types of trend bars:
### Bull Trend Bar
- **Condition**: Close > Open (bullish candle)
- **Strength Requirement**: Body size ≥ 75% of total candle range
```
Body Length = |Close - Open|
Total Candle Range = High - Low
Criteria: Body Length ≥ 0.75 × Total Candle Range
```
This means both upper and lower wicks are very short, representing a very strong bullish candle.
### Bear Trend Bar
- **Condition**: Close < Open (bearish candle)
- **Strength Requirement**: Body size ≥ 75% of total candle range
Similarly, this represents a strong bearish candle with minimal wicks and a full body.
## Visual Markers
The indicator marks qualifying candles with:
- **Green upward arrow**: Bull trend bar, appears below the candle
- **Red downward arrow**: Bear trend bar, appears above the candle
## Statistical Function
The indicator uses a **rolling array** (storing up to 1000 trend bars) to track historical data, then counts trend bar distribution across 5 different periods:
| Period | Statistical Range |
|--------|------------------|
| Group 1 | Last 7 trend bars |
| Group 2 | Last 15 trend bars |
| Group 3 | Last 21 trend bars |
| Group 4 | Last 29 trend bars |
| Group 5 | Last 35 trend bars |
**Note**: This counts "the last N trend bars," not "the last N candles." Only candles meeting the trend bar criteria are included.
## Data Table Interpretation
The table in the upper right corner contains 5 columns:
1. **Last N**: The set statistical range (7, 15, 21, 29, 35)
2. **Total**: Actual number of trend bars counted (may be less than target initially)
3. **Bull**: Number of bull trend bars (displayed in green)
4. **Bear**: Number of bear trend bars (displayed in red)
5. **Bias**: Market bias
- "bull" (green): More bull trend bars
- "bear" (red): More bear trend bars
## Practical Applications
### 1. Assess Short-term Momentum
Check the distribution of the last 7 trend bars. If bull trend bars dominate (e.g., 5:2), it indicates strong short-term buying pressure.
### 2. Identify Trend Strength
If multiple periods show the same Bias direction, the trend is very clear. For example, all 5 periods showing "bull" is a strong upward signal.
### 3. Spot Trend Reversals
When short-term bias (7 bars) opposes long-term bias (35 bars), it may signal a trend change in progress.
### 4. Combine with Other Indicators
Use this indicator alongside moving averages, support/resistance levels, and other tools to improve trading decision accuracy.
## Technical Highlights
- **Dynamic Array Management**: Uses `array.unshift()` to add new data at the array's beginning, ensuring the latest trend bars are always first
- **Efficient Statistics**: Quickly calculates bull/bear distribution through loop iteration over specified array ranges
- **Adaptive Display**: Shows actual available count when historical data is insufficient
- **Real-time Updates**: Only updates the table on the last bar to avoid unnecessary calculations
## Conclusion
The core value of this indicator lies in **quantifying price action**. By identifying strong candles with full bodies and clear direction, then tracking their distribution, traders can quickly grasp the balance of market forces and make more informed trading decisions. Whether for intraday trading or swing trading, this tool provides valuable reference information.
4/8/15 EMA + Classic & Camarilla PivotsEssentially this is what you can get on TOS but everything included in one chart.
4/8/15 EMA Overlaya simple script to overlay your 4/8/15. If it clears the 8, it usually will raise. If it stays entangled with the 4/8, it rarely breaks above.
Low Volume Detector//@version=5
indicator("Low Volume Detector", overlay=true)
// Parameters
length = input.int(20, title="Volume MA Length")
threshold = input.float(0.5, title="Low Volume Threshold (as % of MA)", minval=0.1, step=0.1)
// Volume logic
vol = volume
volMA = ta.sma(vol, length)
lowVol = vol < (volMA * threshold)
// Plot background when volume is low
bgcolor(lowVol ? color.new(color.red, 85) : na, title="Low Volume Background")
// Optional: plot volume and its MA in separate pane
plot(vol, title="Volume", color=color.gray, style=plot.style_columns)
plot(volMA, title="Volume MA", color=color.orange)






















