TernTable: VolViz
VolViz - Overview
VolViz is designed to give traders an instant volume strength visualisation tool using multiple timeframes. It provides an interactive table overlay that allows users to track volume metrics across a range of custom-selected timeframes. The table can dynamically display relative volume (RVOL), average volume, and current volume for each selected timeframes in real time.
Additionally, users can toggle various features and adjust thresholds to receive alerts for both high and low volume conditions.
Key Features
* Volume Metrics: Displays three main volume-related data points across multiple timeframes: Relative Volume (RVOL), Average Volume, and Current Volume.
* Timeframe Flexibility: Supports a range of customisable timeframes from seconds, minutes, hours to daily weekly and monthly intervals up to 12 months. Users can select which timeframes to display.
* Dynamic Table: A table is dynamically updated with data for each enabled timeframe, allowing traders to quickly compare volume data across different periods.
* Optional alert System: Includes alert functionality for high and low volume conditions based on customisable thresholds. Alerts can be set for a minimum number of timeframes for a condition to trigger.
Colour Logic
The script uses specific colours to enhance the visual alert properties that represent different ranges of Relative Volume (RVOL), which are used in the table to visually highlight the volume data:
1. Red: RVOL is less than 1.0, indicating low relative volume.
2. Green: RVOL is between 1.0 and 1.2, indicating moderate relative volume.
3. Purple: RVOL is between 1.2 and 1.5, indicating above average relative volume.
4. Orange: RVOL is between 1.5 and 2.0, indicating higher relative volume.
5. Yellow: RVOL is greater than 2.0, indicating very high relative volume.
How to use
1. Inputs:
* Volume Period: Set the period for calculating the moving average of volume (14 period default).
* The script defaults to the 2m 5m 15m 30m 1h 4h 12h D W M timeframes but user defined custom timeframes can be used (comma-separated) to specify the timeframes to track ( e.g "D,W,M,3M,6M,12M”) to a max of 10 timeframes. The table dynamically adjusts its size dependant on how many timeframes the user chooses to input.
* Table Position: Choose where to display the table: Top Left, Top Right, Bottom Left, or Bottom Right.
* Maximum Decimal Places: Control how many decimal places are shown for volume data.
2. Toggles:
* Enable High Volume Alert: Toggle this to activate the high volume alert.
* Enable Low Volume Alert: Toggle this to activate the low volume alert.
* Enable Minimum Timeframes for Alerts: Toggle this to require a specific number of timeframes to meet the alert condition before triggering.
* Pane Labels: There is also an optional debug label found in the Style tab to identify / confirm the current mode selected and the number of timeframes that meet the alert mode criteria.
The Show Row toggles can be utilised to include or exclude rows to take up less space on the chart.
* Show RVOL Row: Toggle to show the relative volume row in the table.
* Show Avg Volume Row: Toggle to show the average volume row in the table.
* Show Current Volume Row: Toggle to show the current volume row in the table.
* Show Spacer Row Below Table: Toggle to show or hide a blank spacer row below the table.
* Show Spacer Row Above Header: Toggle to show or hide a blank spacer row above the header.
3. How the Table Works:
* The table is populated with the following rows:
1. Spacer Row Above Header (optional): Adds space above the table header.
2. Header Row: Displays the timeframes (e.g., "1h", "4h", "12h", etc.).
3. Relative Volume (RVOL): Shows the RVOL for each timeframe, colored according to the thresholds.
4. Average Volume: Shows the average volume for each timeframe.
5. Current Volume: Displays the current volume for each timeframe.
6. Spacer Row Below Table (optional): Adds space below the data rows.
4. Optional Visual Alerts:
* High Volume Alert: When the current volume exceeds the default or user specified threshold compared to the average volume for the enabled timeframes.
* Low Volume Alert: When the current volume is below the default or user specified threshold compared to the average volume for the enabled timeframes.
When the visual alerts trigger unobtrusive diamonds will appear on the chart. White diamonds above the bar to indicate high volume and yellow diamonds below the bar to indicate low volume. These are not trend direction nor entry or exit signals but may be used in conjunction with other indicators for contextual purposes.
Questions or comments are always welcomed and I hope it helps with your trading !
Multitimeframe
PipGuard Magic BoxPipGuard Magic Box – Multi-Timeframe EMA Regime Analyzer
Indicator published by PipGuard.
PipGuard Magic Box is a complete dashboard for market regime analysis, built on a Multi-Timeframe architecture.
This script goes beyond a simple crossover: it blends the power of the classic EMA(50) and EMA(200) with a dynamic "Warmap" and a compact MTF table , offering an immediate glance at trend coherence.
It identifies the dominant trend , filters noise, and prints "Buy" / "Sell" signals only on confirmed crossovers .
How it works: The Logic
• Core Logic (Regime):
The regime (Bullish or Bearish) is defined by the position of the EMA(50) relative to the EMA(200). The indicator waits for the candle close to validate the signal.
• Warmap (Momentum):
The colored area between the two EMAs is not static. It dynamically adapts to momentum, providing an immediate visual read on the trend's strength and direction.
• MTF Table (Coherence):
The panel summarizes the regime status across seven key timeframes (Current, 24h, 4h, 1h, 15m, 5m, 1m). This allows for a quick assessment of whether higher timeframes are aligned with the current one.
• Confirmation Signals:
"Buy" and "Sell" labels appear exclusively on confirmed crossovers . This approach prevents false signals generated by intra-bar noise and improves operational clarity.
How to Use
1. Add the script to your chart.
2. Observe the EMA 50/200 crossover and the Warmap to identify the dominant regime.
3. Check the MTF Table to verify directional coherence across different timeframes.
4. Set up Alerts to receive automatic notifications (push or sound) at the exact moment a crossover (bullish or bearish) is confirmed. Never miss a regime change again .
5. Use the "Buy" / "Sell" signals as confirmation tools to integrate into your risk management strategy.
EXAMPLE OF USE
EXAMPLE OF USE
Settings
• `EMA 50 / EMA 200 Length` → Adjusts the regime's sensitivity and responsiveness.
• `Table Text Color` → Adapts the table's text readability for light or dark backgrounds.
• Custom Alerts: Fully configurable for notifications on Bullish (💚) and Bearish (❤️🔥) crossovers.
• All visual parameters are pre-configured to ensure visual consistency and maximum clarity.
Limitations
• EMAs are lagging indicators. They are designed to confirm a regime change, not to anticipate it.
• The MTF table data updates at the close of the higher timeframe's candle , which may introduce slight update delays.
• Past performance does not guarantee future results .
Access
This script is available only via invite-only access .
To request access, use the link provided in our Signature below this publication.
Note: This script is a technical tool for market analysis. It does not guarantee profits or specific results.
Indicator published by PipGuard.
BMM V2.1 FINAL VERSION ⚙️ Optimized Trading Guide — MWABUFX 15-Minute Intraday Setup
🕒 Recommended Timeframe
✅ 15-Minute Chart (M15) — the most balanced and accurate for MWABUFX.
Why M15 Works Best:
Filters out small, noisy market movements found on 1m–5m charts.
Responds faster than 1H or 4H, perfect for daily profits.
Aligns well with market session volatility (London & New York).
Gives 2–5 high-probability trades per day depending on the pair.
Ideal for traders using PineConnector automation or manual execution.
🧭 How to Trade on 15-Minute
🟢 Buy Setup
EMA 238 is sloping upward and price is above it.
Supertrend flips green — wait for candle to close above the line.
Confirm trend direction on 1H timeframe (optional filter).
Enter trade at the close of the signal candle.
Stop-Loss: below recent swing low.
Take Profits:
TP1 → 1:1
TP2 → 1:2
TP3 → 1:3
Move SL to breakeven after TP1 is hit.
🔴 Sell Setup
EMA 238 is sloping downward and price is below it.
Supertrend flips red — wait for candle to close below the line.
Confirm 1H trend also bearish (optional).
Enter trade at the candle close.
Stop-Loss: above recent swing high.
Take Profits: TP1, TP2, TP3 as above.
🕐 Best Trading Hours (Kenya Time / GMT+3)
Session Time Ideal Pairs Notes
London Session 10:00 AM – 2:00 PM GBPUSD, EURUSD, Gold Cleanest 15-min trends
New York Session 3:30 PM – 7:00 PM US30, NAS100, XAUUSD, GBPUSD Strong volatility, high RR trades
Avoid After 8:30 PM — Market slows down, spreads widen
📌 If you must choose one — trade 15-minute charts during London–New York overlap (3:30 PM – 6:30 PM).
⚖️ Risk & Profit Strategy
Risk only 1–2% of balance per trade.
Focus on 1–3 solid setups per session — no overtrading.
Aim for minimum 1:2 reward-to-risk ratio.
Avoid entries when EMA 238 is flat (ranging market).
💡 Pro Tips
Use “Close of Candle” confirmation — avoid jumping in mid-bar.
Combine with session bias (e.g. buy Gold during bullish NY momentum).
Use alerts through PineConnector to catch trades instantly.
Don’t trade during major red news (NFP, CPI, FOMC).
Journal every trade — review TP/SL behavior to improve timing.
AlKa mtF timElinEDisplays a timeline marking higher time frame bar opening locations. Reads a countdown (in current time-frame bars) to next higher time frame bar open.
Ultimate Parabolic SAR with Advanced Signal 1.0# 📊 Ultimate Parabolic SAR with Advanced Signal
## Overview
The **Ultimate Parabolic SAR** is a comprehensive trading indicator that enhances the classic Parabolic SAR with advanced multi-indicator filtering, customizable signal generation, and multi-timeframe analysis. Perfect for traders of all styles - from scalping to swing trading.
## 🎯 Key Features
### 1. **Smart Trading Modes**
Pre-configured PSAR settings optimized for different trading styles:
- **Futures 1m** (0.04/0.03/0.4) - Ultra-fast scalping
- **Scalping/Futures 15m** (0.03/0.02/0.25) - Quick intraday trades
- **Day Trade 1h-4h** (0.02/0.02/0.2) - Standard intraday trading
- **Swing Trade 1D** (0.01/0.01/0.15) - Position trading
- **Custom** - Full manual control
### 2. **Advanced Signal Filtering System**
Combine up to 6 technical indicators to filter entry signals:
- ✅ **RSI Filter** - Avoid overbought/oversold zones
- ✅ **MACD Filter** - Confirm momentum direction
- ✅ **Stochastic RSI** - Additional momentum validation
- ✅ **MA Filter** - 20/50 Moving Average trend confirmation
- ✅ **EMA Filter** - 20/50 Exponential Moving Average trend
- ✅ **SMA Filter** - 200 Simple Moving Average long-term trend
*Enable filters individually or combine them for higher-quality signals*
### 3. **Multi-Timeframe (MTF) Dashboard**
Real-time percentage change analysis across 6 timeframes:
- 5m, 15m, 1h, 4h, 1D, 1W
- Color-coded arrows (▲ Green = Up, ▼ Red = Down)
- Fully customizable: toggle timeframes, adjust size & position
- Instant market sentiment overview
### 4. **Highly Customizable Visuals**
- **Buy/Sell Signals**: Adjustable size (Tiny/Small/Normal/Large)
- **Signal Offset**: Fine-tune label positioning
- **Color Customization**: Separate colors for Buy/Sell labels
- **Start Points**: Optional small dots at PSAR reversals
- **State Highlighting**: Visual background fill for trend direction
### 5. **Multiple Moving Averages Display**
Independent visualization of trend indicators:
- MA 20 & MA 50 (Simple Moving Averages)
- EMA 20 & EMA 50 (Exponential Moving Averages)
- SMA 200 (Long-term trend)
- Custom colors for each line
- Show/hide independently from filter usage
## 📈 How to Use
### Basic Setup
1. Add indicator to chart
2. Choose a **Trading Mode** that matches your timeframe
3. Optionally enable **Signal Filters** for cleaner entries
4. Watch for **Buy/Sell** labels on PSAR reversals
### Conservative Approach
Enable multiple filters for higher-quality signals:
```
✅ RSI Filter
✅ MACD Filter
✅ EMA Trend Filter
✅ SMA Filter
```
*Result: Fewer but more reliable signals*
### Aggressive Approach
Use PSAR alone or with minimal filtering:
```
❌ All filters OFF
```
*Result: More frequent trading opportunities*
### Multi-Timeframe Confirmation
1. Enable MTF Table (top-right by default)
2. Check if multiple timeframes align
3. Enter trades when 3+ timeframes show same direction
4. Example: 15m ▲, 1h ▲, 4h ▲ = Strong uptrend
## 🎨 Customization Options
### Entry Signal Settings
- Show/Hide Buy/Sell signals
- Adjust label size for visibility
- Offset labels to avoid chart clutter
- Custom colors for Buy (default: green) and Sell (default: orange)
### MTF Table Settings
- Position: Top/Bottom, Left/Right corners
- Text size: Tiny to Large
- Toggle individual timeframes (5m to 1W)
- Custom background and text colors
### Visual Elements
- PSAR point width adjustment
- Highlight PSAR reversal points
- Trend state background highlighting
- Independent MA/EMA/SMA line display
## 💡 Trading Strategies
### Strategy 1: Trend Following
```
Mode: Day Trade 1h-4h
Filters: EMA + SMA enabled
MTF: Check 4h and 1D alignment
Entry: Buy when all confirm uptrend
```
### Strategy 2: Momentum Scalping
```
Mode: Scalping/Futures 15m
Filters: RSI + MACD enabled
MTF: Focus on 5m and 15m
Entry: Quick in/out on momentum shifts
```
### Strategy 3: Swing Trading
```
Mode: Swing Trade 1D
Filters: All enabled for quality
MTF: Check 1D and 1W trends
Entry: Patient entries at major reversals
```
## ⚠️ Important Notes
- **Not Financial Advice**: This indicator is for educational purposes only
- **Backtest First**: Test settings on your preferred assets before live trading
- **Combine with Risk Management**: Always use stop-losses and position sizing
- **Market Conditions**: Indicator performs best in trending markets
- **False Signals**: All indicators can produce false signals - no system is perfect
## 🔧 Technical Details
- **Pine Script Version**: v6
- **Overlay**: Yes (plots on main chart)
- **Repainting**: No - signals appear in real-time and don't repaint
- **Calculations**: Uses request.security for MTF data
- **Performance**: Optimized for fast loading and minimal lag
## 📊 Best Practices
1. **Start Simple**: Use one trading mode without filters initially
2. **Add Filters Gradually**: Enable one filter at a time to understand impact
3. **Match Timeframes**: Use timeframe-appropriate trading mode
4. **Monitor MTF Dashboard**: Confirm trade direction across timeframes
5. **Adjust to Market**: Change modes for ranging vs. trending markets
## 🎓 Educational Value
Perfect for traders learning:
- Parabolic SAR indicator mechanics
- Multi-indicator confirmation strategies
- Timeframe analysis techniques
- Risk management through filtered signals
- Visual chart analysis and pattern recognition
## 📝 Version History
**Current Version**: 1.0
- Initial release with full feature set
- 5 trading modes
- 6 indicator filters
- MTF dashboard with 6 timeframes
- Comprehensive customization options
---
## 🙏 Credits
Parabolic SAR original concept by J. Welles Wilder Jr.
## 📧 Support
For questions, suggestions, or bug reports, please comment below or message directly.
---
**Happy Trading! 🚀**
*Remember: The best indicator is the one you understand and use consistently.*
Ultimate Parabolic SAR with Advanced Signal# 📊 Ultimate Parabolic SAR with Advanced Signal
## Overview
The **Ultimate Parabolic SAR** is a comprehensive trading indicator that enhances the classic Parabolic SAR with advanced multi-indicator filtering, customizable signal generation, and multi-timeframe analysis. Perfect for traders of all styles - from scalping to swing trading.
## 🎯 Key Features
### 1. **Smart Trading Modes**
Pre-configured PSAR settings optimized for different trading styles:
- **Futures 1m** (0.04/0.03/0.4) - Ultra-fast scalping
- **Scalping/Futures 15m** (0.03/0.02/0.25) - Quick intraday trades
- **Day Trade 1h-4h** (0.02/0.02/0.2) - Standard intraday trading
- **Swing Trade 1D** (0.01/0.01/0.15) - Position trading
- **Custom** - Full manual control
### 2. **Advanced Signal Filtering System**
Combine up to 6 technical indicators to filter entry signals:
- ✅ **RSI Filter** - Avoid overbought/oversold zones
- ✅ **MACD Filter** - Confirm momentum direction
- ✅ **Stochastic RSI** - Additional momentum validation
- ✅ **MA Filter** - 20/50 Moving Average trend confirmation
- ✅ **EMA Filter** - 20/50 Exponential Moving Average trend
- ✅ **SMA Filter** - 200 Simple Moving Average long-term trend
*Enable filters individually or combine them for higher-quality signals*
### 3. **Multi-Timeframe (MTF) Dashboard**
Real-time percentage change analysis across 6 timeframes:
- 5m, 15m, 1h, 4h, 1D, 1W
- Color-coded arrows (▲ Green = Up, ▼ Red = Down)
- Fully customizable: toggle timeframes, adjust size & position
- Instant market sentiment overview
### 4. **Highly Customizable Visuals**
- **Buy/Sell Signals**: Adjustable size (Tiny/Small/Normal/Large)
- **Signal Offset**: Fine-tune label positioning
- **Color Customization**: Separate colors for Buy/Sell labels
- **Start Points**: Optional small dots at PSAR reversals
- **State Highlighting**: Visual background fill for trend direction
### 5. **Multiple Moving Averages Display**
Independent visualization of trend indicators:
- MA 20 & MA 50 (Simple Moving Averages)
- EMA 20 & EMA 50 (Exponential Moving Averages)
- SMA 200 (Long-term trend)
- Custom colors for each line
- Show/hide independently from filter usage
## 📈 How to Use
### Basic Setup
1. Add indicator to chart
2. Choose a **Trading Mode** that matches your timeframe
3. Optionally enable **Signal Filters** for cleaner entries
4. Watch for **Buy/Sell** labels on PSAR reversals
### Conservative Approach
Enable multiple filters for higher-quality signals:
```
✅ RSI Filter
✅ MACD Filter
✅ EMA Trend Filter
✅ SMA Filter
```
*Result: Fewer but more reliable signals*
### Aggressive Approach
Use PSAR alone or with minimal filtering:
```
❌ All filters OFF
```
*Result: More frequent trading opportunities*
### Multi-Timeframe Confirmation
1. Enable MTF Table (top-right by default)
2. Check if multiple timeframes align
3. Enter trades when 3+ timeframes show same direction
4. Example: 15m ▲, 1h ▲, 4h ▲ = Strong uptrend
## 🎨 Customization Options
### Entry Signal Settings
- Show/Hide Buy/Sell signals
- Adjust label size for visibility
- Offset labels to avoid chart clutter
- Custom colors for Buy (default: green) and Sell (default: orange)
### MTF Table Settings
- Position: Top/Bottom, Left/Right corners
- Text size: Tiny to Large
- Toggle individual timeframes (5m to 1W)
- Custom background and text colors
### Visual Elements
- PSAR point width adjustment
- Highlight PSAR reversal points
- Trend state background highlighting
- Independent MA/EMA/SMA line display
## 💡 Trading Strategies
### Strategy 1: Trend Following
```
Mode: Day Trade 1h-4h
Filters: EMA + SMA enabled
MTF: Check 4h and 1D alignment
Entry: Buy when all confirm uptrend
```
### Strategy 2: Momentum Scalping
```
Mode: Scalping/Futures 15m
Filters: RSI + MACD enabled
MTF: Focus on 5m and 15m
Entry: Quick in/out on momentum shifts
```
### Strategy 3: Swing Trading
```
Mode: Swing Trade 1D
Filters: All enabled for quality
MTF: Check 1D and 1W trends
Entry: Patient entries at major reversals
```
## ⚠️ Important Notes
- **Not Financial Advice**: This indicator is for educational purposes only
- **Backtest First**: Test settings on your preferred assets before live trading
- **Combine with Risk Management**: Always use stop-losses and position sizing
- **Market Conditions**: Indicator performs best in trending markets
- **False Signals**: All indicators can produce false signals - no system is perfect
## 🔧 Technical Details
- **Pine Script Version**: v6
- **Overlay**: Yes (plots on main chart)
- **Repainting**: No - signals appear in real-time and don't repaint
- **Calculations**: Uses request.security for MTF data
- **Performance**: Optimized for fast loading and minimal lag
## 📊 Best Practices
1. **Start Simple**: Use one trading mode without filters initially
2. **Add Filters Gradually**: Enable one filter at a time to understand impact
3. **Match Timeframes**: Use timeframe-appropriate trading mode
4. **Monitor MTF Dashboard**: Confirm trade direction across timeframes
5. **Adjust to Market**: Change modes for ranging vs. trending markets
## 🎓 Educational Value
Perfect for traders learning:
- Parabolic SAR indicator mechanics
- Multi-indicator confirmation strategies
- Timeframe analysis techniques
- Risk management through filtered signals
- Visual chart analysis and pattern recognition
## 📝 Version History
**Current Version**: 1.0
- Initial release with full feature set
- 5 trading modes
- 6 indicator filters
- MTF dashboard with 6 timeframes
- Comprehensive customization options
---
## 🙏 Credits
Parabolic SAR original concept by J. Welles Wilder Jr.
## 📧 Support
For questions, suggestions, or bug reports, please comment below or message directly.
---
**Happy Trading! 🚀** Tony Pham 2025
*Remember: The best indicator is the one you understand and use consistently.*
✝️📈📉☢️BANG is a comprehensive multi-timeframe indicator for TradingView, designed for intraday trading of futures and stocks.
To use: Add to a low timeframe chart (e.g., 1-5 minutes), configure anchor mode (daily/weekly/monthly/manual) for session resets, and select timeframe for signals (e.g., 5m). Monitor the mini-charts for HTF overview (candles, VWEMA/VWAP, FVG), RSI/MACD trends, market data table (VIX/VXN/etc.), and ICT structure (pivots, BOS/CHoCH).
For trading: Enter LONG/SHORT on signal bars with strength ☢️ (1-6, higher = stronger confluence), confirmed by multi-timeframe alignment (e.g., anchor daily while trading minutes). Use ATR-based risk management; backtest in demo mode.
QV 2H/4D 2BX & FVB StrategyQuantVault
### Strategy Description for Presentation
The **QV 2H/4D 2BX & FVB Strategy** is a versatile, timeframe-based trading system designed for TradingView using Pine Script v5. It combines momentum oscillators (B-Xtrender) across a 2-hour (120-minute) and 4-day timeframe with Fair Value Bands (FVB) for dynamic support/resistance levels, a trailing ATR-based stop (Red Line), and Break of Structure (BOS) detection. The strategy supports both long and short directions, allowing for main entries, optional pyramiding (adding to positions), and multiple exit mechanisms including full exits and partial scale-outs. It's optimized for trend-following in volatile markets like forex, stocks, or crypto, with built-in risk management via percent-of-equity sizing (default 5% per trade) and commission accounting. Alerts are included for band touches and BOS events to aid real-time monitoring. Key features include customizable toggles for entries/exits, making it adaptable for backtesting or live trading with an initial capital of $50,000.
This strategy emphasizes multi-timeframe confirmation: the higher timeframe (4D) provides directional bias, while the lower (2H) drives precise entries and exits. It aims to capture trends by entering on momentum shifts and exiting via profit-taking at deviation bands or protective stops, reducing drawdowns through pyramiding limits (max 1 add-on) and conditional re-entries only after full exits or band resets.
### Detailed Breakdown of How It Works
The strategy operates as a complete trading system with indicator calculations, entry logic, position management, exit conditions, and alerts. Below, I'll explain each section step by step, including the underlying calculations and logic flows. Note that all plots (e.g., histograms, lines, bands) are overlaid on the chart unless specified otherwise, but the strategy itself plots in a separate pane (overlay=false).
#### 1. Input Parameters
Users can customize the strategy via inputs, which control direction, features, and indicator settings. These are grouped into categories for ease:
| Category | Key Inputs | Description/Default |
|----------|------------|----------------------|
| **Direction** | `direction` | "Long" or "Short" – restricts strategy to one side (default: "Long"). |
| **Entry Settings** | `enable_main_entry`, `enable_pyramiding` | Toggle main entry and adding to positions (both default: true). |
| **Exit Settings** | `enable_atr_exit`, `enable_2bar_exit`, `enable_tf1_below0_exit`, `enable_large_decrease_exit`, `enable_bos_exit`, `enable_1x_scaleout`, `enable_2x_scaleout`, `enable_3x_exit` | Toggles for various full/partial exits (all default: true). |
| **Alert Settings** | `enable_band_alerts`, `enable_bos_touch_alert`, `enable_bos_cross_alert` | Toggles for deviation band and BOS alerts (all default: true). |
| **Indicator Lengths** | `short_l1` (5), `short_l2` (20), `short_l3` (5), `long_l1` (20), `long_l2` (5) | Periods for short/long Xtrender EMAs and RSIs. |
| **Timeframes** | `tf1` ("120" – 2 hours), `tf2` ("4D" – 4 days) | Multi-timeframe data sources. |
| **Exit/Thresholds** | `exit_amount` (40.0), `tf2_threshold` (10.0) | TF1 change for large exit; TF2 momentum threshold. |
| **ATR & Bands** | `len` (10 – ATR length), `mult_red` (2.5 – Red Line multiplier), `fair_value_length` (33), `fair_value_mult1/2/3` (0.6/1.0/1.4) | Settings for Red ATR trailing line and FVB deviation levels. |
A custom T3 moving average function is defined but not used in the core logic (possibly for future extensions).
#### 2. Indicator Calculations
The strategy relies on several computed indicators for signals:
- **B-Xtrender Oscillators (Short-Term)**:
- Calculated on TF1 (2H) and TF2 (4D): `shortTermXtrender_tf1/tf2 = RSI(EMA(close, short_l1) - EMA(close, short_l2), short_l3) - 50`.
- This creates a momentum histogram centered at 0, showing overbought (>0, green) or oversold (<0, red) conditions.
- Combined: `combinedShortTermXtrender = tf1 + tf2` (not directly used in entries/exits).
- TF2 direction is tracked persistently: `tf2_increasing` if change >0, `tf2_decreasing` if <0.
- Plotted as columns (TF1 with color variations for 2-bar trends/crosses) and area (TF2, translucent).
- **Long-Term Xtrender**:
- `longTermXtrender = RSI(EMA(close, long_l1), long_l2)`.
- Not used in the provided logic (potential remnant or for visualization).
- **2-Bar Conditions**:
- For longs: `tf1_green_and_increasing_2bars` – TF1 >0 and increasing for 2 bars.
- For shorts: `tf1_red_and_decreasing_2bars` – TF1 <0 and decreasing for 2 bars.
- Used for exits and histogram coloring.
- **Centerline Crosses**:
- `tf1_cross_above_zero` (crossover >0), `tf1_cross_below_zero` (crossunder <0).
- Influences histogram colors and exits.
- **Red ATR Line**:
- Base ATR: `atr = ta.atr(len)`.
- Trailing levels: `up_red = close - (mult_red * atr)`, `dn_red = close + (mult_red * atr)`.
- Trend detection: Switches between up/dn based on close vs previous trail, with breaks flipping direction.
- Plotted as a red broken line on the price chart – acts as a dynamic trailing stop.
- **Fair Value Bands (FVB)**:
- Fair price: `fairPriceSmooth = SMA(ohlc4, fair_value_length)` (blue midline).
- Deviations calculated from high/low spreads relative to fair price, using medians of historical pivots and boosts.
- Upper bands (for longs): `upper1/2/3 = fairPriceSmooth + mult1/2/3 * pivot-based spread` (colors: yellow, orange, red).
- Lower bands (for shorts): `lower1/2/3 = fairPriceSmooth - mult1/2/3 * pivot-based spread`.
- Only relevant bands plot based on direction.
- Uses arrays (limited to 1000-2000 elements) for median calculations to adapt dynamically.
- **Break of Structure (BOS)**:
- Swing levels: `last_swing_low = pivotlow(low, 5,5)`, `last_swing_high = pivothigh(high, 5,5)`.
- Plotted as white lines (SL for longs, SH for shorts) if enabled.
A centerline at 0 is plotted on the oscillator pane.
#### 3. Entry Logic
Entries are direction-specific and use multi-timeframe momentum for confirmation. Position sizing is 5% of equity, with pyramiding limited to one add-on.
- **Long Entries**:
- Main: If `enable_main_entry` and (TF2 increasing or > threshold) and TF1 increasing, and no position (or after full exit if close <= upper2).
- Command: `strategy.entry('Long', strategy.long)`.
- On new position: Reset flags, set initial qty, store swing low as SL.
- Pyramiding: If enabled and not doubled, add equal qty on crossover above Red Line.
- **Short Entries**:
- Mirror of longs: TF2 decreasing or < -threshold, TF1 decreasing, no position (or after full exit if close >= lower2).
- Command: `strategy.entry('Short', strategy.short)`.
- Pyramiding: Add on crossunder below Red Line.
Re-entries are blocked until full exit unless price resets to a band (e.g., below upper2 for longs).
#### 4. Position Management
Uses variables to track state:
- Initial qty, doubled flag, waiting for scale-out flags, full exit flag (per direction).
- Ensures scale-outs only trigger after crosses, and full exits set flags to allow re-entries.
#### 5. Exit Logic
Exits are checked only when in position and use multiple independent conditions. Full exits set `has_fully_exited` to true. Scale-outs are partial (50% of current size for longs, initial qty *0.5 for shorts – note asymmetry).
- **Long Exits**:
1. ATR: Crossunder below Red Line (full, if enabled).
2. 2-Bar: TF1 red/decreasing for 2 bars and below Red Line (full).
3. TF1 Below 0: Crossunder centerline and below Red Line (full).
4. Large TF1 Decrease: TF1 drop > exit_amount (full).
5. BOS: Crossunder swing low (full, if enabled).
6. 1x Scale-Out: Crossover upper1, then crossunder (50%).
7. 2x Scale-Out: Similar for upper2 (50%).
8. 3x Exit: Similar for upper3 (full).
- **Short Exits**:
- Mirror: ATR crossover above Red Line, TF1 green/increasing 2 bars above Red Line, TF1 above 0 above Red Line, large TF1 increase, BOS crossover swing high, scale-outs on lower bands (crossunder then crossover).
Exits include comments for chart labeling (e.g., 'Full ATR', '1x 50%').
#### 6. Alert Conditions
Alerts fire in real-time or on bar close, resetting flags at new bars to avoid duplicates:
- **Band Touches** (if enabled): Touch from below/above for each 1x/2x/3x upper/lower band.
- **BOS Touches** (if enabled): Touch from above/below for SL/SH.
- **BOS Cross & Close** (if enabled): Cross and close below SL (longs) or above SH (shorts) – once per bar close.
This setup provides comprehensive notifications for potential entries, exits, or reversals.
In summary, the strategy enters on aligned multi-timeframe momentum, adds on Red Line breaks, and exits via protective stops or profit-taking at adaptive bands, making it a robust trend-capture tool with risk controls. For presentation, emphasize its modularity – users can disable features to simplify or focus on specific signals. If backtesting, test on various assets/timeframes to tune parameters like multipliers.
Directional Volume Cloud MTFThe Directional Volume Cloud MTF transforms raw volume into a visually intuitive cloud histogram that highlights directional bias and exhaustion zones.
🔍 Core Logic
- Volume bias is calculated using candle direction (bullish/bearish) and smoothed via EMA.
- Bias strength is normalized against average volume to produce a ratio from -1 to +1.
- Color and opacity dynamically reflect bias direction and strength — pale clouds indicate weak volume, while vivid clouds signal strong conviction.
Features
- Customizable bullish/bearish colors
- Dynamic opacity based on volume strength
- Declining volume signals for potential reversals
- Multi-timeframe bias overlay (e.g., daily bias on intraday chart)
📈 Use Cases
- Spot volume exhaustion before reversals
- Confirm breakout strength with bias intensity
- Compare short-term vs long-term volume pressure
Whether you're scalping intraday moves or validating swing setups, this cloud-based volume heatmap offers a clean, modular way to visualize market conviction.
Killzone Session High/Low Levels [SmartFoxy]Killzone Session High/Low Levels
The Killzone Session High/Low Levels indicator by SmartFoxy provides a complete intraday framework for understanding session-based liquidity, market structure rotation, and breakout behavior across global trading sessions.
It automatically plots the High/Low ranges for each selected session, highlights session killzones, and tracks breakout events with optional alerts.
This tool is designed for traders who rely on session dynamics (Asia, Frankfurt, London, New York) to identify liquidity targets, sweep zones, key ranges, and continuation/reversal opportunities.
________________________________________
How It Works
The indicator detects the active trading sessions for each day and builds structural High/Low ranges for them:
• Asia Session Range (High/Low);
• Frankfurt Session Range;
• London Session Range;
• New York Session Range;
• Optional custom session (NY Open, or any killzone).
For each session, the script can display:
• Session box or column;
• High/Low levels;
• Labels for every range (H/L);
• True session boundaries using user-defined timezone;
• Auto-extended levels up to the latest candle;
• Break levels after a breakout;
• Conditional removal or recoloring after a level is breached.
This gives traders a clean visual map of session liquidity and how price interacts with it throughout the day.
________________________________________
Key Features
1. Multiple Global Sessions •➤ Asia, Frankfurt, London, New York, plus one custom session for advanced killzone mapping.
2. Session High/Low Liquidity Levels •➤ Automatic plotting of every session’s High and Low, with optional labels and price markers.
3. Session Boxes or Columns •➤ Two display modes allow traders to visualize the session either as a filled box or a clear vertical column.
4. Breakout Logic & Temporary Levels .
When price breaks a session High/Low:
• Levels can be extended for a selected number of bars
• Or removed instantly after a breakout
• Or recolored to highlight the sweep event
This enables clean identification of liquidity grabs, breakouts, and continuation setups.
5. Alerts for Session Breakouts .
Set alerts when price breaks:
• Any session level
• Only levels formed on the current day
Perfect for traders who want real-time notifications of sweeps or key structure breaks.
6. Full Customization
You can configure:
• Session times;
• Timezone;
• Colors;
• Labels;
• Line styles and widths;
• Breakout behavior;
• Killzone range handling.
Everything is adjustable to match any trading style.
________________________________________
How to Use
1. Enable the sessions you want to track •➤ Asia, Frankfurt, London, New York, or custom.
2. Choose display mode
Box mode for visual range blocks;
Column mode for clean vertical alignment.
3. Enable High/Low Levels .
These act as liquidity magnets and key rejection zones.
4. Turn on Breakout Levels (optional)
Useful for spotting sweeps and continuation setups.
5. Turn on Alerts if you want notifications when price breaks levels.
6. Use session levels as liquidity reference points .
They work exceptionally well with smart money concepts (SMC), ICT, and intraday structure analysis.
________________________________________
Why This Indicator Is Useful
Shows exactly where liquidity is placed each session;
Highlights market structure transitions as sessions hand over control;
Helps identify stop hunts, sweeps, reversals, and continuation patterns;
Provides real-time alerts for structural breaks;
Organizes the chart and reduces noise;
Works with any intraday timeframe and any market.
This makes it valuable for scalpers, day traders, and SMC/ICT-style analysts.
________________________________________
Summary
Killzone Session High/Low Levels delivers a complete, highly customizable intraday mapping system based on global trading sessions.
It clarifies the session structure, reveals liquidity targets, and empowers traders to make confident trading decisions using clean, objective market data.
MTF Liquidity Levels Pro (D/W/M) [SmartFoxy]✅ SCRIPT DESCRIPTION (Premium MTF High-Low Levels)
Overview
This indicator automatically plots key High/Low levels across three major timeframes:
Daily (D) , Weekly (W) , and Monthly (M) .
It includes:
• Current period highs/lows (DH/DL, WH/WL, MH/ML);
• Previous period highs/lows (PDH/PDL, PWH/PWL, PMH/PML);
• Open levels (Day Open, Day True Open, Week Open, Month Open);
• Visual elements such as separators, period boxes, labels, and price markers;
• A fully customizable breakout alert system .
The indicator is designed for precise market structure analysis with a focus on liquidity, MTF mechanics, and clean price action.
________________________________________
How It Works
The script tracks historical High/Low levels on each timeframe and displays:
✅ Current High/Low Levels :
Daily;
Weekly;
Monthly.
✅ Previous High/Low levels from the previous day, week, and month:
PDH / PDL;
PWH / PWL;
PMH / PML.
You can select how many previous levels to display (1, 2, 3…).
✅ Open Levels:
Day Open;
Week Open;
Month Open.
Includes optional True Day Open with time offset.
✅ Visual Period Boxes highlighting each session (Day Box, Week Box, Month Box) to help identify intraday and intraperiod structure.
✅ Vertical Separators for the start of each day, week, and month.
✅ Customizable Labels & Price Markers with positions, sizes, and optional price display.
________________________________________
Alerts
A flexible alert module is built in:
✅ Breakout of Any Previous Level (D/W/M) •➤ Triggers when price breaks any previous High/Low:
PDH/PDL;
PWH/PWL;
PMH/PML.
✅ Breakout of Previous Level 1 (D/W/M) •➤ Triggers only for the closest previous levels:
PDH1/PDL1;
PWH1/PWL1;
PMH1/PML1.
✅ Custom Breakout •➤ Choose a specific level:
PDH / PDL;
PWH / PWL;
PMH / PML.
and select which level number (1, 2, 3…) the alert should track.
________________________________________
How to Use
Select which timeframes (D/W/M) to display.
Choose how many previous levels to plot.
Enable Open, Boxes, Separators, or Labels as needed.
Enable True Day Open with offset if required.
Activate Alerts and choose the breakout logic:
• All previous levels;
• Only the nearest level;
• Custom level selection.
Create an alert in TradingView using “Any alert() function call”.
________________________________________
Why This Indicator Is Useful
✅ Instantly reveals key High/Low liquidity zones across multiple timeframes
✅ Helps synchronize market structure across D/W/M levels
✅ Useful for identifying impulses, breakouts, reversals, and liquidity runs
✅ Highlights levels price frequently revisits
✅ Eliminates the need for additional MTF tools
✅ Alerts automate breakout detection for both intraday and swing traders
Suitable for all markets : Forex, Crypto, Indices, Stocks, Futures.
Stage2_US_Master_NoChinaDetects U.S. stocks in a confirmed Stage 2 uptrend (above 30-week MA) showing their first or second pullback near the moving average. Excludes ETFs and Chinese ADRs. Includes both 20-DMA and 50-DMA bounce patterns with optional filters for volume, gaps, and index trend.
ICT ADR/AWR/AMR Levels | Trade Symmetry🌟 ICT ADR/AWR/AMR Levels
📋 Overview
This advanced technical analysis tool calculates and displays Average Daily Range (ADR), Average Weekly Range (AWR), and Average Monthly Range (AMR) levels. The indicator incorporates smart detection technology that automatically maintains monthly level visibility when historical data becomes unavailable.
✨ Key Features
🕒 Precise Time Alignment
True Daily Opens (TDO) aligned with 00:00 UTC
True Weekly Opens (TWO) at 00:00 UTC (configurable Monday/Sunday start)
True Monthly Opens (TMO) at 00:00 UTC on month start
Customizable period start times and parameters
📊 Comprehensive Multi-Timeframe Analysis
Daily Levels (ADR): Base level with multiple extensions including Fibonacci ratios
Weekly Levels (AWR): Weekly range projections and key levels
Monthly Levels (AMR): Monthly range calculations with automatic fallback system
🔄 Intelligent Level Management
Smart Detection: Automatically switches between historical and current monthly levels
Continuous Visibility: Ensures reference levels remain visible regardless of data availability
Seamless Operation: No manual adjustment needed for level transitions
⚙️ Extensive Customization
Adjustable lookback periods for all timeframes
Independent control over each level type and extension
Complete visual customization (colors, styles, widths)
Flexible labeling and display options
Configurable vertical separation lines
🏷️ Advanced Display Options
Clean, organized label placement
Optional price display in labels
Historical period tracking
Overlapping label merging capability
Adjustable label sizing and positioning
🚀 How to Use
Initial Setup: Enable desired timeframes (Daily/Weekly/Monthly)
Range Configuration: Set appropriate averaging periods for each timeframe
Level Selection: Choose which extension levels to display
Visual Settings: Customize colors and styles to match your trading workspace
Automatic Operation: The indicator intelligently manages level transitions
💡 Practical Applications
Identify potential support and resistance areas across multiple timeframes
Establish realistic profit targets based on historical volatility
Plan trade entries and exits around significant time-based levels
Analyze market volatility patterns across different time horizons
Incorporate institutional trading concepts into your analysis
Multi-Timeframe Fibonacci + Open Levels🟣 Multi-Timeframe Fibonacci Levels + Open Levels | Trade Symmetry
This indicator automatically plots Fibonacci levels derived from higher timeframe candle ranges — all at once, directly on your current chart.
It helps you quickly visualize confluence zones and reaction levels where institutional traders are likely to participate.
⚙️ Features
✅ Multi-timeframe Fibonacci Levels — Daily, Weekly, Monthly, Quarterly & Yearly
✅ Automatic Bullish/Bearish detection based on previous candle
✅ Dynamic overlap detection (combines overlapping Fib levels into a single clean label)
✅ Configurable Fibonacci levels, colors, and styles
✅ Optional Open-Price Levels (Daily, Weekly, Monthly)
✅ Clean memory management to keep your chart lightweight
🧠 How to Use
• Add it to any timeframe — it will automatically overlay higher timeframe Fibs.
• Use overlapping or aligned Fib zones as confluence areas.
• Combine with structure or liquidity indicators for high-probability setups.
💡 Inspired by
The concept of higher-timeframe Fibonacci confluences used in Smart Money Concepts (SMC) and ICT-style analysis.
TV Hot-Blooded Trend V8.1 Release VersionStill Losing Money on False Breakouts? Let Trend Lead Your Way
Are You Struggling with These Trading Challenges:
Always buying high and selling low, chasing the market?
Hesitating at critical moments, missing the best entry points?
Distracted by market noise, trading frequently but losing consistently?
Studied countless technical analyses but still can't achieve stable profits?
Intelligent Trend Recognition System Built for Traders
This tool employs advanced multi-confirmation mechanisms to help you:
✅ Precisely Capture Trend Reversals - Smart algorithms filter market noise, signaling only high-probability opportunities so you never miss important moves
✅ Eliminate Emotional Trading - Clear visual signal system with color-coded buy/sell markers makes trading decisions simple and intuitive, no complex judgment needed
✅ Dramatically Reduce False Signals - Multi-layer filtering ensures signal reliability, effectively minimizing unnecessary trading losses and protecting your capital
✅ 24/7 Smart Monitoring - Alert functionality lets you catch trading opportunities even when you're away, making your trading effortless
✅ Multi-Market Compatible - Whether crypto, forex, or stocks, it adapts seamlessly—one tool for all your trading needs
Stop Trading Blind. Let Data Speak, Let Trends Guide
No more juggling dozens of indicators. No more wrestling with complex technical analysis. Simple, clear, effective—this is what professional traders need.
Start now and unlock your path to consistent profits!
Square Lines Around customized font_RAMLAKSHMANDASSquare Lines Around customized font_RAMLAKSHMANDAS
This indicator draws dynamic horizontal lines at all integer squares around the square root of the current close price, helping traders visualize price levels with mathematical significance. Each line is labeled, and the level font size can be customized interactively through a simple “Text Size (1-5)” input, making it easy to adapt for different chart sizes or visibility needs.
Features:
Plots horizontal lines at every perfect square (i.e.,
i
2
i
2
) near the rounded square root of close price.
Displays level values as labels, with user-adjustable font size (select 1 to 5, mapped to tiny up to huge).
All lines and labels (levels) are automatically updated with each new candle.
User controls for line color, line width, level range, and label font size.
Fully compatible with all TradingView intervals and symbols.
Usage:
Helps spot mathematically relevant support/resistance zones for custom strategies.
Useful for visual traders, quant experimenters, and anyone interested in market geometry.
Best suited for intraday, positional or backtest analysis where precise price levels matter.
Customizations:
Range +/- around square root (choose how many lines you want).
Line color and thickness for clarity.
Select label font size: 1 (tiny), 2 (small), 3 (normal), 4 (large), 5 (huge).
How to use:
Add to your chart, tweak settings in the input panel, and see instant updates.
Labels are sized to your preference for maximum visibility.
Tristan's Multi-Indicator Reversal StrategyMulti-Indicator Reversal Strategy - Buy Low, Sell High
A comprehensive reversal detection system that combines multiple proven technical indicators to identify high-probability entry points for catching reversals at market extremes.
📊 Strategy Overview
This strategy is designed for traders who want to buy at lows and sell at highs by detecting when stocks are overextended and ready to reverse. It works by requiring multiple technical indicators to align before generating a signal, significantly reducing false entries.
Best Used On:
Timeframe: 1-hour charts (also works on 15min, 30min, 4hour)
Session: NY Trading Session (9:30 AM - 4:00 PM ET)
Assets: Stocks, ETFs, Crypto (particularly volatile tech stocks like ZM, TSLA, AAPL)
Trading Style: Swing trading, Intraday reversals
🔧 Technical Components
The strategy combines FIVE powerful technical indicators:
1. RSI (Relative Strength Index)
2. MACD (Moving Average Convergence Divergence)
3. Williams %R
4. Bollinger Bands
5. Volume Analysis
6. Divergence Detection (Optional)
🎨 Visual Signals
Entry Signals:
🟢 Green Triangle (below candle) = BUY LONG signal
🔴 Red Triangle (above candle) = SELL SHORT signal
Exit Signals:
🟣 Purple Label = Position closed (shows "x2", "x3" if multiple entries)
Additional Indicators:
💎 Aqua Diamond = Bullish divergence detected
💎 Fuchsia Diamond = Bearish divergence detected
🔵 Blue Background = NY Session active
🟡 Yellow Bar Tint = Volume spike detected
⚪ Small Circles = Near-signal conditions (2+ indicators aligned)
Live Counter:
Top corner shows: "Bull: X/4" and "Bear: X/4"
Indicates how many indicators currently align
⚙️ How to Use This Strategy
For Beginners (More Signals):
Set "Min Indicators Aligned" to 2
Turn OFF "Require Divergence"
Turn OFF "Require Volume Spike"
Turn OFF "Require Reversal Candle Pattern"
Keep "Allow Multiple Entries" OFF
This gives you more frequent signals to learn from.
For Advanced Traders (High Probability):
Set "Min Indicators Aligned" to 3 or 4
Turn ON "Require Divergence"
Turn ON "Require Volume Spike"
Turn ON "Require Reversal Candle Pattern"
Adjust stop loss to your risk tolerance
This filters for only the highest-quality setups.
Recommended Settings for 1-Hour Charts:
Min Indicators Aligned: 3
Stop Loss: 2.5%
Take Profit: 5.0%
RSI Length: 14
Williams %R Length: 14
Volume Multiplier: 1.5x
Session: NY only (for stocks)
BUY SIGNAL generated when:
2-4 indicators show oversold/bullish conditions:
RSI < 30 and turning up
MACD crossing bullish or histogram positive
Williams %R < -80 and turning up
Price at/below lower Bollinger Band
Optional confirmations (if enabled):
Bullish divergence detected
Volume spike present
Bullish reversal candle pattern
Session filter: Signals only during NY trading hours
SELL SIGNAL Generated When:
2-4 indicators show overbought/bearish conditions:
RSI > 70 and turning down
MACD crossing bearish or histogram negative
Williams %R > -20 and turning down
Price at/above upper Bollinger Band
Optional confirmations (if enabled):
Bearish divergence detected
Volume spike present
Bearish reversal candle pattern
🛡️ Risk Management Features
Automatic Stop Loss: Protects capital (default 2.5%)
Take Profit Target: Locks in gains (default 5.0%)
Pyramiding Control: Toggle to prevent position stacking
Session Filter: Avoids overnight risk and low-liquidity periods
Position Flipping: Automatically reverses when opposite signal appears
💡 Best Practices
✅ DO:
Wait for candle close before entering (built into strategy)
Use on volatile assets with clear trends
Combine with your own analysis and risk management
Backtest on your specific assets and timeframes
Start with paper trading to learn the signals
Adjust indicator requirements based on market conditions
❌ DON'T:
Use on very low timeframes (<5 min) without adjustment
Ignore the session filter on stocks
Use maximum leverage - these are reversal trades
Trade during major news events or earnings
Expect 100% win rate - focus on risk/reward ratio
📊 Performance Notes
This strategy prioritizes quality over quantity. With default settings, you may see:
2-5 signals per week on 1-hour charts
Higher win rate with stricter settings (3-4 indicators aligned)
Best performance during trending markets with clear reversals
Reduced performance in choppy, sideways markets
Tip: Adjust "Min Indicators Aligned" based on market conditions:
Trending markets: Use 3-4 (fewer but stronger signals)
Range-bound markets: Use 2 (more signals, but watch for false breakouts)
Last Price Line
# Last Price Line with Enhanced Features
## Description
This indicator provides a highly customizable horizontal price line that tracks the current market price with advanced visualization options and real-time price change tracking. Unlike the basic price line built into most charting platforms, this tool offers extensive customization including dynamic color changes based on price movement, detailed price change statistics, adjustable line extensions, and flexible label positioning. The indicator is designed to give traders instant visual reference of the current price level with optional momentum context through color-coded labels showing gains or losses from the previous bar.
## How It Works
The indicator continuously monitors the closing price of the most recent bar and draws a horizontal line at that exact level. The line extends both left and right by user-defined amounts, with an option to infinitely extend the line to the right. When price change display is enabled, the indicator calculates the difference between the current price and the previous close, presenting this information both in absolute points and percentage terms directly on the price label.
**Core Calculation:**
- Current Price = Close of most recent bar
- Price Change = Current Price - Previous Close
- Percent Change = (Price Change / Previous Close) × 100
**Dynamic Color Logic:**
When "Color by Change Direction" is enabled, the label automatically changes color based on price movement:
- **Up Color** (default: green) when current price > previous close
- **Down Color** (default: red) when current price < previous close
- **Neutral Color** (default: gray) when price is unchanged
This provides instant visual feedback on intrabar momentum without needing to look at price values.
## Original Features & Methodology
**What Makes This Script Unique:**
- Combines a customizable price reference line with real-time price change statistics
- Implements percentage-based label offset system that works consistently across all price scales
- Features tri-state color system (up/down/neutral) with user-definable colors for each state
- Includes independent left and right extension controls for precise visual placement
- Offers multiple decimal place precision options (0-8 decimals) for any asset class
- Provides optional circular marker plot that can be toggled independently from the main line
**Technical Implementation:**
- Uses `barstate.islast` to ensure line updates only on the most recent bar for performance
- Implements proper object deletion to prevent memory buildup over time
- Employs `line.style_label_left` and `line.style_label_right` for intelligent label positioning
- Supports infinite right extension via `extend.right` or fixed extension via `extend.none`
- Line transparency and marker transparency controlled independently
## Key Features
🔹 **Fully Customizable Line**: Control color, width, style (solid/dashed/dotted), and transparency
🔹 **Flexible Extension**: Separate left and right extension controls with optional infinite right extension
🔹 **Smart Price Labels**: Display current price with customizable size, position, and decimal precision
🔹 **Price Change Display**: Optional display of price change from previous bar in points and/or percentage
🔹 **Dynamic Color Coding**: Label automatically changes color based on up/down/neutral movement
🔹 **Custom Color Palette**: Define your own colors for bullish, bearish, and neutral conditions
🔹 **Precision Control**: Set decimal places from 0 to 8 for any asset (stocks, forex, crypto, futures)
🔹 **Optional Price Marker**: Toggle circular plot marker independently from main line
🔹 **Performance Optimized**: Efficient code that only updates on the most recent bar
## Input Parameters Explained
**Line Settings**
- **Line Color**: Base color for the horizontal price line (default: yellow)
- **Line Width**: Thickness from 1-5 pixels (default: 2)
- **Line Style**: Choose Solid, Dashed, or Dotted appearance
- **Line Transparency**: 0-100% transparency control (0 = opaque, 100 = invisible)
**Extension Settings**
- **Left Extension**: How many bars to extend the line to the left (default: 50)
- **Right Extension**: How many bars to extend the line to the right (default: 10)
- **Extend Line Right**: Toggle infinite right extension (overrides right extension bars when enabled)
**Label Settings**
- **Show Price Label**: Toggle the price label on/off
- **Label Position**: Place label on Left or Right side of chart
- **Label Size**: Choose from Tiny, Small, Normal, Large, or Huge
- **Label Text Color**: Color of the text inside the label (default: white)
- **Price Decimals**: Number of decimal places to display (0-8)
**Price Change Settings**
- **Show Price Change**: Display change from previous bar
- **Show Percent Change**: Include percentage change in label
- **Color by Change Direction**: Enable dynamic color coding based on movement
- **Up Color**: Label color when price is higher (default: green)
- **Down Color**: Label color when price is lower (default: red)
- **Neutral Color**: Label color when price is unchanged (default: gray)
**Display Settings**
- **Show Current Price Marker**: Toggle the circular plot marker
- **Marker Transparency**: Control transparency of the marker line (default: 90%)
## How to Use This Indicator
**Basic Setup:**
1. Add the indicator to your chart - a yellow horizontal line will appear at the current price
2. The line extends 50 bars to the left and 10 bars to the right by default
3. A label on the right shows the current price with 2 decimal places
**Customizing Appearance:**
1. Adjust line color, width, and style to match your chart theme
2. Modify left/right extensions to fit your chart display preferences
3. Change label position to Left if it interferes with right-side indicators
4. Increase/decrease label size based on your screen resolution and preferences
**Enabling Price Change Display:**
1. Check "Show Price Change" to see movement from previous bar
2. Label will show: Current Price, Point Change, and Percent Change
3. Enable "Color by Change Direction" for instant visual momentum feedback
4. Customize up/down/neutral colors to match your trading style
**Precision Settings:**
- **Stocks**: Use 2 decimal places
- **Forex majors**: Use 4-5 decimal places
- **Crypto**: Use 2-4 decimal places depending on asset value
- **Futures**: Use 2 decimal places (0 for index futures)
- **Commodities**: Vary by instrument (0-4 typical)
**Pro Tips:**
- Use high transparency (60-80%) for subtle price reference
- Disable the circular marker if you only want the main line
- Enable infinite right extension to see price level projection into the future
- Use different colors for different timeframes on multi-chart layouts
## Use Cases
**Day Trading:**
- Quick visual reference for entry price and current price relationship
- Color-coded momentum feedback shows if you're gaining or losing on the bar
- Precise decimal control for instruments with specific tick sizes
**Swing Trading:**
- Track daily close levels across multiple days
- Monitor percentage gains/losses from previous session close
- Clear visual separation between current price and reference levels
**Position Monitoring:**
- Instant visual of current P&L when combined with entry indicators
- Clean price display without cluttering the chart
- Customizable to match any chart color scheme
**Multi-Monitor Setups:**
- Consistent price reference across different timeframe charts
- Large label sizes for viewing from a distance
- High-contrast colors for quick recognition
## Technical Details
- Updates only on `barstate.islast` for optimal performance
- Proper line and label deletion prevents memory buildup
- Works on all timeframes and asset classes
- No repainting - all values based on confirmed bar data
- Label position calculated using `bar_index` for accurate placement
- Supports both fixed and infinite line extension modes
## Best Practices
- Use contrasting line colors that stand out against your chart background
- Set appropriate decimal places for your asset to avoid clutter
- Enable price change display for active trading, disable for clean charts
- Use transparency when layering multiple indicators
- Position labels to avoid overlap with other chart elements
- Customize colors to distinguish between different chart windows
- Test different label sizes to find what works best for your screen
This indicator serves as an essential price reference tool that combines simplicity with powerful customization options, making it suitable for traders of all experience levels and trading styles.
---
## Connect With Me
📧 **Email**: contact@savvytraderpro.com
📊 **Website**: (savvytraderpro.com)
🐦 **X (Twitter)**: (twitter.com)
💬 Follow for more indicators, trading strategies, and market insights!
---
**⚠️ Disclaimer:**
This script is provided for educational and informational purposes only. It is not financial advice and should not be considered a recommendation to buy, sell, or hold any financial instrument. Trading involves significant risk of loss and is not suitable for every investor. Users should perform their own due diligence and consult with a licensed financial advisor before making any trading decisions. The author does not guarantee any profits or results from using this script, and assumes no liability for any losses incurred. Use this script at your own risk.
Custom Session Background Highlighter (Asia / London / NY)This was something i am used to using with Motivewave, and did not see a good one with TV. You can set any time frame, and change the background color to any color you want. I like to have a lightly different color background for Asia (6pm to 3am),, London, (3am to 9:30 am) and NY (9:30am to 5 pm). You can set your time as you wish, and change the colors as you like. This was created with the help of ChatGPT and seems to be working perfectly fine, but if you encounter any issues copy and paste the code to chatgpt and ask to revise it as needed.
The Machine – Smart Zones PRO 🧠 The Machine – Smart Zones PRO (Stable Final)
By Abdou // "By order of the chaos, I present THE MACHINE"
🚀 Overview
The Machine – Smart Zones PRO is an advanced multi-timeframe support/resistance and signal engine designed to reveal where smart money builds, manipulates, and distributes liquidity.
It automatically maps dynamic supply & demand zones, detects trend direction, and generates weighted BUY/SELL signals based on confluence between price action, volatility, and higher-timeframe confirmation.
Built for precision traders who rely on structure and probability — not noise.
⚙️ Core Features
✅ Smart Zone Engine
Automatically plots adaptive high/low zones using pivot logic and ATR-based padding.
Zones extend dynamically across the chart and clean up automatically to keep your view clear.
✅ Multi-Timeframe Trend Confirmation
Integrates higher-timeframe trend alignment (e.g., 4H) to validate signals.
✅ Signal Probabilities
Each BUY/SELL trigger is scored by a weighted model (Trend + HTF + Volume).
Visual probability plots are included for deeper insight.
✅ Zone Confluence Detection
Highlights when a signal aligns with a nearby smart zone (support/resistance confluence).
✅ Dashboard Panel
Top-right floating dashboard summarizes:
Last confirmed signal & probability
Current trend direction
Next potential move (Buy/Sell + % strength)
✅ Alerts Ready
Built-in alerts for:
Buy / Sell triggers
Buy + Support Confluence
Sell + Resistance Confluence
📊 Category
Support & Resistance • Trend Analysis • Signal / Strategy Tools
💡 Use Case
Designed for day traders, swing traders, and smart money structure traders who need:
A clean visual map of reactive zones
Bias confirmation across timeframes
Reliable, non-repainting alerts
It can be used standalone or combined with other Machine indicators such as:
The Machine – Smart Dashboard
The Machine – Session Map
⚠️ Disclaimer
This tool is provided for educational and analytical purposes only.
It does not constitute financial advice. Always confirm signals with your own analysis before taking trades.
🧩 Summary
The Machine – Smart Zones PRO combines logic, structure, and automation.
A next-generation zone engine that thinks like a trader — not just an indicator.
contact abdelhaksaighi29@gmail.com for access
price 20$/a month.
indicator all time access plus a guide for trading a full course 500$
trading course alone : 100$
QuantumFlow MTF SystemQuantumFlow MTF System © 2025
Multi-Timeframe Directional Flow & Volatility Alignment Engine
QuantumFlow MTF System is designed to synchronize volatility- and trend-based signals from multiple timeframes into a single, structured view of market flow.
Concept
The system evaluates confirmed Supertrend directions from several lower timeframes, then aggregates them into normalized bullish/bearish values. These values are combined with dual-layer EMA momentum filters to verify directional strength. The resulting matrix provides a precise snapshot of alignment across short- to medium-term market structures.
Unlike classical ATR-based systems, QuantumFlow employs multiple ATR layers with multiple deviation factors that have been extensively tested over the years.
This multi-ATR framework acts as an adaptive volatility filter, allowing each asset class to respond dynamically to its intrinsic volatility profile.
The result is a robust and consistent analytical engine capable of adapting to varying market conditions across assets and timeframes.
How It Works
- Confirmed Multi-Timeframe Supertrend:
Each timeframe calculates a close-confirmed Supertrend direction, preventing repainting and ensuring signal reliability.
- Multi-ATR Volatility Model:
Several ATR instances with distinct deviation multipliers define volatility thresholds that adjust sensitivity across market conditions.
- Dual EMA Structure:
Two independent EMA layers act as momentum validators to confirm or filter each Supertrend direction.
- Flow Totals Engine:
The script sums all directional states into a real-time ratio of bullish vs bearish conditions, visualized through color-coded totals.
- Adaptive Alerts:
Optional thresholds allow traders to receive alerts when directional imbalance reaches predefined intensity levels.
Use Cases
- Identify when multiple timeframes align in the same trend direction.
- Quantify the relative dominance of bullish or bearish pressure.
- Filter trades using adaptive multi-ATR volatility filters per asset type.
- Confirm entries by validating multi-timeframe directional consensus.
Chart Display
QuantumFlow displays a structured table showing the state of each analyzed timeframe and the current flow balance. Works seamlessly on any instrument and timeframe.
This invite-only indicator provides a systematic way to analyze directional flow alignment using a multi-ATR volatility engine combined with momentum synchronization across multiple timeframes.
---
Author’s Instructions:
To request access, please contact the author privately through the TradingView profile.
HTF Candle Countdown Timer//@version=5
indicator("HTF Candle Countdown Timer", overlay=true)
// ============================================================================
// INPUTS - SETTINGS MENU
// ============================================================================
// --- Mode Selection ---
mode = input.string(title="Mode", defval="Auto", options= ,
tooltip="Auto: Αυτόματη αντιστοίχιση timeframes Custom: Επιλέξτε το δικό σας timeframe")
// --- Custom Timeframe Selection ---
customTF = input.timeframe(title="Custom Timeframe", defval="15",
tooltip="Ενεργό μόνο σε Custom Mode")
// --- Table Position ---
tablePos = input.string(title="Table Position", defval="Bottom Right",
options= )
// --- Colors ---
textColor = input.color(title="Text Color", defval=color.white)
bgColor = input.color(title="Background Color", defval=color.black)
transparentBg = input.bool(title="Transparent Background", defval=false,
tooltip="Ενεργοποίηση διάφανου φόντου")
// --- Text Size ---
textSize = input.string(title="Text Size", defval="Normal",
options= )
// ============================================================================
// FUNCTIONS
// ============================================================================
// Μετατροπή string position σε table position constant
getTablePosition(pos) =>
switch pos
"Top Left" => position.top_left
"Top Right" => position.top_right
"Bottom Left" => position.bottom_left
"Bottom Right" => position.bottom_right
=> position.bottom_right
// Μετατροπή string size σε size constant
getTextSize(size) =>
switch size
"Auto" => size.auto
"Tiny" => size.tiny
"Small" => size.small
"Normal" => size.normal
"Large" => size.large
"Huge" => size.huge
=> size.normal
// Αυτόματη αντιστοίχιση timeframes
getAutoTimeframe() =>
currentTF = timeframe.period
string targetTF = ""
if currentTF == "1"
targetTF := "15"
else if currentTF == "3"
targetTF := "30"
else if currentTF == "5"
targetTF := "60"
else if currentTF == "15"
targetTF := "240"
else if currentTF == "60"
targetTF := "D"
else if currentTF == "240"
targetTF := "W"
else
// Default fallback για μη-mapped timeframes
targetTF := "60"
targetTF
// Μετατροπή timeframe string σε λεπτά για σύγκριση
timeframeToMinutes(tf) =>
float minutes = 0.0
if str.contains(tf, "D")
multiplier = str.tonumber(str.replace(tf, "D", ""))
minutes := na(multiplier) ? 1440.0 : multiplier * 1440.0
else if str.contains(tf, "W")
multiplier = str.tonumber(str.replace(tf, "W", ""))
minutes := na(multiplier) ? 10080.0 : multiplier * 10080.0
else if str.contains(tf, "M")
multiplier = str.tonumber(str.replace(tf, "M", ""))
minutes := na(multiplier) ? 43200.0 : multiplier * 43200.0
else
minutes := str.tonumber(tf)
minutes
// Format countdown σε ώρες:λεπτά:δευτερόλεπτα ή λεπτά:δευτερόλεπτα
formatCountdown(milliseconds) =>
totalSeconds = math.floor(milliseconds / 1000)
hours = math.floor(totalSeconds / 3600)
minutes = math.floor((totalSeconds % 3600) / 60)
seconds = totalSeconds % 60
string result = ""
if hours > 0
result := str.format("{0,number,00}:{1,number,00}:{2,number,00}", hours, minutes, seconds)
else
result := str.format("{0,number,00}:{1,number,00}", minutes, seconds)
result
// Μετατροπή timeframe σε readable format
formatTimeframe(tf) =>
string formatted = ""
if str.contains(tf, "D")
formatted := tf + "aily"
else if str.contains(tf, "W")
formatted := tf + "eekly"
else if str.contains(tf, "M")
formatted := tf + "onthly"
else if tf == "60"
formatted := "1H"
else if tf == "240"
formatted := "4H"
else
formatted := tf + "min"
formatted
// ============================================================================
// MAIN LOGIC
// ============================================================================
// Επιλογή target timeframe βάσει mode
targetTimeframe = mode == "Auto" ? getAutoTimeframe() : customTF
// Validation: Έλεγχος αν το target timeframe είναι μεγαλύτερο από το τρέχον
currentTFMinutes = timeframeToMinutes(timeframe.period)
targetTFMinutes = timeframeToMinutes(targetTimeframe)
var string warningMessage = ""
if targetTFMinutes <= currentTFMinutes
warningMessage := "⚠ HTF < Current TF"
else
warningMessage := ""
// Υπολογισμός του χρόνου κλεισίματος του HTF candle
htfTime = request.security(syminfo.tickerid, targetTimeframe, time)
htfTimeClose = request.security(syminfo.tickerid, targetTimeframe, time_close)
// Υπολογισμός υπολειπόμενου χρόνου σε milliseconds
remainingTime = htfTimeClose - timenow
// Format countdown
countdown = warningMessage != "" ? warningMessage : formatCountdown(remainingTime)
// Format timeframe για εμφάνιση
displayTF = formatTimeframe(targetTimeframe)
// ============================================================================
// TABLE DISPLAY
// ============================================================================
// Δημιουργία table
var table countdownTable = table.new(
position=getTablePosition(tablePos),
columns=2,
rows=2,
bgcolor=transparentBg ? color.new(bgColor, 100) : bgColor,
frame_width=1,
frame_color=color.gray,
border_width=1)
// Update table content
if barstate.islast
// Header
table.cell(countdownTable, 0, 0, "Timeframe:",
text_color=textColor,
bgcolor=transparentBg ? color.new(bgColor, 100) : bgColor,
text_size=getTextSize(textSize))
table.cell(countdownTable, 1, 0, displayTF,
text_color=textColor,
bgcolor=transparentBg ? color.new(bgColor, 100) : bgColor,
text_size=getTextSize(textSize))
// Countdown
table.cell(countdownTable, 0, 1, "Countdown:",
text_color=textColor,
bgcolor=transparentBg ? color.new(bgColor, 100) : bgColor,
text_size=getTextSize(textSize))
table.cell(countdownTable, 1, 1, countdown,
text_color=warningMessage != "" ? color.orange : textColor,
bgcolor=transparentBg ? color.new(bgColor, 100) : bgColor,
text_size=getTextSize(textSize))
// ============================================================================
// END OF SCRIPT
// ============================================================================
All-in-One: EMA, ORB, PM, and Anchored VWAPAll-in-One: EMA, ORB, PM, and Anchored VWAP... ema 9/20/50/100/20 + opening range break + premarket high and lows + vwap all in one indicator enjoy.. all these can be turned on and off if you only want vwap and ema or pm and orb etc..






















