Long Only - Double EMA + SessionOverview
This is a high-probability Long-Only trend-following strategy designed primarily for the 65-minute and 4-hour timeframes. It utilizes a dual-layered filter system to align trades with both macro and mid-term market momentum, ensuring entries only occur during healthy uptrends. The strategy is optimized for volatile, high-growth assets like TSLA and MSFT.
How It Works
The strategy relies on three primary pillars of technical analysis to confirm an "A+" setup:
Macro Trend Filter (200 EMA): We only look for long opportunities when the price is above the 200-period Exponential Moving Average. This keeps the strategy on the right side of the long-term trend and avoids "buying the dip" during major bear markets.
Momentum Filter (50 EMA): The 50 EMA acts as a local trend filter. By requiring price to be above both EMAs, we ensure the medium-term momentum is also bullish.
The Trigger (Stochastic RSI): We enter when the Stochastic RSI K-line crosses above the 20 level (Oversold). This identifies local "oversold" pullbacks within a larger uptrend.
Risk Management & Exit Plan
This strategy is built with professional-grade capital preservation in mind:
Trailing Stop-Loss: A 5% trailing stop follows the price as it moves in our favor. This protects unrealized profits and helps mitigate the drawdown during sudden reversals.
Dynamic Profit Target: The strategy exits automatically if the Stochastic RSI K-line reaches the 97 level, capturing gains at the peak of momentum.
Session Filter: To avoid the "noise" of pre-market and low-volume afternoon trading, the strategy is restricted to the Market Open (9:30 AM EST) window where institutional volume is highest.
Backtesting Notes
Realistic Simulation: This strategy includes a 0.05% commission and 2 ticks of slippage to reflect real-world execution costs.
Recommended Assets: Optimized for Nasdaq-100 components and high-volume growth stocks.
Timeframe: Best performance found on 65m or 4h intervals.
Indicateurs et stratégies
BTC Log RegressionLog-scale regression channel for Bitcoin. Designed to identify long-term valuation extremes in exponentially growing assets.
S&P 500 Momentum Coiling Tracker [20/200 MA]This indicator measures the absolute point distance between the 20-period SMA and the 200-period SMA, specifically optimized for the S&P 500 (ES/MES) index.
In the style of institutional trend following, it identifies the "Narrow State"—a period of low volatility where a major breakout is imminent.
How to read the Histogram:
🟢 GREEN (< 8 pts): Ultra-Narrow/Coiled State. Stored energy is high. Watch for an explosive breakout.
🟡 YELLOW (8-15 pts): Narrow/Transition. The averages are converging or just starting to fan out.
⚪ GRAY (15-30 pts): Neutral trending zone.
🔴 RED (> 30 pts): Extended State. Price is stretched far from the long-term mean; avoid chasing the move.
[CT] Highest/Lowest Close Midline Candle ColorThis indicator looks back a user defined number of bars, the default is 14, and finds the highest closing price and the lowest closing price in that lookback window. Those two values form a rolling closing range. The script then calculates a midpoint of that range by averaging the highest close and the lowest close. That midpoint is plotted as “o”, and it acts like a simple, adaptive balance line for where the market is trading within its recent closing range.
On every bar, the candle color is driven by where the current close finishes relative to that midpoint. When price closes above the midpoint, the script colors the candle green, which tells you that the close is occurring in the upper half of the most recent closing range. When price closes below the midpoint, the candle is colored red, which tells you the close is occurring in the lower half of the most recent closing range. If the close lands exactly on the midpoint, the script leaves the bar uncolored, which is a quick way to spot “neutral” closes that are sitting right at the balance point.
On the chart you will see three plots. The “hi” line is the highest close over the lookback period, so it behaves like a dynamic ceiling for closes. The “lo” line is the lowest close over the lookback period, so it behaves like a dynamic floor for closes. The “o” line is the midpoint between those two, and it will move up when the rolling highest and lowest closes lift, and it will move down when they fall. Because all three are based on closing prices instead of highs and lows, they reflect where the market is actually accepting value at the end of each bar rather than momentary wicks.
In practical use, the midpoint line is your decision line and the candle colors are your bias filter. A sequence of green candles means closes are consistently happening above the midpoint, which implies bullish control of the recent closing range and can be used as a confirmation to favor long setups, trend continuation trades, or pullbacks that hold above the midpoint. A sequence of red candles means closes are consistently happening below the midpoint, which implies bearish control of the recent closing range and can be used to favor short setups or bearish continuation until price can reclaim the midpoint. When candles flip color around the midpoint repeatedly, that is a visual cue that the market is rotating and the midpoint is acting like a balance area rather than support or resistance, which often aligns with consolidation or choppier conditions.
The “hi” and “lo” lines can be treated as context levels. If price is closing above the midpoint and pressing toward the “hi” line, you are seeing strength within the closing range and the prior highest close becomes the next level where continuation may stall or break. If price is closing below the midpoint and pressing toward the “lo” line, you are seeing weakness within the closing range and the prior lowest close becomes the next level where continuation may pause or accelerate through. Breaks beyond the “hi” or “lo” line indicate that the rolling closing range is expanding, which can coincide with trend continuation or a breakout from a prior range.
This tool is simple by design and is best used as a directional filter and a structure guide rather than a standalone entry system. It does not repaint past bars because it only uses completed historical closes within the selected lookback window, and it updates normally as each new bar closes. You can increase the period to smooth it for higher time frames or more stable trends, and decrease it to make it more sensitive for faster markets or scalping, with the tradeoff that shorter periods will flip colors more often in chop.
CBDR Standard Deviation V2CBDR
Standard Deviation measures how far price statistically deviates from the central bank dealer range before institutional rebalancing occurs. CBDR defines fair value, while standard deviation highlights liquidity expansion zones. Moves into ±2 SD or beyond often signal stop-loss sweeps and inventory imbalance, where institutions favor mean reversion, not breakouts.
CBDR SD Core Checklist
□ Daily IPDA bias defined
□ Clean CBDR formed (Asia / early London)
□ CBDR high & low marked
□ ±1 and ±2 SD levels plotted
□ Liquidity sweep beyond CBDR
□ No high-impact news in session
CBDR SD Reversal Trade Checklist
□ Price taps ±2 SD or ±2.5 SD
□ Clear rejection (wick / displacement)
□ Entry against the expansion, not on breakout
□ Stop placed beyond liquidity extreme
□ TP1: CBDR boundary
□ TP2: CBDR midpoint (mean)
□ TP3 (optional): Opposite CBDR extreme
□ Invalidate if strong trend displacement continues
This reversal model captures institutional fade trades after liquidity is harvested, keeping execution statistical, disciplined, and prop-firm resilient.
Demand Index - Metastock VersionThis script implements the Demand Index, a complex technical indicator originally developed by James Sibbet. This specific version is adapted from the classic MetaStock formula to ensure accuracy and consistency with the original methodology.
The Demand Index combines price and volume data to relate price pressure to volume intensity. It is often used as a leading indicator to predict price trends by assessing the balance between buying pressure (Demand) and selling pressure (Supply).
How It Works
The calculation involves several steps to normalize volume and price changes:
Weighted Close: It calculates a weighted close price giving extra weight to the closing price (High + Low + 2*Close) / 4.
Volatility & Volume Averages: It computes the Average True Range (ATR) proxy and an Exponential Moving Average (EMA) of the volume to establish a baseline.
Buying & Selling Pressure: The core logic compares the current weighted close to the previous one.
If prices rise, the volume is assigned to Buying Pressure.
If prices fall, the volume is assigned to Selling Pressure.
A decay factor (Constant) is applied based on volatility to smooth the reaction to extreme price moves.
The Index: The final oscillator is derived from the ratio of smoothed Buying Pressure to Selling Pressure.
How to Use It
The Demand Index oscillates around a zero line. Traders typically look for the following signals:
Divergence: This is the most common use.
Bullish Divergence: Prices are making new lows, but the Demand Index is making higher lows. This suggests selling pressure is waning and a reversal may be imminent.
Bearish Divergence: Prices are making new highs, but the Demand Index is making lower highs. This suggests buying pressure is drying up.
Zero Line Crossovers:
A cross above zero indicates that Buying Pressure has overtaken Selling Pressure (Bullish).
A cross below zero indicates that Selling Pressure has overtaken Buying Pressure (Bearish).
Trend Confirmation: In a strong trend, the Demand Index should generally move in the same direction as the price.
Settings
Length: The lookback period for the moving averages (Default is 19, consistent with the standard MetaStock setting).
Originality & Credits
This script is a direct translation of the mathematical formula used in MetaStock software. While the Demand Index concept belongs to James Sibbet, this specific Pine Script implementation is provided as open source for the community to study and utilize.
Disclaimer:
This script is for educational and informational purposes only. It DOES NOT constitute financial advice. Trading involves significant risk, and past performance is not indicative of future results. Always do your own research before making investment decisions.
[Greeny] RTH Only Naked VPOCWhat it does
Calculates and displays daily Volume Point of Control (VPOC) levels based on RTH (Regular Trading Hours) session only. Tracks which VPOCs remain "naked" (untouched) and which have been hit - but only counts hits during RTH hours, ignoring overnight/globex touches.
Key Features
One VPOC per trading day calculated from entire RTH session volume profile
RTH-only hit detection - levels only marked as hit when touched during RTH, not overnight
Works on all timeframes - daily, hourly, or any chart timeframe
Volume-based filtering - automatically skips low-liquidity sessions (pre-front-month contract data)
Visual markers - small dash on origin bar shows where each VPOC was, even after being hit
Visual Guide
Yellow dashed line - Naked VPOC (not yet touched during RTH)
White dashed line - Hit VPOC (was touched during RTH)
Small dash on candle - POC origin marker
Settings
Display options: Toggle to show only naked POCs, customize hit/naked colors, adjust line width and style (solid/dashed/dotted), enable/disable line extension and origin markers.
RTH Session: Configure start and end time in NY timezone. Default is 9:30-16:00 (US equity market hours), which equals 15:30-22:00 Budapest time.
Advanced: Adjust volume profile resolution (default 250 bins), data source timeframe for calculations (5min recommended for daily charts), and minimum volume threshold to filter out low-liquidity sessions like pre-rollover contract data (default 10% of average).
Best For
ES/MES, NQ/MNQ futures traders
Mean reversion strategies using VPOC as support/resistance
Auction Market Theory practitioners
Anyone wanting clean RTH-only volume profile levels
Note on Contract Rollovers
When using specific contract symbols (e.g., ESH2026 instead of ES1!), the script may show many naked VPOCs from months before the contract became active. This happens because futures contracts have very low liquidity before becoming the front-month, creating unreliable VPOCs with gaps that never get hit. The volume filter helps reduce this, but you may need to increase the "Min Volume % of Average" setting or simply ignore older levels when viewing back-month data.
BB37BB37
WHAT IS SUPPORT AND RESISTANT ?
Support and resistance are fundamental concepts in technical analysis used to identify price levels on charts that are likely to act as barriers, preventing the price from moving in a certain direction.
Support:
Definition: Support refers to a price level at which an asset tends to stop falling because demand is strong enough to prevent further declines. It acts as a "floor" for the price, where buyers step in to buy the asset, causing the price to rebound or stabilize.
Example: If a stock is trading at $50 and repeatedly fails to drop below that level, $50 would be considered a support level.
Resistance:
Definition: Resistance is the opposite of support. It refers to a price level at which selling pressure is strong enough to prevent the price from rising further. It acts as a "ceiling," where sellers are more willing to sell, causing the price to reverse or consolidate.
Example: If the price of an asset repeatedly fails to rise above $100, $100 would be considered a resistance level.
In Practice:
Support and resistance levels are used by traders to make decisions about buying and selling. If the price approaches support, traders may see it as a potential buying opportunity. If the price approaches resistance, they may consider selling or shorting the asset.
If price breaks through a support or resistance level, it can signal a significant price movement. For example, a price moving above resistance may indicate an uptrend, while a price falling below support could indicate a downtrend.
These levels are not always exact and may vary slightly, often being identified as areas rather than precise lines on a chart. They are key tools for understanding market psychology and price behavior.
Titan 6.1 Alpha Predator [Syntax Verified]Based on the code provided above, the Titan 6.1 Alpha Predator is a sophisticated algorithmic asset allocation system designed to run within TradingView. It functions as a complete dashboard that ranks a portfolio of 20 assets (e.g., crypto, stocks, forex) based on a dual-engine logic of Trend Following and Mean Reversion, enhanced by institutional-grade filters.Here is a breakdown of how it works:1. The Core Logic (Hybrid Engine)The indicator runs a daily "tournament" where every asset competes against every other asset in a pairwise analysis. It calculates two distinct scores for each asset and selects the higher of the two:Trend Score: Rewards assets with strong directional momentum (Bullish EMA Cross), high RSI, and rising ADX.Reversal Score: Rewards assets that are mathematically oversold (Low RSI) but are showing a "spark" of life (Positive Rate of Change) and high volume.2. Key FeaturesPairwise Ranking: Instead of looking at assets in isolation, it compares them directly (e.g., Is Bitcoin's trend stronger than Ethereum's?). This creates a relative strength ranking.Institutional Filters:Volume Pressure: It boosts the score of assets seeing volume >150% of their 20-day average, but only if the price is moving up.Volatility Check (ATR): It filters out "dead" assets (volatility < 1%) to prevent capital from getting stuck in sideways markets."Alpha Predator" Boosters:Consistency: Assets that have been green for at least 7 of the last 10 days receive a mathematically significant score boost.Market Shield: If more than 50% of the monitored assets are weak, the system automatically reduces allocation percentages, signaling you to hold more cash.3. Safety ProtocolsThe system includes strict rules to protect capital:Falling Knife Protection: If an asset is in Reversal mode (REV) but the price is still dropping (Red Candle), the allocation is forced to 0.0%.Trend Stop (Toxic Asset): If an asset closes below its 50-day EMA and has negative momentum, it is marked as SELL 🛑, and its allocation is set to zero.4. How to Read the DashboardThe indicator displays a table on your chart with the following signals:SignalMeaningActionTREND 🚀Strong BreakoutHigh conviction Buy. Fresh uptrend.TREND 📈Established TrendBuy/Hold. Steady uptrend.REV ✅Confirmed ReversalBuy the Dip. Price is oversold but turning Green today.REV ⚠️Falling KnifeDo Not Buy. Price is cheap but still crashing.SELL 🛑Toxic AssetExit Immediately. Trend is broken and momentum is negative.Icons:🔥 (Fire): Institutional Buying (Volume > 1.5x average).💎 (Diamond): High Consistency (7+ Green days in the last 10).🛡️ (Shield): Market Defense Active (Allocations reduced due to broad market weakness).
Asset % Performance vs Base Index [Dots3Red]General idea of the indicator
This indicator is designed to indicate the asset % performance within the chosen time period in the form of colored boxes.
Moreover, the indicator shows the historic YoY% performance of one of the 4 US indices chosen: SP500, Nasdaq 100, DJ30, or Russel 2000.
The visual boxes are shown below the main chart.
How to use the indicator?
In the indicator's settings:
Choose the base index against which you want to check the asset % performance in the scripts.
Choose the default time period of the ticker for which you want to see the % performance.
Choose "Dark Theme" to redraw the boxes if you use that theme.
It is possible to drag the boundaries of the asset's % box in the chart so as to readjust the time period.
The indicator automatically recalculates once you change the settings or drag the boundaries of the asset's box
Possible Code changes
This script is open-source, therefore, you might modify it to choose any base asset, not only US indices.
ICT Levels PDH/PDL/IB/JP/WH/WL/PDCA lightweight reference-level indicator designed for ICT-style execution and prop-evaluation trading.
This script plots only the core, high-signal levels used intraday:
Prior Day High / Low (PDH / PDL)
Initial Balance High / Low (IBH / IBL)
Job Pivot (previous day pivot)
Weekly High / Low
PDC
Right-anchored labels for quick price reference
No signals, no bias — levels only
Intermarket Divergence (Futures vs Equity)Intermarket Divergence (Futures vs Equity)
This indicator detects intermarket divergence between a traded instrument (futures, CFD, or spot) and a related equity or ETF.
It highlights moments where price and its underlying market drivers disagree, often appearing before reversals or expansions.
🎯 What It Shows
Bullish divergence:
Price makes a lower low while the equity makes a higher low
Bearish divergence:
Price makes a higher high while the equity makes a lower high
Based on swing pivots, not candle noise
Designed for intraday context, not mechanical entries
✅ Recommended Use
XAUUSD (Gold) → GDX (default)
XAGUSD (Silver) → SIL
USOIL / WTI → XLE
(These guidelines are included directly in the indicator settings.)
🧭 How to Use
Apply on 15m–30m
Look for signals near key levels (PDH/PDL, Asia high/low, HTF structure)
Use price action for entries
Divergence is context, not a signal.
⚠️ Notes
Non-repainting
Signals are selective by design
Best during London & New York sessions
Extreme Reversion Flag - EMA Spread + ATR Threshold (15s)Short Description
Visual indicator that flags extreme EMA divergence on the 15s chart. It plots the EMA20 − EMA4 spread, overlays a multiplied ATR threshold, and highlights bars where 20 > 9 > 4 (bear extreme) or 4 > 9 > 20 (bull extreme) and the spread ≥ mult × ATR.
Features
- Pane plot of the EMA20−EMA4 spread and the ATR‑based threshold.
- Histogram showing spread/ATR ratio for numeric tuning.
- Visual fill between spread and threshold when the extreme condition is met.
- Top/bottom markers for exact bars that meet the rule.
- Alert conditions for bull and bear extremes.
- User inputs for EMA lengths, ATR length, and multiplier for sensitivity.
HSLevelsLibPubLibrary "HSLevelsLibPub"
Centralized levels library for Heatseeker trading system.
Update levels HERE ONCE - all consuming scripts auto-refresh.
getVIXThresholds()
Returns VIX threshold levels for regime determination
Returns: as tuple of floats
getVIXThresholdsCSV()
Returns VIX thresholds as CSV strings
Returns: as tuple of strings
getExpiry()
Returns current options expiry date in YYMMDD format
Returns: string in YYMMDD format (e.g., "260108" for Jan 8, 2026)
getAnchorStrike(symbol)
Returns the anchor strike price for a given symbol
Parameters:
symbol (simple string) : The ticker symbol (SPY, QQQ, SPX, VIX)
Returns: float anchor strike price
getFractalPrices(symbol)
Returns fractal level prices as CSV for a symbol
Parameters:
symbol (simple string) : The ticker symbol (SPY, QQQ, SPX)
Returns: string of comma-separated prices
getFractalLabels(symbol)
Returns fractal level labels as CSV for a symbol
Parameters:
symbol (simple string) : The ticker symbol (SPY, QQQ, SPX)
Returns: string of comma-separated labels
getFractalLevels(symbol)
Returns both fractal prices and labels as CSV tuple
Parameters:
symbol (simple string) : The ticker symbol
Returns: tuple
getAnchorStrikeAuto()
Auto-detect symbol and return appropriate anchor strike
Returns: float anchor strike for current chart symbol
getFractalLevelsAuto()
Auto-detect symbol and return fractal levels
Returns: for current chart symbol
getAllData(symbol)
Get all data for a symbol in one call
Parameters:
symbol (simple string) : The ticker symbol
Returns:
getVersion()
Returns library version and last update timestamp
Returns: string with version info
PA Bar Count (First Edition)This script is written by FanFan.
It is designed to count price action bars and identify the bar number in a sequence.
The script helps traders track bar structure and improve PA analysis.
Premarket High/Low (Today + Yesterday)Plots Premarket High and Low (04:00–09:30 ET) for the current day and previous day.
Designed for intraday traders who use premarket structure as key levels.
Helicopter Seed Jesus IndicatorTrend reversal tends to follow bands of logarithmic decay indicated by orange blocks.
HARSI RSI Shadow SHORT Strategy M1HARSI – Heikin Ashi RSI Shadow Indicator
HARSI (Heikin Ashi RSI Shadow) is a momentum-based oscillator that combines the concept of Heikin Ashi smoothing with the Relative Strength Index (RSI) to reduce market noise and highlight short-term trend strength.
Instead of plotting traditional price candles, HARSI transforms RSI values into a zero-centered oscillator (RSI − 50), allowing traders to clearly identify bullish and bearish momentum around the median line. The smoothing mechanism inspired by Heikin Ashi candles helps filter out false signals, making the indicator especially effective on lower timeframes such as M1.
The RSI Shadow reacts quickly to momentum shifts while maintaining smooth transitions, which makes it suitable for scalping and intraday trading. Key threshold levels (such as ±20 and ±30) can be used to detect momentum expansion, exhaustion, and potential continuation setups.
Breakout Alert Pro + VWAPAdvanced breakout/breakdown indicator featuring multi-pattern detection, quality tier scoring (S/A/B/C), strength analysis (0-10), VWAP integration, multi-timeframe filters, and adaptive R-based take-profit/stop-loss framework. Includes comprehensive dashboard with real-time metrics and market regime detection.
Global PMI CycleGlobal business-cycle proxy derived from PMI/ISM dynamics, designed to contextualise macro regimes alongside Bitcoin and risk assets.
BTC Log Regression BTC Log Regression. This shows the peaks and troughs of BTC (or any exponentially growing asset) touching the top and bottom of a channel. You can use this to help decide if BTC is going to top or bottom in the medium term.






















