vector0Library "vector0"
TODO: add library description here
test()
TODO: add function description here
Returns: TODO: add what function returns
Indicatori e strategie
Highlight Candle with Half Volume on CloseIt checks volume of the current candle and compares with previous candle,
if volume is low then it highlights the candle. Lines are configurable.
EZSignals SuperTrend EMAA technical indicator, even with high accuracy, must be rigorously backtested to assess its stability across various market conditions. Its effectiveness depends not only on the algorithm itself but also on how it is integrated into the overall trading system. Proper usage, combined with risk management and a solid understanding of market context, is essential to convert theoretical accuracy into practical trading advantage.
🐿️ Squirrel of Wall Street This indicator is provided for educational and informational purposes only. It does not constitute a buy or sell recommendation. The user is solely responsible for any trading decisions. Always do your own research and use appropriate risk management.
EZSignals SuperTrend EMAA technical indicator, even with high accuracy, must be rigorously backtested to assess its stability across various market conditions. Its effectiveness depends not only on the algorithm itself but also on how it is integrated into the overall trading system. Proper usage, combined with risk management and a solid understanding of market context, is essential to convert theoretical accuracy into practical trading advantage.
VWAP-RSI Scalper FINAL v1Description
This script implements a robust, battle-tested intraday scalping strategy designed for prop firm challenges, funded trader programs, and serious futures scalpers.
It combines VWAP, RSI, EMA trend, and ATR-based risk management to capture high-probability mean reversion and momentum moves during the most liquid hours of the trading day.
Core Logic
RSI (Relative Strength Index):
Trades are triggered when the RSI is either oversold or overbought using a short lookback (default: 3). This ensures only the strongest intraday reversals or exhaustion moves are considered.
VWAP Filter:
Longs are only taken above VWAP, shorts only below VWAP, aligning trades with the session’s dominant bias.
EMA Filter:
Additional trend quality filter—longs require price above EMA, shorts below EMA.
Session Control:
Only trades between user-defined session hours (default: US cash session), eliminating overnight/illiquid action.
ATR-based Dynamic Stops & Targets:
Every trade uses a stop loss at 1x ATR and a take profit at 2x ATR for a positive risk/reward ratio.
Max Trades Per Day:
Prevents overtrading and controls risk exposure (default: 3).
Performance (Sample Backtest)
Profit Factor: 1.37+ (prop-firm quality)
Drawdown: <1% (very conservative risk)
Win Rate: 37–48% (RR > 1, so high edge)
Consistency: Smooth, steady equity curve over hundreds of trades.
Best For:
ES/NQ/CL/GC intraday traders
Prop firm evaluation challenges (Tradeify, Topstep, Apex, etc.)
Anyone needing robust, no-nonsense systematic edge for futures or indices.
How to Use & Tune
Apply to 3min, 5min, or 15min charts of liquid futures or indices.
Change parameters in the settings panel to suit your asset, volatility, or session hours.
Use “Strategy Tester” to validate P&L, win rate, and drawdown.
How to Optimize
Raise/lower RSI length or bands to make signals more/less frequent.
Adjust stop/target multiples for your preferred risk/reward profile.
Change session hours to match your broker or market.
Disclaimer
This is not financial advice. Use on a demo or sim account first. Results will vary by market, slippage, and execution speed. Past performance does not guarantee future results.
If you find this useful, please give it a like, follow for more strategies, and comment your results or questions!
Good luck and safe trading!
Volume Statistics - IntraweekVolume Statistics - Intraweek: For Orderflow Traders
This tool is designed for traders using volume footprint charts and orderflow methods.
Why it matters:
In orderflow trading, you care about the quality of volume behind each move. You’re not just watching price; you’re watching how much aggression is behind that price move. That’s where this indicator helps.
What to look at:
* Current Volume shows you how much volume is trading right now.
* Central Volume (median or average over 24h or 7D) gives you a baseline for what's normal volume VS abnormal volume.
* The Diff vs Central tells you immediately if current volume is above or below normal.
How this helps:
* If volume is above normal, it suggested elevated levels of buyer or seller aggression. Look for strong follow-through or continuation.
* If volume is below normal, it may signal low interest, passive participation, a lack of conviction, or a fake move.
* Use this context to decide if what you're seeing in the footprint (imbalances, absorption, traps) is actually worth acting on.
Extra context:
* The highest and lowest volume levels and their timestamps help you spot prior key reactions.
* Second and third highest bars help you see other major effort points in the recent window.
Comment with any suggestions on how to improve this indicator.
Time Window Optimizer [theUltimator5]The Time Window Optimizer is designed to identify the most profitable 30-minute trading windows during regular market hours (9:30 AM - 4:00 PM EST). This tool helps traders optimize their intraday strategies by automatically discovering time periods with the highest historical performance or allowing manual selection for custom analysis. It also allows you to select manual timeframes for custom time period analysis.
🏆 Automatic Window Discovery
The core feature of this indicator is its intelligent Auto-Find Best 30min Window system that analyzes all 13 possible 30-minute time slots during market hours.
How the Algorithm Works:
Concurrent Analysis: The indicator simultaneously tracks performance across all 13 time windows (9:30-10:00, 10:00-10:30, 10:30-11:00... through 15:30-16:00)
Daily Performance Tracking: For each window, it captures the percentage change from window open to window close on every trading day
Cumulative Compounding: Daily returns are compounded over time to show the true long-term performance of each window, starting from a normalized value of 1.0
Dynamic Optimization: The system continuously identifies the window with the highest cumulative return and highlights it as the optimal choice
Statistical Validation: Performance is validated through multiple metrics including average daily returns, win rates, and total sample size
Visual Representation:
Best Window Line: The top-performing window is displayed as a thick colored line for easy identification
All 13 Lines (optional): Users can view performance lines for all time windows simultaneously to compare relative performance
Smart Coloring: Lines are color-coded (green for gains, red for losses) with the best performer highlighted in a user-selected color
📊 Comprehensive Performance Analysis
The indicator provides detailed statistics in an information table:
Average Daily Return: Mean percentage change per trading session
Cumulative Return: Total compounded performance over the analysis period
Win Rate: Percentage of profitable days (colored green if ≥50%, red if <50%)
Buy & Hold Comparison: Shows outperformance vs. simple buy-and-hold strategy
Sample Size: Number of trading days analyzed for statistical significance
🛠️ User Settings
imgur.com
Auto-Optimization Controls:
Auto-Find Best Window: Toggle to enable/disable automatic optimization
Show All 13 Lines: Display all time window performance lines simultaneously
Best Window Line Color: Customize the color of the top-performing window
Manual Mode:
imgur.com
Custom Time Window: Set any desired time range using session format (HHMM-HHMM)
Crypto Support: Built-in timezone offset adjustment for cryptocurrency markets
Chart Type Options: Switch between candlestick and line chart visualization
Visual Customization:
imgur.com
Background Highlighting: Optional background color during active time windows
Candle Coloring: Custom colors for bullish/bearish candles within the time window
Table Positioning: Flexible placement of the statistics table anywhere on the chart
🔧 Technical Features
Market Compatibility:
Stock Markets: Optimized for traditional market hours (9:30 AM - 4:00 PM EST)
Cryptocurrency: Includes timezone offset adjustment for 24/7 crypto markets
Exchange Detection: Automatically detects crypto exchanges and applies appropriate settings
Performance Optimization:
Efficient Calculation: Uses separate arrays for each time block to minimize computational overhead
Real-time Updates: Dynamically updates the best-performing window as new data becomes available
Memory Management: Optimized data structures to handle large datasets efficiently
💡 Use Cases
Strategy Development: Identify the most profitable trading hours for your specific instruments
Risk Management: Focus trading activity during historically successful time periods
Performance Comparison: Evaluate whether time-specific strategies outperform buy-and-hold
Market Analysis: Understand intraday patterns and market behavior across different time windows
📈 Key Benefits
Data-Driven Decisions: Base trading schedules on historical performance data
Automated Analysis: No manual calculation required - the algorithm does the work
Flexible Implementation: Works in both automated discovery and manual selection modes
Comprehensive Metrics: Multiple performance indicators for thorough analysis
Visual Clarity: Clear, color-coded visualization makes interpretation intuitive
This indicator transforms complex intraday analysis into actionable insights, helping traders optimize their time allocation and improve overall trading performance through systematic, data-driven approach to market timing.
Terminal de Estrategias PRO (MTF + Order Blocks)this is a new test for the implementation of functions on my app web for signals
SquirrelofwallstreetAlien technologia
possible strategic entrie
English:
This content is provided for informational purposes only. We disclaim any responsibility for how it may be used. Please consult a qualified professional for any specific advice.
ORB Scalp setup by Unenbat With Signal**ORB Scalp Setup by Unenbat with Signal**
This indicator visualizes a custom Opening Range Breakout (ORB) strategy using a 6-minute range split across the end of one hour and the start of the next. It identifies two key trade setups using 1-hour candles:
* **Reverse Signals:** Triggered when the second 1H candle breaks the previous high/low but closes back inside, signaling a reversal.
* **Continuation Signals:** Triggered when the second 1H candle breaks and closes beyond the previous candle’s range, confirming trend continuation.
SL/TP zones are plotted accordingly, with optional fill coloring. No trades are displayed during "inside bars" or "manipulation" candles.
Volume Weighted Average PriceBasic VWAP indicator based on standard indicator with addition of previous period
MANI SESSIONSOANDA:GBPUSD This indicator marks the opening times of the three main trading sessions — Asia, London, and New York — using vertical red dotted lines on the chart.
Each session is labeled with a minimal tag (“ASIA”, “LDN”, “NY”) displayed directly on the line for clean and unobtrusive reference.
All session times are based on the New York time zone and adjust automatically for each new day.
This tool helps intraday traders quickly identify session shifts, plan entries around high-volume hours, and stay locked into session-based strategy.
OANDA:GBPUSD
Liquidation Heatmap Proxy [victhoreb]Author: victhoreb
This script was inspired by the Coinglass indicator: www.coinglass.com
It divides each bar into subbars determined by the intrabar period. For each bar, it considers subbars with a positive OID (open interest delta) (if the user sets "Filter by Signal" to true, it only considers subbars with OID > 0 from a main bar that had a peak in open interest). In these subbars, it considers opened long/short positions based on the intrabar price movement and the dispersion factor (which becomes completely unnecessary if the user is using Intrabar Resolution in ticks; in this case, set the dispersion factor = 0).
After determining the opened long and short positions, it determines, based on the user-selected leverages, the liquidation level for each position. The width of each level is given by syminfo.mintick * scale. The script uses the intrabar OID from the previous step to store an estimate of the number of contracts to be liquidated at each level. This estimate is used to color the levels by order of magnitude.
If there is a subsequent increase in liquidations at a pre-existing level, the script accumulates the estimated number of contracts to be liquidated and repaints the level. A note about a visual limitation of the script is important: in Coinglass' version, when there is a subsequent increase in liquidations at a pre-existing level, Coinglass paints the level a brighter color ONLY from the moment of the increase—however, this script does not do this; it repaints the entire level with the brighter color. Note: While accurate, this script is only a proxy. Use at your own risk.
This script has alerts for when there is liquidation in the long or short direction.
TOTAL3ES/ETH Mean ReversionTOTAL3ES/ETH Mean Reversion Indicator
Overview
The TOTAL3ES/ETH Mean Reversion indicator is a specialized tool designed exclusively for analyzing the ratio between TOTAL3 excluding stablecoins (TOTAL3ES) and Ethereum's market capitalization. This ratio provides crucial insights into the relative performance and valuation cycles between altcoins and ETH, making it an essential tool for cryptocurrency portfolio allocation and market timing decisions.
What This Indicator Measures
This indicator tracks the market cap ratio of all altcoins (excluding ETH and stablecoins) to Ethereum's market cap. When the ratio is:
Above 1.0 (Parity): Altcoins have a larger combined market cap than ETH
Below 1.0 (Parity): ETH's market cap exceeds the combined altcoin market cap
Key Features
Historical Context
Historical Range: 0.64 (July 2017 low) to 3.49 (all-time high)
Midpoint: 2.065 - the mathematical center of the historical range
Parity Line: 1.0 - the psychological level where altcoins = ETH market cap
Mean Reversion Zones
The indicator identifies extreme valuation zones based on historical data:
Upper Extreme Zone (~2.92 at 80% threshold): Suggests altcoins may be overvalued relative to ETH
Lower Extreme Zone (~1.21 at 80% threshold): Suggests altcoins may be undervalued relative to ETH
Visual Elements
Color-coded zones: Red shading for bearish reversion areas, green for bullish reversion areas
Multiple reference lines: Parity, midpoint, and historical extremes
Information table: Real-time metrics including current ratio, range position, and reversion pressure
Customizable display: Toggle zones, lines, and adjust transparency
How to Use This Indicator
Market Cycle Analysis
Extreme High Zone (Red): When ratio enters this zone, consider potential ETH outperformance
Extreme Low Zone (Green): When ratio enters this zone, consider potential altcoin season
Parity Crossovers: Monitor when ratio crosses above/below 1.0 for sentiment shifts
Portfolio Allocation Signals
High Ratio Values: May indicate overextended altcoin valuations relative to ETH
Low Ratio Values: May suggest undervalued altcoins relative to ETH
Midpoint Reversions: Historical tendency to revert toward the 2.065 midpoint
Alert Conditions
The indicator includes built-in alerts for:
Entering extreme high/low zones
Parity crossovers (above/below 1.0)
Mean reversion signals
Input Parameters
Display Settings
Show Reversion Zones: Toggle colored extreme zones on/off
Show Midpoint: Display the historical midpoint line
Show Parity Line: Show the 1.0 parity reference line
Zone Transparency: Adjust shaded area opacity (70-95%)
Calculation Settings
Reversion Strength Period: Moving average period for reversion calculations (10-50)
Extreme Threshold: Percentage of historical range defining extreme zones (0.5-1.0)
Information Table Metrics
The bottom-right table displays:
Current Ratio: Live TOTAL3ES/ETH value
Range Position: Current position within historical range (%)
From Parity: Distance from 1.0 parity level (%)
Reversion Pressure: Intensity of mean reversion forces (%)
Zone: Current market zone classification
Historical Range: Reference boundaries (0.64 - 3.49)
Midpoint: Historical center value
Important Notes
Chart Compatibility
Exclusively designed for CRYPTOCAP:TOTAL3ES/CRYPTOCAP:ETH
Built-in validation ensures proper chart usage
Will display error message if applied to incorrect charts
Trading Considerations
This is an analytical tool, not trading advice
Mean reversion is a tendency, not a guarantee
Consider multiple timeframes and confirmations
Factor in overall market conditions and trends
Risk Disclaimer
Past performance does not guarantee future results. Cryptocurrency markets are highly volatile and unpredictable. Always conduct your own research and consider your risk tolerance before making investment decisions.
Ideal Use Cases
Portfolio rebalancing between ETH and altcoins
Market cycle timing for position adjustments
Sentiment analysis of crypto market phases
Long-term allocation strategies based on historical patterns
Risk management through extreme zone identification
This indicator serves as a quantitative framework for understanding the cyclical relationship between Ethereum and the broader altcoin market, helping traders and investors make more informed allocation decisions based on historical valuation patterns.ons
- Factor in overall market conditions and trends
### Risk Disclaimer
Past performance does not guarantee future results. Cryptocurrency markets are highly volatile and unpredictable. Always conduct your own research and consider your risk tolerance before making investment decisions.
KAP RSI 14 & 2 (fixe)What does this indicator do?
It calculates two different RSIs:
The classic RSI with a 14-period (RSI 14) — measures the strength of price moves over 14 bars.
A faster RSI with a 2-period (RSI 2) — very sensitive, useful to spot short-term extreme conditions.
It displays these two RSI values in a fixed table at the top right corner of the chart, so the dashboard stays visible even when you scroll or zoom.
Each RSI value is colored:
Red when the RSI is at extreme levels (RSI 14 above 75 or below 30, RSI 2 above 95 or below 5), signaling overbought or oversold conditions.
Green when RSI is in a normal range.
Why is it useful?
It lets you quickly see the market’s condition with two RSI timeframes without searching the chart.
You monitor both medium-term trend strength (RSI 14) and short-term extreme signals (RSI 2).
The fixed dashboard makes it easy to keep an eye on these values at all times.
Customization options
You can choose which corner of the screen to place the dashboard (top-left, top-right, bottom-left, bottom-right).
The background is semi-transparent so it doesn’t cover the chart details.
Parabolic SAR with Early Buy & MA-Based Exit Strategy📝 Strategy Description (Max SEO Impact)
This advanced Parabolic SAR-based trading strategy is designed to capture early trend reversals and exit intelligently using a dynamic moving average filter. It enters long trades when a PSAR reversal occurs, and exits only when the PSAR moves above price and the price falls below the 11-period SMA, helping avoid premature exits during volatile swings.
📌 Features:
• Custom Parabolic SAR calculation for refined trend tracking
• Background highlights during buy zones (SAR below price)
• Exit signals only when trend weakens (PSAR above + price under SMA)
• Red flag plotted on chart at exit bars for clear visual identification
• Works on all timeframes and instruments
Ideal for swing traders, trend followers, and strategy testers looking for smart PSAR-based entries with smoother exits.
MACD + RSI Signal ArrowsA small green arrow up (↑) when there's a buy signal
A small red arrow down (↓) when there's a sell signal
Cumulative Volume Delta (SB-1) 2.0
📈 Cumulative Volume Delta (CVD) — Stair-Step + Threshold Alerts
🔍 Overview
This Cumulative Volume Delta (CVD) tool visualizes aggressive buying and selling pressure in the market by plotting candlestick-style bars based on volume delta. It helps traders understand which side — buyers or sellers — is exerting more control on lower timeframes and highlights momentum shifts through stair-step patterns and delta threshold breaks. Resets to zero at EOD
Ideal for futures traders, scalpers, and intraday strategists looking for orderflow-based confirmation.
🧠 What Is CVD?
CVD (Cumulative Volume Delta) measures the difference between market buys and sells over a specific timeframe. When the delta is rising, it suggests buyers are being more aggressive. Falling delta suggests seller dominance.
This script aggregates volume delta from a lower timeframe and plots it in a higher timeframe context, allowing you to track microstructure shifts within larger candles.
📊 Features
✅ CVD Candlesticks
Each bar represents volume delta as an OHLC-style candle using:
Open: Delta at the start of the bar
High/Low: Peak delta range
Close: Final delta value at bar close
Teal candles = Net buying pressure
Red candles = Net selling pressure
✅ Threshold Levels (Key Visual Zones)
The script includes horizontal dashed lines at:
+5,000 and +10,000 → Signify strong buying pressure
-5,000 and -10,000 → Signify strong selling pressure
0 line → Neutrality line (no net pressure)
These levels act as volume-based support/resistance zones and breakout confirmation tools. For example:
A CVD cross above +5,000 shows buyers taking control
A CVD cross above +10,000 implies strong bullish momentum
A CVD cross below -5,000 or -10,000 signals intense selling pressure
📈 Stair-Step Pattern Detection
Detects two specific volume-based continuation setups:
Bullish Stair-Step: Both the high and low of the CVD candle are higher than the previous candle
Bearish Stair-Step: Both the high and low of the CVD candle are lower than the previous candle
These patterns often appear during trending moves and serve as confirmation of strength or continuation.
Visual markers:
🟢 Green triangles below bars = Bullish stair-step
🔴 Red triangles above bars = Bearish stair-step
🔔 Alert Conditions
Get real-time alerts when:
Bullish Stair-Step is detected
Bearish Stair-Step is detected
CVD crosses above +5,000
CVD crosses below -5,000
📢 Alerts only trigger on crossover, not every time CVD remains above or below. This avoids repetitive notifications.
⚙️ Inputs & Customization
Anchor Timeframe: The higher timeframe to which CVD data is applied (default: 1D)
Lower Timeframe: The timeframe used to calculate the CVD delta (default: 5 minutes)
Optional Override: Use custom timeframe toggle to force your own micro timeframe
📌 How to Use This CVD Indicator (Step-by-Step Guide)
✅ 1. Confirm Bias Using the Zero Line
The zero line (0 CVD) represents neutral pressure — neither buyers nor sellers are dominating.
Use it as your first filter:
🔼 If CVD is above 0 and rising → Buyer control
🔽 If CVD is below 0 and falling → Seller control
🧠 Tip: CVD rising while price is consolidating may signal hidden buyer interest.
✅ 2. Watch for Crosses of Key Levels: +5,000 and +10,000
These levels act as momentum thresholds:
Level Signal Type What It Means
+5,000 Buyer breakout Buyers are starting to dominate
+10,000 Strong bull bias Strong institutional or algorithmic buying flow
-5,000 Seller breakout Sellers are taking control
-10,000 Strong bear bias Heavy selling pressure is entering the market
Wait for CVD to cross above +5K or below -5K to confirm the active side.
Use these crossovers as entry triggers, breakout confirmations, or trade filters.
🔔 Alerts fire only when the level is first crossed, not every bar above/below.
✅ 3. Use Stair-Step Patterns for Continuation Confirmation
The indicator shows stair-step patterns using triangle signals:
🟢 Green triangle below bar = Bullish stair-step
Suggests a higher high and higher low in delta → buyers stepping up
🔴 Red triangle above bar = Bearish stair-step
Suggests lower highs and lower lows in delta → selling pressure building
Use stair-step signals:
To confirm a continuation of trend
As an entry or add-on signal
Especially after a threshold breakout
🧠 Example: If CVD breaks above +5K and forms bullish stairs → confirms strong trend, ideal for momentum entries.
✅ 4. Combine with Price Action or Structure
CVD works best when used with price, not in isolation. For example:
📉 Price makes a new low but CVD doesn’t → potential bullish divergence
📈 CVD surges while price lags → buyers are absorbing, breakout likely
Use it with:
VWAP
Orderblocks
Liquidity sweeps
Break of market structure/MSS/BOS
✅ 5.
Set Anchor Timeframe = Daily
Set Lower Timeframe = 5 minutes (default)
This lets you:
See intraday flow inside daily bars
Confirm whether a daily candle is being built on net buying or selling
🧠 You’re essentially seeing intra-bar aggression within a bigger time structure.
🧭 Example Trading Setup
Bullish Scenario:
CVD is rising and above 0
CVD crosses above +5,000 → alert fires
Green stair-step appears
Price breaks local resistance or liquidity sweep completes
✅ Consider long entry with structure and CVD alignment
🎯 Place stops below last stair-step or structural low
📌 Final Notes
This tool does not repaint and is designed to work in real-time across all futures, crypto, and equity instruments that support volume data. If your symbol does not provide volume, the script will notify you.
Use it in confluence with VWAP, liquidity zones, or structure breaks for high-confidence trades.