Trendlines & SR ZonesIt's a comprehensive indicator (Pine Script v6) that represents two powerful technical analysis tools: automatic trendline detection based on pivot points and volume delta analysis with support/resistance zone identification. This overlay indicator helps traders identify potential trend directions and key price levels where significant buying or selling pressure has occurred.
Features: =
1. Price Trendlines
The indicator automatically identifies and draws trendlines based on pivot points, creating dynamic support and resistance levels.
Key Components:
Pivot Detection: Uses configurable left and right bars to identify significant pivot highs and lows
Trendline Filtering: Only draws downward-sloping resistance trendlines and upward-sloping support trendlines
Zone Creation: Creates filled zones around trendlines based on average price volatility
Automatic Management: Maintains only the 3 most recent significant trendlines to avoid chart clutter
Customization Options:
Left/Right Bars for Pivot: Adjust sensitivity of pivot detection (default: 10 bars each side)
Extension Length: Control how far trendlines extend past the second pivot (default: 50 bars)
Average Body Periods: Set the lookback period for volatility calculation (default: 100)
Tolerance Multiplier: Adjust the width of the trendline zones (default: 1.0)
Color Customization: Separate colors for high (resistance) and low (support) trendlines and their fills
2. Volume Delta % Bars
The indicator analyzes volume distribution across price levels to identify significant supply and demand zones.
Key Components:
Volume Profile Analysis: Divides the price range into rows and calculates volume delta at each level
Delta Visualization: Displays horizontal bars showing the percentage difference between buying and selling volume
Zone Identification: Automatically identifies the most significant supply and demand zones
Visual Integration: Connects volume delta bars with corresponding support/resistance zones on the price chart
Customization Options:
Lookback Period: Set the number of bars to analyze for volume (default: 200)
Price Rows: Control the granularity of the volume analysis (default: 50 rows)
Delta Sections: Adjust the number of horizontal delta bars displayed (default: 20)
Panel Appearance: Customize width, position, and direction of the delta panel
Zone Settings: Control the number of supply/demand zones and their extension (default: 3 zones)
How It Works-
Trendline Logic:
The script continuously scans for pivot highs and lows based on the specified left and right bars
When a pivot is detected, it creates a horizontal line at that price level
The script then looks for the previous pivot of the same type (high or low)
It connects these pivots with a trendline, extending it based on the user-specified setting
A parallel line is created to form a zone, with the distance based on average price volatility
The script filters out invalid trendlines (upward-sloping resistance and downward-sloping support). Only the 3 most recent trendlines are maintained to prevent chart clutter
Volume Delta Logic:
The script divides the price range over the lookback period into the specified number of rows
For each bar in the lookback period, it categorizes volume as bullish (close > open) or bearish (close < open). This volume is assigned to the appropriate price level based on the HLC3 price.
The price levels are grouped into sections, and the net delta (bullish - bearish volume) is calculated for each Horizontal bars are drawn to represent these delta percentages.
The most significant positive and negative deltas are identified and displayed as support and resistance zones. These zones are extended to the left on the price chart and connected to the delta panel with dotted lines.
Ideal Timeframes:
The indicator is versatile and can be used across multiple timeframes, but it performs optimally on specific timeframes depending on your trading style:
For Day Trading:
Optimal Timeframes: 15-minute to 1-hour charts
Why: These timeframes provide a good balance between noise reduction and sufficient volume data. The volume delta analysis is particularly effective on these timeframes as it captures intraday accumulation/distribution patterns while the trendlines remain reliable enough for intraday trading decisions.
For Swing Trading:
Optimal Timeframes: 1-hour to 4-hour charts
Why: These timeframes offer the best combination of reliable trendline formation and meaningful volume analysis. The trendlines on these timeframes are less prone to whipsaws, while the volume delta analysis captures multi-day trading sessions and institutional activity.
For Position Trading:
Optimal Timeframes: Daily and weekly charts
Why: On these higher timeframes, trendlines become extremely reliable as they represent significant market structure points. The volume delta analysis reveals longer-term accumulation and distribution patterns that can define major support and resistance zones for weeks or months.
Timeframe-Specific Adjustments:
Lower Timeframes (1-15 minutes):
Reduce left/right bars for pivots (5-8 bars)
Decrease lookback period for volume delta (50-100 bars)
Increase tolerance multiplier (1.2-1.5) to account for higher volatility
Higher Timeframes (Daily+):
Increase left/right bars for pivots (15-20 bars)
Extend lookback period for volume delta (300-500 bars)
Consider increasing the number of price rows (70-100) for more detailed volume analysis
Usage Guidelines-
For Trendline Analysis:
Use the trendlines as dynamic support and resistance levels
Price reactions at these levels can indicate potential trend continuation or reversal points
The filled zones around trendlines represent areas of price volatility or uncertainty
Consider the slope of the trendline as an indication of trend strength
For Volume Delta Analysis:
The horizontal delta bars show where buying or selling pressure has been concentrated
Green bars indicate areas where buying volume exceeded selling volume (demand)
Red bars indicate areas where selling volume exceeded buying volume (supply)
The highlighted supply and demand zones on the price chart represent significant price levels
These zones can act as future support or resistance areas as price revisits them
Customization Tips:
Trendline Sensitivity: Decrease left/right bars values to detect more pivots (more sensitive) or increase them for fewer, more significant pivots
Zone Width: Adjust the tolerance multiplier to make trendline zones wider or narrower based on your trading style
Volume Analysis: Increase the lookback period for a longer-term volume profile or decrease it for more recent activity
Visual Clarity: Adjust colors and transparency settings to match your chart theme and preferences
Conclusion:
This indicator provides traders with a comprehensive view of both trend dynamics and volume-based support/resistance levels. With these two analytical approaches, the indicator offers valuable insights for identifying potential entry and exit points, trend strength, and key price levels where significant market activity has occurred. The extensive customization options allow traders to adapt the indicator to various trading styles and timeframes, with optimal performance on 15-minute to daily charts depending on their trading horizon.
Chart Attached: NSE HINDZINC, EoD 12/12/25
DISCLAIMER: This information is provided for educational purposes only and should not be considered financial, investment, or trading advice. Please do boost if you like it. Happy Trading.
Educational
Mutanabby_AI | ONEUSDT_MR1
ONEUSDT Mean-Reversion Strategy | 74.68% Win Rate | 417% Net Profit
This is a long-only mean-reversion strategy designed specifically for ONEUSDT on the 1-hour timeframe. The core logic identifies oversold conditions following sharp declines and enters positions when selling pressure exhausts, capturing the subsequent recovery bounce.
Backtested Period: June 2019 – December 2025 (~6 years)
Performance Summary
| Metric | Value |
|--------|-------|
| Net Profit | +417.68% |
| Win Rate | 74.68% |
| Profit Factor | 4.019 |
| Total Trades | 237 |
| Sharpe Ratio | 0.364 |
| Sortino Ratio | 1.917 |
| Max Drawdown | 51.08% |
| Avg Win | +3.14% |
| Avg Loss | -2.30% |
| Buy & Hold Return | -80.44% |
Strategy Logic :
Entry Conditions (Long Only):
The strategy seeks confluence of three conditions that identify exhausted selling:
1. Prior Move Filter:*The price change from 5 bars ago to 3 bars ago must be ≥ -7% (ensures we're not entering during freefall)
2. Current Move Filter: The price change over the last 2 bars must be ≤ 0% (confirms momentum is stalling or reversing)
3. Three-Bar Decline: The price change from 5 bars ago to 3 bars ago must be ≤ -5% (confirms a significant recent drop occurred)
When all three conditions align, the strategy identifies a potential reversal point where sellers are exhausted.
Exit Conditions:
- Primary Exit: Close above the previous bar's high while the open of the previous bar is at or below the close from 9 bars ago (profit-taking on strength)
- Trailing Stop: 11x ATR trailing stop that locks in profits as price rises
Risk Management
- Position Sizing:Fixed position based on account equity divided by entry price
- Trailing Stop:11× ATR (14-period) provides wide enough room for crypto volatility while protecting gains
- Pyramiding:Up to 4 orders allowed (can scale into winning positions)
- **Commission:** 0.1% per trade (realistic exchange fees included)
Important Disclaimers
⚠️ This is NOT financial advice.
- Past performance does not guarantee future results
- Backtest results may contain look-ahead bias or curve-fitting
- Real trading involves slippage, liquidity issues, and execution delays
- This strategy is optimized for ONEUSDT specifically — results may differ on other pairs
- Always test before risking real capital
Recommended Usage
- Timeframe:*1H (as designed)
- Pair: ONEUSDT (Binance)
- Account Size: Ensure sufficient capital to survive max drawdown
Source Code
Feedback Welcome
I'm sharing this strategy freely for educational purposes. Please:
- Drop a comment with your backtesting results any you analysis
- Share any modifications that improve performance
- Let me know if you spot any issues in the logic
Happy trading
As a quant trader, do you think this strategy will survive in live trading?
Yes or No? And why?
I want to hear from you guys
Prince Break and RetestHow to use the new visuals (super simple)
When the script prints RETEST BUY or RETEST SELL, you will instantly see:
ENTRY line (lime)
SL line (orange)
TP1 line (teal)
TP2 line (purple)
Entry Mode options
Close = enter at the close of the retest signal candle (simplest)
Box Edge = enter at the box edge (more “limit-order-ish”)
For your style (break + retest), start with Close.
RSI DivergenceStupid simple logic of RSI divergence. Took it simple, but be mindful - it has errors on the go - especially when in opposite trend some fakeouts happen - so you always must do your own personal check before making a final decision.
Usually the signal appears after 5 candles - logic is to trade pullbacks, not the divergence itself - as mentioned, it could be faked out, as well - especially in opposite trend than the divergence itself.
This is a signal, that appears in ideal conditions - as we know, not all divergences happen under the same logic, therefore don't expect it to print the quality level signals on every possible turnaround.
You must keep this as your assistant, not your decision maker.
Hope this indicator can serve anyone on the go.
ZigZag++ UltraAlgo EditionLagging indicator used to understand trends and entry / exit points. Suggest using at 4h - 1d intervals first, then 1-2h, to identify zones of opportunities and validate your position.
Bassi MA Entry Helper MTF EMA , VWMA Swing , ADX , SMA200 , TPBassi MA Entry Helper is an advanced multi-timeframe confluence system designed to identify high-probability entries using trend, volume, market structure, and volatility filters.
It is built for traders who want cleaner signals, fewer false entries, and strong multi-confirmation setups.
Key Features
Multi-Timeframe EMA Crossovers – HTF signal engine
SMA200 Trend Filter – prevents counter-trend trades
VWMA Swing Confirmation – volume-validated micro-swings
ADX Filter – only trade when the trend has strength
Fractal Structure Mapping – identifies swing highs/lows
Retracement Filter – confirms pullbacks before entries
TP/SL Automation – ATR or percentage based
Clean Entry Labels – main & additional entry signals
Highly Customizable – mode, timeframe, filters, visuals
This script is ideal for:
Scalping • Intraday • Swing • Trend continuation • Volume-based setups • Multi-timeframe alignment
How It Works
Main Buy/Sell Signals
Triggered when:
✔ Fast EMA crosses Slow EMA (HTF)
✔ Price aligned with trend
✔ SMA200 filter valid
✔ VWMA confirmation (optional)
✔ ADX strong
✔ Retracement valid (optional)
Additional Buy/Sell Signals
Triggered when VWMA crosses Slow EMA during trend continuation.
TP/SL System
You can choose between:
%-based take-profit & stop-loss
ATR-based dynamic levels
Automatically projects clean visual levels on your chart.
Notes
This indicator does not repaint and is suitable for both real-time and historical analysis.
Always combine signals with proper risk management.
Initial Release – v1.0
Added multi-timeframe EMA engine
Added SMA200 trend filter
Added VWMA swing entries
Added ADX strength filter
Added retracement filter
Added fractal swing detection
Added TP/SL auto plotting
Added main & additional entry labels
Performance optimized
Scalping EMA9/15 This indicator is designed for high-accuracy intraday scalping based on a refined version of the popular EMA9–EMA15 trend-following technique.
It filters weak or premature entries by requiring a retest of the EMA zone before generating a Buy/Sell signal — drastically reducing false breakouts.
ORB + FVG + PDH/PDL ORB + FVG + PDH/PDL is an all-in-one day-trading overlay that plots:
Opening Range (ORB) high/low with optional box and extension
Fair Value Gaps (FVG) with optional “unmitigated” levels + mitigation lines
Previous Day High/Low history (PDH/PDL) drawn as one-day segments (yesterday’s levels plotted across today’s session only)
Includes presets (ORB only / FVG only / Both) and optional alerts for ORB touches, ORB break + retest, FVG entry, and PDH/PDL touches.
Cup & Handle Finder by Mashrab🚀 New Tool Alert: The "Perfect Cup" Finder
Hey everyone! I’ve built a custom indicator to help us find high-quality Cup & Handle setups before they breakout.
Most scripts just look for random highs and lows, but this one uses a geometric algorithm to ensure the base is actually round (avoiding those messy V-shapes).
How it works:
🔵 Blue Arc: This marks a verified, institutional-quality Cup.
🟠 Orange Box: This is the "Handle Zone." If you see this connecting to the current candle, it means the setup is live and ready for a potential entry!
Best Usage:
Works best on Weekly (1W) charts.
It’s designed to be an "Early Warning" system—alerting you while the handle is still forming so you don't miss the move.
Give it a try and let me know what you find! 📉📈
ATR + True RangeOne indicator for ATR & TR its a common indictor which can be used as one
instead of 2 different its is trial mode only not to be used with out other references
Dynamic Trend Channel - Adaptive Support & Resistance SystemA powerful trend-following indicator that adapts to market conditions in real-time. The Dynamic Trend Channel uses ATR-based volatility measurements to create intelligent support and resistance zones that adjust automatically to price action.
Key Features:
✓ Adaptive channel width based on market volatility (ATR)
✓ Color-coded trend identification (Green = Bullish, Red = Bearish)
✓ Smooth, flowing bands that reduce noise
✓ Breakout signals for high-probability entries
✓ Real-time info table showing trend status and price positioning
✓ Customizable settings for all timeframes
Alloyz Traders_RSI by Sagar BRSI for Intraday purpose with moving average and volume weightage price added in RSI.
Fixed $200 Risk Futures Position Sizer (2R Target)This indicator is designed for traders who want to follow a strict, professional-style risk model identical to the rules used in funded futures trading programs. Instead of risking a percentage of the account, the indicator always risks a fixed $200 per trade, regardless of contract or market volatility. This allows traders to simulate evaluation accounts and maintain perfect risk discipline.
The tool works across a wide range of futures markets — including micro, mini, and continuous contracts (MES, MNQ, MNQ1!, MYM, M2K, MCL, MGC, ES1!, NQ1!, GC1!) — and automatically loads the correct tick size and tick value for each contract. This ensures that stop distance and risk calculations are always accurate, even when switching between index futures, metals, or energy markets.
You simply enter your Entry Price and Stop Loss Price, and the indicator calculates:
The stop distance in points and ticks
The exact dollar risk per contract
The maximum number of contracts allowed while staying under a fixed $200 risk
A fully automated 2R take-profit target (equivalent to $400 profit per trade)
Expected profit per contract
Total projected profit based on allowed size
Full long/short direction detection
This makes position sizing effortless and completely rule-based. If the chosen stop-loss distance requires more than $200 of risk per contract, the indicator will automatically show 0 contracts allowed, preventing invalid trades and helping maintain consistency.
For clarity and execution, the indicator also plots:
A green Entry Line
A red Stop-Loss Line
A blue 2R Take-Profit Line
This produces a visual, easy-to-understand risk-to-reward layout directly on the chart.
This tool is ideal for traders preparing for funded account challenges, traders practicing mechanical risk systems, or anyone who wants to enforce a strict, repeatable risk framework. It eliminates guesswork, improves consistency, and helps traders build discipline by sizing every trade according to a fixed dollar risk with a precise 2R reward objective.
VCAI Volume & Liquidity Map LiteVCAI Volume & Liquidity Map Lite visualises recent market participation using a horizontal liquidity/volume histogram plotted beside current price.
It shows where trading activity has clustered, where the chart is thin, and how much of that activity came from buying vs selling pressure.
This Lite edition keeps the tool simple and fast:
Yellow = buy-side volume (aggressive buyers / upward pressure)
Purple = sell-side volume (aggressive sellers / downward pressure)
Thicker sections = higher traded volume at that price
POC line (purple) marks the price with the highest volume concentration
Value Area lines (yellow dashed) mark where ~70% of volume has traded
Bars extend outward to the right of price for a clean, unobstructed chart
Lookback setting controls how many candles the map is built from
Use it to quickly identify:
high-interest price zones
low-liquidity areas where price can move fast
likely reaction levels
where momentum may slow, reverse, or break through
Designed as a lightweight, open-source tool for anyone wanting a clean liquidity/volume map without complex settings.
Part of the VCAI Lite Series.
Entry Scanner Conservative Option AKeeping it simple,
Trend,
RSI,
Stoch RSI,
MACD, checked.
Do not have entry where there is noise on selection, look for cluster of same entry signals.
If you can show enough discipline, you will be profitable.
CT
Breakout Scanner (Screener)Breakout Scanner (Screener style — single indicator to drop in Screener tab)
Slope Failure (Momentum Stall) STRATEGY//======================================================================================
// SLOPE FAILURE (MOMENTUM STALL) STRATEGY
//--------------------------------------------------------------------------------------
// WHAT THIS STRATEGY DOES
// -----------------------
// This strategy trades **momentum failure**, not trend direction.
//
// Instead of predicting where price will go, it detects when **momentum can no longer
// continue in its current direction** and briefly fades that failure.
//
// Core idea:
// - Momentum expands → slope grows
// - Momentum stalls → slope collapses or flips
// - That stall represents **state transition**, not noise
//
// The system exploits these transitions repeatedly at short horizons.
//
//--------------------------------------------------------------------------------------
// HOW MOMENTUM IS MEASURED
// ------------------------
// 1. Source price (optionally smoothed)
// 2. First derivative (slope = price - price )
// 3. Optional smoothing of the slope itself
//
// The slope represents **instantaneous directional force**, not trend bias.
//
//--------------------------------------------------------------------------------------
// ENTRY LOGIC (SLOPE FAILURE)
// ---------------------------
// • Bull Slope Failure (SHORT):
// - Prior slope was sufficiently positive
// - Current slope collapses to zero or below
// → Upward momentum failed → enter SHORT
//
// • Bear Slope Failure (LONG):
// - Prior slope was sufficiently negative
// - Current slope rises to zero or above
// → Downward momentum failed → enter LONG
//
// Optional:
// - Minimum slope band can be enforced to avoid weak/noisy failures
//
//--------------------------------------------------------------------------------------
// EXIT LOGIC
// ----------
// Primary exits are **force-based**, not price-based:
//
// • Longest Slope Local Turn (optional):
// - Detects when the strongest slope in a recent window has occurred
// - Exits when momentum starts decaying from that extreme
//
// • Percent Stop Loss (optional):
// - Fixed % protection relative to entry price
//
// The strategy does NOT rely on profit targets.
// Winners are exited when **momentum decays**, not when price "looks good".
//
//--------------------------------------------------------------------------------------
// POSITION SIZING
// ---------------
// This strategy supports **percent-of-equity sizing**, computed dynamically:
//
// position size = (account equity × % allocation) / price
//
// This allows:
// - P&L to scale smoothly
// - Drawdowns to remain proportional
// - The same logic to work across symbols and account sizes
//
//--------------------------------------------------------------------------------------
// STRATEGY CHARACTERISTICS
// ------------------------
// • High trade count
// • Win rate near ~45–50%
// • Small, fast losers
// • Slightly larger winners
// • Very low drawdown
//
// This profile is intentionally designed for **scalability**, not prediction.
//
//--------------------------------------------------------------------------------------
// IMPORTANT NOTES
// ---------------
// • This is NOT a trend-following strategy
// • This is NOT a mean-reversion guess
// • This is a momentum **state-transition detector**
//
// The edge comes from structure + exits + sizing — not indicators.
//
//======================================================================================
Support & Resistance Auto-Detector by Rakesh SharmaVersion 1.1 Update:
- Fixed: S/R lines now extend infinitely to the right
- Fixed: Lines move with chart when scrolling
- Added: Toggle to control line extension
- Improved: Better visibility across all timeframes
MACD X SignalsThis is a fundamental signal indicator based on MACD crossovers. It enhances the standard MACD by adding visual labels that classify signals based on their location relative to the Zero Line. This helps identify whether a trend is reversing, continuing, or potentially overextended.
Signal Legend:
B (Reversal): Bullish crossover in the Negative Zone .
B+ (Neutral): Bullish crossover in the Middle Zone .
B- (Trend): Bullish crossover in the Positive Zone
S : MACD crossing down (Bearish signal).
Killzones (EST)Asian Range
19:00 – 00:00 EST
Consolidation, liquidity build
London Open
02:00 – 05:00 EST
Initial expansion, Judas Swing
New York Open
07:00 – 10:00 EST
Main move, SMT, MSS setups
NY Lunch/Reversal
11:30 – 13:00 EST
Rebalancing, exit window
RS Rating Viet Nam by Admin AlphaStockSo sanh vs VNMIDCAP
Bạn có thể thay đổi BenchMark trong Code thành VNINDEX hay bất kỳ chỉ số nào
RTH Yesterday & Today Premarket Levels## **RTH Yesterday & Today Premarket Levels**
This indicator plots the most commonly used **institutional reference levels** for intraday trading:
* **Yesterday’s Regular Trading Hours (RTH) High**
* **Yesterday’s Regular Trading Hours (RTH) Low**
* **Yesterday’s Regular Trading Hours (RTH) Close**
* **Today’s Premarket High**
* **Today’s Premarket Low**
All levels are drawn as **straight horizontal lines with labels** and remain fixed throughout the current session.
---
### **How Levels Are Calculated**
**Yesterday’s Levels (RTH only)**
* Computed strictly from **Regular Trading Hours (09:30–16:00 exchange time)**.
* Extended-hours data is **excluded** to avoid distortion.
* Captures true institutional highs, lows, and closing price.
**Today’s Premarket Levels (PM only)**
* Computed strictly from **today’s premarket session (04:00–09:29)**.
* Resets daily and does not include prior days.
* Levels finalize once premarket ends and extend across the regular session.
---
### **Key Features**
* Exactly **5 fixed reference levels**, no historical clutter
* **Non-repainting**: levels do not change once established
* **No zig-zags or plots**; only clean horizontal lines
* Customizable **line colors and thickness**
* Labels clearly identify each level:
* Y High
* Y Low
* Y Close
* PM High
* PM Low
---
### **Best Use Cases**
* Intraday trading (1m, 5m, 15m)
* VWAP and momentum strategies
* Gap-and-go or fade setups
* Support/resistance validation
* Options trading and scalping
These levels often act as **decision points, liquidity magnets, and rejection zones** during the regular session.
---
### **Required Settings**
* Use **intraday timeframes**
* Enable **Extended Hours** in TradingView’s symbol settings
* Designed for **US equities** using exchange time
---
### **Trader Notes**
This script is intentionally minimalist. It shows only the **most relevant prior-day and premarket price references** used by professional traders, avoiding noise from multi-day indicators or derived averages.
Stage 2 Pullback Swing indicatorThis scanner is built for swing traders who want high-probability pullbacks inside strong, established uptrends. It targets names in a confirmed Stage 2 bull phase (Weinstein model) that have pulled back 10–30% from a recent swing high on light selling volume, while still respecting fast EMAs.
Goal: find powerful uptrending stocks during controlled dips before the next leg higher.
What it looks for
Strong prior uptrend: price above the 50 and 200 SMAs, momentum positive over multiple timeframes
Confirmed Stage 2: price above a rising 30-week MA on the weekly chart
Pullback depth: 10–30% off recent swing highs—not too shallow, not broken
Pullback quality: range contained, no panic selling, trend structure intact
EMA behavior: price near EMA10 or EMA20 at signal time
Volume contraction: sellers fading throughout the pullback
Bullish shift: green candle back in trend direction
Why this matters
This setup hints at institutions defending positions during a temporary dip. Strong stocks pull back cleanly with declining volume, then resume the primary trend. This script alerts you when those conditions align.
Best way to use
Filter a strong universe before applying—quality tickers only
Pair with clear trade plans: risk defined by prior swing low or ATR
Trigger alerts instead of hunting charts manually
Intended for
Swing traders who want momentum continuation setups
Traders who prefer entering on controlled retracements
Anyone tired of chasing extended breakouts






















