ORB - Opening Range Breakout + AlertsThe only ORB indicator you'll ever need.
Custom opening range time (5m, 15m, 30m, etc.)
Automatic opening range support and resistance levels.
- Plots levels after the opening range ends.
LONG/SHORT alerts defined by confirmed breakouts.
- Alerts are only visible on the 5m timeframe.
- Can turn the alerts on/off.
Customize levels.
- Color and thickness.
Candlestick analysis
Opening Range Breakout with AlertsThe only ORB indicator you'll ever need.
Custom opening range time (5m, 15m, 30m, etc.)
Automatic opening range support and resistance levels.
LONG/SHORT alerts defined by confirmed breakouts.
Custom levels and styles.
BTC Futures Volume (Coin Denominated)Displays BTC futures volumes via Binance, Bybit, and Okx contracts (BTC/USDT). Values are coin-denominated.
24 Hour Key LevelsIndicator automatically plots horizontal rays from yesterday high/low of day and current day premarket high/low. Levels are customizable in color and thickness.
Asian & London Session Highs/LowsAsian & London Session Highs/Lows with Extendable Lines
This TradingView script automatically marks the highs and lows of the Asian and London trading sessions for the most recent day, allowing traders to identify key levels during these active periods. The lines representing the high and low of each session are drawn at the exact price point where the high/low occurred, and they extend to the right for a customizable number of bars, helping to visualize how the price reacts to these key levels after the session ends.
Key Features:
Session High/Low Tracking: Automatically tracks the highest and lowest points for the Asian and London sessions.
Extendable Lines: Lines start at the exact bar where the high/low occurred and can be extended to the right for a specified number of bars.
Timezone Adjustment: Allows you to input a timezone offset to adjust session times based on your local time or desired market time zone.
Customizable Colors & Line Thickness: Adjust the color and thickness of the session high and low lines to suit your visual preferences.
Clear & Precise Levels: Helps identify important support and resistance levels, making it easier to spot market reactions around session highs and lows.
This indicator is perfect for day traders and those looking to trade during specific market hours, offering clear visual markers of session boundaries and critical price levels.
SuperFib Enhanced (Array Only)Key Changes:
Removed MAX_LINES and defined const int MAX_STORAGE_CAPACITY = 200 (You can adjust 200 higher or lower, but be mindful of the total drawings limit).
Removed all individual inputs (show1-show10, price1-price10, text1-text10) and their corresponding groups. The array input is now the only way to define levels.
Removed the useArrayInput boolean input, as it's no longer needed.
Initialized var hLines and var lineLabels arrays with MAX_STORAGE_CAPACITY.
Modified the array parsing loop to respect MAX_STORAGE_CAPACITY when adding parsed levels.
Modified the main drawing loop (if barstate.islast) to iterate from 0 up to
MAX_STORAGE_CAPACITY - 1. Inside the loop, it checks if i < parsedLevelsCount to determine if a line should exist at that index.
Modified the real-time update loop (if barstate.isrealtime) to also iterate up to MAX_STORAGE_CAPACITY - 1 to handle any potential drawing index within the indicator's capacity.
Updated the tooltips for the array inputs to reflect that this is the primary method and mention the (increased) capacity limit.
This version is more flexible for users who rely heavily on array input, allowing them to define up to 200 levels. Remember that while the indicator itself can manage 200, the total drawings on your chart from all sources still cannot exceed Pine Script's platform-wide limit.
Entropy [ScorsoneEnterprises]This indicator calculates the entropy of price log returns over a user-defined lookback period, providing insights into market complexity and unpredictability. Entropy measures the randomness or disorder in price movements, helping traders identify periods of high or low market uncertainty.
How It Works
The indicator computes the entropy of log returns (log(close/close )) using a histogram-based approach with customizable bins. Log returns are stored in an array of size N (lookback period), and entropy is calculated by:
Binning the returns into bins intervals based on their range.
Computing the probability distribution across bins.
Calculating entropy as -Σ(p * log(p)), where p is the probability of each bin.
A reference Simple Moving Average (SMA) of the entropy, with a separate lookback period (SMA_N), is plotted to highlight trends in market complexity. The entropy plot uses a gradient color scheme (red for lower entropy, teal for higher), while the SMA color shifts based on whether entropy is above (teal) or below (red) the SMA.
Key Features
Inputs:
Lookback Period (default: 50): Number of bars for calculating log returns.
Reference SMA Lookback Period (default: 100): Period for the entropy SMA.
Number of Bins (default: 20): Number of histogram bins for entropy calculation.
Plots:
Entropy: Gradient-colored line reflecting market randomness.
Reference SMA: Trend line to compare entropy against its average.
Interpretation
High Entropy: Indicates chaotic, unpredictable price movements, often during volatile or trendless markets.
Low Entropy: Suggests more predictable, ordered price behavior, often in trending or stable markets.
Compare entropy to its SMA to gauge whether current market complexity is above or below its recent average.
Usage
Use this indicator to assess market regimes. High entropy may signal choppy, range-bound conditions, while low entropy could indicate trending opportunities. Combine with price action or other indicators for confirmation.
Examples
We see on this PEPPERSTONE:COCOA chart that when entropy is low it signals a strong trend, either up or down. High entropy signals indecision and choppiness in the market. We can determine this by noticing when the value is above or below its recent average.
Entropy is used in high frequency trading often. It is a nice tool for lower time frames to determine how predictable and strong a trend is.
Inputs
Users can enter the lookback value for entropy, bin count, and the look back for the entropy moving average.
No tool is perfect, the Entropy value is also not perfect and should not be followed blindly. It is good to use any tool along with discretion and price action.
Long-Term VWAP Mean Reversion SDCACore Idea:
This indicator is designed to support Strategic Dollar Cost Averaging (SDCA) for Bitcoin using a cumulative VWAP-based mean reversion model. It helps long-term investors identify high-conviction buy zones and overbought conditions using statistical deviation from the cumulative VWAP. This indicator evaluates how much price is stretched from the true market average price, weighted by cumulative volume over time.
Core Concepts and Formulas:
Cumulative VWAP (Volume Weighted Average Price):
VWAP cumulative = ∑(Price×Volume) / ∑Volume
A long-term anchor that reflects the average dollar cost of all market participants across all candles. This version does not reset daily, unlike intraday VWAP.
VWAP Deviation % :
Deviation% = Price - VWAP cumulative / VWAP cumulative x 100
Shows how far current price has diverged from the long-term fair value.
Z-Score of VWAP Deviation:
Z= (Price−VWAP)−μ / σ (lookback period: default 200)
SDCA Multiplier Mapping:
*Keep in mind in my Z-Score system, -2 represents the overbought level (white horizontal line) and +2 represents oversold (cyan horizontal line) conditions. So the scores on the Y axis and Z-score in the table are reversed.
| Z-Score Range | SDCA Multiplier |
---------------------------------------------
| ≤ -2 | 0.25×
| -1 to +1 | 1.0×
| > +2 | 2.0×
The pink line plots this multiplier. It’s meant to control buy weight at each time step.
How to Use This for SDCA:
-Buy normally when the multiplier is 1.0× (Z-score between -1 and +1)
-Accelerate buying when Z-score is deeply negative (price far below VWAP)
-Slow or pause buying when Z-score is high (price far above VWAP)
-Use the stats panel to track current Z-score, VWAP level, deviation %, and multiplier
-Watch the red/blue backgrounds as visual confirmation of oversold/overbought zones
Inputs:
Z-Score Lookback Length:
Default: 200 but can be adjusted.
Visuals:
Z-Score Line (cyan): shows current standardized deviation from VWAP
Multiplier Line (bright pink): your SDCA intensity signal
Background Zones: cyan = oversold, white = overbought
Horizontal Lines: +2 and -2 standard deviation thresholds
Stats Panel (bottom right): live values for Z-score, multiplier, price, VWAP, and the deviation formula
Suited For:
-Long-term Bitcoin investors
-SDCA Systems
-Mean reversion systems
-Macro-level buy/sell planning
sideways market for strangleThis Pine Script is designed to identify **sideways or range-bound markets**, which are often ideal conditions for trading **options strangle strategies**. Here's a breakdown of what the script does:
---
### 🛠 **Purpose:**
To **detect low-volatility, sideways market conditions** where price is not trending strongly in either direction — suitable for **neutral options strategies like short strangles**.
---
### 📌 **Key Components:**
#### 1. **Inputs:**
- `RSI Length`: Default 14 — used for calculating the Relative Strength Index (RSI).
- `ADX Length`: Default 14 — used for calculating the Average Directional Index (ADX), DI+ (positive directional movement), and DI- (negative directional movement).
#### 2. **RSI Calculation:**
- `rsiValue` is calculated using the built-in `ta.rsi(close, rsiLength)`.
- A **sideways market** is expected when RSI is in the **40–60 range**, indicating lack of strong momentum.
#### 3. **ADX and Directional Indicators (DI+ and DI-):**
- `diPlus` and `diMinus` are calculated based on recent price movements and the True Range.
- `dx` (Directional Index) measures the strength of trend direction using the difference between DI+ and DI-.
- `adx` is a smoothed version of `dx` and represents **overall trend strength**.
#### 4. **Sideways Market Conditions:**
- **RSI Condition**: RSI is between 40 and 60.
- **ADX Condition**:
- `adx <= 25` → Weak or no trend.
- `adx < diPlus` and `adx < diMinus` → Confirms ADX is lower than directional components, reducing likelihood of a trending market.
#### 5. **Signal Plot:**
- A **green label below the bar** (`shape.labelup`) is plotted when both conditions are met.
- Indicates potential sideways market conditions.
---
### ✅ **Use Case:**
- This signal can help identify **low-volatility zones** suitable for **short strangles** or **iron condors**, where you profit from time decay while expecting the price to stay within a range.
Bar CounterBar Counter Indicator: Track Bar Sequences with Precision
The Bar Counter Indicator is a highly customizable tool designed for traders who want to monitor and label candlestick bars on their TradingView charts based on their sequence within a specified timeframe. By numbering bars as they form, this indicator helps traders identify patterns, track market rhythm, and time entries or exits with greater precision. It is particularly useful for strategies that rely on counting bars, such as time-based setups, scalping, or pattern recognition.
### Key Features:
1. **Bar Numbering**:
- Assigns a sequential number to each candlestick bar within a user-defined timeframe, displayed directly on the chart.
- Option to show only **even-numbered bars**, **odd-numbered bars**, or both, allowing traders to focus on specific bar sequences (e.g., every second bar for a pattern).
2. **Time Range Filtering**:
- Optionally filter bar counting to a specific time window (e.g., a trading session like 9:30 AM to 4:00 PM).
- When the time filter is enabled, the counter resets to 1 at the start of the specified time range and only counts bars within that period, making it ideal for analyzing high-activity sessions like market opens or closes.
3. **Customizable Display**:
- **Text Position**: Choose whether bar numbers appear above or below the candlestick for optimal chart clarity.
- **Text Color and Size**: Customize the color and size (tiny, small, normal, large) of the numbered labels to match your chart preferences.
- **Vertical Offset**: Fine-tune the vertical placement of labels to avoid overlapping with price action or other indicators.
### How to Use:
- **Pattern Recognition**: Use the bar counter to identify recurring patterns that occur after a specific number of bars (e.g., reversals after 5 bars or breakouts after 10 bars).
- **Session-Based Trading**: Enable the time filter to count bars only during key trading sessions, such as the New York or London market hours, to focus on high-volume periods.
- **Scalping and Intraday Strategies**: Track bar sequences to time entries or exits, especially when combined with even/odd filtering for alternating setups.
- **Automation Support**: The numbered bars can assist in backtesting or developing automated strategies by providing a clear reference for bar counts.
### Ideal For:
- **Scalpers**: Monitor rapid bar sequences to time precise entries and exits in fast-moving markets.
- **Day Traders**: Focus on specific trading sessions by using the time filter to count bars during high-liquidity periods.
- **Pattern Traders**: Identify and act on candlestick patterns that depend on bar counts, such as those used in price action or harmonic trading.
- **All Markets**: Effective for forex, stocks, cryptocurrencies, commodities, and indices across any intraday timeframe.
### Why Choose This Indicator?
The Bar Counter Indicator offers unparalleled flexibility for traders who rely on bar sequencing to inform their strategies. Its ability to filter by time, display only even or odd bars, and customize label appearance ensures it adapts to a wide range of trading styles. Whether you're timing trades in a specific session or tracking patterns across a chart, this indicator provides a clear, visual way to stay on top of market rhythm. Simple yet powerful, it’s a must-have tool for traders seeking to enhance their precision and decision-making.
Add the Bar Counter Indicator to your TradingView chart today and take control of your bar-based trading strategies!
MES - 3WS long v2📘 3WS Long v2 (Three White Soldiers)
Description:
Detects the Three White Soldiers long reversal candlestick pattern on the MES futures chart. The script includes confirmation filters using rolling VWAP, trend structure (EMA/SMA), and volume/momentum signals to reduce false positives. Designed to support discretionary scalping strategies in trending market conditions.
MES - 3BC short v2📕 3BC Short v2 (Three Black Crows)
Description:
Identifies the Three Black Crows short reversal candlestick pattern on the MES futures chart. It applies a trend validation system based on VWAP and moving averages, along with order flow and momentum filters for higher-quality entries. Optimized for traders looking to monitor clean short setups during downtrending phases.
MES - 3BC short/VWAPZone/Orderflow Comp.📕 3BC Short (Three Black Crows)
Description:
Identifies the Three Black Crows short reversal candlestick pattern on the MES futures chart. It applies a trend validation system based on VWAP and moving averages, along with order flow and momentum filters for higher-quality entries. Optimized for traders looking to monitor clean short setups during downtrending phases.
MES - 3WS long/VWAPZone/Orderflow Comp.📘 3WS Long (Three White Soldiers)
Description:
Detects the Three White Soldiers long reversal candlestick pattern on the MES futures chart. The script includes confirmation filters using rolling VWAP, trend structure (EMA/SMA), and volume/momentum signals to reduce false positives. Designed to support discretionary scalping strategies in trending market conditions.
ORDERFLOW - CHOCH STATUS WITH MULTI TF PANNELThis code gives you the status of the orderflow direction (defined by the Choch theory, see Somstradamus for more information on how it is defined) in the form of barcolor for the current TF.
We also have a pannel which let you know the orderflow's status of different timeframes on 1 glances.
CCI Cross Signal with RSI FilterThis indicator is made for educational purpose. Use it to predict the change of trend, it helps to saving wrong decisions in trading. Please use own analysis also
Pro Candlestick ScannerPro Candlestick Scanner v3.4
This is a professional-grade candlestick signal scanner that detects high-probability reversal patterns and validates them using advanced filters.
🔍 What It Does
Scans your chart for key bullish and bearish candlestick patterns:
Bullish Patterns:
• Hammer
• Inverted Hammer
• Bullish Engulfing
• Harami Bullish
• Morning Star
Bearish Patterns:
• Shooting Star
• Bearish Engulfing
• Harami Bearish
• Evening Star
Each pattern can be filtered by:
✔️ Trend direction (20/50 EMA)
✔️ Volume strength (above 1.5× SMA)
✔️ RSI position (customizable)
✔️ MACD histogram direction
It also includes:
Risk/Reward targets (ATR-based)
Ready-to-use alert conditions
How to Use
Add the indicator to your chart.
In the settings:
Enable/disable RSI, MACD, Trend, and Volume filters.
Adjust filter thresholds to your strategy.
Enable Risk/Reward target lines if desired.
Look for labeled signals directly on the chart.
Pro Tip:
Use on 1H, 4H, or Daily timeframes for more reliable signals. Combine with S/R zones for best results.
OptimumTrader SignalsOptimumTrader Signals is a user-friendly indicator that generates BUY and SELL signals based on moving average crossovers (default: 9-period and 21-period MAs). It features customizable candle colors, signal labels, and dashed signal lines to help traders identify trends easily.
HTF/LTF Boxes DRBBUpdated original script with gann box of previous hour and added second LTF box.
All credits to an author of an original code @smitty1021
squeeze momentum BAR color - KLTSqueeze Momentum BAR COLOR - KLT
Description:
The Squeeze Momentum BAR COLOR - KLT is a powerful tool designed to detect volatility compression ("squeeze" zones) and visualize momentum shifts using a refined color-based system. This script blends the well-known concepts of Bollinger Bands and Keltner Channels with an optimized momentum engine that uses dynamic color gradients to reflect trend strength, direction, and volatility.
It’s built for traders who want early warning of potential breakouts and clearer insight into underlying market momentum.
🔍 How It Works:
📉 Squeeze Detection:
This indicator identifies "squeeze" conditions by comparing Bollinger Bands and Keltner Channels:
When Bollinger Bands are inside Keltner Channels → Squeeze is ON
When Bollinger Bands expand outside Keltner Channels → Squeeze is OFF
You’ll see squeeze zones classified as:
Wide
Normal
Narrow
Each represents varying levels of compression and breakout potential.
⚡ Momentum Engine:
Momentum is calculated using linear regression of the price's deviation from a dynamic average of highs, lows, and closes. This gives a more accurate representation of directional pressure in the market.
🧠 Smart Candle Coloring (Optimized):
The momentum color logic is inspired by machine learning principles (no hardcoded thresholds):
EMA smoothing and rate of change (ROC) are used to detect momentum acceleration.
ATR-based filters help remove noise and false signals.
Colors are dynamically assigned based on both direction and trend strength.
🔷 Color Guide:
🟢 Bull Strong: color.rgb(1, 255, 31, 52) → Strong bullish momentum, accelerating upward
🔴 Bull Weak: color.rgb(255, 0, 0, 57) → Still positive, but losing strength
🔺 Bear Strong: color.red → Strong bearish momentum
🟩 Bear Weak: color.rgb(30, 255, 0) → Downtrend slowing or about to reverse
⚪ Neutral: color.gray → No clear trend
🧪 How to Use It:
Look for Squeeze Conditions — especially narrow squeezes, which tend to precede high-momentum breakouts.
Confirm with Momentum Color — strong colors often indicate trend continuation; fading colors may signal exhaustion.
Combine with Price Action — use this tool with support/resistance or patterns for higher probability setups.
Recommended For:
Trend Traders
Breakout Traders
Volatility Strategy Users
Anyone who wants visual clarity on trend strength
📌 Tip: This indicator works great when layered with volume and price action patterns. It is fully non-repainting and supports overlay on price charts.
⚠️ Disclaimer: For educational purposes only. This indicator does not constitute financial advice. Always use with proper risk management.
True Range Orginal📌 Description – True Range Original
This indicator calculates the range (price spread) of the last N candles and displays it directly on the chart, along with suggested dynamic stop-loss levels based on recent volatility. Ideal for scalpers and day traders working on short timeframes such as 1-minute charts.
🔍 Features:
Calculates the difference between the highest high and lowest low of the last N bars (default: 15).
Plots a floating label with the current range value, updated every 5 candles.
Displays 4 dynamic stop levels:
For long positions:
Stop at 1x range (green line)
Stop at 1.5x range (light green line)
For short positions:
Stop at 1x range (red line)
Stop at 1.5x range (dark red line)
⚙️ Inputs:
Range period (number of bars)
Stop multiplier 1 (default: 1.0)
Stop multiplier 2 (default: 1.5)
📈 Usage:
This tool helps you size your stop-loss dynamically based on recent price action instead of using fixed values. It can be used alone or in combination with other tools like support/resistance, volume, or aggression indicators.