Multitimeframe
CTR Weekly MA TradingI built this simple pine script to help me trade on the lower timeframe (1d) while still showing my key weekly moving averages to help me trade with the macro trend.
Rules for trading...
Steps for taking a Short position:
1. Wait for all 3 weekly moving averages to be in alignment (8EMA<21SMA<50SMA). When these aligned the candles will change to bright red, meaning bearish.
2. Wait for a pullback to the 1 Day 21SMA. When a candle touches the 21SMA, that candle will change color to white. This will be your alert to get ready to enter into a short.
3. On the next candle you can then take a short position as long as that candle is below the 21SMA, if not, wait for the net daily candle to close. If that is below the 21SMA you can then enter into a short on the opening of the next daily candle.
I built this to trade the Bear Market but this same method can also work in a Bull Market but just do the opposite.
Weekly MAs + 1d 21 SMAThis indicator watches for weekly bullish and bearish alignment on your daily chart. It also triggers a long or short when price touches the 1 Day 21 SMA. It helps ensures a high quality trade setup by trading in a lower timeframe (the 1 Day) while working off stronger signals on the 1 Week timeframe, which are the 3 key moving averages (1W 8 EMA, 1W 21SMA, 1W 50SMA).
The trading rule is as followed:
Short Position:
1. Wait for the 1 week moving averages to align bearish (8 EMA < 21 SMA < 50 SMA). All daily candles will then turn bright red.
2. Wait for a pullback to the 1 Day 21 SMA. Once the wick or body touches this SMA, that candle will turn white. This is the signal that will alert you to be ready to enter into a short position.
3.a. If the candle that changed to white is below the 1 Day 21 SMA, you can enter a short position on the opening of the next daily candle.
3.b. If the candle that changed to white is above the 1Day 21 SMA, wait for the close of the next daily candle. If that candle is below the 21 SMA, enter into your short position at the opening of the next daily candle.
For long positions, you do the same as above but in opposite order.
ED by bigmmED by bigmm identifies significant price divergences from the 200-period Exponential Moving Average (EMA) by analyzing closing and opening price extremes. This tool marks the three most recent candles with the largest percentage deviations.
Key Features
EMA200 Analysis: Uses the 200-period Exponential Moving Average as the primary reference level for measuring price deviations
Deviation Calculation: Computes percentage-based deviations for both closing (below EMA) and opening (above EMA) prices
Top 3 Extremes: Identifies and marks only the three most recent maximum deviations for each direction
Visual Simplicity: Uses minimalistic green and red dots for clear visual identification without chart clutter
Historical Analysis: Evaluates the last 1440 bars (approximately 3 years on daily timeframe) to find significant deviation patterns
Recommended Usage
Best used on higher timeframes (H4, D1, W1) for the following reasons:
Reduced Noise: Higher timeframes filter out market noise and provide cleaner deviation signals
Trend Context: EMA200 carries more significance on daily and weekly charts as a major trend indicator
Strategic Signals: Extreme deviations on higher timeframes often correspond to important support/resistance levels and potential reversal zones
Reduced False Signals: Longer timeframes minimize whipsaws and provide more reliable extreme readings
Position Trading: Ideal for swing traders and position traders who base decisions on daily or weekly price action
Multi-Indicator Scoring System# Multi-Indicator Scoring System
## Overview
This indicator combines five technical analysis tools (RSI, MACD, EMA trends, and Volume) into a single unified scoring system that generates clear BUY and SELL signals. Instead of analyzing multiple indicators separately and dealing with conflicting signals, this script calculates one comprehensive 0-100% score that shows current market strength at a glance.
## Purpose and Originality
**Problem it solves:**
Traders using multiple indicators individually often face contradictory signals. For example, RSI might show oversold conditions while MACD indicates bearish momentum, or price is above EMA but volume is weak. This creates confusion and leads to poor trading decisions or missed opportunities.
**Solution:**
This script uses a weighted scoring algorithm that only generates signals when multiple technical components mathematically agree. Each indicator contributes weighted points based on its reliability in crypto markets, and the combined score filters out noise by requiring multi-indicator confirmation before triggering a signal.
**What makes it original:**
Unlike simple indicator overlays that just display multiple tools side-by-side, this script:
- Uses a mathematically weighted scoring system where each component has justified importance
- Requires conditional alignment—signals only appear when components agree, not just individual crossovers
- Normalizes complex multi-indicator data into one intuitive percentage
- Includes built-in volume confirmation to filter low-conviction setups
This approach mirrors professional algorithmic trading systems that use multi-factor quantitative models.
## How Components Work Together
The script analyzes five technical components and assigns weighted points to each:
### 1. RSI (Relative Strength Index) - Weight: 25 points
- **Period:** 14
- **Function:** Identifies overbought and oversold conditions
- **Scoring logic:**
- RSI < 30 (oversold) → +25 points (bullish reversal signal)
- RSI > 70 (overbought) → -25 points (bearish reversal signal)
- RSI between 30-70 → 0 points (neutral)
- **Why 25 points:** RSI is highly reliable for detecting potential reversal zones in cryptocurrency markets
### 2. MACD (Moving Average Convergence Divergence) - Weight: 25 points
- **Parameters:** Fast=12, Slow=26, Signal=9
- **Function:** Detects momentum shifts and trend changes
- **Scoring logic:**
- MACD line > Signal line → +25 points (bullish momentum)
- MACD line < Signal line → -25 points (bearish momentum)
- **Why 25 points:** MACD is the gold standard for momentum confirmation across timeframes
### 3. EMA Short-Term Trend (21 vs 50) - Weight: 25 points
- **Function:** Confirms immediate trend direction
- **Calculation:** Compares EMA 21 to EMA 50, plus price position relative to EMA 21
- **Scoring logic:**
- EMA 21 > EMA 50 AND Price > EMA 21 → +25 points (strong uptrend)
- EMA 21 < EMA 50 AND Price < EMA 21 → -25 points (strong downtrend)
- Mixed conditions → 0 points (no clear trend)
- **Why 25 points:** Short-term trend alignment is critical for accurate entry timing
### 4. EMA Long-Term Context (200) - Weight: 15 points
- **Function:** Validates overall market structure
- **Calculation:** Price position relative to 200-period EMA
- **Scoring logic:**
- Price > EMA 200 → +15 points (bull market context)
- Price < EMA 200 → -15 points (bear market context)
- **Why 15 points:** Lower weight because long-term trend changes more slowly
### 5. Volume Confirmation - Weight: 10 points (Bonus)
- **Function:** Confirms genuine market interest versus noise
- **Calculation:** Current volume compared to 20-period SMA
- **Scoring logic:**
- Volume > 1.5× average → +10 bonus points
- Volume ≤ 1.5× average → 0 bonus points
- **Why 10 points:** Volume adds conviction but shouldn't override technical setup
### Score Aggregation Formula
**Why these thresholds?**
Backtesting on BTC/ETH showed optimal risk/reward at 65/35 levels. Lower thresholds (50%) produce too many false signals, while higher thresholds (80%) miss opportunities. The 65/35 balance provides good sensitivity with acceptable accuracy.
## How to Use This Indicator
### Visual Components
**On Chart:**
- **Green triangle (▲) below candle** = BUY signal (score crossed above 65%)
- **Red triangle (▼) above candle** = SELL signal (score crossed below 35%)
- Clean display with no background colors or extra lines
**Dashboard Table (top-right corner):**
- **Header:** "CRYPTO SIGNAL"
- **SCORE:** Current percentage (0-100%)
- Green color = Bullish zone (65%+)
- Red color = Bearish zone (35%-)
- Orange color = Neutral zone (36-64%)
- **SIGNAL:** Current status (BUY/SELL/WAIT)
### Interpreting the Score
- **70-100% (Strong Bullish):** All or most indicators agree market is going up. Consider long positions.
- **65-69% (BUY Signal Zone):** Enough confirmation for entry. BUY signals trigger here.
- **36-64% (Neutral Zone):** No clear direction. Wait for clearer setup or maintain existing positions.
- **31-35% (SELL Signal Zone):** Enough confirmation for exit. SELL signals trigger here.
- **0-30% (Strong Bearish):** All or most indicators agree market is going down. Avoid longs or consider shorts.
### Step-by-Step Usage
1. **Add to chart:** Click "Add to favorites" then add from your indicators list
2. **Check the score:** Look at the dashboard table in the top-right corner
3. **Wait for signals:**
- Green triangle appears = Consider buying
- Red triangle appears = Consider selling
- No triangle = Wait patiently for clearer setup
4. **Confirm with price action:** Best results when signals appear at support/resistance levels
5. **Use risk management:** Always set stop losses (3-5% below entry for longs)
6. **Set alerts (optional):** Right-click indicator → "Add alert" → Choose "BUY Signal" or "SELL Signal"
### Best Practices
**Recommended Timeframes:**
- **4-Hour (4H):** Best for swing trading, optimal signal frequency (3-7 per month), lowest false signal rate
- **Daily (1D):** Best for position trading, very high reliability, ideal for patient traders
- **1-Hour (1H):** More signals but noisier, only for experienced traders
- **Below 15 minutes:** Not recommended, too many false signals
**Recommended Markets:**
- Bitcoin (BTCUSDT, BTCUSD) - Most reliable
- Ethereum (ETHUSDT, ETHUSD) - Excellent results
- Major altcoins (SOL, XRP, ADA, etc.) - Works well on top 20 by market cap
**Risk Management:**
- Position size: Risk only 1-2% of account per trade
- Stop loss: Place 3-5% below entry (BUY) or above entry (SELL)
- Take profit: Target 2-3× your risk distance
- Trail stops: Move to breakeven after 1:1 profit achieved
**Advanced Tips:**
- Combine signals with support/resistance levels for higher probability setups
- Check multiple timeframes: if 4H and 1D both show BUY, signal is stronger
- Wait for candle close before acting on signals
- Ignore signals against the higher timeframe trend direction
- Only trade signals accompanied by volume spikes (check dashboard)
## Default Settings
The indicator uses pre-optimized parameters based on backtesting:
- RSI Period: 14
- MACD: 12, 26, 9
- EMA Short-term: 21, 50
- EMA Long-term: 200
- Volume threshold: 1.5× average
- Signal thresholds: BUY ≥65%, SELL ≤35%
These settings are designed for cryptocurrency markets on 4H and 1D timeframes and do not require adjustment for most users.
## Limitations and Disclaimers
**What this indicator CANNOT do:**
- Predict black swan events (exchange hacks, major regulations, etc.)
- Work effectively during extreme market manipulation
- Replace proper risk management and stop losses
- Guarantee profits (no indicator can)
- Account for fundamental news (Fed decisions, major announcements)
**When signals may be less reliable:**
- Low volume periods (weekends, holidays)
- High-impact news events
- Extreme volatility (>10% daily price moves)
- Prolonged sideways/ranging markets
**Important warnings:**
- This is a technical analysis tool, not financial advice
- Past performance does not guarantee future results
- Always use stop losses to protect capital
- Test the indicator with small positions first
- Do your own research before trading
## Technical Specifications
- **Pine Script Version:** v5
- **Type:** Overlay indicator
- **Signals:** Non-repainting (confirmed at candle close only)
- **Calculation frequency:** Every bar recalculates based on current values
- **Alerts:** Available for BUY and SELL threshold crossings
- **Resource usage:** Optimized for efficient runtime performance
## Additional Notes
- Signals appear only once when threshold is crossed (no repeated signals during same trend)
- Volume filter helps eliminate low-conviction signals
- Works on any cryptocurrency pair with sufficient liquidity
- Can be combined with other indicators for additional confirmation
- Suitable for both beginners (simple visual signals) and experienced traders (customizable for deeper analysis)
---
**This indicator provides educational value by demonstrating how multi-indicator confirmation systems work and how weighted scoring can reduce false signals compared to using individual indicators alone.**
Rishii's EMA Trend EngineThis indicator is a dual-EMA trend framework designed to improve intraday decision-making by filtering out sideways market noise and highlighting only meaningful trend participation.
It uses a fast and slow EMA to define trend direction, while applying an HLC3-based color logic to show whether price is respecting each EMA. Candles turn green or red only when both the trend alignment and price participation conditions are satisfied. Neutral candles can be shown in white to visually remove noise and make valid candles stand out.
Additional filters such as EMA slope detection and optional higher-timeframe bias help avoid false signals during ranging conditions. A background trend zone and first-candle markers after EMA crossover further improve clarity without cluttering the chart.
How it helps
Clearly shows when the market is trending vs sideways
Highlights only those candles where price is truly participating in the trend
Filters out most whipsaws caused by flat EMAs BITSTAMP:BTCUSD
Combines trend bias, momentum, and participation in one clean view
Caution
This is a trend-following tool, not a reversal indicator.
When EMAs are flat and candles turn white, avoid trading
Do not treat every green/red candle as an entry; wait for proper structure.
Always use proper stop-loss and position sizing.
Fair Value Interest Rate LadderDisplays the remaining interest rate relative to a specific expiration date. Compatible with both ascending and descending price trends (toggleable in Settings). The smooth decay visualization offers better clarity compared to standard daily horizontal levels.
THAI TRENDINGVolume is the total amount of assets traded in a specific period of time. The 24-hour Volume indicator is used to measure the total volume of a symbol traded in the last 24 hours, expressed as in currency. It can be used to measure the market's interest in a particular symbol.
RSI 1H/4H Multi-Level (REPAINT) - Hourly LimitWhat the script does
1) Indicator setup
Creates an overlay indicator named “RSI 1H/4H Multi-Level (REPAINT) - Hourly Limit” (overlay=true), so markers appear on the main price chart.
2) Inputs (user settings)
1 Hour Settings
len1h: RSI length for 1H (default 12)
lowL1h: lower threshold (default 30)
highL1h: upper threshold (default 70)
color1h: dot color for 1H-only triggers (default blue)
4 Hour Settings
len4h: RSI length for 4H (default 12)
lowL4h: lower threshold (default 30)
highL4h: upper threshold (default 70)
color4h: dot color for 4H-only triggers (default orange)
Visuals
showDots: toggle to show/hide dots on the chart
3) RSI calculation from higher timeframes (repainting)
Function:
rsi_htf(tf, length) uses request.security() to compute RSI from a higher timeframe:
gaps_off merges gaps smoothly
lookahead_on allows future higher-timeframe values to appear on earlier bars → repainting behavior
It calculates:
rsi1h = 1H RSI
rsi4h = 4H RSI
4) Alert frequency control (once per hour)
lastAlertHour stores the timestamp of the last alerted hourly candle start.
currentHourStart = time("60") gets the start time of the current 1-hour candle.
canAlert = currentHourStart > lastAlertHour ensures the script can only trigger once per new hour.
5) Cross conditions
Uses ta.cross() to detect RSI crossing either level (in either direction):
c1L: 1H RSI crosses the 1H lower level
c1H: 1H RSI crosses the 1H upper level
c4L: 4H RSI crosses the 4H lower level
c4H: 4H RSI crosses the 4H upper level
Then:
fire1h is true if either 1H cross happens
fire4h is true if either 4H cross happens
trigger is true if (1H or 4H cross) AND canAlert is true
6) Alert message and timer update
When trigger is true:
Updates lastAlertHour to the current hour start (blocks further alerts that hour)
Builds an English message indicating which timeframe(s) crossed and includes RSI values
Sends an alert with alert.freq_once_per_bar_close (one per bar close)
7) Chart visualization (dots)
Chooses dot color:
white if both 1H and 4H crossed within the allowed hour
color1h if only 1H crossed
color4h if only 4H crossed
Plots a small circle below the bar when showDots and trigger are true.
MTF Trend MAs (H1+H4) MTF Trend MAs (H1+H4) — per-line styles
This indicator plots three trend moving averages (20 / 50 / 200) from two higher timeframes (H1 and H4) directly on your current chart. It is designed to help you monitor multi-timeframe dynamic support/resistance levels and overall trend structure without switching charts.
Features
Multi-timeframe overlay
Plots H1 and H4 moving averages on any chart timeframe.
Three MA sets
Fast: 20
Mid: 50
Slow: 200
Configurable MA types
Choose the calculation type for each MA length: EMA / SMA / WMA / RMA.
Independent visibility toggles
Enable/disable each individual line:
H1 20 / 50 / 200
H4 20 / 50 / 200
Per-line styling
For every MA and timeframe you can set:
Color
Line width
Line style (Solid / Dashed / Dotted)
Notes / Limitations
The script uses request.security(..., lookahead_off) to avoid repainting from future data.
TradingView plot() does not support true dashed/dotted line rendering like line.new().
In this script the style options are approximations:
Solid = normal line
Dashed = linebr (broken/stepped appearance)
Dotted = circles
If you need true dashed/dotted styles, the indicator can be rewritten using line.new() for real line styles.
RSI 1H/4H Multi-Level (REPAINT) - Hourly LimitRSI 1H/4H Multi-Level (REPAINT) – Hourly Limit is a Pine Script v5 indicator designed to monitor RSI level crossings on two higher timeframes (1H and 4H) while controlling alert frequency to avoid spam. The script can display visual dots on the chart and trigger a single consolidated alert message when either timeframe’s RSI crosses user-defined levels—limited to once per hour.
Key features
1) Dual timeframe RSI monitoring (1H + 4H)
Calculates RSI on 1-hour (60) and 4-hour (240) timeframes independently.
Each timeframe has its own configurable settings:
RSI Length
Lower level (commonly oversold, e.g., 30)
Upper level (commonly overbought, e.g., 70)
Dot color for chart marking
2) Multi-level cross detection
The indicator tracks when RSI crosses either boundary level:
1H RSI crosses its Lower or Upper level
4H RSI crosses its Lower or Upper level
A trigger occurs if any of these crossings happens.
3) Hourly alert limiter (anti-spam)
To prevent repeated alerts, the script includes an hourly cooldown:
It stores the start time of the last hour when an alert was fired.
A new alert can only fire when the current hour start time is greater than the last recorded one.
Result: maximum 1 alert per hour, even if multiple crossings occur within the same hour.
4) Consolidated alert message
When triggered, the script builds a single message that can include:
1H RSI value if the 1H crossing occurred
4H RSI value if the 4H crossing occurred
Example message format:
1H RSI (52.34) crossed level; 4H RSI (48.10) crossed level;
5) On-chart visualization with priority coloring
If enabled, the script plots a dot below the bar on trigger:
White dot if both 1H and 4H signals fired in the same hour
1H color if only 1H fired
4H color if only 4H fired
Important note: REPAINT behavior
This indicator intentionally uses request.security(..., lookahead=barmerge.lookahead_on), meaning it can repaint because it references higher-timeframe data with lookahead enabled. As a result:
Cross signals may appear earlier than they would in a non-repainting implementation.
Signals can change as the higher timeframe candle evolves.
Typical use cases
Monitoring overbought/oversold zone transitions on higher timeframes while trading lower timeframes.
Receiving fewer, cleaner alerts thanks to the hourly limit.
Quickly identifying whether a signal came from 1H, 4H, or both using dot colors.
[AboBassel] RS + RS.ROC + Inverted ATR (Unified Channel)
This is a multi-indicator channel tool combining Relative Strength (RS), RS Rate of Change (RS.ROC), and Inverted ATR Percentage (ATRP) into a single unified channel for clear visual trend analysis.
Features:
• All three lines are normalized into one visual channel with five distinctive threshold levels (Upper/Lower Curbs, Inner Bands, and Middle).
• RS , ATR , ROC Lines all are invertable for better follow up on trends
• RS.ROC period and timeframe are editable independently from RS.
• ATR time frame and lookback period are fully adjustable.
• Channel thresholds are fully editable. Lines can exceed upper/lower curbs, showing extreme conditions.
• Suitable for trend detection, swing trading, and risk assessment.
Usage Tips:
• Look for lines crossing bands or curbs for potential trade setups.
• Observe background color for overall market sentiment.
• Major blue arrows indicate strong shifts in trend direction.
Ideal For: Swing traders, trend followers, and advanced technical analysts who want combined momentum, volatility, and relative strength insights in a single chart.
MTF EMA Traffic Light System Trend Alignment for ScalpersMTF EMA Traffic Light – Trend Bias System
This indicator is designed to help traders quickly identify high-probability trend alignment using multiple timeframes and EMAs.
It analyzes price relative to the 13 EMA and 55 EMA on:
1 Minute
5 Minute
15 Minute
1 Hour
4 Hour
Then it converts that data into a simple Traffic Light system to guide trade decisions.
🚦 How It Works
Each timeframe is classified as:
🟢 BULL – Price above both EMAs
🔴 BEAR – Price below both EMAs
🟡 MIXED – No clear direction
The system focuses on lower-timeframe alignment:
When 1m + 5m + 15m are aligned → Strong setup
When mixed → Caution
When misaligned → Stand aside
🟢 GREEN State (Full Trade Mode)
Triggered when:
✔ 1m, 5m, and 15m are all BULL → Long Bias
✔ 1m, 5m, and 15m are all BEAR → Short Bias
Rules:
Full position size
Trade with trend
Look for EMA pullbacks
Let winners run
🟡 YELLOW State (Caution Mode)
Triggered when:
✔ Lower timeframes are mixed
Rules:
Reduce size
Take quick profits
No holding
Defensive trading
🔴 RED State (No Trade)
Triggered when:
✔ No clear alignment
Rules:
Stay out
Mark key levels
Protect capital
📋 Dashboard Panel
The indicator displays a real-time table showing:
Each timeframe’s bias
Overall market state
Trade rules
This allows you to read market structure in seconds without switching charts.
🎯 Best Use
This tool works best for:
✔ Scalping
✔ Intraday trading
✔ Trend continuation setups
✔ EMA pullback strategies
Recommended for:
Forex
Indices
Gold
Crypto
⚠️ Risk Disclaimer
This indicator is a decision-support tool, not a guarantee of profits.
Always use:
Proper risk management
Stop losses
Personal trade rules
Never risk more than you can afford to lose.
Best Buying & Selling Flip Zone @MaxMaserati 3.0Best Buying & Selling Flip Zone 3.0 🐂🐻
Best Buying & Selling Flip Zone 3.0 is an advanced, multi-timeframe Price Action tool designed to identify high-probability institutional supply and demand zones.
By analyzing candle range and body size (Expander vs. Normal candles), this indicator categorizes market structure shifts into three distinct tiers of strength (A+++, A++, A+). It includes a built-in Trade Manager, Volume Tracking, and a unique "Defender/Attacker" Multi-Timeframe (MTF) entry confirmation system.
🚀 Key Features
Multi-Timeframe Analysis: Monitor Higher Timeframe (HTF) zones while trading on a Lower Timeframe (LTF).
Tiered Setup Grading: Automatically classifies zones based on the strength of the candle engulfing action (King Slayer, Crusher, Drift).
Smart Entry Confirmation: The script can wait for price to tap an HTF zone and then automatically search for a confirmation pattern on the current timeframe before signaling a trade.
Built-in Trade Management: Visualizes Entry, Stop Loss (SL), and Take Profit (TP) levels with customizable Risk:Reward ratios.
Volume Tracking: Monitors the volume utilized to create a zone and tracks "remaining" volume as price tests the zone.
Zone Deletion Logic: Automatically removes zones that have been invalidated by either a wick or a candle close.
🧠 How It Works: The "A-Grade" Logic
The indicator analyzes candles based on their body-to-range ratio to define "Expander" (Explosive move) vs. "Normal" candles. It then looks for engulfing behaviors to create zones:
A+++ (King Slayer):
Logic: A Bullish Expander engulfs a Bearish Expander (or vice versa).
Significance: This is the strongest signal, indicating a massive shift in momentum where aggressive buyers completely overwhelmed aggressive sellers.
A++ (Crusher):
Logic: A Bullish Expander engulfs a Bearish Normal candle.
Significance: Strong momentum overcoming standard price action. High probability.
A+ (Drift):
Logic: A Bullish Normal candle engulfs a Bearish Normal candle.
Significance: A standard flip zone. Good for continuation plays but less aggressive than KS or CR setups.
🛠️ Functionality Guide
1. General Filters & Timeframes
Higher Timeframe: Select a timeframe higher than your chart (e.g., Select 4H while trading on 15m). The indicator will draw the major zones from the 4H.
Deletion Logic:
Wick (Hard): Zone is removed immediately if price touches the invalidation level.
Close (Soft): Zone is removed only if a candle closes past the invalidation level.
2. LTF Entry Confirmation (The "Master" Switch)
When Show LTF Entry Logic is enabled, the indicator does not signal immediately upon an HTF zone creation. Instead:
It waits for the price to retraced and touch the HTF zone.
Once touched, it scans the current timeframe for a valid flip setup (KS, CR, or DR).
It creates a tighter entry box and draws trade lines only when this confirmation occurs.
3. Trade Management
Risk:Reward: Set your desired RR (e.g., 2.0).
SL Padding: Add breathing room (ticks) to your Stop Loss.
SL Source: Choose between a safer Stop Loss (based on the HTF zone) or a tighter Stop Loss (based on the LTF confirmation candle).
4. Volume Stats
Labels display the volume involved in the zone's creation. As price taps the zone, the volume is "depleted" from the label, giving you insight into the remaining order flow absorption.
🎨 Visual Customization
Colors: Fully customizable colors for Buyers (Green) and Sellers (Red) zones across all three strength tiers.
Labels: Toggle technical names, touch counts, and timeframe labels.
Lines: Option to show "Aggressive Open Lines" to mark the exact opening price of the flip zone extended forward.
⚠️ Disclaimer
This tool is for educational purposes and chart analysis assistance only. Past performance of a setup (A+++/King Slayer) does not guarantee future results. Always manage risk and use this in conjunction with your own trading strategy.
DANI _ MTF Pullback StrategyMTF Pullback - RSI Panel Summary
Purpose: Companion indicator for the main strategy that displays RSI with divergence detection in a separate pane below the price chart.
Settings
ParameterDefaultDescriptionRSI Length14Lookback period for RSI calculationRSI Oversold Level30Threshold for oversold conditionRSI Overbought Level70Threshold for overbought conditionDivergence Lookback Bars10How many bars to look back for divergence detection
What It Displays
RSI Line — Changes color based on zone:
Purple = neutral (between 30-70)
Green = oversold (below 30)
Red = overbought (above 70)
Horizontal Levels:
Red dashed line at 70 (overbought)
Green dashed line at 30 (oversold)
Gray dotted line at 50 (midpoint)
Zone Fills:
Light red shading above 70
Light green shading below 30
Divergence Markers:
"DIV" label with lime circle = bullish divergence (price makes lower low, RSI makes higher low while oversold)
"DIV" label with fuchsia circle = bearish divergence (price makes higher high, RSI makes lower high while overbought)
Background Flash:
Green flash when bullish divergence detected
Red flash when bearish divergence detected
Divergence Logic
Bullish: Price makes a lower low AND RSI makes a higher low AND RSI is in oversold territory → potential reversal up
Bearish: Price makes a higher high AND RSI makes a lower high AND RSI is in overbought territory → potential reversal downand for the strategy15:36Outlined strategy script components and display mechanics.The user wants a summary of the main strategy script, similar to what I provided for the RSI panel. I should cover the purpose, settings, entry conditions, exit conditions, and what it displays on the chart.MTF Pullback Strategy Summary
Purpose: Multi-timeframe pullback strategy that trades trend continuations. Uses 4H timeframe for trend direction and entry timeframe (typically 15M) for precise entries based on RSI divergence and engulfing patterns.
Settings
ParameterDefaultDescriptionTimeframesHigher Timeframe240 (4H)Timeframe for trend detectionTrend FilterEMA Length50EMA period for trend directionRSIRSI Length14RSI calculation periodRSI Oversold Level30Long entry RSI thresholdRSI Overbought Level70Short entry RSI thresholdDivergence Lookback10Bars to scan for divergenceSwing DetectionSwing Lookback5Bars left/right to confirm swingRisk ManagementATR Length14ATR calculation periodStop Loss ATR Multiplier2.0SL = 2× ATR from entryTake Profit %2.0TP = entry ± 2%Trade DirectionTrade LongstrueEnable long tradesTrade ShortstrueEnable short trades
Entry Conditions
Long Entry (all must be true):
4H uptrend (price above 50 EMA + EMA rising)
Current price above 4H 50 EMA
Price pulling back from recent 4H swing high
RSI oversold (<30) or below 40
Bullish RSI divergence OR RSI turning up from oversold
Bullish engulfing candle at or within 2 bars after swing low
Short Entry (all must be true):
4H downtrend (price below 50 EMA + EMA falling)
Current price below 4H 50 EMA
Price pulling back from recent 4H swing low
RSI overbought (>70) or above 60
Bearish RSI divergence OR RSI turning down from overbought
Bearish engulfing candle at or within 2 bars after swing high
Exit Conditions
Exit TypeLongShortStop LossEntry - (2 × ATR)Entry + (2 × ATR)Take ProfitEntry × 1.02 (+2%)Entry × 0.98 (-2%)
What It Displays
On Chart:
Blue line = 4H 50 EMA
Green triangle below bar = long entry signal
Red triangle above bar = short entry signal
Green background tint = 4H uptrend active
Red background tint = 4H downtrend active
Info Table (top right):
FieldShows4H TrendUP ↑ / DOWN ↓ / NEUTRALPrice vs EMAABOVE / BELOWPullback LYES/NO (long pullback active)Pullback SYES/NO (short pullback active)Bull DivYES/NO (bullish divergence)Bear DivYES/NO (bearish divergence)
Strategy Logic Flow
4H TREND CHECK
↓
PRICE VS 50 EMA
↓
PULLBACK DETECTED?
↓
RSI CONDITION MET?
↓
RSI DIVERGENCE?
↓
ENGULFING AT SWING?
↓
ENTRY → SL (2×ATR) + TP (2%)
Alerts Available
Long Entry Signal — Triggers when all long conditions align
Short Entry Signal — Triggers when all short conditions align
Recommended Usage
Apply to 15-minute chart (fetches 4H data automatically)
Use alongside the RSI Panel indicator for visual confirmation
Backtest on trending pairs/assets (crypto, forex majors, indices)
Adjust ATR multiplier if stops are too tight/wide for your asset
DANI _ MTF Pullback - RSI PanelMTF Pullback - RSI Panel Summary
Purpose: Companion indicator for the main strategy that displays RSI with divergence detection in a separate pane below the price chart.
Settings
ParameterDefaultDescriptionRSI Length14Lookback period for RSI calculationRSI Oversold Level30Threshold for oversold conditionRSI Overbought Level70Threshold for overbought conditionDivergence Lookback Bars10How many bars to look back for divergence detection
What It Displays
RSI Line — Changes color based on zone:
Purple = neutral (between 30-70)
Green = oversold (below 30)
Red = overbought (above 70)
Horizontal Levels:
Red dashed line at 70 (overbought)
Green dashed line at 30 (oversold)
Gray dotted line at 50 (midpoint)
Zone Fills:
Light red shading above 70
Light green shading below 30
Divergence Markers:
"DIV" label with lime circle = bullish divergence (price makes lower low, RSI makes higher low while oversold)
"DIV" label with fuchsia circle = bearish divergence (price makes higher high, RSI makes lower high while overbought)
Background Flash:
Green flash when bullish divergence detected
Red flash when bearish divergence detected
Divergence Logic
Bullish: Price makes a lower low AND RSI makes a higher low AND RSI is in oversold territory → potential reversal up
Bearish: Price makes a higher high AND RSI makes a lower high AND RSI is in overbought territory → potential reversal down
Key Levels - Prop Trader JourneyKey Levels – Prop Trader Journey (Intraday Levels + Clean Right-Side Layout)
This indicator plots session-based reference levels commonly used for intraday futures/stocks, with a focus on clean chart layout and label collision handling.
What it plots (toggle each on/off)
Today’s RTH High/Low (TDH/TDL)
Opening Range High/Low (ORH/ORL) based on the first N minutes after RTH open
Pre-Market High/Low (PMH/PML) based on the premarket session window
First Hour High/Low (1HH/1HL) based on the first N minutes after RTH open
Yesterday’s RTH High/Low (YDH/YDL) captured at the next RTH open
RTH Open price
RTH Average line (AVG) using a selectable source (HL2 / HLC3 / OHLC4 / HLCC4)
This Week / Last Week levels (O/H/L/C + Avg) from the weekly timeframe
Optional Session Open level at a configurable time (default 18:00 NY)
2 Custom price levels (optional extend-left)
How levels are calculated (high level)
The script detects whether the current bar is inside RTH / Pre-Market / Opening Range / First Hour using your chosen time zone and session templates.
High/Low levels update in real time while inside each session window. Premarket levels are cached so they remain visible after premarket ends.
Weekly levels are pulled from the weekly timeframe to provide higher-timeframe context.
Display modes
Compact mode: levels are drawn in a compact “right-side” layout using a configurable right offset and line length.
Pivot mode: levels originate from the bar where the level was established/updated and extend toward the right.
Label collision handling (the “unique” part)
When multiple levels are close together, labels can overlap. This script supports:
Merge: combine nearby levels into one label within a tick threshold
Stack: show separate labels stacked vertically
Merge + Stack (4+): merge normally, but stack when there are many levels
This helps visualize confluence/stacked zones without clutter.
Customization
Every level has its own color / line style / width controls. Labels have adjustable text/bg/size, and custom levels can extend left by a user-defined number of bars.
How to use with you trade
Use these levels as reaction areas (support/resistance, rejection, breakout/retest). When labels “stack” or multiple names appear merged at similar prices, that signals confluence—often a more important zone than a single level.
Daily 10 & 20 EMA (Shown on All Timeframes)The 10-day EMA is the quicker one. It hugs price closely, reacting fast to every twitch and hesitation. When price respects it, momentum feels alive. When price slices through it, you sense hesitation before it shows up elsewhere.
The 20-day EMA moves with more weight. It doesn’t flinch at noise. It represents the market’s short-term memory, the line price keeps returning to when trends are healthy. Above it, bias feels constructive. Below it, gravity takes over.
Together, they form a rhythm pair:
When the 10 EMA rides above the 20 EMA, the market is leaning forward.
When the 10 EMA sinks below the 20 EMA, momentum is cooling or rolling over.
When price compresses between them, indecision is building energy.
Across all timeframes, they scale like a fractal:
On lower timeframes, they act as tactical guides for entries, pullbacks, and exits.
On higher timeframes, they define structure, trend health, and whether moves are worth trusting.
They don’t predict. They contextualize.
They don’t command. They frame the battlefield
Horizontal EMAs9, 20, 50, 100, 200 EMA's displayed horizontally. Turn each on/off individually displaying on the 15M, 1H, 4H, and 1D time frames.
House Rules SuperTrend Strategy (ATR-Based, Non-Repainting)📝 DESCRIPTION
Overview
The House Rules SuperTrend Strategy is a clean, rule-based trading strategy built using Pine Script® v6.
It is designed for transparent backtesting, non-repainting signals, and simple trend-following execution across all markets and timeframes.
This strategy uses TradingView’s built-in SuperTrend indicator, which is derived from Average True Range (ATR), to identify trend direction changes and generate long and short trades.
How the Strategy Works
Long Entry
A long position is opened when the SuperTrend flips from bearish to bullish
This confirms a potential upward trend shift
Short Entry
A short position is opened when the SuperTrend flips from bullish to bearish
This confirms a potential downward trend shift
Exits
Positions are closed when either:
The opposite SuperTrend signal appears, or
The ATR-based Stop Loss or Take Profit is reached (if enabled)
All signals are calculated on confirmed candle closes only, ensuring accurate and fair backtesting.
Risk Management
Optional ATR-based Stop Loss
Optional ATR-based Take Profit
Position sizing based on percentage of equity
Commission included for realistic performance results
All parameters are user-adjustable from the settings panel.
Backtesting & Transparency
This is a strategy, not an indicator
No repainting
No future data usage
No hidden filters
No lookahead bias
Fully compatible with TradingView’s Strategy Tester
Users are encouraged to test different symbols, timeframes, and parameter values to suit their trading style.
Recommended Use
This strategy can be used on:
Cryptocurrencies
Forex
Stocks
Indices
Futures
It performs best in trending market conditions and may underperform during low-volatility or ranging markets.
Disclaimer
This script is provided for educational and research purposes only.
It is not financial advice. Always test and validate strategies before using them in live trading.
Forex Sessions UTC + customise (DST Support)This Pine Script is designed to highlight forex trading sessions on a TradingView chart, showing which session (Asia, London, New York, Frankfurt, Sydney) is active based on your selected timezone offset and daylight saving time (DST) settings. It also includes an option to highlight session overlaps, like the London-New York and Asia-London overlaps.
Let's break down the script in detail:
### 1. **Inputs**:
* **`timezoneOffset`**:
* This input allows you to select your local timezone offset in hours relative to UTC (e.g., -2 for UTC-2 or +3 for UTC+3). It helps adjust the session times based on your local time.
* **`isDST`**:
* A boolean input that determines if Daylight Saving Time (DST) is active or not. If DST is enabled, the session times will be adjusted by one hour.
### 2. **Function: `timeInDailyRange`**:
This function checks if the current time (bar) is within a given session's start and end time.
* **`startH, startM`**: Start time of the session (hours and minutes).
* **`endH, endM`**: End time of the session (hours and minutes).
* **`tzOffset`**: The timezone offset in hours (which adjusts the start and end times for different regions).
The function handles sessions that cross over midnight. For example, the Asia session starts at 23:00 UTC and ends at 07:00 UTC, so it checks if the current time falls within that period.
### 3. **Session Times (in UTC)**:
Each trading session has specific times defined in UTC:
* **Asia Session**: 23:00 UTC to 07:00 UTC
* **London Session**: 08:00 UTC to 16:00 UTC
* **New York Session**: 13:00 UTC to 21:00 UTC
* **Frankfurt Session**: 07:00 UTC to 15:00 UTC
* **Sydney Session**: 21:00 UTC to 05:00 UTC
These times are defined in 24-hour format, and they represent the opening and closing hours for each market.
The script uses specific colors to represent different sessions:
* **Asia**: Yellow (`asiaColor`)
* **London**: Red (`londonColor`)
* **New York**: Navy Blue (`nyColor`)
* **Frankfurt**: Blue (`frankfurtColor`)
* **Sydney**: Green (`sydneyColor`)
* **Overlaps**:
* London-NY overlap: Purple (`overlapLN`)
* Asia-London overlap: Orange (`overlapAL`)
These colors are used to highlight the background during active sessions.
### 5. **Session Highlighting**:
The script uses the `bgcolor` function to change the background color of the chart when a session is active.
* For each session, it checks whether the current time (bar) falls within the session's time range (adjusted by the `timezoneOffset`).
* If a session is active, it will highlight the chart background in the corresponding session color.
### 6. **Overlaps**:
* **London-NY Overlap**: The script checks if both the London session and the New York session are active at the same time (i.e., if their time ranges overlap). If so, it highlights the overlap area in purple.
* **Asia-London Overlap**: Similarly, the script checks if both the Asia and London sessions are active at the same time, and if so, it highlights the overlap area in orange.
### 7. **Daylight Saving Time (DST) Adjustment**:
* If the **`isDST`** flag is enabled (i.e., DST is active), the script adjusts the session start and end times by adding one hour to each session. This is because during DST, trading hours shift by one hour (usually in regions that observe DST).
* This adjustment is applied to all session times, so the script accounts for the time change and ensures that the session times are correctly displayed.
### 8. **Final Background Color Logic**:
* The `bgcolor` function checks whether each session is active by calling `timeInDailyRange` for each session and then colors the chart accordingly.
* It also checks for overlapping sessions and colors the chart with the appropriate overlap color.
### Example Scenario:
1. **Timezone Offset**: If you select `timezoneOffset = 3` (UTC+3), the session times will be adjusted by adding 3 hours to the start and end times.
2. **Daylight Saving Time (DST)**: If `isDST = true` is selected, the session start times will shift by 1 hour forward (e.g., 23:00 UTC becomes 00:00 UTC for Asia).
3. **Visual Outcome**: The chart will display different colors in the background depending on which trading session is active (e.g., red for London, navy for New York), and purple or orange for overlap sessions.
### Key Features:
* **Customizable Timezone Offset**: Adjust session times to reflect your local timezone.
* **Daylight Saving Time Support**: Automatically adjusts session times during DST.
* **Highlighting Sessions**: Color the chart background to visualize when different trading sessions are active.
* **Overlap Highlighting**: Highlights the periods when certain sessions overlap (London-NY, Asia-London).
In summary, this script is useful for traders who want to visually see when different forex trading sessions are active on the chart, with flexibility for timezone and DST adjustments.






















