ANDROMEDA - TrendSyncANDROMEDA - TrendSync
Pedro Canto - Portfolio Manager | CGA/CGE
OVERVIEW
Trend Sync is a multi-layered trend-following indicator designed to help traders identify high-probability trend continuation setups while avoiding low-quality entries caused by overbought or oversold market conditions.
This indicator combines the power of Moving Averages (MA), MACD , and a visual RSI-based filter to validate both trend direction and timing for entries. It's goal is simple: filter out noise and highlight only the most technically relevant buy and sell signals based on objective momentum and trend criteria.
---
WALKTHROUGH
This indicator is built for traders seeking to operate in the direction of established trends. It's core principle is to identify and validate current trend conditions, and then signal entry opportunities during pullbacks to key moving averages.
Trend identification is achieved through the alignment of two moving averages. When these MAs are crossed and angled in the same direction, they confirm that a trend is in progress. To double-confirm trend direction, the MACD histogram is used—only. When both the MAs and MACD are aligned in the same direction, then the trend is considered valid.
Once all trend criteria are met, a dynamic coloring system is activated to visually reinforce the trend across the candles and moving averages.
To avoid poor entries during market exhaustion, an RSI-based filter is used. This short-term RSI highlights overbought or oversold zones, helping traders filter trades in extreme price conditions.
Only when the trend is validated and price pulls back to one of the MAs will a buy/sell signal be triggered, aligning momentum, price action and timing into a single actionable setup.
This combination ensures that each component plays a specific role:
i) Moving Averages define the trend
ii) MACD validates it
iii) RSI filters noise
iv) Intrabar price action triggers entries
This synchronism helps improve decision-making and entry timing, especially for swing and intraday traders.
---
USE CASES
- Identifying trend continuation setups
- Filtering false signals during consolidation phases
- Avoiding trades in overbought or oversold zones
- Enhancing entry timing for both swing and intraday strategies
- Providing visual confirmation of trend strength and momentum alignment
---
KEY FEATURES
1. Dual Moving Average Setup
The indicator allows full customization of two moving averages (MA1 and MA2), supporting both EMA and SMA types. The slope of the longer MA (MA2) acts as an essential trend filter, ensuring signals are only generated when the market shows clear directional bias.
2. MACD Histogram Trend Confirmation
A classic MACD Histogram calculation is used to validate the momentum of the prevailing trend.
- Bullish Trend: Histogram > 0
- Bearish Trend: Histogram < 0
This step filters out counter-trend signals and ensures trades are aligned with momentum.
3. Intrabar Price Trigger
Unlike standard crossover systems, this indicator waits for intrabar price action to trigger entries:
- Buy Signal: Price crosses below one of the MAs during an uptrend (dip-buy logic)
- Sell Signal: Price crosses above one of the MAs during a downtrend (rally-sell logic)
This intrabar trigger improves entry timing and helps capture retracement-based opportunities.
4. RSI Visual Filter
A short-term RSI is plotted and color-coded to visually highlight overbought and oversold conditions, acting as a discretionary filter for users to avoid low-probability trades during exhaustion points.
5. Dynamic Coloring System
Bar Colors:
- Blue: Bullish trend
- Red: Bearish trend
- Orange: RSI Overbought/Oversold zones
MA Colors:
- Blue for bullish conditions
- Red for bearish conditions
- Gray for neutral/no-trend phases
6. Signal Markers and Alerts
Clear visual buy and sell markers are plotted directly on the chart.
Additionally, the indicator includes real-time alerts for both Buy and Sell signals, helping traders stay informed even when away from the screen.
---
INPUTS AND CUSTOMIZATION OPTIONS
- Moving Average Types: EMA or SMA for both MA1 and MA2.
- MACD Settings: Customizable fast, slow, and signal periods.
- RSI Settings: Source, length, and overbought/oversold levels fully adjustable.
- Color Customization: Adjust RSI zone colors to suit your chart theme.
---
DISCLAIMER
This indicator is a technical analysis tool designed for educational and informational purposes only. It should not be used as a standalone trading system. Always combine it with sound risk management, price action analysis, and, where applicable, fundamental context.
Past performance does not guarantee future results.
Göstergeler ve stratejiler
Overnight High/Low, Session High/LowGives you the following information:
- Previous session(s) high and low (up to 10)
- The current session overnight high and low
- The previous session open and close
When any prior day high or low is broken, the line for it will stop extending to the right.
EMA Cross with Alert and LabelThis simple yet effective indicator helps you identify trend changes using the classic Exponential Moving Average (EMA) crossover strategy. It's designed to be clean, easy to read, and highly functional.
Features:
EMA Crossover Signals: Visualizes the crossover between a fast EMA and a slow EMA.
On-Chart Labels: Automatically plots "Buy" (green) and "Sell" (red) labels directly on the chart when a crossover occurs, making signals impossible to miss.
Built-in Alerts: Comes with pre-configured alert conditions for both bullish ("Buy Signal") and bearish ("Sell Signal") crosses. You can easily set up notifications from the TradingView "Alerts" menu.
Customizable: Easily change the lengths for the Fast and Slow EMAs from the indicator's settings menu to fit your trading style and timeframe.
How to Use:
Add the indicator to your chart.
A "Buy" label appears when the fast EMA crosses above the slow EMA (potential uptrend).
A "Sell" label appears when the fast EMA crosses below the slow EMA (potential downtrend).
To receive notifications, go to the "Alerts" panel, create a new alert, select this indicator as the condition, and choose between the "Buy Signal" or "Sell Signal".
Sweep + BOS (Lines + First Confirmed Only)🔍 Indicator: Sweep + BOS (Break of Structure with Visual Lines)
🧠 Overview
This indicator combines Swing detection, Liquidity Sweeps, and Break of Structure (BOS) logic, with:
Customizable swing length,
BOS signals only after confirmed sweeps,
BOS shown only once per sweep,
Visual labels and connecting lines to highlight structure breaks clearly.
⚙️ Inputs
Swing Length:
Defines how many candles to use to identify a swing high/low. Must be an odd number (e.g., 3, 5, 7...).
Sweep Lookback Window:
Sets how far back the script checks for a sweep (false breakout over a swing).
BOS Validity After Sweep:
Number of bars within which a BOS can be considered valid after a sweep.
Toggle Options:
Show/hide:
Swing Labels
Sweep Labels
BOS Labels
BOS Connecting Lines
📌 Logic Breakdown
✅ Swings
Swing High: A candle’s high is greater than the highs of all N candles on both sides.
Swing Low: A candle’s low is lower than the lows of all N candles on both sides.
💧 Liquidity Sweeps
Sweep High:
Price spikes above a previous Swing High,
Then closes back below it (false breakout).
Sweep Low:
Price drops below a previous Swing Low,
Then closes back above it.
🔁 Break of Structure (BOS)
A BOS is only shown if:
It occurs after a valid sweep (within X bars),
It hasn’t been already plotted for that sweep,
BOS ↑ is only possible after Sweep Low,
BOS ↓ is only possible after Sweep High,
Opposite BOS type resets the last BOS state.
BOS ↑ (Bullish):
Confirmed when price closes above previous Swing High after Sweep Low.
Label appears at the candle low.
A line is drawn from the Swing Low to the BOS candle.
BOS ↓ (Bearish):
Confirmed when price closes below previous Swing Low after Sweep High.
Label appears at the candle high.
A line is drawn from the Swing High to the BOS candle.
IU Fibonacci Levels For IntradayDESCRIPTION
This indicator draws intraday Fibonacci levels from the opening price of the day using percentage-based retracements. It helps traders identify potential intraday support and resistance zones derived from the day’s opening bias. The levels are dynamically calculated and displayed with optional labels and customizable colors, making it an effective tool for both breakout and mean-reversion intraday strategies.
USER INPUTS
Direction Of The Level
Choose whether to show Upside, Downside, or Both level sets based on your directional bias.
Show Labels of Levels
Option to enable or disable text labels displaying Fibonacci values and prices.
Individual Level Toggles & Colors
You can choose to show or hide each of the following Fibonacci levels and set their respective colors:
* 0.236
* 0.328
* 0.500
* 0.618
* 0.786
* 1.000
INDICATOR LOGIC
On the first bar of the session, the opening price is captured.
Fibonacci levels are then calculated above and below this open using percentage multipliers (for example, day\_open + (day\_open \* 0.236%) for the 0.236 level).
Depending on the selected direction, upside and/or downside levels are plotted.
Filled zones are drawn between levels to visually highlight key price zones.
Optionally, each level can be labeled with its Fibonacci value and price.
WHY IT IS UNIQUE
Unlike traditional swing-based Fibonacci retracements, this tool uses the day’s opening price as an anchor, specifically designed for intraday traders.
Allows traders to quickly visualize micro-support and resistance levels that adapt every day.
Highly customizable and easy to read, with filled level bands for better zone recognition.
Works independently of indicators like RSI, MACD, or moving averages – purely based on price action logic.
HOW USER CAN BENEFIT FROM IT
Spot precise intraday reversal zones or breakout regions.
Combine with price action or volume analysis for smarter entries.
Filter trades by choosing directional bias (Up Site, Down Site, or Both).
Set profit targets or stop-losses based on Fibonacci bands.
Works great for scalpers, day traders, and even short-term swing traders looking to align with opening price momentum.
Disclaimer
This indicator is not financial advice, it's for educational purposes only highlighting the power of coding( pine script) in TradingView, I am not a SEBI-registered advisor. Trading and investing involve risk, and you should consult with a qualified financial advisor before making any trading decisions. I do not guarantee profits or take responsibility for any losses you may incur.
Normalized EMA Cycle (NEC)Normalized EMA Cycle (NEC)
The Normalized EMA Cycle (NEC) is a versatile momentum and trend reversal tool designed to detect high-probability turning points and gauge the strength of price cycles.
It combines fast and slow Exponential Moving Averages (EMAs), dynamic normalization, and adaptive transparency to create clear, intuitive reversal signals on the chart.
🔹 How It Works
EMA Differencing
The NEC calculates the difference between a fast EMA and a slower EMA:
Fast EMA Length (default 6) captures short-term momentum.
Slow EMA Length (default 16) tracks broader trends.
The slope of this difference identifies accelerating or decelerating momentum.
Normalization to 0–100 Scale
The raw EMA difference is scaled relative to the recent Alpha Period range (default 6 bars).
This transforms the value into a normalized oscillator ranging between 0 and 100.
A 3-period Hull Moving Average (HMA) smooths this series to reduce noise.
Overbought and Oversold Thresholds
By default:
Overbought Level: 75
Oversold Level: 25
Crossovers of these levels are used to detect potential reversals.
Adaptive Alpha Adjustment
The normalized value is transformed into an “Alpha Schaff” line, dynamically shifting between price and normalized cycles.
This helps the model adjust to different volatility regimes.
Trend Reversal Logic
Bullish Reversal:
Normalized oscillator crosses above the Oversold Level.
EMA difference slope is positive.
Bearish Reversal:
Normalized oscillator crosses below the Overbought Level.
EMA difference slope is negative.
Additional confirmation comes when price crosses the Alpha Schaff line in the direction of momentum.
Dynamic Confidence Visualization
The indicator calculates a trend confidence score based on the normalized separation of the EMAs.
The transparency of reversal markers dynamically adjusts:
Strong trends = more opaque signals
Weak trends = more transparent signals
🔹 How to Use
✅ Entries
Long Signal: Aqua upward label appears below a bar.
Conditions:
Bullish reversal or price crossing above Alpha Schaff
Normalized slope is rising
Short Signal: Fuchsia downward label appears above a bar.
Conditions:
Bearish reversal or price crossing below Alpha Schaff
Normalized slope is falling
✅ Trend Strength
The less transparent the signal marker, the more significant the trend.
✅ Customization
Use the inputs to fine-tune sensitivity:
Shorter EMAs: Faster signals
Longer EMAs: Smoother trends
Alpha Period: Adjusts the lookback range for normalization
🟢 Best Practices
NEC is best used in combination with other trend confirmation tools (e.g., price structure, volume, or higher timeframe EMAs).
Avoid relying on signals in extremely low-volume or choppy ranges.
⚠️ Disclaimer
This script is intended for educational purposes only and does not constitute financial advice. Trading involves substantial risk, and you should consult your financial advisor before making any investment decisions.
Gabriel's Andean Oscillator📈 Gabriel's Andean Oscillator — Enhanced Trend-Momentum Hybrid
Gabriel's Andean Oscillator is a sophisticated trend-momentum indicator inspired by Alex Grover’s original Andean Oscillator concept. This enhanced version integrates multiple envelope types, smoothing options, and the ability to track volatility from both open/close and high/low dynamics—making it more responsive, adaptable, and visually intuitive.
🔍 What It Does
This oscillator measures bullish and bearish "energy" by calculating variance envelopes around price. Instead of traditional momentum formulas, it builds two exponential variance envelopes—one capturing the downside (bullish potential) and the other capturing the upside (bearish pressure). The result is a smoothed oscillator that reflects internal market tension and potential breakouts.
⚙️ Key Features
📐 Envelope Types:
Choose between:
"Regular" – Uses single EMA-based smoothing on open/close variance. Ideal for shorter timeframes.
"Double Smoothed" – Adds an extra layer of smoothing for noise reduction. Ideal for longer timeframes.
📊 Bullish & Bearish Components:
Bull = Measures potential upside using price lows (or open/close).
Bear = Measures downside pressure using highs (or open/close).
These can optionally be derived from high/low or open/close for flexible interpretation.
📏 Signal Line:
A customizable EMA of the dominant component to confirm momentum direction.
📉 Break Zone Area Plot:
An optional filled area showing when bull > bear or vice versa, useful for detecting expansion/contraction phases.
🟢 High/Low Overlay Option (Use Highs and Lows?):
Visualize secondary components derived from high/low prices to compare against the open/close dynamics and highlight volatility asymmetry.
🧠 How to Use It
Trend Confirmation:
When bull > bear and rising above signal → bullish bias.
When bear > bull and rising above signal → bearish bias.
Breakout Potential:
Watch the Break area plot (√(bull - bear)) for rapid expansion, signaling volatility bursts or directional moves.
High/Low Envelope Divergence:
Enabling the high/low comparison reveals hidden strength or weakness not visible in open/close alone.
🛠 Customizable Inputs
Envelope Type: Regular vs. Double Smoothed
EMA Envelope Lengths: For both regular and smoothed logic
Signal Length: Controls EMA smoothing for the signal
Use Highs and Lows?: Toggles second set of envelopes; the original doesn't include highs and lows.
Plot Breaks: Enables the filled “break” zone area, the squared difference between Open and Close.
🧪 Based On:
Andean Oscillator - Alpaca Markets
Licensed under CC BY-NC-SA 4.0
Developed by Gabriel, based on the work of Alex Grover
Swing High/Low with Liquidity Sweeps🧠 Overview
This indicator identifies swing highs and swing lows based on user-defined candle lengths and checks for liquidity sweeps—situations where the price breaks a previous swing level but then closes back inside, indicating a potential false breakout or stop hunt. It also supports visual labeling and alerts for these events.
⚙️ Inputs
Swing Length (must be odd number ≥ 3):
Determines how many candles are used to identify swing highs/lows. The central candle must be higher or lower than all neighbors within the range.
Example: If swingLength = 5, the central candle must be higher/lower than the 2 candles on both sides.
Sweep Lookback (bars):
Defines how many bars to look back for possible liquidity sweeps.
Show Swing Labels (checkbox):
Optionally display labels on the chart when a swing high or low is detected.
Show Sweep Labels (checkbox):
Optionally display labels on the chart when a liquidity sweep occurs.
🕯️ Swing Detection Logic
A Swing High is detected when the high of the central candle is greater than the highs of all candles around it (as per the defined length).
A Swing Low is detected when the low of the central candle is lower than the lows of surrounding candles.
Swing labels are placed slightly above (for highs) or below (for lows) the candle.
💧 Liquidity Sweep Logic
A Sweep High is triggered if:
The current high breaks above a previously detected swing high,
And then the candle closes below that swing high,
Within the configured lookback window.
A Sweep Low is triggered if:
The current low breaks below a previous swing low,
And then closes above it,
Within the lookback window.
These are often seen as stop hunts or fake breakouts.
🔔 Alerts
Sweep High Alert: Triggered when a sweep above a swing high occurs.
Sweep Low Alert: Triggered when a sweep below a swing low occurs.
You can use these to set up TradingView alerts to notify you of potential liquidity grabs.
📊 Use Cases
Identifying market structure shifts.
Spotting fake breakouts and potential reversals.
Assisting in smart money concepts and liquidity-based trading.
Supporting entry timing in trend continuation or reversal strategies.
Simple Bollinger BandsBollinger Bands are a popular technical analysis indicator used to measure market volatility and identify potential overbought or oversold conditions.
This script plots:
A middle band (20-period Simple Moving Average)
An upper band (SMA + 2 standard deviations)
A lower band (SMA – 2 standard deviations)
Alt Market Index (Halving-Adjusted BTC Supply, EMA)
암호화폐 알트코인 시총 상위 125개를 모아서
나스닥 기반의 계산식을 활용한 알트코인지수125를 만들었습니다.
반감기에 따른 비트코인 하루 채굴량 갯수 추가까지 포함한 버전입니다.
일봉이 기준이 됩니다.
I created the Altcoin Index 125 by compiling the top 125 altcoins by market capitalization in the cryptocurrency market, using a calculation method based on the Nasdaq index.
This version also includes adjustments for Bitcoin’s halving events, reflecting changes in daily mining output. The index is based on daily candles.
Simple RSIThe Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. It helps traders identify overbought or oversold conditions in the market.
This script plots the 14-period RSI, which is one of the most commonly used settings.
How It Works:
The RSI ranges from 0 to 100.
Values above 70 suggest the asset may be overbought (a potential sell area).
Values below 30 suggest the asset may be oversold (a potential buy area).
Simple 20 SMAThe Simple 20 SMA is a technical analysis indicator that calculates the average closing price of an asset over the last 20 candles (bars). It smooths out short-term price fluctuations to help traders identify the overall trend direction.
How It Works:
It takes the last 20 closing prices, adds them together, and divides by 20.
The result is plotted as a smooth line on the chart, updating with each new candle
MES Alerts: EMA9/21 + VWAP + Visual TradesTitle:
📈 MES Scalping Indicator – EMA9/21 + VWAP + Entry/TP/SL Visualization
Description:
This indicator combines a simple yet effective scalping setup tailored for the MES (Micro E-mini S&P 500) futures market.
🔧 Features:
EMA 9 & EMA 21 crossover logic
VWAP filter to confirm trend direction
Signal generation on pullbacks in trend direction
Visual trade levels:
Dashed lines for entry, take-profit, and stop-loss
Webhook-ready alerts for automated trading integrations (e.g., via Python, Tradovate API, etc.)
💬 Community Feedback Welcome:
This is an early version. I'm actively seeking input from traders and developers alike — especially around signal refinement, visualization, and automation compatibility.
Feel free to comment or fork.
Happy trading! 🚀
Dynamic Sniper ProDynamic Sniper Pro - Binary Options Signal
Description:
Dynamic Sniper Pro is a powerful Pine Script v6 indicator designed for binary options trading. It combines Exponential Moving Averages (EMAs), Relative Strength Index (RSI), and an optional ATR filter to generate precise buy and sell signals. Ideal for short-term charts like 1-minute, this indicator helps traders spot trend reversals and breakouts with clear visual arrows. Tested on CAD/JPY, it recently delivered actionable signals during the morning session on July 01, 2025.
How It Works:
Buy Signal (Green Arrow): Triggered when the closing price exceeds both the 3-period Fast EMA and 8-period Slow EMA, RSI drops below the oversold level (default 40), and (if ATR filter is on) the price breaks above the Slow EMA + 0.15 * ATR. Enter a call option at the next candle open.
Sell Signal (Red Arrow): Triggered when the closing price falls below both EMAs, RSI rises above the overbought level (default 60), and (if ATR filter is on) the price breaks below the Slow EMA - 0.15 * ATR. Enter a put option at the next candle open.
Key Features:
Customizable parameters: Adjust EMA lengths, RSI periods, oversold/overbought levels, and ATR multiplier.
Optional ATR filter to reduce whipsaw entries.
Visual alerts with arrows and background highlights.
Compatible with any forex pair or timeframe—optimize for your strategy!
Settings:
Fast EMA Length: 3 (short-term trend)
Slow EMA Length: 8 (trend confirmation)
RSI Length: 14 (default smoothness)
Oversold Level: 40 (tweak for sensitivity)
Overbought Level: 60 (tweak for sensitivity)
Use ATR Filter: True (optional)
ATR Length: 14
ATR Multiplier: 0.3 (adjust for breakout strength)
Performance:
Backtesting on CAD/JPY 1-minute from 10:34–11:34 AM PDT on July 01, 2025, showed promising signal frequency. Results may vary—test on your preferred asset.
Tips:
Set alerts via the "Alerts" tab for real-time notifications.
Adjust oversold/overbought levels (e.g., 45/55) for fewer/more signals.
Best on volatile pairs like CAD/JPY or EUR/USD.
Disclaimer:
This indicator is for educational purposes only. Past performance is not indicative of future results. Use at your own risk, and consider market conditions and risk management.
LaCrazy Smash CandleLaCrazy Smash Candle highlights powerful engulfing candles that signal potential momentum reversals or breakout continuation.
Smash Long: The candle's low touches or dips below the prior candle's low, then closes above the previous high with a strong body (minimum % of the candle range).
Smash Short: The candle's high touches or exceeds the prior high, then closes below the previous low with a strong body.
These “Smash” moves often occur at key pivot points, signaling decisive rejections or trend continuation. Customize the body strength filter to match your strategy needs.
Leveraged Liquidation ZonesOVERVIEW
This indicator estimates potential liquidation zones based on leveraged positions (25x, 50x, 75x, 100x). It visually displays upper and lower bounds for each leverage tier, allowing traders to infer areas where the market might be seeking liquidity.
CONCEPTS
In leveraged markets, especially crypto derivatives, price often moves towards zones of high liquidation potential — areas where traders using high leverage are likely to be stopped out. These zones represent concentrations of liquidity that can serve as targets for price movement.
This script models simplified liquidation areas by calculating the price range within which positions using specific leverage levels would be at risk, assuming no maintenance margin and using the previous candle close as a reference.
FEATURES
Visual zones for 25x, 50x, 75x, and 100x leverage levels.
Customizable visibility and colors for each leverage tier.
Real-time zone calculation based on the previous candle close.
Simple and clean design to overlay directly on price action.
USAGE
Use this tool to identify areas of liquidity accumulation or potential price magnet zones. High-leverage liquidations often lead to volatile movements when triggered, so tracking these zones can help anticipate breakout or reversal behavior.
You can toggle individual leverage levels via the settings panel, and adjust color transparency to suit your chart theme. This tool is most effective when combined with volume spikes, order book analysis, or high-frequency behavior.
Simple MA + RSI//@version=6
// This script is a called " "
// Description:
// This script implements a
// It includes customizable inputs for moving average lengths and plots signals directly on the chart.
//
// Features:
// - Customizable input parameters
// - Buy/sell signals plotted on chart
// - Can be used with alerts (via `alertcondition()`)
// - Suitable for
Líneas desde apertura 1 de eneroBased on the opening price of January 1st, generate lines at the base price, +10%, +20%, -10%, and -20%.
En base al precio de apertura del 1 de Enero, genera unas lineas a precio base, +10%, +20%, -10% y -20%
Normalized Volume IndexIn the realm of technical analysis, volume is more than just a measure of market activity—it’s a window into trader psychology. Two classic indicators that harness this insight are the Positive Volume Index (PVI) and Negative Volume Index (NVI). Developed in the early 20th century by Paul L. Dysart and later refined by Norman G. Fosback in 1976, these tools aim to distinguish between the behavior of the so-called “smart money” and the broader market crowd.
- Positive Volume Index (PVI) tracks price changes only on days when trading volume increases. It assumes that rising volume reflects the actions of less-informed retail traders—those who follow the herd.
- Negative Volume Index (NVI), on the other hand, focuses on days when volume decreases, under the premise that institutional investors (the “smart money”) are more active when the market is quiet.
This dichotomy allows traders to interpret market sentiment through the lens of volume behavior. For example, a rising NVI during a price uptrend may suggest that institutional investors are quietly accumulating positions—often a bullish signal.
Traders use PVI and NVI to:
- Confirm trends: If NVI is above its moving average, it often signals a strong underlying trend supported by smart money.
- Spot reversals: Divergences between price and either index can hint at weakening momentum or upcoming reversals.
- Gauge participation: PVI rising faster than price may indicate overenthusiastic retail buying—potentially a contrarian signal.
These indicators are often paired with moving averages (e.g., 255-day EMA) to generate actionable signals. Fosback’s research suggested that when NVI is above its one-year EMA, there’s a high probability of a bull market.
While PVI and NVI are cumulative indices, normalizing them—for example, by rebasing to 100 or converting to percentage changes—offers several benefits:
- Comparability: Normalized indices can be compared across different assets or timeframes.
- Clarity: It becomes easier to visualize relative strength or weakness.
- Backtesting: Normalized values are more suitable for algorithmic strategies and statistical analysis.
Normalization also helps when combining PVI/NVI with other indicators in multi-factor models, ensuring no single metric dominates due to scale differences
In essence, PVI and NVI offer a nuanced view of market dynamics by separating the noise of volume surges from the quiet confidence of institutional moves. When normalized and interpreted correctly, they become powerful allies in a trader’s decision-making toolkit.
How to use this (Educational material):
For instance, on average, when the Negative Volume Index (NVI) remains above its midline, the market tends to trend positively, reflecting consistent institutional participation. However, when the NVI dips and stays below the midline, it often signals a negative trend, indicating that smart money is stepping away or reducing exposure.
Another telling scenario occurs when the Positive Volume Index (PVI) drops below the NVI. While this might coincide with a brief price dip, institutions often interpret this as an opportunity to buy the dip, quietly accumulating positions while retail participants exit in panic. The result? A market recovery driven by smart money.
Conversely, when the PVI consistently remains above the NVI, it may point to retail enthusiasm outpacing institutional support. This imbalance can flag a tired or overextended trend, where the smart money has already positioned itself defensively. When this pattern persists, there's a high likelihood that institutions will pull the plug, leading to a pronounced trend reversal.
Volume Weighted Average PriceTitle: VWAP with Confirmed Breakout Color Shift
Description:
This is an enhanced Volume Weighted Average Price (VWAP) indicator that dynamically changes color based on confirmed price breakouts above or below the VWAP line.
✅ Green VWAP line indicates a strong bullish move (price has broken above VWAP by at least 0.2%).
🔻 Red VWAP line signals a bearish move (price has dropped below VWAP by at least 0.2%).
⚪️ Neutral gray is used when price is near VWAP without clear breakout confirmation.
Includes optional upper/lower bands based on either standard deviation or percentage distance from VWAP.
Ideal for identifying market bias and confirming momentum shifts in real time.
EMA Cross Strategy only Long📈 EMA Cross Strategy – Only Long
Simple. Clean. Powerful. Designed for strong uptrends.
This is a long-only trend-following strategy based on the classic crossover of Exponential Moving Averages (EMAs). It’s designed for growth stocks and trending assets where upward momentum dominates.
⚙️ How it works:
Entry: when the Fast EMA crosses above the Slow EMA
Exit: when the Fast EMA crosses below the Slow EMA
No shorts, no reversals – just pure trend riding.
By default, the strategy uses 50/100 EMA, which has performed exceptionally well on stocks like NVIDIA (NVDA). These settings can be easily customized to fit your preferred asset or timeframe.
📊 Backtest Example – NVIDIA (NVDA, 1D timeframe)
Test parameters:
Initial capital: $10,000
Order size: 50% of equity per trade (adjustable in settings)
Results:
Net profit: +$2,037,563.63 USD
Gross profit: $2,127,432.33
Gross loss: $89,868.70
Max equity growth: $2,708,648.75 (+99.63%)
Drawdown: 20.00%
Buy & Hold profit: +$30,636,000 USD (but with far more exposure)
The strategy dramatically outperformed passive holding on a risk-adjusted basis, while keeping drawdowns and trade count under control.
🔧 Customization & Risk Management
In the Strategy Settings, you can adjust:
EMA lengths (default: 50 fast, 100 slow)
Order size as a % of equity (e.g., reduce below 50% to lower drawdown)
Backtest range and asset type (works well on growth stocks and trending commodities)
Try this on assets with strong bullish cycles like NVDA, AAPL, MSFT, or Gold (XAU/USD).
⚠️ Disclaimer
This script is for educational and backtesting purposes only. It is not financial advice. Please do your own research and test carefully before trading live.
Simple Market Kill-Zones + Open (UTC)What it does
This Pine v6 indicator highlights the “kill-zones” around the big session opens—Asian (23:00–03:00 UTC), London (07:00–09:00 UTC) and New York (13:30–15:30 UTC)—by reading each bar’s actual UTC timestamp. It also draws dashed vertical lines at exactly 23:00, 07:00 and 13:30 UTC, so you never miss the liquidity ramps. Because it uses raw UTC hours/minutes, it stays accurate even when exchanges pause (e.g. Nano-BTC’s daily halt) or your chart’s display timezone changes.
Key Inputs
Show Asia/London/NY Kill Zone – toggle each shaded band on/off
Zone Colors – pick your own semi-transparent hues
Show Session-Open Lines – enable dashed verticals at the exact open times
Line Colors – customize the line opacity and style
How to use
Apply on your favorite timeframe (15 min–1 h is a sweet spot).
Toggle the zones you care about and pick readable colors.
Use the dashed lines as entry triggers or as visual bookmarks.
In your own Pine strategies, wrap order logic with the zone booleans to only trade when liquidity’s alive.