NTL SCALP v2 with TP & SL (Absolute)🧠 NTL SCALP v2 with TP & SL (Absolute) – Smart Scalping Indicator
Author: NTL Team
Markets: Forex, Gold (XAUUSD), Crypto
Recommended Timeframes: 1–15 minutes (Optimal: M3, M5)
📌 Key Features:
Automatic BUY/SELL signals with clear entry points.
Displays TP1, TP2, TP3, TP4, and SL directly on the chart.
Win rate statistics panel showing hit rates for all targets.
Dynamic EMA bands to identify trend direction and key zones.
Noise filtering mechanism to avoid counter-trend entries.
Optimized for fast-paced scalping and precise reversal detection.
📊 Example:
Entry: BUY at 3376.72 → TP1 HIT, TP2 HIT, TP3 HIT...
Real-time win rate displayed: 97.1%
Total signals during session: 1274
⚙️ Customizable Settings:
TP and SL are calculated using absolute values (in price points).
Adjustable levels for SL and all 4 TPs to fit your strategy.
Easily integrated with alert systems or trading bots (EAs).
You can include the chart image as a reference to show its visual clarity and performance.
Let me know if you'd like me to help convert this into a Pine Script version or add more technical explanations.
Göstergeler ve stratejiler
Global M2 Money Supply (USD)Global M2 Money Supply from multiple markets, with days-offset option, defaulted to 107-day shift. Credit to miguelfinance and dylanleclair, on which this script is built on
RSI Trend RiderRSI Trend Rider is a long only, momentum-based trend-following strategy designed for rules based trading. It combines a setup of EMAs (20, 50, 200), RSI(4), ADX filtering, and a daily 120 EMA to capture high-probability long trades in trending markets.
Works best on intraday timeframes (2h, 4h)
Key Features:
Multi-timeframe trend confirmation (EMA alignment + daily EMA)
RSI(4) pullback entries in strong trends
ADX filter to avoid low-momentum conditions
Configurable fixed and EMA-based stop loss/target options
Built-in performance dashboard with key metrics like PnL, drawdown, win rate, and buy & hold comparison (can be turned off on mobile or small screens).
Customizable backtest period and risk settings
Ideal for traders looking for a simple, data-driven system that rides trends and compounds small, consistent wins.
Alerts v1This indicator provides a comprehensive approach to analyzing various aspects of the market by synthesizing multiple factors and presenting them in a format that aims to deliver useful insights to the user. Designed to accommodate a broad range of trading strategies and preferences, it dynamically processes inputs and applies a series of calculations whose underlying logic is both robust and adaptable, depending on market conditions. While certain visual cues and signals may be displayed at select intervals, the actual methodology may vary in its implementation across different assets or timeframes, ensuring a flexible application for diverse market environments. The indicator may at times integrate a combination of well-established techniques with proprietary elements to enhance its overall effectiveness, although the precise weighting or significance of each factor may not be readily apparent to the end user. In some cases, the tool might respond to a unique blend of momentum, trend, and volatility measures, producing outputs that could be interpreted in several ways depending on the broader context. Users are encouraged to experiment with its configurable settings, which are designed to adjust in subtle or pronounced ways according to individual preference and evolving market dynamics. Ultimately, the goal of this indicator is to offer a nuanced perspective that balances simplicity with sophistication, providing actionable information while leaving ample room for interpretation and adaptation. As with all analytical tools, results may differ based on how it is employed and what supplementary information is considered alongside its outputs, making it a versatile yet enigmatic component of any technical analysis toolkit.
Position Size Calculator ProPosition Size Calculator Pro is a professional risk management tool that helps traders calculate optimal position sizes based on their account size, risk tolerance, and trade setup. The indicator provides real-time calculations with interactive price lines and a comprehensive horizontal table display for quick decision-making.
✨ Key Features
Multiple Entry Modes: Current price, manual price, or interactive buy line
Flexible Stop Loss Options: LOD (Low of Day), manual price, percentage-based, or interactive stop line
Advanced Risk Calculations: Includes brokerage impact and adjusted risk metrics
Interactive Price Lines: Visual buy and stop loss lines with real-time updates
Horizontal Table Display: Compact 2-row table showing all critical metrics
Smart Color Coding: Visual feedback based on risk and allocation levels
Professional UI: Clean, modern interface with intuitive controls
Indian Market Ready: Optimized for Indian trading with ₹ currency display
🔧 Input Parameters
💰 Risk Management
Account Size (₹): Total trading capital (default: 10,00,000)
Risk per Trade (%): Maximum risk percentage per trade (default: 0.25%, range: 0.01-5%)
Brokerage (%): Combined buy and sell brokerage (default: 0.12%, range: 0-2%)
📊 Entry & Stop Loss
Entry Mode: Choose between Current Price, Manual Price, or Buy Line
Manual Entry Price: Custom entry price (when Manual Price selected)
Stop Loss Mode: LOD SL, Manual SL, Manual SL %, or SL Line
Manual Stop Loss: Custom stop loss price
SL Percentage (%): Percentage below entry for stop loss (default: 2%, range: 0.1-20%)
📈 Interactive Lines
Buy Line Price: Interactive buy line (click on chart to set)
Stop Loss Line: Interactive stop loss line (click on chart to set)
Show Lines: Toggle line visibility
🎨 Display Options
Show Table: Toggle calculation table visibility
Table Size: Adjustable from tiny to huge
Position: Top, middle, or bottom placement
Alignment: Left, center, or right alignment
Update Frequency: Real-time or bar close
📊 Calculation Methodology
Position Size Formula
Position Size = (Account Size × Risk %) ÷ (Adjusted Risk per Share)
Risk Calculations
Base Risk: |(Entry Price - Stop Loss)| ÷ Entry Price × 100
Adjusted Risk: Includes brokerage impact on both entry and exit
Risk Amount: Position Size × Base Risk per Share
Brokerage Impact
Entry with Brokerage: Entry Price × (1 + Brokerage% ÷ 200)
Exit with Brokerage: Stop Loss × (1 - Brokerage% ÷ 200)
🎮 How to Use
Basic Setup
Set your account size and risk percentage
Configure brokerage percentage according to your broker
Choose entry and stop loss modes
The calculator automatically updates position size
Interactive Lines Setup
⚠️ IMPORTANT: After selecting line modes, refresh the chart to ensure lines are visible
For Buy Line:
Select Entry Mode: "Buy Line"
Set "Buy Line Price" or leave 0 for current price
Refresh chart to see the green buy line
Adjust price by clicking on chart or changing input value
For Stop Loss Line:
Select Stop Loss Mode: "SL Line"
Set "Stop Loss Line" or leave 0 for current low
Refresh chart to see the red stop loss line
Adjust price by clicking on chart or changing input value
Table Information
The horizontal calculation table displays:
SL: Stop Loss price
Entry: Entry price level
Risk%: Adjusted risk percentage (with brokerage)
SL%: Base stop loss risk percentage
Cap%: Account risk percentage setting
Qty: Recommended quantity to buy
Investment: Total investment amount required
Alloc%: Portfolio allocation percentage
Risk ₹: Total risk amount in Rupees
Color Coding Guide
Green Values: Positive/profitable metrics
Red Values: Risk/loss related metrics
Orange Values: Warning levels (high risk/allocation)
Blue Headers: Table headers
Bright Green Line: Buy line with target icon
Bright Red Line: Stop loss line with shield icon
🚨 Alert Conditions
Built-in Alerts
High Allocation Warning: Triggers when position exceeds 20% of account
High Risk Warning: Triggers when stop loss risk exceeds 5%
Invalid Position: Triggers when calculation parameters are invalid
Setting Up Alerts
Click "Add Alert" on the chart
Select "Position Size Calculator Pro"
Choose desired alert condition
Configure notification settings
⚠️ Important Notes & Troubleshooting
Interactive Lines
Lines not visible? Refresh the chart after selecting line modes
Lines moving together? Each line operates independently - check you're adjusting the correct price input
Default behavior: Buy line starts at current price, Stop line starts at current low
Price = 0: Uses automatic defaults (current price/low)
Risk Disclaimers
This tool is for educational purposes only
Always verify calculations independently
Consider market conditions, gaps, and liquidity
Past performance doesn't guarantee future results
Technical Limitations
Interactive lines require chart refresh for initial visibility
Calculations update based on selected frequency
Maximum 10 lines and 10 labels on chart simultaneously
Best Practices
Always set realistic account size
Never risk more than you can afford to lose
Consider slippage and market gaps in volatile conditions
Review calculations before placing actual trades
Use appropriate position sizing for your trading strategy
Refresh chart when switching between line modes
🛠️ Technical Requirements
TradingView account (any tier)
Pine Script v6 compatibility
Modern browser for interactive features
Real-time or delayed data feed
📈 Performance Features
The script includes several optimizations:
Efficient calculation updates based on frequency setting
Smart memory management for line drawings
Conditional table updates to reduce resource usage
Optimized number formatting for better readability
🎯 Use Cases
Day Trading
Quick position sizing for intraday setups
Real-time risk assessment
Interactive line placement for entry/exit planning
Swing Trading
Portfolio allocation management
Multi-timeframe risk analysis
Position size optimization for longer holds
Investment Planning
Capital allocation for stock purchases
Risk-based position sizing
Long-term portfolio management
Disclaimer: This tool is for educational and informational purposes only. Trading involves substantial risk of loss and is not suitable for all investors. Always conduct your own research and consider seeking advice from qualified financial professionals.
Setup completo - YuriSetup completo - Yuri is a comprehensive trading tool that combines three powerful signal structures:
✅ 1. Volume-Based Reversal (2-candle pattern)
This setup looks for sharp reversals using just two candles:
BUY signal: Candle 1 has a higher low than Candle 2. Candle 2 must close bullish (green) and show volume above the 20-period average.
SELL signal: Candle 1 has a lower high than Candle 2. Candle 2 must close bearish (red) and show volume above average.
✅ 2. Setup 123 (3-candle pattern)
This is the classical reversal setup using 3 candles:
BUY signal: low < low , followed by a higher low and higher high on candle 3.
SELL signal: high > high , followed by a lower high and lower low on candle 3.
No requirement for volume or candle color on confirmation bar.
✅ 3. Ignition Bar
Highlights momentum bars that:
Are the largest in range among the last 20 candles
Have a body size ≥ 80% of the full range
Show clear direction (green for long, red for short)
Labels “LONG ↑” and “SHORT ↓” appear directly on the chart when this pattern is detected.
🔄 Optional Confluence Filters (for each setup)
You can activate two types of trend filters for both the Reversal and 123 patterns:
🔸 Simple Confluence:
BUY: Fast EMA > Short EMA
SELL: Fast EMA < Short EMA
🔸 Monster Confluence:
BUY: Any candle in the pattern has a low below the Medium or Long EMA, and Short EMA > Long EMA
SELL: Any candle has a high above the Medium or Long EMA, and Short EMA < Long EMA
📌 Features
Fully customizable signals
Four EMAs (Fast, Short, Medium, Long)
Optional confluence filters per setup
Visual plots of all valid signals
Ready-to-use alerts
Built for traders who want precision reversals combined with directional strength and trend validation.
Auto Fractal [theUltimator5]This indicator is what I call the Auto Fractal. It is a unique algorithm that looks back in time, finds a segment on the chart that closest matches the recent price action, then projects the price forwards. It effectively finds chart patterns and shows you what the price did the last time the same/similar chart pattern was observed.
Creating an algorithm to match abstract curves to other abstract curves and provide a confidence score was the fundamental problem that needed to be solved in order to create this indicator, which curve matches with surprising accuracy.
The most effective method to "curve match" that I found is the Pearson Coefficient, set by a segment length and a lookback period. After the highest coefficient curve is located, the curve then gets scaled and offset to match the current price.
The past segment is drawn over the current price (orange line), giving a visualization of the two curves and how closely they match each other. The indicator then projects the price forwards in time based on the price action of the chart from the historical segment (dashed fuchsia line).
A bounding box also gets drawn around the historical segment to give you a clear visual of where the price is getting pulled from for proper analysis and ease of use.
The Pearson Coefficient % is shown in a table in the top right-hand corner of the chart and can be toggled off if desired. The values range from -100% (perfectly inverse correlation) to +100% (perfectly correlated) with 0 meaning no correlation whatsoever. The closer to +100% the value is, the better the segment match.
As with most/all of my indicators, user interface and simplicity was at the top of my priority list. I designed this to be easily readable and intuitive to both novice and veteran traders, without cluttering the chart.
Note:
This indicator is extremely heavy in terms of memory usage due to nested for loops, and takes several seconds to initially load the chart overlay. If the lookback period is increased too high (>600) then the indicator may time out and fail to load anything. If nothing loads on the chart, try reducing the lookback length and wait up to 10 seconds for lines to appear.
AZRO Systems XRP Top/Bottom Indicator — Invite-Only (v1.0.3)AZRO Systems – XRP Top/Bottom Indicator — Invite-Only
VERSION v1.0.3 — first invite-only release
──────────────────────────────────────────────────────
WHAT IT DOES
• EARLY signal prints intra-bar when any of the multi-factor recipes is triggered.
• CONFIRMED signal prints after the weekly candle closes.
(If the Soft-Confirm filter is ON, a TOP must first pull back ≈30 % of ATR-90 before it can be confirmed.)
• Adds large green/red labels and a light bar-tint once confirmed.
• Historical testing shows materially lower draw-downs vs. passive holding while still capturing each macro upswing.
HOW IT WORKS (concept level – exact thresholds are locked)
1) Macro-Rotation Gauge – BTC-dominance extremes flag regime shifts that often precede alt-coin pivots.
2) Asset-Share Pivot – XRP market-cap share filters out false RSI spikes.
3) Momentum-Stress Check – Weekly RSI level plus an ATR-based pull-back filter captures exhaustion without waiting for close.
A label prints when any recipe combining these lenses meets its criteria, greatly reducing false signals versus single-factor scripts.
HOW TO USE
1) Chart: XRP-USD · 1-WEEK (lower time-frames unsupported)
2) Watch: Early label → light tint on Confirmed close
3) Alerts:
• Early Bottom / Early Top → ONCE PER BAR
• Confirmed Bottom / Confirmed Top → ONCE PER BAR CLOSE
USER-VISIBLE INPUTS
• Label distance (% ATR-90) – offset for label placement. (Default 50)
• Light-mode palette – swap colours for bright themes. (Default OFF)
• Soft-Confirm filter – ON waits for ≈30 % ATR pull-back on tops; OFF prints faster tops. (Default ON)
• Warning checkbox – visual reminder only; no effect on signals. (Default OFF)
ROAD-MAP
A BTC preset and an intraday scalp mode for XRP/BTC will be added to this same invite-only script — never separate listings.
LIMITATIONS & DISCLAIMER
• Designed only for the weekly timeframe; extreme events can override any model — always manage risk.
• Educational tool — not financial advice. Past performance ≠ future returns.
Stochastic RSI and BB - RKDual-Power Indicator: Stochastic RSI and On-Chart Bollinger Bands!
I'm excited to present my latest Pine Script indicator, "Stochastic RSI and BB - RK." I designed this script to bring two of the most popular and effective technical analysis tools together into a single, cohesive view. By combining the power of Stochastic RSI in a lower pane with directly plotted Bollinger Bands on your main chart, I believe this indicator offers a unique advantage for identifying momentum shifts, overbought/oversold conditions, and volatility trends.
What I've Built In
I've carefully crafted this indicator with distinct features for both components:
1. Stochastic RSI (Lower Pane)
I've included a fully customizable Stochastic RSI in a separate pane below your main chart. This momentum oscillator helps you gauge whether an asset is overbought or oversold, based on its RSI value.
Smooth K & D Lines: I've provided inputs to fine-tune the smoothing periods for both the %K and %D lines, allowing you to adjust sensitivity to market noise.
RSI and Stochastic Lengths: You have full control over the lookback periods for both the underlying RSI calculation and the Stochastic process itself.
Customizable Source: I've made the RSI source adjustable, defaulting to close, but allowing you to experiment with other price types.
Clear Overbought/Oversold Zones: I've plotted standard 80 and 20 levels, along with a middle 50 line, and filled the area between 80 and 20 to easily visualize overbought and oversold regions.
2. On-Chart Bollinger Bands (Main Chart Overlay)
I've integrated Bollinger Bands directly onto your main price chart. These dynamic bands are a powerful tool for measuring volatility and identifying potential price reversal points.
Adjustable Length & Standard Deviation: I've included inputs for you to set the period for the moving average and the standard deviation multiplier, giving you flexibility to adapt to different instruments and timeframes.
Multiple MA Types: I've ensured you have a choice of popular moving average types for the basis of the bands: SMA, EMA, SMMA (RMA), WMA, or VWMA.
Offset Option: I've added an offset input for those who prefer to shift the bands horizontally.
Visual Clarity: The area between the upper and lower bands is filled, which I find greatly enhances readability and helps in quickly identifying periods of expansion or contraction.
How I Envision You Using This
I believe this dual-purpose indicator can be incredibly beneficial for confirming trade signals. For example, you might look for:
Potential Reversals: When price touches the Bollinger Band extremes while the Stochastic RSI is in an overbought/oversold zone and showing signs of turning.
Breakouts: When the Bollinger Bands narrow (indicating low volatility), followed by a breakout of the bands, confirmed by strong momentum on the Stochastic RSI.
Trend Confirmation: Using the Bollinger Bands to identify the prevailing trend and the Stochastic RSI to pick optimal entry and exit points within that trend.
I've put a lot of effort into making this a valuable tool for your trading arsenal. I truly hope this combination provides you with the clarity and edge needed to make more informed decisions.
If you find this script useful, please consider boosting it to show your support and encourage me to create more tools like this. Your feedback is highly appreciated as I constantly strive to improve.
I wish you all the best on your trading journey!
Money Markers AI Signal botMoney Markers AI Platinum Signals is a premium algorithmic tool designed to assist traders in identifying high-probability trade opportunities across Forex, Commodities, and Cryptocurrencies.
This AI-enhanced bot utilizes multiple smart filters to deliver clean BUY and SELL alerts with visual trade levels, helping you act with confidence.
✅ Supports major Forex pairs, Gold, Oil & leading Cryptos
✅ Optimized for H1 and H4 timeframes
✅ Real-time alerts with SL/TP guidance
✅ Built for both swing & intraday traders
🔒 Source code is protected. Access is restricted to approved users only.
📩 To request access, send your TradingView username and registered email to:
📧 support@moneymarkers.net
⚠️ Use responsibly. This is not financial advice. Results may vary.
ROE % Quarterly By COLDMONEYReturn on Equity % By ColdMoney
this indicator use for check % Equity of stock
Price Level Linesthis is how we do it with these levels at these 100s. ben frank game is going down in my town and now your town too
System 0530 - Stoch RSI 指标 (带ATR)Indicator Overview: System 0530 - Stoch RSI Signals (ATR Filtered)
This indicator displays potential long and short signals directly on your chart. It combines a dual-timeframe Stochastic RSI analysis (using the current chart timeframe and the 15-minute timeframe) with an ATR (Average True Range) volatility filter.
Signal Logic:
Initial Trigger: Based on Stochastic RSI crossovers and overbought/oversold levels on the current chart timeframe (e.g., 5-minute).
Confirmation: Seeks further confirmation from the 15-minute Stochastic RSI.
ATR Filter: An optional ATR filter helps ensure signals are considered only when market volatility is deemed sufficient.
Signal Cooldown: Prevents too many signals of the same direction in rapid succession.
Display:
Long Signals: Marked with a green upward triangle below the price bar.
Short Signals: Marked with a red downward triangle above the price bar.
Purpose: Designed to assist traders in identifying potential entry points based on Stochastic RSI conditions and market volatility. Users can adjust various parameters to suit different instruments and trading strategies.
System 0530 - Stoch RSI Strategy with ATR filterStrategy Description: System 0530 - Multi-Timeframe Stochastic RSI with ATR Filter
Overview:
This strategy, "System 0530," is designed to identify trading opportunities by leveraging the Stochastic RSI indicator across two different timeframes: a shorter timeframe for initial signal triggers (assumed to be the chart's current timeframe, e.g., 5-minute) and a longer timeframe (15-minute) for signal confirmation. It incorporates an ATR (Average True Range) filter to help ensure trades are taken during periods of adequate market volatility and includes a cooldown mechanism to prevent rapid, successive signals in the same direction. Trade exits are primarily handled by reversing signals.
How It Works:
1. Signal Initiation (e.g., 5-Minute Timeframe):
Long Signal Wait: A potential long entry is considered when the 5-minute Stochastic RSI %K line crosses above its %D line, AND the %K value at the time of the cross is at or below a user-defined oversold level (default: 30).
Short Signal Wait: A potential short entry is considered when the 5-minute Stochastic RSI %K line crosses below its %D line, AND the %K value at the time of the cross is at or above a user-defined overbought level (default: 70). When these conditions are met, the strategy enters a "waiting state" for confirmation from the 15-minute timeframe.
2. Signal Confirmation (15-Minute Timeframe):
Once in a waiting state, the strategy looks for confirmation on the 15-minute Stochastic RSI within a user-defined number of 5-minute bars (wait_window_5min_bars, default: 5 bars).
Long Confirmation:
The 15-minute Stochastic RSI %K must be greater than or equal to its %D line.
The 15-minute Stochastic RSI %K value must be below a user-defined threshold (stoch_15min_long_entry_level, default: 40).
Short Confirmation:
The 15-minute Stochastic RSI %K must be less than or equal to its %D line.
The 15-minute Stochastic RSI %K value must be above a user-defined threshold (stoch_15min_short_entry_level, default: 60).
3. Filters:
ATR Volatility Filter: If enabled, trades are only confirmed if the current ATR value (converted to ticks) is above a user-defined minimum threshold (min_atr_value_ticks). This helps to avoid taking signals during periods of very low market volatility. If the ATR condition is not met, the strategy continues to wait for the condition to be met within the confirmation window, provided other conditions still hold.
Signal Cooldown Filter: If enabled, after a signal is generated, the strategy will wait for a minimum number of bars (min_bars_between_signals) before allowing another signal in the same direction. This aims to reduce overtrading.
4. Entry and Exit Logic:
Entry: A strategy.entry() order is placed when all trigger, confirmation, and filter conditions are met.
Exit: This strategy primarily uses reversing signals for exits. For example, if a long position is open, a confirmed short signal will close the long position and open a new short position. There are no explicit take profit or stop loss orders programmed into this version of the script.
Key User-Adjustable Parameters:
Stochastic RSI Parameters: RSI Length, Stochastic RSI Length, %K Smoothing, %D Smoothing.
Signal Trigger & Confirmation:
5-minute %K trigger levels for long and short.
15-minute %K confirmation thresholds for long and short.
Wait window (in 5-minute bars) for 15-minute confirmation.
Filters:
Enable/disable and configure the Signal Cooldown filter (minimum bars between signals).
Enable/disable and configure the ATR Volatility filter (ATR period, minimum ATR value in ticks).
Strategy Parameters:
Leverage Multiplier (Note: This primarily affects theoretical position sizing for backtesting calculations in TradingView and does not simulate actual leveraged trading risks).
Recommendations for Users:
Thorough Backtesting: Test this strategy extensively on historical data for the instruments and timeframes you intend to trade.
Parameter Optimization: Experiment with different parameter settings to find what works best for your trading style and chosen markets. The default values are starting points and may not be optimal for all conditions.
Understand the Logic: Ensure you understand how each component (Stochastic RSI on different timeframes, ATR filter, cooldown) interacts to generate signals.
Risk Management: Since this version does not include explicit stop-loss orders, ensure you have a clear risk management plan in place if trading this strategy live. You might consider manually adding stop-loss orders through your broker or using TradingView's separate strategy order settings for stop-loss if applicable.
Disclaimer:
This strategy description is for informational purposes only and does not constitute financial advice. Past performance is not indicative of future results. Trading involves significant risk of loss. Always do your own research and understand the risks before trading.
Trend Regime with MA & Volatility✅ Trend signal combining: Price (MA), Momentum (RSI), Volatility (ATR)
✅ Bullish = Green background
✅ Neutral = Yellow background
✅ Bearish = Red background
✅ Fast/Slow MA + ATR plots
✅ Entry signal arrows
Trend Regime BackgroundGreen Background → Strong bullish signal across trend, momentum, and volatility.
Yellow Background → Neutral regime (mixed signals).
Red Background → Bearish trend with weakening momentum and rising risk.
Institutional Intraday Master (No Loops)📊 Institutional Intraday Master Indicator: How-To Guide for New Traders
1. What Does This Indicator Do?
The Institutional Intraday Master is a custom TradingView script that helps you:
• Spot when big institutions (like hedge funds) might be buying or selling.
• Identify important price levels based on recent trading activity.
• Get clear buy (“INST LONG”) and sell (“INST SHORT”) signals.
• Manage risk with automatic stop (invalidation) signals.
2. Key Acronyms & Terms
Acronym Meaning
RSI Relative Strength Index (momentum measure)
POC Point of Control (price with most volume)
VAH Value Area High (top of high-volume zone)
VAL Value Area Low (bottom of high-volume zone)
ATR Average True Range (volatility measure)
MACD Moving Average Convergence Divergence
3. How to Add the Script to TradingView
1. Copy the full Pine Script code (see previous answer).
2. Open TradingView and go to the chart of your chosen stock or ETF (e.g., SPY, AAPL).
3. Click Pine Editor at the bottom of the screen.
4. Paste the code into the editor.
5. Click Add to Chart (or “Save” then “Add to Chart”).
6. The indicator will appear on your chart with colored backgrounds, lines, and buy/sell signals.
4. What Do the Visuals Mean?
• Green Background:
Institutions are likely buying (bullish bias).
• Red Background:
Institutions are likely selling (bearish bias).
• Purple Dots (POC):
The price where the most volume traded in the last 30 bars (often a “magnet” for price).
• Gray Lines (VAH/VAL):
The top and bottom of the high-volume area—think of these as “fair value” boundaries.
• Blue Lines:
Recent breakout levels (upper = bullish breakout, lower = bearish breakout).
• Green “INST LONG” Label:
Suggested buy (long) entry.
• Red “INST SHORT” Label:
Suggested sell (short) entry.
5. How to Use for Day Trading
A. Setup
• Use a 5-minute or 15-minute chart for intraday trading.
• The indicator will automatically update key levels and signals.
B. Entry Signals
• Buy (Long):
• When you see a green “INST LONG” label, and the background is green.
• Example: Price breaks above the blue upper band with strong volume.
• Sell (Short):
• When you see a red “INST SHORT” label, and the background is red.
• Example: Price breaks below the blue lower band with strong volume.
C. Risk Management
• The script uses ATR (Average True Range) to suggest stop-loss distances.
• Stop out (invalidation):
• If you’re long and price closes below the gray VAL line or drops by more than 1 ATR from the last low, consider exiting.
• If you’re short and price closes above the gray VAH line or rises by more than 1 ATR from the last high, consider exiting.
D. Take Profit
• Consider taking profit at the next major volume level (POC, VAH/VAL) or when a reversal signal appears.
6. Example Trade
Let’s say you’re trading SPY on a 5-minute chart:
• The background turns green, and a green “INST LONG” label appears at $590.
• The purple POC dot is at $592, and the gray VAH is at $593.
• Trade Plan:
• Enter long at $590.
• Set a stop-loss at $588 (2 ATR below entry).
• Target $592 (POC) or $593 (VAH) for profit.
If price reaches $592 and starts to stall, you might take profit. If price falls to $588, you exit for a small loss.
7. Keys to Watch for Invalidation
• Invalidation means your trade setup is no longer valid.
• For longs:
• Price closes below VAL or makes a new low by more than 1 ATR.
• For shorts:
• Price closes above VAH or makes a new high by more than 1 ATR.
• Always honor your stop-loss!
8. Tips for Success
• Don’t trade every signal. Wait for confirmation (e.g., strong volume, trend in your favor).
• Practice on a simulator before using real money.
• Adjust settings (like ATR multiplier or volume profile length) to fit your style and the asset’s volatility.
9. Illustration Key
• ! ( i.imgur.com background = institutional buying, purple dot = POC, blue line = breakout, green label = buy signal.*
10. Summary Table
Visual/Signal Meaning What To Do
Green background Institutional buying Favor long trades
Red background Institutional selling Favor short trades
Purple dot (POC) Volume magnet/target Use as profit/entry/exit level
Blue line Breakout level Watch for breakouts
Green label Buy (long) signal Consider entering long
Red label Sell (short) signal Consider entering short
Gray lines (VAH/VAL) Value area boundaries Use for stops and targets
Orderflow Bias Premium v2 [Pro+]Orderflow Bias Premium v2 is a dynamic Pine v6 indicator designed to identify periods of consolidation (choppy) markets versus expansion (trending) markets using a blend of volatility, volume, and market structure. When markets shift into expansion, the script computes a composite directional bias (“Bullish”, “Bearish”, or “Neutral”) along with a trend strength metric. In consolidation, it tracks how long price remains choppy, displaying elapsed minutes. All information is presented in a floating table at the top-right of the chart for instant visual clarity - with each field toggleable on / off by the user.
Key Terms and Definitions
Consolidation : A market regime where price action is confined within narrow Bollinger Band widths, low ATR/price ratios, and subdued volume—signaling uncertainty or indecision.
Expansion : A market regime where volatility, ATR, or volume “break out” of low percentile thresholds, suggesting a trending move.
Bollinger Band Width (BBW) : The normalized distance between the upper and lower Bollinger Bands, calculated as (upper – lower) / basis. Used here to detect when volatility is suppressed.
ATR/Price Ratio : The average true range (ATR) divided by the current close, normalized as a percentage. A lower ratio indicates tighter price action.
Volume Ratio (VR) : Current volume divided by its moving average; when VR is below a historical percentile, volume is considered “low.”
Percentile Test : For each metric (BBW, ATR/price, VR), we compute the current value’s rank (e.g., 20th percentile) over a look-back window. If the current value is below that percentile (after applying any intraday multipliers), it counts as “low.”
Imbalance (3-Bar Gap) : A price pattern where, two bars ago, the high is lower than the current bar’s low (bullish imbalance) or the low is higher than the current bar’s high (bearish imbalance). The script tracks whether any such gap has formed in a higher timeframe to seed directional memory.
Directional Bias : When in expansion, three methods vote on market direction: (1) DMI spread, (3) impulse-bar majority, and (4) last imbalance direction. The summed votes determine “Bullish”, “Bearish”, or “Neutral.”
Hysteresis (Bars to Flip State) : The number of consecutive bars required for a new regime (consolidation ↔ expansion) to be confirmed. This prevents false flips from single-bar noise.
Key Features
Dynamic Regime Detection
Combines BBW, ATR/price, and volume percentile tests to detect low-volatility consolidation vs. breakouts.
Supports optional intraday multipliers to scale thresholds during open (09:30–10:15), lunch (11:45–13:30), and power hour (15:30–16:00).
Optional higher-timeframe filter (current TF × user-defined multiplier) ensures false consolidations are avoided when the next larger TF is still trending.
Intuitive Chop Enhancements
N-Bar Range Test: Flags chop if (highest high – lowest low) over N bars < ATR×multiplier.
ADX Test: Considers ADX < user threshold as choppy.
RSI Flat Test: Marks chop if RSI range over N bars < threshold.
SMA Deviation Test: Detects chop if |price – SMA| (normalized by ATR) < threshold.
Composite Directional Bias (Expansion Only)
Method 1: DMI spread vote (+DI vs. –DI).
Method 2: Impulse-bar majority over a rolling window.
Method 3:Memory of last 3-bar imbalance on a user-specified higher TF.
Strength Metric:ADX normalized to percentage + textual category (Low/Moderate/High/Very High) indicates trend momentum.
Real-Time Table Display
2-column, 3-row floating table at top-right.
How Traders Can Use the Indicator Effectively
Timing Breakouts
While price remains in consolidation, the elapsed timer can reveal when an extended chop may soon resolve—enabling traders to anticipate breakouts.
Filtering Noise on Lower TFs
By enabling the higher-TF filter (e.g., 5 min chart screening 15 min chop), intraday traders can avoid false expansion signals caused by micro-noise.
Directional Confirmation
In expansion mode, seeing “Orderflow: Bullish” + “Strength: High” can be used as confluence alongside price-action entries or trendline breaks.
Combining with Other Tools
Pair with volume profile, market structure (swing highs/lows), or momentum oscillators for multi-dimensional confirmation before taking a trade.
USER TOGGLEABLE INPUTS
Show State
Toggles displaying the “State:” row (Consolidation vs. Expansion) in the table.
Show Strength
Toggles displaying the ADX-based strength (or, in consolidation, elapsed time) row in the table.
Show OrderFlow Bias
Toggles displaying the “Orderflow” (directional bias) row (or “Bias: Neutral” in consolidation).
Bars to Flip State
Number of consecutive bars required before switching between “Consolidation” and “Expansion.”
Enable BBW Percentile Test
Toggles whether Bollinger-Band-width percentile checks count toward identifying consolidation.
BB Length
Look-back length (in bars) for computing the Bollinger Band’s SMA/standard deviation.
BB StdDev Mult
Multiplier on the Bollinger Band’s standard deviation when calculating bandwidth.
BBW Look-back
Number of bars over which to compute the rolling percentile of BB width.
BBW Percentile
Percentile threshold for BB width to be considered “low” (choppy).
Enable ATR Percentile Test
Toggles whether the ATR/price-ratio percentile check counts toward consolidation.
ATR Length
Look-back length (in bars) for calculating ATR.
ATR Look-back
Number of bars over which to compute the rolling percentile of ATR/price.
ATR Percentile
Percentile threshold for ATR/price ratio to be considered “low.”
Enable Volume Percentile Test
Toggles whether volume percentile checks count toward consolidation.
Volume MA Length
Look-back length (in bars) for computing the moving average of volume.
Vol Percentile
Percentile threshold for current volume (relative to its MA) to be considered “low.”
Vol Factor (fallback)
Multiplier applied to the volume percentile threshold if the primary percentile test fails.
Enable Intraday Multipliers
Toggles whether open/lunch/power-hour scaling factors apply to BBW/ATR tests.
BBW Open/Power Mult
Multiplier on BB width threshold during market open (09:30–10:15) and power hour (15:30–16:00).
ATR Open/Power Mult
Multiplier on ATR threshold during market open and power hour.
BBW Lunch Mult
Multiplier on BB width threshold during the lunch lull (11:45–13:30).
ATR Lunch Mult
Multiplier on ATR threshold during the lunch lull.
Enable Higher TF Filter
Toggles checking the BBW/ATR/Vol tests on a higher timeframe before allowing consolidation.
Higher-TF Multiplier
Integer factor by which to multiply the current timeframe (e.g., 5 min × 3 = 15 min) for higher-TF checks.
Show ADX Strength
Toggles whether ADX is used to compute and display the “Strength” metric when expanding.
ADX Length
Look-back length (in bars) for computing DMI/ADX.
Table Opacity %
Opacity (0–100) of the floating table’s background.
DI Spread Threshold
Minimum difference between +DI and −DI needed to cast a bullish or bearish vote in directional bias.
Impulse Window Size
Number of bars over which to count “impulse bars” (close in top 40 % vs. bottom 40 %) for directional voting.
Enable Bar Range Test
Toggles checking if the N-bar high–low range is unusually narrow (another chop criterion).
Range Test N Bars
Look-back period (in bars) for computing the highest high minus lowest low for the range test.
Range Test ATR Mult
Multiplier on the average ATR when comparing against the N-bar range.
Enable ADX Test
Toggles marking “choppy” if ADX is below the user-defined threshold.
ADX Threshold
ADX value below which the market is considered non-trending (choppy).
Enable RSI Flat Test
Toggles checking whether RSI has been stuck in a tight range (another chop signal).
RSI Length
Look-back length (in bars) for computing standard RSI.
RSI Range N Bars
Look-back period (in bars) for computing RSI’s highest minus lowest.
RSI Range Threshold
Maximum RSI range over the look-back period to qualify as “flat.”
Enable SMA Deviation Test
Toggles checking if price is “near” its SMA (another chop heuristic).
SMA Length
Look-back length (in bars) for computing the simple moving average (SMA).
Dev Test ATR Length
Look-back length (in bars) for ATR when normalizing deviation from the SMA.
Dev Threshold (ATR units)
Maximum (|price − SMA| / ATR) allowed to count as “near” the SMA.
Enable TF1
Toggles the higher-timeframe imbalance logic on or off.
Timeframe 1
Base resolution (e.g., “1” = 1 minute) used for detecting 3-bar imbalances.
Lookback Timeframe
Higher timeframe (e.g., “15” = 15 minutes) used to compute how many base-resolution bars to look back.
Bars 1
(Calculated internally) Number of base-timeframe bars contained within one lookback-timeframe bar.
Terms and Conditions
Informational Purposes Only : OrderFlow Bias v2 Premium is provided without any guarantees. It is not financial advice, nor does it predict market movements. Users assume full responsibility for any trading decisions made.
No Liability : By using this indicator, you acknowledge that neither the script’s author nor TradingView is liable for losses arising from its use. Past performance is not indicative of future results.
Licensing : This script is published as closed-source (protected). Its Pine code is hidden from view and may not be forked, modified, or redistributed without express permission from the author. Protected scripts on TradingView require a Pro, Pro+, or Premium account to publish and remain accessible only to invited users; all usage rights and access control are governed by the author’s invite settings.
Disclaimer
The information and code in OrderFlow Bias v2 Premium are provided “as is” for educational and analytical purposes only. They do not constitute any investment, trading, or financial advice. Users should conduct their own due diligence and seek professional counsel before making trading decisions. The author and TradingView disclaim all liability for actions based on this information.
Multi-Timeframe Horizontal LinesMulti-Timeframe Horizontal Lines - User Guide
This indicator draws horizontal support/resistance lines based on opening prices at specific New York times, regardless of your chart's timezone.
How to Use:
Enter up to 4 custom times in NY timezone using HH:MM format (e.g., "09:30", "14:00", "20:00")
Lines automatically capture the opening price when each specified time hits
Toggle the After-Hours Day Open line (6 PM NY start) on/off as needed
Key Features:
Evening Times (16:00-23:59): Lines extend overnight until next day 3:59 PM NY
Morning/Day Times (00:00-15:59): Lines extend until same day 3:59 PM NY
Timezone Independent: Always uses NY time regardless of chart timezone
Clean Visualization: Lines appear with breaks during inactive periods
Perfect For:
Marking key session opens (Asian, London, NY)
Tracking overnight levels and gaps
Setting reference levels that persist across trading sessions
Simply input your desired NY times and let the indicator automatically manage when lines appear and disappear based on market sessions.