Minervini Template + Powerplay detectorMinervini Template + PowerPlay Detector
This indicator implements a rule-based Minervini trend template to identify stocks in strong, institutionally supported uptrends, combined with a Power Play momentum detector for explosive leadership moves.
Minervini Model (MM) Rules
The MM dashboard turns GREEN only when all of the following rules are met:
Close ≥ 150-day SMA
Close ≥ 200-day SMA
50-day SMA > 150-day SMA
50-day SMA > 200-day SMA
150-day SMA ≥ 200-day SMA
200-day SMA is rising (current value higher than ~1 month ago)
Close is at least 30% above the 52-week low
Close is within 25% of the 52-week high
Close is not more than 8% below the 50-day SMA
These rules ensure:
Proper long-term trend structure
Institutional accumulation alignment
Strength near highs, not extended weakness
When MM is red, hovering over it shows exactly which rules failed, allowing quick diagnosis of why a stock does not qualify.
POWERPLAY Logic
POWERPLAY highlights rare, high-velocity leadership moves:
Triggers when a stock gains 90% or more within any rolling window of up to 60 trading sessions
Remains active as long as the condition continues to hold
Hover tooltip displays:
Start date of the move
Current date
Total percentage gain so far
This captures fast institutional momentum, even if the move occurs in fewer than 60 sessions.
Dashboard Features
Moveable to any corner of the chart
Adjustable size
Adjustable opacity
Designed for trend followers and momentum traders seeking true market leaders, not short-term noise or late-stage breakouts.
Analisis Tren
BigLot Quantum SuperTrend V1BigLot Quantum SuperTrend V1 is a trend-following indicator that enhances the traditional SuperTrend by integrating statistical volume analysis.
The script combines an ATR-based SuperTrend engine with Kernel Density Estimation (KDE) applied to relative buy and sell volume. Volume behavior is modeled statistically, allowing the indicator to filter breakout signals and activate only when volume conditions show high probability compared to historical data.
Bullish and bearish signals are generated when price crosses the SuperTrend line and the corresponding volume probability exceeds a user-defined threshold. This approach helps reduce false signals during low-liquidity or sideways market conditions.
The script includes visual trend highlighting, probability-based confidence filtering, and a real-time dashboard displaying trend direction, volume strength, and signal status. It is designed to work across all markets and timeframes without repainting.
RSI Divergences KittenRSI Divergences + Adjustable RSI σ-Bands + Band Pierce Signals (with optional US weekend filter)
Description:
This indicator combines three RSI tools into one clean workflow:
1. RSI σ-Bands (mean ± k·σ)
It builds dynamic upper/lower bands around RSI using a moving mean and standard deviation. These bands adapt to regime changes (expanding in volatile periods, contracting in quiet periods). Bands can be clipped to RSI’s natural 0–100 range and optionally filled for readability.
2. Band “Pierce” Signals
It prints a marker when RSI crosses outside the upper band (overextension) or outside the lower band (underextension). These pierces are useful as timing signals for mean-reversion setups, especially when you expect price to revert back toward a reference mean (e.g., VWAP). Optional “re-entry” markers show when RSI crosses back inside the bands.
3. Proper RSI Divergences (Regular + Hidden)
Divergences are detected using RSI pivots (not price pivots). At each RSI pivot, the script samples the corresponding price high/low on that pivot bar and compares it to the previous pivot within a configurable bar-distance window.
• Bullish divergence: price lower low + RSI higher low
• Hidden bullish: price higher low + RSI lower low
• Bearish divergence: price higher high + RSI lower high
• Hidden bearish: price lower high + RSI higher high
Line width is configurable for visibility.
Manual Band Adjustment (Near-Miss Control):
If your best reversals “nearly” tag the band, you can manually tune sensitivity without rewriting the math:
• Band offset (RSI points): nudges trigger levels
• Band width scale: tightens/widens the σ-band envelope
US Weekend Filter (Optional):
You can optionally suppress pierce/divergence signals during US weekend hours (Fri 17:00 ET → Sun 17:00 ET) and optionally shade those periods to help isolate low-liquidity behavior.
Notes / Intended Use:
This is designed as a mean-reversion timing tool, not a standalone trading system. For best results, combine signals with a market “mean” (e.g., rolling VWAP) and basic risk controls.
TRS (Trend Readiness System)TRS – Trend Readiness System
TRS (Trend Readiness System) is a trend-aligned trading framework designed to help you identify stocks that are becoming ready for entry , not just those already breaking out.
Instead of producing noisy buy/sell signals, TRS evaluates trend quality, pullback structure, momentum rebuilding, and market context , and converts them into clear scores, states, and timing awareness — both on the chart and inside the TradingView Screener.
---
Core Philosophy
Strong trends don’t start at the breakout — they start when conditions quietly align.
TRS focuses on:
• Primary trend alignment
• Healthy pullbacks above long-term support
• Early momentum recovery
• Market regime confirmation
• Entry timing (fresh vs late)
---
What TRS Measures
1. Setup Score (Trend Quality)
Answers the question: “Is this stock structurally worth watching?”
Based on:
• Price position relative to MA150
• Long-term trend direction
• Higher-low structure
• Distance from MA150 (overextension control)
• Market regime (bullish / bearish)
---
2. Entry Score (Timing Quality)
Answers the question: “Is the timing right — or still early?”
Based on:
• Short and mid-term moving averages
• Pullback behavior
• Momentum stabilization
• Volume confirmation
---
3. General Score
A combined readiness score used for ranking in the TradingView Screener:
General Score = Setup Score + Entry Score
---
Entry State Tracking (Key Feature)
TRS tracks the full entry lifecycle , not just signals:
• Valid Entry
• Pending Entry (almost ready)
• Bars Since Valid Entry
• Entry Window (Fresh / Expired)
• Entry Still Valid (Yes / No)
This helps avoid chasing late or already-played setups.
---
Market Regime Filter
Signals automatically adapt to overall market conditions:
• Market trend confirmation (e.g. SPY / QQQ)
• Reduced false signals during weak markets
• Clear explanation when setups are blocked
---
Visual Dashboard (Optional)
The on-chart dashboard can display:
• General Score
• Market state
• Setup quality
• Entry status
• Entry window
• Bars since entry
• Blocking reason (if any)
You can switch between:
• Minimal mode – essential info only
• Full table mode – detailed diagnostics
---
Screener Integration
TRS exposes clean numeric outputs for the TradingView Pine Screener:
• Setup Score
• Entry Score
• General Score
• Pending Entry (1 / 0)
• Valid Entry (1 / 0)
• Bars Since Valid Entry
• Market Bullish (1 / 0)
Example Screener Filters:
• Setup Score ≥ 50
• Pending Entry = 1
• Bars Since Valid Entry ≤ 3
• Market Bullish = 1
---
How to Use TRS (Daily Routine)
Step 1 – Scan
• Look for high Setup Score
• Prefer Pending Entry = 1
Step 2 – Review
• Confirm pullback quality
• Check MA150 support
• Observe momentum rebuilding
Step 3 – Act
• Enter only on Valid Entry
• Avoid expired entry windows
• Skip setups blocked by market regime
---
What TRS Is NOT
• Not a breakout chaser
• Not a day-trading system
• Not signal spam
TRS is a decision-support system for swing and position traders who value structure, context, and timing.
---
Best Used On
• Daily timeframe (1D)
• Liquid stocks & ETFs
• Trend-following strategies
• Portfolio-level screening
---
RSI Divergence Indicator (Fixed RSI Color + MTF Table)This script combines a classic RSI divergence indicator with a multi–timeframe RSI dashboard.
Main features:
Detects and plots:
Regular bullish & bearish RSI divergence
Hidden bullish & hidden bearish RSI divergence
Dynamic RSI line color:
Green in strong bullish zone
Red in strong bearish zone
Yellow in neutral zone
Standard RSI levels:
70 / 30 overbought–oversold
50 midline with highlighted band
MTF RSI table:
Compact RSI dashboard on the right side of the chart
Timeframes: 1m, 5m, 15m, 30m, 1h, 4h, 8h, 12h, 1D (each can be turned on/off)
Background color highlights extreme RSI:
Red / orange for overbought
Lime for oversold
This tool is designed to help traders quickly see divergence signals on the current chart while also monitoring RSI conditions across multiple timeframes in one place.
As Good As It Gets Pivot Arrows [NPR21]As Good As It Gets Pivot Triangles
Description:
This indicator is a precise replica of the popular Thinkorswim (TOS) "AsGood_HighLowPointPivot_Arrows" script, tweaked by now fully adapted for TradingView Pine Script v6.
It plots clean, small green upward triangles below confirmed pivot lows (buy signals) and red downward triangles above confirmed pivot highs (sell signals). The pivot detection logic is identical to the original TOS script, ensuring the same number and placement of signals. The indicator also includes an optional toggle for white pivot dots (matching the TOS points style).
Features:
Exact replication of TOS pivot logic (left/right strength confirmation)
Small, clean triangles (no text, no clutter)
Brighter green for buy triangles
Toggle for showing/hiding pivot dots
Ignore last bar option (default on)
How to Use:
Add the indicator to your chart.
Adjust the Pivot Length (default 7) to match your timeframe preference (shorter = more signals, longer = fewer).
Use the green upward triangles below price as buy signals (potential bottoms/reversals).
Use the red downward triangles above price as sell signals (potential tops/reversals).
Enable "Show Pivot Dots" if you want the white confirmation points (like TOS).
Use in conjunction with your existing trend, support/resistance, or volume tools for confirmation.
Malama's Quantum Fusion Malama's Quantum Fusion is a unified trading system that integrates swing-based probability zones, multi-timeframe trend confirmation, and a reversal signal engine into a single indicator.
Differences from "Malama's Quantum Swing Modulator" (Why this is a new script): While this script utilizes the probability zone logic from my previous "Quantum Swing Modulator" (MQSM), it represents a distinct evolution in functionality:
From Analysis to Signals: MQSM was a passive analysis tool for visualizing zones. This script (MQF) adds an active Reversal Signal Engine that generates specific "BUY/SELL" diamond signals based on candle patterns and confluence.
Trend Cloud & Structure: MQF introduces a Dual-Supertrend Cloud and Fast/Slow EMA structure to filter trades, features not present in the original oscillator-based tool.
Automated Confluence: Unlike the previous tool which required manual interpretation, MQF mathematically fuses the Zone Score, Trend Cloud, and Volume analysis to filter false positives automatically.
How it Works: The system relies on a "Confluence of Three" approach:
The Context (Uncertainty Zones): Using ATR bands and Pivot Points, the script identifies where price is statistically likely to reverse (Overextended).
The Trend (Cloud & MTF): A dual Supertrend cloud (Fast & Slow) visualizes the immediate trend direction. Optional Multi-Timeframe (MTF) logic checks higher timeframe alignment.
The Trigger (Signal Engine): A valid signal is generated only when a specific reversal candle pattern occurs coincident with the trend direction and (optionally) within a high-probability zone.
Key Features:
Dynamic Dashboard: Displays real-time Regime (Trending vs. Choppy via ADX), Support/Resistance Probabilities, and MTF status.
Visual Signals: Plots Diamond labels with Stop Loss and 2:1 Take Profit targets.
Regime Detection: Automatically adjusts oscillator weighting based on whether the market is Trending or Ranging (ADX Filter).
Settings:
Signal Filters: You can toggle specific filters (Volume Spike, Cloud Alignment, Zone Proximity) to make the script more aggressive or conservative.
MTF: Enable/Disable Auto-MTF selection to filter noise using higher timeframe trends.
Visuals: Fully customizable colors for the Cloud, Zones, and Dashboard.
Session Breakout TrackerThis indicator identifies breakout opportunities when price breaks previous session ranges, tracking 4 distinct breakout chains:
Asia → London (Primary Asia breakout during London session)
London → NY (London breakout during NY session)
NY → Asia (NY breakout during next Asia session)
Asia → NY* (Fallback Asia breakout during NY if Chain 1 had no breakout)
For each breakout, it measures the maximum distance price travels before hitting your defined stop-loss, providing exact pip/point calculations.
Features :
Automatic session detection (Asia: 18:00-03:00, London: 03:00-12:00, NY: 12:00-18:00 NYT)
Complete session range tracking - high/low for each session
Session level plotting with adjustable transparency
User Inputs :
Adjustable pip multiplier (0.0001 for Forex, 0.01 for JPY pairs)
Customizable stop-loss distance in pips
Toggle labels/table/session levels independently
Adjustable session duration for optimizing strategies and back testing
BTC - AUI 1: Macro Sentiment & On-Chain CompositeBTC - AUI 1: Macro Sentiment & On-Chain Composite | RM
Overview & Philosophy The AUI 1 ( Another Ultimate Indicator, Volume 1 ) is a 10-pillar quantitative composite designed to solve the "noise problem" in Bitcoin analysis. Most traders fail because they rely on a single metric in isolation. The AUI 1 aggregates ten distinct dimensions of the network — from speculative flow to institutional extension — into a singular 0–100 score.
The 10-Pillar Quant Framework
Each pillar is mathematically normalized to a standardized 0 to 10 scale . The sum of these pillars creates the final 0–100 index:
1. BEAM (Adaptive Logarithmic Multiple)
• Method: Log-deviation from the 4-year cycle mean.
• Logic: Measures price distance from its fundamental growth curve.
(Credit: BitcoinEcon)
2. MVRV Z-Score (Statistical Distance)
• Method: Standard deviations between Market Cap and Realized Cap.
• Logic: Identifies historical "Fair Value" vs. "Bubble" extremes.
(Credit: M. Mahmudov & D. Puell)
3. Metcalfe’s Law (Network Utility)
• Method: Logarithmic scaling of Active Addresses.
• Logic: Ensures price growth is supported by actual user adoption.
(Credit: T. Peterson)
4. RHODL Proxy (Speculative Flow)
• Method: Supply rotation intensity between HODLers and New Money.
• Logic: Cycle peaks are defined by "Old Money" distributing to "New Money."
(Credit: Philip Swift)
5. AXIS Momentum (Structural Trend Intensity)
• Method: Dual-speed Rate of Change (RoC) fusion engine.
• Logic: Identifies the acceleration and "torque" of the macro trend.
(Credit: Rob_Maths)
6. Mayer Multiple (Institutional Extension)
• Method: Raw distance from the 200-day SMA.
• Logic: Tracks the primary anchor used by institutional mean-reversion desks.
(Credit: Trace Mayer)
7. Unrealized Profit (Financial Pressure)
• Method: Absolute MVRV Ratio mapping.
• Logic: Measures the financial "stress" or "greed" held by the average holder.
8. Retail Participation (Psychology Proxy)
• Method: Inverted Log-Average Transaction Size (USD).
• Logic: Declining transaction sizes historically signal retail FOMO (Euphoria).
9. Volatility Overextension (Structural Risk)
• Method: 30-day Standard Deviation relative to the mean.
• Logic: High-intensity volatility clusters often precede cycle trend-shifts.
10. Macro RSI (Cycle Maturity)
• Method: High-timeframe momentum saturation levels.
• Logic: Identifies the statistical "Buying Exhaustion" of a macro move.
(Credit: J. Welles Wilder Jr.)
How to Read the AXIS Quadrants
The AUI 1 uses a Seamless Heatmap to categorize the market into four specific macro regimes:
❄️ 0–25: FROZEN (Deep Blue) Maximum Opportunity. Structural capitulation where only long-term conviction remains. Historically the "Generational Wealth" window.
🔵 25–50: DISCOUNT (Light Blue to Gray) Value Accumulation. The market is cooling down; risk is mathematically low, and the network is building a structural floor.
🟠 50–75: EXPANSION (Gray to Orange) Trend Acceleration. Healthy bullish growth supported by network utility and positive momentum.
🔥 75–100: SCORCHED (Orange to Deep Red) Terminal Euphoria. Maximum Risk zone. Speculative FOMO is at its peak; the market is fundamentally overextended.
The Orange Signal Line
To filter short-term noise, the AUI 1 includes a Signal Smoothing Line (Parametrizable).
• Cycle Confirmation: Index Bars crossing above the Signal Line indicates trend acceleration.
• Peak Confirmation: If the Index Score rolls over and breaks below the Signal Line while in the SCORCHED zone, the cycle peak is likely confirmed.
Credits & Data Built by Rob_Maths (2025) using on-chain frameworks from Glassnode and IntoTheBlock. Special recognition to the pioneers: Murad Mahmudov, David Puell, Philip Swift, Trace Mayer, and Timothy Peterson.
Strategic Recommendation: For the most accurate macro cycle signals and to filter daily market noise, it is strongly recommended to use this indicator on the Weekly (1W) timeframe.
⚠️ Data Requirement Note: This quantitative composite utilizes professional on-chain data feeds, specifically GLASSNODE:BTC_ACTIVEADDRESSES , GLASSNODE:BTC_ACTIVE1Y , and INTOTHEBLOCK:BTC_MVRV . A TradingView paid plan (Essential or higher) may be required to access these institutional data streams.
Disclaimer This script is for macro-economic research purposes. It is a probabilistic model, not a crystal ball. Past performance is not a guarantee of future results.
Tags:
bitcoin, btc, on-chain, macro, composite, mvrv, rhodl, momentum, index, valuation, active-addresses, cycles, sentiment, risk, AUI, Rob Maths
Dynamic EMA Trend Table [Customizable]Overview
The Dynamic EMA Trend Table is a comprehensive dashboard designed to give traders an instant overview of the market trend across five distinct Exponential Moving Averages (EMAs). Instead of cluttering your chart with multiple lines, this script organizes the data into a clean, customizable table, allowing you to assess trend alignment at a glance.
How It Works
This indicator calculates five user-defined EMAs (defaulting to the popular 5, 20, 50, 100, and 200 periods). It then compares the Current Price against each EMA value to determine the immediate trend status:
Bullish State: When the current price is above the specific EMA, the table cell turns Green (customizable).
Bearish State: When the current price is below the specific EMA, the table cell turns Red (customizable).
This logic allows swing traders and scalpers to instantly see if the asset is in a strong uptrend (all cells Green), a strong downtrend (all cells Red), or a consolidation phase (mixed colors).
Key Features
Fully Customizable Periods: Change the length of all 5 EMAs to fit your specific strategy (e.g., Fibonacci numbers or standard Swing Trading settings).
Dynamic UI: Position the table anywhere on the screen (Top/Bottom/Left/Right) and adjust the size to fit your screen resolution.
Visual Cleanliness: You can choose to show the table only, or toggle the "Show EMAs on Chart" option to plot the actual lines on your chart.
Smart Coloring: The lines on the chart (if enabled) inherit the same color logic as the table—turning Green when price is above them and Red when price is below.
Settings & Configuration
Price Source: Select Close, High, Low, etc. (Default is Close).
Table Position & Size: Customize where the dashboard appears.
EMA Lengths: Set your 5 preferred lookback periods.
Color Theme: Fully adjustable colors for Bullish, Bearish, Neutral, and Background elements to match your chart theme (Dark/Light mode friendly).
Use Case Example
Trend Confirmation: A trader looking for a "Buy" entry might wait for the short-term EMAs (5 and 20) and the medium-term EMA (50) to all turn Green in the table before entering.
Support/Resistance Watch: By quickly glancing at the values in the table, you can see exactly where the 200 EMA sits without needing to scroll back on your chart to find the line.
Pre-Market + Daily + Weekly REGULAR HOURS 📦 Pre-Market + Daily + Weekly RTH Range Boxes
This indicator automatically plots Pre-Market, Daily, and Weekly range boxes based strictly on US Regular Trading Hours (RTH).
What it does:
Pre-Market Box (04:00–09:30)
Captures the full pre-market high and low, then projects the range forward from the RTH open.
Daily RTH Box (09:30–16:00)
Tracks the previous day’s regular session high and low and plots the range starting at 04:00 AM the next day.
Weekly RTH Box (Mon–Fri, 09:30–16:00)
Accumulates the full weekly RTH range and plots it at 04:00 AM on Monday.
King Trade 4-hour buy/sell strategyThis is a buy/sell system for 4-hour candlestick charts. For best results, use it on Heiken Ashi candlestick charts.
NeuroPolynomial ChannelNeuroPolynomial Channel is a structure-oriented price channel designed to model price curvature, balance, and realized deviation using recursive non-linear smoothing.
Rather than relying on standard moving averages or statistical volatility assumptions, the indicator separates structure estimation from deviation measurement, allowing each to adapt independently.
Structural Core (Recursive Curvature Line)
The centerline is generated using a recursive smoothing process with controlled curvature.
By blending current price with historical estimates and introducing a curvature term, the line forms a non-linear structural path that adapts gradually to changing market conditions.
This approach emphasizes:
Structural continuity over short-term noise
Gradual regime transitions instead of abrupt shifts
User-controlled responsiveness via curvature and blending parameters
The result is a centerline that reflects price structure, not just short-term averages.
Deviation Field (Adaptive Bands)
Channel width is derived from the observed absolute deviation between price and the structural core.
Instead of assuming a normal distribution, deviation is measured directly from realized price behavior and expressed through multiple band layers:
Inner structure boundary
Intermediate deviation zone (optional)
Outer deviation boundary (optional)
As price behavior changes, the deviation field expands or contracts organically, providing a contextual view of compression, balance, and expansion.
Interpretation Framework
Balance & Control
Persistent acceptance on one side of the structural core reflects directional control.
Compression
Narrow deviation bands signal reduced realized movement and potential energy buildup.
Expansion
Widening bands indicate increasing deviation and active range development.
..................................................................................................................
The indicator is intended for contextual interpretation, not mechanical signal generation.
Configuration
Length – Structural memory depth
Morph Factor – Degree of historical blending
Flatten Factor – Curvature sensitivity control
Deviation Multipliers – Band spacing
Visual Controls – Theme and candle tinting
Notes:
Deviation is derived from realized price movement and adapts gradually.
Recursive calculations initialize from available chart history.
This tool does not forecast future prices.
Disclaimer:
This indicator is provided for analytical and educational purposes only.
It does not constitute financial advice or a trading recommendation.
CAHOLD / CBLOHDCAHOLD (Close Above Highest Low Day) and CBLOHD (Close Below Lowest High Day)
The logic is based on identifying pullbacks followed by strength in the direction of the trend, making it useful as a trend-continuation entry signal rather than a reversal tool.
⸻
How CAHOLD Works (Bullish)
1. A sequence of red candles forms (a pullback).
2. The first green candle appears.
3. The script identifies the highest high of the prior red-candle sequence (HOLD).
4. A CAHOLD signal triggers when a green candle closes above that HOLD level.
5. A small green arrow is plotted below the candle.
⸻
How CBLOHD Works (Bearish)
1. A sequence of green candles forms (a bounce).
2. The first red candle appears.
3. The script identifies the lowest low of the prior green-candle sequence (LOHD).
4. A CBLOHD signal triggers when a red candle closes below that LOHD level.
5. A small red arrow is plotted above the candle.
⸻
Optional Filters
• EMA / SMA Trend Filter
Only shows CAHOLDs in uptrends and CBLOHDs in downtrends.
• Minimum Pullback Depth
Requires a minimum number of red/green candles before a signal can trigger.
• ATR Breakout Filter
Requires price to break the level by a volatility-adjusted amount.
SB A / A++ ALERT ENGINE (Alerts Only)SB A / A++ Alert Engine
Session-Based Level Rejection Strategy (Automation-Ready)
Overview
The SB A / A++ Alert Engine is a rules-based TradingView indicator designed to identify high-probability institutional-style reversal trades using Stacey Burke–inspired concepts such as previous day levels, session structure, opening ranges, and round numbers.
This tool is alerts-only by design, making it ideal for:
TradingView alerts
Webhook automation
Telegram / Discord signal delivery
External trade execution systems
It does not repaint and evaluates signals on confirmed bar close only.
---
Core Trading Idea
Price frequently reacts at important reference levels during active trading sessions.
This script looks for rejection + confirmation at those levels and grades setups based on confluence and candle quality.
Only A-grade and A++-grade setups are alerted.
---
What the Script Detects
📌 Key Levels (Confluence Engine)
Previous Day High / Low
Initial Balance (Mon–Tue range, active Wed–Fri)
Session Opening Range (first hour of London / NY)
Round Numbers (configurable tick spacing)
Each level touched contributes to confluence — without double-counting the same zone.
---
🕒 Session Control
Signals are only allowed during:
London Session
New York Session
Includes:
Session resets
Max alerts per session
Cooldown between signals
---
🔎 Candle Confirmation
Valid signals require clear rejection behavior, such as:
Bullish / Bearish Engulfing candle
Strong Pin Bar (wick ≥ 2× body)
---
🧠 Trade Grades
A Trade
Valid session
ATR percentile filter passed
≥ 1 level of confluence
Directional rejection
A++ Trade
All A-Trade rules
Strong confirmation candle (engulf or pin)
≥ 2 independent confluence zones
Grades are displayed visually and included in alert payloads.
---
📊 Volatility Filter (ATR Percentile)
Instead of fixed ATR thresholds, the script uses an ATR percentile rank, ensuring trades only trigger when volatility is above normal for that market.
This adapts automatically across:
Forex
Indices
Futures
Crypto
---
Visual Output
▲ Green / Lime triangles → LONG (A / A++)
▼ Orange / Red triangles → SHORT (A / A++)
Color intensity reflects trade grade
Optional session shading (if enabled)
---
Alerts & Automation
All alerts are webhook-ready and structured for automation.
Each alert includes:
Symbol
Timeframe
Direction (LONG / SHORT)
Trade grade (A or A++)
Confluence count
Entry price (close of signal bar)
Designed to integrate with:
Telegram bots
Trade execution bridges
Risk management engines
---
What This Script Is (and Is Not)
✅ IS
A high-quality signal engine
Non-repainting
Automation-friendly
Institutional level-based logic
❌ IS NOT
A scalping indicator
A prediction tool
A “trade every candle” system
This tool favors patience, structure, and quality over frequency.
---
Recommended Usage
Timeframes: M5 – M15
Best markets: FX majors, indices, liquid crypto
Combine with your own execution, risk, and trade management rules
---
⚠️ Disclaimer
This script is for educational and informational purposes only. It does not constitute financial advice. Always test on demo or paper trading before using live capital.
Daily candle separation + NY open + First hour open Daily candle separation + NY open + First hour open
Malama's Pre-Market BoxThis script is a comprehensive Pre-Market range visualizer designed to replace older, single-candle analysis tools. It automatically highlights the full pre-market session (04:00–09:30 EST) and extends key support/resistance levels into the regular trading day.
Why this script was created (Evolution from previous versions): This is a complete architectural rewrite of the older "Malama's KAYCAP Pre-Market Box."
Old Logic: The previous version focused on isolating a single, specific 1-minute candle (e.g., exactly 4:00 AM) to determine levels.
New Logic: This version tracks the entire pre-market session range. It dynamically updates the True High and True Low as the pre-market develops, providing a much more accurate support/resistance zone for the open.
Visual Overhaul: Instead of static plots, this version uses Pine Script v6 box and line objects to draw a clean, shading-customizable range that automatically extends rightward until the trading session ends.
How it works:
Session Tracking: The script monitors the user-defined session (default 04:00-09:30).
Dynamic Box: As price moves during pre-market, a box is drawn covering the highest high and lowest low of that period.
Level Extension: At 09:30 (Market Open), the script locks the High and Low values. It then projects two horizontal lines (Resistance and Support) across the chart for the rest of the day.
Breakout Detection: If the price closes outside these levels during regular hours, the script can optionally trigger Alerts and plot "BREAK" labels on the chart.
Settings:
Time Settings: Customizable session string (default captures standard US Pre-Market).
Visuals: Fully adjustable box colors, border transparency, and line width.
Signals: Toggle breakout labels on/off.
Alerts Included:
Bullish Breakout: Triggers when price crosses and closes above the Pre-Market High.
Bearish Breakdown: Triggers when price crosses and closes below the Pre-Market Low.
Monday Range - User Defined LookbackEnglish Description
Monday Range Expansion & Multi-Week Projections
This indicator identifies the Monday Range (the price action from Monday's open at 00:00) and projects symmetric expansion levels across the entire trading week. It is designed for traders who use the weekly open and Monday's volatility as a benchmark for the week's price action.
Key Features:
Exact Monday 00:00 Start: Using advanced logic, the indicator pins the starting point precisely to the weekly open (Monday 00:00), ensuring no lag or offset regardless of your timeframe.
Symmetric Expansion Levels: It calculates the Monday High-Low range and projects a +100%, +50%, -50%, and -100% expansion, providing clear support and resistance targets.
User-Defined Lookback: You can choose exactly how many past weeks to display on your chart, keeping your workspace clean and focused.
Force Overlay Technology: All lines and labels use force_overlay, ensuring they always stay on the top layer, above candles and other indicators.
Weekly Freeze: Historical weeks stay "frozen" at their Friday closing points, allowing for clear backtesting of previous weekly levels.
Trend Consensus Engine [TCE]The Trend Consensus Engine (TCE) is a comprehensive market analysis system designed to filter out noise and provide a quantifiable "Trend Score" (0-100). Instead of relying on a single indicator, this script aggregates data from multiple market factors—volatility, momentum, and trend structure—to generate high-probability entry signals based on a consensus logic.
This tool is particularly optimized for Crypto (with specific time-gated logic) and BIST (Borsa Istanbul) markets, allowing traders to see the overall health of the trend at a glance via a dashboard.
How It Works
The engine calculates a composite "Total Score" (0-100) derived from four weighted components:
Trend Structure (AlphaTrend & Guppy):
Analyzes the slope and position relative to the AlphaTrend (Credit to @KivancOzbilgic) and Guppy Multiple Moving Averages (GMMA).
Positive slopes and price action above key levels add points to the score.
Volatility & Momentum (Squeeze & ADX):
Incorporates the Squeeze Momentum logic (Credit to @LazyBear) to detect explosive moves.
ADX Filter: Filters out chopping/ranging markets. If the ADX is too low, the score is penalized or the signal is blocked.
Dynamic Resistance (MA Channels):
Uses a combination of Donchian Mid-Lines and SMAs to determine if the price is in a "safe zone" or hitting resistance.
Price Action Filters (Pinbar Veto):
Automatically detects bearish "Shooting Star" or weak candles at highs. If a bearish pinbar is detected, the entry signal is vetoed regardless of the trend score.
Features & Settings
Smart Scoring Dashboard: Displays the realtime Score, Instant Decision, and confirmed Close Decision on the chart.
Market Profiles:
Crypto Mode: Includes a "Time Gate" feature (07:00 UTC+3 check) to prevent fakeouts during low-liquidity hours.
BIST Mode: Optimized parameters for the Turkish stock market logic (14:00 session checks).
Score Threshold: Users can adjust the minimum score required (Default: 70) to trigger a "BUY" signal.
Visual Guidance: The background of the dashboard changes color (Green/Red/Yellow) based on the consensus.
How to Use
Check the Dashboard: Look at the "SONUÇ" (Result) row.
GİRİŞ ✅ (ENTRY): The Score is above 70, Momentum is positive, and no Bearish Pinbars are present.
BEKLE ⏳ (WAIT): The trend is weak, or a filter (like ADX or Squeeze) is blocking the trade.
Confirm with Price Action: Use the AlphaTrend lines (Blue/Red) as dynamic support/stop-loss levels.
Credits:
AlphaTrend by KivancOzbilgic
Squeeze Momentum Indicator by LazyBear
VuManChu Cipher concepts for inspiration.
Custom Logic: Scoring algorithm and Time-Gating mechanisms are original custom developments.
Disclaimer: This tool is for educational purposes only and does not constitute financial advice.
Investment Analysis Bar v2What It Does
A comprehensive analysis bar combining fundamental metrics with technical signals, designed for long-term investors who prioritize quality over momentum.
Core Philosophy: Quality companies trading below their 200 EMA in accumulation zones = opportunities, not warnings.
Tier 1 Bar Metrics
Margins: GM, OM, NIM, FCF Margin
Returns: ROCE, ROE
Growth: Revenue YoY, EPS YoY
Valuation: PE TTM, Forward PE, PEG
Zone: Accumulate / Hold / Trim / Exit
Signal: PRIME / BUY / TRIM / SELL / NEUTRAL
Performance: 1W to 1Y returns
Two Strategy Modes
Value Accumulator (Default) - For long-term position building. Treats below-200-EMA as an opportunity when fundamentals are intact. PRIME signals require: RSI bounce + Volume + Accumulate Zone + All Quality Gates Pass + Below 200 EMA.
Trend Follower - Traditional momentum approach. Prefers entries above 200 EMA.
Quality Gates System
Four fundamental checkpoints:
Gross Margin ≥ 40%
ROCE ≥ 15%
Debt/Equity ≤ 50%
SBC/Revenue ≤ 15%
Strong signals require quality confirmation. PRIME signals require ALL gates to pass.
Zone System
Three calculation methods:
52W Range: Accumulate in bottom 25%, Trim in top 25%
Manual Levels: Set your own price targets
ATR-Based: Dynamic zones from EMA ± ATR
Signal Hierarchy (Value Mode)
SignalMeaning
PRIME 💎Optimal entry - all conditions aligned
BUY 🔼Strong accumulation signal
BUY? ↗Decent entry, not ideal zone
ACCUM 🎯In accumulation zone, quality OK
WAIT ⏳Setup forming, no bounce yet
TRIM 📤Consider taking profits
Alerts Included
Zone transitions (Accumulate, Trim, Exit)
PRIME Entry Signal
Strong Buy / Sell signals
Quality Gate failures
Quality Accumulation Setup
Best Used On
US stocks with fundamental data available. Technical features work on all symbols.
Settings
Fully customizable:
Toggle each metric category
Adjust quality gate thresholds
Choose zone calculation method
Configure RSI/volume parameters
Position bar and panel anywhere
Pivot Levels [BigBeluga]🔵 OVERVIEW
The Pivot Levels indicator automatically detects and draws key market pivot levels across multiple sensitivity settings. Each pivot level represents a significant local high or low in price structure, acting as potential zones of support and resistance. Traders can visualize short-, medium-, and long-term pivot layers simultaneously, helping to identify where price may react, reverse, or break out.
🔵 CONCEPTS
Different pivot lengths provide multi-length sensitivity on the same timeframe — shorter lengths detect local micro-swings, while longer lengths capture broader swing structure within the current chart.
ATR-based color logic marks active, bullish, or bearish pivot zones dynamically.
Lines can extend to the right or both sides to track reactions over time.
🔵 FEATURES
Detects up to four custom pivot levels simultaneously.
Each pivot level has independent settings for length , style , and extension mode .
Auto-colors each pivot as support (green), resistance (orange), or active zone (blue).
Displays dual-width line layers: a solid base and a transparent overlay for visual depth.
Dynamic price labels show exact pivot levels for clarity.
Fully customizable line styles: dashed (--), solid (-), or dotted (..).
Extends lines to the right for future reaction tracking or both directions for structure alignment.
🔵 HOW TO USE
Enable or disable pivot levels (1–4) to control how many layers of structure you want visible.
Use shorter pivot lengths for intraday turning points and longer ones for macro structure.
Watch for multiple pivot lines clustering in the same region — these often mark strong reversal zones.
Observe color changes: green = support, orange = resistance, blue = active neutral zone.
Combine with price action or volume analysis to confirm reactions near major pivots.
🔵 CONCLUSION
The Pivot Levels indicator provides a clean, multi-layered visualization of market structure.
By tracking pivots of varying lengths, traders can easily identify overlapping support and resistance regions, gauge breakout strength, and align trades with the dominant structural zones visible across multiple time horizons.
Liquidity Void and Repair EngineLiquidity Void & Repair Engine
OVERVIEW
The Liquidity Void & Repair Engine is a high-fidelity institutional order flow tool designed to identify and track "Market Imbalances" or "Fair Value Gaps" (FVG). Unlike standard gap indicators that clutter the chart with every minor price jump, this engine uses Volatility-Adjusted Range Mapping to isolate high-conviction voids where price moved so rapidly that liquidity was left "unfilled."
The standout feature of this tool is its Active Repair Logic. The engine doesn't just draw static boxes; it monitors price action in real-time to determine when an imbalance has been "healed" by subsequent trading volume, providing a dynamic look at where the market has "unfinished business."
TECHNICAL LOGIC & ORIGINALITY
This script is published Open Source to contribute to the Pine Script community’s understanding of dynamic object management and order flow visualization.
ATR-Relative Filtering: To ensure only significant voids are plotted, the script uses a user-defined ATR (Average True Range) multiplier. This filters out market noise and focuses on institutional "impulse" moves.
Dynamic Box Management: Utilizing the Pine Script box array system, the script manages memory efficiently by updating existing objects rather than creating redundant ones.
The "Repair" Algorithm: The script tracks the high and low of every active void. When price action fully traverses the coordinates of a void, the script "seals" the box, visually marking the moment of liquidity equilibrium.
HOW TO USE
1. Identifying the "Magnet" (The Void)
When price moves aggressively, it leaves a "hole" in the auction.
Bullish Voids (Green): These represent areas where price surged so fast that buyers may still have unfilled orders sitting below. These act as Magnets for pullbacks.
Bearish Voids (Red): These represent areas where price plummeted, leaving a vacuum of selling pressure. These act as Magnets for relief rallies.
2. Trading the "Repair" Process
The Engine tracks how the market "repairs" these holes:
Partial Fill: If price enters a box but doesn't cross it, the "Magnet" is still active.
Full Repair: When a box is "sealed" (stops extending right), it indicates the imbalance is gone. If price "Seals" a green box and then bounces, it confirms the zone as Valid Institutional Support.
3. Confluence with the Trend
Continuation: In a strong uptrend, look for price to drop into a Green Bullish Void and find support. This is often the "Golden Entry" for trend followers.
Reversal Confirmation: If price ignores a Red Bearish Void and blasts right through it (sealing it instantly), it signals a massive shift in market regime and extreme bullish conviction.
USER SETTINGS
Lookback Period: How far back the engine searches for un-repaired gaps.
Min Gap Size (ATR %): Increase this to see only the "Major" institutional gaps; decrease it for a more granular intraday look.
Visual Styles: Fully customizable colors and transparency to match any chart theme (Dark/Light).
NOTES & DISCLAIMER
This script is a visualization of historical price imbalances and is intended for educational purposes only. It does not provide trade signals, entry/exit points, or financial advice. All trading involves risk.






















