VIX + EMA Trend SinyaliOverlay: true (Gösterge, fiyat grafiği üzerine çizilir).
Maksimum Etiket Sayısı: 500 (Grafikteki sinyal işaretlerinin sayısı sınırlıdır).
Indicator Name: VIX + EMA Trend Signal
Platform: TradingView (Pine Script v5)
Purpose: Generate buy (BUY) and sell (SELL) signals in the market using the VIX Index and EMAs (5 and 21 periods).
Features: Evaluates market fear levels using VIX Index data.
Analyzes EMA (5 and 21) trends.
Generates combined signals (BUY, SELL, WAIT).
Displays EMA lines, VIX levels, and signal signals on the chart for visualization.
Provides summary information in a tabular format.
Includes alert conditions for automatic buy/sell signals.
Overlay: true (The indicator is drawn over the price chart).
Maximum Number of Labels: 500 (The number of signal signals on the chart is limited).
Indicadores e estratégias
RSI Plus – Divergence + EMA/WMAThis is an advanced RSI indicator with multi-timeframe dashboard support.
Features:
Customizable Moving Averages (EMA, WMA, SMA, VWMA, SMMA)
Divergence detection
RSI zones with background highlights
Clear buy/sell signals with visual alerts
Perfect for traders who want both classic RSI analysis and cross-timeframe confirmation in one tool.
HANUMAN INDICATORThe VIKRANT INDICATOR is a powerful all-in-one TradingView tool designed for traders who want accuracy, clarity, and confidence in their trades. Built with advanced technical logic, it helps identify market trends, entry & exit points, and high-probability trade setups across Forex, Crypto, Indices, Stocks, and Commodities.
⚡ Key Features:
✅ Smart Trend Detection using multi-layer confluence (EMA / Supertrend / RSI / Volume logic)
✅ Clear Buy/Sell signals with chart labels
✅ Built-in Stop Loss (SL), Take Profit (TP), and Trailing Stop system
✅ Works on all timeframes – from scalping (1m/5m) to intraday & swing trading
✅ Backtestable strategy to check accuracy & performance
✅ Fully customizable settings for every trader’s style
Combined CE and PE Option Overlay with pending signalsBETTERMENT OF PREVIOUS VERSION WITH LONGER EXECUTION
consider that after a ce signal appears it is triggered when price crosses and closses the ce signal candle high; simialrly for pe signal if the price closes below the pe signal candle loe then the signal is considered triggered. now if a ce signal is triggerred and then the price reverses to create a pe signal but the pe signal is not triggered, and then again a new signal is generated that gets triggered then this new ce signal should be considered as the subsignal of previous ce signal and this signal label and lines should be orange in colour and both ce signals should be displayed. same vise a versa for pe signal
Future 8 AM MarkerThis simple script marks the 8:00 AM New York open on the chart each day. It’s especially useful in Replay Mode to track price reactions and practice setups around this key time.
Trend Pro - @CRYPTIK1Introduction: What is Trend Pro?
Trend Pro is a comprehensive trend analysis tool designed to give you a clear, at-a-glance understanding of the market's direction across multiple timeframes. In a noisy market, the single most important factor is the dominant trend. This indicator filters out the noise by focusing on one core principle: trading with the primary momentum of the market.
Instead of cluttering your chart with confusing signals, Trend Pro provides a clean, visual representation of the trend, helping you make more confident and informed trading decisions.
The Core Concept: The Power of Confluence
The strength of any trading decision comes from confluence—when multiple factors align to point in the same direction. Trend Pro is built on this idea. It uses a long-term moving average (200-period by default) to define the primary trend on your current chart and then pulls in data from three higher timeframes to confirm whether the broader market agrees with your analysis.
When your current timeframe and the higher timeframes are all aligned, you have a state of "confluence," which represents a higher-probability environment for trend-following trades.
This tool is designed to be a foundational layer for your trading system, providing the essential context you need before entering any trade.
Key Features
1. The Dynamic Trend MA:
The main moving average on your chart acts as your primary guide. Its color dynamically changes to give you an instant read on the market.
Green MA: The price is in a confirmed uptrend (trading above the MA).
Red MA: The price is in a confirmed downtrend (trading below the MA).
2. The Multi-Timeframe (MTF) Trend Dashboard:
Located discreetly in the bottom-right corner, this dashboard is your window into the broader market sentiment. It shows you the trend status (Up, Down, or Neutral) on three customizable higher timeframes.
Green Box: The trend is UP on that timeframe.
Red Box: The trend is DOWN on that timeframe.
Gray Box: The price is neutral or at the MA on that timeframe.
How to Use Trend Pro: A Simple Framework
Step 1: Identify the Primary Trend
Look at the color of the MA on your main chart. This is your starting point. If it's green, you should be looking for opportunities to go long. If it's red, you should be looking for opportunities to go short.
Step 2: Check for Confluence
Glance at the MTF Trend Dashboard.
Strong Confluence (High-Probability): If your main chart is in an uptrend (Green MA) and the dashboard shows all green boxes, the market is in a strong, unified uptrend. This is a high-probability environment to be a buyer.
Weak or No Confluence (Caution Zone): If your main chart is in an uptrend, but the dashboard shows red or gray boxes, it signals that the higher timeframes are not in agreement. This is a sign of market indecision and a lower-probability environment. It's often best to wait for the timeframes to align.
Best Practices & Settings
Timeframe Synergy: For the best results, use Trend Pro on a lower timeframe and set your dashboard to higher timeframes. For example, if you trade on the 1-hour chart, set your MTF dashboard to the 4-hour, 1-day, and 1-week to get a complete picture of the market.
Use as a Confirmation Tool: Trend Pro is not designed to be a standalone entry/exit system. Use it as the foundational layer of your analysis. First, confirm the trend with Trend Pro, then use your preferred entry method (e.g., support/resistance, chart patterns, or other indicators) to time your trade.
Candle Multi-TimeFrame CountCandle Multi-TimeFrame Count is an advanced TradingView indicator that displays real-time countdowns to candle closes across multiple timeframes, along with intelligent multi-close alerts. Perfect for traders who operate across different timeframes and need to efficiently manage their entries and exits.
⚡ Key Features
🕐 Multi-Timeframe Countdown
10 configurable timeframes: From 1 minute to 1 week
Real-time tracking: Precise countdown in HH:MM:SS format
Visual alerts: Color changes when less than 30 seconds remaining (short timeframes) or 1 hour (long timeframes)
🌍 Timezone Selector
Adjustable UTC offset: Manually configure your timezone
Pre-configured settings: NY (-5/-4), Chicago (-6/-5), London (0), Spain (+1/+2)
Manual mode: Set any hour for testing and simulation
🔔 Multi-Close Alerts
Smart prediction: Detects which timeframes will close in the next hour
Specific schedules: Based on actual closing times for each timeframe:
✅ 1H: Every hour on the hour
✅ 2H: Odd hours (01:00, 03:00, 05:00...)
✅ 3H: 02:00, 05:00, 08:00, 11:00, 14:00, 17:00, 20:00, 23:00
✅ 4H: 01:00, 05:00, 09:00, 13:00, 17:00, 21:00
✅ 6H: 05:00, 11:00, 17:00, 23:00
✅ 8H: 01:00, 09:00, 17:00
✅ 12H: 05:00, 17:00
🎨 Complete Customization
Timeframe selector: Choose which to display (up to 10 simultaneously)
Visual customization: Adjust colors, transparency, and text size
Clean interface: Organized table that integrates seamlessly with your chart
🚀 Use Cases
📈 For Day Traders
Manage entries/exits across multiple timeframes
Anticipate important candle closes
Optimize trade timing
⏰ For Swing Traders
Monitor daily and weekly closes
Plan operations based on major candle closures
Identify key temporal convergence moments
🌐 For International Traders
Adapt the indicator to any timezone
Trade global markets with time precision
Maintain consistency regardless of your location
⚙️ Quick Setup
Select timeframes: Choose up to 10 timeframes to monitor
Adjust timezone: Configure UTC offset according to your location
Customize appearance: Modify colors and transparency
Enable alerts: Observe multiple closures in the next hour
💡 Key Benefits
Time savings: No more manual close calculations
Precision: Exact alerts for convergent closes
Flexibility: Adaptable to any trading style
Clear visualization: Critical information at a glance
📋 Technical Information
Language: Pine Script v6
Compatibility: All TradingView instruments
Performance: Optimized to not slow down your charts
🎯 Ideal for: Day traders, swing traders, scalpers, and any trader who needs to efficiently manage multiple timeframes.
🔮 Enhance your trading: Never miss an important close again with Candle Multi-TimeFrame Count!
Globex Trap w/ percentage [SLICKRICK]Globex Trap w/ Percentage
Overview
The Globex Trap w/ Percentage indicator is a powerful tool designed to help traders identify high-probability trading opportunities by analyzing price action during the Globex (overnight) session and regular trading hours. By combining Globex session ranges with Supply & Demand zones, this indicator highlights potential "trap" areas where significant price reactions may occur. Additionally, it calculates the Globex session range as a percentage of the daily Average True Range (ATR), providing valuable context for assessing market volatility.
This indicator is ideal for traders in futures markets or other instruments traded during Globex sessions, offering a visual and analytical edge for spotting key price levels and potential reversals or breakouts.
Key Features
Globex Session Tracking:
Visualizes the high and low of the Globex session (default: 3:00 PM to 6:30 AM PST) with customizable time settings.
Displays a semi-transparent box to mark the Globex range, with labels for "Globex High" and "Globex Low."
Calculates the Globex range as a percentage of the daily ATR, displayed as a label for quick reference.
Supply & Demand Zones:
Identifies Supply & Demand zones during regular trading hours (default: 6:00 AM to 8:00 AM PST) with customizable time settings.
Draws semi-transparent boxes to highlight these zones, aiding in the identification of key support and resistance areas.
Trap Area Identification:
Highlights potential trap zones where Globex ranges and Supply & Demand zones overlap, indicating areas where price may reverse or consolidate due to trapped traders.
Customizable Settings:
Adjust Globex and Supply & Demand session times to suit your trading preferences.
Toggle visibility of Globex and Supply & Demand zones independently.
Customize box colors for better chart readability.
Set the lookback period (default: 10 days) to control how many historical zones are displayed.
Configure the ATR length (default: 14) for the percentage calculation.
PST Timezone Default:
All times are based on Pacific Standard Time (PST) by default, ensuring accurate session tracking for users in this timezone or those aligning with U.S. West Coast market hours.
Recommended Usage
Timeframes: Best used on 1-hour charts or lower (e.g., 15-minute, 5-minute) for precise entry and exit points.
Markets: Optimized for futures (e.g., ES, NQ, CL) and other instruments traded during Globex sessions.
Historical Data: Ensure at least 10 days of historical data for optimal visualization of zones.
Strategy Integration: Use the indicator to identify potential reversals or breakouts at Globex highs/lows or Supply & Demand zones. The ATR percentage provides context for whether the Globex range is significant relative to typical daily volatility.
How It Works
Globex Session:
Tracks the high and low prices during the user-defined Globex session (default: 3:00 PM to 6:30 AM PST).
When the session ends, a box is drawn from the start to the end of the session, capturing the high and low prices.
Labels are placed at the midpoint of the session, showing "Globex High," "Globex Low," and the range as a percentage of the daily ATR (e.g., "75.23% of Daily ATR").
Supply & Demand Zones:
Tracks the high and low prices during the user-defined regular trading hours (default: 6:00 AM to 8:00 AM PST).
Draws a box to mark these zones, which often act as key support or resistance levels.
ATR Percentage:
Calculates the Globex range (high minus low) and divides it by the daily ATR to express it as a percentage.
This metric helps traders gauge whether the overnight price movement is significant compared to the instrument’s typical volatility.
Time Handling:
Uses PST (UTC-8) for all time calculations, ensuring accurate session timing for users aligning with this timezone.
Properly handles overnight sessions that cross midnight, ensuring seamless tracking.
Input Settings
Globex Session Settings:
Show Globex Session: Enable/disable Globex session visualization (default: true).
Globex Start/End Time: Set the start and end times for the Globex session (default: 3:00 PM to 6:30 AM PST).
Globex Box Color: Customize the color of the Globex session box (default: semi-transparent gray).
Supply & Demand Zone Settings:
Show Supply & Demand Zone: Enable/disable zone visualization (default: true).
Zone Start/End Time: Set the start and end times for Supply & Demand zones (default: 6:00 AM to 8:00 AM PST).
Zone Box Color: Customize the color of the zone box (default: semi-transparent aqua).
General Settings:
Days to Look Back: Number of historical days to display zones (default: 10).
ATR Length: Period for calculating the daily ATR (default: 14).
Notes
All times are in Pacific Standard Time (PST). Adjust the start and end times if your market operates in a different timezone or if you prefer different session windows.
The indicator is optimized for instruments with active Globex sessions, such as futures. Results may vary for non-24/5 markets.
A typo in the label "Globe Low" (should be "Globex Low") will be corrected in future updates.
Ensure your TradingView chart is set to display sufficient historical data to view the full lookback period.
Why Use This Indicator?
The Globex Trap w/ Percentage indicator provides a unique combination of session-based range analysis, Supply & Demand zone identification, and volatility context via the ATR percentage. Whether you’re a day trader, swing trader, or scalper, this tool helps you:
Pinpoint key price levels where institutional traders may act.
Assess the significance of overnight price movements relative to daily volatility.
Identify potential trap zones for high-probability setups.
Customize the indicator to fit your trading style and market preferences.
Nearest Rank For Loop - [JTCAPITAL]Nearest Rank For Loop is used for trend-following using the median of the data.
The indicator works by calculating in the following steps:
1. The median is calculated using the ranking length of the source and using "percentile nearest rank" to determine the middle value. This is done with the original length and the length devided by 3, averaged out to eliminate false signals from extremely fast and temporary market movements.
2. Over the length of the loop values get added based on the median being higher than the previous median.
3. The results of the for loop segment get smoothed out using an EMA.
--Buy and sell conditions--
-When the for loop values get above the long threshold we enter a buying condition, we dont exit the buying condition until the for loop values get below the short condition. Which signals a short.
-When the values stay between the thresholds the signal doesnt change. This and smoothing out the for loop values is used to eliminate false signals as much as possible.
--Features and Parameters--
-Allows the changing of the length of the ranking (median)
-Allows the usage of different sources
-Allows changing of the paramaters over the start and end of the for loop segment
-Allows changing the thresholds for longs and shorts
-Allows changing the parameter for the smoothing using an EMA
--Details--
Both the wide thresholds and the use of an EMA over the for loop values are used to eliminate as much false signals as possible. Aswell as deviding the length by 3 and taking the average from the medians. From testing this indicator we have found that using a very small value for the shorting gives the overall best performance. Since a fast market move wont immediately trigger a false signal, but it also wont massively delay entries and exits.
It is recommended to change the parameter settings for different asset classes and timeframes based off volatility and fast and confusing market movements.
Enjoy!
Mykung's Financial Table (Revenue, EPS, Net margin)A compact fundamentals dashboard that displays the last **8 fiscal quarters** for the current symbol. It’s designed for clarity (minimal decimals) and flexible presentation, with a dynamic column layout and accurate quarter labels.
## What it shows
**Columns (left → right):**
`Quarter | Revenue | YoY % | QoQ % | EPS | YoY % | QoQ % | `
* **Quarter** — formatted as `YYYY Q#` (e.g., `2025 Q2`).
Labels are derived from **fiscal period end dates** for accuracy.
* **Revenue** — compact notation (K/M/B/T), **no decimals**.
* **EPS** — uses **Diluted EPS** by default and falls back to **Basic EPS** if Diluted is unavailable. Displayed with **2 decimals**.
* **Net Margin** — displayed with **1 decimal**.
*Note:* Its YoY/QoQ columns represent **percentage-point** changes (absolute differences), not relative percent changes.
* **YoY % and QoQ %** — shown as **integers** (no decimals). Positive values are colored green; negative values red.
## Key features
* **Accurate quarter labels** from fundamentals (`FISCAL_PERIOD_END_DATE` → fallback `FINANCIAL_END_TIME`).
* **Dynamic layout:**
* Show all 10 columns (include Net Margin group), or
* Hide Net Margin to render a **7-column** table automatically.
* **Row order:** **Oldest at top → Latest at bottom** (chronological reading).
* **Customization:**
* Table position (nine presets: corners/centers).
* Text size.
* Table background color.
* **Header colors** (text & background) — also applied to the **Quarter** column cells for visual grouping.
* **Body text color** for data cells.
## Inputs (Settings)
* **Table Position** — place the table anywhere on the chart.
* **Text Size** — auto/tiny/small/normal/large/huge.
* **Table Background** — overall table BG color.
* **Header Background Color** — header & Quarter column background.
* **Header Text Color** — header & Quarter column text color.
* **Body Text Color** — data cells text color.
* **Show Net Margin Group (Cols 7–9)** — toggle between 10-col or 7-col layout.
## Calculations
* **QoQ %** = $(Current − Previous) / |Previous|$ × 100
* **YoY %** = $(Current − 4Q Ago) / |4Q Ago|$ × 100
* **Net Margin YoY / QoQ** = **difference in percentage points** (e.g., 12.4% → 10.9% = −1.5pp)
## Notes & limitations
* Requires symbols with **quarterly fundamentals** on TradingView. If a field is unavailable, it shows **N/A**.
* Fundamentals are updated by TradingView; values may refresh after earnings filings.
* Works on any chart timeframe; data comes from **fundamentals**, not price bars.
* Colors are indicative only and not investment advice.
**Built for readability**: minimal decimals (EPS 2dp, Net Margin 1dp), integer percentages, and compact revenue formatting—so you can scan eight quarters at a glance.
BB Crosses Optimized - [JTCAPITAL]BB Crosses Optimized is a modified way to use Bollinger Bands for Trend-Following
The indicator works by calculating in the following steps:
1. The source gets smoothed out using a moving average
2. Calculating the Bollinger Bands using the SMA of the smoothed source and the standard deviation of the smoothed source.
3. Trigger a signal based on current price and the buy/sell conditions.
--Buy and sell conditions--
-The buy and sell conditions are defined by the price going above/below the first standard deviation. When this goes on the opposite direction of the current trend, the trend changes. If this goes in the same direction of the current trend, the line follows the price by moving up with the standard deviation.
-When using the ATR filter the ATR gets subtracted from the lows or added onto the highs to eliminate false signals in choppy markets.
--Features and Parameters--
-Allows the usage of different sources
-Allows the usage of different moving average types
-Allows the changing of the length of the ATR
-Allows the changing of the length of the bollinger bands period
-Allows the changing of the standard deviation used from the bollinger bands
-Allows the changing of the length for smoothing out the price data
--Details--
This script is using multiple moving averages, sometimes even stacked upon eachother. And it also uses the moving average of the raw data on a short period to calculate the standard deviations. This in combination with the ATR filter is meant to eliminate as much false signals as I could. Without making all the entries and exits extremely delayed.
Be aware that disabling the ATR will allow for faster entries and exits but also allow for more false signals. It is recommended to change the parameters to fit your liking and to adjust to the timeframe you are working on.
Enjoy!
Adaptive HMA Trendfilter & Profit SpikesShort Description
Adaptive trend-following filter using Hull Moving Average (HMA) slope.
Includes optional Keltner Channel entries/exits and dynamic spike-based take-profit markers (ATR/Z-Score).
Optional Fast HMA for early entry visualization (not included in logic).
USER GUIDE:
1) Quick Overview
Trend Filter: Slow HMA defines Bull / Bear / Sideways (via slope & direction).
Entries / Exits:
Entry: Color change of the slow HMA (red→green = Long, green→red = Short), optionally filtered by the Keltner basis.
Exit: Preferably via Keltner Band (Long: Close under Upper Band; Short: Close above Lower Band).
Fallback: exit on opposite HMA color change.
Take-Profit Spikes: Marks abnormal moves (ATR, Z-Score, or both) as discretionary TP signals.
Fast HMA (optional): Purely visual for early entry opportunities; not part of the core trading logic (see §5).
2) Adding & Basic Setup
Add the indicator to your chart.
Open Settings (gear icon) and configure:
HMA: Slow HMA Length = 55, Slope Lookback = 10, Slope Threshold = 0.20%.
Keltner: KC Length = 20, Multiplier = 1.5.
Spike-TP: Mode = ATR+Z, ATR Length = 14, Z Length = 20, Cooldown = 5.
Optionally: enable Fast HMA (e.g., length = 20).
3) Input Parameters – Key Controls
Slow HMA Length: Higher = smoother, fewer but cleaner signals.
Slope Lookback: How far back HMA slope is compared against.
Slope Threshold (%): Minimum slope to avoid “Sideways” regime.
KC Length / Multiplier: Width and reactivity of Keltner Channels.
Exits via KC Bands: Toggle on/off (recommended: on).
Entries only above/below KC Basis: Helps filter out chop.
Spike Mode: Choose ATR, Z, or ATR+Z (stricter, fewer signals).
Spikes only when in position: TP markers show only when you’re in a trade.
4) Entry & Exit Logic
Entries
Long: Slow HMA turns from red → green, and (if filter enabled) Close > KC Basis.
Short: Slow HMA turns from green → red, and (if filter enabled) Close < KC Basis.
Exits
KC Exit (recommended):
Long → crossunder(close, Upper KC) closes trade.
Short → crossover(close, Lower KC).
Fallback Exit: If KC Exits are off → exit on opposite HMA color change.
Spike-TP (Discretionary)
Marks unusually large deviations from HMA.
Use for partial profits or tightening stops.
⚠️ Not auto-traded — only marker/alert.
5) Early Entry Opportunities (Fast HMA Cross – visual only)
The script can optionally display a Fast HMA (e.g., 20) alongside the Slow HMA (e.g., 55).
Bullish early hint: Fast HMA crosses above Slow HMA, or stays above, before the Slow HMA officially turns green.
Bearish early hint: opposite.
⚠️ These signals are not part of the built-in logic — they are purely discretionary:
Advantage: Earlier entries, more profit potential.
Risk: Higher chance of whipsaws.
Practical workflow (early long entry):
Fast HMA crosses above Slow HMA AND Close > KC Basis.
Enter small position with tight stop (under KC Basis or HMA swing).
Once Slow HMA confirms green → add to position or trail stop tighter.
6) Recommended Presets
Crypto (1h/2h):
HMA: 55 / 10 / 0.20–0.30%
KC: 20 / 1.5–1.8
Spikes: ATR+Z, ATR=14, Z=20, Cooldown 5
FX (1h/4h):
HMA: 55 / 8–10 / 0.10–0.25%
KC: 20 / 1.2–1.5
Indices (15m/1h):
HMA: 50–60 / 8–12 / 0.15–0.30%
KC: 20 / 1.3–1.6
Fine-tuning:
Too noisy? → Raise slope threshold or increase HMA length.
Too sluggish? → Lower slope threshold or shorten HMA length.
7) Alerts – Best Practice
Long/Short Entry – get notified when trend color switches & KC filter is valid.
Long/Short Exit – for KC exits or fallback exits.
Long/Short Spike TP – for discretionary profit-taking.
Set via TradingView: Create Alert → Select this indicator → choose condition.
8) Common Pitfalls & Tips
Too many false signals?
Raise slope threshold (more “Sideways” filtering).
Enable KC filter for entries.
Entries too late?
Use Fast HMA cross for early discretionary entries.
Or lower slope threshold slightly.
Spikes too rare/frequent?
More frequent → ATR mode or lower ATR multiplier / Z-threshold.
Rarer but stronger → ATR+Z with higher thresholds.
9) Example Playbook (Long Trade)
Regime: Slow HMA still red, Fast HMA crosses upward (early hint).
Filter: Close > KC Basis.
Early Entry: Small size, stop below KC Basis or recent swing low.
Confirmation: Slow HMA turns green → scale up or trail stop.
Management: Partial profits at Spike-TP marker; full exit at KC upper band break.
Statistical FootprintStatistical Footprint - Behavioral Support & Resistance
This indicator identifies key price levels based on actual market behavior rather than traditional pivot calculations. It analyzes how bulls and bears have historically moved price from session opens, creating statistical zones where future reactions are most likely.
The concept is simple: track how far bullish candles typically push above the open versus how far bearish candles drop below it. These patterns reveal the market's behavioral "footprint" - showing where momentum typically stalls and reverses.
Key Features:
- Separate analysis for daily and weekly timeframes
- Smart zone merging when levels cluster together (within 5 points)
- Uses both mean and median calculations for more robust levels
- XGBoost-optimized lookback periods for maximum statistical significance
- Clean zone-only display focused on actionable price areas
How it Works:
The code separates bullish and bearish sessions, measuring their typical range extensions from the open. It then projects these statistical ranges forward from current session opens, creating "behavioral zones" where the market has historically shown consistent reactions.
When daily and weekly levels align closely, they merge into combined zones with enhanced significance. Labels show both the mean and median values when they differ meaningfully.
Best Used For:
- Identifying high-probability reversal zones
- Setting profit targets based on historical behavior
- Understanding market sentiment shifts at key levels
- Confluence analysis between different timeframes
The lookback periods have been optimized using machine learning to find the most predictive historical sample sizes for current market conditions.
Session Open Candle MarkerThe "Session Open Candle Marker" is a Pine Script indicator designed for forex and futures traders using Smart Money Concepts (SMC) and RP Profits-inspired strategies. It marks the 15-minute opening range candles for the Asia, London, and NY sessions, where institutional "big players" often gather liquidity. Each session’s range is drawn as a rectangle with a customizable midpoint line, ideal for spotting breakouts, retests, and liquidity sweeps.
Features
Session Open Ranges: Plots rectangles for the 15m open candles of Asia (03:00 EEST), London (10:00 EEST), and NY (15:00 EEST), corresponding to 01:00, 08:00, and 13:00 GMT+1.
Customizable Visualization:
Toggle each session (Asia, London, NY) on/off.
Independent high/low label toggles for each session.
Adjustable rectangle color, midpoint line color, style (solid/dashed/dotted), and width.
Customizable rectangle duration (default: 96 bars, ~24 hours on 15m).
Timezone Flexibility: Default times are set for EEST (UTC+3). Adjust session inputs for your chart’s timezone (e.g., GMT+1: Asia 01:00, London 08:00, NY 13:00; UTC: Asia 00:00, London 07:00, NY 12:00).
Clean Design: Rectangles and labels update dynamically, with proper cleanup to avoid clutter.
Usage:
Setup: Add to a 15m chart (e.g., EURUSD, ES1!). Check your chart’s timezone (Chart Settings > Symbol > Timezone) and adjust session times if needed.
Settings:
Toggle sessions and labels to focus on desired ranges (e.g., London and NY for high volatility).
Customize colors, midpoint line style/width, and rectangle duration.
Trading:
Breakouts/Retests: Trade breakouts above/below the rectangle high/low, with retests back to the range or midpoint (aligned with RP Profits scalping).
Liquidity Sweeps: Watch for price sweeping session highs/lows, reversing for entries (SMC concept).
Prev RTH FibsThis study captures the previous day’s Regular Trading Hours (RTH) range (default 09:30–16:00 America/New_York), then projects it onto the current session. It draws HIGH, LOW, and an optional 50% midpoint, plus a configurable set of inside fib-style percentages measured from the HIGH downward. Every level extends a short distance to the right of the current price and shows a clean numeric label (no box) on the right edge.
Key features
Prev-day RTH range tracked automatically; plotted each new session.
Inside levels (from HIGH ↓): 11%, 25%, 29.5%, 38.2%, 45%, 55%, 62% (OTE), 70.5%, 75%, 78.6%, 85% (toggle any on/off).
Clean right-side labels: numbers only, resizable (Tiny → Huge) with transparent background.
Line styling: HIGH/LOW and 50% are solid; inside levels can be Solid/Dashed/Dotted with independent color/width.
Smart right padding: lines/labels extend a few bars past the latest candle, so annotations stay beside price without violating TradingView’s “>500 bars in future” rule.
Works on any symbol/timeframe; RTH window and timezone are adjustable.
Inputs you control
Session: RTH session string and timezone.
Right-side padding (bars) and number size.
Visibility & style for HIGH, LOW, and 50%.
Which inside levels to show, plus their style/color/width.
ORB Breakouts with alerts"ORB Breakouts with Alerts" is a utility indicator that highlights an Opening Range Breakout (ORB) setup during a user-defined intraday time window. It allows traders to visualize price consolidation ranges and receive alerts when price breaks above or below the session high/low.
🔧 Features:
*Customizable session time (start and end), adjustable to local time using a timezone offset.
*Automatically plots:
*A shaded box around the session's high and low.
*Horizontal lines at session high and low levels.
*Optional "BUY"/"SELL" labels to mark breakout directions.
*Visual breakout signals when price crosses above or below the session range.
*Built-in alerts to notify when breakouts occur.
*Configurable styling options including box color, highlight color, and label placement.
⚙️ How It Works:
*During the defined time range, the script tracks the highest high and lowest low.
*After the session ends:
*A box is drawn to represent the opening range.
*Breakouts above the high or below the low trigger visual markers and optional alerts.
*Alerts are limited to one per direction per day to reduce noise.
⚠️ This indicator is a technical analysis tool only and does not provide financial advice or trade recommendations. Always use with proper risk management and in conjunction with your trading plan.
Goldbach Time Indicator🔧 Key Fixes Applied:
1. Time Validation & Bounds Checking:
Hour/Minute Bounds: Ensures hours stay 0-23, minutes stay 0-59
Edge Case Handling: Prevents invalid time calculations from causing missing data
UTC Conversion Safety: Better handling of timezone edge cases
2. Enhanced Value Validation:
NA Checking: Validates all calculated values before using them
Goldbach Detection: Only flags valid, non-NA values as Goldbach hits
Plot Safety: Prevents plotting invalid or NA values that could cause gaps
3. Improved Plot Logic:
Core Level Colors: Blue for core levels (29,35,71,77), yellow/lime/orange for regular hits
Debug Mode Enhanced: Shows all calculations with gray dots when enabled
Better Filtering: Only plots positive, valid values for minus calculations
4. Background vs Dots Issue:
The large green/blue background you see suggests the indicator is detecting Goldbach times correctly, but the dots weren't plotting due to validation issues. This should now be fixed.
HorizonSigma Pro [CHE]HorizonSigma Pro
Disclaimer
Not every timeframe will yield good results . Very short charts are dominated by microstructure noise, spreads, and slippage; signals can flip and the tradable edge shrinks after costs. Very high timeframes adapt more slowly, provide fewer samples, and can lag regime shifts. When you change timeframe, you also change the ratios between horizon, lookbacks, and correlation windows—what works on M5 won’t automatically hold on H1 or D1. Liquidity, session effects (overnight gaps, news bursts), and volatility do not scale linearly with time. Always validate per symbol and timeframe, then retune horizon, z-length, correlation window, and either the neutral band or the z-threshold. On fast charts, “components” mode adapts quicker; on slower charts, “super” reduces noise. Keep prior-shift and calibration enabled, monitor Hit Rate with its confidence interval and the Brier score, and execute only on confirmed (closed-bar) values.
For example, what do “UP 61%” and “DOWN 21%” mean?
“UP 61%” is the model’s estimated probability that the close will be higher after your selected horizon—directional probability, not a price target or profit guarantee. “DOWN 21%” still reports the probability of up; here it’s 21%, which implies 79% for down (a short bias). The label switches to “DOWN” because the probability falls below your short threshold. With a neutral-band policy, for example ±7%, signals are: Long above 57%, Short below 43%, Neutral in between. In z-score mode, fixed z-cutoffs drive the call instead of percentages. The arrow length on the chart is an ATR-scaled projection to visualize reach; treat it as guidance, not a promise.
Part 1 — Scientific description
Objective.
The indicator estimates the probability that price will be higher after a user-defined horizon (a chosen number of bars) and emits long, short, or neutral decisions under explicit thresholds. It combines multi‑feature, z‑normalized inputs, adaptive correlation‑based weighting, a prior‑shifted sigmoid mapping, optional rolling probability calibration, and repaint‑safe confirmation. It also visualizes an ATR‑scaled forward projection and prints a compact statistics panel.
Data and labeling.
For each bar, the target label is whether price increased over the past chosen horizon. Learning is deliberately backward‑looking to avoid look‑ahead: features are associated with outcomes that are only known after that horizon has elapsed.
Feature engineering.
The feature set includes momentum, RSI, stochastic %K, MACD histogram slope, a normalized EMA(20/50) trend spread, ATR as a share of price, Bollinger Band width, and volume normalized by its moving average. All features are standardized over rolling windows. A compressed “super‑feature” is available that aggregates core trend and momentum components while penalizing excessive width (volatility). Users can switch between a “components” mode (weighted sum of individual features) and a “super” mode (single compressed driver).
Weighting and learning.
Weights are the rolling correlations between features (evaluated one horizon ago) and realized directional outcomes, smoothed by an EMA and optionally clamped to a bounded range to stabilize outliers. This produces an adaptive, regime‑aware weighting without explicit machine‑learning libraries.
Scoring and probability mapping.
The raw score is either the weighted component sum or the weighted super‑feature. The score is standardized again and passed through a sigmoid whose steepness is user‑controlled. A “prior shift” moves the sigmoid’s midpoint to the current base rate of up moves, estimated over the evaluation window, so that probabilities remain well‑calibrated when markets drift bullish or bearish. Probabilities and standardized scores are EMA‑smoothed for stability.
Decision policy.
Two modes are supported:
- Neutral band: go long if the probability is above one half plus a user‑set band; go short if it is below one half minus that band; otherwise stay neutral.
- Z‑score thresholds: use symmetric positive/negative cutoffs on the standardized score to trigger long/short.
Repaint protection.
All values used for decisions can be locked to confirmed (closed) bars. Intrabar updates are available as a preview, but confirmed values drive evaluation and stats.
Calibration.
An optional rolling linear calibration maps past confirmed probabilities to realized outcomes over the evaluation window. The mapping is clipped to the unit interval and can be injected back into the decision logic if desired. This improves reliability (probabilities that “mean what they say”) without necessarily improving raw separability.
Evaluation metrics.
The table reports: hit rate on signaled bars; a Wilson confidence interval for that hit rate at a chosen confidence level; Brier score as a measure of probability accuracy; counts of long/short trades; average realized return by side; profit factor; net return; and exposure (signal density). All are computed on rolling windows consistent with the learning scheme.
Visualization.
On the chart, an arrowed projection shows the predicted direction from the current bar to the chosen horizon, with magnitude scaled by ATR (optionally scaled by the square‑root of the horizon). Labels display either the decision probability or the standardized score. Neutral states can display a configurable icon for immediate recognition.
Computational properties.
The design relies on rolling means, standard deviations, correlations, and EMAs. Per‑bar cost is constant with respect to history length, and memory is constant per tracked series. Graphical objects are updated in place to obey platform limits.
Assumptions and limitations.
The method is correlation‑based and will adapt after regime changes, not before them. Calibration improves probability reliability but not necessarily ranking power. Intrabar previews are non‑binding and should not be evaluated as historical performance.
Part 2 — Trader‑facing description
What it does.
This tool tells you how likely price is to be higher after your chosen number of bars and converts that into Long / Short / Neutral calls. It learns, in real time, which components—momentum, trend, volatility, breadth, and volume—matter now, adjusts their weights, and shows you a probability line plus a forward arrow scaled by volatility.
How to set it up.
1) Choose your horizon. Intraday scalps: 5–10 bars. Swings: 10–30 bars. The default of 14 bars is a balanced starting point.
2) Pick a feature mode.
- components: granular and fast to adapt when leadership rotates between signals.
- super: cleaner single driver; less noise, slightly slower to react.
3) Decide how signals are triggered.
- Neutral band (probability based): intuitive and easy to tune. Widen the band for fewer, higher‑quality trades; tighten to catch more moves.
- Z‑score thresholds: consistent numeric cutoffs that ignore base‑rate drift.
4) Keep reliability helpers on. Leave prior shift and calibration enabled to stabilize probabilities across bullish/bearish regimes.
5) Smoothing. A short EMA on the probability or score reduces whipsaws while preserving turns.
6) Overlay. The arrow shows the call and a volatility‑scaled reach for the next horizon. Treat it as guidance, not a promise.
Reading the stats table.
- Hit Rate with a confidence interval: your recent accuracy with an uncertainty range; trust the range, not only the point.
- Brier Score: lower is better; it checks whether a stated “70%” really behaves like 70% over time.
- Profit Factor, Net Return, Exposure: quick triage of tradability and signal density.
- Average Return by Side: sanity‑check that the long and short calls each pull their weight.
Typical adjustments.
- Too many trades? Increase the neutral band or raise the z‑threshold.
- Missing the move? Tighten the band, or switch to components mode to react faster.
- Choppy timeframe? Lengthen the z‑score and correlation windows; keep calibration on.
- Volatility regime change? Revisit the ATR multiplier and enable square‑root scaling of horizon.
Execution and risk.
- Size positions by volatility (ATR‑based sizing works well).
- Enter on confirmed values; use intrabar previews only as early signals.
- Combine with your market structure (levels, liquidity zones). This model is statistical, not clairvoyant.
What it is not.
Not a black‑box machine‑learning model. It is transparent, correlation‑weighted technical analysis with strong attention to probability reliability and repaint safety.
Suggested defaults (robust starting point).
- Horizon 14; components mode; weight EMA 10; correlation window 500; z‑length 200.
- Neutral band around seven percentage points, or z‑threshold around one‑third of a standard deviation.
- Prior shift ON, Calibration ON, Use calibrated for decisions OFF to start.
- ATR multiplier 1.0; square‑root horizon scaling ON; EMA smoothing 3.
- Confidence setting equivalent to about 95%.
Disclaimer
No indicator guarantees profits. HorizonSigma Pro is a decision aid; always combine with solid risk management and your own judgment. Backtest, forward test, and size responsibly.
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Enhance your trading precision and confidence 🚀
Best regards
Chervolino
Balanced Big Wicks (50/50) HighlighterDetects candles with unusually long, balanced upper and lower wicks—a potential sign of market indecision followed by strong breakout action.
What It Does
Identifies candles where both upper and lower wicks each account for at least a configurable percentage (e.g., 30–40%) of the total range, and where the body remains small—creating the classic “balanced wick” (50/50) appearance.
Marks these candles visually with color (bullish/bearish), optional background shading, and a tiny “50/50” label above the candle.
Why It’s Useful
Balanced wicks often precede decisive moves once price breaks either wick. This script highlights such opportunities systematically.
Helpful for traders looking for clean entry signals: long on close above the upper wick, short on close below the lower wick—with straightforward risk management (SL at opposite wick, TP 1:1).
Key Inputs (default values shown in parentheses)
Min wick % (each side): 30%
Max body %: 20%
Equality tolerance: 10%
Min range filter (ATR multiples): 0 (disable)
ATR length: 14
Color candles: On
Background highlight: Off by default
Plot label on candle: On
Adjust these to fit your preferred timeframe or instrument (e.g., raise wick thresholds or ATR filter for noisy 15‑minute altcoin charts; relax slightly for smoother 1‑hour BTC analysis).
Alerts
Three alert options included:
“50/50 Wick (Any)” — triggers on any balanced-wick candle.
“50/50 Wick (Bullish)” — only when the candle closes bullish (upper close).
“50/50 Wick (Bearish)” — only when the candle closes bearish (lower close).
How to Use It
Add the indicator to your chart.
Adjust input settings to suit the timeframe or trading style.
Watch for highlighted candles.
Optional alert: create alerts using one of the provided alert conditions (e.g., “50/50 Wick (Any)”) with “Once per bar close” to get notified when signal bars appear.
Use your own trade logic (e.g., breakout entries as described above).
Disclaimer & Originality
Original Concept: I built this script from scratch to highlight a specific candle structure often used by traders in breakout setups—long balanced wicks with small bodies.
No external code references; it’s entirely open-source and self-explanatory.
Note: This indicator highlights potential setups—not financial advice. Always backtest any strategy, and use sound risk management. Past patterns do not guarantee future success.
Optimized Settings for 5m–15m Scalping
Min wick % (each side): 0.30
→ Forces both wicks to be almost half the candle each. Very strict.
Max body % of range: 0.40
→ Candle body must be ≤10% of full range = almost a doji.
Equality tolerance: 0.1
→ Wicks must be within 5% of each other relative to full candle size.
Min range filter (ATR multiples): 0
→ Candle must be at least 1.2× bigger than recent average (ATR14). Filters out weak fake dojis.
ATR Length: 14 (standard, stable)
Color candles / Plot labels: On (so you clearly see them)
Background highlight: Optional
Above/Below Open Background + Percentage ChangeAbove/Below Open Background
This indicator visually highlights whether the current price is trading above or below today’s session open.
It also displays a small table showing the current percentage change relative to today’s open.
Features
• 🟢 Full chart background coloring:
• Green → Price is above today’s open.
• 🔴 Red → Price is below today’s open.
• 📊 Percentage change table in the chart corner:
• Shows real-time % difference from today’s open.
• Automatically updates as price moves.
• 🎛 Clean & lightweight — minimal resource usage, smooth performance.
How to Use
1. Add the indicator to any stock, crypto, or futures chart.
2. The background immediately shows whether price is up or down relative to today’s open.
3. The table in the corner displays the percentage gain/loss.
Best For
• Day traders who want instant visual feedback.
• Scalpers tracking session trends.
• Anyone who wants a quick snapshot of intraday performance.
BTC Premium -WinCAlgoBitcoin Premium/Discount Tracker
This indicator tracks the premium or discount between different Bitcoin markets, helping traders identify arbitrage opportunities and market sentiment shifts.
What it shows:
CME vs Index: Price difference between CME Bitcoin futures and BTC index
CME vs Binance Perpetual: Spread between traditional futures and crypto perpetual contracts
Coinbase vs Binance Spot: Price difference between major spot exchanges
Moving Averages: 20-period smoothed trend lines for each spread
CME Market Hours: Automatically detects when CME is closed (weekends)
How to interpret:
Positive Values (Green): First market trading at premium to second market
Negative Values (Red): First market trading at discount to second market
Large Spreads: Indicate potential arbitrage opportunities or market stress
Converging Spreads: Suggest market equilibrium and efficient pricing
Diverging MA: May signal trend changes in market dynamics
📌 Trading Applications:
Arbitrage Detection: Identify price discrepancies between markets
Market Sentiment: Premium/discount patterns often reflect institutional vs retail sentiment
Weekend Analysis: CME closure periods can create temporary price dislocations
Risk Assessment: Large persistent premiums may indicate overheating in specific markets
Entry Timing: Use spread normalization as confluence for position entries
Key Features:
Smart Timeframe: Automatically switches to daily data on higher timeframes
CME Hours Detection: Shows "No Data" during CME closure with background highlighting
Customizable Display: Toggle different spread calculations and moving averages
Real-time Table: Current values displayed in customizable table
Visual Clarity: Color-coded columns and clear positive/negative distinction
DVWAP Spread -WinCAlgoDynamic VWAP Spread Oscillator
This indicator transforms the relationship between two adaptive VWAP curves into an oscillator format, making trend analysis more precise and intuitive.
What it shows:
Spread Value: The difference between Fast VWAP and Smoothed VWAP
Dynamic Coloring: Intensity increases as the spread moves away from zero
Zero Line: The neutral point where both VWAP curves converge
How to interpret:
Above Zero (Green): Fast VWAP > Smoothed VWAP → Bullish bias
Below Zero (Red): Fast VWAP < Smoothed VWAP → Bearish bias
Distance from Zero: Shows the strength of the current trend
Zero Crossovers: Potential trend change signals
📌 Usage Ideas:
Trend Filter: Take long trades only when oscillator is positive, shorts when negative
Momentum Gauge: Larger spread values indicate stronger trend momentum
Divergence Analysis: Look for divergences between price and oscillator for reversal signals
Overbought/Oversold: Extreme values may indicate potential mean reversion opportunities
Zero Line Bounces: Use zero line as dynamic support/resistance for entries
Parameters:
Period: Controls the lookback period for adaptive calculations
Adjustment Step: Fine-tunes the adaptive smoothing sensitivity
Fast Response: Adjusts how quickly the fast VWAP responds to price changes
Source: Price input for VWAP calculation (default: HLC3)
Untouched ExtremesWhat it is
Untouched Extremes plots horizontal levels at green-candle highs and red-candle lows. Each level is considered “untouched” (clean liquidity) until price revisits it; on the first valid touch the line auto-deletes, keeping only live targets on your chart.
How it works (logic)
Bar close event
If close > open, the script draws a line at that bar’s high and extends it to the right.
If close < open, it draws a line at that bar’s low and extends it to the right.
(Optional) Perfect/almost-dojis can be classified as green or red via settings.
Touch & removal
A green-high line is removed when any later bar’s high ≥ level (optionally within a tick tolerance).
A red-low line is removed when any later bar’s low ≤ level (optionally within a tick tolerance).
You can delay deletion by N bars to make the touch visible before the line disappears.
Housekeeping
Maximum active lines per side and line styling are user-configurable.
Why it’s useful
Untouched highs/lows often coincide with resting liquidity and incomplete price probes. Tracking them helps:
Define targets and magnets price may seek.
Frame mean-reversion rotations after a failed push.
Keep the chart clean: only levels that have not been traded are displayed.
How to use it (trading idea)
Confirmation rule: Treat the line as a level/zone. Price can pierce it; wait for a clear reversal candle pattern (e.g., pin bar, engulfing, strong momentum shift) at or immediately after the touch.
Directional play:
If a bullish reversal pattern forms at/around a red-low line, the working assumption is that price will move toward the first untouched upper line (nearest green-high line above). Many traders use that as the primary target.
Conversely, if a bearish reversal pattern forms at/around a green-high line, expect rotation toward the first untouched lower line.
Risk management: Stops typically go just beyond the level or beyond the pattern’s wick. Consider a fixed R:R (e.g., 1:2) and partials at intermediate levels.
Settings
Doji handling: Choose how to classify close ≈ open bars (Green / Red / Ignore). A small equality margin (ticks) helps with rounding on some symbols.
Touch tolerance (ticks): Counts near-misses as touches if desired.
Deletion delay (bars): Wait N bars after creation before a line becomes eligible for deletion.
Max lines per side / width / colors: Keep the view readable.
Tips
Works on any symbol/timeframe; lower TFs produce more levels—adjust Max lines accordingly.
Combining with a trend filter (e.g., EMA-200), ATR distance, or volume clues can improve selectivity.
If spreads or wicks are noisy, increase tolerance slightly and/or use deletion delay to visualize touches.
Note: This tool provides structure and potential targets, not signals by itself. Always require your reversal pattern as confirmation and manage risk appropriately.