Volume Area 80 Rule Pro - Adaptive RTHSummary in one paragraph
Adaptive value area 80 percent rule for index futures large cap equities liquid crypto and major FX on intraday timeframes. It focuses activity only when multiple context gates align. It is original because the classic prior day value area traverse is fused with a daily regime classifier that remaps the operating parameters in real time. 
Scope and intent
• Markets. ES NQ SPY QQQ large cap equities BTC ETH major FX pairs and other liquid RTH instruments
• Timeframes. One minute to one hour with daily regime context
• Default demo used in the publication. ES1 on five minutes
• Purpose. Trade only the balanced days where the 80 percent traverse has edge while standing aside or tightening rules during trend or shock
Originality and usefulness
• Unique fusion. Prior day value area logic plus a rolling daily regime classifier using percentile ranks of realized volatility and ADX. The regime remaps hold time end of window stop buffer and value area coverage on each session
• Failure mode addressed. False starts during strong trend or shock sessions and weak traverses during quiet grind
• Testability. All gates are visible in Inputs and debug flags can be plotted so users can verify why a suggestion appears
• Portable yardstick. The regime uses ATR divided by close and ADX percent ranks which behave consistently across symbols
Method overview in plain language
The script builds the prior session profile during regular trading hours. At the first regular bar it freezes yesterday value area low value area high and point of control. It then evaluates the current session open location the first thirty minute volume rank the open gap rank and an opening drive test. In parallel a daily series classifies context into Calm Balance Trend or Shock from rolling percentile ranks of realized volatility and ADX. The classifier scales the rules. Calm uses longer holds and a slightly wider value area. Trend and Shock shorten the window reduce holds and enlarge stop buffers.
Base measures
• Range basis. True Range smoothed over a configurable length on both the daily and intraday series
• Return basis. Not required. ATR over close is the unit for regime strength
Components
• Prior Value Area Engine. Builds yesterday value area low value area high and point of control from a binned volume profile with automatic TPO fallback and minimum integrity guards
• Opening Location. Detects whether the session opens above the prior value area or below it
• Inside Hold Counter. Counts consecutive bars that hold inside the value area after a re entry
• Volume Gate. Percentile of the first thirty minutes volume over a rolling sample
• Gap Gate. Percentile rank of the regular session open gap over a rolling sample
• Drive Gate. Opening drive check using a multiple of intraday ATR
• Regime Classifier. Percentile ranks of daily ATR over close and daily ADX classify Calm Balance Trend Shock and remap parameters
• Session windows optional. Windows follow the chart exchange time
Fusion rule
Minimum satisfied gates approach. A re entry must hold inside the value area for a regime scaled number of bars while the volume gap and drive gates allow the setup. The regime simultaneously scales value area coverage end minute time stop and stop buffer.
Signal rule
• Long suggestion appears when price opens below yesterday value area then re enters and holds for the required bars while all gates allow the setup
• Short suggestion appears when price opens above yesterday value area then re enters and holds for the required bars while all gates allow the setup
• WAIT shows implicitly when any required gate is missing
• Exit labels mark target touch stop touch or a time based close
Inputs with guidance
Setup
• Signal timeframe. Uses the chart by default
• Session windows optional. Start and end minutes inside regular trading hours
• Invert direction is not used. The logic is symmetric
Logic
• Hold bars inside value area. Typical range 3 to 12. Raising it reduces trades and favors better traverses. Lowering it increases frequency and risk of false starts
• Earliest minute since RTH open and Latest minute since RTH open. Typical range 0 to 390. Reducing the latest minute cuts late session trades
• Time stop bars after entry. Typical range 6 to 30. Larger values give setups more room
Filters
• Value area coverage. Typical range 0.70 to 0.85. Higher coverage narrows the traverse but accepts fewer days
• Bin size in ticks. Typical range 1 to 8. Larger bins stabilize noisy profiles
• Stop buffer ticks beyond edge. Typical range 2 to 20. Larger buffers survive noise
• First thirty minute volume percentile. Typical range 0.30 to 0.70. Higher values require more active opens
• Gap filter percentile. Typical range 0.70 to 0.95. Lower values block more gap days
• Opening drive multiple and bars. Higher multiple or longer bars block strong directional opens
Adaptivity
• Lookback days for regime ranks. Typical 150 to 500
• Calm RV percentile. Typical 25 to 45
• Trend ADX percentile. Typical 55 to 75
• Shock RV percentile. Typical 75 to 90
• End minute ratio in Trend and Shock. Typical 0.5 to 0.8
• Hold and Time stop scales per regime. Use values near one to keep behavior close to static settings
Realism and responsible publication
• No performance claims. Past results never guarantee future outcomes
• Shapes can move while a bar forms and settle on close
• Sessions use the chart exchange time
Honest limitations and failure modes
• Economic releases and thin liquidity can break the balance premise
• Gap heavy symbols may work better with stronger gap filters and a True Range focus
• Very quiet regimes reduce signal contrast. Consider longer windows or higher thresholds
Legal
Education and research only. Not investment advice. Test in simulation before any live use.
Wskaźniki i strategie
Gann Angles by Calendar DateA script that draws Gann angles. 1x1/1x2/1x3/1x4/1x8
Manually enter the date and price.
Gann often wrote that if the price is above the 1x1 angle, the trend is strong. If it is below, the trend is weak.
Preference is given to charts with trading days.
The color of the angles can be changed as desired.
MTC – Multi-Timeframe Trend ConfirmatorMTC – Multi-Timeframe Trend Confirmator 
The Ultimate Multi-Timeframe Trend Analysis Tool
MTC v6 is a comprehensive trend confirmation indicator that analyzes market conditions across multiple timeframes simultaneously. It combines six powerful technical indicators to give you a clear, visual representation of trend strength and direction.
🎯 Key Features
Visual Trend Gauge
Real-time trend strength display for 3 customizable timeframes
Progressive bar visualization (fills from left to right)
Color-coded signals: 🟢 Green (Bullish) | 🔴 Red (Bearish) | 🟡 Yellow (Ranging)
Score range: -10 to +10 for precise trend measurement
Multi-Indicator Analysis
The indicator combines 6 proven technical tools:
EMA 200 – Long-term trend direction
SMA 50/200 – Golden/Death cross signals
RSI 14 – Momentum confirmation
MACD – Trend strength validation
ADX (>25) – Trend intensity measurement (2x weight)
Supertrend – Dynamic support/resistance (2x weight)
⚙️ Customization Options
Flexible Timeframes: Set any timeframes you prefer (default: 15M, 1H, 4H)
Adjustable Gauge Size: Small, Medium, or Large display
Toggle Indicators: Enable/disable any of the 6 technical indicators
Supertrend Settings: Customize factor and ATR period
Built-in Alerts: Get notified when trends confirm
📈 How to Use
Score Interpretation:
Score > +2 = Bullish trend
Score < -2 = Bearish trend
Score between -2 and +2 = Ranging/Neutral
Multi-Timeframe Confirmation:
Look for alignment across timeframes for strongest signals
Higher timeframes confirm the overall trend direction
Lower timeframes help with precise entry timing
Visual Background:
Green background = Confirmed uptrend (Higher + Mid TF aligned)
Red background = Confirmed downtrend (Higher + Mid TF aligned)
💡 Perfect For
Swing traders seeking trend confirmation
Day traders analyzing multiple timeframes
Position traders validating long-term trends
Anyone who wants clear, visual trend analysis
Trade with confidence. Trade with confirmation. Trade with MTC 
-Natantia
Session Dominator — Asia • London • New York Precision ZonesRule the global market sessions.
Session Dominator is a precision-engineered indicator built for traders who want total clarity across Asia, London, and New York sessions.
It automatically plots:
🔷 Dynamic Session Boxes — visually map institutional killzones in real time
⚙️ Session Mean Line — track equilibrium and liquidity shifts
📊 EMA-50 Confluence — align directional bias and intraday trend
🎯 BSL / SSL Levels — reveal active liquidity sweeps and reversals
💡 Bias Engine — evaluates structure and locks the session bias automatically
Toggle between Asia / London / New York / Overlap / Custom modes to dominate any timezone.
Designed with minimalist visuals, high precision, and ICT-based logic — this tool helps you anticipate where liquidity will be taken before it happens.
✳️ For XAUUSD traders, scalpers, and ICT-style analysts seeking sniper-level clarity.
RAFEN-G - Kill Zones & Institutional Gaps🔍 What It Does
Kill Zones (KZ1, KZ2, KZ3)
Automatically highlights the main intraday liquidity windows such as the London open, NY AM, and NY PM sessions — customizable by time, color, and transparency.
Perfect for timing setups, identifying liquidity sweeps, or backtesting session behavior.
Institutional GAP Detection (NY 11:00 → 03:00)
Anchored on the New York H1 clock, the script automatically draws the “institutional gap” between the 11:00 close and the 03:00 open of the next trading day.
Each gap is drawn as a transparent box with a label showing its size in price units.
Dynamic Cleanup & Color Updates
Automatically removes old boxes beyond your chosen history limit and keeps all visuals perfectly synchronized in real-time.
⚙️ Key Features
3 fully independent and editable Kill Zones
Adjustable timezone (default: America/New_York)
Works on all intraday timeframes
Auto-management of historical data
Clean and lightweight visuals (up to 2000 boxes)
Real-time color and transparency updates
Alerts when each Kill Zone starts
🧠 Ideal For
Traders using ICT, SMC, or institutional frameworks who want clear visual separation of market sessions and automatic tracking of session-to-session gaps for confluence or imbalance analysis.
🕐 Recommended Use
Apply on 5 min / 15 min / 1 h charts, align timezone to NYC, and combine with liquidity or FVG tools for maximum insight.
MTF VFSMA SqueezeThe purpose of this indicator is to detect a market squeeze (lack of volatility) period and to identify the initiation and direction of the breakout.
 It is based on Variety-Filtered, Squeeze Moving Averages   indicator.  
 The original indicator created by Loxx identifies both squeeze zones and breakouts/breakdowns. A squeeze zone is defined when price is below a specific volatility threshold calculated as the difference between a fast- and slow-moving average and filtered using ATR- or Pips-based threshold. 
 It operates on a single timeframe and  includes Loxx's Expanded Source Types, signals, alerts, etc. and 35+ Loxx's Moving Averages. These adaptive, minimal-lag indicators are built upon advanced mathematical and signal processing DSP techniques that far surpass traditional Moving Averages. 
  This currently published indicator includes the following main developments:  
 Squeeze Detection using Percentile Rank Method 
It detects the Squeeze by applying a Percentile Rank to the historical distance (spread) between the two MAs.
MA Spread: The basis for Squeeze detection is the distance between the two moving averages.
Percentile Rank: A statistical measure that indicates the percentage of past Spread values within the set lookback period that are lower than the current MA Spread.
Squeeze State: A Squeeze occurs when the Percentile Rank is below the set Squeeze Threshold (%)).
Example: If the threshold is 20% and the Rank is 15%, it means the MA Spread is in its tightest 15% range, below the set threshold. Therefore, the condition is currently met.
Goal: Objective volatility measurement that adapts to market conditions.
 Squeeze Duration Filter 
A key condition for a Breakout signal is that the MAs must have remained in the Squeeze zone for a specified minimum duration.
Goal: To filter out market noise and False Breakouts.
 Multi-Timeframe (MTF) Confluence 
Multi-Timeframe trend and squeeze monitoring for 3 timeframes (TFs).
Provides confirmation using the MA status from two higher timeframes (TF2, TF3).
Goal: Trend and momentum confirmation from a broader market context.
 Signals Only on Bar Close? 
By selecting the signalOnClose parameter to enabled, it is possible to avoid repainting on the chart TF. If it is checked, all events on the chart (L/S signals, Squeeze Start/End, MA color change) will only appear after the bar has closed, preventing repainting. Higher TF events remain in real-time.
Goal: To increase the reliability of signals.
 Multi-Level Alerts and Info Panel 
Comprehensive, confluence-weighted alerts and real-time status display.
Enhanced Alerts based on multi-timeframe confluences. Alerts are ready to enable/disable for Any alert() function call and ready for watchlists. Alert Frequency is also configurable in Inputs window. „Once per bar close” is the most reliable for signals. „Always” or „Once per bar” alert frequencies may generate temporary signal alerts.
Please note that even if "Once per bar close" is selected as alert frequency, this only applies to the chart TF, and TF2 and TF3 status may be modified until the close of the relevant candle.
Goal: Transparent decision-making.
  Other Improvements 
  Unlike the original indicator, the coloring of the MA curves on the chart depends on the relative positions of the fast MA and slow MA. The curves are colored bullish when the fast MA is above the slow MA, bearish when the opposite is true, and neutral in the squeeze zone.
 Data Window with Squeeze Start/End, Buy/Sell, Status, Squeeze Percentile etc. on all 3 TFs.
 Ready for Pine Screener.
Please be aware that currently only the chart TF is configurable in Pine Screener, TF2 and TF3 are set to their default values.
 Pine Script® version 6. 
 Limitations 
When setting the indicator parameters, please take into account the limitations of TradingView. (Lookback period of Percentile Rank and Moving Averages periods, Execution time limit (timeout) etc.)
For example, if a NaN% message appears as the Percentile Rank value, please reduce the lookback period.
 How to use it 
This indicator is a Breakout-following system, but it can also be the basis for Range Trading.
 
 The Setup Phase 
This is the preparation stage. The indicator signals low volatility as the bands tighten.
Squeeze Dynamics: Monitoring the Squeeze Duration is essential. The longer the price spends in the Squeeze zone, the more likely the resulting breakout will be powerful.
 The Signal Phase (Breakout)
The Breakout signal appears on the bar where the Percentile Rank first crosses above the Squeeze threshold, indicating a sudden return of volatility. 
Further condition: Meets the SqueezeDuration filter. 
Breakout direction: Bullish: Fast MA > SLow MA, Bearish: Fast MA < SLow MA
Applying MTF Confluence:
The most promising trades that are in line with higher timeframes:
Total Confluence: Chart TF Signal + TF2 Bullish/Bearish + TF3 Bullish/Bearish. This is the strongest, highest-probability setup.
Simple signal: Only the Chart TF signals. This should be handled with caution, as the higher timeframes (TF2, TF3) might still be in a Squeeze or in a conflicting state.
 Alternative Use: Range Trading within the Squeeze Bands
If the market has low volume, the squeeze bands can be used as dynamic support/resistance for bounces off the edges of the range:
The probability of a successful range trade increases if the boundaries of the squeeze zone have only been touched a few times previously. Each touch weakens the zone boundaries and increases the chance of a Breakout. 
 Suggested Tactics and Risk Management 
When using Breakout strategies, strict risk management and the use of confirmations are essential:
 Volume Confirmation: A strong, above-average volume Breakout candle increases the probability of a successful breakout.
 False Breakout: If the breakout occurs on low volume, there is a higher chance of a pullback and a False Breakout.
 Entry After Retest: A safer entry: wait until the price breaks out, but only enter if it returns to the squeeze zone and bounces back from there. This reduces the risk of a False Breakout trap.
The Risk of False Breakout:
 False Breakouts are part of any Breakout strategy. Always have a strict Stop Loss set.
 Reversal: Be prepared for the possibility that after a Breakout signal (e.g., Long), the price returns to the zone and then breaks out in the opposite (Short) direction.
  Please note that all technical analysis and trading signals only indicate probabilities. Always use your own risk management rules and follow market regulations. 
 Disclaimer 
This indicator is provided for educational and informational purposes only. It is not financial advice.
Trading involves substantial risk of loss and is not suitable for every investor. Past performance shown in examples is not indicative of future results.
The indicator provides signals and calculations, but trading decisions are solely your responsibility. Always:
Test strategies on paper before using real money
Never risk more than you can afford to lose
Understand that all trading involves risk
Consider seeking advice from a licensed financial advisor
The publisher makes no guarantees regarding accuracy, profitability, or performance. Use at your own risk.
Trend Entry_0 [TS_Indie]Trend Entry_0 — Mechanism Overview 
The core structure of this strategy is based on a price action reversal pattern, as detailed below:
 In the case of a Bullish Trend Reversal: 
  
The price initially moves in a  bearish direction.  When  candle A  forms a low lower than the previous low, the high of candle A becomes a key reference point.
If the  next candle  closes  above the high of candle A , it confirms a  Bullish Trend Reversal. 
* Upon a Bullish signal, a  Long position  is opened at the  opening price of the next candle (candle B). 
* When a subsequent Bearish signal occurs, the  Long position  is closed at the  opening price of the next candle (candle C). 
 In the case of a Bearish Trend Reversal: 
  
The price initially moves in a  bullish direction.  When  candle A  forms a high higher than the previous high, the low of candle A becomes a key reference point.
If the  next candle  closes  below the low of candle A , it confirms a  Bearish Trend Reversal. 
* Upon a Bearish signal, a  Short position  is opened at the  opening price of the next candle (candle B). 
* When a subsequent Bullish signal occurs, the  Short position  is closed at the  opening price of the next candle (candle C). 
 Options 
* The start and end dates of the backtest can be customized.
* The swing lines of the trend can be displayed as an optional visual aid.
* The user can choose whether to open only  Long  or  Short  positions.
 Backtest Results and Observations 
Based on the backtesting results of this strategy across various assets and timeframes, it has been observed that this approach works best on trending assets such as Gold, BTC, and stocks.
It also performs well on higher timeframes, starting from the Daily timeframe and above,  especially when taking Long positions only. 
However, when applied to currency pairs such as EUR/USD, the results tend to be less impressive.
I encourage everyone to try backtesting and further developing this strategy — adding new conditions or filters may potentially lead to improved performance.
 Disclaimer 
This script is intended solely for backtesting purposes, based on a particular price action pattern.
It does not constitute financial or investment advice.
Backtest results do not guarantee future performance.
KeyzoneKeyzone is a dynamic support and resistance framework that identifies price reaction zones using the highest and lowest values over specific lookback periods.
It consists of four pairs of upper and lower lines:
– Keyzone 3 (light green): short-term micro swing zones
– Keyzone 8 (dark green): short-term intraday zones
– Keyzone 21 (orange): medium-term structural zones
– Keyzone 89 (red): long-term major zones
Each Keyzone adapts automatically to price movement, helping traders see where market participants are likely to react. The shorter zones (3, 8) capture quick pullbacks, while the longer zones (21, 89) reveal deeper institutional levels. This makes Keyzone a clear, multi-layered visual map of market structure that adjusts with every new candle.
Flow Control Oscillator (FCO)Flow Control Oscillator (FCO) 
The Flow Control Oscillator (FCO) is a momentum-based indicator that combines volume analysis and money flow to determine who is in control of the market—buyers or sellers—and how strong that control is. Unlike pure price-based oscillators, FCO integrates both price action and volume distribution to provide a more complete picture of market dynamics.
 How It Works 
Core Components:
Money Flow Index (MFI) - 
 
 Scaled to -1 to +1 range
 Measures the flow of money into and out of an asset
 Identifies buying and selling pressure based on price and volume
 
Chaikin Money Flow (CMF) - 
 
 Already in -1 to +1 range
 Measures the accumulation/distribution of volume
 Shows whether volume is accumulating (buying) or distributing (selling)
 
Combined Flow Control Line (FCO Line) -
 
 Equal-weighted composite of MFI and CMF
 Smoothed with SMA (default: 3 periods)
 Values above 0 = Buyers in control
 Values below 0 = Sellers in control
 
Signal Line -
 
 WMA of the FCO line (default: 6 periods)
 Used for timing entries and confirming momentum shifts
 
Momentum Histogram- 
 
 Shows the rate of change in buyer/seller control
 Weighted by ADX (Average Directional Index) when enabled
 Larger bars = stronger momentum
 ADX weighting filters out choppy, unreliable signals
 
 Key Zones 
Neutral Zone (-0.3 to +0.3): Balanced market, low conviction
Healthy Trend Zone (±0.3 to ±0.7): Clear control without exhaustion
Warning Zone (±0.7 to ±1.0): Extended, approaching exhaustion
Extreme Zone (beyond ±1.0): Overbought/oversold, reversal likely
 What To Look For 
Reversal Setups:
 
 FCO in extreme zone (beyond ±1.0)
 FCO crosses Signal line in opposite direction
 Momentum histogram shrinking (weakening pressure)
 Interpretation: Buyers or sellers are exhausted and losing control
 
Trend Strength Setups:
 
 FCO crosses zero line (control shift)
 Momentum histogram growing in the same direction
 ADX confirms strong trend (no orange background)
 Signal line moving in same direction as FCO
 Interpretation: New control being established with building momentum
 
Divergences:
 
 Price makes new high/low but FCO doesn't confirm
 Indicates weakening momentum despite price movement
 Early warning of potential reversal
 
Choppy Market Warning:
 
 Orange background (ADX < 20)
 Small momentum bars regardless of FCO position
 Interpretation: Weak trend, avoid trading or use tight stops
 
Best Practices:
 
 Use with context: Combine with support/resistance levels (like VWAP) for confluence
 Multi-timeframe confirmation: Check higher timeframe FCO for overall bias
 Wait for confirmation: Let signals develop rather than predicting turns
 Respect extreme zones: Best reversal opportunities occur when FCO is beyond ±1.0
 Filter with ADX: Pay attention to background coloring—avoid choppy conditions
 
The indicator includes comprehensive alert conditions for:
 
 Reversal setups (extreme + cross + weakening momentum)
 Trend strength signals (zero cross + growing momentum + strong ADX)
 FCO/Signal crossovers
 Extreme overbought/oversold conditions
 Control shifts (buyers/sellers taking control)
Structure Pro by MurshidfxInspired by the 'mentfx Structure' indicator created by Anton (mentfx) on TradingView,
## Overview
Structure Pro tracks market structure by maintaining an adaptive dealing range and its midpoint. Swing highs and lows become structural boundaries, and the script responds to confirmed breakouts by recalculating the active range. Labels highlight the latest trend flip so the chart stays readable while the range evolves.
## Core Logic
- Detects swing highs/lows using a configurable pivot strength and promotes confirmed pivots to structural levels.
- Applies a percentage buffer to decide when price truly breaks structure; once triggered, the opposite boundary is recalculated with an anchor search that looks back through historical bars.
- Computes equilibrium as the midpoint between the current structural high and low so you can gauge premium versus discount zones.
- Emits a single BULL or BEAR label when the trend state changes, keeping only the most recent signal on the chart.
## How to Use
1. Open a clean chart and apply only this script.
2. Select a swing strength that matches the scale you want to monitor (lower values for responsive intraday swings, higher values for broader moves).
3. Tune the structure sensitivity percentage if you prefer tighter or looser confirmation before declaring a breakout.
4. Track DRH/DRL for the current dealing range, use the equilibrium line as a mean-reversion guide, and look to the BULL/BEAR label for structure confirmation.
5. Combine the levels with your own execution, risk, and position rules—this script does not manage orders.
## Inputs
- Swing Point Strength: bars required on both sides to confirm a pivot.
- Structure Break Sensitivity: percentage buffer applied to the range before calling a breakout.
- Dealing Range display: toggles for visibility, line width/color, label text, and label size.
- Equilibrium display: line style, width, and color controls.
- Trend Signals: enable/disable labels, adjust text size, and pick label colors.
## Notes
- Designed for live structure tracking; the script relies on confirmed pivots and does not peek into future data.
- Built to be chart-agnostic for standard candles; non-standard chart types can distort the measurements.
- Published open-source so traders can review and verify the implementation details.
ICT Sweep + CHoCH + FVG Alerts
### 🔥 ICT Sweep + CHoCH + FVG Alerts
Script designed to automate ICT entry confirmations using:
• Liquidity Sweep (Buy/Sell Stops taken)
• Change of Character (CHoCH)
• Fair Value Gap (FVG) confirmation
### ✅ Conditions
**Long signal when:**
1. Bearish liquidity sweep
2. Bullish CHoCH
3. Bullish FVG forms and gets respected
**Short signal when:**
1. Bullish liquidity sweep
2. Bearish CHoCH
3. Bearish FVG forms and gets respected
### 🎯 Purpose
This script helps traders detect smart-money setup entries based on ICT logic and receive alerts in real time.
### 📡 Alerts
Supports webhook automation for bots, signal servers, or trading platforms.
*This script does not place trades automatically, alerts only.*
### ⚠️ Disclaimer
This tool is for educational purposes.
Always backtest and use proper risk management.
Vandan V2Vandan V2 is an automated trading strategy for NQ1! (E-mini Nasdaq-100) based on short-term mean reversion with dynamic risk control. It combines volatility filters and overbought/oversold signals to capture local market imbalances.
Backtested from 2015 to 2025, it achieved a +730% total return, Profit Factor of 1.40, max drawdown of only 1.61%, and over 106,000 trades. Designed for systematic scalping or intraday arbitrage with a limit of 3 simultaneous contracts.
Minervini breakout - AndurilThis indicator checks the Mark Minerivini trend template as well checks consolidation areas and breakout. 
Checks the highest closing price of last x days (default 20 days), exluding current day and draws a white dashed line, Calculates the relative volume of the current day. Calculates EMA 21, EMA50 and EMA200 and draws on the graph to define trend. 
Gives a buy signal in green (writing relative strength of that day inside of green arrow) if:  
1)       Current price> breakout price* 0.98
2)       Current price > EMA21 >EMA50>EMA200
3)       Current price > 52 week high*0.75
4)       Current price > 52 week low*1.3
5)       EMA 200 of today > EMA 200 of 10 bar ago > EMA 200 of 20 bar ago
6)       Relative volume of the day > 1.5
MTF Support & Resistance (Optimized)🧠 Smart Multi-Timeframe Support & Resistance (4H / 1H)
This advanced indicator automatically detects, clusters, and visualizes high-probability support and resistance levels across multiple timeframes — giving traders a clean and intelligent market map that adapts to price action in real time.
🔍 How It Works
The script scans historical 4-hour and 1-hour charts to identify swing highs and lows using pivot logic.
It then applies ATR-based clustering to merge nearby levels, filters weak or irrelevant zones, and highlights the most significant price reaction areas based on the number of touches and proximity to the current price.
Each level’s thickness and transparency are dynamically adjusted by strength:
Thicker lines = more confirmations (stronger level)
Fainter lines = weaker, less-tested level
⚙️ Main Features
✅ Multi-Timeframe Analysis (4H + 1H)
✅ Automatic pivot detection and level clustering
✅ Smart filtering based on ATR, proximity, and touch count
✅ Dynamic line width and opacity that scale with level strength
✅ Minimal clutter — only the most relevant nearby levels are displayed
✅ Color-coded visualization for quick interpretation
🔴 Red = 4H Resistance
🟢 Lime = 4H Support
🟠 Orange = 1H Resistance
🟦 Aqua = 1H Support
🎯 Ideal For
Scalpers, swing traders, and intraday analysts who want:
A clear visual map of major reaction zones
Automatic detection of high-confluence levels
A smart, adaptive system that works across assets and timeframes
📈 Usage Tips
Combine with volume, order-flow, or market-structure tools for confluence.
Use higher-strength levels (thicker lines) as bias zones for entries and exits.
Enable or disable 4H/1H visibility to match your trading style.
Built with precision and performance in mind — this Smart S&R system transforms raw swing data into a readable, multi-layered price map for confident trading decisions.
TMB Invest - Smart Money Concept StrategyEnglish:
**Quick Overview**
The "TMB_SMC_Strategy_v1.1.3" combines a classic trend filter using two EMAs with contrarian RSI entries and simple SMC elements (Fair Value Gaps & Order Blocks). Stop-loss and take-profit orders are volatility-adaptive and controlled via the ATR. An integrated dashboard displays the setup status, stop-loss/take-profit levels, entry reference, and trend, RSI, and ATR values.
---
## Operating Principle
1. **Trend Filter:** A fast EMA (default 50) is compared to a slow EMA (default 200). Trading occurs only in the direction of the trend: long in uptrends, short in downtrends.
2. **Timing via RSI:** Contrarian entries within the trend. Go long when the RSI is below a buy level (default 40); Short when the RSI is above a sell level (standard 60).
3. **Structure Check (SMC Proxy):** An "FVG Touch" serves as additional confirmation that an inefficient price zone has been tested. Order blocks are visualized for guidance but are not a direct entry trigger.
4. **Risk Management via ATR:** Stop-loss and take-profit levels are set as multipliers of the current ATR (e.g., SL = 1×ATR, TP = 2×ATR). This allows target and risk distances to adjust to market volatility.
5. **Simple Position Logic:** Only one position is held at a time (no pyramiding). After entry, stop and limit orders (bracket exit) are automatically placed.
---
## Input Values
* **EMA Fast / EMA Slow:** Lengths of the moving averages for the trend filter.
* **RSI Length / Levels:** Length of the RSI as well as buy and sell thresholds (contra signals within the trend direction).
* **Take Profit (RR) / Stop Loss (RR):** ATR multipliers for TP and SL.
* **Show FVGs & Order Blocks:** Toggles the visual SMC elements (zones/boxes) on or off.
--
## Signals & Execution
* **Long Setup:** Uptrend (fast EMA above slow EMA) **and** RSI below the buy level **and** a current FVG signal in a bullish direction.
* **Short Setup:** Downtrend (fast EMA below slow EMA) **and** RSI above the sell level **and** a current FVG touch in a bearish direction.
* **Entry & Exit:** If the setup is met, the market is entered; stop-loss/take-profit orders are placed immediately according to ATR multiples.
--
## Visualization
* **EMAs:** The fast and slow EMAs are plotted to illustrate the trend.
* **FVGs:** Fair Value Gaps are drawn as semi-transparent boxes in the trend color and projected slightly into the future.
* **Order Blocks:** Potential order block zones from the previous candle are visually highlighted (for informational purposes only).
---
## Integrated Dashboard
A compact table dashboard (bottom left) displays:
* Current **Setup Status** (Long/Short active, Long/Short ready, No Setup),
* **Stop-Loss**, **Take-Profit**, and **Entry Reference**,
* **Trend Status** (Bull/Bear/Sideways),
* **RSI Value**, and **ATR Value**.
Active long/short positions are highlighted in color (green/red).
--
## Practical Guide
1. **Place on Chart** and select the desired timeframe.
2. **Calibrate Parameters** (EMA lengths, RSI levels, ATR multipliers) to match the market and timeframe.
3. **Backtest** across different market phases; prioritize robustness over maximum curve fit.
4. **Fine-Tuning:**
* Shorter EMAs are often useful intraday (e.g., 20/100 or 34/144).
* Adjust RSI levels to market characteristics (45/55 for aggressive trading, 30/70 for conservative trading).
* Increase or decrease ATR multipliers depending on volatility/trading style.
--
## Notes, Limitations & Extensions
* **FVG Definition:** The FVG detection used here is intentionally simplified. Those who prefer a more rigorous approach can switch to a 3-candle definition and fill levels.
* **Order Blocks:** These primarily serve as a guide. Integration into entry/exit logic (e.g., retests) is possible as an extension.
* **Backtest Realism:** Fills may differ from the displayed closing price. For greater accuracy, intrabar backtests or an entry indicator based on the average position price are conceivable.
* **Alerts:** Currently, no alert conditions are defined; these can be added for long/short setups and status messages.
* **Position Management:** By default, no scaling is performed. Partial sales, trailing stops, or multiple entries can be added.
---
## Purpose & Benefits
The strategy offers a clear, modular framework: trend filter (direction), RSI contra timing (entry), SMC proxy via FVG Touch (structure), and ATR-based exits (risk adaptation). This makes it robust, easy to understand, and highly extensible—both for discretionary traders who appreciate visual SMC elements and for systematic testers who prefer a clean, parameterizable foundation.
💎 Trend Master Pro Scalping MTFTrend Master Pro Scalping MTF is a professional-grade indicator designed for intraday trading and scalping, optimized for 1M, 5M, and 15M timeframes. It combines multiple technical filters to provide high-confidence breakout and trend signals with visual clarity.
Key Features:
Multi-indicator analysis: EMA, RSI, ATR, SuperTrend, and volume.
Multi-Timeframe (MTF) filter: signals are validated only if the higher timeframe trend is aligned.
Clear visual signals: colored triangles and dynamic labels showing signal strength: A++, A+, A, B.
Confirmation dashboard: instantly see EMA trend, RSI strength, volume, ATR activity, SuperTrend direction, and final signal on your chart.
Reliable alerts: fixed alert messages compatible with TradingView, avoiding Pine Script errors.
Customizable parameters: adjust EMA, RSI, ATR, volume, and SuperTrend settings to match your scalping or day trading style.
How to Use:
Select your desired timeframe: 1M, 5M, or 15M.
Look for signals rated A++ or A+ for maximum probability.
Confirm trends using labels and the dashboard before entering trades.
Receive real-time notifications via alerts when confirmed signals occur.
Benefits:
Ideal for quick scalping and intraday strategies.
Reduces false signals with MTF trend filtering.
Professional visualization for fast and confident decision-making.
Recommendations:
Test on a demo account before trading live.
Adjust parameters to fit your asset and timeframe.
Combine with proper risk management strategies.
Yit BBIn this script the deviation is 1.25 the normal standard issue Bollinger band indicator uses 2. for my type of trading I don't have time price action to wait for a 2 STDRD DEV. this is a more aggressive type of indicator. 
The MA is the 10 day. 
Dynamic ATR Targets - Long & Short with Trailing SL by ISdynamic SL based on ATR
SL,TP, entry
ATR based
good for dynamic SL
1:3 RR
Gann Astronomical Turning PointsThis is a comprehensive Pine Script  that implements W.D. Gann's astronomical theories to identify potential market turning points. Here's a detailed breakdown of the script:
Overview
The script identifies and displays astronomical events (sun angles, moon phases, and Mercury retrogrades) that Gann theorists believe correlate with market turning points. It also analyzes historical price performance following these events to provide statistical significance.
Key Components
1. Input Parameters
Date Range: Users can set the analysis period (start and end dates)
Display Options: Toggle visibility of different astronomical events and tables
Analysis Settings: Configure the lookback period for price change analysis (1-20 days)
2. Astronomical Calculations
The script includes several functions to calculate celestial positions:
getDaysSinceEpoch(t): Calculates days since January 1, 2000 (reference point)
getSunLongitude(t): Computes the Sun's position in the ecliptic (0-360°)
getMoonPhase(t): Determines the Moon's phase angle relative to the Sun
getMercuryLongitude(t): Calculates Mercury's position in the ecliptic
3. Gann Critical Angles (Sun Events)
The script identifies when the Sun reaches four critical angles that Gann considered significant:
0° Aries (Spring Equinox)
90° Cancer (Summer Solstice)
180° Libra (Fall Equinox)
270° Capricorn (Winter Solstice)
These are detected by tracking when the Sun's longitude crosses these specific angles.
4. Moon Phases
Four key moon phases are identified:
New Moon: Moon passes between Earth and Sun
First Quarter: Moon is 90° east of Sun
Full Moon: Moon is opposite the Sun
Last Quarter: Moon is 270° east of Sun
5. Mercury Retrograde Periods
The script detects when Mercury appears to move backward in its orbit:
Identifies start and end dates of retrograde motion
Displays these periods as highlighted zones on the chart
6. Price Change Analysis
For each astronomical event, the script:
Calculates the percentage price change over a user-defined lookback period
Categorizes changes as positive or negative
Stores this data for statistical analysis
7. Statistical Significance
The script calculates several metrics for each event type:
Average Price Change: Mean percentage change following events
Up/Down Ratio: Number of positive vs. negative changes
Accuracy Percentage: How often the dominant direction occurred
8. Visual Elements
The script includes multiple display components:
Event Labels
Sun Angles: Orange sun symbols displayed above price bars
Moon Phases: Moon phase emojis displayed below price bars
Mercury Retrograde: Red boxes highlighting the retrograde periods
Information Tables
Events Table: Shows upcoming and recent astronomical events
Significance Analysis Table: Displays statistical performance of each event type
Forecast Section: Identifies the next upcoming event and predicted direction
9. Forecasting Functionality
The script predicts market direction for the next astronomical event based on:
Historical average price change for that event type
Statistical accuracy of previous similar events
Color-coded forecast (green for bullish, red for bearish)
This script offers an interesting implementation of Gann's astronomical theories, but should be used as part of a broader analysis rather than as a standalone trading system.
Disclaimer: This indicator is for educational purposes only. Past performance does not guarantee future results. Always conduct your own research and risk assessment before trading.
Livelli OI-PNCOI-PNC Levels is a script that displays the open interest (OI) and net short positions (PNC) of a selection of 20 of the most significant stocks in terms of traded value on the Italian market.
 
 PNC are indicated by red dotted lines starting from the close of the last reported change date;
 The most significant open interest by number of contracts (Top 10 Calls and Top 10 Puts) are displayed using labels, all on a single line (Strike, CALL, PUT);
 A summary table can be activated.
 
the data is hardcoded using static arrays and must be updated periodically. Data updated of 03/11/2025 
########### Italiano ############
Livelli OI-PNC è uno script che permette di visualizzare gli open interest (OI) e le Posizioni Nette Corte (PNC) di una selezione di 20 titoli tra i più significativi per controvalore movimentato del mercato italiano. 
 
 Le PNC vengono indicate tramite Linee tratteggiate rosse che partono dal close della data di ultima variazione comunicata;
 Sono riportati tramite labels, gli Open Interest più significativi per num.Contratti (Top 10 Call e top 10 Put) tutto su una unica riga per ogni strike (Strike, CALL, PUT);
 E' attivabile una Tabella di riepilogo.
  
Poiché Pine Script non può leggere direttamente file da URL esterni, i dati sono hardcorati tramite array statici e vanno aggiornati periodicamente. Dati aggiornati al 03/11/2025
Dual Harmonic-based AHR DCA (Default :BTC-ETH)A panel indicator designed for dual-asset BTC/ETH DCA (Dollar Cost Averaging) decisions.  
It is inspired by the Chinese community indicator  "AHR999"   proposed by “Jiushen”.
 How to use:   
 
 Lower HM-based AHR → cheaper (potential buy zone).  
 Higher HM-based AHR → more expensive (potential risk zone).  
 Higher than Risk Threshold → consider to sell, but not suitable for DCA.  
 When both AHR lines are below the Risk threshold → buy the cheaper one (or split if similar).  
 If one AHR is above Risk → buy the other asset.  
 If both are above Risk → simulation shows “STOP (both risk)”.  
 Not limited to BTC/ETH — you can freely change symbols in the input panel  
   to build any dual-asset DCA pair you want (e.g., BTC/BNB, ETH/SOL, etc.).
 
 What you’ll see: 
 
 Two lines: AHR BTC (HM) and AHR ETH (HM)  
 Two dashed lines: OppThreshold (green) and RiskThreshold (red)  
 Colored fill showing which asset is cheaper (BTC or ETH)  
 Buy markers:  
   -  B  = Buy BTC  
   -  E  = Buy ETH  
   -  D  = Dual (split budget)  
 Top-right table: prices, AHRs, thresholds, qOpp/qRisk%, simulation, P&L  
 Labels showing last-bar AHR values
 
 Core idea:   
Use an AHR based on Harmonic Moving Average (HM) — a ratio that measures how “cheap or expensive” price is relative to both its short-term mean and long-term trend.  
The original AHR999 used SMA and was designed for BTC only.  
This indicator extends it with cross-exchange percentile mapping, allowing the empirical “opportunity/risk” zones of the AHR999 (on Bitstamp) to adapt automatically to the current market pair.
The indicator derives two adaptive thresholds:
 
 OppThreshold  – opportunity zone  
 RiskThreshold  – risk zone
 
These thresholds are compared with the current HM-based AHR of BTC and ETH to decide which asset is cheaper, and whether it is good to DCA or not, or considering to sell(When it in risk area). 
 This version uses 
 
 Display base:  Binance (default: perpetual) with HM-based AHR  
 Percentile base:  Bitstamp spot SMA-AHR (complete, stable history)  
 Rolling window:  2920 daily bars (~8 years) for percentile tracking  
 
 Concept summary 
 
 AHR measures the ratio of price to its long-term regression and short-term mean.  
 HM replaces SMA to better reflect equal-fiat-cost DCA behavior.  
 Cross-exchange percentile mapping (Bitstamp → Binance) keeps thresholds consistent with the original AHR999 interpretation.
 
 Recommended settings (1D):   
 
 DCA length (harmonic):  200  
 Log-regression lookback:  1825 (≈5 years)  
 Rolling window:  2920 (≈8 years)  
 Reference thresholds:  0.45 / 1.20 (AHR999 empirical priors)  
 Tie split tolerance (ΔAHR):  0.05  
 Daily budget:  15 USDT (simulation)  
 All display options can be toggled: table, markers, labels, etc.  
 
 Notes:   
When the rolling window is filled (2920 bars by default), thresholds are first calculated and then visually backfilled as left-extended lines.  
The “buy markers” and “decision table” are  light simulations  without fees or funding costs — for rhythm and relative analysis, not backtesting.
My Smart Volume Profile – Fixed
Title: 🔹 My Smart Volume Profile – Fixed
Description:
Lightweight custom Volume Profile showing POC, VAH, and VAL levels from recent bars. Highlights the value area, marks price touches, and supports optional alerts.
Developer Note:
Created with precision and simplicity by Magnergy
Intraday Intensity Percent (IIP) by CoryP1990 – Quant ToolkitThe Intraday Intensity Percent (IIP) quantifies buying vs. selling pressure within each bar by combining price position inside the range and trading volume. It’s essentially a volume-weighted order-flow indicator, showing whether volume concentrates near highs (buying pressure) or lows (selling pressure).
 How it works 
Computes the Intraday Intensity (II) = ((Close − Low) − (High − Close)) / (High − Low) × Volume.
Then compares total “intensity” to total volume over a look-back window to produce a normalized percentage.
Lime line: IIP rising → accumulation / increasing buy pressure.
Red line: IIP falling → distribution / increasing sell pressure.
Background: Green tint = heavy buying, Red tint = heavy selling.
 Use cases 
Identify accumulation or distribution phases early.
Confirm momentum with volume-backed pressure.
Detect divergences between price and volume flow.
 Defaults 
Length = 14
High-pressure threshold = +5 %
Low-pressure threshold = −5 %
 Example — AAPL (2H) 
Late July into early August shows sustained distribution as IIP sinks below −5% (deep red), marking heavy sell pressure during the drop. From early to mid-August, IIP flips positive and holds > +5% (green background), aligning with the rebound. After a brief mid-September shakeout, late Sep–mid Oct features renewed accumulation with repeated green surges. Most recently, IIP prints around −33%, indicating dominant selling pressure into the latest two-hour bars.
 Part of the Quant Toolkit — transparent, open-source indicators for modern quantitative analysis. Built by CoryP1990.






















