EMA Break & Retest + Trend TableA technical analysis tool that:
Detects EMA break & retest setups
Filters signals using higher timeframe trends
Shows buy/sell signals on the chart
Displays a trend table for multiple timeframes
Penunjuk dan strategi
m-spot
The M-SPOT Indicator is a sophisticated tool of technical analysis, meticulously designed to identify pivotal market entry and exit levels, with particular emphasis on dollar-cost averaging (DCA) strategies. While its core computations are based on daily chart data, the indicator is versatile, presenting actionable signals across all timeframes.
The indicator delineates two principal zones: a green buy zone and a red sell zone.
The green zone emerges when the price falls below a specified threshold relative to time, signaling an opportunity for gradual position accumulation—an archetypal DCA approach.
Conversely, the red sell zone is triggered when the price exceeds a defined value over time, suggesting the market is significantly overbought and that a systematic, phased exit (DCA selling) should be considered.
Beyond these zones, the M-SPOT Indicator employs advanced algorithms to detect potential market peaks and troughs. When price action breaches certain levels, the indicator generates clear signals such as:
“SELL ALL” — displayed as labels with a vertical yellow line,
“Strong BUY” — marked by colored dots on the chart.
Users may tailor the calculation methodology to the asset class in question, whether Bitcoin (BTC), Ethereum (ETH), or Solana (SOL). The indicator automatically highlights the chart background in the respective buy and sell zones, thereby facilitating swift and informed decision-making.
Furthermore, the M-SPOT Indicator is equipped with an alert system that notifies users of:
“DCA Buy Area” — when the price enters the accumulation zone,
“DCA Sell Area” — when the price enters the distribution zone,
“PEAK” — signaling an impending market top,
“Strong BUY” — denoting a robust buy signal.
Thanks to its transparent zones and unambiguous signals, the M-SPOT Indicator empowers both novice and experienced investors to make judicious decisions in financial markets.
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.
Live Futures Relative Strength and Position SizerRecommends contract, stoploss and take profit size depending on 1-minute ATR. Also plots a table to show relative strength of YM, NQ, ES and RTY since the latest daily candle open.
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
FX Kill Zones - Roeland Legacyfx kill zone. gmt -4 default london open london close and newyork open kill zones.
StocksHaul Smart AVWAP with Swing H|L Smart Anchored VWAP with Auto Swing High/Low Detection
This script combines Anchored VWAPs (AVWAP) with automatic swing high/low detection to give traders a dual-layered view of price action.
Place Anchors at Measurable Events , like anchor the VWAP based on time increments (daily, week-to-date, month-to-date, or even year-to-date) or some important days where the whole market gave a big move (in whatever side)
Overview
1. Plots up to three user-defined Anchored VWAPs, starting from timestamps such as yearly, quarterly, or custom anchor points. AVWAP helps traders track volume-weighted price levels from significant events.
2. Adds swing high and low labels on the chart using sensitivity-based logic, helping identify local price reversals
Originality & Usefulness
1. Unlike standard VWAP tools, this version lets you visualize multiple AVWAPs simultaneously, each customizable in terms of time, color, and labeling.
2. The swing point logic allows dynamic identification of pivots based on user-defined sensitivity, assisting in spotting minor trends and turning points without relying on third-party indicators.
3. The combination of AVWAP with swing detection provides confluence zones — areas where volume-weighted price meets recent pivots — helping traders make more confident decisions on entries/exits.
How to use
Set your anchor points (e.g., start of year, quarter, earnings) to track AVWAPs. To set this first click on the indicator title , 3 vertical lines should visible then , now you can slide the lines onto your preferred dates you want to anchor the AVWAP .
Adjust swing sensitivity to filter how tight or loose pivot points are.
Use the color, size, and label options to match your charting style.
Multi MA w/Signal by JelloStaxxMulti MA w/Signal by JelloStaxx
This indicator provides a comprehensive moving average crossover system with flexible configurations and enhanced signal generation.
Key Features:
Multiple Moving Averages: Plots up to 5 moving averages simultaneously. 📈
Configurable MA Types: Supports both Exponential Moving Averages (EMA) and Simple Moving Averages (SMA). 📊
Customizable MA Parameters: Users can define the length, source (e.g., close, open, high), and offset for each MA. 🔧
MA Selection for Signals: Choose which two MAs to use for crossover signal generation (Fast MA and Slow MA). 🎯
Enhanced Signal Logic: Provides options to generate signals on bar close (confirmed signals) or on intraday crossover. 🚦
Visual Signal Representation: Displays buy/sell signals with customizable shapes (arrows, labels, crosses, triangles). ↔️
Background Highlighting: Optionally highlights the chart background on signal generation. 🎨
How to Use:
Add the "JelloStaxx - Multi MA Cross" indicator to your TradingView chart.
Configure Moving Averages:
Set the MA type (EMA or SMA) for each of the 5 MAs.
Adjust the length, source, and offset for each MA according to your trading strategy.
Select Signal MAs:
Choose the "Fast MA" and "Slow MA" from the dropdown menus to define the crossover used for buy/sell signals.
Signal Options:
Select whether to wait for bar close for signal confirmation.
Choose the desired shape for buy/sell signal markers.
Interpret the Signals:
Buy signals are indicated when the Fast MA crosses above the Slow MA.
Sell signals are indicated when the Slow MA crosses below the Slow MA.
This indicator is suitable for identifying potential trend changes and generating trade signals based on moving average crossovers. It offers a high degree of customization to adapt to various trading styles and market conditions.
DXY-XAUUSD Correlation with ThresholdsIndicator Description: "DXY-XAUUSD Correlation with Thresholds"
This indicator tracks the dynamic correlation between the US Dollar Index (DXY) and gold prices (XAUUSD) over a user-defined period, expressed as a percentage. It calculates the rolling correlation coefficient between the closing prices of these two assets, scaled to ±100%, and visualizes it as a histogram.
Key Features:
Adjustable correlation period (default: 30 bars) and configurable positive/negative thresholds (default: ±70%).
Color-coded histogram: Intense green/red highlights correlations exceeding thresholds, signaling strong positive/negative relationships.
Horizontal dotted lines mark threshold levels, aiding in identifying overextended "overbought" or "oversold" correlation conditions.
An info table displays the current correlation value and active thresholds for quick reference.
Designed for traders analyzing the inverse relationship between the dollar and gold, this tool helps spot periods of extreme correlation divergence or convergence. The visual alerts and customizable parameters make it adaptable to various trading strategies and timeframes.
Note: The indicator is plotted in a separate pane (non-overlay) for clarity.
MNQ 1-Min SMC+EMA StrategyThis script is designed for scalping the Micro Nasdaq Futures (mNQ) on the 1-minute chart, combining momentum with structure-based confirmation to deliver high-probability trade signals.
🔍 Strategy Features
9/20 EMA Crossover: Trend-following entries triggered by fast-moving EMA shifts.
Smart Money Structure Filter (optional): Confirms entries only after a Break of Structure (BOS) or Change of Character (CHoCH)-like move, mimicking SMC behavior.
Time Filter: Restricts signals to high-volume sessions (default: 9:30 AM to 11:30 AM ET).
Dynamic Stop-Outs: Choose between:
✅ Swing high/low stops (structure-based)
✅ Fixed % risk (e.g., 0.3% stop loss)
Clear Chart Signals:
Green arrow = Buy
Red arrow = Sell
Orange X = Stop-out
⚙️ Customization
Toggle structure filters on/off
Set your desired stop-loss method
Adjust trading hours to match your active window
ICT Killzones & PivotsPivots and Killzones Indicator
Introduction
The Pivots and Killzones Indicator is a valuable tool for traders utilizing the Inner Circle Trader approach. By incorporating ICT killzones and pivot points, this indicator provides insights into potential market turning points, helping traders make informed decisions.
Whether you are new to trading or an experienced ICT trader, this indicator can improve your understanding of market dynamics and support your trading strategy.
Features
ICT Killzones: The indicator highlights Inner Circle Trader's killzones, specific timeframes known for increased market liquidity, which are crucial for identifying potential reversals and turning points.
Pivot Points: The indicator displays pivot points, which are essential support and resistance levels derived from historical price data. These levels assist in gauging potential price reversals and trend changes.
Customization: Customize the indicator settings to match your trading style. Adjust colors, timeframes, and other parameters to align with your preferences.
User-Friendly Interface: Designed with a clean and user-friendly interface, this indicator is accessible to traders of all skill levels.
Real-Time Updates: The indicator offers real-time updates, ensuring you have the most current market information at your fingertips.
github.com
PDH/PDL HUD (Final, Always Visible)This script creates a simple, reliable heads-up display (HUD) in the top-right corner of the chart that shows:
Previous Day High (PDH)
Previous Day Low (PDL)
It uses session rollover (detected via daily time change) to lock in values from the prior trading day. The data is displayed in a single, always-visible table—no chart overlays, no line clutter, no in-bar labels.
Smarter Money Concepts - MTF IFVGs [PhenLabs]📊 Smarter Money Concepts - MTF IFVG
Version: PineScript™ v6
📌 Description
This multi-timeframe indicator identifies Inverse Fair Value Gaps (IFVGs) and their inversions across simultaneous chart intervals, helping traders spot liquidity voids and potential reversal zones. By analyzing price action through the lens of institutional order flow patterns, it solves the problem of manual gap tracking across timeframes while incorporating volatility-adjusted parameters and psychological level analysis for higher-probability setups.
🚀 Points of Innovation
• Multi-Timeframe Engine - Simultaneous analysis of 3 higher timeframes
• Adaptive Parameters - Auto-adjusts to market volatility conditions
• Quality Scoring System - Ranks gaps using RVI strength and size metrics
• Inversion Tracking - Monitors failed gaps for counter-trend signals
• Render Optimization - Prevents chart clutter with smart gap management
🔧 Core Components
FVG Detection Logic: Identifies gaps using customizable price source (Close/Wick)
Inversion Tracker: Manages failed gaps and generates counter signals
Multi-Timeframe Engine: Processes 3 independent higher timeframe analyses
Dashboard System: Real-time display of active gaps across all timeframes
🔥 Key Features
• Volatility-adjusted gap size filters (ATR-based)
• Customizable timeframe confluence analysis
• Color-coded quality scoring
• Non-repainting inversion signals
• Mobile-optimized visual rendering
🎨 Visualization
• Colored Boxes: Translucent zones show active gaps (green/bullish, red/bearish)
• Midline Plot: Dashed gray line marks gap midpoint for price targets
• Inversion Markers: Intense colors show failed gaps (dark red/bullish failure, bright green/bearish failure)
• HTF Differentiation: Higher timeframe gaps shown in blue/teal hues
📖 Usage Guidelines
Multi-Timeframe Settings
• Higher Timeframe 1
Default: 30 | Range: Any > Chart TF | Controls primary confluence timeframe
• Show All Timeframes
Default: True | Toggles multi-TF gap displays
Gap Settings
• Source
Default: Close | Options: | Determines gap measurement method
• RVI Period
Default: 14 | Range: 1-50 | Sets momentum confirmation sensitivity
• RVI Value
Default 0.1 | 0 to see all IFVGs | Increase min RVI to see the most powerful IFVGs
✅ Best Use Cases
• Identifying confluence across timeframes
• Spotting institutional order blocks
• High-probability reversal trading
• Trend continuation confirmation
• Volatility breakout setups
⚠️ Limitations
• Repaints historical gap zones
• Requires understanding of FVG concepts
• Higher timeframe data latency
• Quality scores rely on RVI/ATR settings
💡 What Makes This Unique
First FVG indicator with true multi-timeframe processing
Adaptive parameters that auto-adjust to volatility
Quantifiable quality scoring system
Professional-grade dashboard with HTF tracking
🔬 How It Works
Gap Detection: Identifies FVGs using price relationships and RVI confirmation
Inversion Tracking: Monitors price breaches to flag failed gaps
Quality Assessment: Scores gaps based on size, momentum, and location
Adaptive Filtering: Adjusts parameters using ATR-based volatility analysis
Multi-TF Synthesis: Correlates gaps across user-selected timeframes
Visual Rendering: Displays only relevant, active gaps to prevent clutter
💡 Note:
Start with default settings and gradually adjust parameters after observing market interactions. Focus on gaps with quality scores above 7 that align with higher timeframe trends. Combine with price action at psychological levels for highest-probability setups. Remember that higher timeframe gaps generally carry more significance than current chart gaps.
Ravi - Private EMA TableEMA Trend Direction Script with Multi-Timeframe Analysis
This script leverages Exponential Moving Averages (EMAs) across multiple timeframes to identify and display bullish or bearish market trends. By analyzing short-term and long-term EMA crossovers, it detects potential trend reversals and provides clear directional signals. The inclusion of multi-timeframe support enhances accuracy by aligning trends from higher and lower timeframes, helping traders make more confident and informed decisions.
MTF PO (3TF)Title: SmartMA Multi-Timeframe Signal Strategy
Description (English):
This indicator provides buy/sell signals based on a multi-timeframe adaptive moving average. It allows traders to align short-term entries with higher time-frame trends. The script integrates a trend-following logic that reacts to price crossovers and adaptive MA slope, helping traders reduce noise and improve entry precision.
概要(日本語)
このインジケーターは、複数時間足の適応型移動平均線(SmartMA)を用いて売買シグナルを生成します。下位足でのエントリーが、上位足のトレンドと一致するよう設計されており、ノイズの除去とトレード精度の向上に貢献します。価格のクロスとMAの傾きを用いたトレンドフォロー型ロジックを搭載しています。
特徴
上位時間足の移動平均(SmartMA)と価格のクロスを検出
傾きフィルターによるトレンド整合性チェック
上位足に合わせて下位足のシグナルを制限
チャート上にシンプルなBuy/Sellラベルを表示
EMA, SMA, RMAなどのカスタム選択が可能
使用方法
チャートにインジケーターを追加し、上位足(例:1時間)と現在の時間足(例:5分)を設定
トレンド方向に沿ったタイミングでエントリーを検討
複数フィルターを用いることで、レンジ相場での誤認識を回避可能
注意事項
本インジケーターは補助的な分析ツールです。過去のパフォーマンスが将来を保証するものではありません。
スクリプトは再描画しない設計ですが、時間足の切り替え等で見た目が変わる可能性があります。
戦略構築には他のリスク管理指標との併用を推奨します。
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!