Script_Algo - Day Range Breakout Strategy + Trend Filter📊 Overview
An enhanced version of the strategy based on daily high/low breakouts.
🔑 Key Improvements
1️⃣ Solved the repainting issue.
There are similar strategies in the community, but the historical results of those algorithms absolutely do not correspond to the results of real backtesting.
2️⃣ Added a trend filter.
In most cases, this makes it possible to achieve higher profitability. The trend filter is adjusted using the Lookback Period setting.
3️⃣ Choice of entry principle.
Implemented the ability to choose whether trades are opened based on closing prices or by high/low breakout, which allows finding the optimal settings for a specific instrument.
4️⃣ Improved entry/exit logic.
When an opposite signal appears, before entering a trade, the script first closes the previous position.
✅ This makes the strategy fully ready for algorithmic trading via webhook on any exchange that supports this function.
5️⃣ Better visualization.
🟥 Red and 🟩 green backgrounds indicate the trend direction.
⚙️ How It Works
The principle of the strategy is simple:
Wait for the breakout of the previous day’s high or low.
Enter long on a breakout of the high, or short on a breakout of the low.
Exit occurs on the breakout of the opposite extreme.
📈 This allows capturing long trends.
⚠️ But, like all similar strategies, in a sideways market it produces losing trades.
📌 Example Results
On the OP/USDT pair, this strategy showed about +280% profit in 3 years on the 4H timeframe,
while the coin itself grew only by about 50%.
🕒 Recommended Settings
Timeframe: 1H and higher
On lower timeframes → significant discrepancies may occur between historical and real backtesting data.
On higher timeframes → minor differences are possible, related to slippage, sharp moves, and other unpredictable situations.
⚠️ Important Notes
Always remember: Strategy results may not repeat in the future.
The market constantly changes, so:
✅ Monitor the situation
✅ Backtest regularly
✅ Adjust settings for each asset
Also remember about possible bugs in any algorithmic trading strategy.
Even if a script is well-tested, no one knows what unpredictable events the market may bring tomorrow.
⚠️ Risk Management:
Do not risk more than 1% of your deposit per trade, otherwise you may lose your account balance, since this strategy works without stop losses.
⚠️ Disclaimer
The author of the strategy does not encourage anyone to use this algorithm and bears no responsibility for any possible financial losses resulting from its application!
Any decision to use this strategy is made personally by the owners of TradingView accounts and cryptocurrency exchange accounts.
📝 Final Notes
The script is not published yet, as this is not the final version.
I already have ideas on how to improve it further, so follow me to not miss updates.
🐞 Bug Reports
If you notice any bugs or inconsistencies in my algorithm,
please let me know — I will try to fix them as quickly as possible.
💬 Feedback & Suggestions
If you have any ideas on how this or any of my other strategies can be improved, feel free to write to me. I will try to implement your suggestions in the script.
Wishing everyone good luck and stable profits! 🚀💰
指標和策略
Crypto Flows [ETF|On-chain]The surge in Bitcoin and Ethereum spot ETFs has transformed how crypto is held and traded. By mid‑2025, U.S. spot Bitcoin ETFs already controlled roughly 1.28 million BTC, or about 6.5 percent of the circulating supply (Fosque, 2025). This accumulation has coincided with sharp price rallies and signals that regulated vehicles are absorbing a meaningful share of supply (Fosque, 2025; Wright, 2025). At the same time, on‑chain analytics show that exchange flows still influence markets: large inflows to exchanges often precede sell‑offs, whereas withdrawals to private wallets signal accumulation and reduced sell pressure (Singh, 2024; CryptoQuant, 2024). IntoTheBlock’s large‑holder inflow indicator even notes that spikes in whale buying frequently mark major bottoms (IntoTheBlock, 2022). I wanted to weave these pieces together, so I created this indicator.
Essence and logic
The script draws from two data streams: net flows into ETFs and net on‑chain flows from large holders, both scaled by the asset’s circulating market cap. ETF flows are aggregated across the ten largest INDEX:BTCUSD Bitcoin ETFs, the ten largest Ethereum INDEX:ETHUSD ETFs and the first CRYPTOCAP:SOL Solana ETF; each fund has its own checkbox and colour selection. On‑chain data uses IntoTheBlock’s large‑holder inflows and outflows, with dozens of coins available( CRYPTO:XRPUSD CRYPTOCAP:AVAX CRYPTOCAP:ADA CRYPTOCAP:LINK CRYPTO:DOGEUSD CRYPTOCAP:OTHERS ; if your coin isn’t shown in the dropdown you can manually enter its symbol. For each component, daily flows are converted into either a Z‑score or, by default, a percent‑of‑market‑cap series; users choose the weighting between ETF and on‑chain signals. These weighted series are summed into a composite, smoothed, and then two moving averages (a fast and a slow one) are applied to define bullish or bearish regimes. Because ETFs are a recent phenomenon, the early part of the composite is dominated by on‑chain flows; as ETF history lengthens, the fund‑flow component will become more influential. Trade signals are generated via moving‑average crossovers and optional dip triggers, and a trend table summarises current values and directions.
Why these components?
ETF flows reflect institutional adoption and supply absorption. Funds such as IBIT already hold about 744 000 BTC (roughly 3.3 percent of total supply), and cumulative ETF holdings have been growing faster than new coins are mined (Wright, 2025). Net inflows into these vehicles have tended to accompany rising prices and signal long‑horizon capital (Fosque, 2025). On‑chain flows, meanwhile, capture exchange liquidity dynamics. High inflows to exchanges often indicate that investors are preparing to sell, increasing tradable supply (Singh, 2024; CryptoQuant, 2024). Outflows into self‑custody suggest accumulation and reduced sell pressure, providing a bullish signal (Singh, 2024; CryptoQuant, 2024). IntoTheBlock points out that spikes in large‑holder inflows—whales moving coins into cold storage—have historically preceded price bottoms (IntoTheBlock, 2022). By weighting and standardising these flows relative to market cap, the composite aims to offer a more objective lens on risk‑on versus risk‑off regimes than price alone.
Limitations and outlook
ETFs a pretty new, so the data history is short. The list of tracked funds is currently limited to U.S. and European products; adding Asian or Canadian vehicles could provide a fuller picture. On‑chain flows can be noisy and occasionally give conflicting signals, and large‑holder data is not available for every crypto asset. The ETF and on‑chain components are also correlated through market cap, so equal weighting may amplify common trends. As macro conditions evolve and ETF redemption mechanisms change, the usefulness of fund flows could vary. I see this indicator as one tool among many, and I’m considering adding stablecoin flows, derivatives funding rates, or halving‑cycle adjustments. Suggestions are welcome.
Personal note
I’m a student who enjoys exploring the intersection of macro flows, on‑chain analytics and market psychology. This script is free to use. You can enable or disable each component, adjust weights, change the display mode and lookback, and select individual ETF tickers. If it brings you value, feel free to follow my work or reach out with feedback. I appreciate your support. Please remember that this indicator is for educational purposes and not investment advice. I built this indicator in addition to my Liquidity indicator, where I use Global M2, the yield curve, and the high-yield spread to define risk-on/risk-off regimes. If you are interested, you can find it here:
References
CryptoQuant Team. (2024). Exchange in/outflow and netflow user guide.
Fosque, J. (2025). Bitcoin ETFs pull $17.8 billion in 90 days as price surges past $118 K. The Digital Chamber.
IntoTheBlock. (2022). Large holders inflow indicator description.
Singh, O. (2024). Crypto exchange inflows and outflows explained: What they reveal about market trends. CCN.
Wright, L. (2025). Bitcoin ETFs to lock up 1.5 million BTC by New Year as supply squeeze tightens grip. CryptoSlate.
HTF Dealing Range & FibsKey Features:
Premium & Discount Zone Visualization: Clear, color-coded boxes are drawn to represent the Premium (sell zone), Discount (buy zone), and the crucial Equilibrium (50%) level. These boxes extend into the future so you can anticipate future price action.
Customizable Fibonacci Levels: Plot key Fibonacci retracement levels within the defined range. You can customize which levels you want to see (e.g., 0.62, 0.79, etc.) to pinpoint specific points of interest.
Multi-Timeframe Confluence Table: A powerful, on-screen dashboard that shows you the status of the current price relative to the P&D zones on up to 5 different timeframes simultaneously. Instantly see if the price is in a Premium or Discount zone on the 15m, 1H, 4H, and Daily charts at a single glance.
Built-in Alerts: Never miss an opportunity. Set up alerts to be notified the moment the price enters the Premium or Discount zone on your chosen HTF, allowing you to prepare for potential trade setups.
Fully Customizable: Take full control over the indicator's appearance. Adjust pivot lookback periods, colors of the zones and Fibs, and select which timeframes appear in your dashboard to match your personal trading plan.
Disclaimer:
This indicator is provided for educational and informational purposes only and should not be considered as financial or investment advice. Trading and investing in financial markets, including but not limited to stocks, forex, and cryptocurrencies, involves a substantial risk of loss and is not suitable for every investor.
[FXO] Smart OBV RSI – Volume-based Reversal TrackerThis script plots a Relative Strength Index (RSI) based on the On-Balance Volume (OBV) indicator, offering a volume-weighted momentum view. It highlights key RSI levels with customizable thresholds (default 70/30), and dynamically adjusts the plot color based on overbought/oversold zones.
Additionally, it tracks how often the OBV-RSI crosses above or below your set levels within a user-defined lookback window, displaying this data in a compact on-chart table.
Use this tool to monitor potential volume-based reversals, momentum shifts, or exhaustion signals in any market.
Features:
• RSI calculated from OBV (not price)
• Customizable RSI period and levels
• Visual threshold coloring
• Cross count table (optional)
• Pine Script v6, optimized for performance
Created by FXO
Para Akışı OVERLAY + Trend + Scoreboard (CUSTOM v6 – CLEAN)📖 Components of the Indicator and How to Use Them
1️⃣ EMAs (Exponential Moving Averages)
EMA-1 and EMA-2: Show short- and long-term trends (e.g., 21 and 200).
How to read it:
EMA-1 > EMA-2 → strong uptrend.
EMA-1 < EMA-2 → strong downtrend.
Key point: Watch for “Golden Cross” (EMA-1 crossing above EMA-2) and “Death Cross” (EMA-1 crossing below EMA-2).
2️⃣ Supertrend
An ATR-based trend indicator.
Color logic:
Green (UP) → bullish trend.
Red (DOWN) → bearish trend.
Key point: Trend reversals when color changes → potential entry/exit signals.
3️⃣ Keltner Channel (KC)
Middle line: EMA → overall direction.
Upper/Lower bands: EMA ± ATR × multiplier → volatility boundaries.
Shading:
Upper zone (green) → momentum up, possible overbought area.
Lower zone (red) → momentum down, possible oversold area.
Key point: Price breaking out of the bands often signals the start of a new trend.
4️⃣ Anchored VWAP
Volume-weighted average price from a chosen date.
Shows the cost basis of large players.
Key point: Price above VWAP → buyers in control. Price below VWAP → sellers in control.
5️⃣ SMF (Standardized Money Flow z-score)
Measures money inflow/outflow.
Positive → inflow.
Negative → outflow.
Since it’s a z-score, moving away from zero means unusual money activity.
Key point: If SMF rises while price falls → positive divergence (hidden buying). If the opposite → negative divergence (hidden selling).
6️⃣ OBV z-score
Normalized version of the On-Balance Volume indicator.
Shows whether volume is supporting the price move.
Positive → buying pressure.
Negative → selling pressure.
Key point: If OBV diverges from price → possible reversal signal.
7️⃣ Spike (IN/OUT)
Detects sudden OBV spikes.
IN: strong money inflow (buying pressure).
OUT: strong money outflow (selling pressure).
Key point: Spikes near tops or bottoms can speed up reversals.
8️⃣ Divergence (Buy/Sell Signals)
If price makes a higher high or lower low while the indicator doesn’t follow → divergence.
Price makes a new low but SMF makes a higher low → positive divergence → Buy signal.
Price makes a new high but SMF makes a lower high → negative divergence → Sell signal.
9️⃣ Stop/TP Labels
ATR-based automatic stop-loss and take-profit levels.
Long → stop at 1.5×ATR below, TP at 2×ATR above.
Short → stop at 1.5×ATR above, TP at 2×ATR below.
Key point: Check if these levels match your entry → see if the risk/reward is balanced.
🔟 Scoreboard
A quick summary in the top right corner:
SMF z (money flow)
OBV z (volume support)
EMA crossover
Is price above EMA?
Supertrend direction
Spike presence
Interpretation:
Score 4+ → strong bullish.
Score 1 or less → strong bearish.
In between → neutral.
✅ What to Focus On
Divergences (Buy/Sell labels) → the most reliable reversal signals.
Spike IN/OUT → major money inflow/outflow, can trigger new trends.
Scoreboard → shows the bigger picture; use as a filter, not alone.
Supertrend + EMA cross → strong trend confirmation.
Keltner breakout → potential start of a trend.
MSS Boxes (close-break only)What it does
MSS Boxes detects Market Structure Shifts (MSS) and draws clean, non-repainting mitigation boxes you can trade from. When price closes through the most recent swing with momentum, the candle that caused the break is captured as a box (supply for bearish, demand for bullish) and extended to the right as objective S/R.
How it works
Swings: swing highs/lows from your chosen left/right bars.
Shift: a bullish shift when price closes above the last swing high; bearish when it closes below the last swing low.
Displacement filter: optional size/ATR filter to require an impulsive break.
Box recipe: use wick-to-wick or body-only from the last opposite-colour candle before the break. Boxes don’t move after confirmation.
Lifecycle
Active → printed and valid.
Mitigated → price trades back into the box (optional strict wick rule).
Invalidated → close through the far side.
Expired → after N bars or at your session reset (e.g., NY 18:00).
What you see
Green boxes for bullish, red for bearish.
Small tag at origin (e.g., BOS↑/BOS↓).
Optional status markers (active/mitigated/invalid).
Key options
Swing length and displacement thresholds.
Box style (wicks vs body), max height cap, auto-merge overlaps.
MTF alignment (H1/M15) for plotting or alerts only.
Session reset time, max boxes, colours/opacity/label size.
SMF-Z & OBV-Z Oscillator (v6)🧭 Quick Reference
• SMF-Z (teal): flow of money.
• OBV-Z (orange): volume support for price moves.
• Zero line (0): neutral. Positive side = bullish bias, negative side = bearish bias.
• ±2 levels: “extreme” zone (unusual inflow/outflow).
• IN/OUT triangles: short-term strong money inflow/outflow (spike signals).
✅ Core Rules
LONG (buy/hold)
Both SMF-Z and OBV-Z above zero and rising (upward slope).
Zero line crossover (especially if both cross around the same bar) + IN spike = strong confirmation.
Expansion toward +2 = momentum intact, let profits run.
EXIT / SELL (close long or consider short)
Either SMF-Z or OBV-Z drops below zero (especially both together).
OUT spike (heavy selling pressure) = aggressive exit signal.
Rolling over from +2 downward (especially if OBV-Z turns first) = momentum fading.
SHORT (sell side)
Both indicators below zero and falling; zero line crossunders + OUT spike = strong confirmation.
Expansion toward −2 shows trend strength; taking profit on reversal from −2 is reasonable.
♟️ Divergences (most reliable signal)
Positive divergence: Price makes a new low while SMF-Z/OBV-Z form a higher low → strong accumulation sign (especially if paired with an IN spike).
Negative divergence: Price makes a new high while SMF-Z/OBV-Z form a lower high → distribution/selling sign (confirmed with an OUT spike).
🔧 Parameter Effects
SMF z-window / OBV z-window: shorter (20–50) = more sensitive but noisier; longer (100–200) = slower but more reliable.
OBV EMA: smaller (10–13) = faster response; larger (34–55) = smoother.
Spike window & σ (spK): shorter window or smaller sigma = more frequent spikes; larger = fewer but more selective spikes.
📝 Simple Playbook
Filter: Check if both SMF-Z and OBV-Z are on the same side of zero before taking a trade.
Trigger: Zero line crossover + IN/OUT spike.
Management:
For longs: exit/reduce if OBV-Z falls below zero or an OUT spike appears.
For shorts: exit/reduce if SMF-Z rises above zero or an IN spike appears.
Extra confirmation: If Supertrend/EMA from the overlay indicator agrees with SMF-Z & OBV-Z, confidence is stronger.
⚠️ Cautions
In sideways markets, frequent whipsaws around zero are common → always wait for confirmation (both indicators + spike + trend filter).
+2/−2 zones do not guarantee reversal by themselves; in strong trends the indicators can stay there for a while.
OB - MentorXOB - MentorX
Advanced OrderBlock Detection with Smart Alerts
🎯 Key Features:
- Smart OrderBlock Detection: Identifies bullish/bearish OrderBlocks using fractal breaks
- Multi-Timeframe Alerts: Get instant notifications on 1m, 3m, 5m, 15m, 30m, 1h, 4h
- Strength Filter: Only alerts on significant OrderBlocks (ATR-based strength)
- Visual Confirmation: Alerts sync perfectly with drawn OrderBlock lines
- Customizable Settings: Adjust line styles, colors, and alert preferences
🔔 Alert System:
How It Works:
- OrderBlock detected → Lines drawn → Alert triggered
- No false signals - only alerts when OrderBlock is visible on chart
- Strength filter prevents noise alerts on weak OrderBlocks
Alert Examples:
🔴 Bearish OrderBlock Created
Timeframe: 15m
High: 1.2345
Low: 1.2300
Strength: 2.45% ATR
🟢 Bullish OrderBlock Created
Timeframe: 1h
High: 1.2400
Low: 1.2350
Strength: 3.20% ATR
⚙️ Setup:
1. Enable "Enable Alerts" in settings
2. Select desired timeframes (1m, 3m, 5m, 15m, 30m, 1h, 4h)
3. Adjust "Minimum OB Strength" (0.1-5.0% ATR)
4. Create TradingView alert with "Any alert() function call"
🎨 Customization:
- Line styles: Solid, Dashed, Dotted
- Colors: Customize bearish/bullish line colors
- Fractal filters: 3-bar or 5-bar fractals
- FVG filtering: Optional Fair Value Gap confirmation
📊 Perfect for:
- Scalping
- Swing trading
- Multi-timeframe analysis
- Professional trading strategies
Perfect for scalping, swing trading, and multi-timeframe analysis!
Prime ZonesThe indicators calculates Pivot Zones for First session from 0915-1230 and Second Session 1230-1530. It also calculates Prime Zones Levels as per opening session and plot historic level with values as R1, R2 and S1, S2.
B版本~低风险稳定版Red and yellow and pink and green,
Purple and orange and blue,
I can sing a rainbow,
Sing a rainbow,
Sing a rainbow too.
优化开仓信号~7月更新Twinkle, twinkle, little star,
How I wonder what you are.
Up above the world so high,
Like a diamond in the sky.
InfinityAlgo LevelsThe InfinityAlgo Levels indicator is a comprehensive and integrated technical analysis tool, designed to empower traders by merging three of the most powerful price-level theories into one robust and user-friendly package. The indicator combines Fibonacci Levels, classic Pivot Points, and Camarilla Levels, offering unparalleled flexibility with its dual calculation modes: Automatic and Manual.
Key Features:
Multiple Level Systems: The indicator provides three distinct sets of levels simultaneously:
Fibonacci Levels: Includes both retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) and key extension levels (127%, 141%, 161.8%, 261.8%).
Classic Pivot Points: Plots standard support and resistance pivots (R1, R2, R3, S1, S2, S3) along with the main Pivot Point (PP).
Advanced Camarilla Levels: Displays 12 Camarilla levels (H1-H6 and L1-L6) to identify potential reversals and tight trading ranges.
Dual Calculation Modes (Automatic & Manual):
Automatic Mode: The indicator intelligently scans the market to automatically detect the most recent significant swing high and low, continuously updating all levels based on them. This mode is perfect for real-time market tracking.
Manual Mode: Gives you full control to input specific High, Low, and Close values. This allows you to analyze a specific price wave of your choice, whether historical or current.
Fully Customizable Display:
You can show or hide each set of levels (Fibonacci, Pivots, Camarilla) independently through the settings, allowing you to focus your analysis and declutter your chart.
An option to set the Fibonacci direction (Bullish or Bearish) to display only the relevant retracement and extension levels.
Interactive Information Panel:
When Automatic mode is enabled, a sleek information panel appears on the top-right of the chart, displaying the auto-detected High, Low, and Close values, keeping you informed of the data driving the indicator.
Clear Level Labels:
Each line is plotted with a clear label indicating the exact price and the level type, making it easy to identify important support and resistance zones at a glance.
InfinityAlgo LevelsThe InfinityAlgo Levels indicator is a comprehensive and integrated technical analysis tool, designed to empower traders by merging three of the most powerful price-level theories into one robust and user-friendly package. The indicator combines Fibonacci Levels, classic Pivot Points, and Camarilla Levels, offering unparalleled flexibility with its dual calculation modes: Automatic and Manual.
Key Features:
Multiple Level Systems: The indicator provides three distinct sets of levels simultaneously:
Fibonacci Levels: Includes both retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) and key extension levels (127%, 141%, 161.8%, 261.8%).
Classic Pivot Points: Plots standard support and resistance pivots (R1, R2, R3, S1, S2, S3) along with the main Pivot Point (PP).
Advanced Camarilla Levels: Displays 12 Camarilla levels (H1-H6 and L1-L6) to identify potential reversals and tight trading ranges.
Dual Calculation Modes (Automatic & Manual):
Automatic Mode: The indicator intelligently scans the market to automatically detect the most recent significant swing high and low, continuously updating all levels based on them. This mode is perfect for real-time market tracking.
Manual Mode: Gives you full control to input specific High, Low, and Close values. This allows you to analyze a specific price wave of your choice, whether historical or current.
Fully Customizable Display:
You can show or hide each set of levels (Fibonacci, Pivots, Camarilla) independently through the settings, allowing you to focus your analysis and declutter your chart.
An option to set the Fibonacci direction (Bullish or Bearish) to display only the relevant retracement and extension levels.
Interactive Information Panel:
When Automatic mode is enabled, a sleek information panel appears on the top-right of the chart, displaying the auto-detected High, Low, and Close values, keeping you informed of the data driving the indicator.
Clear Level Labels:
Each line is plotted with a clear label indicating the exact price and the level type, making it easy to identify important support and resistance zones at a glance.
Enhanced ATR Level Touch Counter with Gaussian - OverlayEnhanced ATR Level Touch Counter with Gaussian Statistics
Advanced Pine Script indicator combining ATR-based dynamic levels with Gaussian statistical analysis for precise market structure identification.
Key Features:
Dynamic ATR Levels: 10 customizable levels (5 positive, 5 negative) based on daily ATR percentages
Individual Level Controls: Toggle any level on/off with inline checkboxes
Gaussian Statistics: Real-time mean, standard deviation, and confidence intervals
Custom Sigma Multipliers: Fully adjustable sigma levels (e.g., -2.5σ, +3.5σ) instead of fixed ±1,2,3
Monthly VWAP Integration: Key institutional reference level
Comprehensive Statistics Table: 180-day lookback with touch frequency and percentages
Price Units Display: Shows exact price levels for each ATR percentage
Color Customization: Full control over all visual elements
Overlay Design: Displays directly on main chart for seamless analysis
Perfect for:
Day traders seeking precise entry/exit levels
Statistical analysis of price behavior around key levels
Institutional-grade market structure analysis
Custom sigma-based trading strategies
Transform your trading with data-driven level analysis and customizable statistical boundaries.
ATR-Filtered EMA Scale-Out v7v7
updated adjustable atr
atr upper band
scale out notifications relocated 5 atr away
ema line changed to circles for better visibility
SuperTrend V — Volume Shadow趋势速度分析(中文)Overview
SuperTrend V — Volume Shadow augments the classic SuperTrend with a price–volume “Volume Shadow” core and an EMA-smoothed centerline. Trend direction is derived from ATR bands around that center. The tool also adds a higher-timeframe EMA band (red/blue) for regime filtering and a linear-regression ±σ channel for take-profit triggers—giving you a simple “enter → trail → take profit” workflow.
How it works
Volume Shadow center: a volatility-scaled, volume-diffused series (out) built from price spread and volume; smoothed with EMA to form the SuperTrend base.
SuperTrend line: ATR bands around the smoothed center; green/red cross plot shows the active trailing level.
HTF reference band: red = EMA of out, blue = EMA of open, both computed from a reference timeframe (default 720 minutes). Red above blue = bullish regime; red below blue = bearish regime.
±σ take-profit channel: rolling linear regression midline ± (σ × stdev). Crosses of these bands emit TP triggers.
Inputs
Reference Timeframe (minutes) — default 720.
SuperTrend Multiplier (st_mult) — default 1.0 (higher = fewer, sturdier signals).
SuperTrend Period (st_period) — default 10 (ATR length).
TP Multiplier (σ) — default 2.
TP Window Length (len5) — default 150.
Signals & alerts
Buy: close crosses above the SuperTrend line and price is above the blue EMA.
Sell: close crosses below the SuperTrend line and price is below the blue EMA.
TP triggers (±σ channel)
Long TP Trigger: price crosses down through the upper band (crossunder upper).
Short TP Trigger: price crosses up through the lower band (crossover lower).
Recommended usage (workflow)
Regime filter
Trade longs only when red EMA > blue EMA; shorts only when red EMA < blue EMA.
Entries
Go long on Buy; go short on Sell (both require agreement with the regime filter).
Risk & exit
Use the SuperTrend line as a dynamic stop; flip/exit on an opposite cross.
Take profit
When a TP trigger fires (±σ channel), scale out or trail stops to the most recent ST level.
Suggested starting points
High-volatility (crypto, indices): st_mult 1.2–1.6, st_period 10–14, σ 2–2.5.
Lower-volatility (FX): st_mult 0.8–1.2, st_period 10, σ 1.5–2.
Daily Start Vertical Lines (≤1H)This indicator automatically plots vertical lines at the start of each new trading day, based on the selected chart’s timezone. Unlike the default daily session boundaries (which often start at 17:00 New York time), this tool ensures that lines are drawn precisely at 00:00 midnight of the chart’s timezone.
🔹 Features:
Plots a vertical line at every new day start (midnight).
Fully time-zone aware → lines adjust automatically when you change the chart’s timezone.
Customizable line style, width, and color.
Option to limit plotting to specific timeframes (e.g., show only on ≤ 1H charts).
Lightweight & optimized (does not clutter higher-timeframe charts).
🔹 Use Cases:
Quickly identify daily boundaries for intraday analysis.
Helps scalpers and day traders align trades with new day opens.
Useful for strategies that depend on daily session resets.
This tool is especially helpful for traders who want clarity when working across different time zones.
EMA20/EMA100 RSI Cross – Simpler than SimpleThis indicator combines the clarity of EMA20–EMA100 crossovers with the strength of RSI confirmation, giving traders a straightforward yet effective tool for spotting momentum shifts.
Designed with simplicity in mind, it delivers clear visual signals and instant alerts whenever price conditions align, works perfectly well in every timeframe (my choice is 15M timeframe).
No clutter, no overcomplication – just clean, intuitive signals to help you stay on top of the market.
I want to give it back to Tradingview society, so feel free to try and experience.
Best,
Multi-Timeframe Options Strategy with Dynamic Scoring System## Multi-Timeframe Options Strategy with Dynamic Scoring System
### Overview
This indicator combines 12 technical analysis tools using a proprietary 30-point scoring system to generate options trading signals (CALL/PUT). It's designed for traders seeking confluence-based entries with multiple confirmation layers.
### How the Scoring System Works
The indicator evaluates market conditions across three categories:
**Trend Analysis (9 points maximum):**
- EMA Alignment (9, 21, 50, 200): Checks if moving averages are properly stacked (3 points)
- ADX Trend Strength: Confirms trend momentum above 25 threshold (3 points)
- Higher Timeframe Confirmation: Validates signals against larger timeframe trend (3 points)
**Momentum Indicators (7 points maximum):**
- RSI Position & Direction: Optimal zones 40-65 for buys, 35-60 for sells (2 points)
- MACD Signal Line Cross: Momentum confirmation (2 points)
- Stochastic Oscillator: Overbought/oversold conditions (2 points)
- Bollinger Band Position: Price relative to middle band (1 point)
**Market Quality Filters (4 points maximum):**
- Volume Confirmation: 1.5x average volume requirement (2 points)
- VWAP Position: Trend alignment check (1 point)
- ATR Volatility: Ensures adequate price movement (1 point)
### Key Features
**1. Fair Value Gaps (FVG)**
- Identifies price inefficiencies between candles
- Bullish FVG: Current low > high (potential support)
- Bearish FVG: Current high < low (potential resistance)
- Visual representation with colored boxes on chart
**2. Three Operating Modes**
- Normal Mode: Minimum 10 points - balanced signal frequency
- High Mode: Minimum 15 points - fewer but stronger signals
- Ultra Mode: Minimum 20 points - only highest quality setups
**3. Protection Mechanisms**
- Bollinger Band squeeze detection avoids ranging markets
- Prevents conflicting signals (no simultaneous CALL/PUT)
- 5-bar minimum cooldown between signals
- Filters extreme RSI readings (>75 or <25)
**4. Risk Management**
- Three profit targets: 0.5%, 1%, 1.5%
- Stop loss: 0.5% or ATR-based
- Visual target lines with entry/exit levels
### How Components Work Together
The indicator creates a comprehensive market analysis by combining:
- **EMAs** provide the trend structure framework
- **Oscillators** (RSI, Stochastic) identify optimal entry timing
- **ADX** confirms trend strength to filter weak signals
- **Volume** validates institutional participation
- **Higher timeframe** acts as a directional filter
Each component contributes points to either bullish or bearish scoring. Signals only generate when one direction significantly outweighs the other and meets minimum thresholds.
### Usage Instructions
1. **Select Mode**: Choose Normal/High/Ultra based on your trading style
2. **Monitor Dashboard**: Check real-time scoring and market conditions
3. **Wait for Signals**: Main BUY/SELL labels appear when criteria met
4. **Follow Targets**: Use automated TP and SL levels for risk management
5. **Candle Labels**: Optional CALL/PUT labels show building momentum
### Dashboard Information
The dashboard displays:
- Current trend direction and HTF confirmation
- ADX strength and direction
- RSI status with divergence detection
- MACD momentum state
- Volume multiplier
- Market condition (trending/ranging)
- Live scoring for both directions
### Important Notes
- This is a technical analysis tool, not financial advice
- Past performance does not guarantee future results
- Always use proper risk management
- Test thoroughly on demo before live trading
### Originality
This indicator's unique value comes from:
1. The 30-point weighted scoring system that prioritizes different factors
2. Integration of Fair Value Gaps with traditional indicators
3. Multi-mode operation allowing traders to adjust signal frequency
4. Higher timeframe validation system
5. Comprehensive filtering to reduce false signals
The combination creates a systematic approach to options trading that goes beyond simple indicator mashups by providing clear, scored reasoning for each signal.
---
### Updates and Support
For questions or suggestions, please comment below. The indicator will be updated based on community feedback while maintaining compliance with all platform rules.
DMNKNDSupport and Resistance Indicator. Automatically checks the support and resistance system based on market structure and volume tracking.
IBS Multi-Bar Retracement Analyzer v6 ProIBS Multi-Bar Retracement Analyzer v6 Pro - Complete Functionality
This indicator performs quantitative analysis of Internal Bar Strength (IBS) patterns and their subsequent price retracement behavior under various market regime filters, with multi-bar holding period analysis.
Core Methodology
IBS Calculation: (Close - Low) / (High - Low), measuring where price closed within each bar's range (0.0 = closed at low, 1.0 = closed at high)
Retracement Analysis: For each historical bar meeting filter criteria, the indicator:
Calculates the bar's IBS and assigns it to one of 5 buckets (0.0-0.2, 0.2-0.4, 0.4-0.6, 0.6-0.8, 0.8-1.0)
Analyzes how future price action retraces into that bar's range over 1-5 subsequent bars
Maps retracement levels to 15 extended buckets (from <-0.8 to ≥1.8 range)
Stores results in 5×15 matrices for bullish and bearish reference bars separately
Multi-Bar Enhancement: Instead of single-bar analysis, calculates the combined high/low range across multiple future bars to reveal maximum favorable/adverse excursion over specified holding periods.
Analysis Parameters
Analysis Window: 100-5000 historical bars for statistical analysis
Future Bar Count: 1-5 bars for multi-bar retracement analysis
Bucket System: Standard (0.0-1.0) or Extended (-0.8 to 1.8) retracement ranges
HTF First Bar Handling: Four methods for handling bars where open equals higher timeframe open
Six-Layer Filter System
1. Higher Timeframe Filters
Primary: 1-hour open filter (Above/Below)
Secondary: Configurable timeframe filter (Above/Below)
Special handling for first bar of each HTF period
2. EMA Trend Filter
Configurable length (5-200 periods)
Above/Below EMA positioning
3. ATR Volatility Filters
ATR Multiple Filter: Current ATR vs baseline ATR threshold
Range/ATR Filter: Current bar's range relative to ATR
4. Previous Bar IBS Filter
Analyzes IBS of bar immediately before reference bar
Configurable threshold (0.0-1.0) and direction (Above/Below)
Enables two-bar sequence pattern analysis
Data Architecture
Matrix-Based Storage: 5×15 integer matrices for bullish/bearish data
Rows: IBS buckets of reference bar
Columns: Retracement buckets of future price action
Eliminates manual index calculations and enables row/column operations
Distribution Tracking: Parallel arrays track unfiltered distributions for bias analysis
Validation Metrics: Counts successful multi-bar analyses vs insufficient data cases
Table Output System
Dynamic Table Generation:
Matrix row iteration for clean data display
Conditional formatting based on retracement percentages
Raw counts, percentages, or combined display formats
Distribution Comparison: Shows how filters bias IBS bucket distribution vs baseline data
Filter Status Display: Real-time indication of active filters and their parameters
Research Capabilities
Mean Reversion Analysis:
Identifies optimal holding periods for each IBS range
Reveals edge persistence or degradation over time
Maps adverse excursion patterns
Filter Effectiveness Studies:
Regime-dependent pattern analysis
Filter bias quantification
Multi-dimensional filtering combinations
Sequence Pattern Recognition:
Two-bar IBS sequence analysis (high→low, low→low, etc.)
Momentum vs reversal pattern identification
Risk-Reward Profiling:
Maximum favorable/adverse excursion mapping
Success rate curves across holding periods
Breakout vs reversion classification
Visual Components
Bar Coloring: Real-time indication of bars passing all filter criteria
Optional Plots: EMA and ATR threshold lines
Debug Output: Comprehensive filter status and multi-bar analysis statistics
Technical Implementation
Performance Optimization:
Batch processing on last confirmed historical bar
Matrix operations instead of flattened arrays
Efficient reset functions using built-in matrix operations
Data Validation:
Robust handling of missing or invalid data
Statistical significance tracking
Edge case protection for range calculations
Non-Repainting Design: All filter calculations maintain historical consistency using proper bar referencing and confirmed bar states.
The indicator transforms basic IBS analysis into a sophisticated quantitative research tool for identifying high-probability mean reversion setups under specific market conditions, with statistical validation of edge persistence over varying holding periods.
ActivTrades - Crypto Fear & Greed Index - Ion JaureguiActivTrades - Crypto Fear & Greed Index - Ion Jauregui
This indicator measures the overall sentiment of the crypto market by combining key metrics: RSI, volatility, volume, BTC momentum, and altcoin dominance. Each component is normalized and weighted to generate an index from 0 to 100:
0–40 → Fear zone: investors show risk aversion.
40–60 → Neutral zone: market is balanced.
60–100 → Greed zone: investors show euphoria and higher risk appetite.
The indicator allows traders to quickly visualize market conditions and identify potential investment opportunities based on overall sentiment.
*******************************************************************************************
The information provided does not constitute investment research. The material has not been prepared in accordance with the legal requirements designed to promote the independence of investment research and such should be considered a marketing communication.
All information has been prepared by ActivTrades ("AT"). The information does not contain a record of AT's prices, or an offer of or solicitation for a transaction in any financial instrument. No representation or warranty is given as to the accuracy or completeness of this information.
Any material provided does not have regard to the specific investment objective and financial situation of any person who may receive it. Past performance and forecasting are not a synonym of a reliable indicator of future performance. AT provides an execution-only service. Consequently, any person acting on the information provided does so at their own risk. Political risk is unpredictable. Central bank actions can vary. Platform tools do not guarantee success.
INDICATORS RISK ADVICE: The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by ActivTrades. This script intends to help follow the trend and filter out market noise. This script is meant for the use of international users. This script is not meant for the use of Spain users.
The Debasement IndexOVERVIEW
The Debasement Index measures asset prices relative to monetary debasement, providing a currency-neutral view of underlying economic fundamentals. Unlike traditional inflation metrics, it captures the sole impact of money supply expansion on asset valuations across different monetary regimes.
Key Innovation: Divides any asset by the ratio of Broad Money Supply (M2/M3) to Real GDP, reducing the impact of excess money creation on asset prices.
HOW IT WORKS
• Input 1: Select any symbol/asset for analysis (default: close price)
• Region: Choose country/currency for debasement calculation
• Display: Purple line overlay on main chart
Formula: Asset Price ÷ Debasement Index
i.e.
Formula: Asset Price ÷ (Money Supply / Real Output / last result (to rebased the index))
The indicator calculates neutralised security prices for each supported region:
• Numerator: M2/M3 money supply data
• Denominator: Real GDP (inflation-adjusted economic output)
• Number: rebases the index to the last updated value of the selected security
Supported Regions: US, UK etc. (regions may change based on availability)
DATA SOURCES
FRED (Federal Reserve Economic Data), TradingView Economics data feeds
INTERPRETATION
Rising Ratio: Asset outperforming monetary debasement (genuine value creation)
Falling Ratio: Asset underperforming relative to currency dilution (fundamental value loss)
Trend Analysis: Long-term slopes reveal whether assets maintain purchasing power against monetary expansion
The purple line represents the performance of the selected security after filtering out monetary noise, exposing fundamental economic trends that raw prices often obscure.
Take special note that most indices do not provide the total return, and the total return is necessary to understand actual value gains and losses.
APPLICATIONS
• Asset Allocation: Compare real returns across different monetary environments
• Cross-Country Analysis: Evaluate assets in countries with varying monetary policies
• Regime Identification: Spot asset price transitions that raw price measurements might obfuscate
• Value Assessment: Distinguish between monetary-driven and fundamental price movements
THEORETICAL FOUNDATION
Inspired by Anna Schwartz's monetary framework, the index attempts to measure currency dilution and remove that impact on the selected asset prices. It is a systematic attempt to filter out ‘monetary noise’ from financial data. The index addresses limitations of traditional inflation measures by:
1. Using real GDP (not nominal) to avoid circular causation of money creation
2. Capturing asset price effects beyond goods and services
3. Providing regime-aware analysis across monetary systems
LIMITATIONS
• Requires reliable M2/M3 and GDP data (scope and quality vary by country)
• Rebasing factors need periodic adjustment
• Most effective for medium to long-term analysis
• Not suitable for short-term trading signals
Note: This indicator reveals trends rather than providing entry/exit signals. Combining debasement-adjusted indices with comprehensive fundamental analysis can reframe and enhance your insights, providing a more complete understanding of price developments over time.