Trappp's Advanced Multi-Timeframe Trading ToolkitThis comprehensive trading script by Trappp provides a complete market analysis framework with multiple timeframe support and resistance levels. The indicator features:
Key Levels:
· Monthly (light blue dashed) and Weekly (gold dashed) levels for long-term context
· Previous day high/low (yellow) with range display
· Pivot-based support/resistance (pink dashed)
· Premarket levels (blue) for pre-market activity
Intraday Levels:
· 1-minute opening candle (red)
· 5-minute (white), 15-minute (green), and 30-minute (purple) session levels
· All intraday levels extend right throughout the trading day
Technical Features:
· EMA 50/200 cross detection with alert labels
· Candlestick pattern recognition near key levels
· Smart proximity detection using ATR
· Automatic daily/weekly/monthly updates
Trappp's script is designed for traders who need immediate visual reference of critical price levels across multiple timeframes, helping identify potential breakouts, reversals, and pattern-based setups with clear, color-coded visuals for quick decision-making.
Chỉ báo và chiến lược
Market Potential EstimatorWhat this indicator shows
This indicator measures how much potential movement the market still has, not direction.
It answers the question:
“Does the market still have room to move, or is it already exhausted?”
Red zone (Low potential)
Exhaustion / slowdown zone.
The market has used most of its available range.
Expect:
consolidation
pullbacks
reduced follow-through
⚠️ Red does NOT mean reversal
How to use it correctly
Use it as a filter, not a trigger
Avoid opening new trades in red zones
Reduce targets when potential is low
Combine with:
direction/bias
momentum
structure
EURUSD | Yield Curve Flip Strategy (2s10s State Flips)Strategy Core (Concept)
The strategy trades EURUSD exclusively when the US yield curve regime (2Y/10Y) flips into a new, clearly bullish or bearish regime. The core assumption is that re-pricing in the US yield curve (rather than individual data points) is a robust driver of USD strength or weakness and can act as a structural trigger for trend changes.
⸻
Data Basis
• Uses US 2Y Yield (TVC:US02Y) and US 10Y Yield (TVC:US10Y).
• The 2s10s curve is calculated as:
curveUS = US10Y – US2Y
• Regime assessment is based on the N-day change (default: 5 days), calculated on true rates bars (not intraday noise).
⸻
Regime Detection (Correct Bond Logic)
First, the strategy checks whether the curve has significantly steepened or flattened over the lookback period:
• Steepener if Δ(2s10s) > thrCurve (default: +0.10 percentage points = 10 bp)
• Flattener if Δ(2s10s) < −thrCurve
Next, a leg confirmation determines the specific type of steepener/flattener (default thrLeg = 5 bp):
Bull Steepener
• Curve steepens because yields fall, with the 2Y falling more (risk-off / rate-cut pricing)
Bear Steepener
• Curve steepens because yields rise, with the 10Y rising more (reflation / term-premium move)
Bull Flattener
• Curve flattens because yields fall, with the 10Y falling more (growth shock / long-end rally)
Bear Flattener
• Curve flattens because yields rise, with the 2Y rising more (hawkish repricing / front-end up)
Important: By default, a Bear Steepener is not treated as a bearish signal, unless allowBearSteepForShort is enabled.
⸻
State Machine (Memory + Flip Triggers)
The strategy maintains a persistent state variable curveState:
• +1 = bullish
• −1 = bearish
• 0 = neutral
The state is updated only on a new rates bar (daily rates when tfRates = "D"), avoiding intraday noise.
A trade is generated only on a true regime flip:
• flipToBull: new state turns bullish and the previous state was bearish (or neutral, if allowed)
• flipToBear: new state turns bearish and the previous state was bullish (or neutral, if allowed)
The option enterFromNeutral controls whether the first clear regime emerging from neutral is traded.
The option onlyOnNewRatesBar ensures signals occur only when a new rates bar is printed, providing clean timing.
⸻
Trading Rules (Entry / Exit)
There are no stops, targets, or trailing mechanisms. The strategy is a pure regime-switching / reversal system:
• On flipToBull
• Close short (“S”)
• Open long (“L”)
• On flipToBear
• Close long (“L”)
• Open short (“S”)
Positions are therefore held until the next regime flip.
⸻
Parameter Interpretation
• N: Smoothing / inertia. Smaller = faster but noisier; larger = more stable but later.
• thrCurve: Minimum curve move required to define a regime.
• thrLeg: Minimum move of the confirming leg (2Y or 10Y) to reduce misclassification.
• allowBearSteepForShort: Makes the system more aggressive (more bearish signals), but represents a different macro case.
• enterFromNeutral: Increases trade frequency by trading the first regime impulse.
⸻
What You See on the Chart
• Background shading:
• Green for bullish state
• Red for bearish state
• The curve and Δ-curve are plotted but hidden (display=none), mainly for debugging and analysis.
Tamil, Buy/Sell Signal for Day Trade and Swing TradeTamil – Buy/Sell Signal for Day Trade and Swing Trade is a price-action style indicator that prints Long and Short signals and automatically projects a full trade plan on the chart: Entry (EP), Stop-Loss (SL), and up to 5 Take-Profit levels (TP1–TP5).
It combines multiple momentum/overextension filters (Keltner Channel bands, CCI, ROC, RSI, Parabolic SAR, and Balance of Power) to detect oversold dips for longs and overbought spikes for shorts. When a signal triggers, the script:
• Draws a signal label showing EP/SL/TP1–TP5 values.
• Plots step lines for EP, SL, and TP levels so you can manage the trade visually.
• Marks TP hits and Stop hits with shapes + background highlights.
• Includes a 200-length DEMA plot for higher-timeframe trend context (optional visual filter).
How signals work (high level):
• Long Signal: price pushes below a deeper Keltner lower band (mean-reversion setup) + bearish momentum extremes (CCI/BOP/ROC) with SAR/median conditions confirming a dip setup.
• Short Signal: price pushes into upper Keltner expansion + bullish momentum extremes (CCI/RSI/ROC) with SAR/median conditions confirming a spike setup.
Best use: intraday scalps or swing entries where you want clear, pre-defined levels for scaling out (TP1→TP5) and strict risk control (SL).
Note: This is an indicator (not a strategy backtest). Always validate on your instrument/timeframe and use risk management
ICT FVG + BPR + Liquidity StrategyICT-Based Strategy combining:
• 4H Fair Value Gaps (FVG) for directional bias
• Balanced Price Range (BPR) zones for entry refinement
• PDH/PDL liquidity sweeps for confirmation
• Daily swing high/low structure
• London session time windows (07:45-11:45 & 14:00-14:45 GMT)
• High-volume liquidity zone detection
• Trailing stops at 1R increments
Features:
✓ 15+ years backtested (2010-2025)
✓ Works on GBPUSD, GBPJPY, USDCAD
✓ Asymmetric risk/reward (1R-10R winners vs -1R losses)
✓ Automated entry/exit signals
✓ Full risk management (1% per trade)
Best for: Personal accounts, swing trading, education
Prop firm modifications included in comments.
Free to use & modify - Share improvements!
Created by: BacktestBay
Volume Suite: RVOL + Delta CandlesRelative Volume + High Volume Delta Candles.
Great to spot high Effort from Buyers and Sellers.
Nifty Hierarchical Macro GuardOverview
The Nifty Hierarchical Macro Guard is a "Market Compass" indicator specifically designed for Indian equity traders. It locks its logic to the Nifty 50 Index (NSE:NIFTY) and applies a strict hierarchy of trend analysis. The goal is simple: prioritize the long-term trend (Monthly/Weekly) to decide if you should even be in the market, then use the short-term trend (Daily) for precise exit timing.
This script ensures you never ignore a macro "crash" signal while trying to trade minor daily fluctuations.
The Color Hierarchy (Priority Logic)
The indicator uses a "Top-Down" filter. Higher timeframe signals override lower timeframe signals:
Level 1: Monthly (Ultra-Macro) — Deep Maroon
Condition: Nifty 10 EMA is below the 20 EMA on the Monthly chart.
Action: This is the highest priority. The background will turn Deep Maroon, overriding all other colors. This is your "Forget Trading" signal. The long-term structural trend is broken.
Level 2: Weekly (Macro Warning) — Dark Red
Condition: Monthly is Bullish, but Nifty 10 EMA is below the 20 EMA on the Weekly chart.
Action: The background turns Dark Red. This indicates a significant macro correction. You should stay out of fresh positions and protect capital.
Level 3: Daily (Tactical) — Light Red / Light Green
Condition: Both Monthly and Weekly are Bullish (Green).
Action: The background will now react to the Daily 10/20 EMA cross.
Light Green: Nifty is healthy; safe for fresh positions.
Light Red: Tactical exit signal. Nifty is seeing short-term weakness; exit positions quickly.
Key Features
Symbol Locked: No matter what stock you are viewing (Reliance, HDFC, Midcaps), the background only reacts to NSE:NIFTY.
Clean Interface: No messy lines or labels on the price chart. The information is conveyed purely through background color shifts.
Customizable: Change the MA types (EMA/SMA) and lengths (e.g., 10/20 or 20/50) in the settings.
Macro Dashboard: A small, transparent table in the top-right corner displays exactly which timeframe is currently controlling the background color.
How to Use for Nifty Strategy
Stay Out: If the chart is Deep Maroon or Dark Red, do not look for "buying the dip." Wait for the macro health to return.
Take Exits: If the background is Light Green and suddenly turns Light Red, it means the Daily Daily 10/20 cross has happened. Exit your Nifty-sensitive positions immediately.
EMA RANGEEMA RANGE
EMA RANGE is a simple, price-focused indicator that plots an Exponential Moving Average (EMA) with a dynamic ATR-based range above and below it. The ATR bands adapt to market volatility, helping traders visualize normal price movement and identify potential expansion or compression zones.
🔹 Features
Customizable EMA length
ATR range bands plotted above and below the EMA
Adjustable ATR length and multiplier
Toggle to enable or disable ATR ranges
Fully customizable colors and line thickness from the Style tab
🔹 How It Works
The EMA serves as the central trend reference.
The Average True Range (ATR) measures volatility.
Upper and lower bands are calculated as:
EMA ± (ATR × Multiplier)
When price remains inside the range, conditions are considered normal. Moves outside the range may signal increased volatility, momentum expansion, or potential breakout conditions.
🔹 Best Use Cases
Trend continuation and pullback analysis
Volatility-based risk framing
Dynamic support and resistance visualization
Works on any market and timeframe
EMA RANGE is designed to stay clean, responsive, and easy to interpret—making it suitable for both discretionary and systematic traders.
First Presented FVGSummary: First Presented FVG Indicator
This is a Pine Script v6 TradingView indicator that identifies and visualizes the first Fair Value Gap (FVG) that forms within configurable time windows during a trading session.
What it Does
1. Detects FVGs : Uses the classic 3-candle FVG definition:
- Bullish FVG: When low > high (gap up)
- Bearish FVG: When high < low (gap down)
2. "First Presented" Logic : For each configured time slot, it captures only the first qualifying FVG that forms—subsequent FVGs in that window are ignored.
3. Visual Display :
- Draws a colored box spanning from detection time to session end
- Optional text label showing detection time (e.g., "9:38 Tue FP FVG")
- Optional grade lines at 25%, 50%, and 75% levels within the FVG
Key Configuration
Setting Description
Timeframe Only works on 5-minute charts or lower
Timezone IANA timezone for session times (default: America/New_York)
Session Futures trading hours (default: 1800-1715)
Min FVG Size Minimum gap size in ticks to qualify
4 Time Slots Each with enable toggle, time window, and color
Default Time Slots
Slot 1 (enabled): 09:30-10:30 — lime green
Slot 2 (enabled): 13:30-14:30 — blue
Slot 3 (disabled): 13:00-13:30 — teal
Slot 4 (disabled): 14:15-14:45 — fuchsia
Technical Features
Handles cross-midnight sessions correctly
Resets all drawings at each new session
Skips the first bar of each window to ensure valid 3-candle lookback
Clamps slot windows to session boundaries
Multi-Contraction VCP DetectorThis indicator highlights low volume and contracted price movement prior to possible breakouts.
Market Internal Overlay - Skew and Put/Call RatioTracks both the CBOE:SKEW and INDEX:CPC and will highlight when certain thresholds are met.
Blue candle = skew is below 125 (low relative levels of hedging occurring)
Gray candle = skew is above 150 (higher relative levels of hedging occurring)
Red candle = 10 DMA of the put/call ratio is above 1.0 (signaling potential overbought territory)
Green candle = 10 DMA of the put/call ratio is below 0.80 (signaling potential oversold territory)
Purple candle = Both signals are occurring (in either direction)
To view the candle overlay, either switch the price data off, or change the colors to be darker and more transparent.
Bar CountCount K bars based on sessions
Support at most 3 sessions
Customize the session's timezone and period
Set steps between each number
Use with the built-in Trading Session indicator is a great convenience
Rolling VWAP Structure [MTF]Core Logic: Rolling VWAP & MTF**
* **Rolling VWAP (Volume-Weighted Average Price):** Unlike a simple Moving Average, this centerline weighs price by volume. It represents the true "Institutional Cost Basis" over the rolling period (default 20).
* **MTF (Multi-Timeframe) Capability:** The indicator is locked to the **Daily (1D)** timeframe by default. This acts as a stable "Lighthouse," ensuring that intraday noise does not distort the major structural levels.
* *Stepped Lines:* On lower timeframes, the lines appear stepped. This is intentional. It shows that the structural value remains constant throughout the day until the daily close shifts the calculation.
**3. Market Profile Logic: Balance vs. Imbalance**
This indicator visually decodes the market cycle using Auction Market Theory:
* **Orange Zone (Squeeze) = Balance:** When the bands contract (and turn Orange), the market is in equilibrium. This is a high-volume node where price is accepted. **Note:** Historical Orange Zones often act as strong Support/Resistance upon retest.
* **Grey Cloud (Expansion) = Imbalance:** When price breaks into the Grey "Highway" (1.0 - 2.0 StdDev), the market enters Price Discovery mode (Trending).
**4. Key Features & Settings**
* **Fixed Timeframe:** Select the timeframe you want to monitor (e.g., "1D" for Daily structure, "1W" for Weekly).
* **Clean Visuals:** The bottom signal dots have been removed for a cleaner chart.
* **Squeeze Toggle:** You can now **hide the Orange Squeeze color** in the settings if you prefer a unified Grey look for strictly structural analysis.
---
### **中文说明**
核心逻辑:Rolling VWAP 与 跨周期 (MTF)**
* **Rolling VWAP (滚动成交量加权均价):** 与简单移动平均线不同,中轨根据成交量对价格进行加权。它代表了滚动周期内(默认20)真实的“机构持仓成本”。
* **MTF (跨周期) 能力:** 指标默认锁定在 **日线 (1D)** 周期。这就像一座稳定的“灯塔”,确保日内的短期噪音不会扭曲主要的结构性点位。
* *阶梯状线条:* 在小周期图表上,轨道呈现阶梯状。这是有意设计的,代表当天的结构价值是固定的,不会随秒级波动而改变。
**3. 市场轮廓逻辑:平衡与失衡**
本指标利用拍卖市场理论可视化解码市场周期:
* **橙色区域 (挤压) = 平衡 (Balance):** 当布林带收缩(并变橙色)时,市场处于均衡状态。这是筹码密集的高成交量区。**注意:** 历史上的橙色区域在未来回踩时往往起到强力的 支撑/阻力 作用。
* **灰色云带 (扩张) = 失衡 (Imbalance):** 当价格突破进入灰色“高速公路”(1.0 - 2.0 标准差)时,市场进入价格发现模式(趋势)。
**4. 主要功能与设置**
* **Fixed Timeframe (锁定时间框架):** 选择你想要监控的周期(例如 "1D" 看日线结构,"1W" 看周线结构)。
* **视觉净化:** 移除了底部的信号圆点,让主图背景更加纯粹干净。
* **Squeeze Toggle (挤压色开关):** 你现在可以在设置中**隐藏橙色挤压显示**。如果你更偏向纯粹的结构分析,可以选择让通道始终保持灰色。
Dynamic Multi-Timeframe SMAs (Brian Shannon Style)Overview : This indicator implements the logic of Brian Shannon's "Multi-Timeframe Analysis" on intraday charts. It automatically calculates the correct length for the 5-Day and 50-Day Simple Moving Averages (SMA), regardless of the timeframe (e.g., 5m, 15m, 1h) you are viewing.
How it works Standard SMAs only count bars. A "50 SMA" on a 5-minute chart only looks back ~4 hours. This script dynamically calculates how many bars represent full trading days.
Features:
Asset Class Selector : Choose between Crypto (24/7) and Stocks (6.5h US Session) to ensure correct minute-per-day calculations.
Info Table : Displays exactly how many bars are being used for the calculation in real-time.
Daily & Pre-Market Key Levels (v5)Plots:
- Today's high/low
- Pre-market High/Low
- Yesterday's high/low/close
- Day before yesterday high/low
NQ bands 50/65.5/100this is a indicator that puts lines 50 points above and below price, 65.5 points above and below price and 100 points above and below price for the Nasdaq Futures.
Vector Trinity indicator II: [Bottom: TTM Squeeze]**1. Introduction: The Engine of the System**
This indicator is **Part 2** of the "Vector Trinity" trading system. While Part I (Structure) defines *where* the price is, **Part II (Impulse)** defines *when* the move will happen and *how strong* it is.
It represents the **Time Dimension** of the system, focusing on momentum ignition and energy release.
* **I: Structure:** Spatial boundaries.
* **II: Impulse:** **Momentum velocity & Squeeze timing (Current Indicator).**
* **III: Flow:** Capital validation.
**2. Core Logic: Linear Regression Momentum**
Unlike standard momentum indicators (like MACD) which are based on Moving Averages and often lag significantly, **Vector Trinity II** utilizes **Linear Regression** on price deviations.
* **Math:** It calculates the distance between the price and the mean, then runs a linear regression to determine the angle of attack.
* **Benefit:** This provides a near-instantaneous reading of market "Velocity" and "Acceleration," reducing lag and allowing traders to see the turn before price fully commits.
**3. The "Squeeze" Mechanics (The Dots)**
The central line features dots that indicate the volatility state of the market:
* **🔴 Red Dot (Squeeze ON):** The Bollinger Bands have moved inside the Keltner Channels. Volatility is critically low. The market is storing energy like a compressed spring. **Action:** Wait. Do not trade yet.
* **🟢 Green Dot (Squeeze Fired):** The Bands have popped out of the Channels. The energy is releasing. **Action:** This is the "Ignition" signal. Look at the histogram color for direction.
**4. The 4-Color Momentum System**
The histogram bars are color-coded to tell the full story of the trend's lifecycle, not just direction:
* **Bullish Territory (Above 0):**
* **🟦 Cyan (Light Blue):** **Bullish Acceleration.** Buyers are aggressive. Momentum is increasing. (Best for entry).
* **🔷 Blue (Dark Blue):** **Bullish Deceleration.** Buyers are tired. Momentum is fading. (Prepare to take profit).
* **Bearish Territory (Below 0):**
* **🟥 Red:** **Bearish Acceleration.** Sellers are aggressive. Momentum is increasing. (Best for shorting).
* **🟨 Yellow:** **Bearish Deceleration.** Sellers are exhausted. Momentum is recovering towards zero. (Warning: Trend potential reversal).
**5. How to Use**
* **Step 1:** Look for **Red Dots** on the zero line. This identifies a high-potential setup building up.
* **Step 2:** Wait for the **First Green Dot**. This is the "Squeeze Fired" signal.
* **Step 3:** Confirm with the **Histogram Color**.
* If Green Dot + **Cyan Bar** = Long Signal.
* If Green Dot + **Red Bar** = Short Signal.
* **Advanced:** Use the **Yellow Bars** as an early warning to exit short positions before price actually reverses.
**Settings:**
* **Length:** 20 (Standard calculation period).
* **BB/KC Mult:** 2.0 / 1.5 (Standard ratios to define the Squeeze).
* **Smoothing:** Enabled (Default 3) to reduce noise and provide clearer color transitions.
---
### **中文说明**
**1. 简介:系统的核心引擎**
本指标是“矢量三位一体”交易系统的 **第二部分**。如果说第一部分 (Structure) 定义了价格*在哪里*,那么 **第二部分 (Impulse)** 则定义了行情*何时*启动以及力度*有多强*。
它代表了系统的 **时间维度**,专注于动能的点火与能量释放。
* **I: Structure 结构:** 空间边界。
* **II: Impulse 脉冲:** **动能速度与挤压时机(本指标)。**
* **III: Flow 流向:** 资金验证。
**2. 核心逻辑:线性回归动能**
传统的动能指标(如 MACD)通常基于移动平均线,存在显著的滞后性。**Vector Trinity II** 采用了基于价格偏离度的 **Linear Regression (线性回归)** 算法。
* **数学原理:** 它计算价格与均值的距离,并通过回归分析确定攻击的角度。
* **优势:** 这提供了几乎零滞后的市场“速度”与“加速度”读数,允许交易者在价格完全反转之前看到动能的拐点。
**3. “挤压”机制 (圆点信号)**
0轴上的圆点指示了市场的波动率状态:
* **🔴 红点 (Squeeze ON):** 布林带完全进入了肯特纳通道内部。波动率极低。市场像被压缩的弹簧一样在积蓄能量。**操作:** 等待,不要急于进场。
* **🟢 绿点 (Squeeze Fired):** 布林带扩张冲出通道。能量开始释放。**操作:** 这是“点火”信号。观察柱状图颜色以确定方向。
**4. 四色动能战术系统**
柱状图通过四种颜色讲述了趋势完整的生命周期,而不仅仅是涨跌:
* **多头区域 (0轴上方):**
* **🟦 青色 (Cyan):** **多头加速。** 买盘积极,动能增强。(最佳进场期)
* **🔷 蓝色 (Blue):** **多头减速。** 买盘疲惫,动能衰减。(准备止盈)
* **空头区域 (0轴下方):**
* **🟥 红色 (Red):** **空头加速。** 卖盘积极,动能增强。(最佳做空期)
* **🟨 黄色 (Yellow):** **空头减速。** 卖盘力竭,动能向0轴修复。(警告:趋势可能反转/抄底信号)
**5. 使用方法**
* **第一步:** 寻找0轴上的 **红点**。这标志着一个高爆发潜力的机会正在酝酿。
* **第二步:** 等待 **第一个绿点** 出现。这是“挤压释放/点火”的信号。
* **第三步:** 结合 **柱状图颜色** 确认。
* 绿点 + **青色柱** = 做多信号。
* 绿点 + **红色柱** = 做空信号。
* **进阶用法:** 利用 **黄色柱** 作为空单止盈的先行指标,往往在价格反弹之前,动能就已经变黄了。
**参数设置:**
* **Length (周期):** 20 (标准计算周期)。
* **BB/KC Mult (倍数):** 2.0 / 1.5 (定义挤压状态的标准比率)。
* **Smoothing (平滑):** 开启 (默认3) 以减少噪音,提供更平滑的颜色转换体验。
225 SMA CrossoverWell-known strategy from Zahlengraf from the Mauerstrassenwetten subreddit for you to test yourself.
You can change the length of the SMA and whether to trade long, short or both directions.
Advanced Demand ZoneThis indicator automatically identifies strong demand zones based on swing lows followed by significant bullish reactions. It is designed for 4H timeframe and crypto trading (BTC, ETH, altcoins).
Key Features:
Automatically draws clear demand zones for better visual analysis.
Filters out weak impulses to reduce false zones.
Sends alerts when price enters a demand zone.
Transparent zones that do not clutter your chart.
Fully customizable parameters: swing lookback, impulse threshold, and zone transparency.
This tool helps traders quickly spot high-probability buy areas while allowing manual confirmation with price action, making it perfect for swing and intraday trading.






















