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.
Göstergeler ve stratejiler
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.
Risk-On - Risk-Off 3 Alarm System V2📍 Risk-On / Risk-Off Alarm Labels
This overlay indicator visually displays the activation status of three key risk criteria directly on the chart using colored labels:
Trend – Flagged red when price is below the 20-day EMA.
Breadth – Flagged red when net new 52-week highs (NASDAQ + NYSE) are negative.
Momentum – Flagged red when the PPO histogram is negative.
The top label shows the total number of risk-off criteria active (0 to 3).
Green dots = condition favorable (risk-on).
Red dots = condition unfavorable (risk-off).
Use this for fast visual confirmation of market conditions and to support allocation or de-risking decisions.
Risk Criteria Score Histogram V2📊 Risk Criteria Score Histogram
This indicator visualizes a daily risk score ranging from 0 to 3, based on three core market conditions:
Trend Risk – Activated when price is below the 20-day EMA.
Breadth Risk – Triggered when net new 52-week highs (NASDAQ + NYSE) are negative.
Momentum Risk – Flagged when the PPO histogram turns negative.
Each day, the script calculates how many of these criteria are signaling risk-off conditions. The result is plotted as a color-coded histogram:
🟩 0 – No risk signals (favorable environment)
🟨 1 – Mild caution
🟧 2 – Elevated risk
🟥 3 – All signals active (risk-off conditions)
This tool helps traders track shifts in market conditions and adjust exposure accordingly. Ideal for macro and swing trading perspectives.
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.
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.
Trend State ADX-DI v6This indicator combines the classic ADX (Average Directional Index) and DI+ / DI– (Directional Indicators) with a modern, easy-to-read visual approach. It highlights trend strength and direction directly on your chart background:
✅ Bullish Trend – DI+ crosses above DI– with ADX above threshold
✅ Bearish Trend – DI– crosses above DI+ with ADX above threshold
✅ Choppiness – ADX below threshold, indicating sideways or weak trend
✅ Transition – Optional highlight for periods near the threshold, signaling a potential trend change
Plots for ADX, DI+, and DI– help you track trend momentum, while customizable background colors make it easy to spot trading conditions at a glance. Alerts included for bullish and bearish trend signals.
Perfect for day traders and swing traders looking to identify strong directional moves and avoid choppy markets.
Created by ThomasO_777, updated for Pine Script v6 by ChatGPT.
SuperSARSuperSAR is a multi-timeframe PSAR-based indicator that generates buy and sell signals when price aligns above or below Parabolic SAR values across six timeframes (1m–15m). Optional time filtering and cooldown logic help reduce noise and prevent signal spamming. Ideal for identifying strong directional trends with confirmation.
ai quant oculusAI QUANT OCULUS
Version 1.0 | Pine Script v6
Purpose & Innovation
AI QUANT OCULUS integrates four distinct technical concepts—exponential trend filtering, adaptive smoothing, momentum oscillation, and Gaussian smoothing—into a single, cohesive system that delivers clear, objective buy and sell signals along with automatically plotted stop-loss and three profit-target levels. This mash-up goes beyond a simple EMA crossover or standalone TRIX oscillator by requiring confluence across trend, adaptive moving averages, momentum direction, and smoothed price action, reducing false triggers and focusing on high‐probability turning points.
How It Works & Why Its Components Matter
Trend Filter: EMA vs. Adaptive MA
EMA (20) measures the prevailing trend with fixed sensitivity.
Adaptive MA (also EMA-based, length 10) approximates a faster-responding moving average, standing in for a KAMA-style filter.
Bullish bias requires AMA > EMA; bearish bias requires AMA < EMA. This ensures signals align with both the underlying trend and a more nimble view of recent price action.
Momentum Confirmation: TRIX
Calculates a triple-smoothed EMA of price over TRIX Length (15), then converts it to a percentage rate-of-change oscillator.
Positive TRIX reinforces bullish entries; negative TRIX reinforces bearish entries. Using TRIX helps filter whipsaws by focusing on sustained momentum shifts.
Gaussian Price Smoother
Applies two back-to-back 5-period EMAs to the price (“gaussian” smoothing) to remove short-term noise.
Price above the smoothed line confirms strength for longs; below confirms weakness for shorts. This layer avoids entries on erratic spikes.
Confluence Signals
Buy Signal (isBull) fires only when:
AMA > EMA (trend alignment)
TRIX > 0 (momentum support)
Close > Gaussian (price strength)
Sell Signal (isBear) fires under the inverse conditions.
Requiring all three conditions simultaneously sharply reduces false triggers common to single-indicator systems.
Automatic Risk & Reward Plotting
On each new buy or sell signal (edge detection via not isBull or not isBear ), the script:
Stores entryPrice at the signal bar’s close.
Draws a stop-loss line at entry minus ATR(14) × Stop Multiplier (1.5) by default.
Plots three profit-target lines at entry plus ATR × Target Multiplier (1×, 1.5×, and 2×).
All previous labels and lines are deleted on each new signal, keeping the chart uncluttered and focusing only on the current trade.
Inputs & Customization
Input Description Default
EMA Length Period for the main trend EMA 20
Adaptive MA Length Period for the faster adaptive EM A substitute 10
TRIX Length Period for the triple-smoothed momentum oscillator 15
Dominant Cycle Length (Reserved) 40
Stop Multiplier ATR multiple for stop-loss distance 1.5
Target Multiplier ATR multiple for first profit target 1.5
Show Buy/Sell Signals Toggle on-chart labels for entry signals On
How to Use
Apply to Chart: Best on 15 m–1 h timeframes for swing entries or 5 m for agile scalps.
Wait for Full Confluence:
Look for the AMA to cross above/below the EMA and verify TRIX and Gaussian conditions on the same bar.
A bright “LONG” or “SHORT” label marks your entry.
Manage the Trade:
Place your stop where the red or green SL line appears.
Scale or exit at the three yellow TP1/TP2/TP3 lines, automatically drawn by volatility.
Repeat Cleanly: Each new signal clears prior annotations, ensuring you only track the active setup.
Why This Script Stands Out
Multi-Layer Confluence: Trend, momentum, and noise-reduction must all align, addressing the weaknesses of single-indicator strategies.
Automated Trade Management: No manual plotting—stop and target lines appear seamlessly with each signal.
Transparent & Customizable: All logic is open, adjustable, and clearly documented, allowing traders to tweak lengths and multipliers to suit different instruments.
Disclaimer
No indicator guarantees profit. Always backtest AI QUANT OCULUS extensively, combine its signals with your own analysis and risk controls, and practice sound money management before trading live.
Liquid Flow💧 Liquid Flow — Momentum Divergence Indicator
Liquid Flow is a momentum indicator that helps traders spot divergences between price and momentum oscillators. It's designed to identify potential reversal points by highlighting when price action and momentum are moving in opposite directions.
🎯 What It Does:
Divergence Detection : Automatically finds and draws divergences between price highs/lows and momentum oscillator peaks
Multiple Sources : Choose between different momentum oscillators depending on your trading style and market conditions
Visual Clarity : Draws clean lines connecting divergence points with customizable colors and styles
Label System : Marks different types of divergences with clear labels for easy identification
Gradient Fills : Shows overbought and oversold areas with color-coded background fills
📊 How It Works:
The indicator compares momentum oscillator peaks and valleys with corresponding price peaks and valleys. When they move in opposite directions, it draws a line connecting them and adds a label. This helps traders spot potential trend changes that might not be obvious just by looking at price action alone.
🎨 Customization:
Choose your preferred momentum source for the analysis
Customize line colors, styles, and thickness for different divergence types
Adjust label sizes and toggle them on or off
Select between different plotting styles (line or step-line)
Set up color schemes that work with your chart theme
📈 Best For:
Swing traders looking for reversal signals
Traders who use divergence analysis as part of their strategy
Those who want cleaner divergence identification than manual drawing
Traders seeking confirmation signals for potential trend changes
Anyone wanting to improve their momentum analysis workflow
💡 Types of Divergences:
Regular divergences that can signal potential trend reversals
Hidden divergences that may indicate trend continuation
Clear visual distinction between different divergence types
Automatic detection removes the guesswork from manual analysis
Historical divergences remain visible for pattern recognition
🔍 Practical Use:
This indicator works well as a confirmation tool rather than a standalone signal generator. It's most effective when combined with other analysis methods like support/resistance levels, trend analysis, or other indicators. The divergences it identifies can help time entries and exits more precisely.
Note: Like all technical analysis tools, this indicator should be used as part of a comprehensive trading approach. Divergences don't always lead to reversals, and proper risk management is essential when acting on any signals.
free osciator haji_goldHaji Gold's free oscillator, which was updated after a long time, has several types of oscillators that we use for confirmation and signals.
Introduce this oscillator to your friends
free haji_gold indicator The free Haji Gold indicator, which was updated after a long time, has a scalping strategy and a trend strategy along with specifying stops and TPs and another tool called range filter.
Recommend this indicator to your friends
XRP Breathe Strategy Zones +🫁 XRP Breathe Strategy Zones
A time-based trading overlay designed specifically for XRPUSD.
This tool highlights weekly "Inhale" and "Exhale" phases based on a 20-day cycle of price action. It visually guides traders through expected accumulation and distribution zones, helping align trades with market rhythm.
🔹 Key Features:
Color-coded Inhale and Exhale phases
Critical price levels marked for support and resistance
Built-in signal arrows for trend confirmation
Perfect for swing traders and intraday strategists looking to trade XRP with more structure, timing, and confidence.
VPOCS ZScore by GumbotxAn indicator Showing Candle POC's.
Added a Zscore Filter to filter out the High volume candle's.
I like to use at Key Support and resistance Area's to see Absorbtion and Offside positions only on High volume Candles ( The high volume candle part is Key! ). Thoose candles Generally indicate forced participants opening or closing positions, or "Breakout traders entering" positions. When i see a Hi-Volume at S/R levels and price is rejecting ( trading away from the POC ) ill take that as a trigger for a trade.
- Dynamic Support and resistance.
- Show Offside and and Trapped traders
You can tweak the Zscore nominator for Less of more Frequent hits.
Fibonacci Blended and Volume Flow (VFI) by富东 Fibonacci times period claude atr /etc
new blend between fibonacci vfi
volume for vsaThis script provides a color-coded volume indicator based on relative volume levels compared to a smoothed average. It highlights ultra-high, high, and above-average volume bars, which are commonly used in Volume Spread Analysis (VSA) and general volume-based trading strategies.
Key Features:
- Real-time bar coloring to indicate:
• Ultra-high volume (red)
• High volume (yellow)
• Above-average volume (green)
• Low volume (blue)
- Dynamic volume zones plotted as shaded areas using smoothed average volume
- Adjustable smoothing parameter for average volume calculation
This tool can help traders visually detect potential supply/demand shifts or significant activity spikes that may precede price reversals or trend continuations. Designed for use alongside price-action or VSA-based chart analysis.
Deep in the Tape – VSA (Invite Only)This indicator is part of the “Deep in the Tape” suite and implements Volume Spread Analysis (VSA) principles to help identify potential supply and demand imbalances across price bars. The script is designed to analyze volume, price spread, bar structure, and close position relative to range to highlight common VSA patterns and their possible implications in different market contexts.
The logic includes detection for classical VSA events such as:
- Stopping Volume
- Selling Climax
- Shakeout Bars
- No Supply / No Demand
- Buying Climax
- Upthrust
- Supply Coming In
- Confirmed Test Bars
It also includes additional logic for:
- Failure signals (e.g., failed test or no supply)
- Aggressive entries before confirmation
- Clustering of high volume bars
- High/low level persistence after major VSA events
- Multi-factor entry conditions based on volume effort, spread behavior, and recent background context
Labels and shapes are plotted on the chart when corresponding conditions are met. Optional toggles allow for customizing which signals are shown.
The indicator can assist traders in recognizing key turning points, traps, or confirmations of demand/supply strength, but it does not guarantee performance and should be used with additional analysis and risk management.
This script uses no repainting techniques and evaluates all conditions in real-time.
See the Author's instructions below to get access to this package and the accompanying documentation.
Disclaimer: This script is for educational and informational purposes only and does not constitute financial advice. Trading and investing carry risk, and past performance is not indicative of future results. The author is not responsible for any losses or decisions made based on the use of this script. Always do your own research and consult with a qualified financial advisor before making trading decisions.
Target in ATR by G.I.N.e TradingTarget in ATR (Bar View)
🧭 Purpose:
This indicator visualizes the target level for a trade as a percentage of the ATR (Average True Range). It is designed to help traders adapt their profit-taking logic to current market volatility.
Features:
ATR-based dynamic target: Automatically adjusts to market volatility
Color-coded bars to visually represent volatility regimes:
🟢 Green → High volatility (Target > ATR) → Ideal for trailing stops
🟠 Orange → Moderate volatility (Target between 0.5×ATR and ATR) → Good for fixed targets
🔴 Red → Low volatility (Target < 0.5×ATR) → Consider avoiding trades
Optional line plot to show current target value as a continuous line
AI QUANT OCULUSAI QUANT OCULUS
Version 1.0 | Pine Script v6
Purpose & Innovation
AI QUANT OCULUS integrates four distinct technical concepts—exponential trend filtering, adaptive smoothing, momentum oscillation, and Gaussian smoothing—into a single, cohesive system that delivers clear, objective buy and sell signals along with automatically plotted stop-loss and three profit-target levels. This mash-up goes beyond a simple EMA crossover or standalone TRIX oscillator by requiring confluence across trend, adaptive moving averages, momentum direction, and smoothed price action, reducing false triggers and focusing on high‐probability turning points.
How It Works & Why Its Components Matter
Trend Filter: EMA vs. Adaptive MA
EMA (20) measures the prevailing trend with fixed sensitivity.
Adaptive MA (also EMA-based, length 10) approximates a faster-responding moving average, standing in for a KAMA-style filter.
Bullish bias requires AMA > EMA; bearish bias requires AMA < EMA. This ensures signals align with both the underlying trend and a more nimble view of recent price action.
Momentum Confirmation: TRIX
Calculates a triple-smoothed EMA of price over TRIX Length (15), then converts it to a percentage rate-of-change oscillator.
Positive TRIX reinforces bullish entries; negative TRIX reinforces bearish entries. Using TRIX helps filter whipsaws by focusing on sustained momentum shifts.
Gaussian Price Smoother
Applies two back-to-back 5-period EMAs to the price (“gaussian” smoothing) to remove short-term noise.
Price above the smoothed line confirms strength for longs; below confirms weakness for shorts. This layer avoids entries on erratic spikes.
Confluence Signals
Buy Signal (isBull) fires only when:
AMA > EMA (trend alignment)
TRIX > 0 (momentum support)
Close > Gaussian (price strength)
Sell Signal (isBear) fires under the inverse conditions.
Requiring all three conditions simultaneously sharply reduces false triggers common to single-indicator systems.
Automatic Risk & Reward Plotting
On each new buy or sell signal (edge detection via not isBull or not isBear ), the script:
Stores entryPrice at the signal bar’s close.
Draws a stop-loss line at entry minus ATR(14) × Stop Multiplier (1.5) by default.
Plots three profit-target lines at entry plus ATR × Target Multiplier (1×, 1.5×, and 2×).
All previous labels and lines are deleted on each new signal, keeping the chart uncluttered and focusing only on the current trade.
Inputs & Customization
Input Description Default
EMA Length Period for the main trend EMA 20
Adaptive MA Length Period for the faster adaptive EM A substitute 10
TRIX Length Period for the triple-smoothed momentum oscillator 15
Dominant Cycle Length (Reserved) 40
Stop Multiplier ATR multiple for stop-loss distance 1.5
Target Multiplier ATR multiple for first profit target 1.5
Show Buy/Sell Signals Toggle on-chart labels for entry signals On
How to Use
Apply to Chart: Best on 15 m–1 h timeframes for swing entries or 5 m for agile scalps.
Wait for Full Confluence:
Look for the AMA to cross above/below the EMA and verify TRIX and Gaussian conditions on the same bar.
A bright “LONG” or “SHORT” label marks your entry.
Manage the Trade:
Place your stop where the red or green SL line appears.
Scale or exit at the three yellow TP1/TP2/TP3 lines, automatically drawn by volatility.
Repeat Cleanly: Each new signal clears prior annotations, ensuring you only track the active setup.
Why This Script Stands Out
Multi-Layer Confluence: Trend, momentum, and noise-reduction must all align, addressing the weaknesses of single-indicator strategies.
Automated Trade Management: No manual plotting—stop and target lines appear seamlessly with each signal.
Transparent & Customizable: All logic is open, adjustable, and clearly documented, allowing traders to tweak lengths and multipliers to suit different instruments.
Disclaimer
No indicator guarantees profit. Always backtest AI QUANT OCULUS extensively, combine its signals with your own analysis and risk controls, and practice sound money management before trading live.
15-Minute and 60-Minute ORB with Wicks15 and 60 minute ORBs for each trading day. Simple, yet effective.